1 2006-04-03 Lars Clausen <lars@raeder.dk>
3 * installer/win32/dia.nsi:
11 * plug-ins/xfig/xfig-import.c: Initially place text in the right
14 2006-04-03 Steffen Macke <sdteffen@gmail.com>
16 * installer/win32/dia.nsi:
17 * installer/win32/locale/french.nsh: Added french installer
18 locale. Patch from Yannick Le Ny <y.le.ny@ifrance.com>
20 2006-04-02 Hans Breuer <hans@breuer.org>
22 * doc/pl/dia.xml : "DOCTYPE book" closes bug #142098, Roland Stigge
24 2006-03-29 Daniel Drake <dsd@gentoo.org>
26 * configure.in: Use standard pkg-config expressions to check for
27 GTK+/Glib, the GTK-supplied macro's conflict with our usage of
28 $GTK_MODULES (#335422)
30 2006-03-28 Lars Clausen <lars@raeder.dk>
32 * app/Makefile.am (dia_LDADD): Patch from Peter for bug #336377:
33 Include libs and cflags in proper places.
35 * installer/win32/dia.nsi:
43 * shapes/network/mobile_phone.{png,xpm,shape}:
44 * shapes/network/telephone.shape:
45 * shapes/network/disc.shape:
46 Updates from W. Borgert <debacle@debian.org> improving looks and
49 2006-03-26 Lars Clausen <lars@raeder.dk>
51 * objects/network/radiocell.c: Patch from W. Borgert
52 <debacle@debian.org> for extra midpoint, flicker, extraneous
55 * objects/network/basestation.c: Patch for BB from W. Borgert
58 2006-03-23 Hans Breuer <hans@breuer.org>
60 * lib/widgets.c : use original fontname and fallback 'sans' to
61 render the font menu. Thus crashing (in Pango) is delayed until
62 the point where one chooses a font, which can't be rendered by
63 Pango. Fixes bug #335096 as far as Dia can.
65 2006-03-21 Lars Clausen <lars@raeder.dk>
67 * installer/win32/dia.nsi:
75 * plug-ins/xfig/xfig-import.c: Last missing stack underflow check.
77 2006-03-19 Hans Breuer <hans@breuer.org>
79 * app/display.c app/preferences.c : unset transient, still issues
80 with transient handling, see bug #332828
82 * app/makefile.msc lib/makefile.msc objects/makefile.msc
83 plug-ins/makefile.msc : removed stuff supposed to be used from
84 $(TOP)/glib/build/win32/make.msc
86 * plug-ins/xfig/xfig-import.c : make it compile with strict type
87 checking [these were real errors, freeing stack passed values instead
88 of the intended local variable] :
89 xfig-import.c(580) : error C4047: 'function' : 'struct _GArray *'
90 differs in levels of indirection from 'struct _Point ** '
91 xfig-import.c(580) : warning C4024: 'g_array_free' : different types
92 for formal and actual parameter 1
94 * lib/libdia.def : export connection_adjust_for_autogap
96 * plug-ins/hpgl/hpgl.c : there is one floating point value in the
97 whole HPGL output - and it was locale dependent.
99 2006-03-12 Lars Clausen <lars@raeder.dk>
101 * installer/win32/dia.nsi:
109 * objects/UML/constraint.c (constraint_update_data):
110 * objects/UML/message.c (message_update_data):
111 * objects/UML/implements.c (implements_update_data):
112 * objects/SADT/annotation.c (annotation_update_data):
113 * objects/Jackson/phenomenon.c (message_update_data):
114 * objects/network/wanlink.c (wanlink_update_data):
115 * objects/FS/flow.c (flow_update_data): Added autogap adjustment.
117 * objects/standard/line.c:
118 * lib/connection.[ch] (connection_adjust_for_autogap): Moved autogap
119 functionality for connections.
121 2006-03-11 Lars Clausen <lars@raeder.dk>
123 * lib/diagdkrenderer.c (draw_object):
124 * lib/dialibartrenderer.c (draw_object): Don't draw highlighting
125 in the non-interactive rendering.
128 * installer/rpm/dia.spec:
129 * installer/rpm/README:
130 Moving dia.spec to installer directory, where distribution
131 maintainers can keep their own copies.
134 * objects/UML/class.h:
135 * objects/UML/umloperation.c:
136 * objects/UML/class.c:
137 Preparations to fix bug #334037: Clean away the Lisp-like
138 constructs confusing the issue.
140 2006-03-10 Lars Clausen <lars@raeder.dk>
142 * lib/object.c: Don't compare floats with ==, even in sanity checks.
144 2006-03-09 Lars Clausen <lars@raeder.dk>
146 * plug-ins/xfig/xfig-import.c: Fix three buffer overflows in color
147 reading, depth reading, and points reading. Thanks to
149 * COPYING: Added copyright info again.
151 2006-03-09 Steffen Macke <sdteffen@gmail.com>
153 * installer/win32/dia.nsi: don't uninstall old version; overwrite
156 2006-03-08 Steffen Macke <sdteffen@gmail.com>
158 * installer/Makefile.am:
159 * installer/win32/Makefile.am:
160 * installer/win32/locale/Makefile.am: Making sure that the installer
161 sources are included in the dia source distribution
162 * installer/win32/dia.nsi: Don't include makefiles in installer;
163 Add uninstaller link to start menu (bug #332650); added commandline
164 option GTKBIN to specify GTK installation directory (fixes bug #332595)
165 * installer/win32/dia-diagram.ico:
166 * installer/win32/dia-header.bmp:
167 * installer/win32/dia-install.ico:
168 * installer/win32/dia-intro.bmp:
169 * installer/win32/dia-uninstall.ico:
170 * installer/win32/dia.nsi:
171 * installer/win32/langmacros.nsh:
172 * installer/win32/locale/english.nsh:
173 * installer/win32/locale/german.nsh: Added files to build the win32
174 installer using NSIS (http://nsis.sourceforge.net)
176 2006-03-06 Lars Clausen <larsrc@raeder.dk>
184 * samples/TexChars.dia: Added sample of the escaped chars for TeX.
186 * plug-ins/pstricks/render_pstricks.c (tex_escape_string):
187 Changing escape of \, [, and ] to something that works. $ is
188 fine. Fixes parts of 333193.
190 2006-03-05 Lars Clausen <larsrc@raeder.dk>
192 * plug-ins/xfig/xfig-import.c: Fixed locale issues with FIG import.
194 * lib/orth_conn.c (orthconn_update_data):
195 * app/diagram.c: Removing debug info.
197 * app/object_ops.c (object_find_connectpoint_display): Don't
200 2006-02-26 Hans Breuer <hans@breuer.org>
202 * app/Makefile.am : define DIA_PYTHON_PATH in app/run_dia.sh
203 * plug-ins/python/python.c : if set use it to find python-startup.py
204 (bug #332599, Torben H. Nielsen)
206 * app/app_procs.c : removed // from gtk_init() [shouldn't have commited
207 my test code]. Really closes #332177, thanks Mateus César Gröess.
209 2006-02-26 Lars Clausen <lars@raeder.dk>
217 * lib/element.h (ELEMENT_COMMON_PROPERTIES): Turning off setting
218 of element_width and element_height until constraints can be
219 properly checked. Bug #328200
221 * dia.spec (Requires): Updated GTK requirements.
223 2006-02-25 Lars Clausen <lars@raeder.dk>
225 * lib/diaarrowchooser.c (dia_arrow_chooser_new): Also making sure
226 other dynamic menus have proper translation.
228 * lib/widgets.c (dia_dynamic_menu_create_string_item):
229 * app/interface.c (cmp_names):
230 * app/sheets.c (sheets_optionmenu_create):
231 * lib/sheet.c (load_register_sheet): Using C locale for sheet
232 names internally, translating on display instead. Also sorting
233 by gettext order explicitly. Bug #328570.
235 2006-02-25 Hans Breuer <hans@breuer.org>
237 * app/interface.c(get_sheet_by_name) : be more tolerant about
238 localization of the sheet name. ( Steffen Macke, #332070 )
240 * app/app_procs.c(app_init) : if GDK_WINDOWING_WIN32 call gtk_init()
241 in any case. In contrast to X11/*nix displays are not optional on
242 windoze. And we need some help of gtk to render text to bitmaps.
243 ( Rob McDonald, bug #332177 )
245 2006-02-21 Lars Clausen <lars@raeder.dk>
251 * config.h.win32: Update to -pre2.
253 * lib/beziershape.c (add_handles): Fixing CP pos calculation for
254 adding new CP's. Fixes bug #331557.
256 2006-02-20 Lars Clausen <lars@raeder.dk>
258 * lib/diarenderer.c (find_center_point): Better handling of some
260 (draw_arc_with_arrows): Draw line in all cases. Doesn't handle
261 the truly degenerate cases well enough yet, but at least doesn't
262 break on common cases. Probably need to do something special for
263 arcs with start and end point the same. Improves but does not
264 entirely fix bug #331372.
266 2006-02-20 Hans Breuer <hans@breuer.org>
268 * plug-ins/python/Makefile.am : dot.py was missing from EXTRA_DIST
270 2006-02-18 Hans Breuer <hans@breuer.org>
272 * plug-ins/metapost/render_metapost.c : text position gives the
273 baseline neither top nor bottom. ( Rob McDonald, #331491 )
275 * plug-ins/wmf/wmf.cpp : finally respecting the print margins
276 ( Rob McDonald, #331371 )
277 * plug-ins/wmf/wmf_gdi.h : some more constants not useful
278 without a GDI printer (driver)
280 2006-02-17 Hans Breuer <hans@breuer.org>
282 * plug-ins/metapost/render_metapost.c(draw_string) : dont query
283 the font for it's height but use the 'height' parameter passed
284 in. Close enough to the desired size - and independent of zoom -
285 to close bug #331489 (Rob McDonald)
287 2006-02-12 Lars Clausen <lars@raeder.dk>
294 * config.h.win32: Updates for version 0.95-pre1.
296 2006-02-12 Hans Breuer <hans@breuer.org>
298 * app/makefile.msc : build three components dia.exe (console
299 application), diaw.exe (windows application) and dia-app.dll
300 containing almost all of Dia's application shared between
302 * app/main.c app/winmain.c app/app_procs.c app/dia.def : some
303 refactoring to accomplish the new dependency layout
304 * objects/makefile.msc plug-ins/python/makefile.msc : need to
305 link dia-app.lib now - if at all depending on app/*
307 2006-02-11 Hans Breuer <hans@breuer.org>
309 * makefile.msc : nmake -f makefile.msc just compiles now
310 * app/makefile.msc lib/makefile.msc : make not using FT2
311 on win32 the default (works around bug #150813 by diabaling it)
312 * objects/makefile.msc plug-ins/makefile.msc : remove -GD from
313 $(CC) command line. It isn't understood by newer versions of cl.
315 * app/authors.h : reflect the recent maintainers change
317 * app/display.c app/load_save.c : removed debug spew
319 * app/winmain.c : improved redirection
321 2006-02-05 Hans Breuer <hans@breuer.org>
323 * app/menus.[ch] app/diagram.c : the GNOME specific menu code is dead
324 since 0.94. Fix somne left-overs, also properly disable the duplicate
327 * po/POTFILES.in : added objects/network/wanlink.c
329 2006-02-05 Hans Breuer <hans@breuer.org>
331 * lib/dialibartrenderer.c(renderer_finalize) : dont unref
332 parent_instance.font here. It will be done in DiaRenderer::finalize()
333 Just another reason for crashing at diagram close with libart
334 renderer involved ...
336 2006-02-04 Hans Breuer <hans@breuer.org>
338 * objects/standard/image.c : added mainpoint, patch from
339 Torben H. Nielsen fixing bug #329603
341 * app/layer_widget.c : avoid writing to Layer::connectable for a
342 diagram possibly already gone. Fixes bug #329096.
344 * lib/persitence.c(persistence_load) : dont leak filename
345 in case of not existing file
347 Code review via regex "[^_l>p](malloc|free|realloc)\("
348 * objects/fs/function.c : what's g_strdup() must be g_free()'d
349 * plug-ins/dxf/dxf-import.c : use g_realloc()/g_free()
350 * plug-ins/xfig/xfig-import.c : use g_free() instead of plain free()
352 * app/filedlg.c(file_save_as_response_callback) : before destroying
353 the save as dialog we need to drop the dialogs diagram reference.
354 Fixes behaviour described in bug #123225#c7
356 * app/interface.c(get_sheet_names) : need to sort sheets by their
357 display name to really fix bug #160101.
359 * objects/UML/association.c : dont leak the role_name calculated
360 with visibility attribute, use g_strdup_printf() instead of strcat().
362 * configure.in : fix typo in error message
364 * lib/object.c : remove duplicated prototype
365 * lib/element.c : element_update_connections_rectangle() assumes nine
366 connection points, i.e. requires 'mainpoint'. g_assert() for this.
368 2006-02-03 Hans Breuer <hans@breuer.org>
370 * objects/network/bus.c : allow to tint it. Patch from
371 Torben H. Nielsen, closes bug #328580.
372 * objects/network/wanlink.c : allow to tint this as well.
374 2006-01-29 Hans Breuer <hans@breuer.org>
376 * app/render_libart.c(draw_line) : make setting the pixel side-effect
377 free; account for it in now (less) magic increments. Fixes bug #312147
379 2006-01-28 Hans Breuer <hans@breuer.org>
381 * po/checktrans.py : make it work with recent pyxml (unknown url type)
382 * po/AADL.sheet.in : remove duplicated _description
383 => translation report works again
385 * app/display.c : revert back to "_Discard Changes" to avoid
386 accelerator clash. Also gtk_button_new_with_mnemonic() to
387 'expand' the accelerator.
389 * lib/dia_svg.c(dia_svg_style_init) : need to initialize
390 linecap, linejoin, linestyle to avoid invalid settings.
391 (Nguyen Thai Ngoc Duy, bug #328945)
392 * lib/diagdkrenderer.c : add a place fro breakpoint to
395 * lib/diarenderer.c(setfont) : if we get passed in the
396 same font it must be ref'd before unref.
398 * lib/text.c(set_string) : don't eat the trailing new-line
401 * app/app_procs.c app/display.c app/filedlg.c
402 attempt to provide more HIG compliant dialogs. Patch from
403 Nguyen Thai Ngoc Duy, part of bug #138183
405 * app/recent_files.c(recent_file_history_clear_menu) : instead of
406 messing with GtkMenuShell::children and gtk_widget_destroy() just
407 use gtk_container_remove. Avoids memory corruption causing the
408 most 'random' crashes recently.
410 * objects/UML/message.c : can't use PROP_STD_TEXT_COLOUR_OPTIONAL
411 cause it has PROP_FLAG_DONT_SAVE. It is designed to fill the
412 TextAttributes - not some subset. Fixes bug #327701
413 * objects/UML/implements.c objects/UML/generalization.c
414 objects/UML/constraint.c objects/UML/object.c
415 objects/UML/large_package.c objects/UML/realizes.c : same here.
416 * objects/UML/dependency.c : same here. Also draw the "Name" with the
417 given color, not only the Stereotype.
418 * objects/UML/class.c : same here. But we also need to restore
419 explicit restore "text_color" for the load case.
421 2006-01-27 Hans Breuer <hans@breuer.org>
423 * configure.in : error out if GLib/GTK+ version is lower than required
425 * app/filedlg.c lib/widgets.c : more default responses. Patch
426 from Nguyen Thai Ngoc Duy, part of bug #138183
428 * NEWS : Main point feature correction. The line is supposed to
429 start at the border of the object not the bounding box.
431 * app/commands.c : respect difference between documenters and
432 translators and show both in about dialog. Closes bug #328711.
434 * app/interface.c : instead of g_warning for missing shape icon
435 but use message_warning and show the 'missing' icon
437 * lib/dialibartrenderer.c : with Gtk+ 2.8 gdk_draw_layout() does
438 not match pango_win32_get_context(). Use gdk_pango_get_context ().
439 Also removed my special win32-modified-pango code for draw_string()
440 without the help of gdk.
442 * Makefile.am : include MAINTAINERS file in tarball
444 * lib/conectionpoint.h : removed double include of "geometry.h"
446 2006-01-22 Hans Breuer <hans@breuer.org>
448 * app/splash.c app/commands.c : dont share the logo and finally leak
449 it. Instead both place load and unref the logo themself.
450 Also unbreak GNOME case.
452 * app/commands.c : use GtkAboutDialog instead of homegrown GTK+
453 or GNOME specific one. 120 lines less code and more standard.
454 * configure.in : require GTK+ >= 2.6
456 * app/diapagelayout.c app/diaunitspinner.c app/layer_dialog.c :
457 make GtkTypeInfo static const as usual elsewhere
459 * app/recent_files.c : it almost certainly is an error to ignore
460 the return value of g_list_remove_link()
462 * lib/arrows.c lib/bezier_conn.[ch] lib/beziershape.h
463 lib/boundingbox.[ch] lib/color.[ch] lib/connectionpoint.c
464 lib/create.h lib/dia_svg.c lib/dia_xml.c lib/diaarrowchooser.c
465 lib/diagramdata.[ch] objects/UML/activity.c objects/UML/class.[ch]
466 objects/UML/uml.h : documentation fixes
468 * lib/object.h lib/diagramdata.h : avoid circular inclusion
469 * lib/connectionpoint.h lib/focus.h lib/group.h lib/handle.h
470 lib/properties.h lib/sheet.h lib/diamenu.h
471 : dont include "object.h", "diatypes.h" is enough.
472 Rule of thumb: only headers declaring an inheritant of DiaObject
473 should include "object.h"
474 * lib/diarenderer.h : include "font.h" not strictly needed by
475 this header, but needed in almost any plug-in/
476 * app/diagram_tree_menu.c app/dialogs.[hc] app/display.c
477 app/export_png.c app/interface.c app/load_save.c app/sheets.c
478 app/sheets_dialog.c app/sheets_dialog_callbacks.c
479 lib/diagdkrenderer.c lib/object.c lib/propobject.c
480 lib/text.c plug-ins/gprint/gnomeprint.c plug-ins/pixbuf/pixbuf.c
481 plug-ins/svg/render_svg.c
482 : some .c files now need to include "object.h" or <gtk/gtk.h>
483 or e.g. "intl.h" direct, formerly dargged in indirectly
484 * plug-ins/pgf/render_pgf.c : explicit inclusion of "arrows.h"
486 2006-01-21 Hans Breuer <hans@breuer.org>
488 * lib/connection.c lib/connection.h lib/connectionpoint.h
489 lib/diagramdata.h lib/diarenderer.h lib/diatypes.h
490 lib/element.h lib/geometry.h lib/handle.h lib/objchange.h
491 lib/object.c lib/object.h : documentation tweaking
493 * objects/UML/class_dialog.c(attributes_create_page,
494 operations_create_page) : dont connect
495 to a not exisiting signal. Avoids "GLib-GObject-CRITICAL **:
496 g_signal_connect_closure_by_id: assertion 'signal_id > 0' failed"
497 (This was a leftover of introducing the GtkTextView instead of GtkEntry)
499 * objects/UML/class_dialog.c objects/UML/class.c objects/UML/class.h :
500 Introduce 'comment_tagging' switch which allows to hide the rendering
501 {documentation = } Maybe a choice between ugliness and non-standard.
502 Fixes bug #326214. (Unrelated: started to adapt casing of variables
503 to Dia's common coding style)
505 * lib/object_defaults.c : pass is_default=TRUE to object_copy_props
506 lib/proplist.c : fixed pdtpp_default()
507 lib/propobject.c : correctly reflect is_default
508 * object/UML/class.c : correct setting of PROP_FLAG_NO_DEFAULTS and
509 PROP_FLAG_DONT_MERGE. With the above this fixes bug #320934
511 * lib/propdialogs.c : if PROP_NO_DEFAULTS is set dont try to show a
512 widget in defaults dialog
514 * app/display.c(initialize_display_widgets) : also append the Input
515 Methods menu to the diagram menubar. Now fixes bug #327862.
517 * config.h.win32 : #undef LOCALEDIR
518 * app/app_procs.c : runtime calculation of localedir. It now is
519 $(executable_dir)/../locale. Should help fix bug #309763
521 * sheets/AADL.sheet.in : remove left over xml:lang tag.
522 ( Nguyen Thai Ngoc Duy, bug #327519)
524 * lib/dialibartrenderer.c : make text rendering work without
525 PangoFT2 and PangoWin32
528 2006-01-18 Lars Clausen <lars@raeder.dk>
530 * objects/UML/class.h: Enabling UML class mainpoint after failure
533 * app/grid.c: Fix bug with grid being incorrectly drawn when gap <
536 2006-01-14 Hans Breuer <hans@breuer.org>
538 * app/paginate_psprint.c : ensure we are not producing pages for
539 epsilon. Floating imprecision is fun. Fixes bug #133856.
540 * app/paginate_gdiprint.cpp : same here.
542 * plug-ins/pstricks/render_pstricks.c(draw_string) : now that I've
543 found the nice samples from bug #156171 it was quite simple to
544 confirm that the y value need indeed to be inverted. Fixes bug #304974.
545 Also special case strings starting with \tex - i.e. dont escape them -
546 to keep the use-case of direct tex input.
548 * lib/debug.c : #include <glib/gprintf.h> not just <gprintf.h>
551 2006-01-14 Hans Breuer <hans@breuer.org>
553 * samples/Self/umlclass.dia : (new file) documenting part of the
554 object relations of UMLClass. Also good for testing connections.
556 * lib/debug.c : replace wrong call to vprintf() - missing file
557 descriptor - with the more appropriate g_vprintf(). Thus
558 dia_assert_true() does not smash the stack anymore on win32.
560 * objects/UML/class.c objects/UML/class_dialog.c objects/UML/uml.h
561 objects/UML/umlattribute.c objects/UML/umloperation.c :
562 reverted the memory managment of UMLAttribute/UMLOperation's
563 ConnectionPoint(s) back to how it was up until 0.94. This finally
564 makes the UMLClass work again including undo/redo support. Fixes
565 bug #314153 and en passant bug #326453.
567 2005-01-12 Lars Clausen <lars@raeder.dk>
569 * objects/UML/umlattribute.c:
570 * objects/UML/class_dialog.c: Better way of handling
571 connectionpoints: Don't copy them, just reference them. Finally
572 fixes bug #314153 (not quite the pi bug:)
574 * app/menus.c (display_menu_items):
575 * app/filedlg.c (file_open_response_callback):
576 * app/display.[ch] (copy_display):
577 * app/commands.[ch] (view_clone_view_callback):
578 Added functionality to clone display. Preparation for storing
579 display info in diagram files (not happening this version, though).
581 * INSTALL (NOTE FOR WINDOWS USERS): Added note for non-compiling
582 users pointing at dia-installer.
584 2006-01-08 Hans Breuer <hans@breuer.org>
586 * shapes/Gane_and_Sarson/Makefile.am : correct spelling of filenames.
587 (Narcelio Filho, #326075)
589 * objects/AADL/aadl.h : remove #include "app/display.h". It is not needed,
590 plug-ins should not depend on app/* and it even breaks 'make distcheck'.
591 * objects/AADL/Makefile.am : added edit_port_declaration.h
592 * app/Makefile.am : added diaconv.c to EXTRA_DIST
593 => 'make distcheck' passes again.
595 * configure.in : use some more of gcc's useful warnings
597 * lib/geometry.h : removed unused functions just producing warnings
598 [sometimes it's good to read compiler warnings]
599 * plug-ins/cairo/diacairo.c : somehow a function call got lost
600 (left-hand operand of comma expression has no effect)
601 * plug-ins/metapost/render_metapost.c : dia_message_filename()
602 wants a char* not a FILE* (passing arg 1 of `dia_message_filename'
603 from incompatible pointer type)
606 2006-01-07 Hans Breuer <hans@breuer.org>
608 * objects/custom/shape_info.c(parse_path) : handle the case of
609 invalid path data more gracefully, i.e. show a warning instead
610 of crashing later on.
611 * plug-ins/svg/svg-import.c(read_path_svg) : ditto.
613 * configure.in sheets/Makefile.am shapes/Gane_and_Sarson
614 shapes/Makefile.am : added Gane & Sarson shapes
615 (Nick Moore, #319544)
617 * objects/makefile.msc : building AADL on win32
619 2006-01-06 Hans Breuer <hans@breuer.org>
621 * objects/AADL/aadl.h : avoid redefinition warnings by #undef
622 min, #undef max before local definitions
623 * objects/AADL/aadl.h : more prototypes
624 * objects/AADL/aadltext.c : for C89 declarations must be at the
625 beginning of a block. And Dia *must* be compileable with C89.
627 * objects/AADL/** objects/Makefile.am sheets/Makefile.am
628 configure.in : AADL plug-in from Pierre Duquesne. See
629 http://mail.gnome.org/archives/dia-list/2006-January/msg00005.html
631 * sheets/AADL.sheet.in : from the above patch but modified
632 to become translatable like the other sheet files. That is: the
633 french translation got temporary removed cause it does not belong here.
635 * plug-ins/pgf/render_pgf.c : no C99/C++ comments please
637 * app/app_procs.c app/diaconv.c : get rid of run-on sentences
638 (Adam Weinberger, bug #325567)
640 * app/menus.c : removed some keybindings with <control><shift>[0-9A-F]
641 and change some other to use <control><alt>. They collide with GTK's
642 Unicode input feature. Fixes bug #320495. For rationale see:
643 http://developer.gnome.org/projects/gup/hig/2.0/input-keyboard.html
645 * app/display.c : pay attention to g_warnings() [should always run
646 with --g-fatalwarnings ;)]. Only create the menubar IM menu if there
647 actually is a menu bar.
649 * lib/diarenderer.c : the righthand calculation accidentially broke
650 some arcs direction. Should be fixed again.
652 2006-01-02 Hans Breuer <hans@breuer.org>
654 * app/display.c(new_display) : also append the Input Methods menu to
655 the diagram menubar. Fixes bug #308576.
657 * lib/widgets.c(dia_dynamic_menu_reset) : don't use an already
658 freed string to dia_dynamic_menu_select_entry(). Fixes bug #323592.
660 * lib/sheet.c(dia_sheet_sort_callback) : sort sheets according to
661 their localized name (with g_utf8_collate). Thus not relying on the
662 capabilities of the C libraries strcmp(). Fixes bug #160101.
664 * lib/diarenderer.c(draw_arc_with_arrows) : don't recalculate center
665 point and width from the (arrow-)corrected new points. Otherwise a
666 whole new wrong arc may emerge. Fixes bug #312641.
668 2006-01-01 Hans Breuer <hans@breuer.org>
670 * objects/custom/custom_object.c(cutom_update_data) : depending
671 on the handle moving let one scale (x or y) take precedence.
672 (bug #308515, Eric Deplagne)
674 * objects/UML/class.c : only perform the attributes check with
675 attributes visible to ged rid of false warnings
676 * objects/UML/class_dialog.c : need to setup Connection::object
677 after uml_attribute_new() and uml_operation_new(), again less
678 warnings but bug #314153 still not fixed.
682 * plug-ins/python/diasvg.py : more correct svg by also writing
683 xmlns="http://www.w3.org/200/svg"
685 * plug-ins/python/dot.py : skip unconnected connection lines
686 * plug-ins/python/Makefile.am : added dot.py
688 * plug-ins/python/pydiadoc.py plug-ins/python/codegen.py : fixed
691 2005-12-31 Hans Breuer <hans@breuer.org>
693 * objects/UML/class.[hc] objects/UML/class_dialog.c : removed the
694 caching of UMLClass::attributes_strings, operations_strings,
696 It was broken by the recent code restructuring in bug #303744 and
697 - if necessary at all - nowadays it should be done on the
698 UMLAttribute, UMLOperation, UMLFormalParameter level anyway.
699 A small, much needed simplification of the code.
701 2005-12-30 Hans Breuer <hans@breuer.org>
703 * objects/UML/class.c : Patch from Dave Klotzbach
704 fixes crash bug #325151
706 * app/app_procs.c : add command line parameter --nonew to allow
707 avoiding the empty start-up diagram
708 Also give a hint on where the object-libs were missing.
709 Finally work around a misbehaviour upstreamm :
710 g_option_context_parse() returning FALSE but not setting error.
712 * app/commands.c app/app_diagram_tree.c app/interface.c :
713 Use gdk_pixbuf_render_pixmap_and_mask_for_colormap as suggested by
714 http://www.gtk.org/api/2.6/gdk/gdk-Pixbufs.html#gdk-pixbuf-render-pixmap-and-mask
716 * lib/widgets.c : image file selection finally ported to the new
717 gtk file chooser. Fixes bug #309383
719 2005-12-28 Hans Breuer <hans@breuer.org>
721 * app/commands.c(file_new_callback) : convert to filename encoding before
722 passing to new_diagram(), fixes bug #322400
724 * app/interface.c(create_display_shell) : don't clip width on screen
725 height - now commited. Also lazy creation of tooltips.
727 * objects/UML/actor.c : Actor is finally resizable, fixes bug #66915
729 2005-12-27 Hans Breuer <hans@breuer.org>
731 * app/diapsft2renderer.c(draw_bezier_outline) : only call
732 FT_Outline_Decompose() when FT_GLYPH_FORMAT_OUTLINE.
733 Prefers no text output over crashing for bug #144212
735 * app/interface.c : removed superfluous call to dia_canvas_set_size().
736 Suggested by Roland Stigge, fixes bug #148149.
738 * plug-ins/dxf/dxf-import.c : don't complain too loud on Binary
739 DXF. It is not supported at all. Fixes bug #322101
741 * lib/geometry.c : removed the ifdefed GLIB_CHECK_VERSION(2,7,0)
742 define G_IMPLEMENT_INLINES. It breaks again with glib-2-8
745 2005-12-27 Hans Breuer <hans@breuer.org>
747 * app/navigation.c : protect on_da_button_release_event() against being
748 called twice. Also only popdown the navigation window after the first
749 draw (reusing nav->is_first_expose). Fixes bug #151696
751 * app/interface.c(create_display_shell): don't clip width on screen height,
754 * lib/plug-ins.c : fixed typo in comment
756 * lib/libdia.def : updated externals
757 * lib/makefile.msc : build debug.obj
759 * plug-ins/makefile.msc : building pgf in the right alphabetical order
760 * plug-ins/pgf/render_pgf.c : include <glib/gprintf.h>
762 2005-12-08 Lars Clausen <lars@raeder.dk>
765 * plug-ins/pgf/pgf.c:
766 * plug-ins/pgf/render_pgf.[ch]:
767 * plug-ins/pgf/Makefile.am:
768 * plug-ins/Makefile.msc:
769 * plug-ins/Makefile.am (SUBDIRS):
770 * configure.in: Patch from Moritz Kirmse <momomaniac@gmail.com>: Add
771 support for PGF output for including in (La)TeX documents that
772 allows PDF generation.
774 * samples/render-test.dia: Added samples of text in different
775 sizes, standard fonts and styles with size markers.
777 2005-12-04 Lars Clausen <lars@raeder.dk>
779 * lib/Makefile.am (gen_sources): Mark marshal files as generated.
780 (BUILT_SOURCES): Added marshal files.
782 2005-12-03 Lars Clausen <lars@raeder.dk>
784 * lib/Makefile.am (diamarshal.c): Fix marshal rules to not talk
785 about $(srcdir) and confusing everybody.
790 * lib/diamarshal.list:
791 * plug-ins/python/pydia-diagram.c:
792 * plug-ins/python/pydia-diagramdata.c:
793 * plug-ins/python/python-startup.py: Patch from David Johansson
794 <david.lgj@gmail.com>: Add signals emitted when objects are
797 2005-11-13 Lars Clausen <lars@raeder.dk>
799 * app/display.c (update_zoom_status): Fix of bug #321387: Avoid
800 (small) buffer overflow by using g_strdup_printf instead of sprintf.
802 2005-11-09 Lars Clausen <lars@raeder.dk>
805 * plug-ins/dxf/dxf-import.c (import_dxf): Don't use g_error except
806 when reaching the statement is a bug. Using g_critical and exit() for
807 fatally wrong inputs.
810 * objects/UML/class.c: Patch from dklotzbach@foxvalley.net (dave
811 Klotzbach): Fixes template rendering and converts home-brew inline
812 doc format to javadoc. Doesn't yet fix bug #320934, but turns it
815 2005-11-07 Lars Clausen <lars@raeder.dk>
817 * lib/object.[ch]: Add 'enclosing box' as opposed to 'bounding
818 box' since several objects have problems of using bounding box in
819 different ways (see bug #300055). For now, enclosing box ==
820 bounding box, but over time objects will learn to expand the
821 bounding box to include things only rendered interactively.
823 * app/modify_tool.c (modify_motion): Make sure highlight is reset
824 when moving between overlapping objects.
826 * app/interface.c (interface_toggle_mainpoint_magnetism): Redraw
827 diagram after toggling to make red X's come and go.
829 * lib/font.c: #ifdef'd out layout cache for bug #307320. Define
830 it if you need faster rendering and aren't afraid of crashbugs:)
832 * lib/objchange.c: Bugfix from dklotzbach@foxvalley.net
833 (dave Klotzbach): Fixes null pointer problems in free function.
835 * objects/UML/class.c
836 * objects/UML/class.h
837 * objects/UML/class_dialog.c: Patch from dklotzbach@foxvalley.net
838 (dave Klotzbach): Make UML comments conform to UML 1.0 standard
839 and allow multi-line comments. Ugly as hell, but standard. Time
840 for a 'Strict UML' option? Fixes bug #303744.
842 * objects/UML/state.c: Patch from Peter Allin <peter@peca.dk>: Add
843 entry, exit and do descriptions to a state object. Fixes bug #65434.
845 2005-11-03 Lars Clausen <lars@raeder.dk>
854 * lib/connectionpoint.c:
859 * lib/diaarrowchooser.c:
861 * lib/diagdkrenderer.c:
867 Added documentation java-doc style. Also a few trivial cleanups.
869 2005-10-13 Lars Clausen <lars@raeder.dk>
871 * lib/connectionpoint.h (DIR_ALL): Parentheses around operations
874 * plug-ins/hpgl/hpgl.c (export_data): Correct error message.
879 * objects/UML/class.[ch]:
881 * objects/UML/umlattribute.c:
882 * objects/UML/umloperation.c:
883 * objects/UML/class_dialog.c:
884 Rework of the UML class attribute/operation handling. Now doesn't
885 copy connection points into the dialog data, but only the "flat"
886 data. As part of debugging made sanity check functionality.
887 Currently still dies when deleting an attribute/operation that has
890 2005-10-09 Hans Breuer <hans@breuer.org>
892 * lib/properties.h : prefer american spelling of colo(u)r for
893 user visible strings - i.e. to be translated ones.
894 * objects/UML/uml.c : it is Implementation. Together fixes bug #313929
896 * po/*.po : updated (by 'make distcheck')
898 2005-10-09 Hans Breuer <hans@breuer.org>
900 * app/display.c : allow !"toolbox on top" without restart.
901 (Chris Hellberg, bug #310702)
903 2005-10-09 Hans Breuer <hans@breuer.org>
905 * lib/arrows.c : patch from Radek Krahl fixing the blanking
906 of two arrowheads, bug #310157
908 2005-10-08 Hans Breuer <hans@breuer.org>
910 * plug-ins/python/group_props.py : show a descriptive text instead of an
911 empty table if there are no common properties to change. Fixes bug #314432
913 2005-10-08 Hans Breuer <hans@breuer.org>
915 * objects/UML/transition.c : inverted default direction of
916 the direction. Patch from Peter Allin, fixes bug #318049
917 [You possibly need to 'rm ~/.dia/defaults.dia' to have an effect]
919 2005-10-08 Hans Breuer <hans@breuer.org>
921 * app/Makefile.am objects/standard/Makefile.am : match the
922 referenced icons to the needed. Make 'make distcheck' pass
923 and thus fixes bug #312152
925 * objects/standard/textobj.c : no C++ comments please!
927 2005-10-08 Hans Breuer <hans@breuer.org>
929 * objects/standard/textobj.c : preserve the position set on create
930 [makes e.g. text positioning of diasvg_import.py work]
932 * plug-ins/python/diasvg_import.py : restrict what eval() can do
933 with strings from svg files. Fixes the arbitrary code execution from
936 * app/pixmaps/mainpoints-(on|off).png : new icons to toggle center point
937 magnetism. At least they are distinguishable from grid snapping.
938 * app/makefile.msc app/Makefile.am : use them
940 * lib/focus.c(reset_foci) : also remove_focus(). This fixes bug #172851
941 I also can't reproduce bug #309044 anymore (on win32).
943 2005-10-01 Lars Clausen <lars@raeder.dk>
945 * lib/connectionpoint.h (DIR_ALL): Parentheses around | expressions.
947 * plug-ins/hpgl/hpgl.c (export_data): Listen to warnings and don't
948 pass FILE * as gchar *.
950 * lib/debug.[ch] (dia_assert_true): Debugging aids.
952 2005-09-29 Lars Clausen <lars@raeder.dk>
954 * objects/UML/class.h: Enabling mainpoints for UML.
956 * objects/UML/class.c (umlclass_set_props): Make sure to always
957 realloc connection point list.
959 2005-09-26 Ahmad Riza H Nst <rizahnst@id.gnome.org>
961 * configure.in: Added "id" in ALL_LINGUAS line.
963 2005-09-14 Lars Clausen <lars@raeder.dk>
965 * objects/UML/class.c (umlclass_load): Set mainpoint obj upon
966 loading. Fixes bug #315427.
968 2005-09-11 Hans Breuer <hans@breuer.org>
970 * objects/standard/arc.c objects/standard/textobj.c : fix
971 C99isms, Dia is supposed to compile with C89 like msvc
973 * app/makefile.msc : use the wrong center-point-magnetism
974 icons for the win32 build, too.
976 * plug-ins/python/pydia-error.c : dont crash on C escape
977 sequences in the error string
978 * plug-ins/python/pydia-render.c : dont free filename twice
980 * plug-ins/python/dot.py : start of an exporter to DOT language
981 which can be processed by www.graphviz.org tools
983 2005-09-05 Iñaki Larrañaga <dooteo@euskalgnu.org>
985 * configure.in: Added "doc/eu/Makefile" for Basque documentation.
987 2005-09-04 Iñaki Larrañaga <dooteo@euskalgnu.org>
989 * configure.in: Added "eu" to ALL_LINGUAS.
991 2005-09-04 Lars Clausen <lars@raeder.dk>
993 * lib/element.h (ELEMENT_COMMON_PROPERTIES): Remove object
994 dimensions frame to make ext_attributes work again.
996 * app/grid.c (snap_to_grid): Bugfix from Zhang Lin-bo
997 <zlb@lsec.cc.ac.cn>: Use dynamic grid setting from diagram, not
1000 * objects/standard/textobj.c: Applied patch from Grégoire Dooms
1001 <dooms info ucl ac be>: Add vertical alignment for standard text
1002 object. This should really be moved into lib/text.c and apply to
1005 2005-09-03 Lars Clausen <lars@raeder.dk>
1007 * app/connectionpoint_ops.c (connectionpoint_draw): Only draw
1008 mainpoint when snap-to-objects is not on.
1010 * app/Makefile.am (ICON_PNG_PAIRS):
1011 Fake icons for snap-to-objects.
1013 * app/commands.[ch]:
1014 * app/menus.c (menus_get_image_menubar):
1016 * app/interface.c (create_display_shell):
1017 * app/create_object.c (create_object_button_release):
1018 * app/disp_callbacks.c (ddisplay_drop_object):
1019 * app/object_ops.[ch]:
1020 * app/connectionpoint_ops.c (ddisplay_connect_selected):
1021 * app/modify_tool.c (modify_button_release):
1023 Togglable snap-to-objects, also doesn't snap when moving entire
1024 object. This should be more reasonable in practical use, and can
1025 be turned off when you want to place your arrows more precisely.
1027 2005-08-06 Hans Breuer <hans@breuer.org>
1029 * plug-ins/cairo/diacairo.c : increased #ifdef MESS:
1030 With Gtk+-2.7.x cairo must be available so the HAVE_CAIRO case
1031 becomes even more ugly when the user has choosen *not* to build
1032 the diacairo plug-in. If noone can come up with a very convincing
1033 reason why it has to be done this way I'll probably go back to
1034 my original dont-build-at-all approach when this breaks the
1037 2005-08-02 Lars Clausen <lars@raeder.dk>
1039 * objects/standard/arc.c: Patch from Grégoire Dooms
1040 <dooms@info.ucl.ac.be>: An almost perfect arc autogap
1041 implementation. "There is still a small bug when the non
1042 connected end of the arc is very close to the border of the
1043 connected object. I think this is due to rounding errors in the
1044 code for SHIFT-move handle which is reused to trim the arc in
1045 autogap. Also it is not yet possible to have a startgap and an
1046 endgap from/to the same central CP."
1048 2005-07-31 Hans Breuer <hans@breuer.org>
1050 * plug-ins/cairo/diacairo.c congigure.in : dont wait any
1051 longer for distributions official packages - depend
1052 on cairo 0.6.0 - fixes bug #307144
1054 2005-07-20 Hans Breuer <hans@breuer.org>
1056 * lib/element.h : remove stray NULL in ELEMENT_COMMON_PROPERTIES
1057 which must match PropDescription, that is make it at least compile.
1059 2005-07-19 Hans Breuer <hans@breuer.org>
1061 * app/diagram.c(new_diagram) : what comes from g_object_new()
1062 MUST NOT be g_free()'d
1064 * lib/message.h : added dia_message_filename() here as well.
1065 Mainly to not touch all files using. They *all* where using
1066 lib/message.h already! Maybe the implemantation should be moved
1067 to message.c as well cause the function has *nothing* to do
1068 with dynamic filename resolving. It is a wrapper around
1069 g_display_filename() mostly (only?) used for messages ...
1070 * lib/dia_dirs.c(dia_message_filename) : fix C99ism
1072 2005-07-18 Lars Clausen <larsrc@raeder.dk>
1074 * objects/EML/instantiation.c (instantiation_load):
1075 * objects/EML/interaction-ortho.c (interaction_ortho_type)
1076 * objects/ER/participation.c (participation_type):
1077 * objects/FS/flow-ortho.c (orthflow_type):
1078 * objects/GRAFCET/vector.c (arc_load):
1079 * objects/standard/zigzagline.c (zigzagline_type):
1080 * objects/UML/transition.c (transition_load):
1081 * objects/UML/realizes.c (realizes_load):
1082 * objects/UML/dependency.c (dependency_load):
1083 * objects/UML/generalization.c (generalization_type):
1084 * objects/UML/association.c (association_type):
1085 * objects/UML/component_feature.c (compfeat_load):
1086 Make autorouting deafult on except for old diagrams.
1088 * plug-ins/cairo/diacairo.c (export_data):
1089 * plug-ins/cgm/cgm.c (export_cgm):
1090 * plug-ins/dxf/dxf-export.c (export_dxf):
1091 * plug-ins/dxf/dxf-import.c:
1092 * plug-ins/hpgl/hpgl.c (export_data):
1093 * plug-ins/metapost/render_metapost.c:
1094 * plug-ins/pixbuf/pixbuf.c:
1095 * plug-ins/pstricks/render_pstricks.c:
1096 * plug-ins/python/pydia-render.c:
1097 * plug-ins/shape/shape-export.c:
1098 * plug-ins/svg/render_svg.c:
1099 * plug-ins/svg/svg-import.c:
1100 * plug-ins/wpg/wpg.c
1101 * plug-ins/xfig/xfig-export.c:
1102 * plug-ins/xfig/xfig-import.c:
1103 * plug-ins/xslt/xslt.c: Use dia_message_filename to ensure legal
1104 UTF-8 in message boxes.
1106 2005-07-18 Lars Clausen <lars@raeder.dk>
1108 * lib/element.h (ELEMENT_COMMON_PROPERTIES): Allow Element objects
1109 to have their dimensions specified in properties. Still needs to
1110 have proper update when setting properties cause constraint changes.
1112 * app/preferences.c (update_floating_toolbox): Allow
1113 toolbox_on_top setting to happen at once.
1119 * app/sheets_dialog_callbacks.c
1125 * lib/object_defaults.c:
1126 Patch from lav@altlinux.ru (Vitaly Lipatov): Make filenames safe
1127 for displaying in messages - better than crashing! Mostly fixes
1130 * objects/UML/class.c: Save normal_font_height under the same
1131 name it gets loaded as. Fixes bug #310515.
1133 * doc/en/authors.xml
1134 * doc/en/usage-customization.xml
1135 * doc/en/usage-objects-special.xml
1136 * doc/en/usage-objects.xml: Some documentation fixes. Fixes bug
1139 2005-07-17 Lars Clausen <lars@raeder.dk>
1141 * doc/en/usage-customization.xml:
1142 * doc/en/usage-objects.xml:
1143 * doc/en/authors.xml:
1144 * doc/en/usage-objects-special.xml: Applied patch from
1145 stigge@antcom.de (Roland Stigge): Diverse typos and
1146 misencodings. Fixes bug #308315.
1148 * objects/UML/class.c (umlclass_save): Patch from
1149 i.pilcher@comcast.net: Save normal font height under correct name
1150 to reload it. Fixes bug #310515.
1152 2005-07-10 Hans Breuer <hans@breuer.org>
1154 * app/connectionpoint_ops.c app/object_ops.c : make the
1155 'whole object' connection point only center point again.
1156 That is: it is visible and far less magnetic. Only the
1157 line gap handling make it special. For me this probably
1160 * lib/neworth_conn.c : apply the same as for bug #173031.
1161 This OrthConn fork got broken as well. Fixes bug #309381
1163 * app/makefile.msc objects/makefile.msc : adapt to icon changes
1165 * app/interface.c app/diagram_tree.c : a char** is still not
1166 a char* and the win32 build is configured to error on
1167 sloppiness like this
1169 * plug-ins/wmf/wmf.cpp : fix typo in preprocessor condition
1171 2005-07-10 Hans Breuer <hans@breuer.org>
1174 Take part in the toolbox icon redesign context! If you want to
1175 make them really prettier, please keep the following in mind :
1176 - the size *must* be 22x22 otherwise button reflow will get broken.
1177 Or you need to change about 800 icons at once.
1178 - one important part of Dia are control points, so maybe the icons
1179 should reflect that. (IMO gathering random icons form other
1181 - the icons should at least look consistent in their group
1184 * app/Makefile.am : use 22x22 variants mostly lent from The GIMP
1185 * app/pixmaps/*.png : added arrow-22.png scroll-22.png zoom-22.png
1187 * objects/standard/*.c : get rid of xpm includes to avoid mixing icon sets
1188 * objects/standard/pixmap/* : added arc.png beziergon.png
1189 bezierline.png box.png ellipse.png image.png line.png polygon.png
1190 polyline.png text.png zigzagline.png
1191 * objects/standard/Makefile.am : use the new icon set including
1194 * app/interface.c : remove the "will probably crash" debug spew
1196 2005-07-09 Lars Clausen <lars@raeder.dk>
1198 * objects/standard/pixmaps/*.png:
1199 * objects/standard/Makefile.am:
1200 * objects/standard/*.c:
1202 * app/diagram_tree.c (create_object_pixmap): Fix icon loading. use
1203 new icons. [Slightly belated entry]
1205 2005-07-03 Hans Breuer <hans@breuer.org>
1207 * app/diagram_tree.c : dont leak display name
1208 * app/app_procs.c : dont leak GOptionContext
1209 * app/prop_widgets.c(frame_beginprop_get_widget) :
1210 Gtk api still not eating strings ...
1212 * objects/UML/class.c() : don't load properties once more
1213 which are already loaded by StdProps. In case of strings
1214 (data_string) it has even produced leaks.
1216 * app/paginate_psprint.c app/diagram.[hc] : the last
1217 of the related dialogs is gone and with it the
1218 misconception of destroying widgets from
1220 * app/display.c : ensure the diagram is still threre
1221 when we remove the display from it's list
1223 2005-07-01 Hans Breuer <hans@breuer.org>
1225 * lib/widgets.c(dia_color_selector_more_callback): dont
1226 free old_color twice
1228 * plug-ins/wmf/wmf.cpp : finally added enahnced meta file
1229 option. Thus linestyles can be preserved on export - at
1230 least on NT based systems.
1232 * NEWS : clarify the wmf outside of windows issue
1234 * app/modify_too.c : fix C99ism
1236 * objects/standard/arc.c : debug spew optional at compile time
1238 2005-06-26 Hans Breuer <hans@breuer.org>
1240 [ Cyrille would call it: warningectomy :-]
1242 * lib/font.c app/create_object.c : `...' might be used uninitialized
1243 in this function. Yes they were.
1244 * app/modify_tool.c : modify_tool.c:610: warning: `obj' might be used
1245 uninitialized in this function. Yes it was with textedit_activate_object()
1246 Also some static correctness.
1247 * lib/diarenderer.c:678: warning: no previous prototype for
1248 `calculate_min_radius'. Made static.
1249 * lib/dia_svg.c : ptr is a gchar *
1250 * dia_xml.c(data_point,data_rectangle) : gchar *str for parsing
1251 * lib/prop_text.c(multistringprop_get_widget) : use G_CALLBACK
1252 * app/app_procs.c : confirm warning and make dump_dependencies() static
1253 * app/autosave.c : #if 0'd old stuff
1254 * app/display.c : GTK_CHECK_MENU_ITEM() for snap_to_grid
1256 * lib/text.c lib/font.c objects/standard/line.c object/UML/class.c
1257 objects/Istar/goal.c objects/standard/bezier.c objects/standard/beziergon.c
1258 plug-ins/cgm/cgm.c plug-ins/cairo/diacairo.c plug-ins/hpgl/hpgl.c
1259 plug-ins/wpg/wpg.c plug-ins/svg/svg-import.c plug-ins/shape/shape-export.c
1260 plug-ins/dxf/dxf-export.c plug-ins/gprint/diagnomeprintrenderer.c
1261 plug-ins/gprint/diagnomeprint.c plug-ins/xfig/xfig-export.c
1262 app/diagram_tree_menu_callbacks.c app/recent_files.c app/undo.c app/menus.c
1263 app/diapsrenderer.c app/diagram.c app/disp_callback.c :
1264 removed unused variables and functions
1265 * objects/UML/umlattribute.c objects/UML/umloperation.c
1266 objects/UML/umlparameter.c objects/UML/umlformalparameter.c :
1267 neither 'missing braces around initializer' nor 'initialization from
1268 incompatible pointer type'
1269 * objects/UML/class_dialog.c : more static
1270 * app/interface.c : static and almost const correctness and some
1271 less unitialized variables.
1272 * app/diapsft2renderer.c : use (int) casts like the original
1273 (http://imagic.weizmann.ac.il/~dov/freesw/paps/ v0.4) does
1274 * app/render_gdk.c: stop assignment from incompatible pointer type,
1275 make member functions match the prototype.
1276 * app/render_libart.c : Dito. Also stop caching the copy_gc in
1277 a static variable. Otherwise it finally leaks and also may cause
1278 BadMatch with changing windows
1279 => warning count down from about 250 to about 60, one or two hand full
1282 2005-06-26 Hans Breuer <hans@breuer.org>
1284 * lib/libdia.def : added dia_font_get_description, missing
1287 * app/app_procs.c : use png_get_header_ver(NULL), that is:
1288 prefer function call over exported variable to get the
1289 runtime version of libpng
1291 2005-06-19 Hans Breuer <hans@breuer.org>
1293 * plug-ins/python/Makefile.am : added codegen.py to EXTRA_DIST
1294 as suggested by Roland Stigge, bug #308310
1296 2005-06-19 Hans Breuer <hans@breuer.org>
1298 * app/filedlg.c(file_export_callback) : oops, gtk_widget_show() wasn't
1301 2005-06-18 Hans Breuer <hans@breuer.org>
1303 * NEWS : mention new file dialog
1305 [plugged remaining leaks from bug #142669]
1306 * lib/prop_attr.c(fontprop_free) : not only unref the font
1307 but free the property itself, too.
1308 * app/diagram_tree.c(create_diagram_children): remember the
1309 original list start to not only free the last element
1311 * lib/prop_sdarray.c:64: warning: `arrayprop_free' defined
1312 but not used. Here it meant a potentially huge leak.
1314 2005-06-18 Hans Breuer <hans@breuer.org>
1316 * po/POTFILES.in : removed app/diaconv.c which isn't referenced
1317 by app/Makefile.am anymore either. Should finally fix 'make distcheck'
1318 for others, too. ( Roland Stigge, bug #144527 )
1320 2005-06-18 Hans Breuer <hans@breuer.org>
1322 * plug-ins/wmf/Makefile.am : prevent installation. It
1323 doesn't do anything useful on *NIX and even seems to be
1324 linked wrong by gcc (or me;). Fixes bug #172830
1326 2005-06-18 Hans Breuer <hans@breuer.org>
1328 * app/textedit.[hc] lib/arrows.[hc] plug-ins/xslt/xslt.h
1329 plug-ins/xslt/xsltdialog.c plug-ins/xslt/xslt.c : fix for sloppiness
1330 in function declarations. 'f();' for a function without parameters is
1331 a C++ism. Though I can't get any of my compilers to warn about it.
1332 Finally fixes bug #142663.
1334 2005-06-18 Hans Breuer <hans@breuer.org>
1336 * app/textedit.[hc] lib/arrows.[hc] plug-ins/xslt/xslt.h
1337 plug-ins/xslt/xsltdialog.c plug-ins/xslt/xslt.c : fix for sloppiness
1338 in function declarations. 'f();' for a function without parameters is
1339 a C++ism. Though I can't get any of my compilers to warn about it.
1340 Finally fixes the rest of bug #142663.
1342 2005-06-18 Hans Breuer <hans@breuer.org>
1344 * lib/font.h lib/font.c : _DiaFont is now private to prepare bigger
1345 changes but doesn't hurt anyway. See bug #162034
1346 * app/diapsft2renderer.c app/modify_tool.c
1347 plug-ins/gprint/diagnomeprintrenderer.c : use dia_font_get_description()
1348 instead of messing with internals
1349 * app/display.c : give interactive renderers more begin/end render.
1350 It is guaranteed that the scale wont change between these.
1352 2005-06-18 Hans Breuer <hans@breuer.org>
1354 * app/app_procs.c : const correctness for stderr_message_internal
1355 * app/dia-props.c : gtk_toggle_*() functions want GTK_TOGGLE_BUTTON
1356 not GTK_CHECK_BUTTON, also some G_CALLBACK casts
1357 * app/disp_callbacks.c : don't dereference the to the function call
1358 when the function pointer in meant to be checked against 0
1359 * app/interface.c : warning fixes by using correct types
1360 * app/modify_tool.c : describe_props() members returns const pointer
1361 * app/render_libart.c : removed most of the render function again.
1362 They happily live in lib/dialibartrenderer.c since almost 3 years
1363 http://cvs.gnome.org/viewcvs/dia/app/render_libart.c?r1=1.31&r2=1.32
1364 * lib/dia_dirs.c : dia_get_canonical_path() const correctness
1365 * lib/dia_svg.c lib/dia_xml.c : some char to xmlChar changes
1366 * lib/dialibartrenderer.c(set_line_join): actually set the join_style
1367 instead of the cap_style. Don't initialize Art* enums with GDK_* constants.
1368 Both mentioned in bug #159814 and not warned by most other compilers.
1369 * lib/diagtkfontsel.c : at least the watcom compiler did not like the
1370 trailing colon in the GtkTypeInfo initialization
1371 * lib/properties.c : avoid redefinition of LIBDIA_COMPILATION
1372 * lib/dialinechooser.c lib/diagdkrenderer.c : there may be a difference
1373 between char and gint8
1374 * plug-ins/metapost/render_metapost.c : replace invalid escape \% with %%
1375 * plug-ins/wpg/wpg.c : consitently use guint8
1376 * config.h.win32 : change HAVE_* defines to 1 not empty, avoids
1377 redefinition warnings for python and xslt plug-ins
1379 2005-06-18 Hans Breuer <hans@breuer.org>
1381 * lib/diagramdata.c : really get rid of diagram_data_destroy
1382 and new_diagram_data [ no previous prototype for `...' is either
1383 a sign of missing static or of a function to vanish :-]
1385 * lib/geometry.c : apparently the G_INLINE stuff was working only
1386 with particular GLib version(s), glib-2.6.4 does not. Conditionally
1387 reverting to the old mecanics.
1389 2005-06-17 Hans Breuer <hans@breuer.org>
1391 * plug-ins/python/pydia-*.c : include order tweaking to
1392 get rid of redefinition warnings. Ensure to include <Python.h>
1393 before any 'system' header, some dragged in by glib.h
1394 * plug-ins/python/pydia-diagramdata.c(PyDiaDiagramData_Str)
1395 pydia-properties.c(PyDiaProperties_Str)
1396 plug-ins/python/pydia-property.c(PyDiaProperty_Str) :
1397 use %p to format pointers
1398 * plug-ins/python/pydia-geometry.c(PyDiaArrow_Str) :
1399 dont cast to float for %d
1400 * plug-ins/python/pydia-handle.c(PyDiaHandle_Connect) :
1401 use correct pointer type
1402 * plug-ins/python/pydia-image.c(PyDiaImage_Str) :
1403 dont discard qualifier aka dont free const strings
1404 * plug-ins/python/pydia-properties.c : casts to PyCFunction
1405 * plug-ins/python/pydia-property.c : removed unused function,
1406 make ensure_quarks() static
1407 * plug-ins/python/pydia-render.c : removed unused vars, use
1408 the correct signature for begin_render
1409 (dia_py_renderer_finalize): pluged a leak
1410 => except -fno-strict-aliasing there is no warning left in
1413 2005-06-12 Hans Breuer <hans@breuer.org>
1415 * app/filedlg.c : really fix the file extension mismatch on export dialog
1416 by working around some gtk+-2.6 behaviour (bug #307378). Fixes bug #305850
1418 2005-06-11 Hans Breuer <hans@breuer.org>
1420 * configure.in config.h.win32.h : mark as +cvs (should have been
1421 done directly after the 0.94 release)
1422 * NEWS : attempt to summarize 2/3 year of development
1425 WANT_AUTOMAKE=1.7 ./autogen.sh && ./conifugre --enable-maintatiner-mode && make distcheck
1426 finally passes again
1428 * app/app_procs.c : force use of POPT for the GNOME case, otherwise
1429 app/run_dia.sh --credits > THANKS => Segmentation fault
1430 * app/pixmaps/Makefile.am : added group.png and ungroup.png
1431 * Makefile.am : work around scrollkeeper bug
1432 * doc/en/Makefile.am : explicit list DISTCLEANFILES = dia.1
1434 * po/*.po : 'noise' produced by make dist
1436 2005-06-10 Hans Breuer <hans@breuer.org>
1438 * lib/properties.h : define PROP_STD_SHOW_BACKGROUND_OPTIONAL ...
1439 * objects/custom/custom_object.c : ... and use it to avoid
1440 complains about missing attribute "show_background". It is
1441 safe to leave this uninitialized. Same for flip_* and "text",
1442 the latter with comment cause it usually is *not* safe to do
1443 it for the general case. Fixes remaining issues with bug #169006
1444 which where caused by an incompatible change in the shape file.
1446 * app/commands.c : use "gnome-open" instead of "netscape" as
1447 fallback for $BROWSER not set. Still not optimal but better
1448 to try some common desktop tool than an obsolete browser;)
1449 Fixes bug #307142. Also some whitespace changes.
1451 * app/interface.c(toolbox_delete): avoid random return value.
1452 Patch from Stanislav Brabec, fixes bug #307143
1454 * shapes/Cisco/Makefile.am : added a bunch of new shapes/pngs.
1455 Patch from Torben H. Nielsen (bugzilla is still the preferred way)
1456 http://mail.gnome.org/archives/dia-list/2005-June/msg00015.html
1458 2005-06-06 Lars Clausen <lars@raeder.dk>
1461 * app/modify_tool.c:
1462 * app/textedit.[ch]:
1463 Better support for text edit highlight.
1465 * app/connectionpoint_ops.c (connectionpoint_draw): Stop making
1466 the mainpoint extra visible.
1468 2005-06-02 Lars Clausen <lars@raeder.dk>
1470 * objects/UML/class_dialog.c:
1471 * objects/UML/class.[ch]:
1472 The final fixes for mainpoint on UML Class.
1474 * sheets/cisco*.in, shapes/Cisco/*: New set of Cisco icons from
1475 Ian Redfern, now in color and with mainpoints! Very pretty!
1477 2005-06-02 Hans Breuer <hans@breuer.org>
1479 * objects/UML/class_dialog.c : the memory managment with respect to
1480 attribute/operation connections was/is a mess. But it should work again ;)
1482 * samples/UMLPackages.dia samples/Composite-Action.dia : some diagrams
1483 directly from the UML Specification - to show the power of Dia and
1484 some weakness. Watch the bug reports following ;)
1486 2005-06-01 Hans Breuer <hans@breuer.org>
1488 * app/dia.def : export diagram_update_connections_object
1489 * plug-ins/python/pydia-diagram.c : wrap diagram_update_connections_object
1490 Patch from Paolo Bernardi, together with the property setting closes bug #300572
1492 2005-06-01 Hans Breuer <hans@breuer.org>
1494 * plug-ins/python/pydia-property.c : complete refactoring of property
1495 setting, now also supports setting of property arrays
1496 * plug-ins/python/pydia-*.c plug-ins/python/diamodule.c : adapt to
1497 Python namespacing conventions
1498 * plug-ins/python/pydiadoc.py : use the stuff above to produce more
1499 complete UML Classes with attributes and operations
1500 * plug-ins/python/otypes.py : now also show the properties of the objects
1502 * objects/UML/class.c(umlclass_set_props) : need to update object::connections
1503 (pointers), they might be changed with attributes and opertions changing
1505 * plug-ins/python/pydia-property.c : PointArray and BezPointArray property getters
1506 were broken. Apparently noone used them before.
1508 * plug-ins/python/pydia-diagram.c plug-ins/python/pydia-diagramdata.c : moved methods
1509 which only operate on the DiagramData to the latter file. To get on the DiagramData
1510 object of a Diagram use diagram.data. [In C the Diagram is a subclass of DiagramData,
1511 but I don't know how to reflect that in the bindings. And for backward compatibility
1512 there also is the 'data' member.]
1514 * objects/UML/uml.c objects/UML/umlattribute.c objects/UML/umloperation.c
1515 objects/UML/umlparameter.c : describe enums with PropEnumData
1517 * app/commands.c(view_show_all_callback) : if there is something selected show
1518 that instead of all exisiting objects. If there is noting or all selcted it
1519 "Show all" shows the old behaviour.
1521 * lib/parent.[hc] lib/object.c app/disp_callbacks.c app/diagram.c : plug some memory
1522 leaks and use less allocations caused by misguided API. Also some adaption to common
1525 * objects/UML/class.h : add some comment about the brokeness of UML_MAINPOINT
1527 * app/makefile.msc : added new icons and build as console app while
1528 not releaseing to the general public
1530 * objects/custom/shape_info.c : use g_strdup("") for a field to be g_free()'d
1531 and keep a refernce when storing the a font from style="" in s.font. This should
1532 finally allow to have shapes with fully predefined text (and no 'random' crashes)
1534 * plug-ins/gprint/diagnomeprint.c : disable GNOME_SVG until I've found a program
1535 capable to interpret it's output
1537 2005-05-31 Lars Clausen <lars@raeder.dk>
1539 * sheets/ER.sheet.in: No more xpms referenced in sheets. Fixes bug #151811.
1541 2005-05-30 Pawan Chitrakar <pawan@nplinux.org>
1543 * configure.in: Added ne in ALL_LINGUAS
1545 2005-05-24 Lars Clausen <lars@raeder.dk>
1547 * lib/font.c: Change to make DIA_FONT_ITALIC turn into -Oblique PS
1548 fonts for legacy fonts. They don't have DIA_FONT_OBLIQUE setting
1551 2005-05-23 Lars Clausen <lars@raeder.dk>
1553 * lib/paper.c: Added Ledger size paper. Fixes bug #305254.
1555 2005-05-21 Lars Clausen <lars@raeder.dk>
1557 * lib/diaarrowchooser.c:
1558 * lib/arrows.[ch]: Patch from Radek Krahl <ptasz3k@o2.pl>: Add
1559 'infinite' line (three dots) arrowhead. Fix line length in arrow
1560 preview. And fix typo. Fixes bug #303904.
1562 2005-05-20 Hans Breuer <hans@breuer.org>
1564 * lib/text.c : advice from valgrind and data_string() review:
1565 neither g_free() memory on the stack
1566 * objects/GRAFCET/boolequation.c : ... nor const strings
1567 * objects/UML/association.c:934 : definitely lost. Even g_strdup("")
1570 * app/diagram.c : a g_object_ref() following g_object_new() is almost
1571 always wrong. Why would we need two refernces?
1572 * app/app_procs.c : same here.If it crashes later on someone is dropping
1573 refernces he does not own, and *that* needs to be fixed. This is reverting
1574 "Remember to ref g_object_new'd object" (bug #170972) below, which
1575 causes more harm (leaking, hiding bugs elsewhere) than good.
1577 * app/app_procs.c lib/diagramdata.[ch] lib/libdia.def : get rid of
1578 diagramdata_destroy() which was only a wrapper to g_object_unref()
1580 * app/display.c(selection_changed) : don't g_strdup_printf() without
1581 g_free() later /or/ a C++ comment of me mostly denotes an error
1583 * app/diagram.c : diagram_parent_sort_cb make signature match GCompareFunc
1585 * lib/widget.c : dia_dynamic_menu_select_entry() cleanup. If it takes a
1586 const gchar* entry it must not eat memory, added a lot of g_free() and
1587 some const. Fixed a bunch - i.e. *all* - warnings.
1588 * lib/widget.h : removed unused/deleted functions
1590 * app/layer_dialog.c(dia_layer_widget_connectable_toggled) : trying to
1591 avoid 'Invalid write of size 4', no luck yet
1593 2005-05-19 Lars Clausen <lars@raeder.dk>
1595 * objects/UML/class.c:
1596 * objects/UML/class.h:
1597 * objects/UML/class_dialog.c: Work on getting a proper mainpoint
1598 for uml class object. #ifdef'd out right now.
1600 2005-05-18 Lars Clausen <lars@raeder.dk>
1602 * objects/standard/line.c: Make line adjust its actual endpoints
1603 for autogap -- looks and feels better.
1605 * objects/standard/arc.c:
1607 * app/modify_tool.c: Patch from Grégoire Dooms
1608 <dooms@info.ucl.ac.be>: First stab at autogap for arcs, and
1609 shifted arc angle movement.
1611 2005-05-16 Hans Breuer <hans@breuer.org>
1613 * lib/widget.c : variable declarations need to be at the start of a block,
1614 at least as we are not using C++ or C99
1616 * plug-ins/python/pydia-property.c : implment the read part for Property
1617 arrays - aka. umlclass.properties["operations"], umlclass.properties["attributes"]
1618 They are working quite well as can be seen with export-object.py
1620 * plug-ins/python/codegen.py : prove it once more with the generation of C++
1621 or Python code from an UML Diagram. Simply save as .py or .cxx ...
1622 * plug-ins/python/Makefile.am : install it
1624 2005-05-16 Lars Clausen <lars@raeder.dk>
1626 * app/pixmaps/{un}group.png:
1627 * app/Makefile.am (ICON_PNG_PAIRS):
1628 * app/menus.c (display_menu_items):
1629 New icons for grou/ungroup finally added, closing bug #105519.
1631 * app/Makefile.am: Dependencies for pixmaps.
1633 * app/pixmaps/connectable.png: An icon that actually makes sense
1634 for switching connectability.
1636 2005-05-15 Hans Breuer <hans@breuer.org>
1638 * lib/group.c object/UML/classicon.c : fixed leftovers of
1639 'Adding connectionpoint to _move_handle
1641 * lib/widgets.c : gtk+ *NEVER* eats strings, so gtk_something(widget, g_strdup())
1642 is *ALWAYS* a memory leak. Plug some more.
1645 In preparation to make UML operations/attributes/parameters setable by Python
1646 UML class became more StdProp conformant. A nice experience to be the first
1647 to use the PROP_TYPE_DARRAY stuff about four years after it was written ;-)
1649 * objects/UML/umlattribute.c objects/UML/umloperation.c
1650 objects/UML/umlparameter.c objects/UML/umlformalparameter.c : (new files)
1651 split from objects/UML/uml.c and made StdProp aware
1652 * objects/UML/class.c : finally make "attributes", "operations", "templates"
1653 <template parameters> first class StdProps citizens.
1654 (umlclass_load) : removed hand-written parsing for the above, it is all done
1655 by object_load_props() now. The old write code is still in place, so be very
1656 careful when changing something - at the moment load/save it is 100% compatible
1658 * objects/UML/uml.c : now just type registration here, as it is supposed to be
1659 * objects/UML/Makefile.am objects/makefile.msc : build the new files
1661 * lib/properties.h(PropDescCommonAreaExtra) : need a place to store the
1663 * lib/prop_sdarray.c : made the DARRAY case work, SARRAY still untested
1664 (darray_prop_adjust_object_records) : don't loop forever
1665 (whole file) : use the new (working) way to get on the second level offsets.
1666 Also resolved some abbreviations, it is complicated enough without them ;)
1667 * lib/proplist.c : even complete list contents may be optional
1669 2005-05-15 Hans Breuer <hans@breuer.org>
1671 * lib/bezier_conn.c(remove_handles) : don't try to remove
1672 non-exisitng handles (patch from Radek Krahl, bug #302273)
1674 2005-05-15 Hans Breuer <hans@breuer.org>
1676 * plug-ins/metapost/render_metapost.c : locale independent output
1677 (Radek Krahl, bug #301866)
1679 2005-05-12 Lars Clausen <lars@raeder.dk>
1681 * shapes/Cisco/*.{shape,png}:
1682 * sheets/cisco*.sheet.in:
1683 Updated with color icons from Ian Redfern, closing bug #303889.
1684 Added automatic midpoints, not attempt at adjusting them.
1686 2005-05-11 Lars Clausen <lars@raeder.dk>
1688 * many shapes: Use mid of bounding box for midpoint, better than
1689 mid of connection points generally.
1691 2005-05-10 Lars Clausen <lars@raeder.dk>
1693 * lib/widgets.c: Decided on one way for the ratio thing in arrow
1694 size selector: Fixed ratio is on by default and keeps the sizes
1695 at the given ratio, but doesn't clamp them to be the same. Fixes
1698 * lib/font.c: Fix for bug #303695: Allow more than one entry of
1699 each legacy name, thereby correctly encoding bold and italic of
1700 the three main fonts. Also use | rather than || to combine slant
1701 and weight, so matching works. Had to remove binary search for
1702 new font name, but the list is short enough it's not a problem.
1704 2005-05-09 Lars Clausen <lars@raeder.dk>
1706 * lib/autoroute.c (autoroute_layout_orthconn): Remove debugging info.
1708 2005-05-08 Hans Breuer <hans@breuer.org>
1710 * objects/UML/class.c : Reverted to have no center point.
1711 At first it looked as if there was only the bug to not increase
1712 class.h:UMLCLASS_CONNECTIONPOINTS. But the UMLClass has
1713 potentially much more dynamic connection points (to the left
1714 and right of every attribute/operation). Now simply adding one
1715 between see static and dynamic will screw up any existing diagram
1716 which makes use of the dynamic connection points. The would all
1717 be connected with an off-by-one error. I have no idea how to
1718 code around that. But breaking backward compatibility is no
1719 option here. Does not completely fix bug #303301 ...
1721 * lib/widget.c(dia_font_selector_set_font): actually set the options
1722 menu state. So we are not any longer resetting the font style on Apply.
1723 Use "UML - Class" dialog as stress text example.
1725 * app/command.c : some people insist to close diagrams already
1726 closed using tear-off menus. Maybe we should add a dialog
1727 "Do you want to call Dr. Watson now?". If there is no diagram
1728 to close anymore just do nothing, fixes bug #303221
1729 * app/display.c(ddisplay_close) : use g_return_if_fail(ddisp != NULL);
1730 Calling this with no display to close is a pathological case.
1732 * app/diagram.[hc] : moved object.h and other DiaObject stuff
1733 to the implementation in preparation of Big Things(tm)
1735 * app/interface.c : less warnings and make it compile. strncmp()
1736 does not take a char**, neither does gdk_pixbuf_new_from_inline().
1738 * objects/makefile.msc plug-ins/makefile.msc : less output
1740 2005-05-08 Lars Clausen <lars@raeder.dk>
1742 * lib/orth_conn.c (orthconn_init): The right place to set the
1743 default autorouting value. Fixes bug #303291.
1745 * app/display.c (ddisplay_close): Patch from Radek Krahl
1746 (ptasz3k@o2.pl): Fix crash when using from detached menu
1749 2005-05-07 Lars Clausen <lars@raeder.dk>
1751 * lib/orth_conn.c (orthconn_load): Autorouting should default to
1752 off in diagrams that don't have it explicitly. All diagrams
1753 should be explicit about it.
1755 2005-05-06 Hans Breuer <hans@breuer.org>
1757 * app/samples/Self/*.dia : some UML diagrams describing Dia's
1758 inner working (or it's future;)
1760 2005-04-26 Lars Clausen <lars@raeder.dk>
1762 * app/connectionpoint_ops.c (connectionpoint_draw): Temporary
1763 change to display of mainpoint to be easier to debug autogenerated
1766 2005-04-23 Hans Breuer <hans@breuer.org>
1768 * plug-ins/python/diamodule.c plug-ins/python/pydia-object.h
1769 plug-ins/python/pydia-properties.h : use lib/ prefix for
1770 Dia internal headers with too common names (fixes bug #173061)
1772 * app/display.c : stop special casing the first display of
1773 a diagram. Every display now has it's own refernce. The initial
1774 reference gets dropped when there is no display anymore. See
1775 diagram_remove_ddisplay(). Fixes bug #300744.
1777 * app/diapsft2renderer.c : locale independent output
1778 (Radek Krahl, bug #300847)
1779 * app/paginate_psprint.c : fixing use of setlocale() calls
1780 (Radek Krahl, bug #300886)
1781 * plug-ins/shape/shape-export.c : fixing use of setlocale() calls
1782 (Radek Krahl, bug #300889)
1784 * objects/UML/class.c : fix another crash with the line
1785 wrapping code (Gabor Simon, bug #160865)
1787 * plug-ins/cairo/diacairo.c : image rendering had an endianess
1788 issue (or is this working around a libpixman bug?;)
1790 2005-04-21 Lars Clausen <lars@raeder.dk>
1792 * lib/polyshape.c (polyshape_update_data): Fixed numpoint off-by-one.
1794 * shapes/**/*.shape: All shapes now have midpoints.
1796 2005-04-20 Lars Clausen <lars@raeder.dk>
1798 * lib/orth_conn.c (orthconn_update_data): Patch from ptasz3k@o2.pl
1799 (Radek Krahl): Make sure there's enough handles for the line.
1802 * objects/UML/node.c (node_draw): Better drawing method avoids
1803 garbage after moving. Fixes bug #301032.
1805 2005-04-17 Hans Breuer <hans@breuer.org>
1807 * plug-ins/cairo/diacairo.c : again adapt to Cairo API
1808 changes (whould compile with current cvs and 0.(3|4).0
1810 2005-04-11 Lars Clausen <lars@raeder.dk>
1812 * xmldocs.make (all): Fix to put installed docs in right place
1813 under disable-gnome.
1815 * doc/en/Makefile.am: Use xml_files var for xml files, EXTRA_DIST
1818 * app/commands.c (help_manual_callback): Patch from p@kapcoweb.com
1819 (Leonardo Boshell): Use standard gnome help if called with Gnome.
1821 * app/diapsrenderer.c: Patch from ptasz3k@o2.pl (Radek Krahl): Fix
1822 locale issues for eps output. Fixes bug #173135.
1824 2005-04-10 Hans Breuer <hans@breuer.org>
1826 * plug-ins/cairo/diacairo.c : adapt to Cairo PNG API
1827 changes (somewhat broken)
1829 * plug-ins/pstricks/render_pstricks.c : still C89 ...
1830 * objects/custom/shape_info.c : ... but with prototypes
1832 2005-04-07 Lars Clausen <lars@raeder.dk>
1835 * plug-ins/svg/render_svg.c:
1836 * lib/diasvgrenderer.c: Patches from ptasz3k@o2.pl (Radek Krahl):
1837 Make decimal separators be correct in save file formats
1838 (non-localized). Fixes bugs #172529 and 172531.
1840 2005-04-06 Lars Clausen <lars@raeder.dk>
1842 * app/create_object.c (create_object_button_release):
1843 * app/modify_tool.c (modify_button_release): Correct activations
1846 2005-04-05 Simon Kågström <ska@bth.se>
1848 * app/app_procs.c: the --show-layers option can now handle numeric
1851 2005-04-05 Lars Clausen <lars@raeder.dk>
1853 * lib/diagdkrenderer.c (draw_string): Patch from tomkast@yahoo.com
1854 (Tom Kast): Avoid blockiness caused by bad updates.
1856 2005-04-03 Lars Clausen <lars@raeder.dk>
1859 * lib/beziershape.c: Main points. A crude solution, having the
1860 center in the middle of the bb. Shows a bug in the distance_from
1861 code for polyshape when a side is horizontal.
1863 2005-04-02 Lars Clausen <lars@raeder.dk>
1865 * plug-ins/pstricks/render_pstricks.c:
1866 * plug-ins/xfig/xfig-export.c: Patch from Radek
1867 Krahl <ptasz3k@o2.pl>: Fix decimal point problems. Fixes bugs
1869 2005-04-02 Hans Breuer <hans@breuer.org>
1871 * lib/dia_image.c(dia_image_filename) : return the path
1872 again. (bug #172416, Radek Krahl)
1874 2005-04-01 Steve Murphy <murf@e-tools.com>
1876 * configure.in: Added "rw" to ALL_LINGUAS.
1878 2005-03-31 Lars Clausen <lars@raeder.dk>
1880 * lib/neworth_conn.c (neworthconn_update_data): Handle autogap.
1882 * lib/orth_conn.c (orthconn_update_data): Handle autogap while not
1885 * objects/network/basestation.c: Main points.
1887 2005-03-27 Hans Breuer <hans@breuer.org>
1889 * app/Makefile.am : removed some pixmap/*.xpm from EXTRA_DIST
1890 * app/pixmaps.h : removed arrow.xpm
1891 * lib/Makefile.am : added diamarshal
1892 * plug-ins/python/Makefile.am : added makefile.msc to EXTRA_DIST
1893 => makes 'make dist' pass and produce a useable package
1895 * po/*.po : 'noise' profuced by make dist
1897 2005-03-24 Lars Clausen <lars@raeder.dk>
1899 * objects/flowchart/parallelogram.c (pgram_update_data):
1900 * objects/flowchart/ellipse.c (ellipse_update_data):
1901 * objects/flowchart/diamond.c (diamond_update_data):
1902 * objects/flowchart/box.c (box_update_data): Main points.
1904 * objects/custom/custom_object.c (custom_create):
1905 * objects/custom/shape_info.h:
1906 * shapes/Assorted/square.shape:
1907 * objects/custom/shape_info.c (load_shape_info):
1908 * doc/shape.dtd: Added main point support to shapes, and an
1909 example of how to use it.
1911 2005-03-21 Lars Clausen <lars@raeder.dk>
1913 * lib/autoroute.c (autoroute_layout_orthconn): Remember to
1914 unnormalize from same point as you normalize, or else!
1916 2005-03-20 Lars Clausen <lars@raeder.dk>
1918 * app/app_procs.c (do_convert): Patch from crux@gorodmasterov.com:
1919 Remember to ref g_object_new'd object.
1921 2005-03-19 Hans Breuer <hans@breuer.org>
1923 * plug-ins/xslt/xslt.c : don't crash if both places ($SHARE, $HOME)
1924 have configurations, fixes bug #170962
1926 * objects/UML/state.c : ("UML - State")::type is PROP_FLAG_OPTIONAL,
1927 or better not used any longer. Fixes bug #169142.
1929 * lib/element.c(element_update_connections_rectangle): don't initialize
1930 the eighth point twice but instead the nineth once
1932 * objects/standard/bezier.c : no C++ comments *please*
1934 * lib/plug-ins.h : increment DIA_PLUGIN_API_VERSION
1936 * lib/dia_image.[ch] : dia_image_filename() returns a string not to be freed ...
1937 * plug-ins/python/pydia-image.c : ... so, don't do it!
1939 * lib/dia_svg.c : refactor color parsing and support the "rgb(127,255,0)" form,
1940 also named colors via pango_color_parse()
1942 * lib/prop_text.c : don't try to g_strdelimit(NULL), fixes bug #169367
1944 * lib/libdia.def : updated externals
1946 * app/object_ops.c : still not C99 everywhere
1948 2005-03-19 Hans Breuer <hans@breuer.org>
1950 * lib/autoroute.c : at least it should compile ;)
1952 2005-03-19 Lars Clausen <lars@raeder.dk>
1954 * lib/autoroute.c: Orthconns now do autogap.
1956 2005-03-17 Lars Clausen <lars@raeder.dk>
1958 * app/authors.h: Added Gregoire Dooms for gap stuff.
1960 * objects/standard/polyline.c: Patch from Grégoire Dooms
1961 <dooms@info.ucl.ac.be>: Autogap and absolute gap for polyline.
1963 * objects/standard/bezier.c: Patch from Grégoire Dooms
1964 <dooms@info.ucl.ac.be>: Fixes two bugs. Also autogap no longer a
1968 * objects/UML/state_term.c:
1969 * objects/UML/large_package.c:
1970 * objects/UML/node.c:
1971 * objects/UML/object.c:
1972 * objects/UML/small_package.c:
1973 * objects/UML/state.c:
1974 * objects/UML/usecase.c:
1975 * objects/UML/note.c:
1976 * objects/UML/actor.c:
1977 * objects/UML/classicon.c:
1978 * objects/UML/component.c:
1979 * objects/Misc/analog_clock.c:
1980 * objects/Jackson/requirement.c:
1981 * objects/Istar/goal.c:
1982 * objects/Istar/actor.c:
1983 * objects/FS/function.c:
1984 * object/standard/box.c:
1985 * objects/ER/entity.c:
1986 * objects/ER/relationship.c:
1987 * objects/ER/attribute.c: Main points added. Distance_from fixed
1988 in attribute, broken in relationship, I* goal, Jackson
1989 requirement, analog_clock, all non-rectangular UML elements,
1992 * lib/element.[ch]: New method to help update connection points.
1994 * app/menus.c: Change Help/Manual to Help/Contents to follow
1997 * objects/standard/line.c:
1998 * lib/geometry.[ch]:
1999 * objects/standard/bezier.c: Patch from Grégoire Dooms
2000 <dooms@info.ucl.ac.be>: Add absolute gap and autogap for line and
2001 bezier objects. Autogap nowchanged to be a function of the
2005 * lib/connectionpoint.[ch]: New function to ask if a connpoint has the
2008 * app/connectionpoint_ops.c (connectionpoint_draw): Don't draw
2009 CP_FLAG_ANYPLACE connpoints.
2011 2005-03-16 Lars Clausen <lars@raeder.dk>
2013 * app/interface.c (create_tools): Removed debug printf.
2015 2005-03-15 Lars Clausen <lars@raeder.dk>
2017 * lib/widgets.[ch]: Constification.
2019 * app/interface.c: Work on using gdk-pixbuf-csource'd data, not
2022 * objects/standard/ellipse.c: Use CP_FLAG_MAIN for central CP.
2024 * lib/connectionpoint.h: Flags for connection points.
2026 * app/create_object.c (create_object_motion):
2027 * app/modify_tool.c (modify_motion): Minor refactoring.
2029 * app/object_ops.c (object_find_connectpoint_display): Extend with
2030 finding connpoints that cover entire objects.
2032 * app/layer_dialog.c (dia_layer_widget_init): Get rid of warnings.
2034 * objects/custom/custom_object.c (custom_setup_properties): Avoid
2037 2005-03-13 Hans Breuer <hans@breuer.org>
2039 * plug-ins/svg/svg-import.c : handle the <circle/> tag as well
2041 2005-03-13 Hans Breuer <hans@breuer.org>
2043 * lib/dia_svg.[hc] objects/custom/shape_info.[hc] plug-ins/svg/svg-import.c :
2044 s/DiaSvgGraphicStyle/DiaSvgStyle/, added and use convenience functions
2045 dia_svg_style_copy(), dia_svg_style_init()
2047 * objects/custom/shape_info.c : use dia_svg_parse_path() from lib/ (it got
2050 * lib/dia_svg.c(dia_svg_parse_path) : also handle style properties which are
2051 not wrapped in the style attribute
2053 * plug-ins/svg/svg-import.c : implement nested group handling and style
2054 'style inheritance'. Still no transformations, no <image/>, no <style/>
2057 * plug-ins/svg/svg-import.c(import_svg) : use message_warning instead of g_warning,
2058 the latter is for programmers.
2059 Also be more tolerant if the document root namespace is not 'svg'. If the svg
2060 namespace is defined in the file search for the top node including svg. This
2061 allows us to re-read the svg part of our own shape format.
2063 * lib/libdia.def : there is no give_focus_to_object
2064 * app/textedit.c : still no C99, aka. error C2275: 'Focus' : illegal use of this
2065 type as an expression
2067 * lib/geometry. c : use G_IMPLEMENT_INLINES
2068 * lib/libdia.def : export point_get_perp (used by xfig plug-in)
2070 * app/textedit.c(textedit_end_edit) : don't crash if the display is already
2071 gone when trying to remove the focus
2073 * plug-ins/cairo/diacairo.c : CAIRO_HAS_WIN32_SURFACE does not any longer mean
2074 it has *my* Cairo Win32 Backend. [The official one isn't useful for the use
2075 case of this plug-in, i.e. producing output files]
2077 2005-03-13 Lars Clausen <lars@raeder.dk>
2079 * lib/Makefile.am (BUILT_SOURCES):
2080 * app/Makefile.am (BUILT_SOURCES): Use the Right Way[tm] to force
2081 the building of the icons header files.
2082 * app/dia-lib-icons.h: Out of CVS now that it's correctly generated.
2084 2005-03-13 Hans Breuer <hans@breuer.org>
2086 * configure.in : require Cairo 0.3.0
2087 plug-ins/cairo/diacairo.c : changed to match ;-)
2089 * app/app_procs.c() : new function dump_dependencies()
2090 which gets called by: dia --version --verbose
2091 and may help to track version dependent problems in
2094 * lib/font.c : reverted to previous version cause using
2095 not implemented Pango API did not improve the issue.
2096 See: http://bugzilla.gnome.org/show_bug.cgi?id=162034
2097 for more information.
2099 * lib/dialinechooser.c : a little shrinking of the
2100 initial size (to work around line wrappjing the right
2103 2005-03-11 Lars Clausen <lars@raeder.dk>
2105 * app/textedit.c: Concentrate start/end editing in single functions.
2107 2005-03-10 Lars Clausen <lars@raeder.dk>
2110 * lib/object.h: Added new object function to allow the object to
2111 be notified when its text is being edited.
2114 * app/modify_tool.c:
2117 * lib/focus.c: Remove sideeffects from focus objects, add getter
2120 2005-03-09 Lars Clausen <lars@raeder.dk>
2122 * lib/Makefile.am (dia-lib-icons.h):
2123 * app/Makefile.am: Minor cleanup.
2125 2005-03-06 Hans Breuer <hans@breuer.org>
2127 * app/app_procs.c : avoid "assignment within conditional expression"
2128 and handle -L for the GOption case as well.
2130 * lib/widget.c : strchr() does not return -1 on not found but NULL;
2131 avoids widgets.c(307) : error C4047: '!=' : 'char *' differs in levels of
2132 indirection from 'const int '
2134 * lib/diasvgenderer.c(draw_arc|fill_arc) : finally correct sweep and
2135 large_arc, thus produce correct arc output (like diasvg.py does;),
2138 * lib/dia_svg.[hc](dia_svg_parse_path) : new function copied and adapted
2139 from objects/custom/shape_info.c to be shared with object/custom and
2140 plug-in/svg -> finally the C based svg-import reads pathes again.
2141 Added arc parsing while I was there, which fixes bug #169191
2142 * objects/custom/shape_info.c(parse_path) :
2143 * plug-ins/svg/svg-import : reuse above function
2144 Also fix the "root element was 'svg' -- expecting 'svg'" bug #108502.
2145 But in general this does only support a small subset of what is
2148 2005-03-06 Lars Clausen <lars@raeder.dk>
2150 * objects/UML/association.c: Patch from Dave Klotzbach applied:
2151 Add visibility to association arrow. Fixes bug #157012.
2153 * app/grid.c: Patch from Lawrence Withers fixes grid messiness,
2154 closing bug #161040.
2156 * app/layer_dialog.c (create_button_box): Use stock icons instead
2157 of homemade onces. Gets us rid of four more XPMs.
2159 2005-03-05 Sampo Kellomaki <sampo@iki.fi>
2161 * app/app_procs.c: Implemented --show-layers=LAYER,LAYER,... option
2162 This option permits command line control of which layers are visible.
2163 Useful when automatically exporting multiple versions of the same
2164 diagram, e.g. slides with overlays. Added-n switch parsing without POPT.
2165 * app/app_procs.h: moved prototype of do_convert() to app/app_procs.c
2166 and made it static since its only used in that file.
2167 * app/authors.h: added myself
2168 * doc/en/dia.1: documented the switch
2169 * doc/en/usage-layers.xml: ditto
2171 2005-03-05 Alan Horkan <horkana@tcd.ie>
2173 * app/interface.c Change Horizontal scroll policy to NEVER for sheets
2174 this restores how Dia behaved before the GTK2 port and seems to help
2175 allow the toolbox to be more easily resized. Bug #108891.
2177 2005-03-05 Lars Clausen <lars@raeder.dk>
2179 * Civil/civil_motor.shape:
2180 * Civil/civil_rotor.shape:
2182 * Logic/buffer.shape:
2183 * Logic/connector.shape:
2184 * Logic/inverter.shape:
2190 * shapes/Assorted/arrow-left-up.shape:
2191 * shapes/Assorted/heptagon.shape:
2192 * shapes/Assorted/star5.shape:
2193 * shapes/Assorted/trapezoid.shape:
2194 * shapes/Assorted/triangle-rightangle.shape: Fixed bad use of
2195 defaults, see bug #169143.
2197 * sheets/Assorted.sheet.in: Fixed typo patch applied, bug #169114.
2200 * doc/en/Makefile.am: Finally figured out the right way to ask for
2201 the manpage xslt. Closes bug #144539.
2203 2005-03-01 Lars Clausen <lars@raeder.dk>
2205 * lib/Makefile.am (nodist_include_HEADERS):
2206 * app/Makefile.am: Correctly generate these files from PNGs with
2211 * lib/widgets.c: Refactor toggle button factory to allow inline
2214 * lib/pixmaps/Makefile.am: Unify lib pixmaps.
2216 * app/makefile.msc (ICON_PNG_PAIRS):
2217 * app/dia-app-icons.h: Updated with more icons.
2220 * app/Makefile.am: Use gdk_pixbuf_csource to create inline data
2223 * app/interface.c (create_display_shell):
2224 * app/layer_dialog.c (dia_layer_widget_init):
2225 * lib/dia_image.c (dia_image_get_broken): Use inlined data
2228 * app/display.c (ddisplay_close): Removed unused includes.
2230 2005-03-01 Lars Clausen <lars@raeder.dk>
2232 * app/sheets.c (create_object_pixmap): Create a placeholder image
2233 for when the real image is missing. Better than crashing:)
2236 2005-02-25 Hans Breuer <hans@breuer.org>
2238 * app/app_procs.c : don't requets to open a default display with
2239 g_option_context_add_group (crux@gorodmasterov.com, bug #168523)
2241 2005-02-22 Lars Clausen <lars@raeder.dk>
2243 * plug-ins/gprint/diagnomeprint.c (export_data): GNOME, not Gome.
2246 2005-02-19 Lars Clausen <lars@raeder.dk>
2248 * app/menus.c (display_menu_items): Applied patch from bug #94019:
2249 Menu cleanup and addition of icons. Also a few additional stock
2252 * app/layer_dialog.c (create_layer_dialog): Bug #159598: Clean up
2255 2005-02-14 Lars Clausen <lars@raeder.dk>
2257 * INSTALL (ftp): Fixed Pango release typo (bug #153007)
2259 2005-02-13 Lars Clausen <lars@raeder.dk>
2261 * lib/font.c: First stab at using Gtk 2.4 functions for fixing
2262 width. Seems to work. Once tested some more, needs old code
2265 * lib/widgets.c (dia_font_selector_create_string_item): Avoid
2266 warning by escaping & properly.
2268 2005-02-06 Lars Clausen <lars@raeder.dk>
2270 * app/filedlg.c (file_export_callback): Set correct extension as
2271 soon every time the dialog is shown. Fixes bug #162535.
2273 * app/display.c (ddisplay_set_origo): Use more standard
2276 * app/modify_tool.c (modify_motion):
2277 * app/create_object.c (create_object_motion): Put coordinates of
2278 handle/object in status bar while moving. Fixes bug #163164.
2280 2005-02-03 Lars Clausen <lars@raeder.dk>
2282 * lib/.cvsignore: Added generated files diamarshal.[ch]
2284 2005-02-02 Lars Clausen <lars@raeder.dk>
2286 * configure.in: Add GLIB_GENMARSHAL def as suggested in
2287 http://ignore-your.tv/software/libgtcpsocket/docs/client-subclassing.html.
2288 Now compiles on Linux.
2290 2005-02-01 Lars Clausen <lars@raeder.dk>
2292 * app/sheets.c (sheet_object_mod_get_type_string): We don't really
2293 need to translate the empty string. Especially not after
2294 g_assert_not_reached(). Fixes bug #165966.
2296 2005-01-07 Tim Olsen <tolsen@alum.mit.edu>
2298 * objects/UML/activity.c : add fill- and line-colour properties
2299 [applied by Hans Breuer, fixes bug #163260]
2301 2004-01-28 Hans Breuer <hans@breuer.org>
2303 * doc/en/*.xml doc/en/dia.dbk app/authors.h : documentation
2304 update provided by Alan Horkan (fixes bug #159592)
2306 2004-01-28 Hans Breuer <hans@breuer.org>
2308 [Extented version for UML to C++ conversion by Dave Klotzbach, bug #155255]
2309 * plug-ins/xslt/dia-uml2cpp.xsl : (new file) ... handles associataions,
2310 generalization, dependancies, parameterized classes ...
2311 * plug-ins/xslt/styleshetts.xml : refernce it
2312 * plug-ins/xslt/dia-uml.xsl : handle more UML types uesd above
2314 2004-01-28 Hans Breuer <hans@breuer.org>
2316 * objects/UML/transition.c : fill out the extra_spacing struct
2317 in the OrtConn member, in order to avoid artifacts when draggin
2318 the transition. (patch by Peter Allin, bug #144956)
2320 2004-01-15 Hans Breuer <hans@breuer.org>
2322 * plug-ins/cairo/diacairo.c : initialized the renderers default dash_length
2323 to something differnt than 0. Apparently there are case where Dia misses
2324 to appropriately set it before requesting a dashed line (simple line with
2325 arrow as described in bug #151716)
2327 * lib/dia_dirs.c : special casing for drive letters which I broke with
2330 2005-01-13 Hans Breuer <hans@breuer.org>
2332 * app/interface.c(create_sheet_page) : remved dead long time code
2334 * lib/propdialogs.c : removed pdtpp_is_visible_no_standard() prototype,
2335 it is availbale via header - which is the better style anyway
2337 2004-12-31 Hans Breuer <hans@breuer.org>
2339 * lib/dia_dirs.c(dia_get_canonical_path) : complete
2340 rewrite to handle something like /mnt/some/where/../else
2341 too. Workaround for bug #162637.
2342 * app/filedlg.c : call gtk_file_chooser_set_current_name()
2343 to workaround gtk_file_chooser_set_filename() not setting
2344 it if the file does not exist
2346 * sheets/Jackson.sheet.in app/menus.c : fixed typos
2347 (Frank Arnold, bug #161676)
2349 2004-12-31 Steffen Macke <sdteffen@gmail.com>
2351 * doc/pl/*.xml: Added XML prolog
2352 * makefile.msc: Added libxslt, fixed libxml, libart
2354 2004-10-29 Alexander Shopov <ash@contact.bg>
2356 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
2358 2004-12-29 Lars Clausen <lars@raeder.dk>
2360 * configure.in: Make gnomeprint be truly off by default (typo) and
2361 show optional compilation correctly.
2362 * plug-ins/gprint/Makefile.am: Exclude gnomeprint if not optioned in.
2364 2004-12-22 Hans Breuer <hans@breuer.org>
2366 * lib/widgets.c : destroy handlers can be called more than once,
2367 see http://developer.gnome.org/doc/API/2.0/gtk/gtk-changes-2-0.html
2369 * app/app_procs.c : #ifdef GLIB(2.6.0) but GTK(2.4.x)
2371 * app/display.c : temporary debug code showing the
2372 timing the rendering
2374 * app/dialibartrenderer.c(draw_string) : removed dead
2375 code loading and leaking font and face
2377 2004-12-15 Hans Breuer <hans@breuer.org>
2379 * app/display.c : actually use the selction-changed signal for something
2380 useful. Show selections representation on statusbar.
2381 * lib/object.h lib/prop_text.c lib/libdia.def : provide objet_get_displayname()
2382 * app/diagram_tree.c : use new function (as in app/display.c) and only
2383 poke into property internals at one place
2384 * app/diagram.c : use g_signal_handlers_block_by_func to avoid has-no-handler-
2387 2004-12-12 Hans Breuer <hans@breuer.org>
2389 * lib/libdia.def app/dia.def : updated externals
2391 * objects/custom/custom_object.c : custom_destroy is called per object.
2392 It _must not_ destroy class stuff (ShapeInfo) cause it does not hold a
2393 reference to it. Fixes e.g. bug #158288, #160550, ...
2395 * objects/UML/association.c(association_draw) : completed porting to
2396 draw_polyline_with_arrows()
2397 (association_update_data_end) : fixed typo in point compare
2398 (association_update_data) : for name placement take degenerated
2399 segements into account. Together this fixes bug #143891
2401 2004-12-11 Hans Breuer <hans@breuer.org>
2403 * lib/widgets.c(set_size_sensitivity) : revert inverted
2404 logic for arrorw size selections, fixes bug #160527
2406 2004-12-11 Hans Breuer <hans@breuer.org>
2408 * lib/widgets.c(dia_font_selector_set_font) : initialize
2409 the font style widget, too. Gets rid of empty font
2410 style and thus default broken font style, e.g. UML::class_name
2412 * lib/widgets.c(dia_color_selector_more_callback) : fill
2413 the color palette from dynamic menu entries and also
2414 preselect the current color to the last select entry
2416 * plug-ins/python/pydia-diagramdata.c : hold a reference
2417 to the underlying GObject
2419 * app/Makefile.am app/diagrid.h : new file containing the
2420 grid 'class' moved from DiagramData to Diagram.
2421 Also moved pagebreak_color and guides cause they are only
2422 used for visual appearance not 'data'.
2423 * lib/diagramdata.[ch] app/diagram.h app/dia-props.c app/grid.c
2424 app/load_save.c plug-ins/python/pydia-diagramdata.c : reflect
2427 * lib/diagramdata.[ch] app/app_procs.c app/diagram.c
2428 lib/libdia.def : get rid of new_diagram_data()
2429 Diagram _is_ DiagramData (and does not have one any longer,
2430 just a compatibility pointer)
2432 * lib/diarenderer.h : a small doc improvement
2434 2004-12-11 Hans Breuer <hans@breuer.org>
2436 * objects/UML/class.c : line wrapping code buffer
2437 overrun fixed by Gabor Simon, bug #160865
2439 2004-12-11 Hans Breuer <hans@breuer.org>
2441 * plug-ins/python/pydia-diagram.c : hold a reference
2442 to the diagram in PyDiaDiagram, avoids bug #159080
2443 [another way to avoid is to detroy the dialog by
2444 clsoing it. But now there is still a diagram to
2445 apply the changes to, even if it's thrwon away just
2448 2004-12-10 Hans Breuer <hans@breuer.org>
2450 * **/*.c : fixed a bunch of warnings, not only for -ansi
2451 (still too many of them, but -ansi works)
2453 prop_geomtypes.h prop_geomtypes.c:306: warning: static
2454 declaration for `fontsizeprop_reset_widget' follows non-static
2455 dia_dirs.c:196: warning: return discards qualifiers from
2459 shape_info.c:121: warning: static declaration for `parse_path'
2463 arrow.c:228: warning: `draw_arrowhead' declared `static' but never defined
2464 arrow.c:244: warning: unused variable `i'
2465 arrow.c:245: warning: unused variable `p'
2466 arrow.c:246: warning: unused variable `zzr'
2468 object/Istar/*.c object/Jackson/*.c object/KAOS/*.c :
2469 finally removed c++ comments
2471 objects/Istar/goal.c : initialize connections::directions
2472 while I was there - helps autorouting
2474 * objects/KAOS/metaandorrel.c objects/Istar/link.c
2475 objects/KAOS/metabinrel.c : removed struct _DiaImage hack
2476 (it would be quite simple to add image-from-memory support
2479 * pydia-*.h : warning: no newline at end of file
2481 * plug-ins/gprint/diagnomeprint.c : allow to unregister
2482 and follow new unique name naming convention
2483 * plug-ins/gprint/diagnomeprintrenderer.c : no c++ comments
2486 2004-12-07 Hans Breuer <hans@breuer.org>
2488 * objects/UML/message.c : better default for initial text placement
2489 a suggested in bug #154306, Henning Mersch
2490 * objects/UML/constraint.c : doing the same
2492 * app/filedlg.c : include persistence.h for persistence_get_integer
2493 * lib/libdia.def export it
2495 2004-12-05 Hans Breuer <hans@breuer.org>
2497 * app/grid.c : respect dynamic grid during snap-to, fixes
2498 bug #135124, Dmitriy Morozov. Added some additional magic
2499 to make the grid size more useable.
2501 2004-12-05 Hans Breuer <hans@breuer.org>
2503 * app/app_procs.c : make it compile for the HAVE_POPT and
2504 G_LIB_CHECK_VERSION(2,5,5) case, minor formating
2506 * lib/plug-ins.c : don't pass non exiting files to xmlDiaParseFile()
2507 * app/app_procs.c : only dia_pluginrc_write() and create_user_dirs()
2508 when interactive. Fixes bug #119329
2510 * plug-ins/cairo/diacairo.c : adapt to new type naming
2511 scheme (introduced by accident;-) for pixbuf-*
2512 * app/app_procs.c : reflect both type name changes
2514 2004-12-04 Hans Breuer <hans@breuer.org>
2516 * objects/standard/image.c : fix the correct warning
2517 `image_file_name' might be used uninitialized
2519 * app/filedlg.c : near complete rewrite
2520 - removed 'related dialog', GtkOptionMenu, most global vars,
2521 also don't hide the dialog but let it go.
2522 - added: filter view by extension, hopefully working diagram
2523 referencing, GtkComboBox usage
2525 * plug-in/pixbuf/pixbuf.c : switched to dynamic generation
2526 of im/export filter entries. So the user interface reflects
2527 the dynamic nature of pixbuf loaders
2529 * lib/filter.[ch] : implement filter_unregister_*port
2530 lib/libdia.def : added new functions
2531 plug-ins/cgm/cgm.c plug-ins/dxf/dxf.c
2532 plug-ins/hpgl/hpgl.c plug-ins/metapost/metapost.c
2533 plug-ins/pstricks/pstricks.c plug-ins/svg/svg.c
2534 plug-ins/wpg/wpg.c plug-ins/xfig/xfig.c
2535 plug-ins/cairo/cairo.c plug-ins/pixbuf/pixbuf.c :
2536 use them in _plugin_unload () thus all these plug-ins
2537 can be loaded used and unloaded during Dia's runtime
2539 2004-12-04 Lars Clausen <lars@raeder.dk>
2541 * lib/diagramdata.h: Access methods for units defined per diagram.
2543 * lib/font.c (dia_font_new_from_style): More proper object creation.
2545 * lib/properties.h: Refactored the PROP_STD_* macros to allow
2548 * app/diagram.c (diagram_init): Force filename to be absolute
2549 path, easing the job for load/save.
2551 2004-12-03 Hans Breuer <hans@breuer.org>
2553 * lib/libdia.def : removed dia_marshal_*, they are implemented as macros.
2554 added dia_font_set_height, dia_font_copy (note to self: don't try to
2555 maintain these from the *NIX side ;)
2557 * lib/widgets.h : removed DiaColorSelector::col, it is not maintained by
2558 the new color selection anymore
2559 * objects/UML/class_dialog.c : with the above change it would have been more
2560 easy to fix the color loss bug #156996 which had nothing to do with 'a pointer
2561 problem' but only was an unfinished usage of dia_color_slector(get|set)_color
2563 * objects/UML/class_dialog.c objects/UML/class.[ch] : uml_apply_properties
2564 (used in object vtable) and make its prototype match
2566 * lib/widgets.c : made all the GtkTypeInfo 'static const'. I can't directly
2567 correlate any of these strange crashing bug with it, but assume bad things to
2568 happen when one passes stack allocated stuff to gtk_type_unique()
2570 * lib/widgets.c(dia_font_selector_get_font) : don't access menuitem if it is
2571 not there. Fixes most of the warnings from bug #156996
2573 * lib/makefile.msc : rules to generate diamarshal.[ch]
2575 2004-11-29 Hans Breuer <hans@breuer.org>
2577 * app/disp_callbacks.c : reenable so-called preedit
2578 as described in bug #158859, Etsushi Kato
2579 Also fixed some compiler warnings while there.
2581 * objects/standard/image.c(get_directory) : make
2582 the documentation match the implementation.
2583 (image_save) : don't write a leading slash on
2586 * plug-ins/gprint/diagnomeprintrenderer.c :
2587 switched to gnome-print-pango usage
2589 * app/app_procs.c configure.in : although Dia
2590 is not threaded it appears as if we have to
2591 g_thread_init() to avoid crashing in some
2592 libraries which are thread enabled
2594 * lib/diamarshal.list lib/Makefile.am : start of
2595 using GSignal to clean up some object relations
2596 * lib/libdia.def : export marshallers
2597 * app/diagram.[ch] : emit signals when REMOVED,
2599 * app/display.c : added a connection to
2600 SELECTION_CHANGED to test the new signal stuff
2602 * app/diagram.c : fixed diagram_finalize while I
2605 2004-11-28 Hans Breuer <hans@breuer.org>
2607 * plug-ins/wmf/wmf.cpp(draw_string) : write the widechar version of
2608 the text if conversion to current locale fails. [This is actually
2609 using code written four years ago;]
2610 * plug-ins/wmf/wmf_gdi.(h|cpp) : added TextOutW (no real implemantation)
2612 * objects/standard/image.c(image_load) : be more robust against
2613 filenames which seem to be absolute
2615 2004-11-27 Hans Breuer <hans@breuer.org>
2617 * app/filedlg.c(file_save_callback) : convert to
2618 filename encoding before passing to diagram_save()
2619 Fixes bug #158381, thanks to Robert Ögren
2621 2004-11-27 Hans Breuer <hans@breuer.org>
2623 * lib/dialibartrenderer.c : sometimes its good to read
2624 compiler warnings. Not only define renderer_finalize
2625 but actually *use* it. Should plug a potential huge
2628 * configure.in plug-ins/Makefile.am
2629 plug-ins/gprint/Makefile.am : build the experimental
2630 gnomeprint plug-in on *NIX, too.
2631 * plug-ins/gprint/diagnomeprint.c : don't include
2632 specific (private) backend headers but instead select
2633 the desired backend via config key setting
2635 * lib/diagdkrenderer.c : add 1 to size of filled arc
2636 to be rendered by gdk. Fixes bug #150896.
2638 * plug-ins/gprint/diagnomeprint.c
2639 plug-ins/gprint/diagnomeprintrenderer.c : added magic
2640 to better match page and dash sizes
2642 2004-11-27 Hans Breuer <hans@breuer.org>
2644 * plug-ins/shape/shape-export.c : it's g_strdup_printf
2646 2004-11-27 Hans Breuer <hans@breuer.org>
2648 * app/app_procs.c : mention eps-builtin aka. "using
2649 latin1", does not fix the eps-pango issues but #150571
2651 2004-11-27 Hans Breuer <hans@breuer.org>
2653 * sheets/Cybernetics.sheet.in : changed encoding to
2654 utf-8, patch from Takeshi AIHANA, fixes #149580
2656 2004-11-27 Hans Breuer <hans@breuer.org>
2658 * objects/custom/custom_object.c : many existing shapes
2659 rely on a square default size, revert to it although
2660 it originally was by a typo. Fixes bug #148527.
2662 2004-11-27 Hans Breuer <hans@breuer.org>
2664 * app/load_save.c(dia_cleanup_autosave)
2665 app/diagram.c : don't use dia->filename if already
2666 freed and dont use printf at all.
2668 * app/paginate_psprint.c : not only set the renderer::paper
2669 but also renderer::is_portrait. Should fix bug #142524
2671 2004-11-26 Hans Breuer <hans@breuer.org>
2673 * dia.desktop.in : added Bug Buddy headers (as seen
2674 in planner). Hopefully the automatically filling of
2675 bugs is more meaningful by this.
2677 * objects/custom/custom_util.c objects/standard/image.c
2678 lib/plug-ins.c : getting rid of deprecated g_dirname,
2679 fixes some more memory bugs : AddrAddress 0x3586C010 is 24
2680 bytes inside a block of size 44 free'd
2682 * lib/persistence.c(persistence_load_list) : don't
2685 * lib/diaerror.[ch] : (new file) start of better error handling
2686 * lib/Makefile.am lib/makefile.msc lib/libdia.def:
2687 added new files/funcs
2688 * lib/proplist.c lib/propinternals.h (prop_list_load) :
2689 allow to propagate error to caller. Also set PXP_NOTSET
2690 to avoid applying unset properties, fixes bug #155255
2691 * lib/propobject.c lib/prop_sdarray.c : still spewing
2692 g_warnings but now with context information
2694 * app/filedlg.c : more absolute filenames where required
2695 and strip them where we need the filename only
2696 Also explicit DONT choose gnome-vfs backend cause its
2697 threading appears to crash Dia - at least in GNOME build,
2700 2004-11-26 Hans Breuer <hans@breuer.org>
2702 * app/filedlg.c : don't use relative filenames for
2703 gtk_file_chooser_set_filename(), GtkFileChooserDialog is very
2705 (export_set_extension) : if we don't have a filename don't
2706 use it in strrchr() to avoid crashing
2708 2004-11-23 Hans Breuer <hans@breuer.org>
2710 * app/app_procs.c : fixed build for the GNOME case
2711 (let's rip out POPT and depend on glib-2.6, please ;-)
2713 2004-11-23 Hans Breuer <hans@breuer.org>
2715 * app/app_procs.c : fixed typo which broke the
2716 build for HAVE_POPT case
2718 2004-11-21 Hans Breuer <hans@breuer.org>
2720 * app/app_procs.c : some more #if-mess, but one day
2721 we should rely on GLib's 2.6 Option Parser alone
2723 * plug-ins/wmf/wmf.cpp : use SC() when scaling width
2724 and height for RoundRect() - otherwise size depends on offset,
2725 shorten the unique name
2727 * plug-ins/python/diamodule.c : provide a unique name
2728 for python filters as well
2730 * lib/dialibartrenderer.c : fix the drawing of Gdk based text
2731 by using the right colors (need black background cause we
2732 are tinitng it with the real color later)
2734 * lib/dia_dirs.c(dia_get_canonical_path) : use G_DIR_SEPARATOR_S
2735 instead of hardcoded slahes, improved portability
2737 * app/paginate_gdiprint.cpp : use the right filter name to find wmf
2738 plug-in. Also added some more error reporting (e.g. no printer driver)
2740 * plug-ins/gprint/diagnomeprintrenderer.[hc] plug-ins/gprint/diagnomeprint.c
2741 plug-ins/makefile.msc : resurrection of the gnome print renderer.
2742 Kinda works (alpha quality) for export but does not print yet.
2743 With bug #158972 resolved this does even work on win32 :-)
2745 2004-11-07 Hans Breuer <hans@breuer.org>
2747 * doc/diagram.dtd : <composite> can have <composite/>,
2748 <font/> has two 'optional' atributes 'style' and 'family',
2749 these are used to store new (since 0.91) font info.
2750 With this changes non of the issues in bug #147431 remains.
2752 * plug-ins/python/otypes.py : starting to implement an
2753 'create all known object' file as ne stress test source
2754 for the dtd and Dia in general.
2756 2004-11-06 Hans Breuer <hans@breuer.org>
2758 * app/diapsrenderer.c : don't convert to locale but to
2759 "LATIN1", fixes bug #146641
2761 2004-11-06 Hans Breuer <hans@breuer.org>
2763 * app/diagram_tree.c : still no C99 everwhere ...
2764 * lib/libdia.def : update externals
2765 * plug-ins/pstricks/render_pstricks.c : #include <locale.h>
2767 * app/app_procs.[hc] : declare, use ...
2768 app/winmain.c : ... and implement dia_redirect_console().
2769 Even though newer Gtk version don't popup a console window
2770 anymore redirecting the error messages to a file in $TEMP appears
2771 to be much more reasonable than just ignoring it. Fixes bug #150777
2772 based on a patch from Steffen Macke
2774 2004-11-06 Hans Breuer <hans@breuer.org>
2776 * plug-ins/wmf/wmf.cpp plug-ins/wmf/wmf_gdi.* : added/used
2777 RoundRect() for high level renderer api implementation thus
2778 fixing bug #138744 reported by Lars Clausen
2780 2004-11-06 Hans Breuer <hans@breuer.org>
2782 * app/prefernces.c : applied patch to make showing the diagram
2783 menubar the default (advanced users know how to switch it off)
2784 Fixes bug #150706, Steffen Macke
2786 2004-11-06 Hans Breuer <hans@breuer.org>
2788 * app/commands.c app/commands.h : added view_fullscreen_callback()
2790 app/menus.c : use it (/View/Fullscreen) thus fixing bug #94090
2791 * app/disp_callbacks.c : use view_unfullscreen() for GDK_Escape
2792 ALso modified to allow handling of unmodified keys again (aren't
2793 there plenty of bug reports for this?
2795 2004-11-06 Hans Breuer <hans@breuer.org>
2797 * objects/UML/class_dialog.c : fixed casts for usage
2798 of dia_color_selector_set_color()
2800 * app/filedlg.c : pass a valid filenames to
2801 gtk_file_chooser_set_filename(), if we don't have a name
2802 don't call it at all. Gets rid of "libgnomevfs-CRITICAL **:
2803 file gnome-vfs-utils.c: line 749 (gnome_vfs_get_uri_from_local_path):
2804 assertion `local_full_path[0] == '/'' failed"
2806 2004-11-06 Lars Clausen <lars@raeder.dk>
2808 * app/properties.c (create_dialog):
2809 * app/diagram_tree_window.h:
2810 * app/diagram_tree.h (HIDDEN_TYPES_NAME):
2811 * app/diagram_tree_menu_callbacks.c:
2812 * app/diagram_tree_window.c:
2813 * app/diagram_tree_menu.c:
2814 * app/diagram_tree.c: Changed to use persistence instead of
2815 strange hacks in preferences.
2817 * lib/persistence.h:
2818 * lib/persistence.c (persistent_list_get_glist): Don't deref null
2819 pointer. New function persistent_list_remove_all, and
2820 fixed persistent_list_remove to ... work!
2822 2004-11-05 Lars Clausen <lars@raeder.dk>
2824 * app/paginate_psprint.c (diagram_print_ps): Call
2825 diagram_print_destroy on destroy rather than delete_event. That
2826 way the gtk_widget_destroy() calls cleans up properly. Fixes bug
2829 2004-11-02 Lars Clausen <lars@raeder.dk>
2831 * objects/UML/class.c (umlclass_load): Actually load the saved
2832 fonts and font sizes. Fixes bug #157016
2834 * configure.in: Require at least GTK+ 2.4.
2836 * app/filedlg.c: Changed to use 2.4 file dialog! Finally,
2837 finally, finally. Not quite bulletproof yet, and I need to figure
2838 out a minimum version of Gtk that doesn't spew warnings all over.
2840 * app/diagram.[ch]: diagram_set_filename with const filename.
2842 * app/sheets_dialog_callbacks.c
2843 (on_sheets_dialog_button_apply_clicked): Sheet menu now almost
2844 correctly recreated. Still something fishy with the sheet menu in
2845 the dialog after adding a new sheet. Probably the sheet name
2848 2004-11-01 Lars Clausen <lars@raeder.dk>
2850 * lib/widgets.[ch] (dia_dynamic_menu_reset): Harden against memory
2851 stmping. Now requires g_free here and there.
2853 * app/preferences.[ch] (prefs_data): Got rid of hidden prefs value
2854 for remembering last sheet, better off as persistent string. Must
2855 hunt down other things like that.
2857 * app/interface.c (create_sheets): Now remembers last sheet
2858 selected again. Fixes bug #157036.
2860 2004-11-01 Hans Breuer <hans@breuer.org>
2862 * plug-ins(tex_escape_string) : fixed it [g_utf8_next_char
2863 will never become NULL but only point to the next char
2864 which might indeed be \0]
2865 Use tex_escape_string() to avoid writing invalid tex,
2868 * **/* : a bunch of changes caused by trying 'make distcheck'
2869 which still fails, see Bug #144527
2871 2004-10-31 Lars Clausen <lars@raeder.dk>
2873 * plug-ins/pstricks/render_pstricks.c (export_pstricks): Avoid
2874 floating point numbers being printed with commas. Fixes bug
2877 * app/interface.c (create_sheet_dropdown_menu): New function to
2878 create the sheet menu, and also allow recreation. Still buggy and
2879 slightly prone to magic.
2881 * objects/UML/class_dialog.c
2882 (attributes_list_selection_changed_callback): Don't try to update
2883 the widgets after they're destroyed. Fixes bug #156706 (I think).
2885 * lib/widgets.c (dia_unit_spinner_new): Avoid crash on NULL
2886 adjustement. Fixes bug #154637
2888 * sheets/ER/Makefile.am (PIX):
2889 * sheets/GRAFCET/Makefile.am (PIX):
2890 * sheets/Jackson/Makefile.am (PIX):
2891 * sheets/Istar/Makefile.am (PIX):
2892 * sheets/KAOS/Makefile.am (PIX): Actually install PNG instead of
2893 XPM. Why these have their pictures in sheets rather than shapes I
2894 don't know. Fixes bug #152142.
2896 2004-10-31 Hans Breuer <hans@breuer.org>
2898 * plug-ins/pixbuf/pixbuf.c : when running non interactive
2899 Dia won't call color_init() as it assumes no display. If
2900 we have one as tested ourselve we can as well color_init()
2901 to avoid g_warnings() and produce the right collors.
2904 * app/app-procs.c : try to be a little more helpful
2905 and correct with regard to the command line options.
2906 Renamed --export-to-format to --export-filter and some
2907 other string changes
2909 2004-10-31 Hans Breuer <hans@breuer.org>
2911 * plug-ins/wmf/wmf_gdi.cpp plug-ins/wmf/wmf_gdi.h :
2912 added GetDeviceCaps() dummy implementation to make
2913 'wmf' compile on Linux, too.
2915 2004-10-31 Hans Breuer <hans@breuer.org>
2917 * plug-ins/wmf/wmf.cpp : patch from Robert Ögren <gtk@roboros.com>
2918 to finally fix the long lasting clipping issue, bug #85831
2919 Also fixed the line style issue for printing on XP and don't
2922 * plug-ins/wmf/wmf_gdi.[hc] : added ReleaseDC()
2924 * plug-ins/python/diasvg.py : filter illegal characters from <text/> section
2925 (e.g. < instead of <), fixes bug #155697 (Duncan Palmer)
2927 * plug-ins/python/pydia-error.[hc] : improvede exception handling to transfer
2928 some info from the console (soon gone on windoze) to message_error()
2929 * plug-ins/python/pydia-render.c plug-ins/python/diamodule.c : use it.
2930 Also some setlocale() hack to let Python behave as expected for LC_NUMERIC
2932 plug-ins/python/diasvg_import.py : re.compile() only once per expression
2933 and some more playing with scaling
2935 * plug-ins/python/makefile.msc : updated
2937 2004-10-30 Hans Breuer <hans@breuer.org>
2939 * shapes/Civil/civil_arrow_right.shape : removed
2940 <aspectratio type="fixed" /> thus allowing to change
2941 width and height independently, fixes #154897
2942 (Serge Robinson) by making it consistent with the
2945 2004-10-30 Hans Breuer <hans@breuer.org>
2947 * plug-ins/xfig-xfig-export.c(hasArrow) : don't crash
2948 on arrow being NULL, fixes bug #143063
2950 2004-10-30 Hans Breuer <hans@breuer.org>
2952 * lib/diagramdata.c app/diagram.c app/disp_callbacks.c
2953 plug-ins/python/pydia-diagram.c plug-ins/python/pydia-diagramdata.c :
2954 removed use of chached variable DiagramData::selected_count
2955 * lib/diagramdata.h : renamed to selected_count_private
2956 (kept for binary compatibility and sanity checks)
2957 * lib/diagramdata.c : more checks on a screwed up selection list
2959 * app/diagram.c(diagram_group_selected) : don't screw up the
2960 DiagramData::selected list, was assignment of parent_list_affected(),
2961 * lib/diagramdata.c (data_select, data_unselect) : protect against
2962 multiple selections of the same object and removement of a not selected
2963 object (apparently caused by the recently added group undo stuff)
2964 together with the above this finally fixes bug #153525
2966 * app/Makefile.am : fix ./autogen.sh ->
2967 app/Makefile.am:171: blank line following trailing backslash
2969 * app/commands.c(objects_group_callback,objects_ungroup_callback) :
2970 ddisplay_do_update_menu_sensitivity() here as well
2972 * configure.in : make the experimental state of the cairo plug-in
2975 * app/dia-props.c(diagram_properties_update_sensitivity) : don't
2976 try to update anything if we can't find an active diagram
2977 Additionally set static dialog pointer to NULL by gtk_widget_destroyed
2979 * configure.in : another attempt to fix bug #156116. If there is
2980 anyone with autotools knowledge reading this - help appreciated ;-)
2982 2004-10-30 Hans Breuer <hans@breuer.org>
2984 * objects/makefile.msc objects/UML/Makefile.am
2985 objects/UML/uml.c objects/UML/transition.c
2986 objects/UML/pixmaps/transition.xpm sheets/uml.sheet.in :
2987 Patch from Peter Allin adds statechart transitions to the UML sheet -
2988 bug #144956 - modified to not print("%s", NULL) which crashes on
2989 newer glib versions. Also added pixmap/transition.xpm to Makefile.am
2991 2004-10-30 Hans Breuer <hans@breuer.org>
2993 * doc/sheet.dtd doc/diagram.dtd : the namespace does *not*
2994 match the website anymore, i.e. sould remain unchanged.
2995 See below and lib/dia_xml.h for the reasoning
2997 * lib/libdia.def : removed dia_color_selector_get_type
2999 * lib/dia_image.c(dia_image_load) : check for pixbuf warnings
3000 (like broken PNG) and g_warning if appropriate
3002 * app/interface.c : #include "message.h"
3004 * app/diaunitspinner.hc : replaced the superfluous #if-0-juggling,
3005 used #error "Moved to lib/widgets.[hc]" instead (IMO it would be
3006 better to just move diaunitspinner to lib/ instead of polluting
3007 widgets.[hc] even more ;)
3008 * app/makefile.msc lib/libdia.def : updated
3010 * app/filedlg.c : patch from gtk@roboros.com, fixes #156224
3011 * app/app_procs.c : patch from gtk@roboros.com, fixes #156088
3013 * config.h.win32 : #define HAVE_CAIRO to let the Cairo plug-in
3014 do something useful when compiled
3016 * plug-ins/cairo/diacairo.c : added 'PNG with alpha' rendering.
3017 Also some more #ifdefed backends usage.
3019 2004-10-10 Lars Clausen <lars@raeder.dk>
3021 * lib/widgets.c: Better labels for color selector menu.
3023 * app/dia-props.c (diagram_properties_respond):
3024 * app/preferences.c (prefs_get_value_from_widget): Don't assume
3025 that a dia color selector is of type DiaColorSelector:)
3027 * lib/widgets.[ch]: Color selector changed to dynamic menu.
3029 * lib/prop_attr.c (colorprop_set_from_widget): Don't assume
3032 2004-10-09 Lars Clausen <lars@raeder.dk>
3034 * lib/diaarrowchooser.c (dia_arrow_preview_init): Slightly wider
3035 arrow preview to avoid long arrow heads flipping.
3037 * lib/arrows.[ch]: Support for getting from name to arrow type,
3038 and for listing all arrow names.
3040 * lib/widgets.[ch]: Changed arrow selector to use dynamic menu.
3042 * lib/libdia.def: Added new global functions.
3044 * lib/persistence.[ch]: Two of the persistent_list functions to
3045 return whether the item was found in the list.
3047 * app/interface.c (create_sheets): Use DiaDynamicMenu to handle
3048 the growing number of sheets.
3050 * lib/widgets.[ch]: Add DiaDynamicMenu as a generalization of the
3053 2004-10-05 Lars Clausen <lars@raeder.dk>
3055 * objects/UML/association.c: Patch from Harvey Thompson
3056 <harveyandsu@yahoo.com>: Better placement of association texts.
3058 2004-10-03 Lars Clausen <lars@raeder.dk>
3060 * lib/widgets.c (dia_font_selector_add_menu_item): Make font menu
3061 use the fonts in question. Can't set tooltips with the name since
3062 lib objects don't know the tool_tips thing, which is rather
3065 2004-09-19 Hans Breuer <hans@breuer.org>
3067 * plug-ins/xslt/*.xsl : s/apply-templates match/apply-templates select/
3068 fixes bug #148278, carlosrp@idea.com.py (Carlos Ra�l Perasso)
3070 2004-09-19 Hans Breuer <hans@breuer.org>
3072 * dia.desktop.in : string changes as proposed in bug #151822
3074 * lib/Makefile.am : remove -module from libdia_la_LDFLAGS,
3075 appearts not to be needed on Linux and breaks the build
3076 on OSX. Fixes bug #152970
3078 2004-09-18 Lars Clausen <lars@raeder.dk>
3080 * app/commands.c (view_show_all_callback): Add a bit of border
3081 around Ctrl-E'd diagram, for easier select and better view of edges.
3083 2004-09-19 Hans Breuer <hans@breuer.org>
3085 * app/Makefile.am : trying to fix the fix from 2004-02-15
3086 Overwriting AM_LDFLAGS still gave a automake warning and it
3087 also appeard to break linking against gtklibs in a differnt
3088 prefix. Use dia_LDFLAGS instead.
3090 * plug-ins/svg/svg-import.c : initialize 'end' before usage
3091 patch from dcbw@redhat.com (Dan Williams), fixes bug #150548
3093 * lib/diarenderer.c : don't try to draw lines which are so much
3094 degenerated that their point count became negative, fixes bug #148139
3096 * lib/font.c(layout_cache_equals) : don't crash on nonexisting
3097 strings (NULL from g_strdup())
3099 2004-09-10 Steffen Macke <sdteffen@web.de>
3101 * lib/libdia.def: added color_new_rgb(), focus_previous(),focus_next(),
3102 give_focus(),give_focus_to_object(),remove_focus(),reset_foci()
3103 * app/create_object.c:
3104 * app/diaunitspinner.c:
3105 * app/disp_callbacks.c:
3107 * app/modify_tool.c:
3108 * lib/prop_geomtypes.c:
3109 * lib/prop_geomtypes.h: made compile with msvc
3111 2004-09-10 Lars Clausen <lars@raeder.dk>
3113 * lib/widgets.c: Insulate conversion from outside API by adding
3114 internal function to set value. Adjustment not appropriate for
3117 * lib/prop_geomtypes.c (lengthprop_get_widget): Remove debug info
3119 2004-09-07 Lars Clausen <lars@raeder.dk>
3121 * app/diapagelayout.c: Include from widgets.c rather than
3124 2004-09-03 Lars Clausen <lars@raeder.dk>
3126 * objects/standard/box.c: Use PROP_TYPE_LENGTH for corner_radius
3127 as unit-based property testbed.
3129 * lib/prop_geomtypes.c (lengthprop_reset_widget): Implement length
3130 and fontsize widgets.
3132 * app/Makefile.am (dia_core_files):
3133 * app/diaunitspinner.h:
3134 * app/diaunitspinner.c:
3136 * lib/widgets.c (dia_unit_spinner_update): Move diaunitspinner to
3137 lib/widgets.[ch], as it's used in the properties code now.
3139 2004-08-31 Steffen Macke <sdteffen@web.de>
3141 * doc/en/usage-objects-basic.xml: Mentioning supported image formats.
3143 2004-08-30 Lars Clausen <lars@raeder.dk>
3146 * app/diagram.c (diagram_remove_all_selected): Remove debugging
3151 * app/disp_callbacks.c:
3153 * app/create_object.c:
3154 * app/textedit.[ch]:
3155 * app/modify_tool.c:
3158 * lib/focus.[ch]: Change in focus mechanism to allow highlight of
3159 current input object, multiple inputs per object, and tabbing
3162 2004-08-28 Steffen Macke <sdteffen@web.de>
3164 * makefile.msc: added bs to ALL_LINGUAS; adjusted .mo file creation to
3165 allow separate installer component "Translations"
3167 2004-08-27 Akagic Amila <bono@linux.org.ba>
3169 * configure.in: Added 'bs' to ALL_LINGUAS.
3171 2004-08-26 Steffen Macke <sdteffen@web.de>
3173 * app/makefile.msc: using /subsystem:windows again
3174 * makefile.msc: updated ALL_LINGUAS
3176 2004-08-21 Kjartan Maraas <kmaraas@gnome.org>
3178 * configure.in: Add «nb» to ALL_LINGUAS.
3180 2004-08-21 Steffen Macke <sdteffen@web.de>
3182 * plug-ins/dxf/dxf-export.c: Patch from
3183 Takeshi Hamasaki <hma@syd.odn.ne.jp>, fixes text alignment
3185 2004-08-17 Lars Clausen <lars@raeder.dk>
3188 * dia.spec (Release):
3194 2004-08-13 Ankit Patel <ankit@redhat.com>
3196 * configure.in: Added "gu" in ALL_LINGUAS.
3198 2004-08-07 Lars Clausen <lars@raeder.dk>
3204 * dia.spec (Release):
3205 * NEWS: New release 0.94-pre6
3207 2004-08-07 Lars Clausen <lars@raeder.dk>
3209 * app/highlight.c (highlight_reset_objects): Unhighlight inside
3213 * plug-ins/shape/shape-export.c: String capitalization fix from
3214 Alan Horkan <horkana@tcd.ie>
3216 * objects/UML/class.c (umlclass_show_comments_callback): Make UML
3217 Class object menu kinda work, rather than blow up. Doesn't do a
3218 proper undoable change yet.
3220 2004-08-06 Lars Clausen <lars@raeder.dk>
3222 * app/filedlg.c (file_save_as_callback): Don't remove related
3223 dialogs from the NULL diagram.
3225 2004-08-02 Lars Clausen <lars@raeder.dk>
3230 * dia.spec (Release):
3231 * NEWS: Pre5 with leak fix.
3233 * lib/font.c (dia_font_build_layout): Don't try to save an
3234 allocation of LayoutCacheItem if it breaks layout cache hash.
3235 Also make hash function correct, remove explicit height entry
3236 (it's in pfd), and make sure things are correctly unreffed.
3237 Finally fixes #148141.
3239 * lib/text.c (text_set_attributes, text_set_font): Safely unref
3240 when changing font, and actually set the new font in
3242 (text_get_attributes): Ref copied font.
3244 2004-08-01 Lars Clausen <lars@raeder.dk>
3248 * dia.spec (Release):
3251 * doc/en/dia.xml: Prerelease 4.
3253 * lib/font.c (dia_font_build_layout): Better comparision and
3254 freeing of font cache.
3256 2004-07-31 Lars Clausen <lars@raeder.dk>
3258 * lib/font.c (dia_font_build_layout): Faster update to avoid
3261 * app/app_procs.c: Fix from Tom Parker <palfrey@bits.bris.ac.uk>:
3262 Correctly initialize export filter variable.
3264 2004-07-25 Lars Clausen <lars@raeder.dk>
3266 * dia.spec (Release):
3271 * doc/pl/dia.xml: Pre3 coming out.
3273 * lib/diarenderer.c (draw_polygon):
3274 * plug-ins/dxf/dxf-export.c (export_dxf): Two fixes by Takeshi
3275 Hamasaki <hma@syd.odn.ne.jp>: Correct header to be a 0 (zero)
3276 rather than O (letter), and assert num_points > 1 rather than the
3279 * app/recent_files.c:
3282 * app/app_procs.c: Patch from Vitaly Lipatov <lav@altlinux.ru>:
3283 Make filenames conform to filesystem encoding.
3285 * RDP/.cvsignore: Added standard ignore.
3287 * shapes/network/Makefile.am (SHAPES): Use PNG instead of XPM for
3288 last entry patch-panel, too.
3291 * shapes/Circuit/*.png:
3292 * shapes/Civil/*.png:
3293 * shapes/Contact/*.png:
3294 * shapes/Electric/*.png:
3296 * shapes/Pneumatic/*.png:
3298 * shapes/flowchart/*.png:
3299 * shapes/jigsaw/*.png:
3300 * shapes/network/*.png:
3301 * shapes/sybase/*.png:
3303 * dia_gnome_icon_large.png:
3304 * doc/pl/graphics/*.png: Set -kb for PNGs.
3306 * sheets/{ER,GRAFCET,Istar,Jackson,KAOS}: Added .png files.
3308 2004-07-22 Lars Clausen <lars@raeder.dk>
3314 * dia.spec (Release):
3315 * configure.in: Update to version 0.94-pre2.
3317 * app/load_save.c (diagram_data_write_doc): Use new namespace
3320 * lib/object.h (OBJECT_COMMON_PROPERTIES): Remove 'Dia' from
3321 hidden objects properties.
3323 * objects/standard/line.c: Remove halffinished line gap box from
3326 * app/paginate_psprint.c:
3327 * app/filedlg.c: Patch from kimmidi@novell.com (Kiran Kumar
3328 Immidi): Close export and print dialog with diagram as well.
3331 * lib/diaarrowchooser.[ch]: Patch from pborelli@katamail.com (paolo
3332 borelli): Remove deprecated stuff (#137693)
3334 * app/dia-props.c (create_diagram_properties_dialog): Patch from
3335 kimmidi@novell.com (Kiran Kumar Immidi): Close properties dialog
3338 2004-07-21 Ray Strode <rstrode@redhat.com>
3340 * dia/dia.desktop.in: Add MimeType line to desktop file
3343 2004-07-18 Hans Breuer <hans@breuer.org>
3345 * shapes/(Circuit|Contatct|MSE|network|Pneumatic|SDL|sybase)/Makefile.am
3346 sheets/UML/*.png : icons in png format
3347 Partial fixup of stuff broken with the following comment:
3348 "7 days : xpm->png, namespace fix, first rotation bits."
3350 * app/load_save.c(read_objects) : don't add objects to the layer.
3351 This function is called recursively and only the topmost objects
3352 belong in the layers object list. Fixes bug #145417 and is the
3353 the real fix for bug #142480
3355 * app/app_procs.c : make the --size hack even uglier, but work again
3357 * lib/dia_dirs.c(dia_get_absolute_filename) : must not free()
3358 but g_free() what is returned by g_build_filename()
3360 * objects/custom/custom_object.c(custom_destroy) : handle all enum
3361 values in switch to get rid of the warning
3363 * objects/custom/shape_info.c : use g_ascii_strtod(), get rid
3364 of setlocale()/strtod()
3365 * lib/dia_svg.c : dito
3366 * lib/dia_xml.c : almost
3368 * plug-ins/python/group_props.py : use the string representation of
3369 value to ensure "unique values". If the strings would not be different
3370 the user cann't see the difference either
3372 2004-07-17 Lars Clausen <lars@raeder.dk>
3374 * lib/persistence.h: Have "void" in prototypes (#142663)
3376 * lib/widgets.c (dia_font_selector_init): Better string handling
3379 * lib/persistence.c (persistence_save_type): Small fixes (#142663)
3381 * objects/standard/image.c (image_load): Use path of diagram
3382 rather than running directory as base for image file place.
3384 * doc/{diagram,sheet}.dtd: Move DTD namespace to new site, and
3387 * app/disp_callbacks.c (ddisplay_canvas_events): Patch from
3388 Ambrose Li <a.c.li@ieee.org>: Better IM context handling.
3390 * Re-added new sample diagrams binarily.
3392 2004-07-17 Sagar Rastogi <rastogi@students.iiit.net>
3394 * app/disp_callbacks.c: Fixed #144962 (also in KNOWN_BUGS),
3395 Disabled keyboard accels when dragging an object.
3397 2004-07-14 Lars Clausen <lars@raeder.dk>
3399 * app/grid.c (snap_to_grid): Use diagrams grid setting to
3400 determine hex grid snap.
3402 * doc/pl/Makefile.am: Avoid error based on backslash in comment.
3404 * app/interface.h: Avoid multiply defined symbols (#147396)
3406 2004-07-10 Lars Clausen <lars@raeder.dk>
3408 * app/sheets_dialog_callbacks.c (write_user_sheet):
3409 * lib/sheet.c (load_register_sheet): Don't introduce double
3410 slashes in namespace.
3412 * lib/dia_xml.h (DIA_XML_NAME_SPACE_BASE): Keep consistent with
3413 old diagrams, or XSLT will barf all over.
3415 * shapes/RDP/place.shape:
3416 * shapes/RDP/transition.shape:
3417 * shapes/RDP/Makefile.am: Added .png entries to SHAPES and changed
3418 shapes to use those.
3420 2004-07-07 Lars Clausen <lars@raeder.dk>
3423 * doc/{en,pl}/dia.xml:
3426 * NEWS: First prerelease of version 0.94. Now with release
3427 versions in a branch and main devel in the trunk.
3429 2004-07-05 Hans Breuer <hans@breuer.org>
3431 * */*.[hc] */*/*.c : a bunch of changes to make Dia compile with
3432 -std=c89. Mostly //-comments and M_PI -> G_PI
3433 [Istar, Jackson, KAOS were removed from build cause they
3434 simply have *too* much C++ comments ;]
3435 * object/UML/association.c : use g_strdup() not plain strdup()
3436 * app/paginate_psprint.c : avoid storage size of `pipe_action'
3437 isn't known with more portable signal code
3439 * app/app_procs.c : don't call gtk_init() if just --version
3440 is requested (bug #144321, Vladimir Kondratiev)
3442 * lib/prop_attr.c(fontprop_set_from_offset) : only unref
3443 DiaFont* if not NULL
3444 * objects/UML/class.c : moved fill_in_fontdata() to
3445 umlclass_load() to avoid such trouble, though unsure if
3446 this really is an improvement...
3448 * shapes/network/makefile.am : patch-panel added here too
3450 2004-07-04 Hans Breuer <hans@breuer.org>
3452 * sheets/network.sheet.in shapes/network/patch-panel.xpm
3453 shapes/network/patch-panel.xpm : added 24-Port-Patch-Panel
3454 fixes bug #136629, James McDonald
3456 2004-07-04 Hans Breuer <hans@breuer.org>
3458 * lib/persistence.c app/load_save.c app/sheet_dialog_callbacks.c
3459 lib/object_defaults.c : revert changing of Dia's XML namespace
3460 * lib/dia_xml.h : #define DIA_XML_NAME_SPACE_BASE with a comment
3461 about its purpose and relation to real world urls.
3463 * lib/plug-ins.h : increment DIA_PLUGIN_API_VERSION and
3464 added comment about when to do so
3465 [Should have been long time ago and probably multiple times
3466 to avoid crashing on older plug-ins]
3467 * RELEASE-PROCESS : mention DIA_PLUGIN_API_VERSION
3468 * plug-ins/xslt/xslt.c : use DIA_PLUGIN_CHECK_INIT
3470 * lib/object.c objects/UML/class.c : there are still compilers not
3471 supporting C99 and other GCCISMs like allocating dynamic sized arrays
3473 * objects/UML/class.h : there is a differnce between a list pointer
3474 and a list pointer pointer. We and GLib want the former.
3476 * plug-ins/pixbuf/pixbuf.c : don't use app_is_interactive () to detect
3477 if Gtk is initialized. Using gdk_display_get_default () avoids the
3478 app/* dependency and is also closer to the requirements of the
3481 * plug-ins/cairo/diacairo.c : initialize "unique name" field. Also
3482 some #ifdefed support for Cairo backends not public available yet.
3484 * plug-ins/wmf/wmf.cpp : finally do extended linestyles if the
3485 windoze platform supports them. This should fix bug #109818, at
3486 least for the majority running NT or above ...
3487 * plug-ins/wmf/wmf_gdi.[hc] : portability stuff for the above
3489 * objects/makefile.msc : build Istar, Jackson and Kaos
3491 * objects/UML/class.c(umlclass_load) : don't wrap by default to
3492 keep old diagrams as they were - instead of this nice new effect ;-)
3493 Also make "wrap_operations" PROP_TYPE_BOOL in PropDescriptions
3495 * objects/UML/class.c : mark for translation _("Wrap ...
3497 * objects/UML/class.c : more correct types, also some default properties
3498 dialog pages adjustment (triggering a bug in lib/prop_widgets.c ?;)
3500 * objects/UML/activity.c : removed a leftover from the
3501 use-localization-for-font-substitution-hack
3503 * shapes/ChemEng shapes/Cybernetic shapes/Map/Isometric :
3504 'cvs admin -kb *.png' PNG files should already be *added* as binary,
3505 otherwise they are not readable on line-end-converting-platforms
3507 * plug-ins/python/use g_new0(Dia<Im|Ex>portFiler), avoids crashing
3508 filter_get_by_name()
3510 * plug-ins/python/pydia-property.c : some more g_warnings for
3511 not implemented conversions
3513 * plug-ins/python/group_props.py : ensure unique property values
3514 at the right place. Now something like :
3515 - load an old UML class diagram
3516 - change one of the classes to wrap operations
3517 - select all classes (/Select/Same Type)
3518 - /Dialogs/Group Properties : check wrap_operations, select '1'
3519 - Ok, works like a charm :-)
3521 2004-07-04 Lars Clausen <lars@raeder.dk>
3523 * lib/diagdkrenderer.c (draw_string): Don't unref NULL
3526 2004-07-03 Lars Clausen <lars@raeder.dk>
3528 * app/app_procs.c (do_convert): Two patches from Vitaly Lipatov
3529 <LAV@VL3143.spb.edu>: Fixes console output problems and some
3530 interactiveness problems.
3532 2004-07-02 Lars Clausen <lars@reader.dk>
3534 * plug-ins/pixbuf/pixbuf.c (dia_plugin_init): Don't load if the
3535 app isn't interactive.
3537 2004-07-01 Lars Clausen <lars@raeder.dk>
3539 * plug-ins/cairo/diacairo.c: Add init of last field of filter
3540 struct to remove crash.
3542 * sheets/Makefile.am (sheet_in_files):
3543 * shapes/Makefile.am:
3544 * sheets/ChemEng.sheet.in:
3545 * shapes/ChemEng/Makefile.am:
3547 New sheet from "Federico Zenith" <zenith@chemeng.ntnu.no>:
3548 Chemical engineering shapes.
3550 * app/Makefile.am (run_dia.sh$(EXEEXT)): Changed $* to $@ to allow
3551 multiple arguments when using devel script.
3553 * app/display.c (new_display):
3555 * lib/diagramdata.c (new_diagram_data):
3556 * lib/diagramdata.h:
3557 * app/preferences.h:
3558 * app/preferences.c:
3561 * lib/diagramdata.c (new_diagram_data): Patch from Peter Poulsen
3562 <peter_poulsen@stofanet.dk>: Add hexagonal grid!
3565 * doc/pl/authors.xml:
3566 * doc/en/authors.xml:
3567 * lib/object_defaults.c (dia_object_defaults_save):
3568 * readme.win32 (BTW):
3569 * lib/persistence.c (persistence_save):
3570 * app/load_save.c (diagram_data_write_doc):
3571 * app/commands.c (help_about_callback):
3572 * README: Fix links to home page.
3575 * app/load_save.c (diagram_data_load):
3576 * lib/prop_text.c (stringprop_load): Avoid NULL strings when
3577 loading, and guard against them when fonting.
3579 * lib/diarenderer.c (draw_rounded_polyline): Patch from
3580 anthonym@overture.com: Make limited rounding a corner-specific
3581 rendering-only thing.
3583 2004-06-30 Lars Clausen <lars@raeder.dk>
3585 * lib/font.c (dia_font_build_layout): Return to 0.93.1 font size
3586 adjustment: If you can't fix it, at least don't change it.
3588 * objects/SADT/arrow.c (sadtarrow_draw): Use new rounded arrow
3589 code instead of individual code in here.
3591 2004-06-29 Lars Clausen <lars@raeder.dk>
3593 * objects/UML/association.c: Patch from Kiran
3594 Kumar Immidi <kimmidi@novell.com>: Fix bounding box for line end
3599 * lib/diarenderer.c (draw_rounded_polyline):
3600 * objects/standard/polyline.c (polyline_draw):
3601 * objects/standard/zigzagline.c (zigzagline_draw):
3602 Patch from anthonym@overture.com: Add rounded polylines.
3604 2004-06-27 Lars Clausen <lars@raeder.dk>
3606 * lib/font.c (dia_font_new_from_style): Initialize legacy name.
3608 * lib/widgets.c (dia_font_selector_get_family_from_name): Don't
3609 free family list before taking out the pointer we need. Also set
3610 the entry_nr correctly so we get the menu set up right.
3612 2004-06-23 Lars Clausen <lars@raeder.dk>
3614 * lib/widgets.c (dia_toggle_button_new_with_images): Sink the
3615 images at the right place.
3617 * objects/Istar/actor.c
3618 * objects/Istar/goal.c
3619 * objects/Istar/istar.c
3620 * objects/Istar/istar.h
3621 * objects/Istar/link.c
3622 * objects/Istar/other.c
3623 * objects/Jackson/domain.c
3624 * objects/Jackson/jackson.c
3625 * objects/Jackson/jackson.h
3626 * objects/Jackson/phenomenon.c
3627 * objects/Jackson/requirement.c
3628 * objects/KAOS/goal.c
3629 * objects/KAOS/kaos.c
3630 * objects/KAOS/kaos.h
3631 * objects/KAOS/metaandorrel.c
3632 * objects/KAOS/metabinrel.c
3633 * objects/KAOS/other.c: Patch from Patch from Christophe Ponsard
3634 <cp@cetic.be>: Fix instability issues caused by not returning NULL
3635 in *_move_handle and *_move. Also improved the headers with
3636 correct (c) information.
3638 2004-06-22 Lars Clausen <lars@raeder.dk>
3640 * objects/KAOS/goal.c:
3641 * objects/KAOS/other.c:
3642 * objects/Istar/actor.c:
3643 * objects/Istar/goal.c:
3644 * objects/Istar/other.c:
3645 * objects/Jackson/domain.c:
3646 * objects/Jackson/phenomenon.c: Patch from Christophe Ponsard
3647 <cp@cetic.be>: Fix resize issues.
3649 * app/filedlg.c (file_dialog_hide): Patch from Kiran
3650 Kumar Immidi <kimmidi@novell.com>: Check for null when removing
3651 related dialog. #129520.
3653 * app/dia-props.c (diagram_properties_show): Patch from Kiran
3654 Kumar Immidi <kimmidi@novell.com>: Make sure properties dialog is
3655 a child of its diagram. #129520.
3657 * objects/UML/association.c (association_load): Patch from Kiran
3658 Kumar Immidi <kimmidi@novell.com>: Update positions properly for
3659 text placement. #118313.
3661 2004-06-17 Lars Clausen <lars@raeder.dk>
3663 * objects/KAOS/Makefile.am: Add pixmaps/goal.xpm to EXTRA_DIST
3665 * Makefile.am: Make THANKS only be generated by maintainers.
3667 * doc/pl/Makefile.am: Removed usage+objects+basic.xml from
3670 * configure.in: Added three missing Makefiles.
3674 Patch from shuveb@yahoo.com (Shuveb Hussain): Remove
3675 diagram-related (save) dialog when closing diagram. To be
3676 extended to other dialogs.
3678 * doc/pl/dia.xml: Removed reference to objects-basic. (#144527)
3680 * samples/Istar.dia:
3681 * samples/Jackson.dia:
3683 * sheets/Istar.sheet.in:
3684 * sheets/Jackson.sheet.in:
3685 * sheets/KAOS.sheet.in:
3690 * objects/Jackson/*:
3693 * objects/Makefile.am (SUBDIRS):
3694 * sheets/Makefile.am (SUBDIRS):
3695 * samples/Makefile.am: Additions from Christophe Ponsard
3696 <cp@cetic.be>: Jackson, I* and KAOS diagram support. Needs a bit
3699 2004-06-12 Lars Clausen <lars@raeder.dk>
3702 * lib/prop_geomtypes.[ch]: Preparation for selectable units.
3704 * lib/font.h: Toning down comments a bit:)
3706 * lib/font.c (dia_font_build_layout): Playing around with DPI
3708 * objects/UML/association.c (association_load): Avoid crashes on
3711 * objects/UML/association.c: Patch from kimmidi@novell.com:
3712 Improve placement of labels when vertical. Part fix of #118313
3714 * lib/object.c (dia_object_is_selected): Grouped objects are not
3715 selected, only the group itself. Thus, don't crash when grouping
3718 * objects/UML/association.c: Patch from kimmidi@novell.com: Agree
3719 on how to represent empty strings. Fixes #143639.
3721 * lib/object.c (dia_object_is_selected): Added comment answer.
3723 2004-06-12 Hans Breuer <hans@breuer.org>
3725 * lib/diagramdata.c lib/object.c : deal with grouped objects
3726 not knowing their parent_layer, i.e. avoid crashing in
3727 dia_object_is_selected() via group_draw() [ Triggered by
3728 playing with the Visio generated svg from bug #143455 ]
3730 * plug-ins/python/diasvg_import.py : started to implement
3731 transformation="translate(...)" and <style/> handling. Also
3732 use some other completely bogus values for em/ex scaling
3734 2004-06-08 Lars Clausen <lars@raeder.dk>
3736 * plug-ins/cairo/.cvsignore: CVS-ignore generated makefiles.
3738 2004-06-07 Lars Clausen <lars@raeder.dk>
3740 * app/layer_dialog.c (layer_dialog_set_diagram):
3741 * app/display.c: Layer widget crash more properly dealt with in
3744 * app/display.c (ddisplay_flush): Fixed crash when closing: Layer
3745 widget deselect was called during destroy, but called
3746 ddisplay_flush, leading to a new display timeout after renderer
3749 * lib/widgets.c (dia_toggle_button_destroy):
3750 * app/recent_files.c (recent_file_menuitem_create):
3751 * lib/persistence.c (persistence_save_list):
3752 * app/commands.c (edit_delete_callback):
3753 * lib/object_defaults.c (dia_object_defaults_save):
3754 * lib/parent.c (parent_list_affected_hierarchy): Killed leaks
3757 * lib/widgets.c (dia_toggle_button_new_with_images): Remove
3760 * lib/diagramdata.c (new_layer): Initialize connectibility.
3762 * app/display.c (ddisplay_obj_render):
3763 * app/diagram.c (diagram_find_closest_connectionpoint): Take
3764 connectibility into account.
3766 * app/layer_dialog.h (struct _DiaLayerWidget):
3767 * app/layer_dialog.c:
3768 Connectible toggle updates, now works fairly well.
3770 * app/select.c (select_transitive_callback): Make sure we're only
3771 selecting in the same layer.
3773 2004-06-04 Lars Clausen <lars@raeder.dk>
3775 * app/pixmaps/Makefile.am: Also install connectable images.
3777 * app/layer_dialog.c (dia_layer_update_from_layer): Initially set
3778 layer toggles from layer itself. Also update diagram correctly
3779 for visibility. Still need updates for connectivity behaviour.
3781 2004-06-03 Hans Breuer <hans@breuer.org>
3783 * plug-ins/wpg/wpg.c(draw_image) : take rowstride into account
3785 * lib/diagdkrenderer.c(set_linejoin) : actually set
3786 join_style not cap_style
3787 (set_dashes): with the correct number of dashes
3789 2004-06-03 Lars Clausen <lars@raeder.dk>
3791 * app/modify_tool.c (click_select_object):
3792 * lib/text.c (text_set_cursor):
3793 * app/disp_callbacks.c (ddisplay_canvas_events): Turn off text stuff.
3795 2004-05-31 Hans Breuer <hans@breuer.org>
3797 * lib/object_defaults.c : don't 'failed to load external
3798 entity "NULL"' when the defaults file does not exist,
3799 bug #108764 [again: somehow this got lost]
3801 * app/paginate_gdiprint.cpp : don guess the WMF export
3802 filter used for printing but find it by unique name.
3803 Also update for export_func renaming
3804 * plug-ins/wmf/wmf.cpp plug-ins/cairo/diacairo.c
3805 provide some unique names
3807 * app/commands.c app/disp_callbacks.c app/paginate_psprint.c
3808 app/select.c : fix bug #140789 by always checking if there
3809 still is an active diagram before accessing it
3811 * app/defaults.c app/properties.c : user visible string should
3812 not read DiaObject but stay as "Object defaults/properties"
3814 * app/app_procs.c : reduce the hack to pass --size to the
3815 export via user_data to the only filter supporting it. Other
3816 filters would crash on it or do worse ;(
3818 * plug-ins/wpg/wpg.c : not every 'Object' is a DiaObject ...
3820 2004-05-31 Lars Clausen <lars@raeder.dk>
3823 * lib/widgets.c: Use GtkType rather than guint for
3824 dia_size_selector_get_type.
3826 2004-05-29 Lars Clausen <lars@raeder.dk>
3828 * app/diapsrenderer.c (fill_bezier): Use even-odd winding rule so
3829 that it matches the screen output for selfoverlapping polygons and
3832 2004-05-28 Hans Breuer <hans@breuer.org>
3834 * app/load_save.c : ignore empty groups on load and don't
3835 write empty groups while saving
3836 * lib/group.h (group_update_data): there is no first object
3837 in empty groups and they probably don't need an update at
3838 all. Maybe the shold just not exist ?
3840 * plug-ins/cairo/diacairo.c : fixed arc drawing, right aligned
3841 text positioning as well as drawing of images with alpha
3843 * plug-ins/wmf/wmf.cpp : include windows.h if eiher
3844 HAVE_WINDOWS_H or G_OS_WIN32 is defined
3846 2004-05-28 Lars Clausen <lars@raeder.dk>
3848 * app/pixmaps/Makefile.am (imagedir):
3849 * app/pixmaps/visible.png:
3850 * app/pixmaps/visible-empty.png: New images for the visibility
3851 button in the layer dialog.
3853 * lib/widgets.c (dia_toggle_button_new_with_images): Remove even
3854 more border around the button. Still some left when hovering the
3855 mouse or selecting, and the grey background is annoying.
3857 * app/layer_dialog.c (dia_layer_widget_init): Use real buttons for
3858 visibility connector.
3860 2004-05-26 Lars Clausen <lars@raeder.dk>
3862 * configure.in (DB2MAN): Better check for db2man docbook place.
3863 Need something even better.
3865 * doc/en/Makefile.am (dia.1): Conditional on having DB2MAN.
3867 * lib/widgets.c (dia_toggle_button_new_with_images): Remove
3868 extraeneous borders.
3871 * dia_gnome_icon.png:
3872 * samples/render-test.dia: Rendering test from Hans.
3874 2004-05-24 Hans Breuer <hans@breuer.org>
3876 * lib/filter.h : renamed DiaExportFilter::export to
3877 _DiaExportFilter::export_func (should not use c++
3878 keywords (g++ specifc ?) in headers. Same for import
3879 out of pure symmetry reasons
3880 * plug-ins/shape/shape-export.c plug-ins/python/diamodule.c
3881 app/diagram.c app/filedlg.c : reflect functions renaming
3883 * plug-ins/wmf/Makefile.am : finally compile the wmf plug-in
3884 under *NIX, too. [If you want something done, do it yourself ;-]
3885 * plug-ins/wmf/wmf_gdi.[hc] : some more stuff to catch up
3886 with wmf.cpp's GDI usage
3887 * plug-ins/wmf/wmf.cpp : compile even without HAVE_WINDOWS_H,
3888 [For the moment it does not much more than compiling, i.e.
3889 the produced WMF files are invalid, if not created on windoze.]
3891 * configure.in : check for C++ to compile plug-in/wmf
3893 * objects/GRAFCET/boolequation.c : looks like fixing
3894 another leak (untested)
3896 2004-05-23 Hans Breuer <hans@breuer.org>
3898 * acinclude.m4 : another attempt to fix
3899 bug #142032 (still not sure it's the right one,
3900 but works for me(tm), which the other does not ;)
3902 * plug-ins/cairo/Makefile.am
3903 plug-ins/Makefile.am
3904 configure.in : support building the new cairo
3905 plug-in, if given --with-cairo and the cairo
3906 packages are found, see http://cairographics.org
3907 and also http://hans.breuer.org/dia/dia-cairo.htm
3909 * plug-ins/cairo/diacairo.c : make it compile
3910 with DEBUG_CAIRO defined, too.
3912 2004-05-23 Hans Breuer <hans@breuer.org>
3914 * plug-ins/cairo/Makefile.am : initial attempt
3916 * plug-ins/cairo/diacairo.c : a new exporter based on
3917 Cairo http://cairographics.org rendering api. Currently
3918 it just can export PNG and PS but one day it might get
3919 PDF and more almost for free. [It is not yet included
3920 in the *NIX build system due to lack of auto* magic.]
3922 * plug-ins/pixbuf/pixbuf.c : always register the export
3923 filter part. If the user does not want it it can be
3924 disabled by File/Plugins or explicit selected the other
3925 one in the Export Formats List
3927 2004-05-23 Hans Breuer <hans@breuer.org>
3929 * lib/dia_dirs.c : #include "message.h"
3930 lib/widgets.c : #include "persistence.h"
3931 lib/widgets.c(dia_font_selector_init) : still not C99
3932 lib/persitence.h : removed unimplemented prototype
3933 lib/persitence.c(persistence_load_list) : still not C99
3934 app/create_object.c : #include "highlight.h"
3935 app/layer_dialog.c : #include "widgets.h"
3936 app/modify_tool.c : prototype functions before usage
3937 lib/object.c : if there is G_END_DECLS there _must_ be G_BEGIN_DECLS
3938 [otherwise one will have a hard time to make C++ compile ;]
3939 lib/dia_dirs.c : #include "message.h"
3940 lib/font.c : #include <gtk/gtk.h> /* just for gtk_get_default_language() */
3943 * plug-ins/xfig/xfig-import.c : dont initialize an int with
3946 * lib/dia_image.[hc](dia_image_rgba_data) : make it work
3947 as documented, i.e. _not_ copying. Plugs a memory leak in
3948 lib/dialibartrenderer.c
3950 * lib/diarenderer.c(*_rounded_rect) : renamed parameter rounding
3951 to radius to more of a clue what it is representing
3953 * */makefile.msc lib/libdia.def : updated
3955 ChangeLog : fixed some date copy&paste bug
3957 2004-05-21 Lars Clausen <lars@raeder.dk>
3959 * NEWS: Release tag.
3961 * config.h.win32: Now 0.93+cvs
3963 * RELEASE-PROCESS: Update with new info about release branches.
3965 * Many files: Moved devel branch back into main trunk. Should
3966 have been done in the opposite way, with release in a branch.
3968 2004-05-20 Hans Breuer <hans@breuer.org>
3970 * acinclude.m4 : disable setting of PYTHON_PREFIX
3971 and PYTHON_EXEC_PREFIX from prefix and exec_prefix
3972 as workaround for bug #142032 (the real fix would
3973 involve some auto* knowledge which I don't have
3976 * plug-ins/python/Makefile.am : more python
3977 plug-ins to be installed (especially svg import,
3978 but also 'simple scale' should be useable
3981 * plug-ins/python/scascale.py : update display
3982 after modifying selected objects
3984 * plug-ins/python/diasvg_import.py : initialize
3987 2004-05-18 Lars Clausen <lars@raeder.dk>
3989 * app/diagram_tree.c (select_node): Use
3990 diagram_remove_all_selected to kill selected list.
3992 * lib/font.c: Set language when using a different context.
3994 * plug-ins/svg/svg-import.c: Changed isdigit to g_ascii_isdigit
3995 and removed ctype include (#142661).
3997 * lib/paper.c (get_default_paper): Changed isalnum to
3998 g_ascii_isalnum and removed ctype include. (#142661)
4000 * objects/custom/shape_info.c:
4002 * app/diaunitspinner.c: Removed unrequired ctype.h include. (#142661)
4004 2004-05-17 Hans Breuer <hans@breuer.org>
4006 * lib/object_defaults.c : don't 'failed to load external
4007 entity "NULL"' when the defaults file does not exist,
4010 * lib/widgets.c : fixed possible menu leak
4011 * lib/dialinechooser.c lib/diaarrowchooser.c : finally
4012 avoid finalization of floating references, bug #142307
4014 2004-05-15 Lars Clausen <lars@raeder.dk>
4016 * plug-ins/xfig/xfig-import.c: Handle default fonts and illegal
4017 fonts better (#138655)
4019 * doc/pl/Makefile.am (EXTRA_DIST): Also include all xml files here.
4021 * doc/en/Makefile.am (EXTRA_DIST): Including all required files in
4022 dist, xml, dbk and man. Also the sub-xml files. (#142098)
4024 * Makefile.am (CLEANFILES):
4025 * sheets/Makefile.am (EXTRA_DIST): Not distributing the
4026 translation-reports, they are generated automagically. THANKS
4027 file not considered locally generated, so is not locally
4030 * lib/widgets.[ch]: Changing dia_arrow_selector to be a gobject.
4032 * lib/diaarrowchooser.c:
4033 * lib/prop_attr.c: Fixing naming for arrowselector.
4035 * objects/UML/object.c (objet_type): Oops, little too aggressive
4036 with the DiaObject thing here:)
4038 * objects/custom/shape_info.c (parse_svg_node): Use
4039 g_ascii_isdigit instead of isdigit.
4041 * app/diaunitspinner.c (dia_unit_spinner_update):
4042 * lib/dia_svg.c (dia_svg_parse_style): Using g_ascii_isspace
4043 instead of isspace avoids char subscript issues (#142467).
4045 * lib/persistence.c (persistence_get_string): Fixed 0/NULL/FALSE
4046 return value conflict.
4048 * app/display.c (ddisplay_update_handler): Fixed 0/FALSE return
4049 value conflict. Also improved signature. (#142466)
4051 * app/load_save.c (diagram_data_load): Don't overwrite the list in
4052 the layer, but instead free the returned list (#142480)
4054 * app/pixmaps/Makefile.am (IMAGES): Added png's to be installed
4055 for the grid widget.
4057 * doc/en/Makefile.am (dia.1): Make proper rule for making dia.1
4059 * configure.in (DB2MAN): Currently just check for two known
4060 positions for the docbook xsl. Don't know a generic way to find
4061 this info. Ought to add an option for it, but then it's really
4062 only required for maintainers, I think. Maybe.
4064 * app/display.c (update_snap_grid_status): Remove nasty image
4065 toggling code not require for grid toggle button anymore. (#142475)
4067 * app/interface.c (create_display_shell): Use
4068 dia_toggle_button_new_with_images to create grid toggle button.
4069 Much nicer. (#142475)
4071 * app/menus.c (menus_initialize_updatable_items): Free the string
4072 along with the GString. (#142475)
4074 * lib/intl.c (free_alias_table): Free hash table entries in a
4075 proper way, avoiding duplicate frees. (#142475)
4077 * lib/object_defaults.c (_obj_store): Only free layer_name if it's
4078 not put in the hash (avoid reading freed memory). (#142476)
4080 * lib/widgets.c (dia_font_selector_set_styles): Stop leaking
4082 (dia_font_selector_get_family_from_name): Stop leaking
4085 2004-05-14 Lars Clausen <lars@raeder.dk>
4087 * Transfer of fixes from release branch. Not the prettiest way to
4088 do it, this should be done during release, not afterwards.
4090 Tomasz Kłoczko <kloczek@pld.org.pl>:
4092 * acinclude.m4: minor fixes (added missing [] quotation).
4094 Lars Clausen <lars@raeder.dk>:
4096 * app/interface.c (toolbox_delete):
4097 * app/app_procs.[ch] (app_exit): Stop the delete event if the user
4098 cancels quit due to modified diagrams.
4100 Samúel Jón Gunnarsson <sammi@techattack.nu>:
4102 * is.po: Added "is" to ALL_LINGUAS.
4104 Lars Clausen <lars@raeder.dk>:
4106 * dia.spec: Updated as per mail from Zhang Lin-bo <zlb@lsec.cc.ac.cn>
4108 Hans Breuer <hans@breuer.org>:
4110 * lib/makefile.msc : removed -DGTK_DISABLE_DEPRECATED; the
4111 burden should be shared and not be win32 only ;) [this time
4112 build was broken by adding GtkType to widget.h]
4114 * objects/standard/box.c objects/standard/ellipse.c :
4115 for code clarification compare (obj->aspect != FREE_ASPECT)
4116 and not (obj->aspect); no binary effect.
4118 * app/paginate_psprint.c : don't leak printcmd
4120 * objects/standard/box.c objects/standard/ellipse.c : fix gccisms :
4121 standard C requires variables to be declared at the beginning of
4122 a block, also there is no fabsf() with msvc
4124 * app/win32print.[ch] : make win32_printer_close() return an
4125 error code, it's used as pclose replacement
4127 Lars Clausen <lars@raeder.dk>:
4129 * RELEASE-PROCESS: Mention PATCH keyword in release process.
4131 2004-05-06 Lars Clausen <lars@raeder.dk>
4133 * lib/widgets.[ch]: Utility function to make a widget with two
4134 images (selected and non-selected).
4136 * lib/diagramdata.h: Renamed selectable to connectable.
4137 Selectable will come later.
4140 * app/pixmaps/Makefile.am (imagedir):
4141 * app/pixmaps/connectable.png:
4142 * app/pixmaps/connectable-empty.png: New images for the
4143 selectability widget. Proper installation, too.
4145 * app/layer_dialog.[ch]: Adding new button showing connectability
4146 status. Much cleaner way of doing the button, but some problems
4147 with the item getting selected
4149 * lib/widgets.h: Reminder of how to install images for use by
4150 dia_get_image_from_file.
4152 2004-05-05 Lars Clausen <lars@raeder.dk>
4154 * objects/network/Makefile.am:
4155 * objects/network/pixmaps/radiocell.xpm:
4156 * objects/network/pixmaps/basestation.xpm:
4157 * objects/network/network.c:
4158 * objects/network/basestation.c:
4159 * objects/network/radiocell.c:
4160 Patch from W. Borgert <debacle@debian.org>: Radio cell and base
4163 * lib/arrows.[ch]: Patch from Anthony <anthonym@overture.com>:
4164 Backslash arrow head.
4166 * app/pagesetup.c (pagesetup_respond): Do not free ps twice.
4167 Notify takes care. Should maybe use that more.
4169 * lib/diagramdata.[ch]:
4170 * app/filedlg.c (file_export_ok_callback):
4171 * app/diagram.c (diagram_finalize): DiagramData now a GObject.
4173 * app/dia-props.c (diagram_properties_respond):
4174 * app/diagram.c (diagram_set_modified):
4176 * app/disp_callbacks.c:
4178 * app/load_save.c (diagram_save):
4179 Better handling of undo and modified status -- only diagram
4180 properties and page setup explicitly set modified status, all
4181 other important changes should be done through the undo stack
4184 2004-05-04 Lars Clausen <lars@raeder.dk>
4186 * app/app_procs.c (app_init): Consistently open a new diagram if
4187 none specified, with standard name Diagram1.dia.
4189 * app/layer_dialog.c:
4190 * app/diagram.c (diagram_finalize):
4191 * app/commands.c (dialogs_layers_callback):
4192 * app/filedlg.c (file_export_ok_callback):
4193 * app/app_procs.c (app_exit):
4194 * app/display.c (display_set_active):
4195 * app/interface.c (dia_dnd_file_drag_data_received):
4196 * app/recent_files.c:
4197 Undone attempt at unifying the multi-diagram windows (like
4198 layers). It broke the layers and didn't make much sense for the
4199 diagram properties dialog anyway.
4203 * lib/diagramdata.c:
4205 * lib/object.c: Undone attempts at GObject'ifying DiaObject -- too
4206 many subclasses have to be fixed. Fixed remaining
4207 Object/ObjectType renaming issues.
4209 2004-05-02 Lars Clausen <lars@raeder.dk>
4211 * lib/object.[ch]: Making DiaObject a GObject. Now can I avoid
4212 having to make all the children objects conform to
4213 GObject style at once? Warning! Does not compile right now.
4215 * many, many files: Rename Object to DiaObject in preparation for
4216 making it a GObject.
4218 * app/diagram.[ch]: Turn diagram into a real GObject.
4221 * app/filedlg.c: Correctly ref and unref diagram.
4223 * lib/diagramdata.h: Starting to turn it into a GObject as well.
4225 2004-05-02 Lars Clausen <lars@raeder.dk>
4227 * lib/object.[ch]: Starting to convert Object to DiaObject, son of
4230 * app/dia-props.c: Undo the attempt at making it really
4231 multi-diagram, now going for a one-diagram dialog.
4233 2004-04-30 Lars Clausen <lars@raeder.dk>
4235 * app/undo.c: Undoing broken undo stuff for diagram properties and
4236 page setup. Shouldn't be mixed into undo at all.
4238 * app/render_gdk.c (draw_pixel_line): Use the dash-setting
4239 function to avoid in particular the grid crawling.
4241 * lib/diagdkrenderer.[ch] (dia_gdk_renderer_set_dashes): Function
4242 to allow aligning dashes, so they don't crawl.
4244 2004-04-28 Lars Clausen <lars@raeder.dk>
4246 * app/Makefile.am: New files diacanvas.[ch]
4248 * app/interface.c (create_display_shell): Use new diacanvas that
4249 allows placing widgets on canvas, for text edit.
4252 Early work towards rotation. No implementation yet.
4254 * app/layer_dialog.c (undo_layer):
4255 * objects/network/bus.c (bus_create_change):
4256 * objects/standard/box.c (aspect_create_change):
4257 * objects/standard/ellipse.c (aspect_create_change):
4258 Use g_new0 for change struct.
4260 * app/undo.c (diagram_change_apply_or_revert):
4261 Support for undo of diagram properties and page setup.
4263 * app/disp_callbacks.c (ddisplay_canvas_events):
4265 * lib/diagramdata.h:
4266 * app/modify_tool.c (click_select_object):
4267 * lib/text.c (text_register_editable):
4268 Starting work on new text editing model. Guarded by #ifdef so
4271 2004-04-07 Lars Clausen <lars@raeder.dk>
4273 * app/recent_files.c (open_recent_file_callback):
4274 * app/interface.c (origin_button_press):
4275 * app/filedlg.c (file_open_ok_callback):
4278 * app/commands.c (dialogs_layers_callback): Using new
4279 diagram_set_current() function to ensure auxilliary windows are
4282 * app/layer_dialog.c: Trying to unify with dia-props. Diagram
4283 menu now borken. *sniff*
4285 * app/dia-props.c: Diagram properties window attempted
4286 persistentified. Trying to make more like layer dialog (since it
4287 already changes when the diagram changes), but some things still
4290 2004-04-06 Lars Clausen <lars@raeder.dk>
4292 * lib/dialinechooser.[ch] (dia_line_chooser_set_line_style):
4293 * lib/attributes.c (attributes_set_default_line_style):
4294 * app/interface.c (create_lineprops_area):
4295 Make line style persistent as well. Added function to directly
4296 set the style and dashlength of a dialinechooser.
4298 2004-04-03 Lars Clausen <lars@raeder.dk>
4300 * objects/standard/ellipse.c (ellipse_move_handle, ellipse_copy):
4301 Copy the ellipse extra handle correctly.
4303 * objects/standard/box.c (box_move_handle): Move definitions
4304 according to bug #138925.
4306 2004-04-02 Lars Clausen <lars@raeder.dk>
4308 * app/recent_files.c: Use absolute name for recent files list.
4310 * lib/attributes.c: Set start and end arrow types, correctly.
4312 * lib/widgets.c (dia_arrow_selector_set_arrow): Use new function
4315 * lib/diaarrowchooser.[ch]: Support for setting arrow info.
4317 * app/interface.c (create_lineprops_area): Set persistently stored
4320 * lib/arrows.[ch]: New function to get arrow index (in arrow_types)
4323 * lib/dia_dirs.c: dia_get_absolute_path now creates a canonical
4324 path (i.e. without '.' or '..'). Not tuned for Win32 yet.
4326 * plug-ins/xfig/xfig-import.c: Redone ordering of import to comply
4327 with what xfig does. Text now converted from latin-1 to utf-8
4328 (latin-1, since that's what xfig seems to use. Would like to see
4329 examples of non-latin-1 figs). String case problems fixed.
4331 2004-04-01 Lars Clausen <lars@raeder.dk>
4334 * app/interface.c: Default arrows now stored persistently, too.
4336 * lib/arrows.[ch]: New function to get arrow type from name.
4338 * app/color_area.c (color_area_create):
4340 * app/linewidth_area.c: Also persistent colors and line width.
4341 That was easy. Arrows and line style will take a bit more work,
4344 2004-04-01 Lars Clausen <lars@raeder.dk>
4346 * app/preferences.c: All preferences are now
4347 handled by persistence, old prefs load and store code is gone.
4349 * lib/persistence.[ch]: Added string and color persistents. This is
4350 a different string from the one used in the printer dialog, that
4351 one has a GtkEntry attached -- may want to make that one an
4352 encapsulation of this one or something.
4354 2004-03-31 Lars Clausen <lars@raeder.dk>
4356 * app/app_procs.c: Do persistence before prefs. Prefs are to be
4359 * lib/persistence.[ch]:
4360 * app/preferences.c: Adding persistence for integers, reals,
4361 booleans. Fixed stupid list bug. Test persistence for prefs.
4363 2004-03-30 Lars Clausen <lars@raeder.dk>
4365 * app/recent_files.c:
4366 Debugging of deallocation.
4369 Font menu now uses persistence. Ordering needs fixing, or it must
4373 * lib/Makefile.am (libdia_la_SOURCES):
4374 * app/Makefile.am (dia_core_files):
4375 * app/persistence.[ch]:
4376 * lib/persistence.[ch]: Moved to lib as widgets need it. Also a
4377 number of fixes, including multiple entries now being read
4378 properly. Still some oddity about the persistent list having the
4379 role as first entry (which makes the font menu crash after a few
4382 2004-03-26 Lars Clausen <lars@raeder.dk>
4384 * app/persistence.c:
4385 * app/recent_files.[ch]: Redoing the recent-files list using
4386 persistence, reducing code by about 50%. Still a problem when
4387 selecting an item from the menu -- possibly it doesn't like the
4388 menu being destroyed while in the callback?
4390 2004-03-25 Lars Clausen <lars@raeder.dk>
4392 * app/persistence.c (persistence_load_string): Missing semicolon?!?
4394 2004-03-24 Lars Clausen <lars@raeder.dk>
4398 * app/persistence.[ch]:
4399 * app/paginate_psprint.c (diagram_print_ps): New type of data can
4400 be stored persistently: Strings. Only the printer command/file
4401 go in here now, but things like creator, organization, diagram
4402 comments etc could also be handled this way.
4404 * objects/standard/beziergon.c (beziergon_draw): Avoid control
4405 lines when the object is not selected.
4407 2004-03-23 Lars Clausen <lars@raeder.dk>
4409 * lib/connectionpoint.h:
4410 * app/load_save.c: Allow connection points to have names, and
4411 handle that in load/store.
4413 * lib/dialibartrenderer.c: Better highlighting for text.
4415 * lib/diagdkrenderer.h (struct _DiaGdkRenderer):
4416 * lib/diagdkrenderer.c: Better highlighting for all, using same
4417 principles as libart highlighter.
4419 2004-03-22 Lars Clausen <lars@raeder.dk>
4421 * lib/dialibartrenderer.[ch]:
4422 * lib/diagdkrenderer.c:
4428 * app/modify_tool.c:
4429 * app/create_object.c:
4430 * app/highlight.[ch]:
4431 Added simple object highlighting. In GDK rendering, highlights
4432 the bbox, in libart highlights the outline of the object (except
4435 2004-03-22 Lars Clausen <lars@raeder.dk>
4437 * RELEASE-PROCESS: Added info on how to do a branch for
4438 development during release process.
4440 2004-03-20 Lars Clausen <lars@raeder.dk>
4442 * RELEASE-PROCESS: Mention PATCH keyword in release process.
4444 2004-03-19 Lars Clausen <lars@raeder.dk>
4446 * xmldocs.make: Fixed apparent uninstall error.
4449 * doc/en/dia-manual.xml:
4450 * doc/pl/dia-manual.xml:
4453 * NEWS: Version 0.93-pre1.
4455 * lib/dialinechooser.[ch]: Patch from pborelli@katamail.com (paolo
4456 borelli): Remove some deprecated stuff.
4458 2004-03-18 Lars Clausen <lars@raeder.dk>
4460 * Makefile.am: Try better uninstall thing for scrollkeeper.
4462 * objects/ER/entity.c:
4463 * lib/arrows.[ch]: Patch from Georg Lothar Thimm
4464 <MGEORG@ntu.edu.sg>: Adds new ER arrows 1 or many, 0 or many, 0 or
4465 1, 1 exactly, as well as associative ER entities.
4467 2004-03-17 Lars Clausen <lars@raeder.dk>
4469 * Makefile.am: Make distcheck not complain about scrollkeeper
4470 problems (as per advice from James Henstridge).
4472 * doc/pl/*.{xml,sgml}: Converted SGML manuals to XML to get better
4473 standard installation.
4475 * objects/standard/ellipse.c: Better strings for object menu.
4477 * app/sheets_dialog_callbacks.c: Fixed crashes from broken caching
4478 of dialogs (shame on you, glade!)
4480 * objects/custom/custom_object.c (custom_setup_properties):
4481 Removed debugging output
4483 * app/paginate_psprint.c (diagram_print_ps): Slightly more
4484 readable printer error messages.
4488 * doc/en/Makefile.am:
4489 * doc/pl/Makefile.am:
4490 New more standard way to install the XML-based manuals.
4492 2004-03-15 Lars Clausen <lars@raeder.dk>
4494 * objects/standard/box.c (box_move_handle): More intuitive fixed
4497 * objects/standard/ellipse.c:
4498 * objects/standard/box.c:
4501 * app/layer_dialog.[ch]:
4502 Patch from Steve Langasek <vorlon@debian.org>:
4503 Fixes startup crash on Alpha (bug #137169)
4505 * objects/standard/box.c: Aspect fixing like ellipses.
4507 * app/Makefile.am (dia_core_files): Include dia-app-icons.h
4509 * lib/pixmaps/Makefile.am (imagedir): Better Makefile.am for
4510 pixmaps, now can uninstall properly.
4512 * objects/standard/ellipse.c: Patch from dooms@info.ucl.ac.be:
4513 Fixed and circle aspect ratios for ellipses. Bug #137156, #87966,
4515 Added object menu access.
4517 2004-03-07 Hans Breuer <hans@breuer.org>
4519 * lib/diaarrowchooser.c lib/dialinechooser.c : #undef
4520 GTK_DISABLE_DEPRECATED (I'd rather like if these widgets
4521 would not use deprecated apis, but it's much simpler this way)
4523 * lib/makefile.msc : build the above new widgets and render_pixmap
4524 * lib/libdia.def app/dia.def app/makefile.msc : updated
4526 * app/disp_callbacks.c : fix gccisms (without being able to make much sense of
4527 what I saw, i.e. how big is an empty array supposed to be ? ;-).
4528 Previously it gave :
4529 disp_callbacks.c(188) : error C2059: syntax error : '}'
4530 disp_callbacks.c(191) : warning C4034: sizeof returns 0
4532 * app/interface.c : #include "dialinechooser.h"
4534 * lib/diagdkrender.c : make the !HAVE_FREETYPE case compile again
4535 [one more reason not to use it here : it's quite slow compared to
4536 the native win32 font renderer ;]
4538 * app/app_procs.c app/filedlg.c : gtk_widget_destroy does not take
4539 a GtkDialog*, removed unneeded cast
4541 * app/render_eps.c : avoid assignment warning for void* user_data
4544 2004-03-06 Steffen Macke sdteffen@web.de>
4546 * shapes/Map/Isometric/Makefile.am: added Makfile for Isometric
4549 2004-03-06 Lars Clausen <lars@raeder.dk>
4551 * lib/arrows.h (DEFAULT_ARROW_SIZE): Downed default arrow size to
4554 * lib/font.c: Simple cleanup system for layout cache removes any
4555 layout that hasn't been used for 10 minutes, but only during idle
4558 2004-03-05 Lars Clausen <lars@raeder.dk>
4560 * sheets/Electric.sheet.in: Added patch from padro@lsi.upc.es
4561 (lluis padro) (#130887): Extended Electric shapes with vertical
4564 * sheets/Cybernetics.sheet.in: Normalize shape descriptions (never
4565 start with "Create a" or "A", always capitalize first word).
4567 * objects/standard/ellipse.c: Patch from Grégoire Dooms
4568 <dooms@info.ucl.ac.be>: Add extra connection point in center of
4569 ellipse. Additionally added a handle in the center, and resize is
4570 now around the center.
4573 * sheets/Makefile.am (SUBDIRS):
4574 * sheets/IsometricMap.sheet.in:
4575 * shapes/Map/Isometric/*
4576 * shapes/Makefile.am (SUBDIRS): Added Isometric shapes.
4578 2004-03-04 Lars Clausen <lars@raeder.dk>
4581 * lib/pixmaps/Makefile.am:
4583 Better installation handling of pixmaps.
4585 * lib/diagdkrenderer.c:
4586 * lib/diagtkfontsel.h (struct _DiaGtkFontSelectionClass):
4587 * lib/diagtkfontsel.c (dia_gtk_font_selection_show_available_fonts):
4590 2004-03-03 Lars Clausen <lars@raeder.dk>
4592 * lib/diagtkfontsel.h (struct _DiaGtkFontSelection):
4593 * lib/diagdkrenderer.c:
4594 * lib/diasvgrenderer.c:
4595 * lib/dialibartrenderer.c:
4596 * lib/diainteractiverenderer.c:
4597 * lib/prop_text.c (multistringprop_handle_key):
4599 * lib/dia_image.c (dia_image_rgba_data):
4601 * lib/diagramdata.c (layer_set_object_list):
4604 Getting rid of compile warnings.
4606 * lib/widgets.c: Handle destroy properly, i.e. unref the two extra
4607 images. Also remove unused decls.
4609 2004-03-02 Lars Clausen <lars@raeder.dk>
4612 * lib/widgets.c (dia_size_selector_init): Add images to the size
4613 selector chain widget. Also new function to load installed images
4614 from files (better than from included XPM, IMHO).
4616 2004-03-02 Lars Clausen <lars@raeder.dk>
4619 * lib/pixmaps/[un]broken-chain.xpm: Icons stolen from GIMP for the
4623 * lib/widgets.c (dia_size_selector_init): Work
4624 on getting proper icon onto the size selector. Need simple image
4625 load mechanism in utils.
4629 * app/disp_callbacks.c: Patch from kou@cozmixng.org: Show preedit
4630 strings, handle utf8 strlen properly. Bug #135930.
4632 2004-03-01 Lars Clausen <lars@raeder.dk>
4634 * shapes/Cybernetics/*:
4635 * sheets/Cybernetics.sheet.in:
4636 * sheets/Makefile.am:
4637 * shapes/Makefile.am:
4638 * configure.in: Patch from charly.meyer@t-online.de (Thorsten
4639 Roggendorf): Cybernetic shapes (#95553).
4641 2004-03-01 Lars Clausen <lars@raeder.dk>
4643 * app/Makefile.am: Fixed $(EXEEXT) warning from automake.
4645 * lib/diatypes.h: New type DiaSizeSelector.
4647 * lib/widgets.[ch]: New size selector widgets that selects two
4648 values (width and height, nominally) optionally linked to keep
4651 2004-03-01 Hubert Figuiere <hfiguiere@teaser.fr>
4653 * plug-ins/svg/render_svg.c (new_svg_renderer): Add DTD declaration
4654 in front of file. Bug #128600.
4658 * app/lineprops_area.[ch]:
4660 * lib/dialinechooser.[ch]:
4661 * lib/widgets.c (dia_line_style_selector_init): use line preview
4662 instead of text labels. This involve moving away line_chooser to lib
4665 * lib/diaarrowchooser.[ch] (close_and_hide): Make static to avoid
4668 * app/Makefile.am (dia_core_files):
4669 * app/interface.c (create_lineprops_area):
4670 * app/render_pixmap.[ch]:
4672 * lib/diaarrowchooser.[ch]:
4675 * lib/propdialogs.c:
4676 * lib/render_pixmap.[ch]:
4677 * lib/widgets.c (dia_arrow_fill_menu): Use arrow preview instead
4678 of text labels. This involve moving away arrow_chooser to lib from
4681 2004-02-29 Lars Clausen <lars@raeder.dk>
4683 * objects/UML/class.[ch]: Puny kludge to avoid GtkList objects
4684 being updated half-way through destruction. To be removed when
4685 the lists are replaced by something better.
4687 * objects/UML/class_dialog.c: Patch from luc@handhelds.org:
4688 Accelerators for class dialog. Bug #130995.
4689 Patch from luc@handhelds.org: Better aligning of widgets. Bug #130994.
4692 * app/preferences.c:
4694 * objects/GRAFCET/step.c:
4695 * objects/Misc/analog_clock.c:
4696 * objects/chronogram/chronoline.c:
4697 * objects/chronogram/chronoref.c:
4698 Change to american spelling (color, not colour) to ease
4699 translators job. Note that a number of translations may need an
4700 update now. Bug #120466.
4702 2004-02-29 Lars Clausen <lars@raeder.dk>
4704 * plug-ins/xfig/xfig-export.c: Patch from solworth@cs.uic.edu:
4705 Better arrow handling for missing arrows.
4707 * plug-ins/metapost/render_metapost.[ch]: Patch from
4708 phred@cs.berkeley.edu (Fred Reiss): Add font faces and font
4709 size. See bug #135363.
4711 * app/app_procs.c (app_init): If non-interactive, or if
4712 --log-to-stderr used, send all messages to stderr. This should
4713 mean that old diaconv == dia --export-to-format=FOO BAR
4715 2004-02-29 Hubert Figuiere <hfiguiere@teaser.fr>
4717 * app/menus.c: Get rid of GNOME menus. Deprecated APIs in GNOME 2.
4719 2004-02-28 Lars Clausen <lars@raeder.dk>
4721 * lib/text.c (text_key_event): Patch from Kouhei Sutou
4722 <kou@cozmixng.org>: Fix wrong utf8 strlen handling.
4724 2004-02-27 Lars Clausen <lars@raeder.dk>
4726 * KNOWN_BUGS: Added info on most commonly reported bugs, with
4729 * app/disp_callbacks.c (popup_object_menu): Unified properties
4730 entry, fixes bug #105080.
4732 * app/diagram.c (diagram_update_menu_sensitivity):
4733 * app/menus.h (struct _UpdatableMenuItems):
4734 * app/menus.c (menus_initialize_updatable_items): Menu items
4735 changed around, align menus flattened, properties entry ghosted,
4736 dialogs menu removed, more shortcuts added. Closing bugs #94018,
4738 Also taking out Gnome menus for now. They don't allow shortcuts,
4739 so what are they good for?
4741 2004-02-27 Lars Clausen <lars@raeder.dk>
4743 * app/menus.c (display_menu_items):
4744 * app/commands.[ch]: Added duplicate menu item from Alan Horkan
4747 2004-02-24 Adam Weinberger <adamw@FreeBSD.org>
4749 * configure.in: Added 'en_CA' (Canadian English) to ALL_LINGUAS.
4751 2004-02-23 Lars Clausen <lars@raeder.dk>
4753 * app/app_procs.c (app_init): Comments for translators.
4755 2004-02-22 Hubert Figuiere <hfiguiere@teaser.fr>
4757 * app/preferences.c (prefs_create_dialog): Change packing policy
4758 for widget to expand.
4760 * app/Makefile.am (run_dia.sh): Fixed a typo in wrapper that prevented
4761 running with a debugger.
4763 2004-02-19 Lars Clausen <lars@raeder.dk>
4765 * app/undo.[ch]: Adding last-saved information to undo to allow a
4766 diagram with all changes since last save undo to be marked as
4767 nonmodified. Still needs integration with actual undo
4771 * app/diagram_tree.c (diagram_tree_update):
4773 * app/display.c (update_modified_status):
4774 * plug-ins/python/pydia-diagram.c (PyDiaDiagram_GetAttr):
4775 * app/autosave.c (autosave_check_autosave): Encapsulate modifed
4778 * app/render_eps.[c]: Restructure to better handle PS vs. EPS
4779 vs. EPSI, comment out EPSI until preview is in there.
4782 * lib/diarenderer.c: Removing debugging printfs.
4784 * app/diapsrenderer.[ch]: Preparations for proper EPSI rendering
4787 * objects/standard/arc.c (arc_update_handles): Check to avoid
4788 crash when start and end points are the same.
4790 2004-02-19 Lars Clausen <lars@raeder.dk>
4792 * objects/standard/bezier.c:
4793 * objects/standard/line.c (line_load):
4794 * objects/standard/polyline.c (polyline_load):
4795 * objects/standard/zigzagline.c (zigzagline_load):
4796 * objects/standard/arc.c (arc_load):
4797 * lib/widgets.h (DEFAULT_ARROW_WIDTH): Use DEFAULT_ARROW_SIZE
4798 instead of hardcoding.
4800 2004-02-18 Hubert Figuiere <hfiguiere@teaser.fr>
4802 * app/disp_callbacks.c (popup_object_menu): append a menu item to
4805 2004-02-17 Hubert Figuiere <hfiguiere@teaser.fr>
4807 * app/app_procs.c: declare rc properly with the proper #ifdef
4809 2004-02-17 Lars Clausen <lars@raeder.dk>
4811 * plug-ins/xfig/xfig-import.c: Correct ordering of imported FIG
4812 objects (which seemingly FIG itself breaks, or else there is no
4815 2004-02-16 Lars Clausen <lrclause@cs.uiuc.edu>
4817 * plug-ins/xfig/xfig-export.c (figLineWidth): Check for minimum
4818 width renderable in xfig. Helps on bug #133637, but does not
4819 quite fix it -- something about depth is wrong.
4821 * plug-ins/xslt/xslt.[ch]: Patch #133913 from phenning@lanl.gov:
4822 Extern definitions for Mac compilation.
4824 * app/app_procs.c: Patch #131159 from J. H. M. Dassen
4825 (jdassen@debian.org): Include fix.
4827 * app/interface.c: Patch #130100 from luc@handhelds.org: Make
4828 sure the initial diagram size is correct.
4830 2004-02-15 Lars Clausen <lrclause@cs.uiuc.edu>
4832 * lib/Makefile.am (AM_CPPFLAGS): Override AM_CPPFLAGS instead of
4833 CPPFLAGS, as per automake warning.
4834 * app/Makefile.am (AM_LDFLAGS): Override AM_LDFLAGS instead of
4835 LDFLAGS, as per automake warning.
4836 (run_dia.sh): More robust creation, and more easily moved.
4838 * app/undo.c (group_objects_revert): Don't double-free the objects
4839 list. (#129221) Call object_add_updates on grouped objects.
4840 (ungroup_objects_revert): Call object_add_updates on grouped objects.
4842 * lib/diagramdata.c: Internal
4845 * lib/polyshape.c (polyshape_update_data): Correctly calculate
4846 directions for polyshape corners (thanks, Valgrind!)
4849 * lib/prop_attr.c (arrowprop_load): Use default arrow size.
4851 * lib/arrows.h: Default arrow size defined. After all are using
4852 this, may lower to 0.4 or so.
4854 * app/lineprops_area.[ch]: New function to set the arrow type for an
4857 * app/interface.c (create_lineprops_area): Set default line to
4858 have an arrow (fairly likely to be what's wanted, plus it shows
4859 the user where arrows are set).
4861 * app/app_procs.c: #ifdef HAVE_POPT popt args to process_opt
4863 2004-02-14 Lars Clausen <lrclause@cs.uiuc.edu>
4865 * plug-ins/metapost/render_metapost.c (draw_with_linestyle):
4866 Dotted lines should use dot_length, not dash_length.
4868 2004-02-06 Hans Breuer <hans@breuer.org>
4870 * app/interface.c : don't use gtk_drawing_area_size() to avoid
4871 the defaut size being also the minimum size. Instead use
4872 gtk_window_set_default_size() on the display shell. Fixes #130982.
4874 [fixing #131210, but umlauts in the 'main' filename still not really
4875 supported on systems where filesystem encoding != utf8
4876 (Problems with recent file menu and window title)]
4877 * lib/dia_xml.[hc] : add data_filename() and data_add_filename()
4878 to deal with possible differnces in filename encodings, see
4879 g_filename_<to|from>_utf8()
4880 * objects/standard/image.c : use them.
4882 * lib/widgets.c : handle possible encoding difference here, too.
4883 Also get rid of most warnings by using const and GTK casts where
4884 appropriate; one wrong cast (probably causing a crash) was found/fixed
4885 by this - the remaining give a hint on finally leaking FontSelectorEntry.
4887 * lib/widgets.[hc] : hide _DiaFileSelector and *Class in .c. Modified
4888 dia_file_selector_<get|set>_file to behave like the respective Gtk
4889 functions do : encoding- and const-wise ;-)
4891 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
4893 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
4895 2004-01-19 Hans Breuer <hans@breuer.org>
4897 * app/app_procs.c app/diaconv :
4898 only call bind_textdomain_codeset when available, what's good
4899 for The Gimp (bug #131215) can't be wrong for Dia : bug #125926
4900 * config.h.win32 : define HAVE_BIND_TEXTDOMAIN_CODESET
4902 2004-01-19 Steffen Macke <sdteffen@web.de>
4904 * makefile.msc: updated for new GAIM-like installer build; sync'ed
4905 ALL_LINGUAS with configure.in
4907 2004-01-18 Hans Breuer <hans@breuer.org>
4909 * app/app_procs.c (myXmlErrorReporting) : avoid possible crash
4910 by not passing NULL to g_print()
4912 * app/interface.c (create_toolbox) : actually use
4913 persitence_register_window() to restore toolbox window size
4915 * app/makefile.msc lib/makefile.msc : allow to deselect
4916 building with Freetype by command line to nmake like :
4917 nmake -f makefile.msc "NOFT2=1"
4919 * plug-ins/python/diasvg_import.py : handle 'stroke-array' as
4920 far as possible with Dia's limited line style
4921 * plug-ins/python/pydia-property.c : allow to get and set
4922 Linestyle, style and dash(length)
4924 * lib/object.h : removed typedef for ObjectId not use anywhere
4926 2004-01-17 Hans Breuer <hans@breuer.org>
4928 * objects/custom/shape_info.[hc] objects/custom/custom_object.c
4929 doc/shape.dtd doc/custom-shapes :
4930 support for images in custom shapes, also removed some long-time
4933 * doc/en/*.xml : fixed crippled line ends which get created
4934 when windoze line ends are checkin from the unix side
4936 2004-01-13 Laurent Dhima <laurenti@alblinux.net>
4938 * configure.in: Added "sq" to ALL_LINGUAS.
4940 2004-01-11 Hans Breuer <hans@breuer.org>
4942 [more less leaks ;-]
4944 * objects/SADT/annotation.c : use text_destroy() not g_free()
4946 * objects/chronogram/chronoline.c : neither leak chronoline::events
4947 nor chronoline::name
4949 * objects/wpg/wpg.c : don't g_free() but g_object_unref(renderer);
4951 2004-01-11 Hans Breuer <hans@breuer.org>
4953 * lib/properties.h :
4954 * objects/custom/custom_object.c : more properties optional
4955 to be backward compatible for older diagrams not having them
4956 set. (Try to load samples/all_objects.dia)
4958 [less memory leaks thanks valgrind ;-]
4960 * app/recent_files.c (recent_file_history_write) :
4961 g_free(history_filename);
4962 (recent_file_menu_item) : use g_path_get_basename()
4963 which already strdups, free result of g_strescape()
4965 * app/filedlg.c (create_export_menu) : return of
4966 filter_get_export_filter_label() must be g_free()'d
4967 (create_open_menu) : same for import
4969 * app/export_png.c (export_png_ok) : destroy info ptr
4970 with png_destroy_write_struct()
4972 * app/app_procs.c (app_init) : g_free(export_format_string);
4974 * lib/font.c (dia_font_finalize) : finalize parent_class, too
4975 (dia_font_new_from_style) : stop leaking almost all DiaFont by not
4976 refing it a second time, g_type_create_from_instance() is enough
4978 * lib/object_defaults.c (_obj_store) : don't mess with names
4979 len 0 (should avoid 'Invalid read of size 1, but doesn't ;)
4981 2004-01-11 Steffen Macke <sdteffen@web.de>
4983 * app/diapsftrenderer.c: including ftoutln.h
4984 * app/makefile.msc: updated for freetype build
4985 * lib/libdia.def: added dia_font_get_context()
4986 * lib/dialibartrenderer.c (draw_string): added cast
4988 2004-01-10 Hans Breuer <hans@breuer.org>
4990 * lib/diagdkrenderer.c (draw_string) : gdk_draw_line with
4991 transformed coordinates, fixes bug 130804
4993 2004-01-10 Hans Breuer <hans@breuer.org>
4995 * app/filedlg.c app/app_procs.c : don't try to destroy
4996 'gtk_dialog_run'-dialogs dialogs by connecting to the "response"
4997 signal but simply by gtk_widget_destroy() after gtk_dialog_run()
4998 returns. Fixes 'has no handler' bugs like #121019
5000 2004-01-10 Hans Breuer <hans@breuer.org>
5002 * objects/UML/class.c objects/UML/class_dialog.c :
5003 handle umlclass->name being empty to avoid, i.e. fix #127968
5005 [plugging memleaks, thanks valgrind :-]
5007 * lib/dia_xml.c (data_string) : don't leak return value
5008 of xmlNodeListGetString()
5010 * lib/dia_xml.c (xml_file_check_encoding) : g_free(buf)
5011 before returning, maybe alloca() would be the better
5012 choice but anyway ;)
5014 * objects/custom/custom_object.c:306 : adde xmlFree(str) below
5016 * lib/font.c (dia_font_build_layout) : don't leak result
5019 * lib/diagdkrenderer.c (draw_string) : don't leak rgba
5020 (this is the one which got me started using valgrind, see #130816)
5022 2004-01-07 Sanlig Badral <badral@openmn.org>
5024 * configure.in: Added "mn" to ALL_LINGUAS.
5026 2004-01-04 Hans Breuer <hans@breuer.org>
5028 * lib/diagdkrenderer.c : replace rendering of really small (height
5029 less than 2 pixels) with a simple dashed line, you wont notice the
5030 differnce beside it being much faster. This allows ...
5031 * lib/diagdkrenderer.h : ... to remove gboolean rendertext ...
5032 * app/navigation.c : ... and lets you see an read rendered text even
5033 in the nice navigation popup.
5035 * lib/dialibartrenderer.c : FONT_SCALE defined as 1.0 for G_OS_WIN32, too.
5036 (draw_string) : don't leak temporary image
5038 2004-01-04 Hans Breuer <hans@breuer.org>
5040 * app/dia-app-icons.h : TODO : to be removed when autogenerated on *NIX, too.
5041 * app/interface.c : use dia-app-icons.h to give Dia window icons
5043 * lib/dia_image.c lib/color.c : _never_ call functions implemented
5044 in app/ from lib/. It is not portable and broken from design
5045 * app/app_procs.c : call color_init() and dia_image_init() conditional,
5046 i.e. only if running interactive.
5048 * lib/font.h : #include <time.h>
5050 * lib/libdia.def : updated externals
5052 * objects/UML/actor.c
5053 objects/UML/association.c (todo)
5054 objects/UML/branch.c
5055 objects/UML/class.[hc] objects/UML/class_dialog.c
5056 objects/UML/classicon.c
5057 objects/UML/component.c
5058 objects/UML/constraint.c
5059 objects/UML/dependency.c
5060 objects/UML/generalization.c
5061 objects/UML/implements.c
5062 objects/UML/large_package.c
5063 objects/UML/lifeline.c
5064 objects/UML/message.c
5066 objects/UML/object.c
5067 objects/UML/realizes.c
5068 objects/UML/small_package.c
5070 objects/UML/usecase.c
5072 : ported coloring of most UML objects (bug #97517, orginal
5073 work Mathias Hasselmann)
5075 * lib/properties.h : add _OPTIONAL variants for
5076 PROP_STD_(LINE|FILL|TEXT)_COLOUR which allows to load old -
5077 i.e. default colored - UML diagrams without complaining
5078 * lib/proplist.c lib/propoffsets.c : avoid setting _OPTIONAL,
5079 not set properties with the help of PXP_NOTSET. Otherwise
5080 optional attributes would lead to wrong initialization.
5082 * lib/widgets.[hc] : moved _DiaFontSelector from .h to .c
5083 to hide details and restict #undef GTK_DISABLE_DEPRECATED to .c
5084 Same for most other selectors which probably should be rewritten
5085 to the combo box with tree model from Gtk+ 2.4
5087 2004-01-04 Lars Clausen <lrclause@cs.uiuc.edu>
5089 * INSTALL (PLATFORM NOTES): Mention the Gnu gettext and iconv as
5090 being the Right Thing(tm) to use on Solaris.
5092 * objects/standard/bezier.c (bezierline_draw): Don't draw
5093 guidelines if not selected.
5095 * lib/object.[ch] (dia_object_is_selected): Function to check whether
5096 a given object is selected. O(n), where n is # selected objects.
5099 2004-01-03 Lars Clausen <lrclause@cs.uiuc.edu>
5101 * lib/widgets.[ch]: Make sure old font is re-chosen when the Other
5102 Fonts dialog is closed without pressing Ok (bug #128646).
5104 2004-01-02 Lars Clausen <lrclause@cs.uiuc.edu>
5106 * app/Makefile.am: Quote arguments correctly for run_dia.sh (bug
5109 2004-01-01 Lars Clausen <lrclause@cs.uiuc.edu>
5111 * INSTALL: Updated list of requirements (bug #129653)
5113 * doc/en/dia.dia: Beginning class diagram for Dia from Luc
5114 Pionchon <luc@handhelds.org>.
5116 2003-12-31 Lars Clausen <lrclause@cs.uiuc.edu>
5118 * lib/diagdkrenderer.c (draw_string): Don't attempt to render
5119 empty or NULL strings (bug #130097).
5121 2003-12-31 Chris Sperandio <sperandi@eng.usf.edu>
5123 * plug-ins/metapost/render_metapost.c: Fixed string colorization.
5124 Added checks against color_black.
5126 2003-12-31 Lars Clausen <lrclause@cs.uiuc.edu>
5128 * plug-ins/xfig/xfig-export.c (figArrow): Output nothing for
5129 ARROW_TYPE_NONE. Thanks to Jon A. Solworth for showing that this
5132 * objects/UML/component_feature.c: Patch from W. Borgert
5133 <debacle@debian.org>: Add handle to component feature text.
5135 * lib/diagdkrenderer.c (draw_string): Remove poorly placed caching.
5137 * lib/font.c: Caching PangoLayout for better rendering speed.
5139 2003-12-30 Lars Clausen <lars@raeder.dk>
5141 * lib/dia_dirs.[ch] (dia_get_absolute_filename): New function to
5142 get absolute file name from relative.
5143 * app/recent_files.c (recent_file_history_add): Use absolute
5144 filenames for recent files menu so that files can be found when
5145 Dia is invoked from other places.
5147 * app/app_procs.c (handle_all_diagrams): Fix for 1/3 of 130098:
5148 Actually load different diagrams if such are requested on command
5151 * objects/UML/class_dialog.c (class_create_page): Fix from Luc
5152 Pionchon <luc@handhelds.org>: Correctly align labels for colors.
5154 * lib/diagdkrenderer.[ch]: From Luc: New option to GdkRenderer to
5155 remove text rendering. May be turned into greeking at some later
5159 * app/Makefile.am (dia_core_files):
5160 * app/navigation.[ch]: Patch from Luc Pionchon <luc@handhelds.org>:
5161 Adds navigation window a la Gimp, though without text being
5164 2003-12-27 Luc Pionchon <luc@handhelds.org>
5166 * app/navigation.h: (new file)
5167 * app/navigation.c: (new file) creates a navigation window with a
5168 thumbnail view of the whole diagram.
5169 * app/Makefile.am (dia_core_files): added new files.
5171 * app/interface.c (create_display_shell): added a button between
5172 the scrollbars to popup a navigation window.
5174 * lib/diagdkrenderer.h (struct_DiaGdkRenderer): added rendertext
5176 * lib/diagdkrenderer.c (renderer_init): set rendertext TRUE by default
5177 * lib/diagdkrenderer.c (draw_string): returns if the renderer do
5178 not want text rendering.
5180 2003-12-14 Lars Clausen <lrclause@cs.uiuc.edu>
5182 * shapes/Circuit/hresistor.shape: Uses new extra attribute thing.
5184 * objects/custom/shape_info.[ch]: Cleanup.
5186 * objects/custom/custom_object.[ch]: Changed to use new props
5191 * lib/prop_inttypes.c:
5192 * lib/prop_geomtypes.c: Added *prop_get_data_size.
5194 * lib/libdia.def: Added object_load_props.
5196 * configure.in: Better FT2 version test, from bug #129225.
5198 * dia.spec (BuildRequires): Changed to match makefile (bug #129131)
5200 * plug-ins/xslt/dia-uml2python.xsl: Added Python sheet from Holger
5201 Lehmann <holger.lehmann@catworkx.de>.
5203 * plug-ins/xslt/Makefile.am:
5204 * plug-ins/xslt/stylesheets.xml: Added Python, Component List,
5205 and OWL XSLT sheets.
5207 2003-12-13 Lars Clausen <lrclause@cs.uiuc.edu>
5209 * lib/diagdkrenderer.c: Add implementation so text is still
5210 rendered. May be improved later.
5216 * app/app_procs.c: Patch from W. Borgert <debacle@debian.org>:
5217 Allow running without a $DISPLAY!
5219 * lib/color.c: Remove warnings for non-interactive run.
5224 * app/app_procs.[ch]:
5225 Patch from W. Borgert <debacle@debian.org>: Allow a --size argument
5226 to specify size for PNG output.
5228 * app/lineprops_area.c (dia_arrow_preview_expose): Make arrows
5229 render a little smaller, so as to fit the big ones.
5231 * lib/arrows.[ch]: New arrow type from W. Borgert
5232 <debacle@debian.org>: Filled Dot and Triangle.
5234 2003-12-02 Lars Clausen <lrclause@cs.uiuc.edu>
5236 * doc/pl/Makefile.am (install-data-hook): Fixed installation bug
5239 * plug-ins/xslt/dia-uml2owl.xsl: Added OWL XSLT from Dan Connolly.
5241 * acinclude.m4: Better Python configure code patch (can't find
5242 author, author please speak up!)
5244 2003-12-01 Lars Clausen <lrclause@cs.uiuc.edu>
5246 * lib/diagdkrenderer.c (get_cached_text): Stupid bugs replaced by
5249 2003-11-30 Hans Breuer <hans@breuer.org>
5251 * plug-ins/python/diasvg.py : initialize self.dash_length
5252 in constructor to avoid crashing if the renderer user
5253 does not set it before first usage.
5255 2003-11-30 Lars Clausen <lrclause@cs.uiuc.edu>
5257 * lib/diagdkrenderer.c: Start of cache GDK text renderer -- not
5261 * config.h.win32: Set version number to 0.92.2+cvs to distinguish
5262 development and stable versions.
5264 * lib/text.c (text_draw): Use new renderer function to draw the
5267 * lib/diarenderer.h:
5268 * lib/diarenderer.c: New renderer function "draw_text" with
5269 default implementation. This function should eventually be the
5270 main interface, as it will be able to handle width and caching of
5271 rendering internally. All users of draw_string should convert to
5272 use Text objects and call either renderer->draw_text or text_draw,
5273 the latter if the text can be edited in-place (as should be the
5276 2003-11-29 Lars Clausen <lrclause@cs.uiuc.edu>
5278 * shapes/Circuit/hresistor.shape: First example of extra
5281 2003-11-28 Lars Clausen <lrclause@cs.uiuc.edu>
5283 * plug-ins/shape/shape-export.c:
5284 * lib/diasvgrenderer.h:
5285 * lib/diasvgrenderer.c:
5286 * plug-ins/svg/render_svg.c (new_svg_renderer):
5287 Actually store the font size, using DiaRenderer's font fields.
5289 2003-11-27 Lars Clausen <lrclause@cs.uiuc.edu>
5291 * objects/custom/shape_info.[ch]:
5292 * objects/custom/custom_object.[ch]:
5293 Support for extra attributes in custom objects.
5295 2003-11-23 Lars Clausen <lrclause@cs.uiuc.edu>
5297 * app/diagram.c (diagram_update_menu_sensitivity): More
5298 intelligent checks for menu sensitivity. Might be slow on huge
5299 diagrams, but I think other things outweigh it by a lot.
5301 * app/menus.[ch]: Make "Bring Forwards"
5302 and "Send Backwards" updateable.
5304 2003-11-22 Steffen Macke <sdteffen@web.de>
5306 * shapes/Assorted/arrow-turn-up.shape:
5307 * shapes/Assorted/arrow-turn-up.png:
5308 * sheets/Assorted/Makefile.am:
5309 * sheets/Assorted.sheet.in: Added new arrow
5311 2003-11-17 Lars Clausen <lrclause@cs.uiuc.edu>
5319 * app/diagram_tree.c
5320 * app/diagram_tree_menu.c
5321 * app/diagram_tree_window.c
5322 * app/diapagelayout.c
5323 * app/diaunitspinner.c
5327 * app/layer_dialog.c
5328 * app/lineprops_area.c
5329 * app/linewidth_area.c
5332 * app/paginate_psprint.c
5334 * app/plugin-manager.c
5337 * app/recent_files.c
5339 * app/sheets_dialog.c
5340 * app/sheets_dialog_callbacks.c
5341 * app/tool.c: Patch from Sebastien Tricaud <toady@gscore.org>:
5342 GTK-2 compatibility update, mostly gtk_foo -> g_foo.
5344 * TODO: Updated, note on EPS transparency.
5346 2003-11-07 Lars Clausen <lrclause@cs.uiuc.edu>
5348 * objects/UML/class.c (umlclass_draw): Allow classes with no name
5351 2003-11-01 Lars Clausen <lrclause@cs.uiuc.edu>
5354 * doc/en/dia-manual.xml:
5357 * NEWS: Another Brown Bag release for parenting problems,
5358 including a crash bug fix.
5360 * app/connectionpoint_ops.c (diagram_update_connections_object):
5361 Also update connections when moving children. This can cause
5362 move_handle to be called twice, so it must be idempotent.
5364 * app/load_save.c: Loading and saving of children totally redone.
5365 Now doesn't violate assumption that all objects in a layer are
5366 placed in order in XML file.
5368 * objects/UML/branch.c (branch_create): Don't lie about being
5371 * objects/UML/node.c (node_create):
5372 * objects/UML/large_package.c (largepackage_create): Drag with
5373 lower right-hand handle at creation like all other objects.
5375 2003-10-28 Lars Clausen <lrclause@cs.uiuc.edu>
5377 * app/disp_callbacks.c (ddisplay_drop_object): Change initial
5378 parenting drop to behave like a move inside, i.e. constrain place
5379 instead of trying to resize. 'Cause, resizing cannot be done for
5380 all objects (e.g. UML Class). Also simplified the algorithm a lot
5383 * app/load_save.c: Saving and loading of connection points for
5384 children added. Prototypes for static functions added.
5386 * lib/dynamic_obj.c: Removed debugging output.
5388 2003-10-26 Lars Clausen <lrclause@cs.uiuc.edu>
5390 * doc/en/dia-manual.xml:
5391 * doc/pl/dia-manual.sgml:
5395 * NEWS: Brown Bag release 0.92.1
5397 * lib/dynamic_obj.c: Fixed embarassing dynamic object removal bug.
5399 2003-10-25 Lars Clausen <lrclause@cs.uiuc.edu>
5401 * app/app_procs.c (app_init): Rearrangement for translators.
5403 2003-10-24 Steffen Macke <sdteffen@web.de>
5405 * lib/text.c(text_key_event): enforcing the inserted text length now,
5408 2003-10-22 Lars Clausen <lrclause@cs.uiuc.edu>
5410 * MAINTAINERS: Change Debian maintainer to be the default address.
5412 * objects/Misc/analog_clock.c (analog_clock_move_handle): Reorder
5413 args to match prototype, thus removing crashbug #125159.
5415 * RELEASE-PROCESS: Note to self.
5417 2003-10-22 Steffen Macke <sdteffen@web.de>
5419 * doc/en/dia-manual.xml: removed superfluous external references
5421 2003-10-21 Steffen Macke <sdteffen@web.de>
5423 * lib/libdia.def: added filter_get_by_name
5424 * app/render_eps.c: moved extensions definition outside #ifdef
5426 2003-10-19 Lars Clausen <lrclause@cs.uiuc.edu>
5430 Removed old Dia manual, put new one in doc/en/. Translations
5431 should go in doc/??/.
5433 * doc/en/dia-manual.xml:
5434 * doc/pl/dia-manual.sgml:
5435 * dia.spec (Release):
5438 * NEWS: 0.92 is here!
5442 * doc/en/Makefile.am (man_MANS): Added man page, thanks to Fredrik
5443 HallenBerg, W. Borgert. Not currently autogenerated from dia.dbk,
5446 * doc/en/usage-objects.xml: Fixed lower-case PNG tags.
5448 * doc/en/usage-objects-selecting.xml: Commented out empty note.
5450 2003-10-14 Lars Clausen <lrclause@cs.uiuc.edu>
5452 * doc/pl/dia-manual.sgml:
5453 * doc/en/dia-manual.xml:
5457 * dia.spec (Release): Pre7.
5459 * app/diapsrenderer.c (draw_string): Convert string to print based
5460 on current locale. If conversion fails, fall back to UTF-8 (which
5461 is almost certain to be messy).
5463 2003-10-13 Lars Clausen <lrclause@cs.uiuc.edu>
5465 * doc/pl/dia-manual.sgml:
5466 * dia.spec (Release):
5470 * doc/en/dia-manual.xml: Pre6.
5472 * plug-ins/pstricks/render_pstricks.c (draw_string): Don't escape
5473 TeX chars in strings -- must be possible to use TeX text in there.
5474 Also avoids infinite loop bug (#124464) Will get option for this
5477 2003-10-11 Lars Clausen <lrclause@cs.uiuc.edu>
5479 * shapes/Cisco/Makefile.am: Cisco shapes now install correctly.
5481 * doc/en/dia-manual.xml:
5482 * doc/pl/dia-manual.sgml:
5483 * dia.spec (Release):
5488 * app/authors.h: Removed duplicate of M. C. Nelson.
5490 * plug-ins/pixbuf/pixbuf.c: Unique name for pixbuf export: gdkpixbuf.
5492 * app/export_png.c: Unique name for libart PNG export: png-libart.
5494 * app/render_eps.c: Unique names for the two eps export methods:
5495 eps-builtin, eps-pango.
5497 * lib/filter.h: Binary compatibility change:
5498 Added unique name to export filters. Can be NULL.
5499 * lib/filter.c (filter_get_by_name): Finding a filter by
5502 * app/app_procs.h: Changed prototype for do_convert.
5503 * app/app_procs.c (app_init): Support for non-extension file
5504 format selection for export. Also allow extension to differ from
5505 that specified by the filters. A bit of refactoring, too.
5507 2003-09-28 Steffen Macke <sdteffen@web.de>
5509 * makefile.msc: added target po to update the translations
5511 2003-09-27 Lars Clausen <lrclause@cs.uiuc.edu>
5514 * dia.spec (Release):
5516 * doc/pl/dia-manual.sgml:
5517 * doc/en/dia-manual.xml:
5518 Pre4 is given a short try.
5520 * configure.in: Give all necessary libs to PNG test.
5522 * lib/font.c: Added legacy entries for sans, serif and monospace.
5524 * app/app_procs.c (internal_plugin_init):
5527 Added PS fonts output for Unix.
5529 * app/diapsrenderer.c (set_font): Adjusted height by the magic .7
5530 factor to make PS fonts stay in boxes.
5532 2003-08-03 Hans Breuer <hans@breuer.org>
5534 * config.h.win32 : close the version string
5536 * lib/libdia.def : with color_white, color_black being static
5537 on win32 they can not be exported anymore either
5539 * lib/dialibartrenderer.c : text rendering is back on win32,
5540 only by Gdk though; almost a year seems to be enough to
5541 wait for my patch at bug #94791 to be accepted ...
5543 2003-09-23 Lars Clausen <lrclause@cs.uiuc.edu>
5545 * shapes/network/{digitizing_board.png,plotter.png,
5546 laptop.png,telephone.png}: 22x22 icons.
5548 2003-09-22 Lars Clausen <lrclause@cs.uiuc.edu>
5550 * doc/pl/dia-manual.sgml:
5551 * doc/en/dia-manual.xml:
5552 * dia.spec (Release):
5556 pre3 improves font rendering speed.
5558 * app/app_procs.c (app_init): Don't do pango init here, it's done
5559 on demand in font.c now.
5561 * lib/font.c: Load pango context on demand rather than during
5562 init/all the time strikes a better balance between working font
5563 size and speed. Still need to cache width calculations.
5565 2003-09-18 Lars Clausen <lrclause@cs.uiuc.edu>
5567 * lib/dia_xml.c: Enable pretty printing. Should have been added
5570 2003-09-11 Lars Clausen <lrclause@cs.uiuc.edu>
5572 * lib/arrows.c (calculate_arrow_point): Adjust arrow line
5573 adjustment a bit for half diamond and open round.
5575 * RELEASE-PROCESS: Added note about notifying translators and
5578 * doc/pl/dia-manual.sgml:
5579 * doc/en/dia-manual.xml:
5580 * dia.spec (Release):
5584 Update to 0.92-pre2.
5586 2003-09-10 Lars Clausen <lrclause@cs.uiuc.edu>
5588 * lib/arrows.c (calculate_arrow_point): Some fixing-up of arrow
5589 calculation for half diamond and open round.
5592 * objects/UML/component_feature.c:
5593 * lib/arrows.h: Patch from W. Borgert <debacle@debian.org>: Use
5594 arrows instead of specific little hacks. Much nicer, but damn
5595 there's a lot of arrows.
5597 * lib/dialibartrenderer.c (begin_render):
5598 * app/render_libart.c (begin_render): Use correct DPI for screen
5599 (well, actually the default DPI of 75 for now).
5601 * app/display.h: Informative notes on the DDISPLAY_*_ZOOM macros.
5603 * lib/diagdkrenderer.c (draw_string): Some reformatting.
5605 * app/app_procs.c (app_init): Note on what should be done for the
5606 pango context now, only it doesn't work:(
5608 * lib/font.c (dia_font_new): Make sure to load fonts that are
5609 used, using a reasonable pango_context. Also a comment on the
5612 2003-09-09 Lars Clausen <lrclause@cs.uiuc.edu>
5614 * doc/pl/graphics/*.png:
5615 * doc/pl/Makefile.am: Added graphics to distro, avoiding empty
5616 loop (bug #121817). PL translator may want to change the
5617 home_network png to be in Polish. If the docs get translated into
5618 more languages, we'll want to find out how to share these things.
5620 2003-09-08 Lars Clausen <lrclause@cs.uiuc.edu>
5622 * app/splash.c (app_splash_init): Patch from Sébastien Tricaud
5623 <stricaud@mwsp.net>: Use g_signal_* instead of gtk_signal_* in
5626 * app/filedlg.c (file_save_as_callback): Put filename setting
5627 together. (Preparation for allowing default save dir.)
5629 * app/paginate_psprint.c (diagram_print_ps): Use $PRINTER
5630 correctly this time:)
5632 * app/dia-props.c (diagram_properties_show):
5633 * app/properties.c (properties_show): Make sure the
5634 dialogs are transient for the correct diagram.
5636 2003-09-07 Lars Clausen <lrclause@cs.uiuc.edu>
5638 * configure.in: Make sure -lz -lm is passed into second png test
5639 as well (stupid AC_LINK_IFELSE can't take it as an argument).
5641 * plug-ins/xfig/xfig-import.c: Skip XFig comments to make certain
5642 comment-filled files readable. Once we have a 'generic data'
5643 system, we can put comments in there.
5645 2003-09-06 Steffen Macke <sdteffen@web.de>
5647 * plug-ins/pstricks/render_pstricks.c(tex_escape_string): using
5648 g_string_sized_new() instead of g_string_new() to make it compile
5649 * app/Makefile.am: including dia.ico and dia.rc in the tarball
5650 * plug-ins/wmf/wmf.cpp (set_linestyle): In WMF maximum linewidth is 1
5651 for non-solid linestyles - otherwise custom linestyles have to be used.
5653 2003-09-02 Steffen Macke <sdteffen@web.de>
5655 * app/commands.c(help_manual_callback): using dia-manual.chm instead of
5658 2003-09-02 Christian Neumair <chris@gnome-de.org>
5660 * sheets/Pneumatic.sheet.in: Slight unification fix.
5662 2003-09-02 Lars Clausen <lrclause@cs.uiuc.edu>
5666 * dia.spec (Release):
5667 * doc/en/dia-manual.xml:
5668 * doc/pl/dia-manual.sgml:
5669 * NEWS: Update to 0.92-pre1.
5671 * app/properties.c (properties_key_event): Removing Esc/Enter
5672 handling for now, interferes to much with regular dialog usage.
5674 * plug-ins/pstricks/render_pstricks.c (tex_escape_string):
5675 Function to escape special TeX characters. Not in use yet, as
5676 PSTricks output by default is TeX strings. Should get a save-time
5679 2008-09-01 Steffen Macke <sdteffen@web.de>
5681 * lib/paper.h: explanatory comment on width and height
5683 2003-08-30 Steffen Macke <sdteffen@web.de>
5686 * lib/color.h: made color_white, color_black static on win32
5688 2003-08-28 Lars Clausen <lrclause@cs.uiuc.edu>
5690 * configure.in (PNG_LIBS): Something in the png tests added an
5691 extra -lpng to $LIBS. Saving old $LIBS to avoid that.
5693 2003-08-27 Lars Clausen <lrclause@cs.uiuc.edu>
5695 * configure.in: Quote correctly for temporarily adding freetype
5698 * app/preferences.c (prefs_save): Remove debugging g_print.
5700 2003-08-26 Lars Clausen <lrclause@cs.uiuc.edu>
5702 * objects/flowchart/parallelogram.c (pgram_update_data):
5703 Directions for connections, better system for placing
5706 2003-08-25 Lars Clausen <lrclause@cs.uiuc.edu>
5708 * lib/diagramdata.c (layer_find_closest_object_except): Look all
5709 the way through the object list, so the foremost object is selected.
5711 * lib/diagramdata.h: Removing dynamic_obj.h, it should only be
5712 included for diagramdata.c.
5714 * lib/prop_text.c (multistringprop_handle_key): Attempt at making
5715 newline in multistringprop not close the dialog. Failed so far.
5717 2003-08-25 Steffen Macke <sdteffen@web.de>
5719 * app/commands.c: using CHM instead of HTML on win32 if available
5720 * lib/diagramdata.h: including dynamic_obj.h
5722 2003-08-25 Lars Clausen <lrclause@cs.uiuc.edu>
5724 * app/properties.c (properties_key_event): Make Enter = Ok for
5725 properties dialogs. Still some problems with this and Esc for
5726 Cancel, for instances escaping out of a menu closes the dialog.
5728 * objects/UML/association.c (association_get_properties):
5729 * objects/UML/class_dialog.c (class_create_page): Grab appropriate
5732 * app/diapsft2renderer.c (draw_string): Use
5733 dia_font_scaled_build_layout to ensure similarity of text.
5735 * lib/diagramdata.c: Remove obj from dynobj list when removing
5736 from layer to avoid nasty race conditions.
5738 * app/undo.c (group_objects_revert): Make sure to unparent and
5739 remove from dynobj list when changing layers objects.
5741 2003-08-23 Steffen Macke <sdteffen@web.de>
5743 * plug-ins/wmf/wmf.cpp (draw_image): replaced BitBlt() with
5744 StretchBlt(); fixes #92249
5746 2003-08-23 Lars Clausen <lrclause@cs.uiuc.edu>
5748 * app/filedlg.c (file_save_as_callback):
5749 * app/preferences.h:
5750 * app/preferences.c (prefs_data):
5751 * lib/diagramdata.h:
5752 * lib/diagramdata.c (new_diagram_data):
5753 * app/load_save.c (diagram_data_load):
5754 Let the document remember whether it was compressed. The user can
5755 still override this in the Save As... dialog, and that will still
5756 be remembered as the default for new diagrams.
5758 2003-08-23 Steffen Macke <sdteffen@web.de>
5760 * plug-ins/xslt/Makefile.am: added dia-uml2componentlist.xsl
5762 2003-08-22 Steffen Macke <sdteffen@web.de>
5764 * plug-ins/xslt/dia-uml.xsl:
5765 * plug-ins/xslt/dia-uml2componentlist.xsl: generate a HTML file with a
5766 table containing a list of components grouped by stereotype
5768 2003-08-21 Steffen Macke <sdteffen@web.de>
5770 * lib/makefile.msc: added connectionpoint.obj
5771 * lib/libdia.def: added connpoint_update, find_slope_directions
5772 * app/disp_callbacks.c: including scroll_tool.h
5773 * obj/makefile.msc: added component_feature.obj
5774 * app/paginate_gdiprint.c: fixed loop initialization in
5775 paginate_gdiprint(); partial fix for bug #85831 - the scaling is still
5778 2003-08-21 Lars Clausen <lrclause@cs.uiuc.edu>
5780 * plug-ins/python/pydia-object.c (PyDiaObject_MoveHandle): Fix
5783 * lib/diagramdata.h: Colors added to prefs.
5784 * lib/diagramdata.c (new_diagram_data): Set diagram colors from prefs.
5785 New field for pagebreak color, which should
5786 behave the same as grid color and be settable for a diagram.
5788 * app/diagram.c (diagram_init): Update diagram pagebreak color
5791 * app/grid.c (pagebreak_draw): Draw using diagrams pagebreak
5794 * app/preferences.[ch]: Default diagram colors now #defines, so
5795 loading can use it. Also, colors are now in NewDiagramData, so
5796 are passed nicely into new diagrams directly from prefs. Yum.
5798 * app/load_save.c (diagram_data_write_doc, diagram_data_load):
5799 Support for loading and saving grid and pagebreak colors with the
5800 diagram. I'm inclined to make all the three Colors in diagram
5801 Color*s instead, so we can tell if they're specified for the
5802 diagram or merely the default setting. There'd be no way for the
5803 user to tell if the color of a diagram is default, though, unless
5804 we add a 'reset to default' button to prefs.
5806 * app/dia-props.c: Adding widgets for dynamic grid, grid colour,
5807 pagebreak color. Unsensitizing grid size when dynamic.
5809 * objects/UML/component.c: Patch from Krzysztof Foltman
5810 <kfoltman@onet.pl>: Add two new connectionpoints and adjust a
5811 third. Makes the left side connections actually be on the line
5814 2003-08-20 Steffen Macke <sdteffen@web.de>
5816 * lib/libdia.def: added layer_find_closest_object_except
5817 * lib/diagramdata.c: added ; after GOTO to make MSVC compile
5819 2003-08-20 Lars Clausen <lrclause@cs.uiuc.edu>
5823 * app/scroll_tool.c:
5825 * app/disp_callbacks.c:
5826 * app/create_object.h:
5827 * app/create_object.c: Patch from Krzysztof Foltman
5828 <kfoltman@onet.pl>: Middle button can scroll transiently when
5829 menu-bar-mode is on, and mouse wheels (hopefully) can scroll in
5833 * sheets/UML.sheet.in:
5834 * sheets/UML/receptacle.xpm:
5835 * sheets/UML/Makefile.am:
5836 * sheets/UML/eventsource.xpm:
5837 * sheets/UML/eventsink.xpm:
5838 * objects/UML/pixmaps/facet.xpm:
5839 * objects/UML/uml.c (dia_plugin_init):
5840 * objects/UML/Makefile.am (libuml_objects_la_SOURCES):
5841 * objects/UML/component_feature.c:
5842 Patch from W. Borgert <debacle@debian.org>: Add event sources and
5845 2003-08-19 Lars Clausen <lrclause@cs.uiuc.edu>
5847 * lib/object.h: Turning some comments into doxygen style.
5849 * lib/object_defaults.c (dia_object_defaults_load)
5850 (dia_object_default_get, dia_object_default_create):
5851 Fixing up existing documentation.
5853 * lib/object.h: Doxygen style documentation begun.
5855 * app/create_object.c:
5857 * app/connectionpoint_ops.c:
5858 * app/disp_callbacks.c:
5859 * app/modify_tool.c:
5861 * objects/network/wanlink.c (wanlink_move_handle):
5862 * objects/network/bus.c (bus_move_handle):
5864 * objects/flowchart/parallelogram.c (pgram_move_handle):
5865 * objects/flowchart/ellipse.c (ellipse_move_handle):
5866 * objects/flowchart/diamond.c (diamond_move_handle):
5867 * objects/flowchart/box.c (box_move_handle):
5869 * objects/custom/custom_object.c (custom_move_handle):
5871 * objects/chronogram/chronoref.c (chronoref_move_handle):
5872 * objects/chronogram/chronoline.c (chronoline_move_handle):
5874 * objects/SADT/box.c (sadtbox_move_handle):
5875 * objects/SADT/arrow.c (sadtarrow_move_handle):
5876 * objects/SADT/annotation.c (annotation_move_handle):
5878 * objects/Misc/analog_clock.c (analog_clock_move_handle):
5880 * objects/GRAFCET/vergent.c (vergent_move_handle):
5881 * objects/GRAFCET/vector.c (arc_move_handle):
5882 * objects/GRAFCET/transition.c (transition_move_handle):
5883 * objects/GRAFCET/step.c (step_move_handle):
5884 * objects/GRAFCET/condition.c (condition_move_handle):
5885 * objects/GRAFCET/action.c (action_move_handle):
5887 * objects/FS/function.c:
5888 * objects/FS/flow.c:
5889 * objects/FS/flow-ortho.c (orthflow_move_handle):
5890 * objects/FS/flow-poly.c (flow_move_handle):
5892 * objects/UML/usecase.c (usecase_move_handle):
5893 * objects/UML/state_term.c (state_move_handle):
5894 * objects/UML/state.c (state_move_handle):
5895 * objects/UML/small_package.c (smallpackage_move_handle):
5896 * objects/UML/realizes.c (realizes_move_handle):
5897 * objects/UML/object.c (objet_move_handle):
5898 * objects/UML/note.c (note_move_handle):
5899 * objects/UML/node.c (node_move_handle):
5900 * objects/UML/message.c (message_move_handle):
5901 * objects/UML/lifeline.c (lifeline_move_handle):
5902 * objects/UML/large_package.c (largepackage_move_handle):
5903 * objects/UML/implements.c (implements_move_handle):
5904 * objects/UML/generalization.c (generalization_move_handle):
5905 * objects/UML/fork.c (fork_move_handle):
5906 * objects/UML/dependency.c (dependency_move_handle):
5907 * objects/UML/constraint.c (constraint_move_handle):
5908 * objects/UML/compprop.c (compprop_move_handle):
5909 * objects/UML/component.c (component_move_handle):
5910 * objects/UML/branch.c (branch_move_handle):
5911 * objects/UML/association.c (association_move_handle):
5912 * objects/UML/actor.c (actor_move_handle):
5913 * objects/UML/activity.c (state_move_handle):
5914 * objects/UML/class.c (umlclass_move_handle):
5916 * objects/standard/ellipse.c (ellipse_move_handle):
5917 * objects/standard/zigzagline.c (zigzagline_move_handle):
5918 * objects/standard/textobj.c (textobj_move_handle):
5919 * objects/standard/polyline.c (polyline_move_handle):
5920 * objects/standard/polygon.c (polygon_move_handle):
5921 * objects/standard/line.c (line_move_handle):
5922 * objects/standard/image.c (image_move_handle):
5923 * objects/standard/bezier.c (bezierline_move_handle):
5924 * objects/standard/arc.c (arc_move_handle):
5925 * objects/standard/beziergon.c (beziergon_move_handle):
5926 * objects/standard/box.c (box_move_handle):
5928 * objects/ER/relationship.c (relationship_move_handle):
5929 * objects/ER/participation.c (participation_move_handle):
5930 * objects/ER/entity.c (entity_move_handle):
5931 * objects/ER/attribute.c (attribute_move_handle):
5933 * lib/polyshape.c (polyshape_move_handle):
5935 * lib/orth_conn.c (orthconn_move_handle):
5937 * lib/neworth_conn.c (neworthconn_move_handle):
5938 * lib/neworth_conn.h:
5939 * lib/element.c (element_move_handle):
5941 * lib/connection.c (connection_move_handle):
5943 * lib/beziershape.c (beziershape_move_handle):
5944 * lib/beziershape.h:
5945 * lib/bezier_conn.c (bezierconn_move_handle):
5946 * lib/bezier_conn.h:
5947 *BINARY COMPATIBILITY CHANGE*
5948 Update prototype for *_move_handle() to include connectionpoint,
5949 and also pass on modifiers. Pass in connectionpoint where
5952 * lib/dummy_dep.h (dummy_dep): Adding dummy dependencies for new
5953 file connectionpoint.c.
5955 2003-08-17 Danilo Šegan <dsegan@gmx.net>
5957 * configure.in: Added "sr" and "sr@Latn" to ALL_LINGUAS.
5959 2003-08-15 Lars Clausen <lrclause@cs.uiuc.edu>
5961 * lib/object.c (object_copy): Use g_malloc0 instead of g_malloc.
5963 * lib/beziershape.c (beziershape_update_data): Autoroute
5964 directions for beziershapes!
5966 * lib/connectionpoint.c (find_slope_directions):
5967 * lib/connectionpoint.h: Function for finding the available
5968 directions on a slope.
5970 * lib/polyshape.c: Reasonable directions for
5973 2003-08-14 Lars Clausen <lrclause@cs.uiuc.edu>
5975 * objects/Misc/analog_clock.c (analog_clock_update_arrow_tips):
5976 * objects/GRAFCET/vergent.c (vergent_update_data):
5977 * objects/GRAFCET/transition.c (transition_update_data):
5978 * objects/GRAFCET/action.c (action_update_data):
5979 * objects/GRAFCET/step.c (step_update_data):
5980 * objects/FS/function.c (function_update_data):
5981 * lib/connpoint_line.c (connpointline_putonaline):
5982 * objects/ER/attribute.c (attribute_update_data):
5983 * objects/ER/entity.c (entity_update_data):
5984 * objects/ER/relationship.c (relationship_update_data):
5985 * objects/chronogram/chronoline.c (chronoline_update_data): Set
5986 directions for connection points.
5988 * objects/UML/component.c (component_create): Set to allow
5991 * app/create_object.c (create_object_button_press):
5992 * app/diagram.[ch] (diagram_find_clicked_object_except):
5993 * lib/diagramdata.[ch] (layer_find_closest_object_except):
5994 Avoid parenting to objects you're connecting to (otherwise you
5995 couldn't make a connection out of a parenting object). To do
5996 this, added functions to find the nearest object except a given
5999 * app/render_libart.c: Rearrange libart include to avoid multiple
6000 include program (and put libart includes inside #ifdef!)
6002 2003-08-13 Lars Clausen <lrclause@cs.uiuc.edu>
6004 * lib/dialibartrenderer.c: Don't include art_config.h if others
6005 also do, as it isn't #ifdef'd.
6007 * objects/flowchart/ellipse.c (ellipse_update_data): Add
6008 directions for connection points.
6010 2003-08-12 Lars Clausen <lrclause@cs.uiuc.edu>
6012 * objects/flowchart/box.c (box_update_data): Add directions, use
6014 (box_load): Use g_malloc0.
6016 * lib/Makefile.am (libdia_la_SOURCES):
6017 * lib/connectionpoint.c (connpoint_update):
6018 Function to call to update a connection point info in _update_data().
6020 * lib/connectionpoint.h: Convenience DIR_ macros.
6022 * app/preferences.c (prefs_data): Make pretty formatted XML the
6025 * lib/dialibartrenderer.c:
6026 * app/render_libart.c: Make sure art_config.h is included, cause
6027 some libart headers are broken.
6029 * configure.in (HAVE_FREETYPE): Restore CPPFLAGS to old value
6030 after test. Add freetype-config cflags to cflags variable.
6032 2003-08-11 Lars Clausen <lrclause@cs.uiuc.edu>
6034 * app/authors.h: Credits for Krzysztof.
6036 * sheets/Flowchart.sheet.in: Updated descriptions from Krzysztof
6037 Foltman <kfoltman@onet.pl>. It occurs to me that the name (rather
6038 than the description) is visible in the title of the properties
6039 dialog. That ought to be a short description (translatable),
6040 though we still want long descriptions for the tooltips. Hmmm...
6042 * configure.in: Updated to use AC_LINK_IFELSE instead of
6043 AC_TRY_COMPILE, also force to link to check libs on Solaris.
6045 * objects/ER/entity.c (entity_load):
6046 * objects/ER/attribute.c (attribute_load):
6047 * lib/attributes.c (attributes_set_default_font):
6048 Check if font is non-null before unreffing.
6050 2003-08-08 Lars Clausen <lrclause@cs.uiuc.edu>
6052 * app/diagram.c (diagram_ungroup_selected)
6053 (diagram_group_selected): Use the undo apply to make sure grouping
6054 and ungrouping is done in consistent manners. This removes a fair
6055 amount of duplicated code from diagram.c.
6057 * app/undo.c (ungroup_objects_revert, ungroup_objects_apply)
6058 (group_objects_revert, group_objects_apply): Working undo/redo for
6059 diagram tree updates. The initial actions still don't quite work.
6061 2003-08-07 Lars Clausen <lrclause@cs.uiuc.edu>
6063 * app/create_object.c (create_object_button_press):
6065 * app/diagram.c: Undo support for parenting. Uses apply/revert in
6066 undo only for manipulating the parent/child relationships. Things
6067 like removing an object doesn't use the undo functions for
6068 parenting, so any updates to come (like to diagramtree) should be
6071 2003-08-03 Hans Breuer <hans@breuer.org>
6073 * app/create_object.c : minor formating and g_new0 for
6076 * lib/bezier_conn.[hc] lib/beziershape.[hc]
6077 lib/prop_geomtypes.c (prop_geomtypes_register)
6078 objects/standard/bezier.c objects/standard/beziergon.c :
6079 ability to set bezpoints via StdProp api
6081 * plug-ins/python/pydia-property.c : convert list of tuples
6084 * plug-ins/python/diasvg_import.py : use it to
6085 implement part of path parsing. Also minor improvements
6086 like inheritance of group attributes to members,
6087 whitespace, title and style:text/css ignoring ;-)
6089 2003-08-02 Hans Breuer <hans@breuer.org>
6091 * lib/connections.c (connection_move_handle): return
6092 something to make it compile
6093 * lib/object.c(190) : error C4033: 'object_list_move_delta_r'
6094 must return a value -> dito
6095 [Is there a warnings-as-errors switch we could use with gcc
6096 to avoid such in future ?]
6098 * plug-ins/python/pydia-object.h : define *_Check macros
6099 * plug-ins/python/diamodule.c : provide dia.group_create()
6100 * plug-ins/python/pydia-diagramdata.c : add
6101 DiaDiagramData.add_layer()
6102 * plug-ins/python/pydia-property.c : allow to set color by
6105 * plug-ins/python/diasvg_import.py : based on the above
6106 implement a) group support, b) rgb(1,2,3) color handling,
6107 and somewhat fishy data:image/png;base64 support (create
6108 temporary files from inline image data)
6109 d) dump the import errors as text into an 'Error' layer
6111 * plug-ins/python/diasvg.py : add xmlns:xlink, removed a
6112 stray " in draw_rect and corrected error message formating
6114 * plug-ins/pydia/pydia-geometry.c : removed ## to make it
6115 compile with gcc 3.3, fixes bug #117204. Thanks to Daniel
6118 2003-08-01 Hubert Figuiere <hfiguiere@teaser.fr>
6120 * app/magnify.c (create_magnify_tool): allocate with g_new0()
6122 * app/preferences.c (prefs_create_dialog): use checkboxes for boolean
6123 preferences values (see bug 118570). Also group items into a GtkFrame.
6125 2003-07-31 Lars Clausen <lrclause@cs.uiuc.edu>
6130 * app/commands.c (objects_unparent_children_callback):
6132 * app/diagram.c (diagram_unparent_selected,
6133 (diagram_update_menu_sensitivity):
6134 Added unparenting of single children.
6136 * lib/bezier_conn.c:
6137 * lib/bezier_conn.h:
6138 * lib/beziershape.c:
6139 * lib/beziershape.h:
6145 * lib/neworth_conn.c:
6146 * lib/neworth_conn.h:
6153 * objects/EML/instantiation.c:
6154 * objects/EML/interaction-ortho.c:
6155 * objects/EML/interaction.c:
6156 * objects/EML/process.c:
6157 * objects/ER/attribute.c:
6158 * objects/ER/entity.c:
6159 * objects/ER/participation.c:
6160 * objects/ER/relationship.c:
6161 * objects/FS/flow-ortho.c:
6162 * objects/FS/flow-poly.c:
6163 * objects/FS/flow.c:
6164 * objects/FS/function.c:
6165 * objects/GRAFCET/action.c:
6166 * objects/GRAFCET/condition.c:
6167 * objects/GRAFCET/step.c:
6168 * objects/GRAFCET/transition.c:
6169 * objects/GRAFCET/vector.c:
6170 * objects/GRAFCET/vergent.c:
6171 * objects/Misc/analog_clock.c:
6172 * objects/SADT/annotation.c:
6173 * objects/SADT/arrow.c:
6174 * objects/SADT/box.c:
6175 * objects/UML/activity.c:
6176 * objects/UML/actor.c:
6177 * objects/UML/association.c:
6178 * objects/UML/branch.c:
6179 * objects/UML/class.c:
6180 * objects/UML/classicon.c:
6181 * objects/UML/component.c:
6182 * objects/UML/constraint.c:
6183 * objects/UML/dependency.c:
6184 * objects/UML/fork.c:
6185 * objects/UML/generalization.c:
6186 * objects/UML/implements.c:
6187 * objects/UML/large_package.c:
6188 * objects/UML/lifeline.c:
6189 * objects/UML/message.c:
6190 * objects/UML/node.c:
6191 * objects/UML/note.c:
6192 * objects/UML/object.c:
6193 * objects/UML/realizes.c:
6194 * objects/UML/small_package.c:
6195 * objects/UML/state.c:
6196 * objects/UML/state_term.c:
6197 * objects/UML/usecase.c:
6198 * objects/chronogram/chronoline.c:
6199 * objects/chronogram/chronoref.c:
6200 * objects/custom/custom_object.c:
6201 * objects/flowchart/box.c:
6202 * objects/flowchart/diamond.c:
6203 * objects/flowchart/ellipse.c:
6204 * objects/flowchart/parallelogram.c:
6205 * objects/network/bus.c:
6206 * objects/network/wanlink.c:
6207 * objects/standard/arc.c:
6208 * objects/standard/bezier.c:
6209 * objects/standard/beziergon.c:
6210 * objects/standard/box.c:
6211 * objects/standard/ellipse.c:
6212 * objects/standard/image.c:
6213 * objects/standard/line.c:
6214 * objects/standard/polygon.c:
6215 * objects/standard/polyline.c:
6216 * objects/standard/textobj.c:
6217 * objects/standard/zigzagline.c:
6218 Binary compatibility update: Added return value for foo_move() and
6219 foo_move_handle(). Orthconn derivatives also returns change from
6220 orthconn_move_handle().
6222 * lib/orth_conn.c: Undo support for autorouting. Neworthconn
6223 doesn't support it yet.
6225 * lib/object.c (object_list_move_delta_r, object_list_move_delta):
6226 Add returning ObjectChange from object moves. Needs to handle
6227 multiple object moves.
6229 * app/modify_tool.c (modify_motion, modify_release): Add
6230 ObjectChange from move & move_handle to undo stack.
6232 * objects/EML/instantiation.c (instantiation_move): Removing
6233 duplicate move & update.
6235 2003-07-30 Lars Clausen <lrclause@cs.uiuc.edu>
6237 * plug-ins/xfig/xfig-export.c: Added support for arrow head
6238 export. Many arrow types not supported by XFig, replacing those
6239 with standard arrows. Not sure whether it'd be better to render
6240 them as a group of lines instead. You'd lose the arrow-ness for
6241 further editing, but preserve the actual shape of it. Also added
6242 support for dash length.
6244 * plug-ins/xfig/xfig-import.c: Added support for dash length settings.
6246 * plug-ins/xfig/fig-format-3.2: Added copy of Fig format
6247 description for version 3.2, for reference.
6249 * plug-ins/xfig/xfig-import.c: Added import of arrows.
6251 * app/menus.c: Removed prefs item from Gnome diagram menu. Made
6252 Align Vertical Adjacent call _v rather than _h.
6254 2003-07-29 Hubert Figuiere <hfiguiere@teaser.fr>
6256 * app/scroll_tool.c (create_scroll_tool):
6257 * app/modify_tool.c (create_modify_tool): use g_new0() to
6260 2003-07-29 Lars Clausen <lrclause@cs.uiuc.edu>
6262 * configure.in: Added proper settings for XSLT_LIBS and XSLT_CFLAGS.
6264 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
6266 * configure.in: Added Macedonian (mk) to ALL_LINGUAS
6268 2003-07-23 Dmitry G. Mastrukov <dmitry@taurussoft.org>
6270 * configure.in: Added Belarusian to ALL_LINGUAS.
6272 2003-07-19 Hans Breuer <hans@breuer.org>
6275 Make the xslt plug-in work on win32, too. It appears
6276 to require a quite recent version of libxml and libxslt,
6277 otherwise windoze pathes aren't translated correctly
6278 during file processing
6281 * plug-ins/xslt/xslt.h : #include <glib.h> before
6284 * plug-ins/xslt/xslt.c : plugged some memory leaks and do
6285 the 'script' file finding similar to how it is done
6286 with the python scripts (no need for hardcoded pathes,
6287 removed the 'plugin' part from the path)
6289 * plug-ins/xslt/stylesheets.xml : added again. It does
6290 not have any path but only the pure filename again
6292 * plug-ins/xslt/stylesheets.xml.in : removed
6294 * plug-ins/xslt/Makefile.am : removed 'plugin' and the
6295 rule to process stylesheets.xml.in
6297 * plug-ins/makefile.msc : added xslt
6299 2003-07-19 Hans Breuer <hans@breuer.org>
6301 Finally Dia learned to remember the recent selected sheet
6303 * app/preferences.[hc] : added prefs.recent_sheet
6304 * app/interface.c : restore and remember the sheet-option-menu
6305 history, but only if the respective number is stiil available.
6306 This additional adds robustness against running Dia without
6307 any sheet (e.g. installation problems)
6308 * app/app_procs.c : call prefs_safe() in app_exit() to remember
6309 changes which are not done by the prefernces dialog
6311 * app/diagram_tree_menu.c app/diagram_tree_menu_callbacks.c :
6312 removed every call (especially the conditional ones) to prefs_safe().
6313 Before prefs_safe() was called _many_ times during Dia startup
6315 2003-07-18 Hans Breuer <hans@breuer.org>
6317 * app/makefile.msc lib/makefile.msc lib/libdia.def :
6320 * lib/color.c : use gtk_widget_get_default_visual();
6321 as suggested in #114536
6323 * app/interface.c app/disp_callbacks.c :
6324 moved round_up () to the latter file where it is used
6326 * app/linewidth_area.c : #include "interface.h" for
6327 interface_get_toolbox_shell()
6329 2003-07-18 Hubert Figuiere <hfiguiere@teaser.fr>
6331 * plug-ins/pixbuf/.cvsignore
6332 * shapes/Cisco/.cvsignore:
6335 2003-07-17 Lars Clausen <lrclause@cs.uiuc.edu>
6337 * app/dia-props.c (diagram_properties_retrieve): Use
6338 diagram_get_name() to add the diagram name to the diagram
6342 * app/diagram.c (diagram_get_name): New function to get a
6343 reasonable diagram name.
6345 * lib/diagramdata.h: Added major_lines, dynamic and colour to grid
6346 info. Still need to be able to set dynamic grid. Also ought to
6347 follow Gnome style and have instant apply.
6349 * app/preferences.h:
6350 * app/preferences.c (prefs_data): Remove option to use stippled
6351 grid, add option for major line offset. Default to 5 minor lines
6353 Add option for dynamically sized grid.
6355 * app/display.c (ddisplay_render_pixmap): Call pagebreak_draw as well.
6357 * app/grid.c: Pagebreak drawing separated out. Grid drawing using
6358 stippled/solid to display minor/major grid lines. Line drawing in
6359 separate functions away from calculating line distance.
6361 * app/grid.h: Split page break drawing out of grid_draw.
6363 * app/layer_dialog.c (layer_dialog_show): Patch from Hubert
6364 Figuiere <hfiguiere@teaser.fr>: Layer dialog show go to front
6365 when menu item is selected.
6367 2003-07-15 Lars Clausen <lrclause@cs.uiuc.edu>
6369 * configure.in: Removed -Winline flag to make way for important
6372 * samples/UML-demo.dia: Adjusted for 0.91 font size, saved as
6373 non-compressed. Should fix bug #117381, also look prettier.
6376 * dia.desktop.in: Patch from Mark McLoughlin <mark@skynet.ie>:
6377 Set up desktop info more properly.
6379 2003-07-13 Lars Clausen <lrclause@cs.uiuc.edu>
6396 Autorouting directions patch from Krzysztof Foltman
6399 * app/menus.c: Wrong GNOME paren fixed. Correct callbacks for
6400 GNOME parent menu items.
6402 * app/authors.h: Added Vadim to contributors list.
6404 2003-07-12 Lars Clausen <lrclause@cs.uiuc.edu>
6406 * app/commands.[ch]:
6407 * app/create_object.c:
6408 * app/disp_callbacks.[ch]:
6419 * objects/UML/large_package.c: Patch from Vadim Berezniker
6420 <vadim@berezniker.com>:
6421 Objects may "parent" other objects, i.e. contain them within
6422 themselves, restrain them and move them along. Some more stuff is
6423 needed, such as selection and individual unparenting. This adds
6424 parenting to UML - Large Package rather than Box.
6426 2003-07-11 Lars Clausen <lrclause@cs.uiuc.edu>
6428 * app/linewidth_area.c: Patch from Krzysztof Foltman
6429 <kfoltman@onet.pl>: Make linewidth dialog conform to HIG (well,
6430 conform more, at least:).
6432 * plug-ins/metapost/render_metapost.[ch] : Applied patch from
6433 Chris Sperandio <sperandi@eng.usf.edu>: Fixed linewidths and
6434 arcs. Implemented images (though there is some pixelization and
6435 banding in the output). Changed output file format to be a little
6438 * app/app_procs.c (app_exit): Added message for double exit, which
6439 shouldn't happen any more. Also preventing strange g_object_unref
6440 messages by having a printf after gtk_main_quit. This is really
6443 * app/interface.c (toolbox_delete): Avoid double app_exit call by
6444 removing handler for destroy when delete is called.
6446 2003-07-07 Lars Clausen <lrclause@cs.uiuc.edu>
6449 * app/display.c (ddisplay_scroll_to_object,
6450 ddisplay_scroll_center_point): New function for easy scrolling to
6453 2003-07-06 Lars Clausen <lrclause@cs.uiuc.edu>
6455 * plug-ins/xslt/Makefile.am: Patch from Hubert Figuiere: Add
6456 $(srcdir) on stylesheets.xml.
6458 * app/menus.c: Patch from Hubert Figuiere: Adds help menu to
6459 diagram menus (since they're at the top by default now). Also
6460 move the Properties... menu item from Dialogs to Objects. Dialogs
6461 menu should disappear at some point.
6463 * autogen.sh: Patch from Hubert Figuiere: Don't automatically call
6464 ./configure from ./autogen.sh, as configure may need to be run
6465 from a different directory. (Also more standard this way.)
6467 * app/app_procs.c (app_init):
6468 * app/Makefile.am (INCLUDES): Gnome standardization patch from
6471 2003-07-03 Lars Clausen <lrclause@cs.uiuc.edu>
6473 * objects/flowchart/parallelogram.c (pgram_update_data):
6474 Left/right alignment for parallelograms. Doesn't use all
6475 available space, but then pgrams also ignore their shear value.
6476 This thing needs a loving hand.
6478 2003-07-01 Hans Breuer <hans@breuer.org>
6480 * lib/properties.h : introduce PROP_FLAG_OPTIONAL
6481 * lib/proplist.c : don't complain if optional attr is missing
6482 * lib/orth_conn.h : make "orth_autoroute" optional to
6483 stop complaining with older files.
6485 2003-06-13 Guntupalli Karunakar <karunakar@freedomink.org>
6487 * configure.in: Added "ml" for Malayalam in ALL_LINGUAS.
6489 2003-06-05 Andrew Halper <ashalper@cox.net>
6491 * app/diagram_tree.c : add scrolling of drawing area
6492 to desired object on "Locate". Patch modified to use new ddisplay
6493 function ddisplay_scroll_to_object().
6495 2003-06-11 Lars Clausen <lars@raeder.dk>
6497 * lib/diagramdata.h: Added major_lines, dynamic and colour to grid
6498 info. Before next version, the grid dialog (view dialog, really)
6499 must be redone to allow a) instant apply, b) apply to all
6500 diagrams, and c) setting colour, dynamic, major lines.
6502 * app/preferences.h:
6503 * app/preferences.c (prefs_data): Remove option to use stippled
6504 grid, add option for major line offset. Default to 5 minor lines
6506 Add option for dynamically sized grid.
6508 * app/display.c (ddisplay_render_pixmap): Call pagebreak_draw as well.
6510 * app/grid.c: Pagebreak drawing separated out. Grid drawing using
6511 stippled/solid to display minor/major grid lines. Line drawing in
6512 separate function away from calculating line distance.
6514 * app/grid.h: Split page break drawing out of grid_draw.
6516 2003-05-15 Hans Breuer <hans@breuer.org>
6518 * plug-ins/python/diasvg.py : add xlink definition,
6519 also avoid to put spaces into attribute values. At least
6520 Sodipodi doesn't like them in width/height attributes
6522 * plug-ins/python/diasvg_import.py : add simple scaling.
6523 Some (more) handling for <svg>, <desc>, <circle>
6525 * plug-ins/python/scascale.py : (new file) which does
6526 some experimental scaling via StdProp api
6528 * plug-ins/python/pydia-cpoint.c
6529 plug-ins/python/pydia-handle.c : return PyDiaPoint for
6530 obj.pos not simple tuples. PyDiaPoint has a tuple interface
6531 so this may even be api compatible ...
6533 2003-05-11 Hans Breuer <hans@breuer.org>
6535 * app/line_area.c : add window position persitence
6537 * lib/poly_conn.[hc] lib/polyshape.[hc] : allow to set
6538 'poly_points' via StdProp api
6539 * lib/neworth_conn.h : don't rely on OrthConn and
6540 NewOrtConn having the same struct offsets
6542 * lib/properties.h : introduce PROP_FLAG_WIDGET_ONLY
6543 to help separating 'useful' properies - in terms of
6546 * objects/custom/custom_object.c
6548 add the missing prop_desc_list_calculate_quarks to
6549 all the *_describe_props()
6551 * objects/standard/beziergon.c objects/standard/bezier.c :
6552 explicit initializtion of default_user_data
6553 * objects/standard/polygon.c objects/standard/polyline.c :
6554 Same here. Also use POLY<CONN|SHAPE>_COMMON_PROPERTIES
6556 * plug-ins/python/diamodule.c : implement dia.register_import
6558 * plug-ins/python/makefile.msc : need to link with Pango
6559 for pango_color_parse()
6561 * plug-ins/python/pydia-property.c : add a bunch of type
6562 conversions to PyDiaProperty_ApllyToObject()
6564 * plug-ins/python/diasvg_import.py : (new file) which currently
6565 is mainly a stress test for PyDia but for some files already
6566 produces better results than svg-import.c
6568 2003-05-06 Lars Clausen <lrclause@cs.uiuc.edu>
6570 * objects/UML/uml.c (uml_get_operation_string): Avoid ':' on
6571 type-less operations.
6573 003-05-03 Hasbullah Bin Pit <sebol@ikhlas.com>
6575 * configure.in(ALL_LINGUAS): Added "ms".
6577 2003-05-01 Lars Clausen <lrclause@cs.uiuc.edu>
6579 * plug-ins/xslt/xslt.c (xslt_ok):
6580 * plug-ins/shape/shape-export.c (new_shape_renderer):
6581 * plug-ins/svg/render_svg.c (new_svg_renderer):
6582 * plug-ins/hpgl/hpgl.c (export_data):
6583 * plug-ins/dxf/dxf-export.c (export_dxf):
6584 * plug-ins/metapost/render_metapost.c (export_metapost):
6585 * plug-ins/pstricks/render_pstricks.c (export_pstricks):
6586 * plug-ins/xfig/xfig-export.c (export_fig):
6587 * plug-ins/wpg/wpg.c (export_data):
6588 * plug-ins/cgm/cgm.c (export_cgm):
6589 * app/render_eps.c (export_eps):
6590 * app/export_png.c (export_png_ok):
6591 * app/load_save.c (diagram_data_save): Adding and standardizing
6592 output file error messages to include fopen error message.
6594 2003-05-01 Steffen Macke <sdteffen@web.de>
6596 * app/persistence.c: do not use unistd.h for MSVC build
6598 2003-04-30 Lars Clausen <lrclause@cs.uiuc.edu>
6600 * sheets/Assorted.sheet.in
6601 * sheets/Circuit.sheet.in
6602 * sheets/Contact.sheet.in
6603 * sheets/EML.sheet.in
6604 * sheets/ER.sheet.in
6605 * sheets/Electric.sheet.in
6606 * sheets/FS.sheet.in
6607 * sheets/Flowchart.sheet.in
6608 * sheets/GRAFCET.sheet.in
6609 * sheets/Logic.sheet.in
6610 * sheets/MSE.sheet.in
6611 * sheets/Misc.sheet.in
6612 * sheets/Pneumatic.sheet.in
6613 * sheets/SADT.sheet.in
6614 * sheets/SDL.sheet.in
6615 * sheets/UML.sheet.in
6616 * sheets/chronogram.sheet.in
6617 * sheets/ciscohub.sheet.in
6618 * sheets/ciscomisc.sheet.in
6619 * sheets/cisconetwork.sheet.in
6620 * sheets/ciscorouter.sheet.in
6621 * sheets/civil.sheet.in
6622 * sheets/network.sheet.in
6623 * sheets/sybase.sheet.in:
6624 Patch from Jan-Willem Harmanny <jwharmanny@zeelandnet.nl>
6625 standardizes shape descriptions to use no articles, no 'create
6628 * app/interface.c (tool_data): Standard objects follow same
6631 2003-04-29 Lars Clausen <lrclause@cs.uiuc.edu>
6633 * app/color_area.c (color_area_edit): More informative title on
6634 color selection dialog.
6636 * app/disp_callbacks.c (ddisplay_drop_object): Update menu
6637 sensitivity when dropping object in. Also reset tool to pointer.
6639 * objects/flowchart/diamond.c (diamond_update_data):
6640 * objects/flowchart/parallelogram.c (pgram_update_data): Added
6641 left and right alignment options.
6643 2003-04-28 Lars Clausen <lrclause@cs.uiuc.edu>
6645 * objects/flowchart/box.c: Added left and right alignment options.
6647 2003-04-26 Lars Clausen <lrclause@cs.uiuc.edu>
6649 * app/persistence.c (persistence_load): Test existence of
6650 persistence file before trying to open it.
6652 2003-04-25 Lars Clausen <lrclause@cs.uiuc.edu>
6654 * app/properties.c: Escape now closes properties dialogs.
6656 2003-04-25 Hans Breuer <hans@breuer.org>
6658 * app/config.h.win32 : bump version to 0.91+cvs
6660 * app/makefile.msc lib/makefile.msc lib/libdia.def : updated
6662 * lib/dia_dirs.c : G_OS_WIN32: #define mkdir(s,a) _mkdir(s)
6664 * app/commands.c : don't leak "netscape" if getenv("BROWSER")
6667 * app/presistence.c : need to #include "dia_xml_libxml.h"
6670 * app/layer_dialog.c : make delayed creation work by protecting
6671 all non static layer_dialog_*() with :
6672 if (layer_dialog == NULL || layer_dialog->dialog == NULL)
6673 create_layer_dialog();
6674 * app/app_procs.c : removed /* create_layer_dialog(); */
6676 * objects/uml/association.c : give it a minimal StdProp
6677 implementation to fix bug #108896
6678 * lib/object_defaults.c : don't try to copy props if there
6679 is no obj->ops->describe_props
6681 2003-04-24 Lars Clausen <lrclause@cs.uiuc.edu>
6683 * objects/standard/image.c (image_create):
6684 * objects/standard/ellipse.c (ellipse_create):
6685 * objects/standard/box.c (box_create):
6686 * objects/flowchart/ellipse.c (ellipse_create):
6687 * objects/flowchart/diamond.c (diamond_create):
6688 * objects/flowchart/box.c (box_create):
6689 * objects/custom/custom_object.c (custom_create):
6690 * objects/ER/relationship.c (relationship_create):
6691 * objects/ER/entity.c (entity_create):
6692 * objects/ER/attribute.c (attribute_create): Initialize
6693 elem->height to DEFAULT_HEIGHT instead of DEFAULT_WIDTH.
6695 * lib/dia_svg.c (dia_svg_parse_style): Added case to set center
6699 * plug-ins/Makefile.am:
6700 * plug-ins/xslt/Makefile.am:
6701 * plug-ins/xslt/xslt.c (dia_plugin_init):
6702 Patch from Götz Waschk <waschk@informatik.uni-rostock.de> uses
6703 automake-style if to only include xslt dir when needed. Works
6704 with automake 1.4 and up, at least.
6706 2003-04-22 Lars Clausen <lrclause@cs.uiuc.edu>
6708 * lib/diasvgrenderer.c (draw_string):
6709 * lib/dia_svg.c (dia_svg_parse_style): Use
6710 text-anchor:(start|middle|end).
6712 * lib/diasvgrenderer.c (draw_polygon, fill_polygon): Use svg
6713 polygon rather than polyline & avoid missing line pieces.
6714 (get_draw_style): Set fill-opacity to 0 on draw_style to avoid
6715 black-filled things.
6717 2003-04-21 Lars Clausen <lrclause@cs.uiuc.edu>
6719 * app/persistence.c (persistence_load): Check that persistence
6720 file exists before trying to read it.
6721 (persistence_update_window): Removed printf.
6723 * objects/GRAFCET/step.c: Don't copy defaults for name and id.
6725 * lib/autoroute.c: Take badness into the layouters again, as some
6726 of them know they can do things that are pretty but would be
6727 counted as ugly by the default calculation.
6729 * objects/UML/large_package.c: Shrink package name box when no
6730 stereotype is present.
6732 * lib/orth_conn.h (ORTHCONN_COMMON_MENUS):
6733 * lib/orth_conn.c: Added object menu item for autorouting.
6735 * objects/FS/flow-ortho.c (orthflow_get_object_menu):
6736 Autorouting, plus set initial dragging handle to be the end, not
6738 (orthflow_draw): Flipped arrow place to be at the end, as
6739 originally intended (got lost in arrow update).
6741 * objects/standard/zigzagline.c (zigzagline_get_object_menu):
6742 * objects/UML/dependency.c (dependency_get_object_menu):
6743 * objects/UML/association.c (association_get_object_menu):
6744 * objects/UML/realizes.c (realizes_get_object_menu):
6745 * objects/SADT/arrow.c (sadtarrow_get_object_menu):
6746 * objects/GRAFCET/vector.c (arc_get_object_menu):
6747 * objects/ER/participation.c (participation_get_object_menu):
6748 * objects/EML/instantiation.c (instantiation_get_object_menu):
6749 * objects/UML/generalization.c (generalization_get_object_menu):
6750 * objects/EML/interaction-ortho.c (interaction_ortho_get_object_menu):
6751 Autorouting setup (currently disabled for SADT/arrow).
6753 2003-04-19 Lars Clausen <lrclause@cs.uiuc.edu>
6755 * lib/autoroute.c: Removed printfs.
6758 * lib/autoroute.[ch] (autoroute_layout_orthconn): Handle
6759 non-connected orthconns too.
6761 2003-04-18 Lars Clausen <lrclause@cs.uiuc.edu>
6764 * lib/orth_conn.c: Function to set autorouting on/off, use
6765 autorouting in move_handle (turns off when a middle handle is
6766 moved), added to standard orthconn props.
6768 * app/disp_callbacks.c (create_object_menu, popup_object_menu):
6769 Stopped signal emission for check menu items being set to on/off.
6771 * objects/standard/zigzagline.c: Added autorouting object menu item.
6773 * lib/autoroute.c: Added last cases of autoroute layout, fixed
6774 floating point comparison bug, cleaned up layouters, tweaked
6775 badness to allow kinks.
6777 2003-04-17 Lars Clausen <lrclause@cs.uiuc.edu>
6779 * lib/connectionpoint.h: Changed DIR_* macros to go around the
6782 * lib/orth_conn.[ch] (orthconn_set_points): New function to set all
6784 * objects/standard/zigzagline.c (zigzagline_move_handle): Removed
6785 old cruft, added call to autoroute (currently cannot be turned
6786 off). Need to check what undo thinks about this.
6787 * lib/autoroute.[ch]: Fairly working simple layout.
6789 * lib/Makefile.am (libdia_la_SOURCES): Added autoroute files.
6790 * lib/autoroute.[ch]: Start of proper autorouting functionality.
6792 2003-04-10 Lars Clausen <lrclause@cs.uiuc.edu>
6794 * lib/prop_widgets.c: Show labels on ListProp.
6796 2003-04-11 Steffen Macke <sdteffen@web.de>
6798 * doc/en/dia-manual.xml: removed reference of non-existing authors
6800 * doc/en/usage-objects-selecting: commented out misleading section
6803 2003-04-10 Lars Clausen <lrclause@cs.uiuc.edu>
6805 * app/app_procs.c (app_init): Layer window now opened at startup
6808 * lib/prop_widgets.c: Show labels on ListProp.
6810 2003-04-09 Steffen Macke <sdteffen@web.de>
6812 * doc/en/*.sgml: removed files
6813 * doc/en/*.xml: added files
6814 * doc/en/Makefile.am: switched to XML DocBook
6816 2003-04-09 Lars Clausen <lrclause@cs.uiuc.edu>
6818 * plug-ins/xslt/xslt.c (dia_plugin_init):
6819 * configure.in: Added --with-xslt-prefix to allow other XSLT
6820 placements than /usr/lib.
6822 2003-04-09 Steffen Macke <sdteffen@web.de>
6824 * lib/makefile.mingw: updated to include latest files, including
6826 * lib/geometry.h: don't define isinf and finite for mingw gcc build
6828 2003-04-08 Lars Clausen <lrclause@cs.uiuc.edu>
6830 * app/persistence.h:
6831 * app/persistence.c (persistence_register_window_create):
6832 * app/app_procs.c (app_init):
6833 Register window function that doesn't create the window unless it
6834 should be open. Other windows should move to this, so startup
6835 speed can be reduced.
6837 * app/persistence.h: Removed call prototype for update_window, now
6839 * app/persistence.c (persistence_register_window): A number of
6840 fixes. Doesn't forget position when window is closed. Now
6841 actually loads prefs.
6843 * app/layer_dialog.c (create_layer_dialog): Removed extraneous
6846 * app/preferences.c (prefs_data):
6847 * app/diagram_tree_window.h:
6848 * app/diagram_tree_window.c: Added persistence registering.
6849 Removed prefs items storing size and openness.
6851 * app/sheets_dialog.c (create_sheets_main_dialog): Added
6852 persistence registering.
6854 * app/Makefile.am (dia_core_files): Added persistence files.
6857 * lib/dia_dirs.c (dia_config_ensure_dir): New function to ensure
6858 that dirs are present.
6860 * app/app_procs.c (app_init): Loads persistent values on startup.
6861 (app_exit): Saves persistent values on exit.
6863 * app/layer_dialog.c (create_layer_dialog): Registers the layer
6864 window for persistence.
6866 * app/persistence.[ch]: New files handling various kinds of
6869 2003-04-04 Lars Clausen <lrclause@cs.uiuc.edu>
6871 * lib/arrows.c: Adjusted arrow head spacing, more systematic arrow
6872 head spacing calculations. Added half-circle arrow from Matthieu
6873 Sozeau <mattam@netcourrier.com>
6875 2003-04-03 Lars Clausen <lrclause@cs.uiuc.edu>
6877 * app/app_procs.c (app_init): Moved layer dialog init to allow
6878 tooltips to be initialized.
6880 * app/interface.c (create_display_shell): More tooltips.
6882 * app/linewidth_area.c (linewidth_area_create)
6883 (linewidth_area_events):
6884 * app/color_area.c (color_area_events, color_area_create):
6885 Made tooltips work by embedding drawing_area in event_box.
6887 * app/interface.c (create_display_shell,
6888 (create_lineprops_area, create_color_area): Added a few tooltips.
6890 2003-04-01 Lars Clausen <lrclause@cs.uiuc.edu>
6892 * app/pixmaps/off-grid.xpm:
6893 * app/pixmaps/on-grid.xpm:
6894 * app/Makefile.am (EXTRA_DIST): Added snap to grid icons.
6897 * app/commands.c (view_snap_to_grid_callback):
6898 * app/display.c (ddisplay_set_snap_to_grid)
6899 (update_snap_grid_status):
6900 * app/interface.c (create_display_shell, grid_toggle_snap):
6901 Added snap-to-grid status button.
6903 2003-03-31 Lars Clausen <lrclause@cs.uiuc.edu>
6905 * app/app_procs.c (app_init): Create a new diagram if a file on
6906 the command line isn't found.
6908 2003-03-17 Lars Clausen <lrclause@cs.uiuc.edu>
6910 * lib/dialibartrenderer.c (draw_string): Correct color handling
6913 2003-03-14 Lars Clausen <lrclause@cs.uiuc.edu>
6916 * doc/en/dia-manual.sgml:
6917 * doc/pl/dia-manual.sgml:
6919 * dia.spec (Release):
6920 Version 0.91 is here!
6922 2003-02-10 Steffen Macke <sdteffen@web.de>
6924 * plug-ins/wmf/wmf.cpp: patch from Ken Tsukahara
6925 <ken.tsukahara@tmt-d.co.jp>, fixes windows printing and WMF export of
6926 non-ANSI characters, closes #107980
6928 2003-03-04 Lars Clausen <lrclause@cs.uiuc.edu>
6932 * dia.spec (Release):
6933 * doc/en/dia-manual.sgml: Upping to pre6.
6935 * configure.in: Missing comma broke HAVE_IEEEFP_H test.
6937 * app/lineprops_area.c (dia_arrow_chooser_new): Fixing bug
6938 #107511: Make arrow selector for correct arrow type.
6940 2003-03-03 Lars Clausen <lrclause@cs.uiuc.edu>
6942 * shapes/Circuit/Makefile.am (SHAPES): Added hjumper.png to
6945 2003-03-02 Lars Clausen <lrclause@cs.uiuc.edu>
6947 * doc/en/dia-manual.sgml:
6950 * dia.spec (Release): Upping to pre5.
6952 * configure.in: Add freetype-config derived libs to the
6953 AC_CHECK_LIB statement for freetype.
6955 2003-02-28 Hans Breuer <hans@breuer.org>
6957 [fix for bug #107203]
6959 * lib/diarenderer.c : add warning 'implementation'
6960 for fill_rect to avoid crashing with a renderer
6961 which does not implement this required function.
6963 * plug-ins/dxf/dxf-export.c : provide - still empty -
6964 'implementations' for fill_rect and fill_polygon
6965 to suppress the above warnings. Now it works like
6968 2003-02-28 Steffen Macke <sdteffen@web.de>
6970 * samples/all_objects.dia: New sheet containing all dia shapes
6971 and objects; one layer per sheet
6973 2003-02-28 Lars Clausen <lrclause@cs.uiuc.edu>
6975 * lib/prop_text.c (multistringprop_get_widget,
6976 multistringprop_reset_widget, multistringprop_set_from_widget):
6977 Now uses GtkTextView instead of deprecated stuff, and also works:)
6979 * configure.in: Slightly more informative error message for isinf.
6981 * dia.spec (Requires): Require libxml2 rather than libxml.
6983 2003-02-28 Steffen Macke <sdteffen@web.de>
6985 * shapes/Circuit/hjumper.png:
6986 * shapes/Circuit/hjumper.shape: added missing icon for horizontal
6989 2003-02-26 Lars Clausen <lrclause@cs.uiuc.edu>
6991 * doc/en/dia-manual.sgml:
6993 * dia.spec (Release):
6994 * NEWS: New prerelease 0.91pre4, two important fixes.
6996 2003-02-25 Lars Clausen <lrclause@cs.uiuc.edu>
6998 * plug-ins/xslt/Makefile.am (EXTRA_DIST): Also dist
7001 * app/commands.c (help_manual_callback): More correct URL for help
7002 page (include file://, was broken on Dillo without it).
7004 2003-02-24 Lars Clausen <lrclause@cs.uiuc.edu>
7006 * app/disp_callbacks.c: Set modifed when text is changed.
7008 * app/modify_tool.c (modify_button_release): Allow undo for moving
7011 2003-02-16 Lars Clausen <lrclause@cs.uiuc.edu>
7014 * doc/en/dia-manual.sgml:
7016 * configure.in: New prerelease with important bugfix.
7017 * shapes/network/digitizing_board.png:
7018 * shapes/network/plotter.png: Re-adding with -kb.
7020 2003-02-17 Abel Cheung <maddog@linux.org.hk>
7022 * app/app_procs.c (app_init): Add comment for translators.
7024 2003-02-16 Lars Clausen <lrclause@cs.uiuc.edu>
7026 * lib/filter.c (filter_register_import, filter_register_export):
7027 Don't accept filters with NULL description.
7029 * lib/plug-ins.c (dia_plugin_load): Fail if there's no description
7030 (as we assume the description is available in other places).
7032 2003-02-15 Lars Clausen <lrclause@cs.uiuc.edu>
7034 * app/disp_callbacks.c (ddisplay_vsb_update, ddisplay_hsb_update):
7035 * app/display.c (ddisplay_resize_canvas): Use
7036 ddisplay_add_update_all().
7037 (ddisplay_add_update_all): Free display and update lists when
7038 doing update_all, as they'll be regenerated immediately to cover
7039 all visible area. Fixes bug #106165, crash when resizing. This
7040 appears to be the original AA crash bug, believed long extinct.
7042 2003-02-13 Lars Clausen <lrclause@cs.uiuc.edu>
7044 * app/commands.c (help_manual_callback): Use file: protocol for
7047 * plug-ins/xslt/.cvsignore: Ignore .o files, please.
7049 * plug-ins/xslt/stylesheets: Removed old-style config file.
7051 * plug-ins/xslt/stylesheets.xml.in: New XML-based config file.
7053 * plug-ins/xslt/Makefile.am:
7054 * plug-ins/xslt/xslt.c: Applied patch from Matthieu, improved path
7055 handling (no more DIA_PLUGIN_PATH).
7057 2003-02-11 Lars Clausen <lrclause@cs.uiuc.edu>
7059 * plug-ins/svg/render_svg.c:
7060 * lib/diasvgrenderer.c: Fixed numeric localized output issues.
7062 2003-02-10 Lars Clausen <lrclause@cs.uiuc.edu>
7064 * objects/SADT/arrow.c (sadtarrow_draw): Clamp cosa, cosb to
7065 [-1.0, 1.0]. Shouldn't be necessary, but in some cases the
7066 side of the triangle is longer than the hypotenuse. Rounding
7069 2003-02-09 Lars Clausen <lrclause@cs.uiuc.edu>
7073 * doc/en/dia-manual.sgml: Update for pre2.
7075 * app/menus.c (display_menu_items): Fixed wrongly place separators.
7077 * objects/flowchart/box.c (box_update_data): Applied patch from
7078 Eivind Tagseth <eivind-gnome@multinet.no> to allow resize (with
7081 * app/paginate_psprint.c (print_page): Set paper name, so it
7082 convinces ps printers to use to right size.
7084 2003-02-07 Lars Clausen <lrclause@cs.uiuc.edu>
7086 * app/properties.c (properties_show): Hide the dialog if the
7087 object is NULL (get rid of 'no properties' randomly popping up).
7089 2003-02-06 Lars Clausen <lrclause@cs.uiuc.edu>
7091 * plug-ins/pixbuf/pixbuf.c (export_data): Adjust width and height
7092 for diagrams not starting at origo.
7094 2003-02-05 Lars Clausen <lrclause@cs.uiuc.edu>
7096 * dia.spec (BuildRequires): Use libxml2-devel.
7098 * plug-ins/pixbuf/Makefile.am: Added to CVS.
7100 * RELEASE-PROCESS: Note on RPM version numbers.
7102 * app/interface.c (create_display_shell): Don't set as toolbar
7103 under Unix, either. Especially not the diagram shell. It removes
7104 it from the taskbar and makes it unresizable, always-on-top with
7105 OpenBox. TOOLBAR != TOOLBOX. Setting toolbox to the only
7106 appropriate thing, UTILITY, is not good either, you lose resizing
7107 and minimizing/maximizing under OpenBox.
7109 * app/menus.c (display_menu_items): Set delete item to use Delete.
7111 2003-02-04 Lars Clausen <lrclause@cs.uiuc.edu>
7113 * dia.spec (BuildRequires, Requires): Updated for Gtk2
7116 * app/disp_callbacks.c (ddisplay_canvas_events): Only add a
7117 display flush when getting focus in, or we may get an update after
7118 the diagram has been destroyed in some cases. Fixes bug #105221.
7120 * plug-ins/xfig/xfig-import.c: Notes on the splines used by XFig.
7122 * lib/diarenderer.c: Notes on the basis matrix for our beziers.
7124 * app/app_procs.c (app_init): Fixed missing popt context for Gnome
7125 - gnome-compiled Dia will now read files specified on the command line.
7127 2003-02-03 Lars Clausen <lrclause@cs.uiuc.edu>
7129 * INSTALL (REQUIREMENTS): Updated requirements section.
7131 * configure.in: Better finite() check from Mårten Svantesson
7132 <f95-msv@nada.kth.se>. Doesn't seem to generate strange dangly
7135 2003-02-03 Lars Clausen <lrclause@cs.uiuc.edu>
7137 * plug-ins/xfig/xfig-import.c: Notes on spline conversions.
7139 * app/app_procs.c (debug_break): Added some code to avoid
7140 over-eager optimizations removing the call. Surely there's a
7141 nicer way, but I'm not sure how.
7143 * app/diapsft2renderer.c (draw_bezier_outline): Removed paps relic
7144 that set text to black.
7146 2003-02-02 Lars Clausen <lrclause@cs.uiuc.edu>
7148 * NEWS: Mention of Twiki as doc source for Python.
7150 * plug-ins/pixbuf/pixbuf.c: Export with pixbuf if
7151 libart/libpng is not available. Later when we have a way of
7152 letting the user pick options in the file select dialog we shall
7153 allow the choice when applicable.
7155 2003-02-02 Steffen Macke <sdteffen@web.de>
7157 * doc/en/usage-loadsave.sgml:
7158 * doc/en/usage-objects.sgml: patch from
7159 James K. Lowden <jklowden@schemamania.org> to fix
7162 2003-02-01 Lars Clausen <lrclause@cs.uiuc.edu>
7164 * plug-ins/Makefile.am (SUBDIRS):
7165 * plug-ins/pixbuf/pixbuf.c:
7166 * plug-ins/pixbuf/Makefile.am:
7168 Added pixbuf plugin to Makefile.am, but for import only. PNG
7169 export handled by libart, which is better. JPG export is
7170 discouraged. BMP is not much used on Unix. Next release will
7171 integrate libart to allow all outputs.
7173 2003-02-01 Hans Breuer <hans@breuer.org>
7175 * app/preferences.c :
7177 the last two dialogs with 'old' button order finally
7178 are converted to gtk2, no GnomeDialog in all of Dia
7181 2003-02-01 Hans Breuer <hans@breuer.org>
7183 * app/filedlg.c : don't try to use a button as
7184 'overwrite-file-dialog'-parent, use the FileSelDialog
7187 * plug-ins/pixbuf/pixbuf.c : make it work with
7188 system-visual-depth < 24. Remove 'bmp' from output
7189 format extensions, it just was wishful thinking.
7191 * plug-ins/python/Makefile.am : added the four new python
7192 plug-ins mentioned below to pyplugin_DATA and EXTRA_DIST
7194 2003-02-01 Hans Breuer <hans@breuer.org>
7196 * NEWS : updated content beside dependencies
7198 2003-02-01 Hans Breuer <hans@breuer.org>
7200 * lib/arrow.h : arrow_types needs to be declared as DIAVAR
7201 to make it useable across DLL boundaries
7202 * app/lineprops_area.c : same code to access arrow_types
7205 * objects/UML/class.c : the non empty string is e.g.
7206 comment != NULL && comment[0] != '\0'
7207 * objects/UML/uml.c : same here, don't bother with
7208 empty operation stereotypes
7210 2003-02-01 Steffen Macke <sdteffen@web.de>
7212 * app/lineprops_area.c: latest changes do not work on
7213 windows, using old code without tooltips
7214 * makefile.msc: fixed copying of wmf.dll
7215 * plug-ins/makefile.msc:
7217 * lib/makefile.msc: now linking libintl
7218 * config.h.win32: enabling native language support
7220 2003-01-31 Lars Clausen <lrclause@cs.uiuc.edu>
7222 * plug-ins/xslt/Makefile.am (libxslt_filter_la_LDFLAGS): Removed
7223 -ldl and -lglib. May or may not work on windows...awaiting verdict.
7225 2003-01-31 Daniel Yacob <locales@geez.org>
7227 * configure.in: Added am (Amharic) to ALL_LINGUAS.
7229 2003-01-31 Steffen Macke <sdteffen@web.de>
7231 * objects/UML/class.c (umlclass_calculate_data): fixed crash
7232 when comments were visible, no class comment available and
7235 2003-01-31 Lars Clausen <lrclause@cs.uiuc.edu>
7237 * RELEASE-PROCESS: Updated to fit new install-module syntax.
7238 * Prerelease 0.91-pre1 released on a suspecting public. Tagging
7241 2003-01-30 Lars Clausen <lrclause@cs.uiuc.edu>
7247 Prerelease version changes, version 0.91-pre1.
7249 * app/sheets_dialog_callbacks.h:
7250 * app/sheets_dialog_callbacks.c:
7251 * app/sheets_dialog.c (create_sheets_main_dialog):
7252 * app/sheets.c (sheets_dialog_create): More destroy stuff. Trying
7253 to handle destruction of main dialog cleanly, but it's a mess.
7255 * configure.in: Downgraded ieeefp test to make it not produce
7258 * lib/widgets.c (dia_arrow_selector_set_arrow):
7259 (dia_line_style_selector_set_linestyle): Select menu dot
7262 * lib/arrows.c (calculate_arrow_point): Fix of wrong arrow
7263 adjustment for diamondheads.
7265 * lib/plug-ins.c (dia_plugin_load): Fixed typo.
7267 * app/properties.c (create_dialog): Destroy properties dialog and
7270 * app/sheets_dialog_callbacks.c
7271 (on_sheets_dialog_button_edit_clicked): Only create a new dialog
7272 if the old one is destroyed.
7274 2003-01-29 Lars Clausen <lrclause@cs.uiuc.edu>
7276 * app/export_png.c (export_png_ok): Added info on resolution.
7277 Should (next release) improve export dialog to allow setting
7278 resolution instead of pixels.
7280 * app/lineprops_area.c (dia_arrow_chooser_new): Use menudesc list
7281 to generate arrowheads as well as tooltips.
7283 * lib/arrows.c: Added hollow diamond to menudesc list.
7286 * lib/widgets.[ch]: Moved arrow name list into arrows.[ch] to
7287 unify with rendered menu.
7289 * lib/diarenderer.c (draw_line_with_arrows)
7290 (draw_polyline_with_arrows, draw_arc_with_arrows)
7291 (draw_bezier_with_arrows): Fixed linestyle change bug (#104488)
7292 without changing renderer API. Thanks to David Scherba for
7293 providing inspiration.
7295 2003-01-28 Lars Clausen <lrclause@cs.uiuc.edu>
7297 * app/interface.c (create_display_shell):
7298 * app/display.h: Patching from Hubert Figuiere
7299 <hfiguiere@teaser.fr>: Better types for menu bar widgets, and
7302 2003-01-26 Lars Clausen <lrclause@cs.uiuc.edu>
7304 * app/defaults.c (defaults_show): Fixed defaults closing bug.
7305 Thanks to Hans for pointing it out.
7307 2003-01-25 Hans Breuer <hans@breuer.org>
7309 * app/commands.c : don't warn about crashing libart renderer
7310 on win32. It simply doesn't render text anymore :-(
7312 * app/filedlg.c : use GtkMessageDialog for 'file overwrite'
7314 * objects/UML/class.c : don't access umlclass->properties_dialog
7315 after calling gtk_widget_destroy(umlclass->properties_dialog->dialog)
7316 which sets the former to NULL by destroy_properties_dialog() callback.
7318 * plug-ins/wmf/wmf.cpp : use dia_image_rowstride()
7320 * plug-ins/python/pydia-font.c : fix PyDiaFont_GetAttr()
7322 * plug-ins/python/pydia-image.c : add image.uri member
7323 not only useful for SVG rendering
7325 * plug-ins/python/diasvg.py : (new file) a more advanced
7326 example. A full blown SVG Renderer, currently only
7327 registered for .svgz
7329 * plug-ins/python/export-object.py : write text props
7331 * plug-ins/python/debug_objects.py : write prop.type and
7334 2003-01-25 Lars Clausen <lrclause@cs.uiuc.edu>
7336 * objects/UML/association.c (association_update_data): Better
7337 bounding box for assoc with arrows.
7339 * lib/properties.h: New flag for properties with multiple values
7342 * app/lineprops_area.c (dia_arrow_chooser_dialog_show): Correct
7343 arrow updating in dialog. Was broken due to changes from destroy
7346 * app/commands.c (view_aa_callback): AA warning only for Windows
7347 -- I trust the Unix side well enough.
7349 * app/render_libart.c (get_text_width):
7350 * lib/dialibartrenderer.h (struct _DiaLibartRenderer): Font and
7351 font height can be taken from parent instance.
7353 * lib/dialibartrenderer.c (dia_libart_renderer_class_init)
7354 (get_text_width): Proper cursor positioning for libart renderer.
7355 Ought to have a DiaInteractiveRenderer that these two can inherit
7356 from, that knows about transform.
7358 2003-01-25 Steffen Macke <sdteffen@web.de>
7360 * plug-ins/xslt/xslt.h: don't use dlfcn.h on win32. XSLT
7361 plug-in still not working on win32
7363 2003-01-24 Lars Clausen <lrclause@cs.uiuc.edu>
7365 * app/disp_callbacks.c (ddisplay_canvas_events): Moved
7366 gdk_window_get_pointer to avoid destroy crash. Simpler than I
7369 2003-01-23 Lars Clausen <lrclause@cs.uiuc.edu>
7371 * app/app_procs.c (app_init): Run gtk_init before popt so we don't
7372 bail out on gtk options.
7374 * lib/message.c (gtk_message_internal): Better handling of destroy
7377 2003-01-22 Lars Clausen <lrclause@cs.uiuc.edu>
7379 * app/color_area.c (color_area_edit):
7380 * lib/widgets.c (dia_file_selector_browse_pressed)
7381 (dia_color_selector_pressed):
7382 * app/plugin-manager.c (get_plugin_manager):
7383 * app/filedlg.c (file_open_callback, file_save_as_callback)
7384 (file_export_callback):
7385 * app/diagram_tree_window.c (diagram_tree_window_new): Correct
7386 handling of destroy event.
7388 2003-01-22 Alan Horkan <horkana@tcd.ie>
7390 * app/commands.c (file_new_callback): Changed Untitled to Diagram
7393 2003-01-21 Lars Clausen <lrclause@cs.uiuc.edu>
7395 * app/preferences.c (prefs_create_dialog):
7396 * app/linewidth_area.c (linewidth_create_dialog):
7397 * app/lineprops_area.c (dia_arrow_chooser_dialog_show):
7398 * app/layer_dialog.c (create_layer_dialog)
7399 (layer_dialog_edit_layer): Correct handling of destroy signal.
7401 * app/diapsft2renderer.c (set_font): Adjust silly random factor
7402 for change in font.c
7404 * lib/widgets.c: Avoid warning when font menu file doesn't exist.
7406 * lib/font.c (dia_font_build_layout): Let's all use the same weird
7409 * app/lineprops_area.c (dia_arrow_chooser_dialog_show):
7410 * app/layer_dialog.c (create_layer_dialog)
7411 (layer_dialog_edit_layer):
7412 * app/filedlg.c (file_open_callback, file_save_as_callback)
7413 (file_export_callback):
7414 * app/dia-props.c (create_diagram_properties_dialog):
7415 * app/defaults.c (defaults_dialog_destroyed):
7416 * app/color_area.c (color_area_edit): Dialog destroy event handling.
7418 2003-01-19 Lars Clausen <lrclause@cs.uiuc.edu>
7420 * app/defaults.c (defaults_dialog_destroyed): Reset cache when
7421 defaults dialog destroyed.
7423 2003-01-19 Steffen Macke <sdteffen@web.de>
7425 * objects/makefile.msc: added bondgraph
7426 * plug-ins/makefile.msc: added GDK_PIXBUF_LIBS in order
7427 to compile pixbuf.dll
7428 * makefile.msc: copying all objects and dlls now
7430 2003-01-19 Hans Breuer <hans@breuer.org>
7432 * app/diagram.[hc] : provide dia_open_diagrams(), make
7433 open_diagrams variable static
7434 * app/dia.def : export it (to be used by PyDia)
7435 * app/app_procs.c app/autosave.c app/diagram_tree_window.c
7436 app/display.c app/dynamic_refresh.c app/layer_dialog.c
7437 app/load_save.c : make use of dia_open_diagrams()
7439 * app/interface.c : don't set GDK_WINDOW_TYPE_HINT_TOOLBAR
7440 on win32. It removes the diagram window from the taskbar and
7441 shrinks it's window title to toolbar style (newest gtk2.2 cvs)
7443 * app/menus.c : add '...' to menu entries where a dialog
7445 * app/recent_files.c app/dia_embedd.c : reflect the above in
7446 menus_get_item_from_path() calls
7448 * lib/libdia.def : add dia_image_rgba_data
7450 * lib/properties.h lib/prop_text.[hc] : add new property
7452 * objects/UML/class.[hc] object/UML/class_dialog.c : use
7453 StringList for attributes_strings and operations_strings to
7454 make this calculated data accessible via the Property API
7456 * plug-ins/python/diamodule.c : use dia_open_diagrams() and
7457 provide dia.new() to create a new diagram, dia.registered_types()
7458 to get on Dia's type registry, dia.message() for simple dialogs
7460 * plug-ins/python/pydia-diagram.c : implement DiaDiagram.display()
7461 to create a new display from a diagram. Let diagram.extents and
7462 diagram.bg_color return the same types as in diagramdata.*
7464 * plug-ins/python/pydia-geometry.c : add a read-only
7465 'sequence interface' to DiaPoint and DiaRectangle
7467 * plug-ins/python/pydia-property.c : allow to get on StringList
7470 * plug-ins/python/pydia-render.c : fix typo to make it compile
7472 * plug-ins/python/python-startup.py : removed 'import pygtk'
7473 again. This file does not need any gtk UI, and some python
7474 plug-ins don't do either
7476 * plug-ins/python/gtkcons.py : ported to GTK2 interface, now
7477 it should actually work as intended again
7479 * plug-ins/python/group_props.py : (new file) a prototype for
7480 one the most requested features: Change properties of selected
7481 objects in one step. Requires pygtk.
7483 * plug-ins/python/select_by.py : (new file) select objects by
7484 common properties. Requires pygtk.
7486 [Start of 'PyDia Self Documentation Series']
7488 * plug-ins/python/pydiadoc.py : (new file) generates a new
7489 diagram which contains all objects of dir(dia)
7491 * plug-ins/python/otypes.py : (new file) generates a new diagram
7492 which contains all the currently registered object types sorted
7493 by their containing package
7495 2003-01-18 Lars Clausen <lrclause@cs.uiuc.edu>
7497 * configure.in: Added check for Pango >= 1.1.5, which appears to
7498 be enough to have text work.
7499 (INTLOBJS): Added dummy subst cause gettext doesn't always seem to
7500 do it. AC_SUBST should be idempotent, though.
7502 2003-01-17 Lars Clausen <lrclause@cs.uiuc.edu>
7504 * configure.in (HAVE_FREETYPE): Better test for freetype version
7506 Now actually sets HAVE_IEEEFP_H, needed for Solaris.
7508 * lib/font.c: Renamed global_size_one to global_zoom_factor to
7509 avoid confusion, and added comment. Set scale factor in
7510 dia_font_build_layout to 1.0 for Unix side. This fixes at least
7511 my weird scaling problems. Fonts are now of the expectable size,
7512 i.e. the space between lines at size 1.0 is 1.0. If we want a
7513 compatibility fix, we should scale fonts by about 1/0.75 from 0.90
7514 diagrams, though there will always be differences.
7516 2003-01-15 Lars Clausen <lrclause@cs.uiuc.edu>
7518 * plug-ins/python/python-startup.py:
7519 * plug-ins/python/gtkcons.py: Require gtk 2.0 for pygtk
7521 * plug-ins/python/python.c (dia_plugin_init): Added warning
7522 message for missing startup file.
7524 * lib/dialibartrenderer.c (draw_image): Alpha rendering! Yay!
7526 * lib/dia_image.c (dia_image_rgb_data):
7527 * app/diapsrenderer.c (draw_image): Fixed rowstride problems
7528 involving EPS. Can't do transparency in EPS yet.
7531 * lib/dia_image.c (dia_image_rgba_data): New function to get RGBA
7532 data as one chunk. Documentation for the RGB data getting funcs.
7533 (dia_image_rgb_data): Added comment.
7535 * lib/dialibartrenderer.c (draw_image): Correct rowstride handling
7538 2003-01-13 Steffen Macke <sdteffen@web.de>
7540 * lib/dia_image.c: dia_image_rgb_data() is working for
7541 non-alpha images now. Fixes #93762
7542 * Makefile.am: added makefile.msc to EXTRA_DIST
7544 2003-01-10 Steffen Macke <sdteffen@web.de>
7546 * app/paginate_psprint.c: Closing print dialog when file
7547 could not be written. Fixes #84746
7549 2003-01-04 Steffen Macke <sdteffen@web.de>
7551 * doc/custom-shapes: incomplete description of <svg:text>
7553 2003-01-03 Steffen Macke <sdteffen@web.de>
7555 * makefile.msc(new): new makefile to create file
7556 structure suitable for running dia win32 under
7557 $(TOP)/dia/build/win32
7559 2003-01-02 Steffen Macke <sdteffen@web.de>
7561 * lib/dia_svg.c: including stdlib.h
7562 * lib/makefile.msc: added gdk_pixbuf libs to linker
7563 * app/makefile.msc: added gdk_pixbuf libs, made libart
7564 libs compatible with gnuwin32 package
7566 2003-01-01 Hans Breuer <hans@breuer.org>
7568 * lib/font.c : more comment about global_size_one
7570 * app/menus.c : <control>[<shift>]A for plain gtk build too.
7572 * plug-ins/wmf/wmf.cpp : some type juggling to make
7575 2002-12-31 Steffen Macke <sdteffen@web.de>
7577 * app/makefile.msc: added hint on how to enable console output
7579 2002-12-17 Lars Clausen <lrclause@cs.uiuc.edu>
7581 * objects/standard/textobj.c (textobj_load): Get the handle type
7582 right, at least to be the same as when created.
7584 2002-12-12 Lars Clausen <lrclause@cs.uiuc.edu>
7586 * lib/dialibartrenderer.c (draw_string): Removed extra 'is'.
7588 2002-12-08 Hans Breuer <hans@breuer.org>
7590 * app/commands.c : fixed bug #85315 'give diagram properties,
7591 instead of no object selected error' almost a one-liner
7593 * app/splash.c : don't make having the logo pixmap
7594 mandatory. Fixes bug #96068.
7596 * app/defaults.c : avoid crashing from open-dialog,esc,open-dialog
7597 sequence by connecting to the "delete_event"
7598 * app/objects/uml/class_dialog.c : handle "destroy" for
7601 * lib/libdia.def : remove diaXmlNewChild again
7603 * app/paginate_gdiprint.cpp : reflect Dia's page setting
7604 portrait/landscape in the windoze print dialog
7606 * objects/makefile.msc : only UML needs to link against
7607 $(GTK2_LIBS) and only custom against $(LIBXML2_LIBS)
7609 2002-12-08 Lars Clausen <lrclause@cs.uiuc.edu>
7611 * objects/standard/ellipse.c (ellipse_distance_from):
7612 * lib/geometry.c (distance_ellipse_point): Ellipse now uses the
7613 correct distance function. Could be faster, but it's not really
7616 2002-12-07 Lars Clausen <lrclause@cs.uiuc.edu>
7618 * lib/font.c: Changed global_size_one to more correct 28.35.
7623 * lib/dia_xml.c: Removed pretty print hack, the libxml thing works
7626 2002-12-07 Hans Breuer <hans@breuer.org>
7628 * lib/widgets.c : g_file_get_contents() silently assumes
7629 a binary file. Reflect when creating the font_menu file
7630 to get rid of junk in font menus
7632 2002-12-06 Hans Breuer <hans@breuer.org>
7634 * app/diapsrenderer.[hc] app/diapsft2renderer.[hc] :
7635 removed 0xD 0xD 0xA line ends which get created by
7636 cvs if windoze line ends 0xD 0xA are checked in from
7637 *nix and checked out on win32.
7639 * app/preferences.c : changed toolbox_on_top default to
7640 false. It is currently not possible to change the behaviour
7641 at runtime, at least not on win32.
7643 * lib/dialibartrenderer.c : bug #94791 'rendering to
7644 bitmap without PangoFt2' got delayed to milestone future
7645 so wrap libart text rendering into PANGO_WIN32_FUTURE.
7646 It is not available without my Pango patch in bugzilla.
7648 * lib/font.c : added comment to global_size_one and adapt
7649 the arbitrary size scaling in dia_font_build_layout() for
7650 win32, too. This is needed to get an acceptable font size
7651 approximation for Dia 0.90 and earlier files.
7652 Also #include "message.h".
7654 * app/makfile.msc app/dia.def lib/makefile.msc lib/libdia.def :
7655 reflect movement of group.[hc]
7656 * lib/group.h : export group_type which gets used by app/*
7658 * lib/diagtkfontsel.c : added #undef GTK_DISABLE_DEPRECATED
7659 to get the GtkTypeInfo definition
7661 * plug-ins/makefile.msc : dxf and xfig don't need to link
7662 against app/ anymore now that group is moved to lib/
7664 * plug-ins/python/pydia-render.c : remove massive leaking
7665 of self, i.e. PyDiaRenderer
7667 * plug-ins/python/makefile.msc : remove linking against
7670 2002-12-06 Lars Clausen <lrclause@cs.uiuc.edu>
7672 * objects/standard/line.c: Removed properties options for gaps,
7673 until release is done.
7675 * configure.in: Check for freetype version.
7677 * lib/text.c (text_insert_char): Fixed small buffer overflow for
7680 * lib/dialibartrenderer.c (draw_string): Removed debugging printf.
7682 * app/diapsft2renderer.h:
7683 * app/diapsft2renderer.c:
7684 * app/diapsrenderer.h:
7685 * app/diapsrenderer.c: Split ps rendering into standard and freetype.
7687 * app/render_eps.c (export_eps, new_psprint_renderer): Using
7688 PS_FT2 renderer when available. Old render stuff killed. Yay!
7690 * lib/properties.h: Fixed bad frame end def.
7692 * app/Makefile.am (dia_core_files): Added diapsft2renderer.[ch].
7694 * lib/dia_xml.c (data_add_string): Avoid #-less strings.
7696 * objects/bondgraph/Makefile.am: Removed unneeded EXTRA_DIST.
7698 2002-12-05 Lars Clausen <lrclause@cs.uiuc.edu>
7700 * lib/font.c: Now checking for the proper dia-style standard fonts.
7703 * app/Makefile.am: Moving group.[ch]
7705 * plug-ins/dxf/dxf-import.c:
7706 * plug-ins/xfig/xfig-import.c:
7707 * plug-ins/xfig/xfig-export.c: Now can refer directly to group.h.
7711 * lib/object.c (object_list_move_delta, object_copy_list):
7712 * lib/object.h: Moved some object-related functions from
7713 object_ops to object to assist moving group.c.
7715 * lib/diatypes.h: Added Group typedef.
7718 * lib/group.c: Moved from app to lib to a) resolve plug-ins
7719 references, and b) make groups more "real" objects.
7721 * lib/Makefile.am (libdia_la_SOURCES): Added diatyps.h
7723 2002-12-03 Lars Clausen <lrclause@cs.uiuc.edu>
7725 * lib/font.c (dia_font_init): Added check that the three standard
7728 2002-12-02 Lars Clausen <lrclause@cs.uiuc.edu>
7731 * app/load_save.c: Linebreaks in dia files, no indentation.
7732 Should help text tools. xmlNewChild wrapped in diaXmlNewChild for
7735 * objects/standard/line.c: Small but important fixes to the line
7739 * lib/dia_xml.c (diaXmlNewChild):
7740 * app/load_save.c (diagram_data_write_doc, write_objects): Simple
7741 XML prettyprinting wrapper.
7743 2002-12-03 Steffen Macke <sdteffen@web.de>
7745 * shapes/Cisco/Makefile.am:
7746 * shapes/Cisco/*.shape: finished conversion of Cisco icons
7749 2002-12-02 Steffen Macke <sdteffen@web.de>
7751 * doc/en/Makefile.am:
7752 * doc/en/usage-objects.sgml:
7753 * doc/en/graphics/line_icon.png: (new) added line icon
7755 2002-12-02 Lars Clausen <lrclause@cs.uiuc.edu>
7757 * objects/standard/line.c: Binary search object edge line gap.
7759 2002-12-01 Lars Clausen <lrclause@cs.uiuc.edu>
7761 * configure.in: Added Cisco makefile, sorted Makefiles list.
7763 * shapes/Makefile.am (SUBDIRS): Added Cisco dir
7765 * configure.in: Now checks for availability of PangoFT2 and
7766 FreeType, raising an error if not found.
7768 * app/Makefile.am (dia_core_files): Adding diapsft2renderer from
7771 2002-12-01 Steffen Macke <sdteffen@web.de>
7773 * doc/en/usage-loadsave.sgml: updated information on import
7776 2002-11-28 Lars Clausen <lrclause@cs.uiuc.edu>
7778 * app/commands.c (edit_copy_callback): Freeing copy_list.
7780 2002-11-28 Steffen Macke <sdteffen@web.de>
7782 * app/render_libart.c: art_config.h was included twice
7784 2002-11-27 Lars Clausen <lrclause@cs.uiuc.edu>
7786 * sheets/.cvsignore: More ignorance.
7788 * lib/diagdkrenderer.c (draw_string): Removed silly #ifdef 1.
7790 * lib/prop_widgets.h: Two (currently unused) settings for frame
7793 * lib/prop_widgets.c (frame_beginprop_get_widget): Frames are now
7794 (by default) foldable.
7796 * lib/propinternals.h:
7797 * lib/propdialogs.c (prop_dialog_add_raw_with_flags): Way to add
7798 widgets in a more controlled manner.
7800 * objects/standard/line.c (line_update_data): Line gap things
7801 inserted. Can do xeyes now:)
7803 2002-11-26 Christian Neumair <chris@gnome-de.org>
7805 * .cvsignore: Changed.
7806 * objects/bondgraph/.cvsignore, plug-ins/metapost/.cvsignore,
7807 plug-ins/xslt/.cvsignore, shapes/Assorted/.cvsignore, shapes/Misc/.cvsignore:
7810 2002-11-26 Lars Clausen <lrclause@cs.uiuc.edu>
7812 * app/pixmaps/delete.xpm: Trashcan stolen from Gimp.
7814 * lib/widgets.c (dia_font_selector_get_font): Fixed wrong name
7815 passing to font hash.
7817 * app/filedlg.c (file_save_as_ok_callback): Check that filename is
7818 utf-8 or locale-convertible before adding to dialog text. This
7819 probably needs done in a number of places where we get text from
7820 the environment and send it to GTK to display.
7822 * lib/widgets.c: Fixed case problems for font menu entries.
7824 * objects/SADT/annotation.c: Don't run the event test (but leave
7825 it here for inspiration).
7828 * lib/widgets.h: Allowing setting preview text for fonts.
7830 2002-11-26 Lars Clausen <lrclause@cs.uiuc.edu>
7832 * objects/bondgraph/Makefile.am:
7833 * objects/bondgraph/bondgraph.c:
7835 * objects/Makefile.am: Added bond graph dir.
7837 2002-11-26 Lars Clausen <lrclause@cs.uiuc.edu>
7839 * lib/text.c (text_calc_boundingbox, text_draw): Better cursor size.
7841 2002-11-25 Lars Clausen <lrclause@cs.uiuc.edu>
7843 * lib/text.c (text_calc_boundingbox, text_draw): Better cursor
7846 * app/diapsrenderer.c: Freetype rendering is back in force.
7848 * app/disp_callbacks.c: Added missing updates for pre-text-change.
7850 2002-11-25 David Hoover <jazzdaq@yahoo.com>
7852 * app/render_libart.c: Added missing #include line for libart.
7855 * lib/geometry.c: Added point_convex function. This computes
7856 points inside a line segment (0 <= alpha <= 1) or outside the
7857 line segment (alpha < 0 | alpha > 1).
7859 * objects/standard/line.c: Line now has additional code/attributes
7860 which permit the line to extend past the line anchors (gap < 0) or
7861 leave a gap without reaching the anchor (gap > 0). If no gap is
7862 specified, the default gap of 0 will result in identical line
7863 behavior as before. If the 'fractional' attributes are TRUE, the
7864 gap length is not fixed, but a percentage of the line length. I
7865 did not know how create the GTK widgets so the gap code currently
7866 cannot be used without adding XML attributes by hand.
7868 2002-11-25 Lars Clausen <lrclause@cs.uiuc.edu>
7870 * lib/diagdkrenderer.c (draw_string): Removed timing bits.
7872 * lib/Makefile.am (libdia_la_SOURCES): Added fontsel files to SOURCES.
7874 2002-11-24 Lars Clausen <lrclause@cs.uiuc.edu>
7876 * lib/font.c: Debugging functionality in separate functions.
7878 * lib/widgets.c: Using fontsel with context.
7880 * lib/diagtkfontsel.[ch]: Context-aware copy of the GTK fontsel.
7882 * objects/custom/custom_object.c: Orientation handling for shapes,
7883 patch thanks to Martin Hans <opfinder@gmx.net>.
7885 * objects/standard/zigzagline.c (zigzagline_move_handle): Starting
7886 work on even better orientation handling.
7888 * app/menus.c (menus_get_item_from_path): Fixed sily warnings from
7889 casting NULL pointers. Should be unnecessary in an upcoming GTK
7892 2002-11-18 Lars Clausen <lrclause@cs.uiuc.edu>
7896 * lib/widgets.c: Now uses correct context to get font families.
7898 * lib/diagdkrenderer.c (get_text_width, draw_string):
7899 * lib/dialibartrenderer.c (draw_string):
7901 * lib/font.c (dia_font_init): Removed old kludgy font name compare.
7902 (dia_font_build_layout): Unified the twiddle factors into a use of
7903 global_size_one. But I deeply distrust Pango for seeming to
7904 change size of fonts every time I turn my back.
7909 * app/menus.h: Updated some more methods to also be more specific
7913 * app/recent_files.c:
7914 Changed to return most specific type, to avoid run-time type errors.
7916 * app/menus.c (menus_get_item_from_path): Non-gnome version now
7917 gets menu_item rather than widget, which works better.
7919 2002-11-17 Cyrille Chépélov <cyrille@chepelov.org>
7921 * app/display.c: (new_display):
7922 * app/menus.c: (menus_get_item_from_path):
7923 Relying on the tearoff to locate the input methods menu wasn't a
7924 good idea: tearoffs seem to be an endangered species nowadays.
7925 Anyway, the IM menu seems to be working now.
7927 * app/interface.c: hinted the window manager that the toolbox window
7928 is a toolbox window. Not that my (fairly default configuration)
7929 sawfish cares, but other NETWM compliant WMs may.
7936 * app/layer_dialog.c:
7937 * app/linewidth_area.c:
7939 * app/sheets_dialog.c:
7942 The GTK doc says to avoir gtk_window_set_wmclass() and
7943 gtk_window_set_policy(), and use gtk_window_set_role() and
7944 gtk_window_set_resizable(), respectively.
7946 * app/preferences.c: (prefs_create_dialog):
7947 * app/preferences.h:
7948 * app/display.c: (display_set_active):
7949 Added a preference to have the toolbox hover over diagram windows.
7951 2002-11-12 Lars Clausen <lrclause@cs.uiuc.edu>
7953 * lib/diagdkrenderer.c (get_text_width, draw_string):
7954 Freetype-based string drawing now works. Not very fast, though.
7955 I wish I could use the graphics card for this:( I'm doing three
7956 bitmap loops where I should be doing one. The size is not correct
7957 either, despite having get_text_width give the right thing.
7959 2002-10-21 Lars Clausen <lrclause@cs.uiuc.edu>
7961 * app/connectionpoint_ops.c (diagram_update_connections_object):
7962 Allows more than one connectionpoint on an object to be moved at a
7965 2002-10-18 Stanislav Brabec <sbrabec@suse.cz>
7967 * configure.in: Added cs to ALL_LINGUAS.
7969 2002-10-17 Lars Clausen <lrclause@cs.uiuc.edu>
7971 * app/paginate_psprint.c: Removed unnecessary decl of autosave
7974 * app/display.c (ddisplay_set_renderer): Calls to begin/end render.
7976 * app/export_png.c (export_png_ok): Saving more variables from the
7979 2002-10-16 Lars Clausen <lrclause@cs.uiuc.edu>
7981 * lib/dialibartrenderer.c (begin_render):
7982 (end_render): Correct pushing and popping of font contexts.
7983 (draw_string): Double zooming eliminated, strange twiddle factor
7984 introduced (grumble). Close to working now, but there are still
7985 strange differences from font to font. In particular, some fonts
7986 really mess with the cursor and extents.
7988 * app/render_eps.c (export_eps):
7989 * app/diapsrenderer.c (dia_ps_renderer_finalize):
7990 Fixed file closing confusion, no longer dependent on PS/EPS.
7992 * app/diagram.c (diagram_place_down_selected)
7993 (diagram_place_up_selected): Now implemented.
7995 * lib/font.c (dia_font_init):
7997 Redesigned the font init/context pushing code. Start of fix for
7998 font name differences.
8000 2002-10-15 Kjartan Maraas <kmaraas@gnome.org>
8002 * app/sheets_dialog_callbacks.c: Fix a typo.
8004 2002-10-15 Hans Breuer <hans@breuer.org>
8006 * app/diapsrenderer.[hc] : (new files, old content :-)
8007 simple base class for post script rendering. Does neither
8008 use Pango/FT2 nor does it handle non latin1 characters.
8009 The fancy stuff which nowadays appears to be needed should
8010 probably be done in derived class(es)
8012 * app/makefile.msc app/Makefile.am : added new files
8014 * app/paginate_psrint.c : re-enabled and used as test
8015 for the simple ps renderer above.
8017 * app/render_eps.[hc] : ripped out common ps code and
8018 moved to DiaPsRenderer. The rest of the file is mostly
8019 disabled. And I don't understand enough of it to
8022 * app/diaepsrenderer.h : short lived, removed.
8024 2002-10-15 Lars Clausen <lrclause@cs.uiuc.edu>
8026 * lib/plug-ins.c (dia_register_plugin): Don't try to load libdia
8027 as a plugin (thanks to Torben Nielsen).
8029 2002-10-14 Lars Clausen <lrclause@cs.uiuc.edu>
8031 * app/diaepsrenderer.h:
8033 * app/paginate_psprint.c:
8034 #ifdef'd out enough ps stuff to allow compile. Now we just need
8037 2002-10-12 Hans Breuer <hans@breuer.org>
8039 [last plug-in ported]
8041 * plug-ins/xfig/xfig-export.c : ported to new renderer api
8043 * plug-ins/xfig/xfig-import.c(fig_create_object) : need to
8044 scale color values to [0..1.0] to properly reconstruct
8047 * plug-ins/xfig/xfig-common.c : some cleaning
8049 2002-10-12 Hans Breuer <hans@breuer.org>
8051 [decrease inter-plug-in-dependencies]
8053 * objects/custom/shape_info.[hc] : move parse_style()
8054 to lib/dia_svg.[hc] as dia_svg_parse_style(); Namespace
8055 the related structs and constants.
8056 * objects/custom/custom_object.c : reflect namespace
8059 * lib/dia_svg.[hc] : new files
8060 * lib/makefile.msc lib/Makefile.am : add new files
8061 * lib/libdia.def : updated externals
8063 * plug-ins/svg/svg-import.c : use dia_svg_parse_style()
8065 * plug-ins/svg/svg.c : enable svg import for win32 (and
8066 probably for other non ELF builds)
8068 * plug-ins/makefile.msc : enable svg import
8070 2002-10-11 Hans Breuer <hans@breuer.org>
8072 * plug-ins/metapost/render_metapost.[hc] : ported
8074 * plug-ins/pstricks/render_pstricks.[hc] : dito
8076 2002-10-11 Hans Breuer <hans@breuer.org>
8078 * plug-ins/cgm/cgm.c : ported, appears to work as before,
8079 but graphic apps available to me can't import the generated
8080 files (the could not with Dia-0.90 cgm as well) ...
8082 * plug-ins/dxf/dxf-export.c : Ported to new renderer api.
8083 Removed all those function which did emulate 'complex'
8084 drawing ops with basic ones (e.g. rect by line) cause this
8085 stuff is already provided by the base class
8086 * plug-ins/dxf/dxf-import.c : removed render.h include
8088 * plug-ins/python/pydia-font.[hc]
8089 plug-ins/python/pydia-text.c : finally ported to new font api
8091 * plug-ins/python/pydia-layer.c : add extra parameter
8092 to layer_find_closest_connectionpoint()
8094 * plug-ins/python/pydia-render.c : ported to DiaRenderer api
8096 * plug-ins/python/python.c : added missing copyright notice
8098 * plug-ins/hpg/hpgl.c plug-ins/wpg/wpg.c plug-ins/wmf/wmf.cpp :
8099 actually use the renderers set_font implementation
8101 * plug-ins/renderer.inc : unused now, removed
8102 * plug-ins/Makefile.am : reflect it
8104 2002-10-08 Hans Breuer <hans@breuer.org>
8106 * app/render_gdk.c : don't add the InteractiveRenderer
8107 interface multiple times (it's added to the type, not
8109 * app/render_libart.c : dito. It's currently added
8110 unconditional cause eport_png uses it, but claims
8111 to be non-interactive. Probably set_size should be moved
8112 to the DiaRenderer interface.
8114 * lib/dialibartrenderer.c : add implementations for
8115 get_<width|height>_pixels. Libart rendering works again.
8116 DiaLibartRenderer::draw_image : use dia_image_rowstride()
8119 * lib/diatransform.c(dia_transform_coords_double) :
8120 don't ROUND() the returned values
8122 * plug-ins/pixbuf/pixbuf.c : added import function. It
8123 simply creates a wrapping "Standard - Image" object.
8125 * plug-ins/shape/shape-export.c : use the more direct
8126 method to call base class methods
8128 2002-10-07 Lars Clausen <lrclause@cs.uiuc.edu>
8130 * lib/font.c (dia_font_init): Changed dia_font_init to return old
8131 pango context, to allow stacked contexts (for printing while
8140 * lib/connectionpoint.h
8143 * lib/diagdkrenderer.h
8145 * lib/dialibartrenderer.h
8148 * lib/diasvgrenderer.h
8149 * lib/diatransform.h
8156 * lib/neworth_conn.h
8171 Moved all externally visible struct typedefs into diatypes.h, as
8172 per Hans' suggestions.
8174 2002-10-07 Steffen Macke <sdteffen@web.de>
8176 * lib/Makefile.am: removed a '\' causing problems
8178 2002-10-07 Hans Breuer <hans@breuer.org>
8180 [Libart Renderer resurrected; almost it's compiling but
8181 almost instantly crashing :-]
8183 * lib/dialibartrenderer.[hc] : new files, ported to DiaRenderer
8184 * app/render_libart.[hc] : ported to DiaInteractiveRenderer
8185 * lib/diatransform.[hc] : added dia_transform_coords_double()
8187 * app/display.c : the right parameters for new_renderer_libart()
8188 * app/export_png.c : ported, removed the blind Display hack
8190 * app/makefile.msc lib/makefile.msc
8191 lib/Makefile.am : updated
8193 * lib/dia<|gdk|interactive>renderer.c : properly copyrighted
8195 2002-10-06 Hans Breuer <hans@breuer.org>
8197 * plug-ins/pixbuf/pixbuf.c : (new file)
8198 there is a new export plug-in called 'Pixbuf' which uses
8199 DiaGdkRenderer to export to gdk-pixbuf supported bitmap
8200 formats (currently only PNG and JPEG).
8202 2002-10-06 Hans Breuer <hans@breuer.org>
8205 http://mail.gnome.org/archives/dia-list/2002-October/msg00027.html
8207 * lib/dia-enums.h lib/diatransform.[hc]
8208 lib/diarenderer.[hc] lib/diainteractiverenderer.c
8209 lib/diagdkrenderer.[hc] lib/diasvgrenderer.[hc]
8212 * lib/makefile.msc lib/makefile.am : added new files
8214 * lib/plug-ins.c : g_module_error() returns a locale
8215 string, convert to utf8 before further usage
8217 * lib/render.h : #error out. Everything including this
8219 * lib/*.[hc] : ported to new renderer api
8221 * app/diaepsrenderer.h : unfinished DiaEpsRenderer interface
8222 just to make the rest compile
8223 * app/render_eps.c : temporary disabled all of this
8224 * app/render_eps.h : removed RendererEPS
8226 * app/render_gdk.[hc] : a small wrapper around the new
8227 DiaGdkRenderer form lib/*
8229 * app/render_libart.h : removed RenderLibart definition
8230 * app/render_libart.c : not yet ported to new DiaRenderer
8231 but having an implementation to untie form FT2 dependency
8232 at least on win32. It is using new Pango api form bug #94791
8234 * app/render_pixmap.[hc] : a small wrapper around the new
8235 DiaGdkRenderer form lib/*
8237 * app/display.h : removed render_*.h includes
8238 * app/display.c : the only place where specific
8239 renderers need to be known
8241 * app/connectionpoint_ops.c app/grid.c app/handle_ops.c
8242 use new DiaInteractiveRenderer interface
8244 * app/*.c : ported to new renderer api
8245 * object/*/*.c : ported to new renderer api
8246 s/render.h/diarenderer.h/
8247 s/Renderer/DiaRenderer/
8248 s/renderer->ops/renderer_ops/
8249 add in every draw method:
8250 DiaRendererClass *renderer_ops = DIA_RENDERER_GET_CLASS (renderer);
8252 * plug-ins/hpgl/hpgl.c :
8253 plug-ins/wmf/wmf.cpp
8254 plug-ins/wpg/wpg.c : ported to be DiaRenderer based
8255 * plug-ins/shape/shape-export.c
8256 plug-ins/svg/render_svg.c : ported to be DiaSvgRenderer based
8257 (nice how small these files became :-)
8259 2002-09-28 Hans Breuer <hans@breuer.org>
8261 * */makefile.msc : updated
8263 * app/defaults.c : don't gdk_invalidate_rect(NULL)
8264 * app/disp_callbacks.c :
8265 can't cast GtkWindow to GdkWindow, use shell->window
8266 (ddisplay_unrealize) don't use already unrefed im_context
8268 can't cast from GtkMenu to GtkMenuItem
8269 (ddisp_destroy) : mark im_context as unrefed
8271 * lib/dia_xml (data_font) : prefer new font format over old one
8272 (data_add_font) : write the legacy name to allow file exchange
8273 with pre Pango versions of Dia, which would otherwise crash
8274 on missing font 'name' attribute.
8275 * lib/font.c (dia_font_get_legacy_name) : improved implementation
8276 to get a better match.
8278 * lib/libdia.def : updated
8280 * lib/messages.c : don't gdk_widget_show(NULL)
8282 * lib/prop_text.c : don't gtk_entry_set_text() with NULL string
8284 [make Dia compile, link _and_ work with mingw/gcc3.2]
8286 * config.h.win32 : #define LIBXML, this gets defined from libxml
8287 header but only for _MSC_VER. The mingw build did access an
8288 unitialized function pointer for xmlFree.
8290 * */makefile.mingw : updated (some plug-ins have build issues)
8292 * lib/handle.h lib/object.h : there appears to be no
8293 forward declaration of the form
8294 typedef enum _HandleId HandleId
8295 (at least not with GCC 3.2 for C++) ../lib/handle.h:22:
8296 use of enum `_HandleId' without previous declaration
8298 * app/paginate_gdiprint.cpp : added a hack to avoid g++
8299 naming conflict on 'export'
8301 * app/paginate_gdiprint.h : forward declare Diagram
8303 * objects/SADT/annotaion.c : use g_random_double()
8305 2002-09-26 Lars Clausen <lrclause@cs.uiuc.edu>
8307 * app/modify_tool.c: Made motion not happen until sufficiently
8308 large or past double-click interval, to avoid accidental moving
8309 when doubleclicking. Got the double-click time right, and fixed
8310 some issues with release. There are some corner cases that may
8311 exhibit strange behaviour, will look at those later. Nah, let's
8312 not care about those, they are rare and not dangerous.
8314 2002-09-26 Cyrille Chépélov <cyrille@chepelov.org>
8316 * app/layer_dialog.c:
8318 * plug-ins/dxf/dxf-import.c:
8319 * plug-ins/python/pydia-diagram.c:
8320 * lib/diagramdata.c:
8321 * lib/diagramdata.h:
8322 Improved the consistency of the obj->parent_layer backlinks (esp.
8327 * lib/dynamic_obj.[ch] (NEW):
8330 * app/dynamic_refresh.[ch] (NEW):
8331 * objects/Misc/analog_clock.c:
8332 Added support for dynamic refresh (animated objects).
8334 2002-09-25 Cyrille Chépélov <cyrille@chepelov.org>
8336 Patch from Owen Taylor <otaylor@redhat.com>:
8337 * doc/en/Makefile.am:
8338 * doc/en/dia-manual.sgml:
8339 * doc/en/usage-objects.sgml:
8340 * doc/en/usage-quickstart.sgml:
8341 * doc/pl/Makefile.am:
8342 * doc/pl/dia-manual.sgml:
8343 * doc/pl/usage-objects.sgml:
8344 * doc/pl/usage-quickstart.sgml:
8346 - Change the DTD declration from an outdated GNOME one to a
8349 - Remove close tags for <graphics> which aren't allowed for
8352 - A hacky fix for a problem where some versions of db2html don't
8353 create *.css files. (If *.css doesn't match anything, then you get
8354 the global explicitely.)
8358 2002-09-24 Cyrille Chépélov <cyrille@chepelov.org>
8360 * objects/custom/custom_object.c:
8361 * objects/custom/shape_info.[ch]: GE_TEXT display lists elements
8362 were never properly prepared for use when reloading a shape with
8363 <svg:text> elements. Thanks to Scott Frazer <frazer@nc.rr.com> for
8364 reporting the problem and coming up with a fix! (Closes: #93974)
8366 * app/menus.c: patch from Alan Horkan <horkana@tcd.ie>: review
8367 the menu shortcuts towards better GNOME HIG compliance (Closes: #87157)
8370 * app/display.c: updated menu item paths Alan's patch had moved.
8372 * app/interface.c: Fixed a crash when gdk-pixbuf doesn't want to
8373 load the sheet-provided icon (libpng versions mismatch, grrr.).
8376 * objects/Makefile.am:
8377 * objects/Misc/Makefile.am (NEW):
8378 * objects/Misc/libmisc.c (NEW):
8379 * objects/Misc/analog_clock.c (NEW):
8380 * objects/Misc/pixmaps/analog_clock.xpm (NEW):
8381 * sheets/Misc.sheet.in: just a little experiment...
8383 2002-09-23 Cyrille Chepelov <cyrille@chepelov.org>
8385 * plug-ins/xlst/Makefile.am: found a way to silence automake while
8386 not forcing everyone to build using libxslt.
8390 * lib/object_defaults.c:
8393 * lib/properties.[ch]:
8395 * objects/standard/box.c:
8396 * objects/UML/state_term.c:
8398 * objects/FS/flow-ortho.c:
8402 * app/diagram_tree.c:
8404 * app/disp_callbacks.c:
8407 * app/lineprops_area.c:
8409 * app/preferences.c:
8412 * app/sheets_dialog_callbacks.c:
8413 * plug-ins/xslt/xslt.c:
8414 * plug-ins/metapost/render_metapost.c:
8415 * plug-ins/xfig/xfig-export.c:
8416 * plug-ins/shape/shape-export.c:
8418 Killed most gcc-3.2 warnings (const-correctness and derived warnings,
8419 unused variables, mostly)
8422 * app/menus.c: enabled GTK Input Methods (thanks Lars!)
8424 * app/Makefile.am: modified run_dia.sh so that we recover the
8425 ability to run a debugger despite libtool's hacks.
8427 * plug-ins/dxf/Makefile.am:
8429 "make distcheck" fixes.
8431 2002-09-19 Lars Clausen <lrclause@cs.uiuc.edu>
8433 * objects/UML/uml.c (uml_get_operation_string): Patch from Mauf
8434 <mfranzoni@madd.it>: Check for the type being NULL.
8436 2002-09-16 Lars Clausen <lrclause@cs.uiuc.edu>
8438 * app/render_eps.c (set_font): Re-tweaked font size for printing.
8440 2002-09-12 Cyrille Chepelov <cyrille@chepelov.org>
8442 Patch from Angus Ainslie <angusa@deltatee.com>:
8443 * plug-ins/dxf/dxf-import.c:
8444 * plug-ins/dxf/autocad_pal.h: Import from visio 2002 improvements.
8446 (plus a couple extra fixes by me, such as the removal of printf's,
8447 adapting for recent changes, and killed a couple warnings)
8449 * app/authors.h: a 60K patch isn't insignificant, is it?
8451 2002-09-09 Tor Lillqvist <tml@iki.fi>
8453 * configure.in: Check for both pangoft2 (using PKG_CHECK_MODULES,
8454 as before) and -lfreetype (using AC_CHECK_LIB). At least on
8455 Solaris with Sun's compiler (Forte C), you need to link also the
8456 dia application with -lfreetype, even if it is implicitly linked
8457 to by -lpangoft2. Rename FREETYPE_CFLAGS and _LIBS to PANGOFT2_*,
8458 which is what they actually mean. Use FREETYPE_LIBS for
8461 Don't look for libsunmath if isinf() is not found in math.h (as on
8462 Solaris). The sunmath library is part of Forte C and not present
8463 on all machines. Besides, even if isinf was found in libsunmath,
8464 we didn't use it in the Makefile.am.
8466 Fix a couple of bashisms.
8468 AC_SUBST also Z_LIBS, need to link the dia application to -lz,
8469 too, on Solaris with Forte C.
8471 Don't try to use the gcc flags with other compilers.
8472 DIA_CHECK_CFLAG gives a false indication that Forte C understands
8473 the gcc -f switches, but in fact they get interpreted meaning
8474 something completely different.
8476 Define the automake conditional HAVE_CGC.
8478 * app/Makefile.am (dia_LDADD): Add Z_LIBS and FREETYPE_LIBS.
8480 Use -export-dynamic only with gcc.
8483 * */*/Makefile.am: Modify according to the FREETYPE_CFLAGS ->
8484 PANGOFT2_CFLAGS rename.
8486 * lib/geometry.h: Drop HAVE_SUNMATH_H and <sunmath.h> per above.
8488 * lib/dia_xml.c: Include geometry.h for the isinf() stuff on
8491 * lib/paper.c: Workaround for gccism: Can't use inline this way with
8494 2002-09-08 Cyrille Chepelov <cyrille@chepelov.org>
8496 * lib/text.c(set_string): fixed a memory leak (char* ain't no
8497 std::auto_ptr<char> !).
8500 * app/interface.[ch]:
8501 * app/ddisp_callbacks.[ch]: Added some basic support for input
8502 methods (GtkIMContext-based)
8505 * app/Makefile.am: made libdia a shared object (per Tor
8506 Lillqvist's suggestion/request), to cope for platforms with a less
8507 than par dynamic library loader.
8509 * app/display.c: disabled the input method menu (I really don't
8510 see where and how to put them. Blame Frozen Bubble )
8512 2002-09-06 Lars Clausen <lrclause@cs.uiuc.edu>
8514 * objects/flowchart/box.c (box_update_data): Made resizing
8515 possible again (only set width & height when resized too small).
8517 Patch from Soeren Sandmann <sandmann@daimi.au.dk>:
8519 * app/disp_callbacks.c (ddisplay_canvas_events): Handle
8522 2002-09-05 Cyrille Chepelov <cyrille@chepelov.org>
8524 * app/authors.h: now showing Akira TAGOH's name in the native script.
8526 2002-09-01 Lars Clausen <lrclause@cs.uiuc.edu>
8528 * plug-ins/xslt/xslt.c: Removed glib warning for unset
8531 2002-09-01 Cyrille Chepelov <cyrille@chepelov.org>
8533 * plug-ins/svg/render_svg.c: Applied (reversed...) patch from
8534 Mike Sowka <msowka@rogers.com>. This fixes a problem with the
8537 2002-08-31 Lars Clausen <lrclause@cs.uiuc.edu>
8539 * objects/UML/class.c: Fixed showing of empty stereotypes and got
8540 the string placed correctly.
8542 2002-08-30 Hans Breuer <hans@breuer.org>
8544 * lib/font.c (dia_font_get_style) : don't shift already
8545 shifted DIA_FONT values.
8547 * lib/libdia.def : updated externals
8549 * app/disp_callbacks.c : on win32 GdkEventKey::string already
8550 is in UTF-8. (Longterm this probably should be handled on the
8553 * app/command.[hc] app/display.[hc] app/menus.c : add code to
8554 switch display renderers again. The libart renderer is very
8555 useful for win9x with it's limited GDI.
8557 * app/render_gdk.c : use g_warning instead of printf which gets
8558 nowhere on win32 (non console apps)
8560 * app/render_libart.c : make it compile without FREETYPE
8562 * objects/makefile.msc plug-ins/makefile.msc : added clean target
8564 2002-08-29 Lars Clausen <lrclause@cs.uiuc.edu>
8566 * app/render_eps.c (postscript_draw_contour): Debugging statement
8567 that allowed me to figure out font problems.
8569 * lib/widgets.c (dia_font_selector_set_styles): Use radio menu
8570 items for font styles.
8572 * objects/FS/flow-poly.c:
8573 * objects/FS/flow-ortho.c:
8574 * objects/FS/flow.c: Further conversion away from GTK dialogs.
8575 Can't set a default label right now:(
8577 * app/interface.c (fill_sheet_wbox): Added initialization for mask.
8579 2002-08-27 Cyrille Chepelov <cyrille@chepelov.org>
8580 Patch from Andrew Ferrier <andrew@new-destiny.co.uk>:
8582 * Makefile.am: rules relating to AUTHORS and THANKS
8584 * AUTHORS: file content changed to more accurately
8585 reflect guideline requirements.
8586 * TODO: warning added about Gnome BTS.
8587 * KNOWN_BUGS: warning added about Gnome BTS.
8591 * AUTHORS: added full copyright info.
8592 * mkauthors-placeholder: (removed)
8594 2002-08-27 Lars Clausen <lrclause@cs.uiuc.edu>
8596 * app/paginate_psprint.c (print_page): Fixed text printing after
8597 tip from Dov Grobgeld.
8599 2002-08-26 Lars Clausen <lrclause@cs.uiuc.edu>
8601 * app/paginate_psprint.c (print_page): Fixed color of clip
8604 2002-08-26 Cyrille Chepelov <cyrille@chepelov.org>
8606 * sheets/Makefile.am: enabled intltool-merge translation cache for
8610 * mkauthors-placeholder:
8611 * AUTHORS: revived that file (in a placeholder form) so that
8612 automake stops yelling.
8613 (derived from a patch by Andrew Ferrier <andrew@new-destiny.co.uk>)
8616 Heh, by the way, thanks Christophe. I feel better now.
8618 2002-08-25 Christophe Merlet <christophe@merlet.net>
8620 * app/command.c: Removed invalid multibyte sequence in Chepelov.
8622 2002-08-24 Lars Clausen <lrclause@cs.uiuc.edu>
8624 * lib/dia_image.c (dia_image_rgb_data):
8625 Bugfixes in image data retrieval.
8627 * app/render_eps.c: Refactoring of new_*_renderer.
8629 2002-08-23 Lars Clausen <lrclause@cs.uiuc.edu>
8633 * lib/dia_image.c: Support for rowstride != width (odd width images)
8635 2002-08-20 Lars Clausen <lrclause@cs.uiuc.edu>
8637 * lib/paper.c (get_paper_info): Fixed NULL prefs problem.
8638 * plug-ins/xfig/xfig-import.c: Removed assertion.
8640 2002-08-18 Lars Clausen <lrclause@cs.uiuc.edu>
8642 * lib/paper.c: Removed app/preferences.h reference.
8644 2002-08-14 Lars Clausen <lrclause@cs.uiuc.edu>
8646 * plug-ins/svg/svg-import.c:
8647 * plug-ins/xfig/xfig-import.c:
8648 * lib/Makefile.am (libdia_a_SOURCES):
8649 * objects/standard/Makefile.am (libstandard_objects_la_SOURCES):
8651 * objects/standard/create.h:
8652 * objects/standard/polygon.c (polygon_create):
8653 * objects/standard/polyline.c (polyline_create):
8654 * objects/standard/beziergon.c (beziergon_create):
8655 * objects/standard/bezier.c (bezierline_create):
8656 Moving create.h into lib.
8658 2002-08-13 Lars Clausen <lrclause@cs.uiuc.edu>
8660 * app/render_libart.[ch]: Work on PNG font export. Something's
8661 still fishy with the scaling, I don't get it.
8664 * app/interface.c: Replaced broken zoom combo with entry+menu.
8665 Now works beautifully. Removed WITHOUT_ZOOM_COMBO stuff.
8667 * app/render_gdk.c (get_text_width): Checks for validity of text.
8668 Temporary help while debugging input -- should only activate on
8671 * objects/SADT/annotation.c:
8672 * objects/GRAFCET/transition.c:
8673 * objects/FS/function.c: Removal of gtk.h include.
8675 * objects/UML/state.c (state_load): Warnings about using State
8676 object for initial/final states.
8678 * plug-ins/cgm/cgm.c (init_fonts): Proper Pango interfacing.
8680 2002-08-12 Lars Clausen <lrclause@cs.uiuc.edu>
8682 * app/render_eps.c: Text rendering that scales correctly. Too bad
8683 the standard fonts don't get selected right.
8685 2002-08-09 Lars Clausen <lrclause@cs.uiuc.edu>
8687 * lib/diagramdata.h:
8688 * lib/paper.c (get_paper_info):
8690 * plug-ins/xfig/xfig-import.c:
8691 Committed before testing. I am so embarrased. This compiles, now
8692 that the includes are in the right order.
8694 * app/diagram.c (diagram_init):
8695 * app/app_procs.c (do_convert):
8696 * app/preferences.h:
8697 * lib/diagramdata.h:
8698 * lib/diagramdata.c (new_diagram_data):
8700 * lib/paper.c (get_paper_info):
8701 Moved new_diagram part of prefs into lib/diagramdata.h. More
8702 could be done in new_diagram_data() now.
8704 2002-08-08 Lars Clausen <lrclause@cs.uiuc.edu>
8706 * app/render_eps.c: Better scaling of fonts at non-normal zoom.
8708 2002-08-07 Cyrille Chepelov <cyrille@chepelov.org>
8710 * configure.in: removed silly user-visible comment
8712 (actually, this is a dummy entry before I manually run nemo; for
8713 some dist-upgrade related reason, this morning's run aborted before
8714 the snapshots were created)
8716 2002-08-06 Lars Clausen <lrclause@cs.uiuc.edu>
8718 * objects/network/wanlink.c:
8719 * objects/network/bus.c:
8722 * objects/custom/custom_object.c:
8723 * objects/network/wanlink.c:
8724 * objects/flowchart/parallelogram.c:
8725 * objects/flowchart/ellipse.c:
8726 * objects/flowchart/diamond.c:
8727 * objects/flowchart/box.c:
8728 Removed GTK defaults stuff.
8730 * objects/UML/fork.c:
8731 * objects/UML/object.c:
8732 * objects/UML/lifeline.c:
8733 * objects/UML/branch.c:
8734 * objects/GRAFCET/transition.c:
8735 * objects/FS/function.c: Removed GTK include.
8737 * objects/FS/flow-ortho.c:
8738 * objects/FS/flow.c: Made the label behave again.
8739 Also removed GTK defaults stuff.
8741 2002-08-06 Hans Breuer <hans@breuer.org>
8743 * app/autosave.c : ported to GDir which is the improved
8744 cross platform replacement for <dirent.h>
8746 * app/makefile.msc : build autosave.obj
8748 * app/font.c : some (bad?) code calls
8749 dia_font_scaled_decent() not only with empty string but
8750 with NULL. Handle it gracefully.
8752 * lib/paper.c : don't depend on ../app. Although IMO
8753 this shouldn't be allowed on any platform it is only
8754 disabled for win32, where it simply doesn't work
8757 * lib/widget.c (strcase_equal) : pass char* to g_strcasecmp()
8759 * objects/fs/flow.c : conditionalize debug spew, disabled
8760 and 'ported' to use g_print. Simple printf won't work with
8761 standard win32 gui apps, may even crash them.
8763 * plug-ins/makefile.msc : DISABLED svg-import cause it
8764 depends on ../objects/custom. This not only break the
8765 build for all non ELF systems but IMO also isn't acceptable
8766 from a design point of view. See dia-list mail on subject.
8768 * plug-ins/python/makefile.msc :
8769 plug-ins/python/python.c : remove all references to dirent
8771 2002-08-05 Cyrille Chepelov <cyrille@chepelov.org>
8773 * configure.in: added ro to ALL_LINGUAS
8777 * ../translation-graphs/transgraph.py: added support for fuzzy
8778 translations. Enlarged the graphs.
8780 2002-08-05 Lars Clausen <lrclause@cs.uiuc.edu>
8782 * app/disp_callbacks.c (ddisplay_canvas_events): Now translates
8783 key events according to locale. No clue if this works for
8786 2002-08-04 Lars Clausen <lrclause@cs.uiuc.edu>
8788 * lib/text.c: Various UTF8 related fixes, in particular in
8789 deleting. Text_insert_char is fine, far as I can tell.
8791 * app/interface.c (create_display_shell):
8792 * app/commands.c: Now uses gtk_clipboard functions, for they are
8793 much simpler. Also handles Win32 clipboard. Non-ascii chars
8794 don't seem to get handled correctly by text_insert_char in
8797 * app/commands.c (received_selection_handler): Got utf8 handling
8798 on paste, and individual char handling out of commands.c. Pasting
8799 non-ASCII is still broken, somehow. It's all lib/text.c's fault.
8801 * lib/message.c (gtk_message_internal): Message dialog re-shown
8802 when new message appears. Maybe it should even move to top?
8806 * app/render_eps.c (create_eps_renderer): Fonts now lowercase
8807 (again) and case-insensitive.
8809 * objects/GRAFCET/condition.c (CONDITION_FONT): Changed to
8812 2002-08-02 Lars Clausen <lrclause@cs.uiuc.edu>
8814 * app/commands.c (edit_cut_text_callback):
8815 * lib/text.c (text_delete_all): Now functioning undo for text cut.
8817 * app/commands.c (edit_cut_text_callback): Now removes text.
8818 Undo is broken, though.
8820 2002-08-01 Lars Clausen <lrclause@cs.uiuc.edu>
8822 * app/diagram.c (diagram_update_menu_sensitivity):
8823 Making cut_text active.
8826 * app/commands.c: Using PROP_TYPE_TEXT to find text to copy to
8827 clipboard. Also removed AA callback.
8829 2002-08-01 Lars Clausen <lrclause@cs.uiuc.edu>
8831 * objects/chronogram/chronoref.c:
8832 * objects/chronogram/chronoline.c:
8833 * objects/SADT/annotation.c:
8834 * objects/SADT/arrow.c:
8835 * objects/SADT/box.c:
8836 * objects/GRAFCET/vergent.c:
8837 * objects/GRAFCET/vector.c:
8838 * objects/GRAFCET/step.c:
8839 * objects/GRAFCET/condition.c:
8840 * objects/GRAFCET/action.c:
8841 * objects/ER/participation.c:
8842 * objects/ER/relationship.c:
8843 * objects/ER/entity.c:
8844 * objects/ER/attribute.c:
8845 Removing unnecessary GTK references.
8847 2002-07-31 Lars Clausen <lrclause@cs.uiuc.edu>
8849 * objects/standard/image.c:
8850 * objects/standard/textobj.c:
8851 * objects/standard/ellipse.c:
8852 * objects/standard/polygon.c:
8853 * objects/standard/beziergon.c:
8854 * objects/standard/box.c:
8855 Making default default properties.
8857 * objects/standard/image.c:
8858 * objects/standard/arc.c:
8859 * objects/standard/box.c:
8860 * objects/standard/zigzagline.c:
8861 * objects/standard/polyline.c:
8862 * objects/standard/line.c:
8863 * objects/standard/ellipse.c:
8864 * objects/standard/polygon.c:
8865 * objects/standard/beziergon.c: Removing vestigal GTK stuff.
8867 * lib/object_defaults.c (dia_object_default_create):
8870 * lib/object.c (object_copy_using_properties):
8871 * lib/propdialogs.c:
8872 * lib/propinternals.h:
8873 * lib/propobject.c (object_create_props_dialog)
8874 (object_copy_props):
8875 Removing the standard (toolbox) properties from defaults dialogs.
8877 2002-07-30 Lars Clausen <lrclause@cs.uiuc.edu>
8879 * lib/font.c (dia_font_scaled_string_width)
8880 (dia_font_scaled_ascent, dia_font_scaled_descent): Account for
8882 * lib/text.c (text_calc_boundingbox): Take descent into account.
8884 * objects/standard/bezier.c (bezierline_draw):
8885 * lib/render.c (draw_bezier_with_arrows):
8886 Better arrow drawing for beziers. Doesn't change the mouse-click
8889 * lib/arrows.h: Some const-ness.
8891 * lib/arrows.c (calculate_arrow_point): Initialize zero-length moves.
8893 * lib/render.c (draw_arc_with_arrows):
8894 * objects/standard/arc.c (arc_draw): Better arrow drawing for
8895 arcs. Doesn't change the mouse-click area yet.
8897 * app/menus.c: Forgotten fix: Redraw menu item for non-Gnome.
8903 2002-07-29 Lars Clausen <lrclause@cs.uiuc.edu>
8905 * app/group.c (group_draw): Forgotten commit: Groups to draw as
8906 objects (using default routines).
8910 * lib/diagramdata.h:
8911 * lib/diagramdata.c (layer_find_closest_connectionpoint):
8912 * objects/standard/zigzagline.c (zigzagline_move_handle):
8913 * app/diagram.c (diagram_find_closest_connectionpoint):
8914 * plug-ins/python/pydia-diagram.c
8915 (PyDiaDiagram_FindClosestConnectionPoint):
8916 * app/object_ops.c (object_connect_display)
8917 (object_find_connectpoint_display)
8918 * app/create_object.c (create_object_button_press)
8919 (create_object_motion):
8920 * app/modify_tool.c (modify_motion):
8921 Adding object param to allow connectionpoint and handle coinciding.
8923 * objects/standard/zigzagline.c (zigzagline_check_orientation):
8924 Fixing minor problems.
8926 * objects/standard/ellipse.c (ellipse_update_data):
8927 Added direction hints.
8929 * lib/diagramdata.c:
8932 * lib/diagramdata.h:
8933 * objects/standard/zigzagline.c:
8934 First working example of zigzagline hints, currently only between
8937 2002-07-27 Steffen Macke <sdteffen@web.de>
8939 * plug-ins/svg/render_svg.c: added support for rounded
8940 rectangles (fixes #69053 if compile with
8942 * object/custom/shape_info.[c|h]: made parse_style and
8943 parse_path accessible for svg plug-in
8944 * plug-ins/svg/Makefile.am:
8945 * plug-ins/svg/svg.c:
8946 * plug-ins/svg/svg-import.c(new): added SVG import filter
8948 2002-07-27 Lars Clausen <lrclause@cs.uiuc.edu>
8950 * objects/standard/box.c:
8951 * objects/standard/zigzagline.c (zigzagline_move):
8952 More work on zigzagline hints.
8954 2002-07-26 Lars Clausen <lrclause@cs.uiuc.edu>
8955 * lib/connectionpoint.h:
8956 Hints for zigzaglines.
8958 * app/properties.c (properties_show):
8959 * app/defaults.c (defaults_show):
8961 * lib/propobject.c (object_create_props_dialog):
8963 * objects/FS/flow-poly.c:
8964 * objects/network/wanlink.c:
8965 * objects/network/bus.c:
8966 * objects/UML/class.h:
8967 * objects/UML/class_dialog.c:
8968 * objects/UML/association.c:
8969 Start of removing toolbox props from props dialogs.
8973 * app/lineprops_area.c (dia_arrow_chooser_new):
8974 * lib/arrows.c: Two new arrows: Concave, filled and blanked.
8976 * app/create_object.c:
8977 * app/modify_tool.c:
8982 2002-07-25 Lars Clausen <lrclause@cs.uiuc.edu>
8984 * app/preferences.c:
8986 * app/diapagelayout.c:
8987 New prefs selector kind PREF_CHOICE chooses between a list of
8988 strings. Used for picking default paper.
8990 * app/preferences.c (prefs_data):
8991 * lib/paper.c (get_paper_info): Added prefs setting for
8994 * lib/render.c (draw_polyline_with_arrows): Handles degenerate
8995 line segments at the ends (bug #86603).
8997 2002-07-25 Lars Clausen <lrclause@cs.uiuc.edu>
8999 * objects/standard/zigzagline.c (zigzagline_copy): Fix for bug
9000 #60324: Now calls update_data after copy.
9002 * app/interface.c (fill_sheet_wbox): Better fix for bug #88601:
9003 Now doesn't steal selection from non-object tools.
9005 2002-07-24 Lars Clausen <lrclause@cs.uiuc.edu>
9007 * app/commands.c (help_manual_callback): Uses BROWSER environment
9008 variable when available.
9010 2002-07-23 Lars Clausen <lrclause@cs.uiuc.edu>
9012 * app/interface.c (fill_sheet_wbox): Fix for bug #88601: Select an
9013 object from the new sheet when changing.
9015 * app/app_procs.c (app_init): Uses more standard size icon, from
9016 patch #56433. Keeping old icon as dia_gnome_icon_large.png.
9018 2002-07-22 Lars Clausen <lrclause@cs.uiuc.edu>
9020 * objects/UML/implements.c (implements_update_data):
9021 * objects/UML/realizes.c (realizes_update_data):
9022 * objects/UML/dependency.c (dependency_update_data):
9023 Test for null strings before calling on ascent.
9025 * objects/UML/realizes.c (realizes_draw):
9026 * objects/UML/message.c (message_draw):
9027 * objects/UML/generalization.c (generalization_draw):
9028 * objects/UML/dependency.c (dependency_draw)
9029 * objects/UML/constraint.c (constraint_draw):
9030 * objects/GRAFCET/condition.c (condition_draw):
9031 * objects/UML/association.c (association_draw):
9032 * objects/FS/flow-ortho.c (orthflow_draw):
9033 * objects/FS/flow.c (flow_draw): Change to use
9034 draw_foo_with_arrows. Pretty pretty arrows. Yay me!
9037 * lib/arrows.c (calculate_arrow_point):
9040 * objects/standard/zigzagline.c:
9041 * objects/standard/polyline.c:
9042 * objects/standard/line.c: Work towards better arrow drawing.
9044 2002-07-21 Lars Clausen <lrclause@cs.uiuc.edu>
9046 * objects/UML/state.c: Starting phase-out of State object as
9047 initial/final state (which never worked right).
9049 * app/app_procs.c (app_init): --version command line option for
9052 * configure.in: Slight improvement in GETTEXT_PACKAGE handling.
9054 2002-07-19 Lars Clausen <lrclause@cs.uiuc.edu>
9056 * app/render_eps.c: Removed debugging info.
9058 * lib/font.c (dia_font_scaled_ascent, dia_font_scaled_descent):
9059 Kludge to make ascent and descent work for empty strings. Won't
9060 work when using non-ASCII fonts. Better would be to get a
9061 PangoFont and ask directly.
9063 * configure.in: Simple define of GETTEXT_PACKAGE, and some updates
9066 * app/render_gdk.c (get_text_width): Fixed use of wrong string.
9069 2002-07-18 Lars Clausen <lrclause@cs.uiuc.edu>
9071 * plug-ins/xfig/xfig-export.c: First use of draw_object render
9072 function: All shapes are now groups in XFig export.
9074 * lib/diagramdata.c (normal_render):
9077 * app/display.c (ddisplay_obj_render):
9078 New render function for drawing objects, allows renderers to group
9079 or otherwise specially handle objects. We may want to reconsider
9080 calling it in app/display.c, as we 'know' the object draw function
9081 is the default one there.
9083 * lib/Makefile.am: Removed extra \ that broke stuff.
9085 * plug-ins/xfig/xfig-import.c:
9086 Spline import for xfig. Not perfect.
9088 * objects/standard/create.h:
9089 * objects/standard/bezier.c (bezierline_create):
9090 * lib/bezier_conn.c:
9091 * lib/beziershape.c (beziershape_set_points):
9092 * lib/bezier_conn.h:
9093 * lib/beziershape.h:
9094 Support for creating beziers non-interactively.
9096 2002-07-17 Lars Clausen <lrclause@cs.uiuc.edu>
9098 * plug-ins/xfig/xfig-import.c: Support for polygons and
9099 polylines. Special warning handling system removed.
9101 * lib/message.c (gtk_message_internal): Fixed bug involving
9102 closing message window and then getting repeated message.
9106 * configure.in (GETTEXT_PACKAGE):
9107 Update based on bug #88199. Hopefully this doesn't break too much
9110 * dia.desktop.in (_Comment): Changed after suggestion from
9111 calum.benson@ireland.sun.com (bug 88345)
9113 * app/sheets_dialog_callbacks.c: Fix from Dolores Alia de Saravia
9114 <loli@unsa.edu.ar> that makes user/system distinction better.
9116 2002-07-16 Lars Clausen <lrclause@cs.uiuc.edu>
9118 * app/render_libart.c: Got the context right, removed crashes.
9128 Remove libart #defines from most places (still around for png export).
9130 * app/render_libart.h:
9131 * app/render_libart.c:
9132 * configure.in (HAVE_LIBART):
9133 Starting on update of libart stuff for png export (without X).
9135 * app/autosave.h (autosave_check_autosave):
9138 * app/Makefile.am (dia_core_files):
9140 * app/diagram.c (diagram_set_modified):
9142 * app/app_procs.c (app_init):
9143 Autosave support. No automatic restore yet.
9145 2002-07-16 Lars Clausen <lrclause@cs.uiuc.edu>
9147 * app/render_eps.c (create_eps_renderer): #ifdef'd a scale
9150 2002-07-15 Lars Clausen <lrclause@cs.uiuc.edu>
9152 * app/interface.c (fill_sheet_menu): Tear-off for sheets menu.
9154 2002-07-15 Andrew Ferrier <andrew@new-destiny.co.uk>
9156 * Fix for 'make dist' etc. --- problem caused by
9157 previous AUTHORS patch.
9159 2002-07-14 Lars Clausen <lrclause@cs.uiuc.edu>
9161 * plug-ins/cgm/cgm.c (init_fonts): Changed pango_font_map to
9163 (set_font): NULL check.
9165 2002-07-12 Lars Clausen <lrclause@cs.uiuc.edu>
9167 * app/disp_callbacks.c:
9169 Addition to the object menus allows check menu items.
9171 2002-07-11 Andrew Ferrier <andrew@new-destiny.co.uk>
9173 * HACKING: completely changed to bring up-to-date.
9174 * AUTHORS: file needs REMOVING from CVS as now
9175 dynamically generated.
9176 * app/authors.h: split into subcategories for original
9177 authors, maintainers, etc.
9178 * app/app_procs.c: --credits rewritten to support new
9180 * app/commands.c: no changes to about box code, comment
9182 * Makefile.am: added rule for AUTHORS. I'm still
9183 inexperienced with automake, it seems to work, but
9184 for AUTHORS-related bugs, look at this change first.
9186 2002-07-10 Lars Clausen <lrclause@cs.uiuc.edu>
9188 * plug-ins/Makefile.am (SUBDIRS): Just realized why my hack didn't
9189 work. Back to including xslt dir always.
9191 * objects/UML/uml.c:
9192 * objects/UML/class.h:
9193 * objects/UML/class_dialog.c:
9194 * objects/UML/class.c: Patch from
9195 <mattam@netcourrier.com>: Adds comment visibility switch, also
9198 Big patch from Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
9199 for state/fork/activity stuff.
9200 * objects/UML/state.c: Removed old draw_rounded_rectangle code.
9201 * objects/UML/Makefile.am:
9202 * objects/UML/uml.c:
9203 * sheets/UML.sheet.in: Added new objects activity, fork,
9205 * objects/UML/pixmaps/state_term.xpm:
9206 * objects/UML/state_term.c: New, only initial/final states.
9207 * objects/UML/pixmaps/activity.xpm:
9208 * objects/UML/activity.c: New, activity state.
9209 * objects/UML/pixmaps/fork.xpm:
9210 * objects/UML/fork.c: New, fork/join bar.
9211 * objects/UML/pixmaps/state.xpm: state icon.
9215 * doc/shape.dtd: Patch from "Dolores Alia de Saravia"
9216 <loli@unsa.edu.ar> to add dia: to diagram.dtd elements and add
9219 2002-07-07 Lars Clausen <lrclause@cs.uiuc.edu>
9221 * plug-ins/Makefile.am (SUBDIRS): Made the XSLT dir depend on
9224 * app/Makefile.am: Commented out the diaconv parts while it's not
9225 used anyway. To come back later.
9227 * configure.in (HAVE_FREETYPE):
9230 * app/render_eps.c: Support for printing with freetype, better
9231 encapsulated now. Renders the text nicely, but ignores font
9232 setting. Requires pangoft2 to get the font outline, but non-text
9233 objects can still be rendered without it.
9236 * app/commands.c (objects_place_up_callback)
9237 (objects_place_down_callback):
9239 * app/diagram.c (diagram_place_down_selected)
9240 (diagram_place_up_selected): Starting support for moving objects
9243 * app/menus.c: Removed character/numeral shortcuts.
9245 2002-07-06 Hans Breuer <hans@breuer.org>
9247 * makefile.am app/makefile.am lib/makefile.am
9248 objects/makefile.am plug-ins/makefile.am
9249 plug-ins/python/makefile.am :
9250 added required files for win32 build to EXTRA_DIST
9252 * app/paginate_psprint.c app/render_eps.c
9254 wrap (E)PS Renderer into HAVE_FREETYPE, no FreeType
9255 on Pango as currently is on win32 => no PostScript
9258 * lib/widgets.c : undef GTK_DISABLE_DEPRECATED;
9259 use '/* noop */;' for empty case labels; replace
9260 debug spew printf with g_print which is guaranteed
9261 to work on win32, too.
9263 * lib/font.c (dia_pfd_set_weight) : set 'intermediate' values
9264 for DIA_FONT_MEDIUM and DIA_FONT_DEMIBOLD as explicit allowed
9265 in the pango_font_description_set_weight() api documentation
9266 Take care for them in dia_font_get_style() too.
9268 * lib/font.[hc] lib/widget.c objects/custom/shape_info.c
9269 plug-ins/shape/shape-export.c plug-ins/svg/render_svg.c :
9270 rename Obliquity to Slant which appears to be the usual name,
9271 also rename dia_font_get_style_string -> dia_font_get_slant_string
9273 * plug-ins/wmf/wmf.cpp : finally ported to new font api
9275 * lib/prop_attr.c app/render_gdk.c : dont *_unref if NULL
9277 * objects/uml/association.c class.c large_package.c message.c
9278 if g_free() is used g_strdup needs to be used.
9279 * objects/custom/shape_info.c
9280 objects/ER/attribute.c entity.c
9281 objects/standard/image.c
9282 app/sheets_dialog_callbacks.c : more strdup cleaning
9284 2002-07-05 Lars Clausen <lrclause@cs.uiuc.edu>
9286 * app/render_eps.c: Non-crashing printing (made the right
9287 context). Font output still fscked up.
9289 2002-07-05 Andrew Ferrier <andrew@new-destiny.co.uk>
9291 * app/authors.h: Added file --- now master
9292 location for contributors data.
9293 * app/app_procs.c: Added --credits option.
9294 * app/commands.c: Modified about box to use
9297 2002-07-05 Lars Clausen <lrclause@cs.uiuc.edu>
9299 * app/render_eps.c: First stab at EPS rendering using the contour
9300 code from PAPS. Crashes.
9302 2002-06-30 Lars Clausen <lrclause@cs.uiuc.edu>
9304 * app/recent_files.c (recent_file_history_remove):
9305 Fixed call to g_list_delete_link discarding return value.
9307 * lib/widgets.c (dia_font_selector_set_styles):
9308 * lib/font.h (DiaFontWeight):
9309 * lib/font.c (dia_font_get_style): Revert to DIA_FONT_NORMAL==0
9311 2002-06-30 Cyrille Chepelov <cyrille@chepelov.org>
9313 Contribution from Alan Horkan <horkana@tcd.ie>:
9316 * sheets/Assorted.sheet:
9317 A set of 40 assorted geometric shapes.
9319 * sheets/Assorted.sheet.in:
9320 * sheets/Makefile.am
9321 * shapes/Assorted/Makefile.am:
9322 * shapes/Makefile.am:
9325 Done the integration job of Alan's shapes. (Translators: have fun!)
9327 * po/dia.pot: refreshed the main potfile.
9329 2002-06-28 Cyrille Chepelov <cyrille@chepelov.org>
9331 Patch from Tim Ellis <Tim.Ellis@gamet.com>:
9333 * objects/UML/class.[ch]:
9334 * objects/UML/class_dialog.c:
9335 changed the number of connection points from a hardcoded value of
9336 8 to a #defined constant
9338 (I changed the constant back from 20 to 8, until we better know
9339 how we'll handle more connection points on the UML class in the
9340 future -- but Tim's patch is a welcome clean-up).
9342 2002-06-26 Cyrille Chepelov <cyrille@chepelov.org>
9344 * shapes/MSE/demultiplexer.xpm:
9345 * shapes/MSE/node_center.xpm:
9346 * shapes/MSE/multiplexer.xpm:
9347 * shapes/MSE/tacsat.xpm: updated MSE icons (transparency) by Alan
9348 Horkan <horkana@tcd.ie>
9350 2002-06-25 Lars Clausen <lrclause@cs.uiuc.edu>
9352 * lib/widgets.c: Total rehash of font selector, with font dialog
9353 option, expanding list (not LRU yet), and stuff.
9355 2002-06-25 Cyrille Chépélov <cyrille@chepelov.org>
9359 Added a set of new setter/getters, some of them more specially for
9362 * plug-ins/shape/shape-export.c: (new_shape_renderer),
9363 (destroy_shape_renderer), (set_font), (draw_string):
9364 * plug-ins/svg/render_svg.c: (new_svg_renderer),
9365 (destroy_svg_renderer), (set_font), (draw_string):
9367 Actually exported the font face, style, weight and size (sodipodi
9368 agrees with dia on how a small sample should look like (a sample
9369 0.90 would not even display anyways). Yay !)
9371 Patch from Matthieu Sozeau <mattam@netcourrier.com>:
9373 * plug-ins/xslt/Makefile.am: repaired the mess Cyrille put there.
9375 (end of ChangeLog-less patch)
9377 * objects/custom/shape_info.c (parse_style): now understands the
9378 font-style and font-weight attributes as well. Does not use
9379 anymore dia_font_new_from_legacy_name().
9381 2002-06-24 Lars Clausen <lrclause@cs.uiuc.edu>
9383 * objects/standard/textobj.c: Now uses stdprops for defaults.
9385 * lib/font.h: Changed order of DiaFontWeight entries. Sorry.
9386 * lib/font.c (dia_font_get_style): Style now linear and conversion
9389 * lib/widgets.c (dia_font_selector_set_styles): Fixed the style
9392 2002-06-24 Cyrille Chepelov <cyrille@chepelov.org>
9394 * plug-ins/dxf/dxf-import.c:
9395 using dia_font_new_from_style()
9397 Patch from Matthieu Sozeau <mattam@netcourrier.com>:
9399 * objects/UML/class.[ch]: Added a comment field to class
9400 * objects/UML/uml.[ch]: Added a comment field to attributes,
9401 operations and parameters.
9402 * objects/UML/class_dialog.c: Added code for the new comment
9404 * plug-ins/xslt/*.xsl: Added some code to handle comments.
9405 * plug-ins/xslt/xslt*.c: Clean up based on Cyrille comments.
9406 Added a $directory parameter for stylesheets so the output is
9407 in the good place (not in the $PWD).
9411 * AUTHORS: added contributors, updated maintainers. Removed the
9412 specific areas of action.
9414 * Patch from Andrew Ferrier <andrew@new-destiny.co.uk>, derived
9415 from a patch by Xing Wang <quixon@gnuchina.org>:
9417 * app/commands.c: help_about_callback now supports
9418 new-style GNOME about box as well as old GTK style.
9419 code also tidied (Closes: #85726)
9423 * app/commands.c: fixed the copyright (it's not all FSF), and
9424 maintainers. Synced contributors list with AUTHORS.
9426 2002-06-24 Lars Clausen <lrclause@cs.uiuc.edu>
9428 * lib/message.c: More work on repeating messages, now with
9431 2002-06-24 Hans Breuer <hans@breuer.org>
9433 * lib/widget.c : some more bits in place, at least
9434 it does something useful instead of crashing. Much
9435 better - but not all ok :-)
9437 2002-06-23 Lars Clausen <lrclause@cs.uiuc.edu>
9439 * lib/message.c (gtk_message_internal): First stab at repeating
9442 2002-06-23 Cyrille Chepelov <cyrille@chepelov.org>
9445 * objects/GRAFCET/*.c:
9447 * objects/UML/association.c: (one instance forgotten)
9448 * objects/UML/large_package.c:
9449 * objects/standard/textobj.c:
9452 using dia_font_new_from_style()
9454 2002-06-23 Hans Breuer <hans@breuer.org>
9456 * lib/font.c : giving some love to
9457 dia_font_new_from_legacy_name() that is making
9458 import of old files as painless as possible and
9459 provide an almost exact match where possible.
9460 It does not yet fully work because it interfers
9461 with the Style to DiaStyle conversion which comes
9464 [Changing these files is only allowed with Dia-0.90]
9465 * broken-files/fonts-0.90.dia : including the
9466 common hard-coded fonts from Dia-0.90. It also
9467 has drawn bounding-boxes for win32 as they were calculated
9468 from the former version (they were all too big).
9469 * broken-files/fonts-0.90-full.dia : all hardcoded
9470 fonts including the asian versions. On my machine
9471 this gives _a lot_ complaining about missing fonts
9472 and a finally a broken file display. Anyone having
9475 2002-06-23 Cyrille Chepelov <cyrille@chepelov.org>
9477 * objects/chronogram/*.c:
9478 * objects/custom/custom_object.c:
9480 using dia_font_new_from_style()
9482 2002-06-23 Lars Clausen <lrclause@cs.uiuc.edu>
9484 * lib/widgets.c (dia_font_selector_set_styles): Improvements to
9485 font selector (stability, insensitivity).
9487 * lib/font.c (dia_font_scaled_build_layout): Removed unworkable
9488 stretching scheme for tweaking, and made scaling scheme faster
9490 (dia_font_dia_style_to_pango): Oops, % != /.
9492 2002-06-23 Cyrille Chepelov <cyrille@chepelov.org>
9495 * patch from Matthieu Sozeau <mattam@netcourrier.com>:
9497 * plug-ins/xslt : Added an XSLT plugin to export dia files using
9498 XML Stylesheets. The plug-in requires DIA_PLUGIN_PATH to be set.
9499 It includes a small config file to tell it what stylesheets to use.
9503 * plug-ins/xslt/xsltdialog.c: modified the dialog to be more
9504 GTK2.0/HIG compliant (the labels could be slightly more verbose,
9505 perhaps). Added back a couple forgotten _(). Removed //-style
9508 2002-06-23 Hans Breuer <hans@breuer.org>
9511 (dia_plugin_get_name) : don't crash plugin_manager
9513 (dia_plugin_load) : reuse the description field to
9514 store the error string if loading fails.
9516 * lib/font.[hc] : starting to beautify the new
9517 font api: proper namespacing, adding convenience
9518 functions like dia_font_new_from_style(), ...
9520 * objects/uml/*.c : use the new convenience functions.
9522 [Next thing I plan to do is changing the other font
9523 functions to take DiaStyle and make Style and
9524 BASIC_*_FONT vanish. As well as giving some love to
9525 dia_font_new_from_legacy_name().
9526 If anyone want's to help on converting the other
9527 objects to the new api during that, I would highly
9530 2002-06-23 Hans Breuer <hans@breuer.org>
9532 * lib/font.c : made it compile and small indent fixes.
9533 Is there a code-has-no-effect-so-needs-not-be-valid
9536 * lib/widgets.c : use g_strcasecmp
9538 2002-06-22 Lars Clausen <lrclause@cs.uiuc.edu>
9542 * lib/widgets.c: Font names sorted, style selector widget
9543 reappeared. Doesn't select the old style yet.
9545 2002-06-22 Cyrille Chepelov <cyrille@chepelov.org>
9547 * lib/font.c: one who expects a text's font to be changed shall
9548 actually request the attributes to apply to the whole range of the
9551 * lib/font.c: extents computation was wrong.
9553 * lib/font.c: dia_font_get_legacy_name(); g_strconcat works better
9554 if a last NULL parameter is added...
9556 * lib/font.c: extents computation was completely wrong. This looks
9557 much better this time.
9559 * objects/UML/class.c: fixed the various strings positions.
9561 * lib/font.h, and **/*.[ch] (all callers of dia_font_new): used
9562 macros to get the hardcoded base fonts.
9564 * objects/ER/relationship.c: wasn't converted to DiaFont*
9566 2002-06-22 Hans Breuer <hans@breuer.org>
9568 * lib/widget.c : dont use backend specific functions
9569 to get on the font_families. Including it would mean
9570 including <windows.h> which breaks due to namespace
9573 * lib/libdia.def : updated externals
9575 * app/makefile.msc : temporary disabled: -DHAVE_LIBART
9577 * lib/font.c : added empty dia_font_init_instance function,
9578 reformatting of dia_fon_unref to allow to set breakpoint,
9579 dia_fon_build_layout() : dont crash on string==NULL
9581 * lib/text.c (text_set_attributes) : don't unref the wrong font
9583 * lib/widgets.c (dia_fon_selector_set_font) : our hashtable
9584 stores lowercased font names, but dia_font_get_family()
9587 2002-06-22 Lars Clausen <lrclause@cs.uiuc.edu>
9590 * app/render_gdk.c: Patch from Hans Breuer.
9592 * app/Makefile.am (dia_core_files): diaconv commented out for now.
9594 2002-06-22 Cyrille Chepelov <cyrille@chepelov.org>
9596 * lib/all files touched yesterday: took into account some of Hans
9598 http://mail.gnome.org/archives/dia-list/2002-June/msg00257.html
9600 * objects/chronogram/*:
9603 * objects/flowchart/*:
9605 * objects/GRAFCET/*:
9607 * objects/standard/textobj.?:
9609 converted to the new DiaFonts.
9612 * plug-ins/pstricks/*:
9616 Made minimalistic conversions so that they'd at least compile.
9619 * app/render_pixmap.c:
9620 Converted to the new DiaFonts.
9625 made the minimal changes so that it would at least build.
9627 *** At this point, the thing builds on my machine, but segfaults
9630 2002-06-21 Cyrille Chepelov <cyrille@chepelov.org>
9632 * configure.in: removed the backend-specific pango pkg_modules
9633 (trivial to add back if needed, when actually needed)
9636 * app/*gnomeprint.[ch]: (removed): removed the GNOME-print
9637 renderer. The APIs will have completely changed when we get around
9638 to redo a renderer for it, anyways.
9640 * font.[ch]: rewrote everything from scratch, with a Pango
9641 implementation. Normally, only backend-neutral things should go in
9644 **WARNING**: new rules for managing DiaFont* pointers: these are
9645 reference-counted GObjects. One >must< diafont_ref() and
9646 diafont_unref() as appropriate. I wish I could overload operator=()...
9648 lib/plug-ins.h: bumped up the plug-in API.
9653 lib/object_defaults:
9654 lib/prop_attr.c: Adapted to the new DiaFont API. This'll change
9655 again tomorrow with GObject.
9657 lib/widgets.c: Adapted to the new DiaFont API and to Pango.
9659 **** The rest of the tree should be updated as well ****
9661 2002-06-21 Lars Clausen <lrclause@cs.uiuc.edu>
9665 * app/render_pixmap.c:
9666 * app/render_pixmap.h:
9667 * app/render_libart.h:
9668 * app/render_libart.c:
9670 * lib/font.c: Removed freetype stuff (still around in
9671 lib/widgets.c 'cause we might want the font selector widget).
9673 2002-06-20 Cyrille Chepelov <cyrille@chepelov.org>
9675 * shapes/network/laptop.(xml|shape):
9676 * sheets/network.sheet.in: added Laptop (notebook) PC shape,
9677 contributed by Alan Horkan <horkana@tcd.ie>. (Closes: #82643)
9679 2002-06-17 Hans Breuer <hans@breuer.org>
9681 * lib/object_defaults.c : #include <libxml/tree.h> not
9682 <tree.h> pointed out by Xing Wang
9684 2002-06-17 Lars Clausen <lrclause@cs.uiuc.edu>
9686 * lib/color.h (GDK_COLOR_TO_DIA, DIA_COLOR_TO_GDK):
9688 * app/color_area.c: Update to
9689 gtk_color_selection_*_current_color() fixed bad crash issues, plus
9690 updated color conversions.
9692 * sheets/ER/weakentity.xpm: Accepted patch from
9693 quixon@gnuchina.org to make icon match actual appearance.
9695 * app/recent_files.c: Fixed GNOME recent file problem, thanks to
9696 quixon@gnuchina.org.
9698 2002-06-16 Hans Breuer <hans@breuer.org>
9700 * lib/plug-in.[hc] : make PlugInInfo opaque again in the
9701 good tradition of information hiding. Add new function
9702 dia_plugin_get_symbol()
9703 * app/sheets.c app/sheets_dialog_callbacks.c : use it
9705 * app/sheets.c : stop complaining about object_get_type()
9706 returning NULL. This is a consequence of e.g. disabling
9707 plug-ins at runtime _and_ it was and is gracefully handled.
9708 Spitting out g_warning for it isn't appropriate.
9710 * lib/object.[ch] : removed dead code
9712 * app/plugin-mangager.c : almost complete rewrite for gtk2
9713 using GtkListStore/GtkTreeView
9715 * lib/libdia.def : updated externals
9717 * todo.gtk2 : updated, that is removed already done steps
9719 2002-06-15 Hans Breuer <hans@breuer.org>
9721 * objects/uml/class_dialog.c : clean some left-over
9722 utf8-mess, return 0 from "focus_out_event" handlers
9723 to avoid asserting in gtk (#78305). Reconstruct
9724 stereotype/NULL behaviour to avoid rendering empty
9725 stereotypes on classes and member functions
9727 [#56109 - Provide object defaults for StdProp objects,
9728 some remaining issues are discussed in bugzilla]
9730 * lib/object_defaults.c : (new file) manage default properties
9731 of dia objects. The serialization is done with standard
9732 object methods in a diagram compatible format.
9734 * lib/object.c : add object_registry_foreach() which allows
9735 to iterate over all registered object types
9737 * lib/object.h : added prototypes object_default*() and
9738 object_registry_foreach()
9740 * lib/makefile.am lib/makefile.msc : add new file to build
9742 * lib/libdia.def : export new functions
9744 * app/defaults.c : provide StdProp based defaults if the
9745 ObjectType doesn't implement it's own default functions
9747 * app/create_object.c : through dia_object_default_create()
9748 * app/disp_callbacks.c : same here
9750 2002-06-12 Lars Clausen <lrclause@cs.uiuc.edu>
9752 * objects/FS/flow-ortho.c (orthflow_get_object_menu): Menu
9753 sensitivity for deleting segments.
9755 2002-06-12 Cyrille Chépélov <cyrille@chepelov.org>
9757 * app/color_area.c: (color_area_events):
9758 * app/diagram.c: (diagram_destroy):
9759 * app/interface.c: (zoom_activate_callback), (fill_sheet_wbox),
9761 * app/load_save.c: (diagram_data_load):
9762 * app/menus.c: (menus_get_item_from_path):
9763 * app/preferences.c: (prefs_load):
9764 * app/render_gdk.c: (get_text_width):
9766 * lib/color.c: (color_convert):
9767 * lib/dia_dirs.c: (dia_config_filename):
9768 * lib/dia_xml.c: (xmlDiaParseFile), (data_type):
9769 * lib/intl.c: (intl_get_language_list):
9770 * lib/message.c: (message):
9772 * lib/paper.c: (get_default_paper):
9773 * lib/plug-ins.c: (this_is_a_plugin), (dia_register_plugins):
9774 * lib/widgets.c: (dia_file_selector_get_file):
9776 * objects/standard/image.c: (get_directory):
9780 2002-06-12 Lars Clausen <lrclause@cs.uiuc.edu>
9782 * ChangeLog: Fixed bad UTF-8 mess. Apologies.
9784 2002-06-11 Lars Clausen <lrclause@cs.uiuc.edu>
9786 * app/interface.c: sscanf now returns EOF on empty string, so
9787 handle no match for zoom factor better => correct zoom at start.
9789 * app/sheets.c (create_object_pixmap): Tried to display empty error.
9790 (sheets_optionmenu_create): Died when not finding specified
9791 sheet. Don't think it should.
9793 * objects/UML/association.c: Added patch from osamyn@ulb.ac.be
9794 (bug #84367) to place the text better.
9796 2002-06-11 Cyrille Chepelov <cyrille@chepelov.org>
9798 * configure.in: Added forgotten libgnomeui-2.0 when --enable-gnome
9800 * app/commands.c: Removed unnecessary gnome include. Removed
9801 GNOME-Print support.
9803 * app/menus.h: Removed now unnecessary gnome include.
9805 * app/sheets_dialog.c: Used Gtk 2.0 stock buttons instead of
9806 GNOME-specific stock buttons
9808 2002-06-09 Hans Breuer <hans@breuer.org>
9810 * app/app_procs.c : convert 'Modified diagrams exits'
9811 dialog to use GtkMessageDialog. That gives us:
9812 - icons without Gnome dependency
9813 - much less code, also cross platform
9814 - improved useability ?
9816 * app/color_area.c : the Color Selection Widget looked
9817 quite wrong (alpha problems). Fix it by merging in required
9818 changes stolen from The Gimp cvs
9819 * app/color_area.h : to get the right appearance the maskes
9820 needed to be taken into account
9821 * app/interface.c : adapt to color_area_create changes.
9822 Also remove some dead code and finally remove cvs autexpansion,
9823 I was bothered enough by irrelevant differences :-)
9825 * app/defaults.c app/properties.c app/dia-props.c : use improved GtkDialog
9826 api, i.e stocks and response to make the GnomeDialog usage
9827 obsolete. Also fixed the issue with closing the 'parent'
9828 before closing the dialog
9830 * app/display.[ch] : removed some dead code and conversion
9831 to new GtkDialog api. Also trying to conform to new HIG
9832 standard http://developer.gnome.org/projects/gup/hig/
9834 2002-06-09 Hans Breuer <hans@breuer.org>
9836 * lib/makefile.msc : define GTK_DISABLE_DEPRECATED,
9839 * lib/dia_image.c : gtk_widget_set_default_visual()
9840 remove. It does nothing with Gtk2.
9842 * lib/libdia.def : added ps_unicoder exports
9844 * lib/message.c : remove #GNOME use GtkMessageDialog.
9845 Yeah, Dia gets dialogs wit icons cross-platform.
9847 * lib/prop_geomtypes.c : gtk_spin_button_get_value_as_float()
9848 to gtk_spin_button_get_value()
9850 * lib/prop_inttypes.c : gtk_label_set() -> gtk_label_set_text()
9852 add #undef GTK_DISABLE_DEPRECATED to still use ...
9853 * lib/prop_text.c : ... GtkText
9854 * lib/prop_widgets.c : ... GtkList
9855 * lib/prop_dialogs.c : ... gtk_signal_connect and more
9856 * lib/widgets.c : ... (too much to list here)
9858 * lib/ps-utf8.c : #include <string.h>
9860 2002-06-08 Cyrille Chepelov <cyrille@chepelov.org>
9863 * Makefile.am: Adapted for gtk2.
9864 Removed dependencies on libunicode, on iconv(), on langinfo().
9866 * acconfig.h: removed (now obsolete)
9868 * lib/charconv.[ch]: removed (superceded by glib)
9869 * lib/ps-utf8.[ch]: removed dependency on charconv.[ch]
9871 * **/*.[ch]: removed (utfchar *), (unichar) and other charconv or
9872 libunicode types for their glib counterparts. Fixed the include
9873 paths for libxml2. Removed all traces of libxml1 or non-UTF8
9874 support (there were remains in objects/uml).
9877 2002-06-08 Hans Breuer <hans@breuer.org>
9879 */*.c */*/*.c : remove all the #ifdef *_UTF8_* hell,
9880 only keep the utf-8 clean code cause Dia+Gtk2 now talk it.
9881 Also use g_strdup()'s handling of NULL by returning NULL
9882 again at all places I found (remove unnecessary if's)
9884 * todo.gtk2 : new file to keep notes about gtk2 porting,
9885 further issues and thoughts and some status information.
9886 Also sent to dia-list ('Dia goes Gtk2 ...').
9888 [make it compile with GTK+ 2.0]
9890 * config.h.win32 : #undef GTK_TALKS_UTF8_WE_DONT,
9891 removed definition of S_ISDIR, S_ISREG and getlogin
9893 * */makefile.msc : Use GTK2 and libxml2
9894 BEWARE: makefile.am, configure.in not yet ported !
9896 * app/app_procs.c app/diagram.c : remove
9897 gtk_item_factory_dump_rc code, (it wasn't read in again anyway)
9898 but set use gtk_menu_set_accel_path() on menu creation
9900 * app/color_area.c lib/widgets.c :
9901 make use of gtk_color_selection_set_has_palette ()
9903 * app/commands.c : gdk_pixbuf_new_from_file wants an
9904 extra argument. Convert from DIR to GDir usage.
9906 * app/diagram_tree.c(button_press_callback) : need to return
9907 FALSE in the signal handler to let gtk process it further.
9908 (get_object_name) : don't leak 'prop'
9910 * app/diapagelayout.c : adapt to GtkTypeInfo changes and handle
9911 dia_page_layout_destroy() getting called more than once
9913 * app/diaunitspinner.c : GtkEditable -> GtkEntry,
9916 * app/disp_callbacks.c : gtk_menu_append() -> gtk_menu_shell_append()
9918 * app/display.h : wrap input contexts declarations into #ifdef USE_XIM.
9919 IIRC this code will not compile unchanged when USE_XIM is defined ...
9921 * app/gtk[hv]wrapbox.[hc] : use already ported version from The GIMP 1.3.x
9923 * app/interface.c : there is no widget->klass anymore in Gtk,
9924 use GTK_WIDGET_GET_CLASS instead. gdk_pixbuf_new_from_file() extra
9925 parameter. Some tweaking of GtkWrapBox usage to get four tools in
9927 switch off GTK's double buffering on Dia's canvas. Otherwise we would
9928 get triple buffering and flicker.
9929 Replace call to GTK private function _gtk_accel_group_attach()
9930 with public gtk_window_add_accel_group()
9932 * app/layer_dialog.c : adapt to GtkTypeInfo changes
9934 * app/load_save.c lib/plug-ins.c lib/sheet.c
9935 objects/custom/custom.c :
9936 simplified by using g_file_test()
9938 * app/menus.c : convert from gtk_item_factory_<dump|parse>_rc
9939 to gtk_accel_map_<save|load>. Also added common stock-icons
9942 * app/preferences.c : use gtk_button_set_label() instead
9943 of button->child which is gone. Also removed GLIB_CHECK_VERSION.
9945 * app/preferences.c lib/dia_xml.c lib/plug-ins.c :
9946 #ifdef G_OS_WIN32 #include <io.h>, this was formerly done
9949 * app/recent_files.c : removed GLIB_CHECK_VERSION
9952 plug-ins/metapost/render_metapost.c
9953 plug-ins/pstricks/render_pstricks.c
9954 plug-ins/svg/render_svg.c :
9955 replace getlogin() with g_get_user_name() which always
9958 * app/render_gdk.c : gdk_region_union_with_rect() modifies
9959 inplace now and returns nothing, also less #hell
9961 * app/render_libart.c : some initial #hell cleaning, SuckFont
9962 still needs to vanish
9964 * app/splash.c : gdk_pixbuf_new_from_file() second arg and
9965 GTK_WINDOW_DIALOG -> GTK_WINDOW_TOPLEVEL
9967 * app/render_pixbuf.c app/sheets.c : plain #hell cleaning
9968 * app/sheets_dialog_callbacks.c : some #hell and adaptions
9969 needed to GtkWrapBox api changes
9972 * lib/charconv.[hc] : removed from build
9973 [changed appropriate]
9974 * lib/prop_inttypes.c lib/prop_text.c :
9976 * lib/text.c : ported from HEAD but keep original indent
9977 intact. Original was done by Akira TAGOH.
9979 * lib/color.c : GdkColorContext is gone, use GdkColormap instead.
9981 * lib/dia_image.c : gdk_pixbuf_new_from_file() second arg
9983 * lib/dia_xml.c : remove #ifdef GLIB_CHECK_VERSION, it's the
9984 same on all platforms now!
9986 * lib/font.c : still using SuckFont which was an IMPERATIVE FIXME!
9988 * lib/message.c : remove "charconv.h"
9990 * lib/prop_text.c : #define GTK_ENABLE_BROKEN to use GtkText
9993 * lib/sheet.c : convert from DIR to GDir usage
9995 * lib/widgets.c : gtk_menu_(shell_)append and GtkTypeInfo
9997 * lib/widgets.h : include gtk<label|colorseldialog>.h
10000 * objects/fs/flow.c :
10001 * objects/fs/flow-ortho.c : GTK_ENABLE_BROKEN to use GtkText
10003 * objects/custom/custom.c : convert from DIR to GDir usage
10006 * plug-ins/python/makefile.msc : updated for GTK2/Python2.2
10009 2002-05-03 Hans Breuer <hans@breuer.org>
10011 * lib/dia_xml.c : make the well formed utf8 check
10012 actually work for û (non 7-bit ascii encoding)
10013 and fixed the file re-writing if the check fails.
10014 Thanks to Vitaly Lipatov for noticing the misbehaviour.
10016 * lib/font.c : synchronize #ifdef G_OS_WIN32 with
10017 comment on last ressort font. Thanks to Maxim Sobolev.
10019 2002-06-03 Cyrille Chepelov <cyrille@chepelov.org>
10021 * sheets/network.sheet.in: corrected a typo in plotter invocation.
10023 2002-06-03 Steffen Macke <sdteffen@web.de>
10025 * shapes/network/digitizing_board.png:
10026 * shapes/network/digitizing_board.shape:
10027 * shapes/network/plotter.png:
10028 * shapes/network/plotter.shape:
10029 * shapes/network/Makefile.am
10030 * sheets/network.sheet.in: added new plotter and digitizing
10033 2002-06-02 Cyrille Chepelov <cyrille@chepelov.org>
10035 * lib/font.c: made a symptomatic fix to a segfault reported by
10036 Jan Keirse <jan.keirse@pandora.be> on a SuSE 7.3 system. This
10037 won't prevent dia from terminating, but should give more
10038 user-friendly information about why did it terminate.
10040 Two patches from <robert.young@dsto.defence.gov.au>:
10042 * app/display.c: fix the size of the canvas area which gets
10043 redrawn. There was an off-by one error (Closes #83659)
10045 * app/display.c: make sure we redraw all screen only when we
10046 really have to (some update_areas were mistakenly ignored) (Closes
10049 * NEWS: added a new entry for the future. Put there a reminder to
10050 update the dependencies.
10052 * configure.in: put in notes about what will change shortly.
10053 upped the version to 0.90+cvs (did also in config.h.win32)
10054 upped the minimum version for intltools (now 0.21)
10056 2002-06-01 Cyrille Chepelov <cyrille@chepelov.org>
10062 bumped up version number to 0.90. Yay!
10064 2002-05-30 Cyrille Chepelov <cyrille@chepelov.org>
10066 * doc/pl/Makefile.am:
10067 * doc/en/Makefile.am: fixed a "make install" problem when db2html
10068 is not present (Reported by Andrew Ferrier
10069 <andrew.junk@new-destiny.co.uk>). Fixed another "make distclean"
10070 problem which prevented me from ever seeing the problem in doc/en...
10072 * Makefile.am: added autogen.sh to the EXTRA_DIST clause.
10074 * lib/font.c: patch from <robert.young@dsto.defence.gov.au>; add a
10075 way to read the font path from the XFS configuration files in
10076 order to enable FreeType (fixes #83098).
10078 * POTFILES.(in,skip): now skips objects/sybase/sybase.c, which is not
10085 bumped up version number to 0.90.RC3
10087 2002-05-29 Zbigniew Chyla <cyba@gnome.pl>
10089 * configure.in, doc/Makefile.am, doc/pl/Makefile.am,
10090 doc/pl/authors.sgml, doc/pl/dia-manual.sgml, doc/pl/dia-pl.omf,
10091 doc/pl/intro.sgml, doc/pl/license.sgml, doc/pl/topic.dat
10092 doc/pl/usage-canvas.sgml, doc/pl/usage-customization.sgml,
10093 doc/pl/usage-layers.sgml, doc/pl/usage-loadsave.sgml
10094 doc/pl/usage-objects-selecting.sgml, doc/pl/usage-objects-special.sgml,
10095 doc/pl/usage-objects.sgml, doc/pl/usage-quickstart.sgml:
10096 Added Polish documentation.
10098 2002-05-27 Cyrille Cheeplov <cyrille@chepelov.org>
10100 * objects/UML/state.c: there was a (gratuitous?) change of on-XML
10101 format for the UML State object. Now there's a hack to reload
10102 older files, and get them converted on the fly.
10103 Justyna BiaÅ?a <nell@poczta.gazeta.pl> reported this. Thanks!
10105 * lib/properties.h:
10106 * lib/propobject.c:
10107 * lib/proplist.c: Added a new property flag, PROP_FLAG_LOAD_ONLY,
10108 and adapter the proplist predicates. A LOAD_ONLY property is for
10109 when you have legacy to support but can't resist moving your
10110 fields around... (was needed to support the above state.c fix).
10112 If the in-core of your object changes and you need a LOAD_ONLY
10113 property for the old format, you must keep some spare room in your
10114 object's struct to accomodate for the potential old-style
10115 attributes. Then in foo_load(), after having called
10116 object_load_using_properties(), you must inspect the old-style
10117 fields and act accordingly. Don't ever change the on-disk formats...
10119 * objects/UML/object.c:
10120 * objects/UML/small_package.c: added a check against empty
10121 stereotypes still consuming space. Reported by Dolores Alia de
10122 Saravia <loli@unsa.edu.ar>. Thanks!
10124 2002-05-26 Cyrille Chepelov <cyrille@chepelov.org>
10126 * INSTALL: added platform notes from MÃ¥rten Svantesson, for when
10127 using libtool on an AFS partition.
10129 * po/update_potfiles_in.sh: now simply calls the recent intltools
10130 features; they work better than hand-crafted half-ignorant
10131 scripts. Thanks to Kenneth Rohde Christiansen <kenneth@gnu.org>
10134 * po/POTFILES.in: added back two files update_potfiles_in.sh
10135 didn't take into account. Now this file is not automatically
10137 * po/POTFILES.skip: told `intltool-update -m` what files to ignore
10138 (the usual suspects, in fact).
10140 * configure.in: improved the isinf() / isfinite() detection on
10141 Solaris (MÃ¥rten Svantesson)
10143 2002-05-25 Cyrille Chepelov <cyrille@chepelov.org>
10145 * configure.in: one expression was replacing $CFLAGS, removing
10146 whatever was previously in.
10147 Added more checks for isinf() and finite() on Solaris.
10149 * lib/geometry.h: added a macro defintion for isinf() if not
10150 HAVE_ISINF. (Hans, you may want to #define HAVE_ISINF if relevant
10153 * app/commands.c: "cut" did not set the 'modified' bit (paste has
10154 been for a little while). Fixes #82994.
10156 * Makefile.am: added more stuff to distclean-local. This should make
10157 "make distcheck" pass! Thanks to the author of
10158 http://mail.gnome.org/archives/gnome-2-0-list/2001-August/msg00212.html
10159 ... I wonder who this Henstridge guy is ... ;-)
10160 Darn. Still doesn't pass. I give up for tonight.
10162 * po/update_potfiles_in.sh: updated to take care of sheet files,
10163 and to filter out the EML plug-in.
10164 * po/POTFILES.in: updated with all .c and all .sheet.in files
10166 * po/dia.pot, po/*.po: again updated all .po files with all
10167 strings (with the updated POTFILES). Now with the up-to-date
10168 POTFILES, just all languages have some fuzzy or untranslated
10169 strings (not that the 100% team was that large beforehand...)
10171 * po-checktrans: removed the comment about .po files not holding
10172 all translatable stuff, since now they do.
10174 2002-05-24 Cyrille Chepelov <cyrille@chepelov.org>
10180 bumped up version number to 0.90.RC2
10182 2002-05-20 Hans Breuer <hans@breuer.org>
10184 * app/load_save.c : starting to increase
10185 Dias tolerance on incomplete/broken files. The
10186 corresponding bug is #56233. But the patch there does
10187 neither apply anymore nor does it really fix the problem
10188 but only delays it, e.g. even if it would be allowed
10189 to read a file without any layers, the later code can't
10191 * lib/dia_xml.c : attribute_<num|first>_data(), data_type()
10192 handle passing in NULL for the node gracefully.
10194 * shapes/network/printer.shape : added two more connection
10195 points - one at each side - to fix bug #60359
10197 * app/commands.c (edit_copy_callback) :
10198 add ddisplay_do_update_menu_sensitivity() to make
10199 sequence select-copy-paste work.
10201 2002-05-20 Hans Breuer <hans@breuer.org>
10203 * app/create_object.c (create_object_button_press) :
10204 added a call to ddisplay_do_update_menu_sensitivity()
10205 to make Ctrl^D etc work after object creation.
10208 2002-05-18 Lars Clausen <lrclause@cs.uiuc.edu>
10210 * objects/ER/entity.c:
10211 * objects/ER/attribute.c:
10212 * objects/ER/relationship.c: Patch to allow text size change from
10213 Celso Tetsuo Nagase Suzuki.
10215 2002-05-18 Steffen Macke <sdteffen@web.de>
10217 * app/app_procs.c: #ifdef'd xmlerror.h (comes with
10219 * doc/en/graphics/greendots.png:
10220 * doc/en/home_network.png:
10221 * doc/en/line_props.png:
10223 * dia_gnome_icon.png:
10224 * dia_gnome_menu_icon.png:
10226 * shapes/network/telephone.png:
10227 * shapes/Logic/and.png:
10228 * shapes/Logic/buffer.png:
10229 * shapes/Logic/connector.png:
10230 * shapes/Logic/inverter.png:
10231 * shapes/Logic/nand.png:
10232 * shapes/Logic/nor.png:
10233 * shapes/Logic/not.png:
10234 * shapes/Logic/or.png:
10235 * shapes/logic/xor.png:
10236 * samples/ER-demo.dia:
10237 * samples/SADT.dia:
10238 * samples/UML-demo.dia:
10239 * samples/chronograms.dia:
10240 * samples/grafcet.dia: re-added as binary files
10242 2002-05-17 Hans Breuer <hans@breuer.org>
10244 * lib/libdia.def : reflect removing of render_store.[ch]
10246 * */makefile.mingw : remove VERSION definition it's
10247 done in config.h.win32. Dia still doesn't work if
10248 build with mingw ...
10250 * RELEASE-PROCESS : removed */makefile.mingw
10252 * app/sheets_dialog_callbacks.c : if we use those
10253 ugly charconv_gtk_* functions lib/charconv.h needs to
10255 * lib/charconv.h : ... and needs to contain the
10256 necesseray prototypes _and_ #defines
10258 * plug-ins/shape/shape-export.c : with libxml2 xmlNewGlobalNs
10259 is deprecated and does nothing but spit a warning. This broke
10260 the shape format writing. Fixed.
10261 Also with libxml2 pretty formatted xml isn't the default
10262 anymore, but needs to be enabled explicit: It is done now
10263 for shape files, which almost always needed to be edited by
10266 * app/app_procs.c : #if G_OS_WIN32 redirect xmlErrorReporting
10267 from stderr - which is invalid on Dia/win32 - to g_print -
10268 which opens up a console window if necessary. This way
10269 a xml-deprecation-error shouldn't stay unnoticed next time
10271 2002-05-17 Steffen Macke <sdteffen@web.de>
10273 * shapes/Misc/folder.png:
10274 * shapes/Misc/file.png: re-added as binary files
10276 2002-05-16 Lars Clausen <lrclause@cs.uiuc.edu>
10278 * lib/font.c: Fixed segfault for fonts without family_name.
10280 2002-05-17 Cyrille Chepelov <cyrille@chepelov.org>
10282 * po/POTFILES.in: added app/sheets_dialog_callbacks.c
10284 * app/sheets_dialog_callbacks.c: While reviewing UTF-8isation upon
10285 Lars' request, minor cosmetic stuff (mostly _() of human-readable
10286 XML comments in .sheet files; one translator booby-trap disarmed).
10288 * lib/charconv.c: moved #hell inside the body of the new
10289 charconv_*gtk* functions (otherwise the Win32 or gtk2.0 linker
10292 2002-05-16 Lars Clausen <lrclause@cs.uiuc.edu>
10294 * plug-ins/wpg/Makefile.am (INCLUDES):
10295 * plug-ins/shape/Makefile.am (INCLUDES):
10296 * plug-ins/svg/Makefile.am (INCLUDES):
10297 * plug-ins/pstricks/Makefile.am (INCLUDES):
10298 * plug-ins/metapost/Makefile.am (INCLUDES): Added UNICODE_CFLAGS
10299 and DEBUG_CFLAGS in some missing places.
10301 * MAINTAINERS: New file containing list of known package
10305 * lib/charconv.c: Charconv versions of some common gtk calls.
10307 * app/sheets_dialog_callbacks.c
10308 (on_sheets_new_dialog_button_ok_clicked),
10309 (on_sheets_dialog_button_edit_clicked),
10310 (on_sheets_dialog_button_remove_clicked),
10311 (on_sheets_edit_dialog_button_ok_clicked):
10312 * app/sheets.c (sheets_optionmenu_create),
10313 (sheets_optionmenu_create): Added utf8 translations.
10315 * app/sheets_dialog.c:
10317 * app/sheets_dialog_callbacks.c: Added some missing _()'s.
10319 2002-05-16 Cyrille Chepelov <cyrille@chepelov.org>
10321 * po/POTFILES.in: added app/sheets_dialog.c
10323 2002-05-15 Cyrille Chépélov <cyrille@chepelov.org>
10325 * lib/charconv.c: (charconv_local8_to_utf8),
10326 (charconv_utf8_to_local8): tweaked the warnings to get more
10328 * lib/font.c: (font_get_suckfont): handled a potential case of
10329 uninitialised data being used (just paranoid)
10331 * objects/GRAFCET/boolequation.c: (opstring),
10332 (opblock_get_boundingbox), (opblock_draw),
10333 (boolequation_calc_boundingbox): some extra hoops needed now dia
10334 talks UTF8 (but gtk doesn't). More #hell. Beeek. Basically, the
10335 symbols can't yet be used with their proper Unicode cells, since
10336 gtk will demand them in the Symbol font, expressed in the local
10339 * samples/grafcet.dia: re-saved, now with a fixed bounding box (by
10340 the fix just above).
10342 2002-05-14 Lars Clausen <lrclause@cs.uiuc.edu>
10344 * app/diagram_tree.c (get_object_name): Check that name property
10345 doesn't have null string.
10347 2002-05-13 Lars Clausen <lrclause@cs.uiuc.edu>
10349 * autogen.sh (DIE): Added conditional --force to gettextize.
10351 * app/pagesetup.c (pagesetup_ok): Commented out missing Gnome
10354 2002-05-13 Cyrille Chepelov <cyrille@chepelov.org>
10356 * RELEASE-PROCESS: added James' notes on how to properly make the
10359 * configure.in: removed macro nesting related to libpng.h, which
10360 was causing some problems on some systems (like mine, which made
10361 the snapshots bad).
10363 Made --enable-unicode, previously an option, the mandatory case.
10365 * app/Makefile.am: updated EXTRA_DIST
10368 * app/makefile.mingw:
10370 * doc/en/dia-manual.sgml:
10371 * plug-ins/makefile.mingw:
10372 * configure.in: bumped up the version number to 0.90.RC1
10374 * lib/render_objects.[ch]:
10375 * po/POTFILES.in: removed render_objects from the build.
10377 * plug-ins/Makefile.am:
10378 * plug-ins/wmf/Makefile.am (new): EXTRA_DIST'ed the WMF plug-in,
10379 so we keep its source in the tarball.
10381 * objects/network/*.c, Makefile.am:
10382 * objects/sybase/*.c, Makefile.am:
10383 * po/POTFILES.in: cleaned up the non-existent files from the po
10386 * plug-ins/Makefile.am: re-enabled metapost plug-in.
10388 2002-05-13 Steffen Macke <sdteffen@web.de>
10391 * app/command.c: added M. C. Nelson to the Authors
10392 * sheets/Circuit/Makefile.am: added firewall shape to build
10393 * sheets/network/Makefile.am: added telephone and microphone
10396 2002-05-13 Lars Clausen <lrclause@cs.uiuc.edu>
10398 * RELEASE-PROCESS: Added list of files that contain the release
10399 number or should otherwise be changed at each release.
10401 2002-05-12 Lars Clausen <lrclause@cs.uiuc.edu>
10403 * objects/UML/uml.c (uml_operation_read): Forgot to commit this
10404 (reported fixed) bug: POLYMORPHIC -> LEAF for default.
10406 2002-05-12 Hans Breuer <hans@breuer.org>
10408 * config.h.win32 : changed VERSION to 0.90.RC1
10410 * app/makefile.msc lib/makefile.msc : use renamed
10411 gdk-pixbuf version (same content but renamed because
10412 all the other gtk+ dlls are renamed) to avoid trouble
10413 mixing gtk versions (of which one would not
10416 * app/app_procs.c : removed recently unneeded
10417 inclusion of "sheets.h"
10419 * app/render_gdk.c : removed my own debug spew
10420 which should never made it to cvs
10422 * lib/render_object.[hc] : added
10423 #error "File not used anymore."
10425 * lib/libdia.def : updated externals
10427 * app/interface.c : dropped filenames need to be
10428 converted from uri with Gtk+2.0
10430 2002-05-12 Cyrille Chepelov <cyrille@chepelov.org>
10432 * RELEASE-PROCESS (new): a draft document about how to release. To
10433 be discussed. (already with some input from Hans Breuer)
10435 2002-05-12 Steffen Macke <sdteffen@web.de>
10437 * sheets/Makefile.am: re-added Misc sheet to make process
10439 2002-05-12 Lars Clausen <lrclause@cs.uiuc.edu>
10441 * objects/FS/function.c: Added comments to humungous list of menu
10442 items, to aid translators.
10444 2002-05-11 Lars Clausen <lrclause@C194282.chmpgn1.il.home.com>
10446 * app/menus.c (display_menu_items): Added a few shortcuts for zooms.
10448 * app/menus.c (display_menu_items): Added a few shortcuts for zooms.
10450 * app/interface.c (create_toolbox): Disallow shrinking beyond
10451 requested size. Fixes bug #59439, and confirms to GTK guidelines
10452 (see gtk_window_set_policy).
10453 (create_sheets): Removed now unnecessary set_usize call.
10455 2002-05-10 Lars Clausen <lrclause@C194282.chmpgn1.il.home.com>
10457 * lib/beziershape.c (remove_handles): Fixing removal of last
10458 segment. Undo of removal still hokey.
10460 2002-05-10 Lars Clausen <lrclause@cs.uiuc.edu>
10462 * lib/bezier_conn.c (remove_handles): Proper offset for fixing
10464 * lib/beziershape.c (beziershape_init): Removed early call to
10465 beziershape_update_data where points aren't set yet.
10466 (beziershape_add_segment): Use segment 0 instead of overflowing
10467 points array with segment+1.
10468 (beziershape_remove_segment): Proper offset for fixing
10470 (remove_handles): Proper offset.
10472 2002-05-08 Lars Clausen <lrclause@cs.uiuc.edu>
10474 * objects/GRAFCET/action.c (action_update_data): Init x value of
10475 click point for call to connpointlist_adjust_count.
10477 * app/modify_tool.c (create_modify_tool): Init tool->auto_scrolled
10479 * app/render_pixmap.c (new_pixmap_renderer): Moved first linestyle
10480 setting to where values are inited.
10482 * lib/polyshape.c (polyshape_init): Removed call to
10483 polyshape_update_data that tried to use uninitialized data.
10485 2002-05-06 Lars Clausen <lrclause@C194282.chmpgn1.il.home.com>
10487 * app/sheets_dialog.c: Mass removal of //-style comments. The
10488 Irix compiler doesn't like them:( I do...
10490 2002-05-06 Lars Clausen <lrclause@cs.uiuc.edu>
10492 * app/render_libart.c (draw_string): Bail out when no GDK font is
10494 (set_font): Give error when font not found.
10495 (set_fillstyle): Intlized error msg.
10497 * app/pagesetup.c (pagesetup_ok, pagesetup_apply): Sets diagram
10498 modified when applied (and ok only does apply if apply is set
10499 sensitive). Fixes bug #75623.
10501 2002-05-06 Pablo Saratxaga <pablo@mandrakesoft.com>
10503 * configure.in: Added Vietnamese (vi) to ALL_LINGUAS
10505 2002-05-05 Steffen Macke <sdteffen@web.de>
10507 * app/Makefile.am: added $(UNICODE_CFLAGS)
10509 2002-05-02 Lars Clausen <lrclause@cs.uiuc.edu>
10511 * app/commands.c (help_manual_callback): Check return value of
10514 * plug-ins/xfig/Makefile.am (INCLUDES): Added DEBUG_FLAGS
10516 * plug-ins/xfig/xfig-import.c: Fixed misspelled Poly_L_ine, added
10519 2002-04-30 Lars Clausen <lrclause@cs.uiuc.edu>
10521 * app/render_gdk.c (draw_string): Extra free killed. Thanks valgrind!
10523 * objects/UML/uml.c (uml_operation_read): Fix of UML default
10526 2002-04-30 Lars Clausen <lrclause@C194282.chmpgn1.il.home.com>
10528 * app/filedlg.c (file_save_as_callback, file_save_as_ok_callback):
10529 Added button to toggle diagram compression.
10531 2002-04-29 Lars Clausen <lrclause@C194282.chmpgn1.il.home.com>
10533 * lib/font.c: Support for loading extra kerning files, plus got
10534 rid of rounding errors. Bounding box mostly perfect for freetype
10536 (font_string_width): Fudge factor to get around nonlinearity of
10539 2002-04-29 Lars Clausen <lrclause@cs.uiuc.edu>
10541 * lib/font.c (font_string_width): YA font calculation scheme, with
10544 * objects/UML/class.c (umlclass_calculate_data): Uses the same
10545 font for drawing and calculating now.
10547 * configure.in: Added utime.h check.
10549 * app/render_gdk.c (draw_string): Uses gdk_draw_text_wc when in
10550 GTK_DOESNT_TALK_UTF8_WE_DO. Thus it matches the string width calc.
10552 2002-04-26 Hans Breuer <hans@breuer.org>
10554 [ Instead of fixing about 70 occurances in 20 files
10555 where GTK_TALKS_UTF8_WE_DONT needed to be handled
10556 Dia on win32 from now on uses glib-2.0 and not
10557 only talks utf-8 with gtk-1.3 but also internally.
10558 GTK_TALKS_UTF8_WE_DONT isn't supported/needed
10561 * config.h.win32 : #define UNICODE_WORK_IN_PROGRESS
10562 #undef GTK_TALKS_UTF8_WE_DONT
10564 * */makefile.msc : changes to use glib-2.0 (still
10565 using gtk+1.3(win32-production)
10567 * app/disp_callbacks.c : remove GTK_TALKS_UTF8_WE_DONT,
10568 adapt kevent->string handling, add <string.h>
10569 * app/render_gdk.c (get_text_width) : the length given
10570 is in chars, gdk_text_width() needs bytes
10572 * app/render_libart.c :
10573 * app/render_pixmap.c : remove GTK_TALKS_UTF8_WE_DONT
10574 (could simplify the same way as done in render_gdk.c)
10576 * app/diagram_tree.c app/paginate_gdiprint.cpp
10578 * lib/prop_basic.c lib/prop_geomtypes.c
10579 lib/propdialgs.c lib/propobject.c :
10580 added <string.h> which is now removed from charconv.h
10582 * lib/charconv.h : optional use infrastructure from
10583 glib-2.0 -> only five direct function mapping left
10585 * lib/charconv.c : avoid to build this with glib-2.0
10587 * lib/font.c : no string conversion needed anymore
10588 when Dia and Gtk talk utf-8, also code adaptions
10589 for GLIB_CHECK_VERSION(2,0,0)
10591 * lib/libdia.def : removed charconv functions
10593 * lib/prop_inttypes.c : removed GTK_TALKS_UTF8_WE_DONT,
10594 replace charconv_unichar_to_utf8() with g_unichar_to_utf8()
10596 * lib/prop_text.c lib/prop_widgets.c lib/font.c :
10597 removed GTK_TALKS_UTF8_WE_DONT
10599 * lib/text.c : finally(?) fixed cursor <place|move>ment
10600 for Umlauts. Also fixed char insertion, still wondering
10601 how this could ever work. Does realloc on Linux
10602 initialize the memory with zeros ?
10604 * objects/chronogram/chronoline_event.c
10605 objects/grafcet/boolequation.c :
10606 there is no uni_get_utf8 when building for glib-2.0.
10607 Replace with g_utf8_get_char() and g_utf8_next_char().
10609 * objects/uml/stereotype.c (bracketted_to_string) :
10610 simplify while adding code for glib-2.0 build
10612 2002-04-27 Lars Clausen <lrclause@cs.uiuc.edu>
10614 * app/diagram.h: Autosave field
10615 * app/diagram.c (diagram_set_modified): Sets autosave field.
10617 * objects/UML/usecase.c (usecase_update_data):
10618 * objects/flowchart/ellipse.c (ellipse_update_data):
10619 * objects/flowchart/parallelogram.c (pgram_update_data):
10620 * objects/flowchart/diamond.c (diamond_update_data):
10621 * objects/custom/custom_object.c (custom_update_data):
10622 * objects/UML/state.c (state_update_data):
10623 * objects/UML/small_package.c (smallpackage_update_data):
10624 * objects/UML/object.c (objet_update_data):
10625 * objects/UML/note.c (note_update_data):
10626 * objects/UML/node.c (node_update_data):
10627 * objects/UML/component.c (component_update_data):
10628 * objects/UML/classicon.c (classicon_update_data):
10629 * objects/UML/actor.c (actor_update_data):
10630 * objects/SADT/box.c (sadtbox_update_data):
10631 * objects/FS/function.c (function_update_data):
10632 All now update text boundaries from update_data.
10634 * lib/widgets.c (dia_font_selector_set_styles): Made the style set
10637 2002-04-26 Hans Breuer <hans@breuer.org>
10639 * config.h.win32 : added VERSION definition here
10640 (and removed from makefile.msc's)
10642 * app/makefile.msc : added new files
10644 * app/app_procs.c (app_init): remove sheets_dialog_create()
10645 from start-up and ...
10647 * app/sheet.c (sheets_dialog_show_callback) : ... lazy create
10648 sheet_dialog here when it is really needed.
10649 #include "../lib/message.h", make sheets_dialog_create()
10650 return it's success or failing on (!custom_type_symbol).
10651 Although editing shapes is nice IMHO it isn't crucial enough
10652 to abort() Dia if it isn't possible.
10654 * app/sheet.h : adapt create_sheet_dialog() prototype
10656 * app/sheets_dialog.c : add #ifdef HAVE_UNISTD_H
10658 * app/sheets_dialog_callbacks.c : #ifdef HAVE_UNISTD_H and
10659 #ifdef HAVE_UTIME_H. Otherwise #include <sys/utime.h> and
10660 name space corrections for utime() and utim_buf #ifdef
10663 * lib/libdia.def : export new sheet functions
10665 * lib/makefile.msc : added new files
10667 * lib/render.c : don't put draw_bezier_with_arrows() in
10668 the DrawLineWithArrowsFunc slot
10670 * objects/custom/custom_object.c : #include <gmodule.h>
10671 and export 'custom_type' via G_MODULE_EXPORT
10673 * objects/uml/class_dialog.c : removed 'incompatible
10674 types' warnings. Some refactoring while making it fit
10675 on screen with 800x600 again.
10677 * plug-ins/python/pydia-cpoint.h : add PyDiaConnectionPoint_Check
10679 * plug-ins/python/pydia-handle.h : extra parameter to
10680 PyDiaHandle_New to store the owner of the handle
10681 * plug-ins/python/pydia-handle.c : store handle owner
10682 on construction and use it in new method .connect()
10683 * plug-ins/python/pydia-object.c plug-ins/python/pydia-diagram.c :
10684 adapt to changed prototype
10686 2002-04-24 Lars Clausen <lrclause@cs.uiuc.edu>
10688 * lib/text.c (text_calc_boundingbox): Will now return early if box
10691 * objects/flowchart/box.c (box_update_data): Now updates text
10692 width info from update_data.
10694 2002-04-23 Steffen Macke <sdteffen@web.de>
10696 * plug-ins/xfig/xfig-import.c: fixed text import
10698 2002-04-22 Lars Clausen <lrclause@cs.uiuc.edu>
10700 * app/export_png.c: Moved dialog functions to their own file.
10701 * app/dialogs.[ch]: New files with standard functions for creating
10702 small, transient dialogs (e.g. export options).
10703 * app/Makefile.am: Added dialogs.[ch]
10705 2002-04-19 Steffen Macke <sdteffen@web.de>
10707 * shapes/Misc/folder.*:
10708 * shapes/Misc/file.*:
10709 * shapes/Misc/Makefile.am:
10710 * shapes/Makefile.am:
10711 * sheets/Misc.sheet.in:
10712 * sheets/Makefile.am:
10713 * configure.in: added new Misc sheet containing filesystem shapes
10715 2002-04-18 Lars Clausen <lrclause@cs.uiuc.edu>
10717 * app/lineprops_area.c: Arrow selector in toolbox changed to use
10718 standard arrowdraw code. Line is thinner to make some arrowheads
10721 2002-04-18 Steffen Macke <sdteffen@web.de>
10723 * sheets/network.sheet.in:
10724 * shapes/network/telephone.shape:
10725 * shapes/network/Makefile.am: added telephone shape
10727 2002-04-16 Steffen Macke <sdteffen@web.de>
10729 * sheets/EML.sheet.in: commented out unavailable shapes
10731 2002-04-15 M.C. Nelson <mcn@kobayashimaru.org>
10733 * app/sheets_dialog_callbacks.c: Fixed segfault caused by mis-ordered
10734 variable assignment.
10736 2002-04-15 Steffen Macke <sdteffen@web.de>
10738 * plug-ins/dxf/dxf-import.c: text import works again
10739 * shapes/Pneumatic/Makefile.am: added compush shape
10740 * sheets/Pneumatic.sheet.in: commented out unavailable shapes dist33
10743 2002-04-11 M.C. Nelson <mcn@kobayashimaru.org>
10745 * All these modifications are for the 'Sheets and Objects' dialog
10748 * app/pixmaps/line_break.xpm: new icon representing a line break.
10750 * app/pixmaps/n_a.xpm: new empty icon representing not available.
10752 * app/Makefile.am: added sheets_*.[ch] files to compile list.
10754 * app/menus.c: added GNOME and gtk menu items for 'Sheets and Objects'
10756 * app/sheets_dialog.c: [new file] definition of 'Sheets & Objects' dlgs
10758 * app/sheets_dialog.h: [new file] support for Sheets & Objects dlgs
10760 * app/app_procs.c: added call to sheets_dialog_create() in app_init()
10762 * app/sheets_dialog_callbacks.c: [new file] callbacks for S & O dialogs
10764 * app/sheets_dialog_callbacks.h: [new file] support for " " "
10766 * app/interface.c: added 'interface_current_sheet_name' global to
10767 fill_sheet_wbox(); made fill_sheet_menu() non-static
10769 * app/interface.h: added extern declaration for aboves.
10771 * app/sheets.c: [new file] instantiation and other funcs for S & O dlgs
10773 * app/sheets.h: [new file] declarations for backing store structures
10775 * lib/sheet.c: modification of new_sheet() parameters; introduction
10776 of USER and SYSTEM scope for sheets; procedure for sorting sheets;
10777 changes to load_register_sheet().
10779 * lib/sheet.h: added 'user_data_type' field to SheetObject structure;
10780 added 'has_icon_on_sheet' flag to SheetObject structure; added
10781 'filename', 'scope', 'shadowing' fields to Sheet structure.
10783 * lib/plug-ins.c: moved _PluginInfo declaration to header file where
10786 * lib/plug-isn.h: see above.
10788 * lib/object.c: added 'sheet.h' to include list; added several
10790 to detect objects which are not found on any sheet (for future use)
10791 object_type_detect_nosheet_callback(), object_types_detect_nosheet(),
10792 object_type_get_sheet_name(), object_type_strip_sheet_from_name().
10794 * lib/object.h: added public declarations for above functions where
10797 * objects/custom/custom.c: made custom_object_load() non-static so we
10798 can load and interpret .shape files from the Sheets & Objects dialog
10800 * objects/custom/custom_object.c: made 'custom_type' non-static so
10801 we can differentiate between SVG shapes and other types.a
10803 2002-04-07 Hans Breuer <hans@breuer.org>
10805 * app/object_ops.c (object_list_align_v): Fix the 'Leak fix'
10806 from 2002-01-22 to not destroy diagram->data->selected.
10807 Avoids to crash on Objects/Align/Vertical/Top
10809 * app/render_eps.c (draw_string) : un-const buffer
10810 It isn't at all const (g_malloc(), assignment, g_free()).
10811 Doesn't gcc catch such ?
10813 * lib/arrows.h : prototype calculate_arrow_point()
10815 * lib/font.c (font_get_suckfont) : no need to
10816 special case gdk_draw_string() with GTK_TALKS_UTF8,
10817 cause all the parameter differences are handled above
10819 * lib/libdia.def : updated externals
10821 * lib/makefile.msc : removed string_prerenderer, added render
10823 * lib/render.c (draw_rect) : don't pass a Point** if a Point*
10824 is expected. [Sometimes it's good to read compiler warnings.]
10826 * objects/standard/image.c : simplified by use of g_strconcat()
10828 * plug-ins/python/makefile.msc : updated for Python 2.2
10830 2002-04-03 Lars Clausen <lrclause@cs.uiuc.edu>
10832 * objects/standard/zigzagline.c (zigzagline_draw): Fixed
10833 directionality problem for zero-length line segments.
10835 2002-03-28 Lars Clausen <lrclause@cs.uiuc.edu>
10837 * app/diagram.c (diagram_ungroup_selected)
10838 (diagram_update_menu_sensitivity): Now allows ungrouping of
10839 several groups at once.
10841 2002-03-15 Lars Clausen <lrclause@cs.uiuc.edu>
10843 * lib/render.c, all renderers: Binary incompatibility, change to
10844 expandable renderops structure.
10846 2002-03-15 Steffen Macke <sdteffen@yahoo.com>
10848 * objects/standard/Makefile.am:
10849 * objects/network/Makefile.am:
10850 * objects/UML/Makefile.am:
10851 * objects/ER/Makefile.am:
10852 * objects/FS/Makefile.am:
10853 * objects/flowchart/Makefile.am:
10854 * objects/custom/Makefile.am:
10855 * objects/GRAFCET/Makefile.am:
10856 * objects/chronogram/Makefile.am:
10857 * objects/SADT/Makefile.am:
10858 * plug-ins/cgm/Makefile.am:
10859 * plug-ins/pstricks/Makefile.am:
10860 * plug-ins/hpgl/Makefile.am:
10861 * plug-ins/wpg/Makefile.am:
10862 * plug-ins/svg/Makefile.am:
10863 * plug-ins/shape/Makefile.am: added $(UNICODE_CFLAGS)
10865 2002-03-13 Lars Clausen <lrclause@cs.uiuc.edu>
10867 * app/render_eps.c: Support for dumping TrueType fonts (taken from
10870 2002-03-12 Lars Clausen <lrclause@cs.uiuc.edu>
10872 * lib/render.c: New abstract super class for renderers.
10874 2002-03-07 Akira TAGOH <tagoh@redhat.com>
10876 * objects/ER/attribute.c (attribute_save): save a font property.
10877 (attribute_load): load a font property, and if can't load it, it's
10880 * objects/ER/entity.c (entity_save): save a font property.
10881 (entity_load): load a font property, and if can't load it, it's
10884 * objects/ER/relationship.c (relationship_save): save a font property.
10885 (relationship_load): load a font property, and if can't load it, it's
10888 * objects/UML/class.c (fill_in_fontdata): don't replace if it already
10890 (umlclass_save): save the font and the font size properties.
10891 (umlclass_load): load the font and the font size properties.
10893 2002-03-05 Cyrille Chepelov <cyrille@chepelov.org>
10895 * lib/string_prerenderer.[ch] (REMOVED):
10897 * lib/diagramdata.c:
10899 * app/render_eps.c: got rid of the string-specific string
10900 prerenderer, transitioned its functionality towards Lars'
10901 two-phase rendering
10903 2002-03-05 Lars Clausen <lrclause@cs.uiuc.edu>
10905 * configure.in: Using Freetypes own check for ver >= 1.0.5. You
10906 may need to rerun aclocal.
10908 2002-03-04 Lars Clausen <lrclause@cs.uiuc.edu>
10910 * lib/font.c: First attempt at Unicodeness for Freetype.
10912 2002-03-02 Lars Clausen <lrclause@C194282.chmpgn1.il.home.com>
10914 * lib/font.c (font_string_width): Fixed font_string_width for
10915 freetype. BB is now almost right.
10917 2002-03-01 Lars Clausen <lrclause@cs.uiuc.edu>
10919 * app/render_eps.h:
10920 * app/paginate_psprint.c (paginate_psprint):
10922 * app/render_eps.c: Support for dumping postscript fonts into
10923 postscript files with freetype. Fairly primitive, but works.
10924 Unicode version may have problems.
10926 2002-02-28 Akira TAGOH <tagoh@redhat.com>
10928 * objects/UML/class_dialog.c (class_read_from_dialog)
10929 (class_fill_in_dialog), (class_create_page): add the font selector and
10930 the font size selector.
10932 * objects/UML/class.c (umlclass_draw): uses each font_height.
10933 (umlclass_calculate_data): ditto.
10934 (fill_in_fontdata): add initial value of new font_height.
10935 (umlclass_copy): add new font_height.
10937 2002-02-27 Cyrille Chepelov <chepelov@calixo.net>
10939 Patch from Geoff Gerrietts <ggerrietts@yahoo.com>:
10941 * lib/font.c: calculate font metrics properly and stop guessing at
10944 2002-02-28 Akira TAGOH <tagoh@redhat.com>
10946 * configure.in: changed gtk_advancement value to dia_talks_utf8.
10947 right now Dia is working with UTF-8 internally. it means Dia probably
10948 support most languages also including the languages which heretofore
10949 didn't work correctly.
10951 2002-02-26 Akira TAGOH <tagoh@redhat.com>
10953 * objects/FS/function.c: add related text properties.
10954 (function_get_props), (function_set_props): add handling attribute.
10956 * objects/FS/flow.c: add related text properties.
10957 (flow_get_props), (flow_set_props): add handling attribute.
10959 * objects/FS/flow-ortho.c: add related text properties.
10960 (orthflow_set_props), (orthflow_get_props): add handling attribute.
10962 * objects/ER/relationship.c: add PROP_STD_TEXT_FONT to property.
10964 * objects/ER/entity.c: ditto.
10966 * objects/ER/attribute.c: ditto.
10968 2002-02-26 Cyrille Chepelov <cyrille@chepelov.org>
10970 Patch contributed by Geoff Gerrietts <ggerrietts@yahoo.com>:
10972 * autogen.sh: add a check for missing intltoolize.
10974 2002-02-20 Akira TAGOH <tagoh@redhat.com>
10976 * lib/ps-utf8.c (unicode_to_ps_name): if this function calls with same
10977 charcode, it was registered the duplicate item to HashTable. fix.
10979 * app/render_gnomeprint.c (get_width_string): add new function.
10980 (draw_string): fix non-multibyte specific code.
10982 2002-02-19 Cyrille Chepelov <cyrille@chepelov.org>
10984 Patch contributed by Matthieu Sozeau <mattam@netcourrier.com>:
10986 * lib/font.c: do not try to search paths that do not begin with
10987 '/', like X Font Server addresses.
10989 * objects/UML/message.c (message_draw): free mname when not
10990 message->text but CREATE or DESTROY.
10992 * objects/UML/uml.h:
10993 * objects/UML/uml.c:
10994 * objects/UML/class_dialog.c: added code to handle a stereotype
10995 attribute for operations.
10997 2002-02-19 Akira TAGOH <tagoh@redhat.com>
10999 * lib/Makefile.am: add LIBART_CFLAGS.
11001 2002-02-15 Hans Breuer <hans@breuer.org>
11003 * lib/font.c (font_get_suck_font): the black and white pixel values
11004 need to be taken from a 1 bit colormap rather than the default colormap.
11005 (fixed again, last time was 2000-05-26)
11007 Also handle the case where GTK_TALKS_UTF8 and expects all strings
11008 passed in to be in this encoding.
11010 * lib/libdia.def : export suck_font_free()
11012 * lib/text.c (text_draw) : avoid circular dependency to ../app
11013 at least for the !USE_XIM case, where it is unnecessary.
11015 2002-02-15 Cyrille Chepelov <cyrille@chepelov.org>
11017 Changes contributed by Matts Kivik <kivik@firstlinux.net>:
11019 * shapes/Circuit/microphone_de.(shape|xpm) (NEW):
11020 * sheets/Circuit.sheet.in: added new shape microphone
11021 * shapes/Circuit/speaker_de.shape: Added a connection point.
11023 2002-02-13 Akira TAGOH <tagoh@redhat.com>
11025 * app/render_libart.c (draw_string): fixed build issue for Win32.
11027 * lib/font.c (font_get_suckfont): fixed typo. it could't build under
11030 * configure.in: fixed testing gtk_advancement.
11032 * app/render_gnomeprint.c (draw_string): uses utfchar instead of char.
11034 2002-02-12 Akira TAGOH <tagoh@redhat.com>
11036 * lib/text.c (text_draw): fixed XIM position, when menubar is shown for
11039 2002-02-11 Lars Clausen <lrclause@cs.uiuc.edu>
11041 * app/group.c (group_copy): Made new object properly initialized
11044 2002-02-11 Steffen Macke <sdteffen@yahoo.com>
11046 * app/Makefile.am: added plug-ins to DIA_LIB_PATH in run_dia.sh
11048 2002-02-10 Akira TAGOH <tagoh@redhat.com>
11050 * lib/text.c (text_draw): fixed XIM transaction.
11052 * app/interface.c (create_display_shell): add signal for
11055 * app/disp_callbacks.c (ddisplay_size_allocate): add new function for
11057 (set_input_dialog): remove.
11058 (ddisplay_canvas_events): remove XIM transaction. it can't transact
11059 correctly on this function.
11061 2002-02-10 Lars Clausen <lrclause@C194282.chmpgn1.il.home.com>
11064 * app/export_png.c: Added checks for interactivity (maybe this
11065 should be a hook after all?).
11067 * app/filedlg.c (file_export_callback): Made export dialog add
11068 suffix when reopened.
11070 * app/export_png.c: Added dialog asking for export size.
11072 2002-02-09 Lars Clausen <lrclause@C194282.chmpgn1.il.home.com>
11074 * lib/widgets.c: Fixed font reselection problem and first font
11077 * objects/UML/actor.c (actor_update_data): Changed to have
11078 connection points below text.
11080 2002-02-08 Akira TAGOH <tagoh@redhat.com>
11082 * lib/text.c (text_split_line): use g_strndup() instead of g_malloc()
11085 2002-02-07 Akira TAGOH <tagoh@redhat.com>
11087 * lib/font.c (font_get_suckfont): rewrited. generating suckfont from
11088 strings which is given.
11089 (suck_font): remove. it's any longer needed.
11091 * app/render_libart.c (set_font): don't get suckfont.
11092 (draw_string): get suckfont only which is needed for now.
11094 2002-02-05 Lars Clausen <lrclause@C194282.chmpgn1.il.home.com>
11096 * lib/text.c: Fixes for misunderstood width functions.
11098 2002-02-05 Hans Breuer <hans@breuer.org>
11100 * lib/dia_xml.c : use g_strconcat() instead of
11101 malloc, strcpy, strcat dance
11102 * app/properties.c : same here and plug memory leak
11103 (gtk functions don't eat strings)
11105 * objects/UML/message.c : there is no g_sprintf()
11106 use g_strdup_printf() instead ...
11108 2002-02-05 Akira TAGOH <tagoh@redhat.com>
11110 * lib/message.c (gtk_message_internal): doesn't need to convert to
11113 * app/render_libart.c (draw_string): fixed transaction for UTF-8
11115 (get_text_width): ditto.
11117 * app/Makefile.am (EXTRA_DIST):
11118 s/paginate_gdiprint.c/paginate_gdiprint.cpp/
11120 * app/render_gdk.c (gdk_freetype_copy_glyph): fixed build issue.
11121 This function needs ifdef HAVE_FREETYPE because don't use it for
11124 2002-02-04 Cyrille Chepelov <cyrille@chepelov.org>
11126 * NEWS: updated with the new dependencies.
11128 Patch from Matthieu Sozeau <mattam@netcourrier.com>:
11130 * objects/UML/class.h:
11131 * objects/UML/class.c:
11132 * objects/UML/class_dialog.c: added code to handle the UMLParameterKind
11133 property using a GtkMenu. Options are Undefined, In, Out, In & Out
11135 2002-02-04 Lars Clausen <lrclause@cs.uiuc.edu>
11137 * app/render_libart.c: Slow but working libart freetype renderer,
11140 2002-02-03 Lars Clausen <lrclause@C194282.chmpgn1.il.home.com>
11142 * app/render_gdk.c (draw_string): Fixed gc_function bug.
11144 * lib/widgets.c (dia_font_selector_init): Sorts the font list.
11146 * lib/font.c (freetype_render_string):
11148 * app/render_gdk.c:
11149 * app/render_gdk.h: Changed freetype_render_string to use
11150 callback. Rendering is broken.
11152 2002-02-03 Cyrille Chepelov <cyrille@chepelov.org>
11154 Patch from Matthieu Sozeau <mattam@netcourrier.com>:
11156 * objects/UML/uml.h:
11157 * objects/UML/uml.c: added UMLInheritanceType and isQuery
11158 (constant) UML Operation attributes. UMLInheritanceType is either
11159 UML_ABSTRACT or UML_POLYMORPHIC or UML_LEAF.
11161 * objects/UML/class.h:
11162 * objects/UML/class.c:
11163 * objetcs/UML/class_dialog.c: added code to handle new
11164 UMLOperation attributes via a GtkMenu and a checkbox.
11166 2002-02-03 Akira TAGOH <tagoh@redhat.com>
11168 * app/disp_callbacks.c (ddisplay_realize): fixed XIM issue.
11169 several client doesn't work with previous codes.
11171 2002-02-01 Lars Clausen <lrclause@cs.uiuc.edu>
11173 * lib/font.c (freetype_render_string): Kerning. Very few fonts
11176 2002-02-02 Akira TAGOH <tagoh@redhat.com>
11178 * app/disp_callbacks.c (ddisplay_canvas_events): fixed crashes,
11179 when doing the operation like invert the objects after active view is
11180 destroyed. when changes focus, it needs to set active_display.
11182 * app/layer_dialog.c (dia_layer_update_from_layer):
11183 (layer_dialog_edit_layer): need to convert to locale encoding
11184 if GTK_DOESNT_TALK_UTF8_WE_DO is defined.
11185 (edit_layer_ok_callback):
11186 need to convert to UTF8 if GTK_DOESNT_TALK_UTF8_WE_DO is defined.
11188 * lib/diagramdata.c (new_diagram_data): ditto.
11190 * app/layer_dialog.c (layer_dialog_new_callback): ditto.
11192 * lib/diagramdata.c (new_layer): use utfchar instead of char for
11195 * lib/widgets.c: if HAVE_FREETYPE isn't defined, it can't build. fixed.
11196 (dia_font_selector_set_styles): when HAVE_FREETYPE is defined only,
11197 it's needed for now. also this function needs prototype declaration.
11199 2002-01-31 Lars Clausen <lrclause@cs.uiuc.edu>
11201 * lib/widgets.c: Style now functional on font selector. Some leak
11202 possible, but doesn't show up under stress test.
11204 2002-01-31 Akira TAGOH <tagoh@redhat.com>
11206 * app/plugin-manager.c (clist_select_row): name and description needs to
11207 convert to locale encoding, when GTK_DOESNT_TALK_UTF8_WE_DO is defined.
11208 (get_plugin_manager): ditto.
11210 * lib/plug-ins.c (dia_plugin_info_init): name needs to convert to UTF-8.
11212 * app/diagram_tree.c (get_object_name): fixed transaction for UTF-8
11215 * lib/prop_text.c (stringprop_reset_widget): fixed crashes,
11216 when prop->string_data is NULL.
11218 2002-01-30 Lars Clausen <lrclause@C194282.chmpgn1.il.home.com>
11221 * lib/widgets.h: New font selector separating font and style.
11222 Style not functional yet.
11224 2002-01-30 Lars Clausen <lrclause@cs.uiuc.edu>
11227 * app/render_gdk.c (draw_string): More freetype support, now
11228 renders text. Still broken is font selection and exporting.
11230 2002-01-30 Akira TAGOH <tagoh@redhat.com>
11232 * objects/chronogram/chronoref.c (chronoref_create): missing gettextize
11235 * objects/chronogram/chronoline.c (chronoline_create): ditto.
11237 * objects/UML/usecase.c (usecase_create): ditto.
11239 * objects/UML/state.c (state_create): ditto.
11241 * objects/UML/object.c (objet_create): ditto.
11243 * objects/UML/node.c (node_create): ditto.
11245 * objects/UML/message.c (message_create): ditto.
11247 * objects/UML/component.c (component_create): ditto.
11249 * objects/UML/classicon.c (classicon_create): ditto.
11251 * objects/UML/actor.c (actor_create): ditto.
11253 * objects/SADT/box.c (sadtbox_create): ditto.
11255 * objects/SADT/annotation.c (annotation_create): ditto.
11257 * objects/GRAFCET/transition.c (TRANSITION_FONT): ditto.
11259 * objects/GRAFCET/step.c (STEP_FONT):
11260 * (step_create): ditto.
11262 * objects/GRAFCET/condition.c (CONDITION_FONT): ditto.
11264 * objects/GRAFCET/action.c (ACTION_FONT):
11265 (action_create): ditto.
11267 * objects/FS/function.c (function_create): ditto.
11269 * objects/FS/flow.c (flow_create):
11271 (flow_apply_defaults): ditto.
11273 * objects/FS/flow-poly.c (flow_create):
11275 (flow_apply_defaults): ditto.
11277 * objects/FS/flow-ortho.c (orthflow_create):
11279 (orthflow_apply_defaults): ditto.
11281 * objects/ER/relationship.c: use utfchar instead of char for structure.
11282 (relationship_create): name needs to convert to UTF-8.
11284 * objects/ER/attribute.c: use utfchar instead of char for structure.
11285 (attribute_create): name needs to convert to UTF-8.
11287 * objects/ER/entity.c: use utfchar instead of char for structure.
11288 (entity_create): name needs to convert to UTF-8.
11290 * app/interface.c (fill_sheet_wbox): needs to convert UTF-8 to locale
11291 encoding for tooltips, if GTK_TALKS_UTF8 isn't defined.
11292 (fill_sheet_menu): needs to convert UTF-8 to locale encoding for menu
11293 items. if GTK_TALKS_UTF8 isn't defined.
11295 2002-01-29 Akira TAGOH <tagoh@redhat.com>
11297 * objects/UML/class.c (umlclass_calculate_data): fixed malloc size.
11298 it was my careless mistake...
11300 * lib/attributes.c (attributes_set_default_font): temporarily gettextize
11301 a font name, because there are strings which isn't shown by "Courier".
11302 We need to consider a way to feel free to choose a font at runtime.
11304 * lib/render_object.c (render_object_load): ditto.
11306 * lib/text.c (data_text): ditto.
11308 * objects/EML/instantiation.c (instantiation_create): ditto.
11310 * objects/EML/interaction-ortho.c (interaction_ortho_create):
11311 (interaction_ortho_load): ditto.
11313 * objects/EML/interaction.c (interaction_create):
11314 (interaction_load): ditto.
11316 * objects/EML/process.c (fill_in_fontdata): ditto.
11318 * objects/ER/attribute.c (attribute_create):
11319 (attribute_load): ditto.
11321 * objects/ER/entity.c (entity_create):
11322 (entity_load): ditto.
11324 * objects/ER/relationship.c (relationship_create):
11325 (relationship_load): ditto.
11327 * objects/UML/association.c (association_create):
11328 (association_load): ditto.
11330 * objects/UML/class.c (fill_in_fontdata): ditto.
11332 * objects/UML/constraint.c (constraint_create): ditto.
11334 * objects/UML/dependency.c (dependency_create): ditto.
11336 * objects/UML/generalization.c (generalization_create): ditto.
11338 * objects/UML/implements.c (implements_create): ditto.
11340 * objects/UML/large_package.c (largepackage_create): ditto.
11342 * objects/UML/note.c (note_create): ditto.
11344 * objects/UML/realizes.c (realizes_create): ditto.
11346 * objects/UML/small_package.c (smallpackage_create): ditto.
11348 * objects/custom/shape_info.h (FONT_DEFAULT): ditto.
11350 * objects/custom/custom_object.c (custom_create): ditto.
11352 * objects/network/antenna.c (render_to_store): ditto.
11354 * objects/network/computer.c (render_to_store): ditto.
11356 * objects/network/disc.c (render_to_store): ditto.
11358 * objects/network/flash.c (render_to_store): ditto.
11360 * objects/network/hub.c (render_to_store): ditto.
11362 * objects/network/modem.c (render_to_store): ditto.
11364 * objects/network/modularswitch.c (render_to_store): ditto.
11366 * objects/network/monitor.c (render_to_store): ditto.
11368 * objects/network/printer.c (render_to_store): ditto.
11370 * objects/network/rj45plug.c (render_to_store): ditto.
11372 * objects/network/scead-plug.c (render_to_store): ditto.
11374 * objects/standard/textobj.c (textobj_load): ditto.
11376 * objects/sybase/client.c (render_to_store): ditto.
11378 * objects/sybase/dataserver.c (render_to_store): ditto.
11380 * objects/sybase/ltm.c (render_to_store): ditto.
11382 * objects/sybase/repserver.c (render_to_store): ditto.
11384 * objects/sybase/rsm.c (render_to_store): ditto.
11386 * objects/sybase/stableq.c (render_to_store): ditto.
11388 * plug-ins/dxf/dxf-import.c (read_entity_text_dxf): ditto.
11390 * objects/UML/uml.h (UML_STEREOTYPE_START):
11391 (UML_STEREOTYPE_END): changes default strings.
11393 2002-01-28 Akira TAGOH <tagoh@redhat.com>
11395 * objects/UML/stereotype.c (string_to_bracketted): fixed transaction
11396 for UTF-8 support. if GTK+ and Dia don't handle UTF-8, all of characters
11397 which is given to arguments isn't UTF-8. so don't need to convert it.
11398 if GTK+ handle UTF-8, also don't need to convert it.
11400 (bracketted_to_string): fixed transaction for UTF-8 support.
11401 also start/end bracket is not necessarily 1 character. so that when use
11402 strend(), it doesn't work correctly.
11403 (string_to_stereotype): use utfchar instead of char.
11404 (remove_stereotype_from_string): ditto.
11405 (stereotype_to_string): ditto.
11407 * objects/UML/stereotype.h: ditto.
11409 * objects/UML/message.c: use utfchar instead of char for structure.
11410 (MESSAGE_CREATE_LABEL, MESSAGE_DESTROY_LABEL): remove.
11412 * objects/UML/small_package.c: use utfchar instead of char for structure.
11414 * objects/UML/realizes.c: ditto.
11416 * objects/UML/object.c: ditto.
11418 * objects/UML/large_package.c: ditto.
11420 * objects/UML/implements.c: ditto.
11422 * objects/UML/generalization.c: ditto.
11424 * objects/UML/dependency.c: ditto.
11426 * objects/UML/constraint.c: ditto.
11428 * objects/UML/component.c: ditto.
11430 * objects/UML/class_dialog.c (attributes_get_current_values):
11431 (attributes_list_new_callback, attributes_fill_in_dialog):
11432 (parameters_set_values, parameters_get_values):
11433 (parameters_get_current_values, parameters_list_new_callback):
11434 (operations_set_values, operations_get_values):
11435 (operations_get_current_values, operations_list_new_callback):
11436 (operations_fill_in_dialog, templates_set_values):
11437 (templates_get_values, templates_get_current_values):
11438 (templates_list_new_callback, templates_fill_in_dialog):
11439 fixed transaction for UTF-8 support.
11441 2002-01-27 Akira TAGOH <tagoh@redhat.com>
11443 * objects/UML/message.c (message_draw): fixed transaction for UTF-8 support.
11445 * objects/UML/class_dialog.c (class_read_from_dialog):
11446 (class_fill_in_dialog):
11447 (attributes_get_values): ditto.
11449 * objects/UML/actor.c (actor_create): ditto.
11451 * objects/UML/class.c (umlclass_calculate_data): ditto.
11453 * objects/UML/association.c (association_apply_properties):
11454 (fill_in_dialog): ditto.
11456 * objects/UML/uml.c (uml_get_attribute_string):
11457 (uml_get_operation_string):
11458 (uml_get_parameter_string):
11459 (uml_get_formalparameter_string): use utfchar instead of char.
11461 * objects/UML/uml.h: gettextize UML_STEREOTYPE_START and
11462 UML_STEREOTYPE_END.
11464 * objects/UML/class.h: use utfchar instead of char.
11466 * lib/dia_xml.c (data_add_string): ditto.
11468 * lib/text.c (text_insert_char): fixed characters# calculation
11469 when includes multibytes character in strings.
11471 2002-01-26 Steffen Macke <sdteffen@yahoo.com>
11473 Patch from Richard Rowell <rwrowell@bellsouth.net>:
11475 * app/lineprops_area.c:
11478 * lib/widgets.c: added crow foot arrow and cross arrow
11480 Patch from Frank Gevaerts <frank.gevaerts@fks.be>:
11482 * plug-ins/svg/render_svg.c: fixed arcs, fill and text alignment
11484 2002-01-26 Cyrille Chepelov <cyrille@chepelov.org>
11486 * po/update.pl (REMOVED):
11487 * po/update.sh (REMOVED):
11488 * xml-i18n-merge.in.kg (REMOVED):
11489 * xml-i18n-update.in.kg (REMOVED):
11490 * sheets/Makefile.am:
11493 * configure.in: converted from xml-i18n-tools to intltools
11495 This looks like it fixes the build bugs of the snapshot tarballs,
11496 and it supersedes #69611.
11498 2002-01-25 Akira TAGOH <tagoh@redhat.com>
11500 * lib/text.c (text_insert_char): fixed characters# calculation.
11501 it's not string length.
11503 * lib/plug-ins.c (dia_plugin_info_init): when GTK_DOESNT_TALK_UTF8_WE_DO
11504 is defined, needs to convert a description to UTF-8.
11506 * app/render_gdk.c (get_text_width): fixed transaction for
11507 UTF-8 support. also should uses gdk_text_width_wc() instead
11508 of gdk_text_width().
11510 * app/render_gdk.c (draw_string): when GTK_DOESNT_TALK_UTF8_WE_DO
11511 is defined, needs to convert to locale encoding for display.
11512 Also use utfchar instead of char for argument.
11514 2002-01-24 Hans Breuer <hans@breuer.org>
11516 * app/commands.c(edit_paste_callback and more) :
11517 call diagram_modified(ddisp->diagram) to fix #68083
11518 (help_menu_callback) : plug a DIR leak
11520 * app/disp_callbacks.c(ddisplay_canvas_events) : handle
11521 GTK_TALKS_UTF8_WE_DONT
11523 * app/render_gdk.c(get_text_with) : it's a bad idea to use
11524 gdk_string_with() when GTK_TALKS_UTF8_WE_DONT instead of
11525 gdk_text_width(). The length value is still questionable ...
11527 * lib/charconv.c : use functions already available in early
11528 GLIB-1.3 days whiches API hasn't changed since, to avoid
11529 version problems with the win32 build
11531 * lib/font.c : finally fix #58045 and #68208
11533 * lib/dia_xml.c (xmlDiaSaveFile) : gzdopen in binary mode
11535 2002-01-24 Akira TAGOH <tagoh@redhat.com>
11537 * app/disp_callbacks.c (ddisplay_canvas_events): when event returned
11538 no strings, fixed transaction.
11540 * lib/charconv.h: fixed typo.
11542 * app/menus.c: fixed typo.
11544 * lib/charconv.c (charconv_utf8_strchr): remove. use uni_strchr instead.
11546 * objects/UML/object.c: attrib's type uses utfchar instead of char.
11548 * app/disp_callbacks.c (ddisplay_canvas_events): forget g_free()
11550 * lib/text.c (text_create_change): use unichar instead of char.
11552 * lib/text.c (data_add_text, data_text, apply_textstr_properties):
11553 use utfchar instead of char.
11555 * lib/text.c (text_insert_char, text_key_event): fixed transaction for
11558 * lib/charconv.c (charconv_utf8_get_char): add new function.
11560 2002-01-23 Akira TAGOH <tagoh@redhat.com>
11562 * lib/text.c (text_delete_forward, text_delete_backward,
11563 text_split_line): fixed transaction for UTF-8 support.
11565 * lib/text.c (text_copy): when UNICODE_WORK_IN_PROGRESS is defined,
11566 strlen[] has string length for UTF-8, so has to use alloclen[].
11570 * .cvsignore: add dia.pot.
11572 2002-01-24 Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz>
11574 * configure.in: Added "sk" to ALL_LINGUAS.
11576 2002-01-22 Akira TAGOH <tagoh@redhat.com>
11578 * lib/text.c (text_set_string, new_text, text_copy,
11579 text_get_string_copy, text_join_lines): use utfchar instead of gchar
11582 * lib/text.c (set_string): use charconv_utf8_strchr() instead of
11585 * lib/charconv.c (charconv_utf8_strchr): add new function.
11587 * lib/charconv.c (charconv_keyval_to_unicode): ditto.
11589 * lib/charconv.c (charconv_utf8_from_gtk_event_key): ditto.
11591 * app/disp_callbacks.c (ddisplay_canvas_events): needs to convert
11592 strings to the appropriate encoding.
11594 2002-01-22 Lars Clausen <lrclause@cs.uiuc.edu>
11596 * app/object_ops.c (object_list_align_[hv]): Leak fix.
11598 * lib/Makefile.am (INCLUDES): Added debug flags.
11600 * app/object_ops.c: Fixed ordering problem of align equi-distant &
11603 2002-01-21 Akira TAGOH <tagoh@redhat.com>
11605 * lib/font.c (font_string_width): use gdk_text_width_wc() instead of
11606 gdk_string_width().
11608 * objects/GRAFCET/boolequation.c: fixed invalid comment.
11610 * objects/UML/stereotype.c (string_to_bracketted): fixed build problem
11611 when defined UNICODE_WORK_IN_PROGRESS.
11613 * lib/dia_xml.c (data_add_string): fixed typo.
11615 2002-01-20 Akira TAGOH <tagoh@redhat.com>
11617 * configure.in: fixed test gtk_advancement.
11619 2002-01-019 Steffen Macke <sdteffen@yahoo.com>
11621 * plug-ins/svg/render_svg.c: fix for #69053, alignment of text
11624 Patch from M.C. Nelson <mcn@mani.kobayashimaru.org>:
11626 * app/recent_files.[ch]: reworked to support GNOME, accelerators,
11627 tool tips, preferences, and arbitrarily long ~/.dia/history
11629 * app/menus.c: made 'Plugins' consistantly spelled and accelerated;
11630 removed 'Open Recent'; added new separators for recent documents on
11633 * app/interface.[ch] (interface_get_toolbox_shell): new function
11635 * app/diagram.c: added new parameter to recent_file_history_add() call
11637 * app/preferences.[ch]: added new 'Recent documents list size'
11640 2002-01-18 Akira TAGOH <tagoh@redhat.com>
11642 * lib/font.c (font_get_gdkfont_helper): use gdk_fontset_load ().
11643 if it failed, should be used gdk_font_load ().
11645 * lib/font.c (font_data): added the font entries for CJK.
11647 2002-01-17 Steffen Macke <sdteffen@yahoo.com>
11649 Patch from M.C. Nelson <mcn@mani.kobayashimaru.org>:
11651 * app/menus.c: replaced GDK_F1 with "F1" to fix segfault on startup
11653 2002-01-04 Cyrille Chepelov <cyrille@chepelov.org>
11655 Patch from Martin Cracauer <cracauer@cons.org>:
11657 * app/menus.c: add missing #include <gdk/gdkkeysyms.h> (useful in the
11660 2002-01-01 Hans Breuer <hans@breuer.org>
11662 * app/command.c : optional use GDI printing on windoze
11664 * app/preferences.[hc] : add option 'prefer_psprint' to
11665 select the print engine to use (could be used for Dia/Gnome
11668 * app/paginate_gdiprint.(h|cpp) : new files, which interlink the
11669 wmf plug-in with the common win32 print api. Now printing
11670 should work almost as expected from a windows program :-)
11672 * app/diagram.c app/menus.[hc] : rename _UpdatableMenuItems.delete
11673 to .edit_delete to avoid clashes with C++
11675 * app/makefile.msc : updated for GDI printing
11677 * plug-ins/wmf/wmf.cpp : some small modifications to support
11678 GDI printing. Also swap R and B channel in draw_image()
11680 * app/makefile.am : added windows only files to EXTRA_DIST
11682 * objects/uml/class.c(umlclass_set_props) : force recalculation
11683 when applying properties
11685 * lib/charconv.c lib/dia_xml.c : temporary back-ported to
11686 glib-1.3.2 (for win32) IMHO causes recent cvs introduces too
11687 many incompatible changes (and would force a gtk update)
11689 * objects/makefile.msc : don't build C-Objects which are
11690 already available as 'pure shape'
11692 * plug-ins/makefile.msc : remove diaimport from build. It was
11693 only available via mailing-list and is broken since the
11697 Patch from Jose A Ortega Ruiz <jaortega@acm.org>
11699 * app/preferences.[hc] : tweaked preferences.c to make
11700 PREF_STRING work. Use it for 'diagram_tree_hidden'. Also
11701 added some more DiagramTree prefererences and their own
11704 * app/diagram_tree.[hc] : allow to sort by object type or name
11705 and hide by type ...
11706 * app/diagram_tree_menu.[hc] : ... add respective menu entries ...
11707 * app/diagram_tree_menu_callbacks.[hc] : ... and callbacks.
11709 * app/diagram_tree_window.c : handle hidden types and window
11712 2001-12-20 Hans Breuer <hans@breuer.org>
11714 * plug-ins/python/Makefile.am : patch from Peter Moulder
11715 <pmoulder@csse.monash.edu.au> to make the python plug-in
11716 compile on *nix too.
11718 2001-12-03 Cyrille Chepelov <chepelov@calixo.net>
11720 Patch from Alan <horkana@tcd.ie>:
11722 * app/menus.c: bind the F1 shortcut to the Help/_Manual function.
11724 2001-11-20 Hans Breuer <hans@breuer.org>
11726 * app/makefile.msc : add new diagram_tree_menu(_callbacks).obj
11728 2001-11-18 Jose A Ortega Ruiz <jaortega@acm.org>
11730 * app/diagram_tree.[hc] : Added new functions and types for
11731 sorting diagram and objects, and attaching the popup menus.
11733 * app/preferences.h: Added more diagram tree preferences, using a
11734 DiagramTreeConfig struct in DiaPreferences. The new prefs are the
11735 height and width of the diagram tree window and the default sort
11736 orders for diagrams and objects.
11738 * app/preferences.c (prefs_data): Added new entries for the new
11739 diagram tree preferences.
11741 * app/preferences.c (prefs_tabs): New tab for diagram tree
11744 * app/diagram_tree_window.[hc] (create_diagram_tree_window):
11745 * app/diagram_tree_window.c (diagram_tree_window_new):
11746 * app/interface.c (create_tree_window): The diagram tree window is
11747 initialised using the DiagramTreeConfig part of prefs.
11750 2001-11-14 Jose A Ortega Ruiz <jaortega@acm.org>
11752 * app/diagram_tree_menu.[hc]: New files. Functions to create the
11753 diagram tree popup menus.
11755 * app/diagram_tree_menu_callbacks.[hc]: New files. Callbacks for
11756 the diagram tree popup menus.
11758 * app/Makefile.am (dia_core_files): diagram_tree_menu* files
11761 2001-11-13 Jose A Ortega Ruiz <jaortega@acm.org>
11763 * app/diagram_tree.c (double_click_callback, diagram_tree_new):
11764 double-clicking a diagram tree node raises the diagram window
11765 to the foreground (and, if a object node was clicked, selects the
11766 object in the diagram).
11768 * app/diagram_tree.c (select_tree_widget): selecting an object
11769 node with single click simply updates it (no raise).
11771 2001-11-08 Jose A Ortega Ruiz <jaortega@acm.org>
11772 These changes make the diagram tree lazy: it is not created unless
11773 the diagram tree window is requested.
11775 * app/diagram_tree_window.[hc] (create_diagram_tree_window): new
11776 function for creating the tree window.
11778 * app/interface.c (create_tree_window): call
11779 create_diagram_tree_window() instead of diagram_window().
11781 * app/diagram_tree.c (diagram_tree_add, diagram_tree_remove)
11782 (diagram_tree_update, diagram_tree_update_name)
11783 (diagram_tree_add_object, diagram_tree_add_objects)
11784 (diagram_tree_remove_object, diagram_tree_remove_objects)
11785 (diagram_tree_update_object): accept a NULL tree as a nominal
11786 argument (and do nothing in this case!), so that the diagram tree
11787 is not initialised if not used.
11789 * app/diagram_tree_window.c (diagram_tree): do not create the
11790 diagram tree until diagram_window() or diagtree_show_callback()
11793 2001-10-31 Jose A Ortega Ruiz <jaortega@acm.org>
11794 [slightly modified and applied from Hans Breuer <hans@breuer.org>]
11796 * app/diagram_tree_window.[hc] : (new files) implementation of
11797 the diagram tree window, a container for a diagram tree. [Removed
11798 the horizontal scroll bar glitch by disableing it]
11800 * app/diagram_tree.[hc] : (new files) implementation of the
11801 diagram tree widget. [Don't rely on the layers GPtrArray to be
11802 NULL terminated, but use its ->len field]
11804 * app/Makefile.am (dia_core_files): added new files
11805 diagram_tree.[hc] and diagram_tree_window.[hc]
11807 * app/interface.[hc] : (create_tree_window): this function
11808 creates the new diagram tree window widget
11810 * app/undo.c (delete_objects_apply) (delete_objects_revert)
11811 (insert_objects_apply) (insert_objects_revert) (group_objects_apply)
11812 (ungroup_objects_apply) (ungroup_objects_revert):
11813 every time that an undoable command modifies a diagram
11814 adding/removing/(un)grouping objects, a diagram_tree_something() is
11815 invoked to keep the diagram tree window in sync
11817 * app/properties.c (properties_apply): call to
11818 diagram_object_modified(), which updates the diagram tree window
11819 when the properties of an object are modified
11821 * app/preferences.[hc] : new "show_diagram_tree" configuration option
11822 (whether the diagram tree window should be shown on dia startup)
11824 * app/menus.c : added '<Toolbox>/File/Diagram Tree' entry
11826 * app/diagram.h (diagram_object_modified): callback notifying of a
11827 diagram object modification
11829 * app/diagram.c (diagram_load_into): added call to
11830 diagram_tree_add() to add newly loaded diagrams to the diagram
11832 (diagram_destroy): call to diagram_tree_remove() to remove a
11833 destroyed diagram from the diagram tree window
11834 (diagram_add_object): call to diagram_tree_add_object() to add an
11835 object to the diagram tree window
11836 (diagram_add_object_list): as above, but with an object list
11837 (diagram_selected_break_external): deletion of objects from the
11838 diagram is detected here, and diagram_tree_remove_object() is
11839 invoked to remove the object from the diagram tree window (it
11840 would be nice to have a diagram_remove_object() in the Diagram
11842 (diagram_set_filename): update the diagram tree window when a
11843 diagram's filename changes
11845 * app/commands.c (file_new_callback): added call to
11846 diagram_tree_add() to add newly created diagrams to the diagram
11849 * app/app_procs.c (app_init): added call to create_tree_window()
11851 * app/makefile.msc : updated
11853 2001-10-28 Hans Breuer <hans@breuer.org>
11855 * app/preferences.h (DiaPreferences):
11856 * app/preferences.c (prefs_data): new "show_diagram_tree"
11857 configuration option (whether the diagram tree window should be
11858 shown on dia startup)
11860 * app/menus.c: added the new "<Toolbox>/View/Diagram tree" menu
11861 entry (both for GNOME and gtk)
11863 * app/diagram.h (diagram_object_modified): callback notifying of a
11864 diagram object modification
11866 * app/diagram.c (diagram_load_into): added call to
11867 diagram_tree_add() to add newly loaded diagrams to the diagram
11869 (diagram_destroy): call to diagram_tree_remove() to remove a
11870 destroyed diagram from the diagram tree window
11871 (diagram_add_object): call to diagram_tree_add_object() to add an
11872 object to the diagram tree window
11873 (diagram_add_object_list): as above, but with an object list
11874 (diagram_selected_break_external): deletion of objects from the
11875 diagram is detected here, and diagram_tree_remove_object() is
11876 invoked to remove the object from the diagram tree window (it
11877 would be nice to have a diagram_remove_object() in the Diagram
11879 (diagram_set_filename): update the diagram tree window when a
11880 diagram's filename changes
11882 * app/commands.c (file_new_callback): added call to
11883 diagram_tree_add() to add newly created diagrams to the diagram
11886 * app/app_procs.c (app_init): added call to create_tree_window()
11888 2001-10-28 Hans Breuer <hans@breuer.org>
11890 * plug-ins/python/pydia-property.c : apparently I missed
11891 to commit this last time. Now it has some more SetAttr
11892 support (apply from property)
11894 * plug-ins/python/pydia-properties.h : added PyDiaProperty_Check
11896 * plug-ins/python/pydia-text.[ch] : new files
11898 2001-10-14 Hans Breuer <hans@breuer.org>
11900 * lib/charconv.c : g_locale_to_utf8() does not handle NULL
11901 strings. Use g_strdup() for these.
11903 libxml2 does not produce 'any extra indentation when saving a tree'
11904 [libxml2-2.4.2/doc/upgrade.html] anymore, which was the default with
11905 libxml(1). To get human readable XML some extra tweaking is required.
11906 It is enabled by setting 'pretty_formated_xml' to 'true' in 'diarc'.
11907 * lib/dia_xml.[hc] : provide and use 'DIAVAR pretty_formated_xml'
11908 * app/preferences.[ch] : initialize 'pretty_formated_xml'
11910 * lib/libdia.def : updated externals
11912 * lib/properties.h : add prototype for prop_list_from_single ()
11914 * plug-ins/makefile.msc : build metapost plug-in
11916 * plug-ins/metapost/render_metapost.c : msvc does not like
11917 switch labels without operation 'default: }'. Added a noop.
11919 * plug-ins/python/pydia-text.[hc] : (new files) wrap DiaText
11920 * plug-ins/python/diamodule.c : added PyDiaText
11921 * plug-ins/python/makefile.msc : dito. Also added LIBXML_CFLAGS.
11922 Although the python plug-in does not use libxml at all, the
11923 headers are required to use the lib/prop*.h headers
11925 * plug-ins/python/pydia-diagramdata.c : added wrappers for
11926 update_extents and get_sorted_selected (should I duplicate
11927 more functions from PyDiaDiagram or should they be moved?)
11929 * plug-ins/python/pydia-properties.c : allow to set (some) properties
11930 through the dictionary api
11931 * plug-ins/python/pydia-property.h : declare PyDiaProperty_ApplyToObject
11932 * plug-ins/python/pydia-property.c : implement it (currently only
11933 string properties can be set)
11935 Reimplement PyDiaProperty_GetAttr by means of the new StdProp api.
11936 Quoting myself: 'Still not convinced that this is better than an
11937 integral property->type and some casting ...
11938 It is trading a straightforward 40 lines switch statement to
11939 this nice 'type safe' function mapping (about 125 lines)'
11940 (But now it works again, better than changing the News file :)
11942 2001-10-14 Cyrille Chepelov <chepelov@calixo.net>
11944 patch from <robert.young@dsto.defence.gov.au>:
11945 * objects/UML/component.c: remember to set font in UML component
11946 object (fixes #62132)
11948 2001-10-02 Lars Clausen <lrclause@cs.uiuc.edu>
11950 * plug-ins/metapost/metapost.c:
11951 * plug-ins/metapost/Makefile.am:
11952 * plug-ins/metapost/render_metapost.c:
11953 * plug-ins/metapost/render_metapost.h:
11954 Metapost renderer from Chris Sperandio
11956 2001-09-14 Hans Breuer <hans@breuer.org>
11958 * app/render_gdk.c : reflect the fact, that GTK already talks
11959 UTF8 on win32, fixes #59982, #56100, (#55992 ?) ...
11962 * app/render_libart.c : trying to fix #58045 but it appears
11963 to be an Gdk/win32, too.
11965 * lib/charconv.c : handle utf8 conversion with the help of
11966 glib-1.3 even in the !HAVE_UNICODE case.
11968 * lib/dia_xml.c : reduce complaing about missing encoding, by
11969 detecting if the default (utf8) would break the file.
11971 2001-09-13 Cyrille Chepelov <chepelov@calixo.net>
11973 * lib/charconv.c: (get_local_charset): at least please try to not
11974 silently change the logic, while avoiding crashes.
11976 * lib/font.c: (suck_font): put a #error, we have a nasty something
11977 to fix there before we switch to Gtk 2.0.
11979 2001-09-09 Hans Breuer <hans@breuer.org>
11981 * **/makefile.mingw : Approach to compile Dia with mingw.
11982 Compiling mostly works but running does not (yet) ...
11985 - use G_OS_WIN32 instead of _MSC_VER to drag in isinf, etc. definitions.
11986 Apparently mingw needs it too.
11987 - enable 'normalization' of a null verctor. Otherwise the beziergon
11988 bounding box calculation would be broken at least with msvc. What's
11989 the mathematical correct result of 0.0/0.0 ?
11991 * lib/dia_xml.c : isinf() for mingw too.
11993 * lib/dia_dirs.c : use MAX_PATH instead of _MAX_PATH (works for mingw
11996 * lib/charconv.c : still crashes if strcmp(NULL, "UTF-8").
11997 Please don't do it.
11999 * lib/font.c : Trying to reflect that GTK_TALKS_UTF8_WE_DONT
12001 * lib/libdia.def : updated externals. Apparently mingw needs
12002 them to produce the right mangling.
12004 * plug-ins/shape/shape-exports.c : get prototypes for xmlStrdup
12007 2001-09-08 Wang Jian <lark@linux.net.cn>
12009 * configure.in(ALL_LINGUAS): Renamed zh_CN.GB2312 to zh_CN
12011 2001-09-07 Cyrille Chepelov <chepelov@calixo.net>
12013 * lib/dia_xml_libxml.h:
12014 * lib/dia_xml.c: (data_add_string), (xmlDiaSaveFile): Duplicated
12015 libxml1's code, to rework the output file before it gets committed
12016 to disk. This is rubbish, and will be removed when libxml2
12017 switches from discouraged to mandatory.
12018 All in all, this fixes #60152.
12021 * lib/charconv.c: (charconv_unichar_to_utf8):
12022 made the type of the input parameter explicitly an unsigned long.
12024 * configure.in: Added a check for libz (we must now include it
12025 explicitly, for xmlDiaSaveFile).
12027 * app/load_save.c: (diagram_data_save):
12028 * lib/plug-ins.c: (ensure_pluginrc), (info_fill_from_pluginrc),
12029 (dia_pluginrc_write):
12030 * plug-ins/shape/shape-export.c: (new_shape_renderer),
12031 (end_render), (draw_string):
12032 * plug-ins/svg/render_svg.c: (new_svg_renderer), (end_render),
12035 Made sure we always write UTF-8 XML files, and through
12038 * NEWS: documented that fact.
12040 2001-09-07 James Henstridge <james@daa.com.au>
12042 * configure.in (found_libxml): refactor the check for libxml a
12043 little so that it handles finding both libxml1 and 2 better.
12045 2001-09-03 Cyrille Chepelov <chepelov@calixo.net>
12047 * app/app_procs.c: removed a spurious } which caused a compilation
12048 error in the (!HAVE_GNOME && HAVE_POPT_H) case
12050 * lib/charconv.c: (get_local_charset): some versions of iconv(1)
12051 don't know what ANSI X3.4-1968 is. I didn't know until this day,
12052 but it's just plain old ASCII. Added a check to shield the poor
12055 Patches from <robert.young@dsto.defence.gov.au>:
12057 * lib/text.c: (text_calc_boundingbox) Bounding box now calculates the
12058 width and height of text before calculating bounds. Fixes #59928
12060 * app/preferences.c: Moved grid related items into Grid Tab.
12062 2001-09-02 Cyrille Chepelov <chepelov@calixo.net>
12064 * app/interface.c: (create_zoom_widget): connected one more signal
12065 to the Zoom selector combo's list. Fixes #59879.
12067 * app/app_procs.[ch]: (app_init) (do_convert)
12068 (build_output_file_name): brought back into the main executable
12069 the rare useful bits of the ill-fated diaconv. This means we have
12070 one new feature : --export-to-format (-t), which should make
12071 writing conversion scripts easier, and a crude implementation of
12072 -t and -e for the poptless argument parsing, which means the Win32
12073 port should be able to take advantage of it (that should make
12074 resolving #58197 possible).
12076 * app/diaconv.c: kept the poor duck compiling (but that's about
12079 * plug-ins/svg/render_svg.c: updated the SVG DTD header (I hope
12080 I've got it right).
12082 * NEWS: updated about the new feature above, and documented the
12083 "missing encoding specification" complaint.
12085 2001-09-01 Abel Cheung <maddog@linux.org.hk>
12087 * configure.in: Rename zh_TW.Big5 -> zh_TW in ALL_LINGUAS.
12089 2001-09-01 Cyrille Chepelov <chepelov@calixo.net>
12091 * objects/standard/bezier.c: used g_new0 instead of g_new, to take
12094 2001-09-01 James Henstridge <james@daa.com.au>
12096 * */Makefile.am: various changes to include missing files, and fix
12097 sheets dir to handle building with builddir != srcdir.
12099 * autogen.sh: unconditionally pass the --enable-maintainer-mode
12100 and --enable-db2html flags so that builds from CVS work correctly.
12102 * configure.in: increment version number. Also add an
12103 --enable-db2html flag. Without the flag, db2html won't be run (if
12104 the flag is passed and db2html is not present, do nothing).
12106 2001-08-30 Cyrille Chepelov <chepelov@calixo.net>
12108 * lib/poly_conn.c: (polyconn_copy): it's a wonder this routine
12109 even compiled. It's really too bad there is no lint tool easily
12110 available (or a more cautious, pedandic, paranoid and verbose
12111 compiler). Anyway, this fixes #59662. (this didn't affect 0.88.x)
12113 2001-08-27 Cyrille Chepelov <chepelov@calixo.net>
12116 * dia/lib/plug-ins.c: use g_strdup() instead of strdup(). Patch
12117 from <robert.young@dsto.defence.gov.au>. Fixes #59591.
12119 * app/menu.c: added ellipsis(...) to diagram properties menu item.
12120 * app/dia-props.c: diagram properties dialog contents did not
12121 represent current diagram settings.
12122 * app/dia-props.[ch]:
12123 * app/display.c: diagram properties contents now follows currently
12125 Patch also from <robert.young@dsto.defence.gov.au>, fixes #59409.
12127 * AUTHORS: added Robert Young.
12129 2001-08-27 Cyrille Chepelov <chepelov@calixo.net>
12131 * app/modify_tool.c: (modify_button_release): Patch from
12132 <robert.young@dsto.defence.gov.au>. Fixes the remaining bit from
12133 #59090: if selection dragging was released outside of the window,
12134 artifacts of the selection box remained.
12136 2001-08-25 Cyrille Chepelov <chepelov@calixo.net>
12138 * Objects/custom/shape_info.c: added missing #include <xmlmemory.h>
12140 2001-08-19 Cyrille Chepelov <chepelov@calixo.net>
12143 * sheets/Makefile.am: prepared the terrain for the Version of
12144 xml-i18n-tools Which Comes After 0.9 (and which will feature at
12145 last a sane behaviour with XML files). Some reasonible delay
12146 before enforcing that version *will* be given.
12148 * xml-i18n-merge.in.kg: included the current CVS xml-i18n-merge.in
12150 * lib/plug-ins.c: <xmlmemory.h> defines xmlFree(), otherwise it
12151 becomes a nonexistent symbol.
12153 2001-08-18 Hans Breuer <hans@breuer.org>
12155 * app/app_procs.c : made it compile without ENABLE_NLS
12157 * app/diap_callbacks.c : strcmp isn't guaranteed to work
12160 * app/load_save.c :
12162 * objects/custom/shape_info.c : avoid mixing allocators and dealocators.
12164 xmlGetProp, ... -> xmlFree
12165 malloc, strdup -> free
12166 g_new, g_malloc, g_strdup - > g_free
12168 * app/win32print.c : some more error checking, still not
12171 * lib/charconv.c : get_local_charset is used even with !HAVE_UNICODE
12173 * lib/dia_xml.c : msvc still has no unistd.h
12176 * lib/sheets.c : temporary resolved libxml include brokeness
12178 * plug-ins/python/pydia-*.c : reflect Font and StdProp api
12179 changes. Compiles again, but doesn't do anything useful anymore.
12180 (see THE_PROP_TYPE_IS_INTEGRAL)
12182 * **/makefile.msc : updated to use LIBXML2
12184 * lib/libdia.def : reflect api changes
12186 2001-08-17 Cyrille Chepelov <chepelov@calixo.net>
12188 * config.h.win32: added defines telling that gtk speaks UTF8.
12189 Hans, I believe this reflects what GTK on Win32 does.
12191 * app/app_procs.c: if GTK talks UTF8, we'll feed it UTF8 localised
12193 * lib/prop_inttypes.c:
12195 * lib/prop_widgets.c: fixed typos in the GTK_TALKS_UTF8_WE_DONT
12198 * lib/plug-ins.c: (dia_register_plugins_in_dir): If there is a
12199 trailing // (or whatever (G_DIR_SEPARATOR * 2) is), a recursive
12200 search for plug-ins is done.
12201 * app/Makefile.am: made app/run_dia.sh use the // capability. No
12202 need to update this anymore if we get a new plug-in library (or
12205 * lib/dia_xml.c: #include <unistd.h> was missing.
12207 * lib/properties.h:
12208 * lib/proplist.c: (pdtpp_defaults): Added a new flag,
12209 PROP_FLAG_NO_DEFAULTS. Will be used in the "automatic defaults"
12212 2001-08-16 Cyrille Chepelov <chepelov@calixo.net>
12214 * sheets/civil.sheet: removed duplicate "Danish" entries.
12219 * sheets/Makefile.am:
12221 * Makefile.am: applied the xml-i18n-tools README's instructions.
12223 * po/(da de fr hu nl nn no sl).po: merged the translations from
12224 the sheet files into the .po files. I hope I haven't mixed
12226 * sheets/*.sheet (REMOVED):
12227 * sheets/*.sheet.in (NEW): moved the sheet files sans
12228 translations into .sheet.in files.
12230 * sheets/xml-i18n-unicodify: (NEW) included from xml-i18n-tools,
12231 because we don't yet want to force all translators to work using
12232 UTF-8 editors. We'll want to do that sometime (sooner rather than
12233 later). Okay, I sing a slightly different tune in po/ChangeLog...
12235 * dia.desktop (REMOVED):
12236 * dia.desktop.in (NEW): used also the x18t infrastructure for
12239 * xml-i18n-update.in.kg (NEW): This one will stay in CVS until an
12240 "official" version of x18t with support for .sheet files is available.
12241 * xml-i18n-merge.in.kg (NEW): This one will stay in CVS until an
12242 "official" version of x18t which doesn't corrupt UTF-8 data in XML
12245 ** yes, we are now using xml-i18n-tools to manage the sheet
12246 translations. For the Win32 build, Nemo stores snapshots of
12247 translated strings next to the CVS snapshots. **
12249 * sheets/checktrans.py: suddenly, some sheets have lots of
12250 translations (objects which existed before sheets, mostly).
12251 Adapted the formatting.
12253 * po/README (REMOVED): this is obsolete ! It was ignored, anyway.
12255 * app/display.[ch]: (ddisplay_autoscroll), (ddisplay_scroll):
12256 * app/modify_tool.[ch]: (modify_motion): A (modified) patch from
12257 <robert.young@dsto.defence.gov.au>, to fix #59090.
12259 * app/display.c: (ddisplay_scroll): While at it, added some
12260 margin, so that autoscrolling can happen within a margin outside
12261 the diagram's extents.
12265 * app/disp_callbacks.c: Robert "forced" me to go when I usually
12266 don't, namely the app/ directory. So while I was there, I
12267 scratched a long-time itch. If no object has focus, pressing the
12268 space bar will select back the tool which was selected before the
12269 current one (I find this especially useful with "reset after create" !)
12271 * lib/proplist.c: (prop_list_from_single): Renamed
12272 prop_list_singleton() to avoid confusion with the Singleton
12273 pattern (which it definitely is not).
12275 * lib/propobject.c: (object_prop_by_name_type),
12276 (object_prop_by_name): The "flags" parameter was not necessary.
12277 These don't return synthetic properties, but properties built from
12278 a real property description list; therefore, we don't call
12279 make_new_prop() but use the existing property descriptor, which
12280 has perfectly valid (and meaningful) flags.
12282 * lib/proplist.c: (pdtpp_synthetic), (pdtpp_from_object): These
12283 new predicates better reflect the reason why properties exist when
12284 they're created by make_new_prop() or object_prop_by_name().
12286 * lib/propobject.c: (object_prop_by_name_type), (object_prop_by_name):
12287 * lib/prop_basic.c: (make_new_prop): used the new reasons instead
12290 * lib/properties.h: reflects all the above changes.
12292 * objects/SADT/arrow.c:
12293 * objects/SADT/annotation.c:
12294 * sheets/SADT.sheet: minor renamings to better match FIPS 183's
12297 2001-08-15 Cyrille Chepelov <chepelov@calixo.net>
12299 * lib/properties.h:
12300 * lib/proplist.c: (prop_list_singleton):
12301 * lib/propobject.c: (object_prop_by_name_type), (object_prop_by_name):
12302 Added these, to simplify interactions of plug-ins with the StdProp
12307 * lib/dia_xml_libxml.h (NEW):
12312 * objects/custom/shape_info.c: A few prototypes were causing
12313 #include hell, because we generally attempt to not pull the whole
12314 libxml header set when we include dia_xml.h. Moved those
12315 prototypes away for the rare cases they're necessary.
12317 2001-08-15 Hans Breuer <hans@breuer.org>
12319 * lib/font.c : made LARS_TRACE_MESSAGES Standard C conform
12322 * lib/makefile.msc : updated
12324 * lib/prop_basic.c : __FUNCTION__ is a gcc extension. Please
12325 use G_GNUC_FUNCTION instead.
12327 * lib/prop_inttypes.c : include <stdlib.h> for strtol()
12329 * objects/sadt/annotation.c : disable TEMPORARY_EVENT_TEST for
12330 msvc instead of cleaning missing includes
12332 * plug-ins/wmf/wmf.cpp :
12333 * plug-ins/wmf/wmf_gdi.h : fixed for Font to DiaFont renaming
12335 2001-08-15 Cyrille Chepelov <chepelov@calixo.net>
12342 * objects/custom/shape_info.c:
12343 * plug-ins/shape/shape-export.c:
12344 * plug-ins/svg/render_svg.c: used the libxml1/libxml2
12345 compatibility macros as taught by http://xmlsoft.org/upgrade.html;
12346 removed xmlKeepBlanksDefault(0) in favour for proper
12347 xmlIsBlankNode() testing. Lots of other fixups to use the
12348 "libxml1.5" (libxml2 parser embedded in recent libxml1), and to
12349 make libxml1 output correct files.
12351 * configure.in: use libxml2 (>= 2.3.9) if it's found, or
12352 libxml1 (>= 1.8.14). Exactly one of these must be installed (devel
12353 packages). If both devel packages are found, the build will stop
12354 (Fredrik: please add a Build-Conflicts: on libxml2-dev for the moment)
12356 * lib/bezier_conn.c: (bezierconn_init): Lars, you forgot to
12357 allocate the first handle :-)
12359 * lib/object.c: (object_init): <gratuitous>g_new() used instead of
12360 a cast and a sizeof.</gratuitous>
12362 * objects/custom/custom_object.c: (custom_copy): don't call
12363 text_get_attrbutes if the shape has no text...
12364 (custom_update_data): The info->resize_with_text code was a bit
12365 directive; basically, the shape's bounding box was forced to be
12366 proportional to the text's bounding box.... This fixes #57187.
12368 * objects/custom/shape_info.c: (load_shape_info): Set an obvious
12369 default for info->aspect_ratio; unobfuscated a line about
12370 info->resize_with_text;
12372 2001-08-15 Cyrille Chepelov <chepelov@calixo.net>
12374 * lib/properties.h: added comments next to the PROP_TYPEs to tell
12375 which C Property subclass to use.
12377 * plug-ins/dxf/dxf-import.c: (read_entity_line_dxf): Removed the
12378 cast-ridden form of setting properties in a list, in favour for
12379 the "local pointers" form. I'll take any better offer...
12381 2001-08-14 Cyrille Chepelov <chepelov@calixo.net>
12383 * lib/font.c: fprintf(...) --> fprintf(format...)
12385 * configure.in: added a disabled versioned test for glib.
12386 * lib/prop_geomtypes.c: (bezpointprop_load), (bezpointprop_save),
12387 (bezpointarrayprop_load), (bezpointarrayprop_save): replaced
12388 g_critical() with a simple g_error(). Proper fix is to implement
12391 * lib/properties.h: PROP_STD_TEXT is a PROP_TYPE_TEXT, not a
12394 * lib/properties.h:
12395 * lib/propdesc.c: (prop_desc_list_calculate_quarks):
12396 * lib/proplist.c: (find_prop_by_name_and_type):
12397 * lib/prop_basic.c: (make_new_prop), (initialize_property):
12398 * lib/propoffsets.c: (do_set_props_from_offsets),
12399 (do_get_props_from_offsets), (prop_offset_list_calculate_quarks):
12400 Added a type_quark member to PropDescription, Property and
12401 PropOffset. Used it to implement a safety in
12402 do_[sg]et_props_from_offsets().
12404 * objects/flowchart/diamond.c: the diamond's text was not saved,
12405 and thus not even copied (c&p).
12406 * objects/standard/textobj.c: ditto.
12408 Most of the above changes thanks to Robert Young's testing. Thanks !
12410 2001-08-14 Kjartan Maraas <kmaraas@gnome.org>
12412 * sheets/*.sheet: Added some Norwegian translations (both nynorsk
12415 2001-08-13 Cyrille Chepelov <chepelov@calixo.net>
12417 * lib/proplist.c (prop_list_from_descs): added a call to
12418 prop_desc_list_calculate_quarks(). (find_prop_by_name_and_type):
12419 too embarrassing to tell.
12421 * lib/propdesc.c (prop_desc_list_calculate_quarks): converted the
12422 while loop to a for loop, for symmetry with
12423 prop_offset_list_calculate_quarks().
12425 * lib/geometry.h: new inline function, rectangle_equals.
12427 * lib/diagramdata.[ch]: refactored a bit the diagram extents
12428 computation logic, and changed it to always be the union of the
12429 visible layers' extents. This should close #58882 (Debian
12430 #107167), and fixes #55498.
12432 * app/display.c: made the initial visible box more coherent with
12433 the diagram being loaded's extents.
12435 * app/prop_attr.c: don't set the font (from offset) if font_data
12436 is NULL. Two brainos in colorprop_load() and fontprop_load().
12438 2001-08-13 Cyrille Chepelov <chepelov@calixo.net>
12440 * lib/properties.[ch]: split in a lot of pieces:
12442 * lib/prop_*.[ch] (NEW): all property types are now first-class
12443 objects, inheriting from the original abstract Property type.
12444 * lib/propdesc.c (NEW): property description handling routines
12445 * lib/propoffsets.c (NEW): property offset handling routines
12446 * lib/proplist.c (NEW): property list handling routines
12447 * lib/propobject.c (NEW): property list <-> object routines
12448 * lib/propregistry.c (NEW): holds the PropertyType-->PropertyOps
12450 * lib/propinternals.h: prototypes for stuff not usually needed by
12451 the outside of StdProps.
12452 * lib/Makefile.am: a lot of new files have been added...
12454 THE ABOVE CHANGES ARE MAJOR CHANGES AND AFFECT THE WHOLE TREE, IN
12455 BOTH INTERFACES AND RUN-TIME STABILITY.
12457 * lib/plug-ins.h: bumped up DIA_PLUGIN_API_VERSION
12459 * lib/object.h: removed the incestuous relationship with
12460 properties.h' contents. Now a Property list is a GPtrArray -->
12461 object interface change !
12463 * app/app_procs.c/app_init(): removed a disabled call to a
12464 non-existent routine. Added a call to stdprops_init().
12466 * objects/Makefile.am: disabled the construction of EML. I'm not
12467 touching these until a certain issue is solved (or this module
12470 * objects/**/*.c except objects/EML/*: adapted all stdprop-using
12471 objects to the interface changes.
12473 * app/disp_callbacks.c: killed a warning.
12474 * lib/dia_xml.[ch]: sprinkled "const" modifiers.
12477 The macros PROP_VALUE_* have disappeared. Adapted to using the new
12480 * plug-ins/dxf/dxf-import.c:
12481 * plug-ins/xfig/xfig-import.c:
12482 PROP_VALUE_* macros have been removed. Converted to the new API.
12484 * plug-ins/python/**/*: I gave up converting this; I can't
12485 compile --with-python (problems with object.h defined both by us
12486 and by Python). I'll gladly help whomever cares to fix it !
12487 (or, fix it myself if someone tells me how to compile it).
12489 * configure.in: added the UNICODE-related progress defines.
12492 * lib/geometry.h: On Solaris and perhaps other systems, finite()
12493 is defined in ieeefp.h rather than in math.h. Patch from Andrew
12494 Halper <ashalper@acm.org> with further modifications, isinf() is
12495 provided by -lsunmath (sunmath.h).
12497 * lib/font.c: conditionally disabled Lars' debugging messages.
12498 Bracketed the definition of DiaFontFamily with #ifdef HAVE_FREETYPE.
12500 2001-08-11 Lars Clausen <lrclause@cs.uiuc.edu>
12502 * lib/bezier_conn.h:
12503 * objects/standard/bezier.c (bezierline_create):
12504 * lib/bezier_conn.c (bezierconn_init):
12505 Preparations for use of userdata for bezier lines.
12507 * objects/standard/polygon.c:
12508 * objects/standard/create.h:
12511 * plug-ins/xfig/xfig-import.c:
12512 Use of user_data for polygon as well, including adding
12513 polyshape_set_points. Include file for non-interactive
12514 creation of standard objects, objects/standard/create.h
12516 2001-08-10 Lars Clausen <lrclause@cs.uiuc.edu>
12518 * app/render_gdk.c:
12519 * app/render_gdk.h:
12523 More preliminary freetype support. Not at all functional, crashes
12528 * objects/standard/polyline.c:
12529 Support for creating polyline objects with more than two points.
12530 This includes an extra function and a prototype change in the
12531 poly_conn lib object.
12533 * lib/object.c (object_copy): Fixed memory leak of handles and
12536 2001-08-08 Abel Cheung <maddog@linux.org.hk>
12538 * dia.desktop: added traditional Chinese strings
12540 2001-08-04 Cyrille Chepelov <chepelov@calixo.net>
12542 * NEWS: updated to reflect build-time dependencies.
12544 * lib/properties.[ch]: wrote get_prop_descriptions() as a wrapper
12545 around obj->ops->describe_props(obj). Quarks are none of an
12546 object's business in the general case...
12547 * lib/text.c: Added an apply_textattr_properties() function to
12548 factor out some common code related to applying a dialog's text
12549 attribute properties to a (Text *) which wasn't edited there.
12550 Ditto for textstr, for the string part of an objet.
12552 * objects/GRAFCET/action.c:
12553 * objects/SADT/annotation.c:
12554 * objects/SADT/box.c: used apply_textattr_properties().
12556 * objects/UML/actor.c:
12557 * objects/UML/branch.c:
12558 * objects/UML/component.c:
12559 * objects/UML/constraint.c:
12560 * objects/UML/small_package.c:
12561 * objects/UML/state.c:
12562 * objects/UML/usecase.c:
12563 * objects/UML/large_package.c:
12564 * objects/UML/note.c:
12565 * objects/UML/node.c:
12566 * objects/UML/message.c:
12567 * objects/UML/classicon.c:
12568 * objects/UML/object.c:
12569 * objects/UML/realizes.c:
12570 * objects/UML/dependency.c:
12571 * objects/UML/implements.c:
12572 slim-fast(tm) cure using more StdProps, and UTF-8 audit.
12573 (most objects were already using StdProps to some extent ; this
12574 systematises usage and removes some dead wood).
12576 * objects/UML/stereotype.[ch]: use UTF-8 internally. const police work.
12577 * objects/UML/uml.[ch]: audited for UTF-8.
12579 * objects/UML/class.c: the UML_STEREOTYPE_* strings defined by
12580 uml.h can be in UTF-8... this code isn't yet ready. Duplicating a
12581 private (ISO-8859-1) definition.
12583 * lib/charconv.c: Added a warning if we didn't run
12584 nl_langinfo(CODESET) but rely instead on a hardcoded default.
12586 2001-08-02 Cyrille Chepelov <chepelov@calixo.net>
12589 * app/disp_callbacks.c: added a way for an object to cause an
12590 already realised menu to be destroyed (for instance if it changes
12593 * objects/custom/custom_object.c: used the above to fix #55073.
12595 2001-08-01 Lars Clausen <lrclause@cs.uiuc.edu>
12597 * configure.in: Remove 2.50 prereq.
12599 2001-07-30 Cyrille Chepelov <chepelov@calixo.net>
12601 * po-checktrans.py: under some circumstances, there was one column
12602 more than what was supposed to be, thus breaking the formatting.
12604 2001-07-29 Cyrille Chepelov <chepelov@calixo.net>
12606 * objects/SADT/annotation.c: forgot to add a #include <stdlib.h>
12608 * NEWS: updated with new stuff since 0.88
12610 * shapes/network/antenna.shape: the text was misplaced ; fixed.
12612 * shapes/network/firewall.(shape|xpm) (NEW): a brick-wall looking
12613 firewall router (upon request from Cyril Lacoux
12614 <clacoux@easter-eggs.com>)
12616 * configure.in (didn't rename to configure.ac): autoconf 2.50
12617 constructs were used ; added an AC_PREREQ call to guard against
12620 2001-07-27 Cyrille Chepelov <chepelov@calixo.net>
12622 * lib/properties.c: minor clean-ups with the event delivery code.
12624 * EML/instantiation.c: brought this object back from stone and ice
12627 * app/diaconv.c(NEW): added a command-line conversion tool. Still
12628 lacks a man page and correctness. In fact, it doesn't work. Please
12629 see #58196 if you want to finish it.
12631 * lib/message.[ch]: redefined things a little so that a different
12632 message_internal routine could be passed.
12633 applications can use that to fit themselves to the display model.
12635 2001-07-26 Cyrille Chepelov <chepelov@calixo.net>
12637 * objects/SADT/box.c:
12638 * objects/GRAFCET/action.c: spelling in property descriptors (name
12640 * objects/SADT/annotation.c: ditto, plus a temporary test of the
12641 event delivery code (try to click on the "click me !" button !).
12644 * lib/properties.[ch]: improved (fixed) support for group event
12645 handlers. Fixed various things from yesterday's code to make it
12646 not too obviously crash.
12648 2001-07-26 Cyrille Chepelov <chepelov@calixo.net>
12650 * app/group.c: added delivery of events to the first member of the
12651 group which is able to process it.
12653 * lib/properties.c(prop_desc_lists_intersection): properties
12654 don't match if they don't have identical event handler.
12655 * lib/properties.h: simplified the PropEventHandler signature.
12657 Event delivery code is still untested so far, but should be
12660 2001-07-25 Cyrille Chepelov <chepelov@calixo.net>
12662 * lib/properties.[ch]: Added (untested !) property event handler
12663 capability. Added a new PROP_TYPE_BUTTON, for the purpose of
12664 generating such events. This stuff compiles, and should lurk
12665 around silently as long as you don't declare property descriptors
12666 with events (AFAICT).
12667 In object_create_props_dialog() and friends:
12668 attached a single structure with lots of data instead of lots of
12669 little attachments of data to the dialog widget.
12671 * lib/object.h: fixed mild typedef breakage introduced by the above.
12673 2001-07-17 Lars Clausen <lrclause@cs.uiuc.edu>
12675 * lots of files: Changed Font to DiaFont
12676 * */Makefile.am: Added FREETYPE_LIBS
12677 * plug-ins/xfig/xfig-export.c: Improved (working:) color handling
12679 2001-07-13 Kjartan Maraas <kmaraas@gnome.org>
12681 * configure.in: Added "nn" to ALL_LINGUAS.
12683 2001-07-09 Alex Larsson <alexl@redhat.com>
12685 * app/disp_callbacks.c:
12686 Add gdk_im_ready() calls to XIM code.
12688 2001-07-04 Cyrille Chepelov <chepelov@calixo.net>
12690 * lib/properties.[ch]: splitted prop_get_widget() into
12691 prop_get_widget() (gives a widget but doesn't fill it) and
12692 prop_reset_widget() (fills an existing widget with a property's value).
12694 * lib/widgets.[ch]: const enforcement police work.
12696 * shapes/network/antenna.shape: added a connection point at top,
12697 upon request from <Emmanuel.Quemener@cri.ens-cachan.fr>.
12699 2001-06-25 Cyrille Chepelov <chepelov@calixo.net>
12701 * intl/*: tested with gettext-0.10.38
12702 * configure.in: moved a macro call around (AM_PROG_CC) to keep
12703 some of autogen.sh from complaining.
12704 * INSTALL: added a warning against gettext older than at least 0.10.36
12706 2001-06-19 Cyrille Chepelov <chepelov@calixo.net>
12708 * configure.in: added explicit calls to AM_LANGINFO_CODESET and
12709 AM_ICONV (both provided by gettext)
12711 2001-06-14 Cyrille Chepelov <chepelov@calixo.net>
12713 * lib/charconv.c: corrected the degraded mode for when
12714 !HAVE_UNICODE. Thanks to Ben A. Hetland for reporting this.
12716 * objects/chronoline/chronoline_events.c: UTF8 compliance.
12718 2001-06-13 Cyrille Chepelov <chepelov@calixo.net>
12720 * lib/properties.[ch]: convenience macros around PROP_NOTEBOOKS ;
12721 new "eye candy" properties: PROP_MULTICOL_(BEGIN|PAGE|END) to lay
12722 widgets on several columns, PROP_FRAME_(BEGIN|END) to put widgets
12725 * objects/chronogram/chronoline.c:
12726 * objects/chronogram/chronoref.c: took advantage of the above to
12727 make nicer looking dialogs.
12729 * lib/charconv.[ch]: added charconv_unichar_to_utf8 ("inspired"
12730 from libunicode's internals).
12731 * lib/message.c: convert strings to local encoding prior to
12732 display (UNICODE_WORK_IN_PROGRESS)
12733 * lib/properties.[ch]: convert strings to local encoding prior to
12734 display, and back to UTF8 (UNICODE_WORK_IN_PROGRESS).
12735 * lib/render.h: tagged strings as (utfchar *) instead of (char *)
12736 * lib/stringprerenderer.[ch]: ditto
12738 (lib/text.c has been audited for UTF8, but the size of the changes
12739 make them inappropriate for commit before 0.89)
12741 2001-06-12 Cyrille Chepelov <chepelov@calixo.net>
12743 * objects/boolequation.h (<save|load>_boolequation): made the
12744 prototypes for match the .c file.
12746 * samples/grafcet.dia: minor non-conformance with IEC-848
12747 fixed (in the transition from step 100 to step 101).
12749 * lib/properties.[ch]: added a flag (PROP_FLAG_DONT_MERGE) to
12750 disallow editing of properties if the object is part of a group.
12752 * objects/chronogram/chronoline.c:
12753 * objects/SADT/annotation.c:
12754 * objects/SADT/box.c:
12755 * objects/GRAFCET/step.c:
12756 * objects/GRAFCET/transition.c:
12757 * objects/GRAFCET/condition.c: took advantage of PROP_FLAG_DONT_MERGE.
12759 2001-06-12 Hans Breuer <hans@breuer.org>
12761 * lib/libdia.def : removed lazyprop exports
12762 * lib/makefile.msc : removed lazyprop.obj
12764 * objects/custom/custom_objects.c : use HAVE_UNISTD_H
12765 and avoid crashes by always creating a custom->text,
12766 when (custom->info->has_text)
12768 * objects/makefile.msc : removed sybase from build
12770 * objects/GRAFCET/boolequation.c (<save|load>_boolequation) :
12771 ObjectNode is a pointer already, which is what we want
12772 instead of a pointer pointer.
12774 * plug-ins/wmf/wmf.cpp : fixed problem with arc scaling
12775 and implemented working export for images
12777 * shapes/network/zip-disk.shape : added connection points
12779 2001-06-12 Cyrille Chepelov <chepelov@calixo.net>
12781 * objects/SADT/box.c: removed lazyprops for standard props.
12782 * objects/chronograms/chronoline.c: removed lazyprops (phew !)
12783 * objects/chronograms/chronoref.c: ditto
12787 * lib/connpoint_line.c:
12788 * lib/lazyprops.[ch] (DELETED): good riddance (closes #55895)
12789 * lib/properties.[ch]: new property types:
12790 - PROP_TYPE_STATIC: static text to be displayed in the dialog.
12791 - PROP_TYPE_MULTISTRING: same as string, but renders as a
12792 multi-line entry box.
12793 - PROP_TYPE_NOTEBOOK_BEGIN,_PAGE,_END: stuff to make dialogs
12794 in a tabbed-notebook style (this is a bit complicated to use;
12795 see objects/chronograms/chronoline.c for an example).
12797 2001-06-11 Cyrille Chepelov <chepelov@calixo.net>
12799 * objects/GRAFCET/boolequation.[ch]: zap lazyprops. Add standard props.
12800 * objects/GRAFCET/step.c: ditto.
12801 * objects/GRAFCET/vector.c: ditto.
12802 * objects/SADT/annotation.c: ditto.
12803 * objects/SADT/arrow.c: ditto (plus bounding box fixes).
12805 * lib/properties.[ch]: two more non-visible types
12806 (PROP_TYPE_ENUMARRAY and PROP_TYPE_INTARRAY).
12808 * lib/neworthconn.[ch]:
12809 * lib/orthconn.[ch]: added support for manipulation through
12810 standard properties.
12812 * configure.in: removed -fomit-frame-pointer, this seems to
12813 confuse recent gcc/gdb's, maybe we'll get better stack dumps in
12816 * charconv.[ch]: more functions from unicode.h.
12817 get_local_charset() wasn't working properly, fixed now.
12818 A subtle crashbug in charconv_utf8_to_local8() nailed (thanks to
12821 * objects/EML/process.h: pulled the bits of lazyprops.h it uses.
12822 * lib/lazyprops.[ch]: put a big fat warning in.
12824 * app/render_eps.c: one line mysteriously went away, causing a
12825 variable to be used uninitialised....
12827 2001-06-10 Cyrille Chepelov <chepelov@calixo.net>
12829 * app/app_procs.c: commented out the call to
12830 bind_textdomain_codeset(): it's premature.
12832 * lib/connpoint_line.c: a NULL point can be given to
12833 connpointline_adjust_count(), in case there's not really a clicked
12836 * lib/textattr.h(NEW): moved the definition of TextAttributes to sort
12837 #include order troubles. #included by lib/text.h, so there is no
12838 impact outside lib/.
12839 * lib/properties.[ch]: added support for CONNPOINT_LINE and
12840 (nonvisible) TEXT properties.
12842 * objects/GRAFCET/action.c:
12843 * objects/GRAFCET/vergent.c: dropped lazyprops for standard
12846 * objects/UML/lifeline.c: pruned some legacy stuff (now pure
12847 standard properties code). Grafted a dynamic number of connection
12848 points (heavily inspired from what Vergent does). This is the real
12851 * objects/GRAFCET/boolequation.[ch]: audited for UTF-8
12853 * lib/fonts.c: some hardening (mostly g_assert())
12854 2001-06-09 Cyrille Chepelov <chepelov@calixo.net>
12856 * app/app_procs.c (app_init): added a call to
12857 bind_textdomain_codeset() so that gettext gives us UTF-8 strings
12858 (UNICODE_WORK_IN_PROGRESS).
12860 2001-06-08 Cyrille Chepelov <chepelov@calixo.net>
12862 * plug-ins/xfig/xfig-import.c: corrected a typo (fixes #55910)
12864 * objects/UML/lifeline.c: patch from Marc <mrw@siemens.ch>
12865 (fixes #55863) : some clean-ups in the handling of connection
12866 points. Now the total number of connection points is just a
12867 #define (the proper solution is to retrofit the GRAFCET Vergent's
12868 dynamic behaviour wrt connection points).
12870 2001-06-07 Cyrille Chepelov <chepelov@calixo.net>
12872 * app/app_procs.c (app_init): added a call to unicode_init() (only
12873 if HAVE_UNICODE, of course).
12875 * lib/charconv.c: simplified the code which detects the local
12876 charset. No need to use <langinfo.h>, libunicode already takes the
12877 burden of figuring that out. Also, if local charset is utf8, no
12878 conversion will take place.
12879 Exposed a way to get the current charset (similar to
12880 unicode_get_charset() but actually working, hopefully).
12882 * lib/charconv.h: Added a partial non-UTF8 implementation of
12883 unicode.h if !HAVE_UNICODE (actually, all the time for the
12884 moment). The UTF8 implementation is just macros on libunicode (use
12885 the functions prefixed by uni_, as defined by charconv.h, not
12886 unicode_, unless that code is to be compiled only if HAVE_UNICODE).
12887 From now on, all strings which don't *need* to be ASCII should be
12888 utfchar *, not gchar *. Just include charconv.h, let it sort out
12889 the details (such as: "is libunicode available and enabled?")
12891 * lib/ps-utf8.c: fixed a few name clashes. Used the charconv.h
12892 "API" instead of directly libunicode. Removed the now unnecessary
12893 speculative clustering of characters in encoding pages.
12895 * app/render_eps.c: made the local8->utf8 conversions dependent of
12896 !UNICODE_WORK_IN_PROGRESS (this is not where the local8/utf8
12897 boundary will be when this WIP is done).
12899 * lib/dia_xml.c (data_point): fixed a format string typo.
12901 * po/POTFILES.in: added all C files from lib/
12903 2001-06-06 Cyrille Chepelov <chepelov@calixo.net>
12905 * app/disp_callbacks.c: make sure the objects' connected objects
12906 are updated when the objects' size changes after a keypress event
12909 * configure.in: added a big warning about the possible future
12910 non-optionality of --enable-unicode.
12912 * TODO: removed entries which look like done ; added a few ones
12913 (Bugzilla "enhancement" bugs may be a better way to keep track of
12916 2001-06-05 Cyrille Chepelov <chepelov@calixo.net>
12918 * objects/UML/message.c: got rid of #55564 and of message_copy()
12919 by using more standard properties (are the message_state_*()
12920 functions still necessary ?)
12922 2001-06-04 Fredrik Hallenberg <hallon@lysator.liu.se>
12925 * objecs/custom/shape_info.c:
12926 * plug-ins/shape/shape-export.c:
12927 * plug-ins/svg/render_svg.c: patch from obecian <obecian@openbsd.org>
12928 use xmlChar instead of obsolete CHAR.
12930 2001-06-03 Hans Breuer <hans@breuer.org>
12932 * app/diagram.h : added prototype for diagram_update_menu_sensitivity()
12933 * app/commands.c : give the right number of parameters
12934 to diagram_update_menu_sensitivity ()
12936 * app/preferences.c : do proper initialization for DiaPrefsData:
12937 render_bounding_boxes. It would be a real surprise if 'hidden'
12938 properties would have ever worked before.
12939 Don't try to access the widgets of hidden property, it does not
12942 * lib/diagramdata.h : make render_bounding_boxes a DIAVAR, cause
12943 it is defined in libdia, but initialized from dia app, which
12944 otherwise gave nice start-up crashes.
12946 * lib/diagramdata.c : initialize the color for rendering bounding
12947 boxes in the Dia range (0 .. 1.0)
12949 * lib/libdia.def : added *_bbox functions for export
12951 * lib/makefile.msc : added new sources
12953 * objects/custom/custom_object.c : use HAVE_UNISTD_H
12955 2001-05-30 Cyrille Chepelov <chepelov@calixo.net>
12958 * app/menus.c: patch from Hubert Figuiere <hfiguiere@teaser.fr> ;
12959 removes a translation of menus (in a place where there shouldn't
12960 have been), which gets rid of a waterfall of warnings if LANG!=C,
12961 and a fix to #55047.
12963 2001-05-29 Steffen Macke <sdteffen@yahoo.com>
12965 * lib/charconv.c : added #include <errno.h>
12967 * app/dia_embedd.c : updated menus_get_item_from_path usage
12969 2001-05-27 Cyrille Chepelov <chepelov@calixo.net>
12971 * lib/ps-utf8.c: Strings in Symbol fonts were incorrectly rendered.
12972 Added a special case for Symbol strings, so that they're not
12973 re-encoded using the LN encoding (we use the bare Adobe encoding
12976 * objects/custom/custom_object.c: Now that #52912 is fixed,
12977 I could remove the ugly hack I wrote to squash the shape bounding box
12978 problem shown by Ben A. Hetland a few months ago, and fix it
12979 properly this time.
12981 * lib/text.c: enlarged a little the bounding box to account for
12982 the cursor in rightmost position.
12984 * lib/diagramdata.c: draw bounding boxes only if the relevant
12985 variable is set (as before), but also only if the rendere is
12986 interactive (ie, don't bother rendering bounding boxes on
12988 Made the bounding box's line width a fixed value, 0.01
12990 * lib/boundingbox.c: fixed the "pointy corners" code for polylines
12991 and assymmetric control beziers. Implemented ellipse_bbox().
12993 * Makefile.am: incantations to get po/dia.pot build, as suggested
12994 by Hubert in #55075.
12996 * shapes/network/computer.shape: typo fixed.
12997 * shapes/network/antenna.shape: fixed #55074 (antenna is now
12998 properly translucent, except for its base where it makes sense. It
12999 doesn't look that ugly anymore if transparent mode is on).
13001 * configure.in: --enable-unicode is now the default. This
13002 still currently affects only printing.
13004 2001-05-26 Cyrille Chepelov <chepelov@calixo.net>
13006 * lib/boundingbox.c: fixed a minor logic error wrt closed shapes.
13007 The overshoot code is buggy, and the bounding boxes for polyshapes
13008 looks a bit cheezy. To be done ASAP.
13010 2001-05-26 James Henstridge <james@daa.com.au>
13012 * configure.in: call AM_PATH_PYTHON rather than AM_PATH_PYTHON_JH.
13013 This should clear up some of the build problems people have been
13016 * acinclude.m4: call AM_PATH_PYTHON_JH AM_PATH_PYTHON
13018 2001-05-26 Cyrille Chepelov <chepelov@calixo.net>
13021 * lib/boundingbox.[ch] (NEW): (some) refactoring of the bounding
13022 box code (beginning with lines, polylines and polybeziers), into a
13023 more generic facility. While at it, a better shot at correctly
13024 computing the bounding box of a Bezieroid (should take care of
13025 #53424, #51233 and of course is part 1 of #52912).
13027 * lib/diagramdata.c: turned the RENDER_BOUNDING_BOXES conditional
13028 into a hidden preference (set render_bounding_boxes in diarc).
13029 * app/preferences.[ch]: Added support for hidden preferences.
13031 * lib/geometry.[ch]: sprinkled with "const" modifiers.
13033 * lib/bezier_conn.[ch]:
13034 * lib/beziershape.[ch]:
13035 * lib/connection.[ch]:
13036 * lib/element.[ch]:
13037 * lib/poly_conn.[ch]:
13038 * lib/orth_conn.[ch]:
13039 * lib/neworth_conn.[ch]:
13040 * lib/polyshape.[ch]: adapted to take advantage of
13041 boundingbox.[ch] instead of relying on private (duplicate) code.
13043 * object/FS/flow.c:
13044 * object/GRAFCET/action.c:
13045 * objects/GRAFCET/condition.c:
13046 * objects/GRAFCET/vergent.c:
13047 * objects/GRAFCET/vector.c:
13048 * objects/SADT/annotation.c:
13049 * objects/SADT/arrow.c:
13050 * objects/ER/participation.c:
13051 * objects/UML/constraint.c:
13052 * objects/UML/implements.c:
13053 * objects/UML/lifeline.c:
13054 * objects/UML/message.c:
13055 * objects/UML/realizes.c:
13056 * objects/UML/generalization.c:
13057 * objects/UML/association.c:
13058 * objects/UML/dependency.c:
13059 * objects/FS/flow-ortho.c:
13060 * objects/network/bus.c:
13061 * objects/standard/arc.c:
13062 * objects/standard/bezier.c:
13063 * objects/standard/beziergon.c:
13064 * objects/standard/line.c:
13065 * objects/standard/polygon.c:
13066 * objects/standard/zigzagline.c:
13068 * objects/standard/polyline.c: Some *BBExtras structures changed
13069 names while moving to boundingbox.[ch]. A trivial mass-renaming.
13071 2001-05-20 Cyrille Chepelov <chepelov@calixo.net>
13073 * app/disp_callbacks.c (ddisplay_canvas_events): Take into account
13074 wheel mouses for scrolling (from Patrick Sung <phsung@ualberta.ca>)
13076 * app/display.c (ddisplay_update_scrollbars): from Patrick's
13077 suggestion, remove the extra scrollable area (it was only visible
13078 to the scrollbars). This is experimental.
13080 * objects/custom/custom_object.c: If a shape's icon file doesn't
13081 exist, warn and substitute a default icon, instead of crashing.
13084 * objects/network/network.c:
13085 * shapes/network/modularswitch.(shape|xpm) (NEW):
13086 * shapes/network/printer.(shape|xpm) (NEW):
13087 * shapes/network/genmonitor.(shape|xpm) (NEW):
13088 * shapes/network/computer.(shape|xpm) (NEW):
13089 * shapes/network/Makefile.am: four less objects, four more shapes.
13090 These were the last known RenderObjects. (phew !)
13094 * objects/sybase/Makefile.am:
13095 * objects/network/Makefile.am: Removed the older Renderobjects
13096 from the build, and their infrastructure (not yet deleted,
13099 * shapes/network/sceadplug.shape:
13100 * shapes/network/antenna.shape:
13101 * shapes/network/modem.shape:
13102 * shapes/network/hub.shape:
13103 * shapes/network/rj45plug.shape:
13104 * shapes/sybase/client.shape:
13105 * shapes/sybase/dataserver.shape:
13106 * shapes/sybase/ltm.shape:
13107 * shapes/sybase/repserver.shape:
13108 * shapes/sybase/rsm.shape:
13109 * shapes/sybase/stableq.shape: Minor corrections (line widths were
13110 ten times too narrow).
13112 2001-05-19 Cyrille Chepelov <chepelov@calixo.net>
13114 * objects/network/network.c:
13115 * shapes/network/sceadplug.(shape|xpm) (NEW):
13116 * shapes/network/antenna.(shape|xpm) (NEW):
13117 * shapes/network/modem.(shape|xpm) (NEW):
13118 * shapes/network/Makefile.am: four less objects, four more shapes.
13121 * lib/diagramdata.c:
13123 * lib/string_prerenderer.[ch] (NEW):
13124 Add a new renderer primitive, predraw_string() (does nothing, to be
13125 used as a hook to optimise the character encodings if needed).
13126 Added a string pre-renderer, which can be viewed as a filter
13127 renderer (to route draw_string() to predraw_string() and ignore
13128 the rest, in a first rendering pass)
13130 * app/render_eps.c: Took advantage of the above to make wholly
13131 optimised Postscript encoding page(s), even (especially) with
13132 non-latin1 code (HAVE_UNICODE must be true).
13134 (#53512 in fact is wholly resolved).
13136 2001-05-18 Cyrille Chepelov <chepelov@calixo.net>
13138 * lib/charconv.c: steps towards resolution of #53512 (inspired by
13139 Alexey Novodvorsky <aen@logic.ru>'s patch).
13141 * app/menus.c (dia_menu_signal_proxy): checked that the signal
13142 handler is not NULL before transferring control to it... (fixes #52836)
13144 * app/app_procs.c (app_init): removed non-constant initialiser
13147 * objects/custom/custom_object.c:
13148 * objects/custom/shape_info.[ch]:
13149 * objects/custom/test.xml: merged patch #53476 from Steven Hawkins
13150 <skh@mathstar.com>. This add support for a <svg:text> shape
13151 element, and some related style properties (font, font height,
13154 * doc/custom_shapes: a precision about the meaning of case in a
13155 SVG path (closes #52364)
13157 * lib/dummy_dep.h: fix for SGI IRIX 6.2 (#53053, reported and
13158 fixed by <drk@sgi.com>)
13160 2001-05-17 Cyrille Chepelov <chepelov@calixo.net>
13162 * objects/network/network.c:
13163 * shapes/network/Makefile.am:
13164 * shapes/network/hub.(shape|xpm) (NEW):
13165 * shapes/network/flash.(shape|xpm) (NEW):
13166 * shapes/network/rj45plug.(shape|xpm) (NEW):
13167 More shapes, less renderobjects.
13169 2001-05-16 Cyrille Chepelov <chepelov@calixo.net>
13171 * plug-ins/svg/render_svg.c: typo made exported ellipses
13172 corrupted (zero Y pseudo-radius).
13174 * objects/network/network.c:
13175 * objects/network/disc.c:
13176 * shapes/network/disc.(shape|xpm): Converted the first
13177 Renderobject into a shape. Normally, old diagrams should reload
13178 without problems (please check this against your diagrams). More
13179 flexibility should be gained that way. I intend to hunt and
13180 eradicate all renderobjects as I can commit cycles to that.
13182 * objects/Makefile.am:
13185 * objects/sybase/sybase.c:
13186 * shapes/sybase/Makefile.am(NEW):
13187 * shapes/sybase/client.(xpm|shape) (NEW):
13188 * shapes/sybase/dataserver.(xpm|shape) (NEW):
13189 * shapes/sybase/ltm.(xpm|shape) (NEW):
13190 * shapes/sybase/repserver.(xpm|shape) (NEW):
13191 * shapes/sybase/rsm.(xpm|shape) (NEW):
13192 * shapes/sybase/stableq.(xpm|shape) (NEW): converted Sybase
13193 renderobjects into shapes. The Sybase objects are now not compiled
13194 anymore, and ready to be nuked if nobody objects in the next few weeks.
13197 * app/diagram.[ch]:
13198 * app/disp_callbacks.c:
13199 * app/display.[ch]:
13200 * app/interface.[ch]:
13202 * app/modify_tool.c:
13203 * app/preferences.[ch]:
13204 * app/recent_files.c:
13205 * app/select.c: Added patch #52364 from Hubert Figuiere. This adds
13206 a menu bar reflecting the popup menu, to each display window. This
13207 is optional (changing the preference currently doesn't affect
13208 already opened windows; a few other rough edges to cut).
13210 * plug-ins/wpg/wpg.c:
13211 * plug-ins/xfig/xfig-import.c:
13212 * plug-ins/python/pydia-property.c:
13213 * plug-ins/python/pydia-properties.c:
13214 * plug-ins/python/pydia-geometry.c:
13215 * plug-ins/pstricks/render_pstricks.c:
13217 * objects/EML/dbox.c:
13218 * lib/ps-utf8.c: paleolithic C compilers choke on //. Should fix
13221 * lib/ps-utf8.c: improved the clustering of alphabetic character
13222 definitions in custom encodings pages.
13224 2001-05-02 Hans Breuer <hans@breuer.org>
13226 * lib/object.h : OBJECT_COMMON_PROPERTIES_OFFSETS correct type
13227 of 'obj_bb' to PROP_TYPE_RECT
13229 * objects/custom/custom_object.c : take all quarks into account,
13230 not only 4 as copy&paste suggests
13232 * objects/uml/objects.c : completed the implementation of the
13233 property api to avoid reading of totally bogus data. Removed
13234 the PROBABLY_DEAD_CODE. It actually was dead code, but not because
13235 there was too much but too less ...
13237 The above changes removed all known crashes (mentioned below)
13238 from the Property API. Property access is still incomplete though.
13240 * objects/flowchart/box.c :
13241 * objects/flowchart/diamond.c :
13242 * objects/flowchart/ellipse.c :
13243 * objects/flowchart/parallelogram.c :
13244 * objects/uml/classicon.c :
13245 * objects/uml/state.c : calculate number of quarks from quark array
13246 size instead of using hardcoded values for consistence and to avoid
13247 future bugs like the above
13249 * objects/eml/nlist.c : include <string.h> for strcmp()
13251 * lib/dia_xml.c : relax g_warning for values, which
13252 appear to be too small. There is nothing which prevents
13255 * plug-ins/python/pydia-geometry.c : changed stringifying of
13256 geometry objects accept BezPoint back to %f, which does not
13257 crash anymore, because all the data is intialized now and it
13258 simply is more readable than %e ...
13260 * plug-ins/python/python-startup.py : removed dependency
13261 to PyGtk, because it isn't required here and probably won't
13262 in i.e.: export filters.
13264 * plug-ins/python/gtkcons.py : create the gtkoutfile even
13265 if sys.stderr.fileno() isn't supported
13267 * app/makefile.msc : make version 0.88
13268 * plug-ins/makefile.msc : make version 0.88 an added new
13269 xfig files to build
13271 2001-05-11 James Henstridge <james@daa.com.au>
13273 * NEWS: remember to add news items this time.
13275 * dia.spec: update spec file for 0.88 release.
13277 * configure.in: up version number to 0.88
13279 * plug-ins/python/Makefile.am (EXTRA_DIST): fix up typo that was
13280 preventing any of the useful python scripts from being
13283 * sheets/Makefile.am (sheet-translation-report): fix bustage I
13284 introduced in my fixups for the 0.87 release :(
13286 2001-05-10 Lars Clausen <lrclause@cs.uiuc.edu>
13288 * plug-ins/xfig/xfig-import.c: Finally got groups working.
13290 2001-05-09 Lars Clausen <lrclause@cs.uiuc.edu>
13292 * plug-ins/xfig/xfig-import.c: Improvements to error handling and
13293 group manipulation.
13295 2001-05-09 Cyrille Chepelov <chepelov@calixo.net>
13297 * lib/ps-utf8.[ch]:
13298 * lib/Makefile.am: fix makefile breakage which led to not
13299 including ps-utf8.[ch] in the released tarballs.
13301 2001-05-09 James Henstridge <james@daa.com.au>
13303 * Makefile.am (core-translation-report): dist scripts needed for
13304 this target, and change to $(srcdir) before running.
13306 * sheets/Makefile.am (EXTRA_DIST): actually dist the sheets. DATA
13307 files aren't automatically included in the tarball by automake
13308 because they could be generated files.
13310 * objects/EML/Makefile.am (EXTRA_DIST): fix directory names.
13312 * doc/en/Makefile.am (install-data-hook): fix up where graphics
13315 * configure.in: up version number to 0.87
13317 * plug-ins/python/*.py: no longer necessary to explicitly set
13318 sys.argv, as python.c does it for us now (like it should).
13320 * plug-ins/python/gtkcons.py: fix up so it plays nicely as a dia
13323 * plug-ins/python/python-startup.py: startup script that imports
13324 all modules in $(datadir)/dia/python and ~/.dia/python.
13326 * plug-ins/python/python.c (dia_plugin_init): change so that it
13327 only runs the $(datadir)/dia/python-startup.py script. Make sure
13328 that sys.argv and __main__.__file__ are set when calling the
13331 * plug-ins/python/Makefile.am: update makefile. Make it install
13332 gtkcons.py plugin. I haven't set any other plugins to install, as
13333 they look like they are mainly for debugging purposes.
13335 * configure.in: add tests to detect if python is available, so we
13336 can build the python plugin. Only run if --with-python passed to
13339 2001-05-08 James Henstridge <james@daa.com.au>
13341 * acinclude.m4: add macros for detecting python.
13343 * app/menus.c (dia_gnome_menu_get_widget): handle paths that point
13344 at GNOME_APP_UI_SUBTREE entries.
13345 (menus_add_path): function to add a menu item to the menubars.
13346 Uses a hash table to keep track of extra menu items it adds. Also
13347 notifies the item factory about the entries so that accels can be
13349 (menus_add_path): implement gtk only version.
13350 (menus_init): use menus_add_path() to add the menu.
13351 (plugin_callback): simplify.
13353 2001-05-08 Steffen Macke <sdteffen@yahoo.com>
13355 * app/menu.c: removed #ifndef GNOME; GNOME build was broken
13357 2001-05-08 Lars Clausen <lrclause@cs.uiuc.edu>
13359 * plug-ins/xfig/xfig-export.c:
13360 * plug-ins/xfig/xfig-common.c:
13361 * plug-ins/xfig/xfig-import.c:
13362 * plug-ins/xfig/xfig.c:
13363 * plug-ins/xfig/xfig.h:
13364 * app/Makefile.am: Added support for exporting to Fig format
13365 (except splits, which are less powerful in Fig). Some refactoring
13368 2001-05-02 Hans Breuer <hans@breuer.org>
13370 * plug-ins/python/debug_objects.py : added another
13371 test to get massive crashes from the Property API due
13372 to unintialized data.
13374 * app/menu.c : the callback_action wasn't incremented
13375 (should have checked my last optimization). Now more
13376 than one plug-in callback is supported again.
13378 * plug-ins/python/pydia-geometry.c : avoid crashes from
13379 glib, when trying to g_strdup_printf unintialized floats.
13381 * plug-ins/python/pydia-property.c : avoid crashes from
13382 because of string_data == NULL (PROP_TYPE_FILE, PROP_TYPE_STRING)
13384 2001-05-01 Hans Breuer <hans@breuer.org>
13386 * objects/makefile.msc : added eml
13387 * objects/eml/instantiation.c : initialize 'inst' pointer
13388 before using, zero initialization for objects
13389 * objects/eml/interaction-ortho.c :
13390 * objects/eml/interaction.c : zero initialization for objects
13392 * app/menus.c : removed Gimp mru stuff which slipped in at
13393 2000-08-15, was never activated and will never be needed,
13394 because of Steffens recent file list patch added at 2001-01-05.
13396 * objects/eml/*.c : some more zero initialization of objects
13397 to avoid infinite (uninitialized) bounding boxes
13399 Implemented a callback api which allows plug-ins to register
13400 menu call backs. Dia for Gnome should compile, but will need
13401 some extra tweaking to make it work because I can't test it.
13403 * plug-ins/python/pydia-error.h :
13404 * plug-ins/python/pydia-render.c : moved Pxthon function return
13405 value handling from pydia-render.c to pydia-error.h, to make it
13407 * plug-ins/python/diamodule.c : implement callback function
13408 registration from and relaying to Python code
13410 * app/menus.c : register and use plug-in menu callbacks
13412 * lib/filter.[hc] : implement filter_register_callback() and
13413 filter_get_callbacks() for the above
13414 * lib/libdia.def : export them
13416 * plug-ins/python/debug_objects.py (new file):
13417 sample using the above
13419 2001-04-27 Lars Clausen <lrclause@cs.uiuc.edu>
13421 * plug-ins/shape/shape-export.c (new_shape_renderer):
13422 The name of a shape is now taken from the dir, to conform with
13425 2001-04-25 Lars Clausen <lrclause@cs.uiuc.edu>
13427 * app/properties.c (properties_show): Added title containing
13428 object type, plus (hopefully) fix of the ghost properties dialog.
13430 2001-04-16 Cyrille Chepelov <chepelov@calixo.net>
13432 * app/display.c: remove the display idle handler in case we
13433 destroy the ddisplay (caused crashes in ddd, probably random
13434 crashes elsewhere).
13438 * Makefile.am: hack around gettext-0.10.36's new "features".
13440 * lib/properties.[ch]: added new function object_copy_props().
13441 Added new property type PROP_TYPE_ENDPOINTS
13443 * lib/connection.h: added support for load/saving through the
13444 properties interface.
13446 * lib/object.[ch]: object_load/save/copy_using_properties()
13447 support functions (code factorisations).
13449 * objects/GRAFCET/boolequation.c: check against null values in
13450 boolequation_set_value() and boolequation_destroy().
13452 * objects/GRAFCET/transition.c: Converted from lazyprops to
13453 standard properties. 31% less (x86) code !
13455 * objects/GRAFCET/condition.c: also converted from lazyprops to
13456 standard properties. Also killed lots of code.
13458 2001-04-13 Hans Breuer <hans@breuer.org>
13460 * plug-ins/wmf/wmf.cpp : changed text conversion from
13461 g_utf8_utf16 to g_convert usage. The latter function is already
13462 available in tml's last "official" Gtk+ version (2000-12-26).
13463 This change allows to use recent Dia with either the official
13464 version or the latest cvs "gtk-1-3-win32-production"-branch.
13466 2001-04-14 Lars Clausen <lrclause@cs.uiuc.edu>
13468 * Patch from David S. Thompson <dcthomp@mail.utexas.edu>:
13469 * app/disp_callbacks.c:
13470 - Allow submenus in DiaMenus.
13471 - Don't require DiaMenu.title to be non-null (so that
13472 submenus aren't required to have titles)
13474 * objects/FS/function.c:
13475 - object menu now has submenus, an almost complete list of
13476 standard-basis verbs, and a start on nouns.
13477 - box padding, dash length, and other visual attributes are
13478 scaled by the font size... eventually font height will be
13479 a function property.
13480 - draw functions with smaller font to make initial view hold
13481 a reasonable number of functions.
13483 2001-04-13 Cyrille Chepelov <chepelov@calixo.net>
13486 * sheets/chronogram.sheet:
13487 * sheets/jigsaw.sheet:
13488 * sheets/sybase.sheet: Updated Dutch sheet translations from Dag
13489 Wieers <dag@wieers.com>
13491 2001-04-13 Hans Breuer <hans@breuer.org>
13493 * app/app_procs.c (app_exit) : added g_return_if_fail (!app_exit_once)
13494 to ensure that all the deinitialization is only done once. Fixes
13495 recent app exit crash on win32
13497 * lib/dia_xml.c : provide isinf() replacement for msc which does only
13500 * lib/libdia.def : updated
13502 * objects/makefile.msc : added wanlink.c
13504 * objects/network/wanlink.c : added M_PI_2 definition for poor
13505 platforms which don't have one
13507 * objects/standard/arc.c :
13508 * objects/standard/zigzagline. c: part of ConectionBBExtras wasn't
13509 initialized which led to rather huge bounding boxes (try Ctrl^A on
13510 diagrams with Arcs or ZigZagLines).
13511 * objects/*/*.c : to avoid further bugs like the above changed all
13512 object initializations to g_malloc0 or g_new0
13515 2001-04-09 Cyrille Chepelov <chepelov@calixo.net>
13517 * lib/paper.[ch]: get rid of "no previous prototype fo `foo'" by
13518 doing a s/T foo()/T foo(void)/ for all possible values of T and foo.
13520 * objects/UML/class.c:
13521 * objects/UML/usecase.c:
13522 * objects/UML/large_package.c:
13523 * objects/UML/message.c:
13524 * objects/UML/object.c:
13525 * objects/UML/lifeline.c:
13526 * objects/FS/flow.c:
13527 * objects/FS/flow-ortho.c:
13528 * objects/FS/function.c:
13529 * objects/custom/custom_object.c:
13530 * objects/GRAFCET/vergent.c:
13531 * objects/chronogram/chronoref.c:
13532 * objects/SADT/box.c:
13533 * objects/SADT/annotation.c:
13534 * plug-ins/dxf/dxf-import.c:
13535 * plug-ins/xfig/xfig-import.c:
13536 * plug-ins/wpg/wpg.c:
13539 * app/display.c: /* certainly more WIP than dead code there */
13540 Unused variables, unused static function definitions, forgotten or
13541 incomplete prototypes added or fixed, lack of const or unwanted const,
13542 etc. (mostly clean-ups of leftovers of the pre-properties era).
13543 Non-obvious cases bracketed by #define THIS_IS_PROBABLY_DEAD_CODE,
13544 please check these.
13546 * app/lineprops_area.c: More of the same. Missing prototypes
13547 added, and functions unused outside made static.
13549 * app/recent_files.c:
13550 * app/properties.c:
13551 * app/defaults.c: some variables are used only when doing a GNOME
13554 * app/magnify.c: missing #include <stdlib.h>.
13556 * app/paginate_gnomeprint.c: Unused variable; missing "message.h".
13558 These are a lot of clean-ups (by the way, this compiles and runs
13559 cleanly with "gcc-3.0 -O2 -Wall --std=gnu99" too !); please grep
13560 for DEAD_CODE, and if it's yours, judge it.
13562 2001-04-07 Cyrille Chepelov <chepelov@calixo.net>
13564 * plug-ins/dxf-import.c: some progress with the arcs; still some
13565 clean-ups to do and line width scaling issues to figure out.
13567 * objects/standard/arc.c: start_point and end_point properties
13568 (duplicated from standard/line.c)
13570 * plug-ins/xfig/xfig-import.c: zip ! zap ! no more dead DXF import
13573 2001-04-06 Cyrille Chepelov <chepelov@calixo.net>
13575 * plug-ins/dxf-import.c: setlocale-related clean-ups and fixes ;
13576 preliminary support for arcs (doesn't work). Circles and ellipses are
13577 now transparent. Coordinate and width scaling are now a common
13578 static constant (probably before morphing into a preference).
13580 * sheet/checktrans.py: improved error reporting. Made checktrans
13581 count lack of <name xml:lang="code"> as a lack of translation for
13582 language "code" (no, it's not a plot to bring down other
13583 language's scores !)
13585 * sheet/*.sheet: Ensured all sheets have an encoding="iso-8859-1"
13586 in the header, and have <name xml:lang="fr"> components.
13588 2001-04-05 Cyrille Chepelov <chepelov@calixo.net>
13590 * objects/custom/custom_object.c: temporary hack to fix the shape
13591 bounding box reported by Ben A. Hetland. Proper fix isn't .87
13592 material, see bugzilla #52912.
13594 2001-04-05 Lars Clausen <lrclause@cs.uiuc.edu>
13596 * objects/standard/image.c (get_directory): Now uses
13597 G_SEPARATOR_CHAR_S instead of "/"
13599 * sheets/network.sheet:
13600 * sheets/Logic.sheet:
13601 * sheets/Flowchart.sheet:
13602 * sheets/Electric.sheet:
13603 * sheets/Circuit.sheet:
13605 * sheets/Pneumatic.sheet:
13606 * sheets/SDL.sheet:
13607 * sheets/UML.sheet:
13608 * sheets/GRAFCET.sheet:
13609 * sheets/MSE.sheet:
13610 * sheets/chronogram.sheet:
13611 * sheets/civil.sheet:
13612 * sheets/network.sheet:
13613 Danish translations.
13615 * objects/standard/image.c (get_directory): Changed get_directory
13616 to use g_dirname to find the directory part.
13618 2001-04-05 Cyrille Chepelov <chepelov@calixo.net>
13621 * sheets/Electric.sheet:
13622 * sheets/Flowchart.sheet:
13623 * sheets/Logic.sheet:
13624 * sheets/network.sheet: More Dutch translations from Dag Wieers.
13626 2001-04-04 Cyrille Chepelov <chepelov@calixo.net>
13628 * sheets/checktrans.py: now emits a warning when two descriptions
13629 for a single language code are found.
13632 * sheets/Makefile.am: -translation-reports now also depend on their
13635 2001-04-04 Cyrille Chepelov <chepelov@calixo.net>
13637 * sheets/Circuit.sheet:
13638 * sheets/Contact.sheet:
13639 * sheets/Logic.sheet:
13640 * sheets/chronogram.sheet:
13641 * sheets/sybase.sheet:
13642 Dutch translations from Dag Wieers <dag@wieers.com>
13644 2001-04-04 Cyrille Chepelov <chepelov@calixo.net>
13646 * po-checktrans.py: Now shows the detailed counts alongside the
13647 percentage of translations.
13649 2001-04-03 Cyrille Chepelov <chepelov@calixo.net>
13652 * po-checktrans (NEW):
13653 * po-checktrans.py (NEW): builds core-translation-report:
13654 percentages of core (gettext) translations done [Not placed into
13655 po/ where that should belong, because of integration fear^Wissues
13658 TO THE KIND ATTENTION OF PACKAGERS: core-translation-report and
13659 sheets/sheet-translation-report probably ought to be copied on the
13660 user's /usr/share/doc/dia (or equivalent) directory.
13662 * sheets/Makefile.am: sheet-translation-report now a simple
13663 EXTRA_DIST; make install won't install it by default.
13665 2001-04-03 Cyrille Chepelov <chepelov@calixo.net>
13667 * app/preferences.c: changed the default grid colour to something
13670 * shapes/SDL/*.shape:
13671 * sheets/SDL.sheet: renamed all SDL shapes to conform to the
13672 "$LIBRARY - $NAME" convention. THIS REQUIRES FIXING THE EXISTING
13673 DIA FILES (well, for files using SDL), see the mailing list
13674 archive "SDL (ab)using the global shape namespace" for a script to
13675 do this conversion.
13677 * sheets/SDL.sheet: translated into French
13678 * sheets/network.sheet: fixed XML typos. Yay ! 100% :-)
13680 2001-04-02 Cyrille Chepelov <chepelov@calixo.net>
13682 * lib/dia_xml.c: made data_point() more paranoid
13684 * sheets/Makefile.am:
13685 * sheets/checktrans (NEW):
13686 * sheets/checktrans.py: Made checktrans handle more gracefully the
13687 absence of python and python-xml packages, and made the error
13688 message more helpful.
13690 2001-04-01 Lars Clausen <lrclause@cs.uiuc.edu>
13692 * lib/render_object.c (new_render_object): Made initial handles
13693 behave like on most other objects.
13695 * app/load_save.c (read_objects): Fixed premature free'ing ofr
13696 typestr causing garbage.
13698 2001-04-01 Lars Clausen <lrclause@C194282.chmpgn1.il.home.com>
13700 * objects/FS/flow-ortho.c: Fixed a crashbug causes by not
13701 accouting for handle ordering through copy and save. (#51479)
13703 2001-03-31 Cyrille Chepelov <chepelov@calixo.net>
13705 * sheets/Circuit.sheet: Norwegian translation mistagged to German.
13707 2001-03-31 Steffen Macke <sdteffen@yahoo.com>
13709 * sheets/Circuit.sheet
13711 * sheets/network.sheet: Updated German translations
13713 2001-03-30 Cyrille Chepelov <chepelov@calixo.net>
13716 * app/lineprops_area.c: The return of the revenge of the arrow
13717 heads. Now all types covered by ISO 10303-201 should be covered.
13719 2001-03-30 Cyrille Chepelov <chepelov@calixo.net>
13721 * sheets/Flowchart.sheet: translations in probably Hungarian were
13722 a victim of cut-n-paste from the German one. Fixed (hopefully).
13723 * sheet/UML.sheet: translation in probably Norwegian was a victim
13724 of cut-n-paste from the French one. Fixed (hopefully).
13725 * sheets/Logic.sheet: French translation not tagged with
13728 * sheets/checktrans.py:
13729 * sheets/Makefile.am: new file, sheet-translation-report, to be
13730 installed along the sheets, show how much of them has been
13731 translated into which language (I wish the result was prettier...)
13733 * po/README: most translators don't read this file, but anyway...
13735 * sheets/.cvsignore:
13736 * objects/network/.cvsignore: the usual negotiation with CVS.
13738 2001-03-30 Cyrille Chepelov <chepelov@calixo.net>
13740 * sheets/*.sheet: French translations
13742 2001-03-28 Cyrille Chepelov <chepelov@calixo.net>
13744 Added patch #52363 from Hubert Figuiere <hfiguiere@teaser.fr>:
13746 ** objects/network/network.c:
13747 ** objects/network/wanlink.c:
13748 ** objects/network/pixmaps/wanlink.c:
13749 ** sheets/network.sheet:
13750 ** objects/network/Makefile.am: a better object to use instead of
13751 the older WAN Connection.
13753 ** lib/geometry.[ch]: rotation matrix functions in geometry.c (derived from gimp)
13755 ** objects/GRAFCET/vector.c: renamed Vector to GRAFCETVector to avoid a
13758 * objects/GRAFCET/vector.c: Re-renamed GRAFCETVector into
13759 Arc; kept the C file name (because CVS wouldn't like it), and
13760 still registering the older object name (but advertising the newer
13761 one in sheets/GRAFCET.sheet).
13763 2001-03-24 Hans Breuer <hans@breuer.org>
13765 * app/dia.def : some plug-ins (currently only python, xfig) are using
13766 functions from the dia executable. To get them working these functions
13767 need to be explicit exported on win32. IMO the much cleaner way would
13768 be to move these functions to libdia, but that would require some
13769 long term restructuring ...
13771 * lib/libdia.def : updated
13773 * plug-ins/makefile.msc : build xfig plug-in
13775 2001-03-24 Hans Breuer <hans@breuer.org>
13777 * app/diagram.c : g_strdup (dia->filename) because it will be
13780 * app/display.c : set ddisp->renderer to NULL after destruction.
13781 This may solve or help to identify erroneous access to it after
13784 * plug-ins/wmf/wmf.cpp : convert string from utf8 to wchar to
13785 get 'umlauts' working
13787 2001-03-22 Cyrille Chepelov <chepelov@calixo.net>
13789 * object/chronogram/chronoline_event.c: stupid bug ; rises and falls
13790 were reversed... (look for the patch, and drink a beer to my
13793 2001-03-23 Hans Breuer <hans@breuer.org>
13795 * app/app_procs.c : don't g_error () if the config directory
13796 can't be created (at least not on windoze) because it's quite
13797 common that the user don't read or understand the FAQ ...
13799 * app/cursor.c : use ddisplay_active () instead of active_display
13802 * app/display.[hc] : made active_display var static and provide
13803 an accessor funtion ddisplay_active_diagram ()
13805 * app/dia-props.c : don't store the active_diagram, but ask
13806 for it everytime it needed.
13808 * lib/properties.h : #include "intl.h"
13810 * lib/makefile.msc : need to take care of inclusion order to
13811 avoid clashes with gtk+2.0's gdk-pixbuf
13813 * objects/makefile.msc : added uml/stereotype.c to build
13815 2001-03-23 Lars Clausen <lrclause@cs.uiuc.edu>
13817 * **/*.c: Added config.h to the remaining .c files, and changed
13818 all to be <config.h>.
13820 2001-03-22 Steffen Macke <sdteffen@yahoo.com>
13825 * app/lineprops_area.c: added new arrow types with double
13828 2001-03-20 Steffen Macke <sdteffen@yahoo.com>
13830 * shapes/Civil/civil_gas_bottle.xpm
13831 * shapes/Civil/civil_gas_bottle.shape
13832 * sheets/civil.sheet
13833 * shapes/Civil/Makefile.am: Added gas bottle shape by Arne
13836 2001-03-20 Lars Clausen <lrclause@cs.uiuc.edu>
13838 * objects/custom/shape_info.c (load_shape_info):
13839 * objects/custom/shape_info.h:
13840 * objects/custom/custom_object.c (custom_update_data):
13841 Better support for text outside the box -- new attributes 'resize'
13842 and 'align' for text entity. Align not fully supported yet.
13844 * lib/text.c (text_calc_boundingbox): Adding BB for cursor width.
13846 2001-03-20 James Henstridge <james@daa.com.au>
13848 * app/interface.c (display_data_received_callback): comment out
13851 2001-03-19 James Henstridge <james@daa.com.au>
13853 * app/GNOME_Dia.oaf: rename from GNOME_Dia.oafinfo.
13855 * objects/UML/realizes.c: similar here.
13857 * objects/UML/implements.c: similar here.
13859 * objects/UML/component.c: similar here.
13861 * objects/UML/generalization.c: same here.
13863 * objects/UML/dependency.c: allow NULL for ->name and
13864 ->stereotype. This fixes a number of problems in loading saved
13867 * lib/properties.c: various changes so that NULL string properties
13870 * objects/standard/line.c (line_update_data):
13871 line->extra.start_long and line->extra.end_long were not being
13872 initialised. This fixes potential problems with the bounding box
13873 of "Standard - Line" objects.
13875 2001-03-19 Hans Breuer <hans@breuer.org>
13877 * app/commands.c : added win32 specific code to display a html
13878 file. #include "text.h" for text_delete_all prototype.
13881 * app/dia.rc : (new) to give Dia win32 an icon
13883 * app/win32print.[ch] : new files to support direct postscript
13884 file printing on win32. Beware: it *requires* a ps-printer!
13886 * app/paginate_psprint.c : disable the signal code for win32 build
13887 and added small specific changes to support win32print.
13889 * app/makefile.msc : added win32print and linking shell32.lib
13891 * lib/libdia.def : updated
13893 2001-03-18 Kevin Breit <battery841@mediaone.net>
13895 * doc/en/dia-C.omf: Added file. Dia should now list in the Nautilus
13898 2001-03-17 James Henstridge <james@daa.com.au>
13900 * app/paginate_psprint.c (diagram_print_ps): add code that traps
13901 SIGPIPEs during printing. This gets rid of a number of crashes
13902 caused by printing (eg. typing an incorrect print command).
13904 * dia.spec (%install): gzip the manpage.
13906 * lib/beziershape.c (beziershape_save): fix off by one error in
13907 beziershape save code, which was adding an extra segment to the
13910 * app/menus.c: add a separator in the gnome version of the help
13913 * app/app_procs.c (app_init): add a --nosplash argument which
13914 disables the splash screen.
13916 * app/dia_embedd.c (main): don't leave the splash screen open for
13917 embeddable component.
13919 * app/splash.c (app_splash_init): the gtk_widget_show_now() call
13920 didn't seem to be showing the splash screen like expected, so I
13921 have replaced it with some code that calls gtk_main() until the
13922 first exposure of the window.
13924 2001-03-16 James Henstridge <james@daa.com.au>
13926 * app/Makefile.am (EXTRA_DIST): add extra pixmaps.
13928 * objects/UML/Makefile.am (libuml_objects_la_SOURCES): add
13931 * lib/Makefile.am (libdia_a_SOURCES): add diavar.h here.
13933 * app/Makefile.am (dia_core_files): remove splash.h from file
13934 list, as it doesn't exist.
13936 * doc/en/Makefile.am (uninstall-local): remove the docdir on
13939 * doc/Makefile.am (uninstall-local): target to remove the C
13942 * dia.spec (%files): include the documentation in the package.
13944 * app/menus.c (toolbox_menu_items): add menu item for manual,
13945 which calls help_manual_callback.
13947 * app/commands.c (help_manual_callback): find help file and load
13948 netscape to view it.
13950 * app/commands.h: add prototype for help_manual_callback()
13952 * doc/Makefile.am (helpdir): similar here.
13954 * doc/en/Makefile.am (helpdir): make the helpdir
13955 $(pkgdatadir)/help/en in the non gnome case.
13957 * configure.in (HAVE_GNOME): add conditional.
13959 * doc/en/Makefile.am: handle the graphics in a more general way,
13960 so it is easier for Kevin to add them to the build (just add them
13961 to the GRAPHICS var).
13963 * app/Makefile.am (embed_extra_print_files): make the case of
13964 building without gnome-print support but with bonobo support work.
13965 dia-embedd needs to be include the gnome-print
13967 2001-03-09 Cyrille Chepelov <chepelov@calixo.net>
13969 * samples/Makefile.am: included all samples in the distribution....
13971 2001-03-09 Cyrille Chepelov <chepelov@calixo.net>
13973 * configure.in: removed premature test for DPS. Added -*- m4 -*-
13974 at the beginning. Made HAVE_UNICODE non-default. po/es_ES.po has
13975 vanished, removed it from ALL_LINGUAS.
13977 * lib/charconv.[ch] (NEW): a very small wrapper around
13978 unicode_iconv to convert strings between utf8 and local charset
13979 (actually, ISO-8859-1, though one can do
13980 CFLAGS="-DEFAULT_8BIT_CHARSET=\"ISO-8859-2\"" and the like).
13982 * lib/ps-utf8.[ch] (NEW): A PostScript Unicoder ; a smallish
13983 library to help build Postscript streams which use as many custom
13984 font encodings as necessary to correctly represent all characters
13985 used (testing from users with non-latin1 and/or more than 256
13986 characters in routine use *very* welcome).
13988 * app/Makefile.am, lib/Makefile.am: integrated these into the
13991 * shapes/Logic/.cvsignore (NEW): .cvsignore
13993 * app/render_eps.h: forwarded some changes Lars forgot to include.
13994 * app/render_eps.c: turned off ASCII85 and FILTERS, as this
13997 2001-03-08 Kevin Breit <battery841@mediaone.net>
13999 * doc/en/home_network.png: Added file.
14000 * doc/en/line_props.png: Added file.
14001 * doc/en/usage-objects.sgml: Added two graphics to file.
14002 * doc/en/usage-quickstart.sgml: Added one graphic to file.
14004 2001-03-06 Kjartan Maraas <kmaraas@gnome.org>
14006 * app/grid.h: Place comment around text after #endif.
14007 * lib/bezier_conn.c: #include <string.h>.
14008 * lib/beziershape.c: #include <string.h>.
14009 * lib/connpoint_line.h: Comment after #endif.
14010 * lib/dia_dirs.c: #include <string.h>.
14011 * lib/element.c: Same.
14012 * lib/lazyprops.c: #include <config.h> and "intl.h".
14013 * lib/lazyprops.h: Comment out text after #endif.
14014 * lib/neworth_conn.c: #include <string.h>
14015 * lib/orth_conn.c: Same here.
14016 * lib/poly_conn.c: Here too.
14017 * lib/polyshape.c: And here.
14018 * lib/properties.c: Remove #include "intl.h" from here and add
14019 an array of static strings to work around bug in gettext that
14020 makes it miss strings in a #define body.
14021 * objects/GRAFCET/action_text_draw.h: Comment out text after #endif.
14022 * objects/GRAFCET/boolequation.h: Same here.
14023 * objects/chronogram/chronoline_event.h: Add prototype for
14026 2001-03-05 Lars Clausen <Lars R. Clausen <lrclause@cs.uiuc.edu>
14028 * objects/FS/function.c:
14029 * objects/FS/flow.c:
14030 * objects/FS/flow-ortho.c:
14031 Updated to use properties.
14033 2001-03-03 James Henstridge <james@daa.com.au>
14035 * lib/lazyprops.c (__propdlg_build_enum): translate the radio
14036 button labels when creating them.
14038 2001-02-28 Lars Clausen <Lars R. Clausen <lrclause@cs.uiuc.edu>
14040 * objects/UML/actor.c
14041 * objects/UML/realizes.c
14042 * objects/UML/implements.c
14043 * objects/UML/generalization.c
14044 * objects/UML/dependency.c
14045 * objects/UML/constraint.c
14046 Updated to use properties.
14048 * objects/UML/stereotype.c
14049 * objects/UML/stereotype.h
14050 Generalized to any kind of bracketting.
14052 2001-02-28 James Henstridge <james@daa.com.au>
14054 * app/menus.c: add help entry to the help menu. Need to get this
14055 working for the non GNOME case as well (maybe put help under
14056 $(datadir)/dia/help for non GNOME?)
14058 * doc/en/topic.dat: add a topic.dat file for GNOME menus.
14060 * doc/en/dia-manual.sgml (legalnotice): add an id attribute to
14061 this element so that we get a meaningful filename in the html
14064 * doc/Makefile.am, doc/en/Makefile.am: new makefiles to handle the
14067 * configure.in (DB2HTML): add a check for the db2html program, and
14068 set an automake conditional if it is found.
14070 * Makefile.am: remove EXTRA_DIST rules that cover doc/ directory,
14071 and descend into doc/ directory while building.
14073 * configure.in (AC_OUTPUT): add doc/ makefiles to output list, now
14074 we need more complex rules for building the docs.
14076 2001-02-25 Hans Breuer <hans@breuer.org>
14078 * config.h.win32 : some cleanup
14080 * app/prefererences.c : g_scanner_(freeze|thaw)_symbol_table
14081 are deprecated since glib-1.3.2. Sorry needing to use them
14082 contionally, but there is no glib-1.2 for win32
14084 * app/recent_files.c : use g_strescape (params) conditionally
14086 * lib/connection.c : include string.h for memcpy
14088 * lib/geometry.h : added some stuff for compatibility with
14089 msvc, which previously came from included config.h
14091 * lib/libdia.def : updated
14093 * objects/makefile.msc : updated
14095 * objects/GRAFCET/action.c(490) : fixed warning C4700: local variable
14096 'extra' used without having been initialized
14098 * objects/network/bus.c(658) : initialize 'extra'
14100 * plug-ins/makefile.msc : updated
14102 * plug-ins/cgm/cgm.c :
14103 * plug-ins/pstricks/render_pstricks.c :
14104 g_free() memory allocated by dia_image_rgb_data(). Plugs possibly
14107 * plug-ins/python/python.c : use HAVE_DIRENT_H
14109 2001-02-23 Lars Clausen <Lars R. Clausen <lrclause@cs.uiuc.edu>
14111 * lib/connection.c (connection_update_boundingbox):
14112 Made the BB shrink on right and lower sides, too.
14114 2001-02-23 Kjartan Maraas <kmaraas@gnome.org>
14116 * */*.c: #incude <config.h> at the top.
14117 * */*.h: Remove include of "config.h" since it should only
14118 be included in .c files and at the very top for things to
14120 * sheets/*.sheet: Updated Norwegian translations.
14122 2001-02-22 Lars Clausen <Lars R. Clausen <lrclause@cs.uiuc.edu>
14124 * objects/UML/small_package.c:
14125 * objects/UML/class.c:
14126 * objects/UML/node.c:
14127 * objects/UML/usecase.c:
14128 * objects/UML/lifeline.c:
14129 * objects/UML/message.c:
14130 Various cleanup of properties in particular. Now much more use of
14131 standard properties.
14133 * lib/diagramdata.c (layer_render): Visualization of bounding
14134 boxes, for debugging purpoises.
14136 2001-02-22 Cyrille Chepelov <chepelov@calixo.net>
14139 * lib/connection.[ch]:
14140 * lib/poly_conn.[ch]:
14141 * lib/polyshape.[ch]:
14142 * lib/bezier_conn.[ch]:
14143 * lib/beziershape.[ch]:
14144 * lib/orth_conn.[ch]:
14145 * lib/neworth_conn.[ch]:
14146 * lib/element.[ch]: Changed a bit the _update_boundingbox()
14147 interface. Now the parent elements have an extra_spacing
14148 structure, which child objects just need to fill, to take care of
14149 most arrow & line width extra space needs.
14151 * objects/**/*.c: updated all objects to the new interface.
14152 While at it, killed all instances of (Object *) downcasts (phew !)
14154 * objects/GRAFCET/condition.c: removed the arrowhead, which IEC848
14155 doesn't speak about.
14157 2001-02-21 Lars Clausen <Lars R. Clausen <lrclause@cs.uiuc.edu>
14159 * sheets/Logic.sheet: New sheet for Logic symbols.
14161 2001-02-21 James Henstridge <james@daa.com.au>
14163 * app/menus.c (dia_gnome_menu_get_widget): new function to find a
14164 widget by its path name. Walks the GnomeUIInfo heirachy rather
14165 than widget tree, compares untranslated label names and ignores
14166 underscores in the labels.
14167 (menus_get_item_from_path): use dia_gnome_menu_get_widget so that
14168 lookups are not dependent on the current locale, as with
14169 gnome_app_find_menu_pos.
14171 * acconfig.h: guard against multiple inclusion of config.h.
14173 * app/select.c (select_style_callback): simply set the selection
14174 style to the value of action.
14176 * app/menus.c (menus_init): simplify the item factory based menu
14177 code a bit. It looks like it was using some code cut and pasted
14178 from the gimp, which looked a bit unnecessary. Things work fine
14180 (selectmenu): set the action to the type of selection mode
14182 (display_menu_items): use the symbolic enumeration values for the
14185 * app/plugin-manager.c:
14186 * app/plugin-manager.h:
14190 * app/select.h: change prototypes.
14192 * app/commands.c: update all callback prototypes, and get rid of
14193 some #ifdef GNOME's.
14195 * app/commands.h: change function prototypes.
14197 * app/dia_embedd.c (save_fn):
14198 s/ex_Bonobo_IOError/ex_BonoboStorage_IOError/
14200 * app/menus.c (menus_init): for gnome menus, use
14201 gnome_app_fill_menu_custom and pass in a GnomeUIBuilderData
14202 structure that proxies the callbacks to have the same signature as
14203 GtkItemFactory type 1 callbacks.
14204 (menus_init): for GTK menus, change from callback type 2 to type
14206 (display_menu_items): add back tearoffs. I don't know who removed
14207 these for the gtk menu case.
14209 2001-02-20 Kevin Breit <battery841@mediaone.net>
14211 * doc/en/usage-objects-special.sgml: Fixed a few of the special
14212 object descriptions. More to come in the next few days.
14214 2001-02-20 Lars Clausen <lrclause@cs.uiuc.edu>
14216 * app/render_eps.c: Fixed for internationalized floating point
14219 * objects/UML/note.c: Fixed properties -- was missing
14220 Get/ApplyPropertiesFunc. Also improved update to recalculate text
14223 2001-02-19 Lars Clausen <lrclause@cs.uiuc.edu>
14225 * plug-ins/xfig/xfig-import.c:
14226 File added importing xfig files. Still very rough, but good
14227 enough to let others hack on it.
14229 2001-02-07 Cyrille Chepelov <chepelov@calixo.net>
14232 * app/linewidth_area.c:
14234 * lib/properties.c:
14236 * objects/ER/attribute.c:
14237 * objects/ER/entity.c:
14238 * objects/ER/relationship.c:
14239 * objects/custom/custom_object.c:
14240 * objects/flowchart/box.c:
14241 * objects/flowchart/diamond.c:
14242 * objects/flowchart/ellipse.c:
14243 * objects/flowchart/parallelogram.c:
14244 * objects/standard/box.c:
14245 * objects/standard/textobj.c: per Vlad Harchev's request, made
14246 page sizes of gtk_adjustments different than their step sizes.
14247 When sensible values of page size weren't found (overwhelming
14248 majority of cases), page sizes were set to 10.0 * respective step
14251 2001-02-07 Lars Clausen <lrclause@cs.uiuc.edu>
14253 * objects/network/hub.c:
14254 Patch from Hubert Figuiere applied, adding connection points.
14256 2001-02-02 James Henstridge <james@daa.com.au>
14258 * app/display.c (new_display): set update id to 0 here.
14259 (ddisplay_update_handler): rename from ddisplay_flush, and set
14260 update_id to 0 at end of processing.
14261 (ddisplay_flush): new implementation that simply sets an idle
14262 handler to perform the actual drawing.
14264 * app/display.h: add structure member to hold the redraw idle
14267 2001-01-31 Lars Clausen <lrclause@cs.uiuc.edu>
14269 * objects/standard/ellipse.c (ellipse_copy):
14270 * objects/standard/zigzagline.c (zigzagline_copy):
14271 Fix of copying provided by Martin Hawlisch.
14273 2001-01-23 Kevin Breit <battery841@mediaone.net>
14275 * doc/en/graphics/: added directory
14277 * doc/en/graphics/greendots.png: added file
14279 * doc/en/*sgml: made minor and some major changes to prepare for 1.4
14282 2001-01-23 Kevin Breit <battery841@mediaone.net>
14284 * doc/en/*sgml: made some grammar changes and fixed a few markup bugs.
14285 thanks to John Fleck!
14287 2001-01-21 Kevin Breit <battery841@mediaone.net>
14289 * doc/en/*sgml: made just minor changes to a few lines; nothing major.
14291 2001-01-12 Michael Meeks <michael@helixcode.com>
14293 * app/dia_embedd.c (init_server_factory): do a bonobo_activate
14294 so our POA gets setup properly.
14296 * app/paginate_gnomeprint.c (paginate_gnomeprint): g_free
14297 things we g_malloc.
14299 * configure.in: Use bonobox_print.
14301 * app/dia_embedd.c (embeddable_factory): add print interface.
14302 (object_print): impl.
14304 2001-01-11 Michael Meeks <michael@helixcode.com>
14306 * app/dia_embedd.c (embeddable_factory): aggregate PersistFile.
14307 (load_fn, save_fn): impl.
14308 (view_factory): hide modified status bar, & use activate fn.
14309 (refresh_view): force redraws of the views.
14310 (view_show_hide): split from
14311 (dia_view_activate): here.
14313 * app/diagram.c (diagram_load_into): split from diagram_load.
14314 (new_diagram): simplify bu splittin stuff into
14315 (diagram_init): here.
14317 2001-01-10 Steffen Macke <sdteffen@yahoo.com>
14319 * shapes/jigsaw/*.shape: replaced #000000 with foreground
14320 and #ffffff with background
14322 2001-01-08 Steffen Macke <sdteffen@yahoo.com>
14324 *configure.in: GTK+-build was broken due to missing
14327 2001-01-06 Michael Meeks <michael@helixcode.com>
14329 * app/dia_embedd.c (main): add running context support.
14330 (dia_embeddable_destroy): remove old running object counting.
14331 (embeddable_factory): ditto.
14332 (view_factory): comment out menu path hiding.
14334 * lib/sheet.c (load_register_sheet): use free to free
14335 stuff from libxml not g_free.
14337 * acconfig.h: kill cover for USE_BONOBOX and USE_OAF
14339 * configure.in: remove USE_OAF checks, check for a precice
14340 Bonobo version >= 0.31, revamp bits.
14342 * app/dia_embedd.c (init_server_factory): upd.
14343 (init_dia_factory): remove OAF conditionals, everything uses
14346 * app/GNOME_Dia.oafinfo: rename OAFIIDs
14348 * app/Makefile.am: remove ancient gnorba code.
14349 rename dia.oafinfo to GNOME_Dia.oafinfo
14351 2001-01-07 Hans Breuer <Hans@Breuer.Org>
14355 * readme.win32 : some more files required or useful to build
14358 * plug-ins/wmf/wmf.cpp : fixed open issues like fill_arc and
14359 fill_bezier implementation, boundary drawing in fill mode, etc.
14360 Next one complaining gets the source, uncommented ...
14362 * shapes/network/router-symbol.xpm
14363 * shapes/network/switch-atm-symbol.xpm
14364 * shapes/network/switch-symbol.xpm : removed "-*- picture -*- "
14365 from /* XPM */ header, cause it stopped Dia/gdk_pixbuf to detect
14366 the files as XPMs. Maybe the X versions of these functions are more
14369 2001-01-06 Steffen Macke <sdteffen@yahoo.com>
14371 * plug-ins/python/Makefile.am: added libart path
14373 * plug-ins/python/python.c: added dirent.h
14375 * configure.in: added es_ES and pt_BR to ALL_LINGUAS
14377 2001-01-06 Hans Breuer <Hans@Breuer.Org>
14379 * objects/uml/actor.c
14380 * objects/uml/branch.c
14381 * objects/uml/class.c
14382 * objects/uml/classicon.c
14383 * objects/uml/component.c
14384 * objects/uml/large_package.c
14385 * objects/uml/node.c
14386 * objects/uml/note.c
14387 * objects/uml/object.c
14388 * objects/uml/small_package.c
14389 * objects/uml/state.c
14390 * objects/uml/usecase.c : started to implement the generic property
14391 interface for the uml objects. Would appreciate some help on how
14392 to implement properties which are list of properties themselves,
14393 e.g. member functions and their parameters of UMLClass.
14395 2001-01-06 Hans Breuer <Hans@Breuer.Org>
14397 * plug-ins/python/diamodule.c : finally ported to win32.
14398 Added new objects and implemented register_export function.
14400 * plug-ins/python/pydia-object.h
14401 * plug-ins/python/pydia-display.c
14402 * plug-ins/python/pydia-handle.c
14403 PyObject_HEAD_INIT needs some tweakink on win32. Done in
14404 pydia-object.h; others files simply using it.
14406 * plug-ins/python/pydia-layer.c : reflect
14407 layer_find_closest_connection(_)point renaming
14409 * plug-ins/python/pydia-object.c : add property properties.
14410 Also change bounding_box to DiaRectangle.
14412 * plug-ins/python/python.c : extended error reporting; use
14413 all *.py files from Dia's plug-in dir instead of hardcoded
14414 test.py. This sollution should be fine with Win32, but on
14415 Unix it may need some tweaking (dunno) ...
14417 * plug-ins/python/export-object.py
14418 * plug-ins/python/export-render.py : test and documentation
14419 implementations for export filter implementations in Python
14421 * plug-ins/python/pydia-color.[hc]
14422 * plug-ins/python/pydia-diagramdata.[hc]
14423 * plug-ins/python/pydia-error.[hc]
14424 * plug-ins/python/pydia-export.[hc]
14425 * plug-ins/python/pydia-font.[hc]
14426 * plug-ins/python/pydia-geometry.[hc]
14427 * plug-ins/python/pydia-image.[hc]
14428 * plug-ins/python/pydia-properties.[hc]
14429 * plug-ins/python/pydia-property.c
14430 * plug-ins/python/pydia-render.c : new objects in new files
14432 * plug-ins/python/makefile.am : added new files but can't test it
14434 * plug-ins/python/pydia.def
14435 * plug-ins/python/makefile.msc : for win32 build
14437 * plug-ins/cgm/cgm.c
14438 * plug-ins/dxf/dxf-import.c
14439 * plug-ins/dxf/dxf-export.c
14440 * plug-ins/hpgl/hpgl.c : reflect export API change
14442 * plug-ins/shape/shape-export.c : reflect export API change
14443 and check for libart (better the availibility of a png exporter)
14444 at run-time instead of compile-time.
14446 2001-01-06 Steffen Macke <sdteffen@yahoo.com>
14448 * app/recent_files.h was missing from Hans's commit
14450 * plug-ins/shape/shape_export.c: shape export was broken
14451 due to interface changes
14453 2001-01-05 Hans Breuer <Hans@Breuer.Org>
14455 Applied Steffen's recent file list patch :
14456 * app/Makefile.am : added recent_files.[hc]
14457 * app/diagram.c : add files to recent file list
14458 * app/menus.c : add recent file menu
14459 * app/app_procs.c : changed initialization order to
14460 make recent file list work with command line processing.
14462 The Filter export()/import() functions have got an additional
14463 parameter to allow multiple filters via one C callback (required
14464 for Python bindings)
14466 * app/commands.[hc] : corrected the signature for gtk menu callback
14467 functions, which actually use the second or third parameter. This
14468 is the absolute minimum change to make these functions/menu entries
14469 work again. Using the other possible gtk menu callback signature
14470 would have required one more function to change. (see mailing list
14471 thread "Objects/Align/Equal Distance" for more information.
14473 * app/disp_callbacks.c : applied Gustavo J.A.M. Carneiro's
14474 zoom-combo focus patch
14477 * app/interface.c : wrapped the Zoom Combo code into
14478 #ifndef WITHOUT_ZOOM_COMBO because IHMO it isn't an useabilty
14479 improvement but cluttering the user interface. Also it wasn't
14480 compiling on Win32 anyway. The win32 version does define
14481 WITHOUT_ZOOM_COMBO to keep the old look.
14482 There are plans to use the statusbar to display size and placement
14483 of selected objects, whereas the Zoom Combo would need to get out
14484 of the way as well.
14486 Added "Save Changes?" to diagram close dialog. Hopefuly the
14487 Yes/No/Cancel option isn't too much windoze like. IHMO this is
14488 an useability improvement.
14493 * app/layer_dialog.c
14494 * app/paginate_psprint.c
14496 - reflect signature changing of filter->export function
14497 - replaced '/' with G_DIR_SEPARARTOR where appropriate
14499 * app/diaunitspinner.c
14500 * app/render_libart.c
14501 added misssing headers like <string.h>
14503 * app/object_ops.c : fixed copy&paste bug in dialog string
14505 * app/splash.c : gdk_widget_show_now () does not ensure actual
14506 drawing of the splash screen, at least not on win32. Reuse the
14507 previous implementation with gtk_main_iteration() again.
14509 * */makefile.msc : make use of the build module (available in
14510 gnome-cvs/build. Updated for other source changes
14512 * lib/filter.h : added an user_data pointer to <ex/im>port()
14513 function signature and Dia<Im/Ex>portFilter to allow different
14514 filters to reuse the same callback function
14516 * lib/font.c : #include <string.h>
14521 * lib/neworth_conn.c
14522 * lib/text.c : don't mix allocator functions (g_)realloc, free, ...
14524 * */*.def : export function definition files required by win32 build
14526 * objects/custom/custom.c : #include <string.h>
14528 * plug-ins/pstricks/render_pstricks.c
14529 * plug-ins/shape/shape_export.c
14530 * plug-ins/svg/render_svg.c
14531 reflect changes to filter export function signature
14533 * plug-ins/wmf/wmf.cpp : fixed indent and scaling. It now should
14534 mostly work as expected
14535 * plug-ins/wmf/wmf_gdi.[hc] : Updated comment. Still not used
14536 to build the wmf plug-in because on the one hand the GDI emulation
14537 isn't finished and on the other hand it isn't required when building
14538 for win32. Is there anybody out there, who wants to save WMF on non
14539 windoze platforms ?
14541 * plug-ins/wpg/wpg.cpp : fixed scaling to take axis dependent
14542 offset into account.
14544 2001-01-02 Steffen Macke <sdteffen@yahoo.com>
14546 * app/Makefile.am: added missing plug-ins to run_dia.sh
14548 * lib/paper.c: added paper sizes A0, A1, A2
14550 * objects/UML/class.c
14551 objects/UML/class.h
14552 objects/UML/class_dialog.c: added support for colored UML
14555 2000-12-30 Kevin Breit <battery841@mediaone.net>
14557 * doc/en/usage-customization.sgml: added more content
14559 2000-12-24 Kevin Breit <battery841@mediaone.net>
14561 * doc/en/usage-layers.sgml: added file, contributed by Remypsb
14562 <remy.viard@laposte.net>
14564 2000-12-24 Steffen Macke <sdteffen@yahoo.com>
14566 * added limiting lines to Civil Engineering sheet,
14567 fixed vertical pump icon
14569 2000-12-20 Steffen Macke <sdteffen@yahoo.com>
14571 * updated/additional Civil Engineering shapes: better icons,
14572 shapes use foreground/background colors now and are filled
14574 2000-12-03 Kevin Breit <battery841@mediaone.net>
14576 * doc/en/dia-manual.sgml Integrated a few diffs. New section should be
14577 the selection <sect1>
14579 2000-11-29 Fredrik Hallenberg <hallon@lysator.liu.se>
14581 * app/load_save.c (diagram_data_save): avoid using obsoleted
14582 libxml calls (only matters when compiling with libxml2)
14584 2000-11-25 James Henstridge <james@daa.com.au>
14586 * app/disp_callbacks.c (ddisplay_drop_object): add a function to
14587 handle the tool drops on the canvas.
14589 * app/interface.c (display_data_received_callback): do the check
14590 to make sure that the drag is from a local toolbox here as well.
14592 * app/interface.c (create_tools): unref the pixmap/mask after
14593 creating the GtkPixmap.
14594 (tool_setup_drag_source): function to set up a drag source for
14595 create object tool buttons.
14596 (create_tools): setup drag source for CREATE_OBJECT_TOOL's.
14597 (fill_sheet_wbox): same here.
14598 (create_display_shell): set up the display canvas as a drag
14600 (display_drop_callback, display_data_received_callback): functions
14601 to handle drops of tool buttons.
14603 * app/menus.c (menus_init): don't use gnome_popup_menu_new(). It
14604 does weird shit to the user_data pointer for a menu item. Object
14605 alignment should work again now.
14607 * app/splash.c (get_logo_pixmap): don't unref the bitmap if it is
14608 NULL, and mark this function static.
14609 (app_splash_init): use gtk_widget_show_now() instead of the
14610 gtk_main_iteration loop.
14611 (app_splash_init): connecting gtk_widget_destroy to the destroy
14612 signal of a widget seems pretty useless.
14614 2000-11-23 Kevin Breit <battery841@users.sourceforge.net>
14616 * doc/en/dia-manual.sgml:
14617 Added sect1 for advanced object types. Starting development
14620 2000-11-18 Kevin Breit <battery841@mediaone.net>
14622 * doc/en/dia-manual.sgml:
14623 Stupid spelling fixes.
14625 2000-11-18 Kevin Breit <battery841@mediaone.net>
14627 * doc/en/dia-manual.sgml:
14628 Just some small changes I made. Props to Greg LeBlanc on the
14631 2000-11-17 Alexander Larsson <alla@lysator.liu.se>
14634 (ddisplay_add_display_area): Clip input rectangle to
14635 the visible part of the display.
14636 (ddisplay_scroll): Optimization, don't scroll and
14637 redraw if moving to the same position as before.
14639 * app/render_libart.c (renderer_libart_copy_to_window):
14640 Removed sanity check. Now moved to ddisplay_add_display_area().
14643 Added return at end of file.
14645 2000-11-13 Kevin Breit <battery841@mypad.com>
14646 * doc/en/dia-manual.sgml
14647 Commited manual changes from Henry House <hajhouse@houseag.com>
14649 2000-10-21 Hans Breuer <Hans@Breuer.Org>
14650 * lib/beziershape.c :
14651 The previous code was accessing unowned memory due to IHMO
14652 wrong index calculation. Now it appears to be fixed.
14656 * plug-ins/makefile.msc
14657 * objects/makefile.msc
14658 * app/makefile.msc: (new files)
14659 Makefiles for Dia on Win32, Micro$oft VC only.
14661 * plug-ins/pstricks/render_pstricks.c
14662 * plug-ins/dxf/dxf-import.c
14663 * plug-ins/shape/shape-export.c
14664 * plug-ins/svg/render_svg.c
14667 * app/preferences.c
14671 * objects/custom/custom.c
14672 * objects/standard/image.c
14673 portability (not only win32): use HAVE_UNISTD_H, HAVE_DIRENT_H
14674 where appropriate, add missing prototypes like <string.h>
14676 * plug-ins/wmf/wmf_gdi.cpp
14677 * plug-ins/wmf/wmf_gdi.h:
14678 start of wmf write functions for non Win32 platform. Not
14679 finished yet. The other way to get it working maybe to
14680 link the plug-in against wine libs.
14682 * plug-ins/wpg/wpg.c : add missing brace
14684 * app/load_save.c :
14685 Handling for unknown objects at load time. Previously Dia
14686 was crashing, if you try to load a file referencing objects
14687 whiches plug-ins aren't installed/available. Now it spits out
14688 a warning and ignores the unknown objects.
14691 toolbox DND support for files like The Gimp does it.
14695 Simple splash screen support and usage.
14698 Splash screen, portability fixes, dont' g_error if there is
14699 g_get_homedir return NULL. This may remove the one and only
14703 Make it compile without ENABLE_NLS
14705 * app/render_libart.c :
14706 Sanity check to avoid calling libart with wrong window coordinates.
14707 They come from the update handler. Direct Gdk is dealing nicely
14708 with coordinates out of range, libart does access un-owned memory
14709 in this case, mostly causing crashes.
14711 * app/winmain.c: (new file) Export the Win32 Gui version of the
14712 main function. This file is only required for Windoze.
14714 * app/splash.c: (new file) splash screen implementation
14718 * lib/diavar.h: (new file)
14719 moved special variable export code to diavar.h, because it is
14720 needed in color.h and font.h
14723 M$VC cann't export inlined functions. Quick hack to let it
14724 link again. Probably the glib mechanics should be used here?
14726 * objects/UML/lifeline.c : initialize var before usage
14728 * objects/GRAFCET/step.c : removed unused var
14730 2000-10-14 James Henstridge <james@daa.com.au>
14732 * app/render_gnomeprint.c (draw_image): change code so images
14733 don't get flipped when printing.
14735 * app/paginate_gnomeprint.c (diagram_print_gnome): check to make
14736 sure that the return value of
14737 gnome_print_context_new_with_paper_size is not NULL.
14739 * app/render_gnomeprint.c (draw_arc): add code to convert arcs
14740 into a series of bezier segments.
14741 (fill_arc): similar code to handle filled arc segments.
14743 2000-10-12 Fredrik Hallenberg <hallon@lysator.liu.se>
14750 * app/disp_callbacks.c
14752 * app/linewidth_area.c
14753 * app/paginate_psprint.c
14754 * app/preferences.c
14758 * app/neworth_conn.c
14760 * objects/standard/box.c: various small changes to get rid of
14761 annoying warnings (eg faulty prototypes and unused variables)
14763 * app/disp_callbacks.c
14766 * app/magnify.h: update magnify tool icon when pressing/releasing
14767 shift. I will try to make something more general so that similar
14768 things can be used by other tools.
14770 * shapes/SDL/inout.shape
14771 * shapes/SDL/return.shape: fixed some typos
14773 2000-10-09 James Henstridge <james@daa.com.au>
14775 * objects/custom/shape_info.c (parse_path): apply patch from
14776 Robert Young <robertdotyoung@dsto.defence.gov.au> to fix bug
14779 2000-10-08 James Henstridge <james@daa.com.au>
14781 * objects/standard/image.c (image_set_props): if the file could not
14782 be loaded, show the broken image icon.
14784 * plug-ins/Makefile.am (SUBDIRS): add shape to the subdirs list.
14786 * plug-ins/shape/*: the shape export plugin by Steffen Macke.
14788 * app/interface.c (fill_sheet_wbox): use gdk-pixbuf to load the
14789 object icon when loading from a file. This allows you to have PNG
14790 icon files for shapes.
14792 2000-10-07 James Henstridge <james@daa.com.au>
14794 * app/Makefile.am (dia_LDADD): remove GDK_IMLIB_LIBS reference.
14796 * lib/Makefile.am, app/Makefile.am (INCLUDES): remove
14797 GDK_IMLIB_CFLAGS reference.
14799 * app/commands.c (help_about_callback): remove imlib code.
14801 * lib/dia_image.c: only include the pixbuf version of the image
14804 * acconfig.h: remove the HAVE_GDK_PIXBUF flag from here.
14806 * configure.in (CPPFLAGS): remove the check for imlib, as we now
14807 require gdk-pixbuf.
14809 * plug-ins/pstricks/render_pstricks.c (new_pstricks_renderer):
14810 conditionally define \setfont as well.
14812 2000-10-05 James Henstridge <james@daa.com.au>
14814 * plug-ins/pstricks/render_pstricks.c (new_pstricks_renderer): fix
14815 preamble so that we define \setlinejoinmode and \setlinecaps
14816 commands conditionally on them being undefined. This way, the
14817 pstricks output files should work without modification, and will
14818 support the commands when they are implemented in pstricks.
14820 2000-10-05 Szabolcs Ban <shooby@gnome.hu>
14822 * dia.desktop: added hungarian translations to dia.desktop
14824 2000-10-04 James Henstridge <james@daa.com.au>
14826 * sheets/UML.sheet: fix typo.
14828 * objects/custom/shape_info.c: use strtod instead of g_strtod.
14829 (parse_path): actually call setlocale around strtod calls.
14831 * lib/dia_xml.c: use strtod rather than g_strtod. We wrap each
14832 call in setlocale(LC_NUMERIC, "C"), so there is no reason to call
14833 the g_strtod wrapper.
14835 * shapes/SDL/: add SDL shapes from Rubens Ramos
14836 <rubens_ramos@yahoo.com>
14838 * acinclude.m4 (DIA_CHECK_CFLAG): fix up macro.
14840 * sheets/Makefile.am (SHEETS): add SDL.sheet to list.
14842 * shapes/MSE/: add Mobile Subscriber Equipment shapes from
14843 W. Michael Petullo <mike@flyn.org>.
14845 * sheets/Makefile.am (SHEETS): add civil.sheet (which got missed
14846 from the 0.86 tarball) and jigsaw.sheet.
14848 * configure.in: add shapes/jigsaw/Makefile to list of generated files.
14850 * shapes/jigsaw/: jigsaw shapes from Martin Hawlisch.
14852 * shapes/network/: add network-additional shapes here.
14854 * sheets/network.sheet: add the network-additional shapes from
14855 Martin Hawlisch <Martin.Hawlisch@bflow.com> to the main network
14858 2000-09-30 Fredrik Hallenberg <hallon@lysator.liu.se>
14860 * configure.in: Updated ALL_LINGUAS
14862 * po/nl.po: Removed newline from translation
14864 2000-09-17 Asbjorn Pettersen <asbjornP@dualog.no>
14866 * app/commands.c (help_about_callback): Use G_DIR_SEPARATOR_S in
14867 logo filename generation.
14869 * lib/dia_dirs.c (dia_get_data_directory): Handle empty subdir better.
14870 Avoiding "//dia_logo.png".
14872 2000-09-16 Asbjorn Pettersen <asbjornP@dualog.no>
14874 * app/filedlg.c: add include <sys/types.h> to
14875 remove warning. (OS/2)
14877 2000-09-13 Cyrille Chepelov <chepelov@calixo.net>
14879 * objects/chronogram/chronoline_event.c (reparse_clevent):
14880 the __checksum routine was simply bogus. Redone it in a slightly
14881 saner way (reported by Michael Farr <mfarr@cs.latrobe.edu.au>).
14883 2000-09-10 Asbjorn Pettersen <asbjornP@dualog.no>
14885 * app/create_object.c (create_object_button_press):
14886 * app/modify_tool.c (click_select_object):
14887 * lib/object.h: select renamed to selectf to prevent
14888 compiler problems with function select(). OS/2 version.
14890 2000-09-08 Karsten Weiss <knweiss@gmx.de>
14892 * po/de.po: Updated.
14894 2000-09-07 Karsten Weiss <knweiss@gmx.de>
14896 * dia.desktop: Added German translation
14897 * app/menus.c: "Diagram Propeties..." -> "Diagram Properties..."
14899 2000-08-29 Manuel de Vega Barreiro <barreiro@arrakis.es>
14901 * configure.in (ALL_LINGUAS): added "es"
14903 2000-08-28 Lars Clausen <lrclause@shasta.cs.uiuc.edu>
14908 * app/scroll_tool.c:
14909 Standardized cursor function get_cursor(). Magnify now has
14910 looking-glass cursor with + and -.
14912 * app/create_object.c (create_object_button_press):
14913 Newly created connections now snap to connection points even when
14916 2000-08-17 Daniel Egger <egger@suse.de>
14918 * app/menus.c: #ifdef'ed some code for the none GNOME
14920 * app/dia_embedd.c: Changed obvious hackery. Can anyone
14921 please have a look at the GNOME UI menu creation? The
14922 gnome-app-helper code is ages old and plainly broken!
14924 2000-08-15 Daniel Egger <egger@suse.de>
14931 * app/select.c: First big patch to get the menus
14932 working again in the international version. Copied
14933 some code written by Sven and me from GIMP and
14934 thus implemented automatic tearoffmenu creation and
14935 proper translation. I also removed that pseudo
14936 radiomenu hack and cleaned up several translation
14937 hacks which have never really worked. All in all
14938 this is part I of the big menu patch. Enjoy and tell
14939 me if you detect any problems.
14941 2000-08-14 Daniel Egger <egger@suse.de>
14943 * sheets/UML.sheet: Changed one German translation as
14944 suggested by Heribert Schuetz <hs@heribert-schuetz.de>.
14946 2000-08-10 Fredrik Hallenberg <hallon@lysator.liu.se>
14948 * app/diapagelayout.c:
14949 * lib/diagramdata.c:
14950 * lib/diagramdata.h:
14953 * lib/paper.h: honour PAPERCONF env variable and /etc/papersize when
14954 selecting paper size for a new diagram. TODO: Use libpaper if
14955 available and use gnome_paper-stuff if using GNOME.
14957 * sheets/Electric.sheet: fixed typo.
14959 2000-08-08 James Henstridge <james@daa.com.au>
14961 * po/README: added a readme file to tell translators to translate
14962 the .sheet files as well.
14964 * app/commands.c (help_about_callback): fix small bug where we tried
14965 to gdk_bitmap_unref() the mask for the about box image, even though
14966 it was NULL. Now check for a NULL mask.
14968 2000-08-07 Daniel Egger <egger@suse.de>
14970 * sheets/*.sheet: Added translations for the name
14971 in the toolbar tab. Brushed up some descriptions
14972 and some translations a bit.
14974 2000-08-06 James Henstridge <james@daa.com.au>
14976 * plug-ins/svg/render_svg.c (new_svg_renderer): update public
14977 identifier and dtd url for SVG output.
14978 (new_svg_renderer): fix the output of the viewBox output. The
14979 second two numbers are the width and height -- not the right
14980 and bottom sides of the box.
14982 * shapes/*/*.shape: update svg namespace URI.
14984 * objects/custom/shape_info.c (load_shape_info): change the
14985 namespace URI for custom shapes yet again to match the Candidate
14986 Recommedation. It looks like this one will probably be the final
14989 * app/display.c (new_display): remove the code that sets ic and
14990 ic_attr members to NULL, as one of the previous function calls
14991 causes the display to be realised. This means that the ic gets
14992 lost. Thanks to Yukihiro Nakai <ynakai@redhat.com> for finding
14995 2000-08-06 James Henstridge <james@daa.com.au>
14997 * shapes/Makefile.am (SUBDIRS): add Civil back to list.
14999 * NEWS: fixed date in NEWS file, as I will release today.
15001 * README: updated the README a little. Added note that Dia is now
15004 * dia.spec: fix up spec file.
15006 * plug-ins/wpg/wpg.c: changed DIAG_NOTE stuff here as well.
15008 * plug-ins/hpgl/hpgl.c: change Hans's DIAG_NOTE stuff so that we don't
15009 get heaps of warnings when you turn off debugging.
15010 Also made a few other warning fixes.
15012 2000-08-02 James Henstridge <james@daa.com.au>
15014 * plug-ins/svg/Makefile.am (INCLUDES): add XML_CFLAGS to INCLUDES.
15016 * configure.in: update version number.
15018 2000-08-01 James Henstridge <james@daa.com.au>
15020 * app/commands.c (help_about_callback): add Hans to about dialog.
15022 * doc/shape.dtd: dtd for shape file format.
15024 * doc/custom-shapes: update doc file about creating custom shapes.
15026 * shapes/*/*.shape: change namespace URI for the SVG portion to the
15027 one for the latest draft.
15029 * shapes/*/*.shape: fix up rect definitions.
15031 * objects/custom/shape_info.c (load_shape_info): recognise newer
15032 namespace tag for SVG.
15033 (parse_svg_node): the rect element should take attributes x, y, width
15034 and height -- not x1,y1,x2,y2.
15036 * plug-ins/svg/render_svg.c (new_svg_renderer): updated doctype
15037 output to use the newest draft DTD.
15039 * plug-ins/svg/svg.c: initialisation code for plugin.
15041 * plug-ins/svg/render_svg.c: move svg export code to a plugin.
15043 * plug-ins/svg/Makefile.am: makefile for svg plugin.
15045 * app/app_procs.c (internal_plugin_init): don't register the svg
15046 export filter here.
15048 * app/Makefile.am (dia_core_files): don't compile in render_svg.[ch]
15050 2000-07-31 James Henstridge <james@daa.com.au>
15052 * objects/standard/textobj.c (textobj_get_defaults):
15053 * objects/standard/polygon.c (polygon_get_defaults):
15054 * objects/standard/image.c (image_get_defaults):
15055 * objects/standard/ellipse.c (ellipse_get_defaults):
15056 * objects/standard/box.c (box_get_defaults):
15057 * objects/standard/beziergon.c (beziergon_get_defaults):
15058 * objects/flowchart/parallelogram.c (pgram_get_defaults):
15059 * objects/flowchart/ellipse.c (ellipse_get_defaults):
15060 * objects/flowchart/diamond.c (diamond_get_defaults):
15061 * objects/flowchart/box.c (box_get_defaults):
15062 * objects/custom/custom_object.c (custom_get_defaults):
15063 * objects/FS/flow.c (flow_get_defaults):
15064 * objects/FS/flow-poly.c (flow_get_defaults):
15065 * objects/FS/flow-ortho.c (orthflow_get_defaults): ref and sink the
15068 * app/defaults.c (defaults_show): don't keep on ref'ing the defaults
15069 widgets for various object types.
15070 (create_dialog): ref and sink the no_defaults_dialog.
15072 * app/preferences.c (prefs_create_dialog): change
15073 gtk_container_border_width call to gtk_container_set_border_width.
15075 2000-07-29 James Henstridge <james@daa.com.au>
15077 * app/commands.c (view_aa_callback): show a warning dialog if
15080 * app/interface.c (fill_sheet_menu): don't add a menu item for
15083 2000-07-26 James Henstridge <james@daa.com.au>
15085 * plug-ins/dxf/dxf-export.c: updates from Steffen to fix bug #18677
15087 * app/menus.c: remove edit grid menu item.
15089 * app/commands.[ch] (view_edit_grid_callback): removed.
15091 * app/display.c (new_display): don't initialise removed Grid members.
15093 * app/grid.c: remove unused functions.
15095 * app/grid.h: remove dialog related stuff from Grid structure.
15096 Remove prototypes for dialog functions.
15098 * app/menus.c: add to menus
15100 * app/commands.[ch] (view_diagram_properties_callback): new command
15101 for showing the diagram properties dialog.
15103 * app/dia-props.[ch]: a new diagram properties dialog. To replace
15104 the edit grid dialog.
15106 2000-07-25 James Henstridge <james@daa.com.au>
15108 * app/grid.c (grid_x_update):
15109 (grid_y_update): as the grid setting is stored with the diagram,
15110 update all displays when a change is made.
15112 * app/modify_tool.c (modify_motion): use new snap_to_grid sig.
15114 * app/create_object.c (create_object_button_press):
15115 (create_object_motion): use new snap_to_grid signature.
15117 * app/grid.c (grid_draw): use the grid settings in the DiagramData,
15118 and handle invisible grid lines.
15119 (snap_to_grid): use new grid settings. Also changed signature to
15120 take a DDisplay rather than Grid pointer.
15121 (grid_show_dialog): get the defaults from the correct place.
15123 * app/display.c (new_display): do not set ddisp->grid.width_[xy].
15125 * app/diagram.c (new_diagram): set the grid size defaults from the
15128 * app/load_save.c (diagram_data_save): save grid and guide info to
15130 (diagram_data_load): add guide and grid load support.
15132 * lib/diagramdata.c (new_diagram_data): set the new DiagramData
15135 * lib/diagramdata.h: add members to DiagramData for grid and guide
15138 * configure.in (BONOBO_LIBS): update configure scripts
15140 * app/dia.oafinfo: oafinfo file for dia embeddables.
15142 * app/dia_embedd.c: add OAF support.
15144 2000-07-24 James Henstridge <james@daa.com.au>
15146 * plug-ins/wpg/Makefile.am:
15147 * plug-ins/pstricks/Makefile.am:
15148 * plug-ins/hpgl/Makefile.am:
15149 * plug-ins/dxf/Makefile.am: same here.
15151 * plug-ins/cgm/Makefile.am: remove LIBADD. Dia already links with
15152 the required libraries, and the link line was causing libtool not
15153 to build a shared library on some systems :(
15155 * plug-ins/cgm/cgm.c (write_real): the initial if statement should
15156 be checking x, not n.
15158 2000-07-23 James Henstridge <james@daa.com.au>
15160 * app/preferences.c (prefs_data): set the "reset tools after
15161 create" preference to true by default. That seems to be what most
15164 * app/interface.c (create_sheets): instead of a notebook, use an
15165 option menu that updates the sheet tools. The notebook tabs were
15166 getting a bit unwieldly, so the option menu should fix that. This
15167 also reduces the number of widgets in the tools radio button
15168 group, which should make the UI a little more responsive.
15170 2000-07-19 Fatih Demir <kabalak@gmx.net>
15172 * configure.in: Added tr to ALL_LINGUAS.
15173 [ Yeah, we're now having a Turkish translation,
15176 * dia.desktop: Added the Turkish entries.
15178 2000-07-02 Fredrik Hallenberg <hallon@lysator.liu.se>
15180 * doc/diagram.dtd: changed string-element so it conforms to the
15183 2000-06-30 Fredrik Hallenberg <hallon@lysator.liu.se>
15185 * configure.in: added chinese.
15186 Use AM_PROG_LIBTOOL instead of AC_PROG_LIBTOOL.
15194 objects/custom/shape_info.c:
15195 shapes/Circuit/npn.shape:
15196 shapes/Circuit/pnp.shape:
15197 sheets/*.sheet: dia now works with libxml2.
15198 Libxml2 is a bit more picky when parsing xml and reported errors on all
15199 sheet files because they use non ascii characters (added
15200 encoding="iso-8859-1"). Also "xml:lang=en@layman" is not proper xml so
15201 I commented out these.
15203 2000-06-30 Christopher R. Gabriel <cgabriel@linux.it>
15205 * configure.in (ALL_LINGUAS): added Italian
15207 2000-06-27 Sung-Hyun Nam <namsh@lgic.co.kr>
15209 * configure.in (ALL_LINGUAS): added Korean
15211 2000-06-25 James Henstridge <james@daa.com.au>
15213 * objects/flowchart/parallelogram.c (pgram_create): use default font
15214 and add properties interface support.
15216 * objects/flowchart/ellipse.c (ellipse_create): use default font and
15217 add properties interface support.
15219 * objects/flowchart/diamond.c (diamond_create): use default font and
15220 add properties interface code.
15222 * objects/flowchart/box.c (box_create): use default font.
15224 * objects/custom/custom_object.c (custom_create): use default font
15227 * objects/standard/textobj.c (textobj_create): update to use default
15230 * lib/attributes.c: add implementations.
15232 * lib/attributes.h (attributes_[gs]et_default_font): add function
15233 prototypes for setting/getting a default font.
15235 2000-06-24 James Henstridge <james@daa.com.au>
15237 * app/paginate_gnomeprint.h: updated prototype.
15239 * app/paginate_gnomeprint.c (paginate_gnomeprint): update to use
15240 diagram page settings.
15242 * objects/standard/beziergon.c (beziergon_copy): same here.
15244 * objects/standard/polygon.c (polygon_copy): copy the fill colour
15248 * app/tool.h (tool_options_dialog_show):
15249 * app/scroll_tool.h (free_scroll_tool):
15250 * app/render_svg.h:
15251 * app/render_libart.h (renderer_libart_copy_to_window):
15252 * app/render_gdk.h (renderer_gdk_copy_to_window):
15253 * app/properties.h (properties_hide_if_shown):
15254 * app/preferences.h (prefs_load):
15255 * app/object_ops.h:
15256 * app/modify_tool.h (free_modify_tool):
15257 * app/magnify.h (free_magnify_tool):
15258 * app/linewidth_area.h (linewidth_area_create):
15259 * app/layer_dialog.h:
15260 * app/handle_ops.h (handle_is_clicked):
15262 * app/grid.h (grid_destroy_dialog):
15263 * app/defaults.h (defaults_show):
15264 * app/cut_n_paste.h (cnp_exist_stored_objects):
15265 * app/create_object.h (free_create_object_tool):
15266 * app/connectionpoint_ops.h (diagram_unconnect_selected):
15268 * app/color_area.h (color_area_create):
15269 * app/app_procs.h (app_is_embedded): remove extern keyword from
15270 function prototypes.
15273 * lib/sheet.h (load_all_sheets):
15274 * lib/render_store.h:
15275 * lib/render_object.h (render_object_load):
15276 * lib/polyshape.h (polyshape_closest_segment):
15277 * lib/poly_conn.h (polyconn_closest_segment):
15280 * lib/objchange.h (new_object_state_change):
15281 * lib/neworth_conn.h (neworthconn_add_segment):
15282 * lib/message.h (message_error):
15285 * lib/font.h (font_descent):
15286 * lib/focus.h (remove_focus):
15288 * lib/diagramdata.h:
15289 * lib/dia_xml.h (data_add_composite):
15291 * lib/connpoint_line.h:
15292 * lib/connection.h (connection_move_handle):
15294 * lib/attributes.h (attributes_set_default_line_style):
15295 * lib/arrows.h (arrow_draw): remove extern keyword from function
15296 definitions. It is not required for functions.
15298 * plug-ins/dxf/Makefile.am (INCLUDES):
15299 * plug-ins/pstricks/Makefile.am (INCLUDES):
15300 * plug-ins/cgm/Makefile.am (INCLUDES):
15301 * objects/SADT/Makefile.am (INCLUDES):
15302 * objects/chronogram/Makefile.am (INCLUDES):
15303 * objects/GRAFCET/Makefile.am (INCLUDES):
15304 * objects/flowchart/Makefile.am (INCLUDES):
15305 * objects/sybase/Makefile.am (INCLUDES):
15306 * objects/FS/Makefile.am (INCLUDES):
15307 * objects/standard/Makefile.am (INCLUDES):
15308 * objects/network/Makefile.am (INCLUDES):
15309 * objects/UML/Makefile.am (INCLUDES): same here.
15311 * objects/ER/Makefile.am: changed inclusion of some macros to
15314 * lib/plug-ins.c (dia_register_plugins_in_dir): use a few defines to
15315 handle the plug in extension, rather than have all the #ifdef's in
15318 * plug-ins/Makefile.am: add renderer.inc to dist.
15320 * plug-ins/dxf/dxf-import.c: Updates from Steffen Macke.
15322 2000-06-11 Asbjorn Pettersen <asbjornP@dualog.no>
15324 * lib/plug-ins.c: Handle OS/2 dll's too.
15326 2000-06-07 James Henstridge <james@daa.com.au>
15328 * app/plugin-manager.c (get_plugin_manager): set some table
15329 packing options to make it look a little nicer.
15331 * plug-ins/hpgl/Makefile.am, plug-ins/wpg/Makefile.am: added
15332 makefiles for these plug-ins.
15334 * plug-ins/{hpgl,wmf,wpg}/*: removed dos style cariage returns.
15336 * configure.in: added hpgl and wpg directories to build. Added
15337 note about whether gnome-print support was enabled, and noted that
15338 it is not recommended.
15340 2000-06-06 James Henstridge <james@daa.com.au>
15342 * plug-ins/{hpgl,wmf,wpg}/*: Hans Breuer's plug-ins. They still need
15343 a little work, but I am checking them in so I don't lose them.
15345 2000-06-01 James Henstridge <james@daa.com.au>
15347 * objects/standard/arc.c: added extra properties.
15349 * lib/beziershape.c (beziershape_closest_handle): fix a bug where I
15350 was using the wrong index into the handles array. This gets corner
15351 type changing working correctly.
15353 * lib/properties.[ch]: add support for BezPoint's and BezPoint arrays
15354 to properties code (no editing or loading yet though). Also added
15355 support for point array manipulation through the offsets interfaces.
15357 * lib/Makefile.am (INCLUDES): added include of gdk-pixbuf
15359 * app/interface.c (origin_button_press): changes so the origin
15360 button doesn't grab the pointer when we pop up the menu.
15362 * app/commands.c (help_about_callback): fix small memory leak in
15365 * app/menus.c (menus_init): fixed breakage I introduced in the non
15366 gnome menus when I was doing the menu changes. The tearoffs work
15367 really nicely in plain gtk mode as well.
15369 * objects/standard/beziergon.c (beziergon_create): changed the
15370 returned handles to match the handle numbering changes. Now
15371 segment addition and removal works correctly with undo!
15373 * lib/beziershape.c: various changes to the code. Changed the
15374 numbering of handles, and fixed the segment removal code.
15376 2000-05-31 James Henstridge <james@daa.com.au>
15378 * objects/standard/beziergon.c: remove connection point handling.
15379 There is still a bit of work to be done to get adding and removing
15380 of segments working correctly.
15382 * lib/beziershape.c: add connection point handling to beziershape.
15383 I set it for two connection points per segment.
15385 2000-05-30 James Henstridge <james@daa.com.au>
15387 * objects/standard/polygon.c: don't do connectionpoint handling.
15389 * lib/polyshape.c: changed to handle connection points internally.
15390 Also, don't worry about connections to handles on polyshape, as
15391 all handles are non connectable.
15393 2000-05-30 Ville Hautamaki <villeh@cs.joensuu.fi>
15395 * configure.in: Added finnish
15397 2000-05-30 James Henstridge <james@daa.com.au>
15399 * sheets/*.sheet: translation updates to the .sheet files.
15401 * po/fr.po: updated po file from Christophe Merlet.
15403 * menus.h: removed prototypes for functions which have been removed.
15405 2000-05-29 James Henstridge <james@daa.com.au>
15407 * app/layer_dialog.c (layer_dialog_set_diagram): set the selected
15408 item in the option menu when changing selected diagram.
15410 * app/dia_embedd.c (view_factory): fix up function to work with new
15413 * app/disp_callbacks.c (ddisplay_realize): remove call to
15414 display_set_active from here.
15415 (ddisplay_canvas_events): move call here. This gets rid of all the
15416 warnings, as the renderer has been fully set up correctly at this
15419 * app/menus.c (menus_init): add the tearoff item to the start of the
15422 * app/app_procs.c (create_user_dirs): we don't need to create the
15423 menus directory anymore.
15425 * app/disp_callbacks.c (ddisplay_popup_menu): it should not be
15426 necessary to update the menu state here, as it was done when the
15427 active display was set.
15429 * app/display.c (display_set_active): update the menu state when
15430 changing active displays.
15432 * app/interface.c (origin_button_press): set the display as active
15433 when a click is made on the menu button.
15435 * app/menus.c (menus_init): set up a quit function to save the accels
15437 Add tearoff items for the non GNOME menus, add accelerators for
15438 several GNOME menus.
15440 * app/disp_callbacks.c (ddisplay_popup_menu): get the menu with
15441 menus_get_image_menu().
15443 * app/menus.c (menus_get_item_from_path): use display_menus here
15444 rather than ddisp->popup.
15446 * app/display.h: remove the popup member in the DDisplay structure.
15448 * app/interface.c: remove option of not using wrap box.
15449 (create_toolbox): change to always use menus_get_toolbox_menubar
15450 even when using gnome menus.
15451 (create_display_shell): use menus_get_image_menu to load accelerators
15452 only -- not the actual popup menu.
15454 * app/menus.c (menus_init): new function to create the menus.
15455 (menus_get_toolbox_menubar): use this function whether gnome is
15456 in use or not. Changed to use menus_init.
15457 (menus_get_image_menu): same here. Also, now this function always
15458 returns the same menu, rather than a new one each time.
15459 (menus_init): read a menurc file to load accelerators here.
15461 2000-05-28 James Henstridge <james@daa.com.au>
15463 * app/display.c (ddisplay_really_destroy): unset active display if
15464 active display is destroyed.
15465 (ddisplay_active): simplify function to return active_display as set
15466 by display_set_active. This allows using a pinned menu with any
15467 display -- not just the one it was popped up from.
15468 (display_set_active): notify the layer dialog of change of diagrams
15469 when active diagram changes.
15471 * app/disp_callbacks.c (ddisplay_canvas_events): set active display
15472 on button and key presses.
15473 (ddisplay_realize): set active display on realize.
15475 * app/display.c (display_set_active): simple implementation of this
15478 * app/display.h (display_set_active): add prototype for setting
15479 the active display.
15481 * app/interface.c (create_display_shell): don't give focus to the
15484 * app/menus.c: fix up menus for Beziergon.
15486 * app/interface.c (create_display_shell): make the widget in the
15487 top left corner a button that can be used to pop up the right click
15488 menu, like in gimp and sketch.
15490 * app/disp_callbacks.c (ddisplay_popup_menu): new function to popup
15493 * objects/standard/beziergon.c (beziergon_set_corner_type_callback):
15494 add code to set corner types for beziergon.
15496 * lib/beziershape.c (beziershape_set_corner_type): fix up corner type
15498 (beziershape_move_handle): use the previous corner type for right
15501 * app/interface.c (tool_data): add beziergon to toolbox.
15503 * objects/standard/standard.c (dia_plugin_init): initialise the new
15504 Beziergon object type.
15506 * objects/standard/beziergon.c: an object based on BezierShape.
15508 * lib/dummy_dep.h (dummy_dep): added to dummy_dep.
15510 * lib/beziershape.[ch]: new files implementing a bezier shape.
15512 2000-05-26 James Henstridge <james@daa.com.au>
15514 * lib/text.c (text_key_event): handle multibyte inserts.
15515 (text_key_event): also add home and end keybindings.
15517 * app/interface.c (create_display_shell): connect handlers for
15518 focus_in_event, focus_out_event, realize and unrealize signals.
15520 * app/display.[ch] (new_display): initialise input context members.
15522 * app/disp_callbacks.[ch]: added XIM support here.
15524 * lib/font.c (suck_font): the black and white pixel values should be
15525 taken from a 1 bit colormap rather than the default colormap.
15527 Hans Breuer's Windows patches ...
15529 * lib/font.c: use Courier New for fixed width font on windows
15532 * lib/dia_image.h: change to "struct _DiaImage".
15534 * lib/dia_image.c: change "struct DiaImage" to "struct _DiaImage"
15536 * app/disp_callbacks.c (ddisplay_canvas_events): allow ctrl+right
15537 mouse button for object menu. This will make two button mouse owners
15540 2000-05-25 James Henstridge <james@daa.com.au>
15542 * app/filedlg.c (file_open_ok_callback): use diagram_load here.
15544 * app/app_procs.c (app_init): add extra NULL argument to call of
15547 * app/load_save.h: remove prototype.
15549 * app/load_save.c: remove diagram_data function here.
15551 * app/diagram.h: added prototype.
15553 * app/diagram.c (diagram_load): new function here, which uses import
15556 * plug-ins/dxf/dxf.c: register the import filter as well.
15558 * plug-ins/dxf/dxf-import.c: added (unfinished) DXF import filter from
15559 Steffen Macke <macke@heini.fbbwu.fh-lueneburg.de>
15561 * objects/standard/line.c: add start_point and end_point properties
15562 to standard line object.
15564 2000-05-21 James Henstridge <james@daa.com.au>
15566 * app/paginate_psprint.c: added missing include of locale.h.
15568 * objects/custom/custom_object.c (custom_draw): use fabs rather than
15569 abs for scaling factors.
15570 (custom_distance_from): same here.
15572 * dia.spec: make sure rpm doesn't bomb out when LINGUAS isn't set.
15574 2000-05-18 James Henstridge <james@daa.com.au>
15576 * po/POTFILES.in: updated POTFILES.in.
15578 * dia.spec: incremented version number in spec file.
15580 * NEWS: added (lots of) news items for the 0.85 release.
15582 * app/preferences.c (prefs_save): set LC_NUMERIC to C while writing
15585 * configure.in: updated version number here.
15587 * app/Makefile.am (run_dia.sh): include plug-ins in the lib path.
15589 2000-05-17 James Henstridge <james@daa.com.au>
15591 * app/app_procs.c (internal_plugin_init): register the native import
15594 * app/load_save.c (diagram_data_load, diagram_load): split this
15595 function into two -- one that does all the work on the DiagramData
15596 structure, and the other that provides compatibility with the old
15598 (dia_import_filter): use diagram_data_load to define an import
15601 * app/diagram.h (new_diagram): added const to prototype.
15603 * app/filedlg.c (file_open_callback): change to use new import filter
15606 * lib/filter.c: added import filter management functions.
15608 * lib/filter.h: added prototypes for import filter interface.
15610 * app/commands.c (help_about_callback): updated about dialog to
15611 contain a few more names.
15613 2000-05-16 James Henstridge <james@daa.com.au>
15615 * configure.in (Configuration): added a status message to the end of
15616 the configure script to give the user some idea of what was
15619 * plug-ins/dxf/Makefile.am: Makefile for new plugin.
15621 * plug-ins/dxf/dxf.c (dia_plugin_init): added file to initialise the
15624 * plug-ins/dxf/dxf-export.c: new file -- Steffen Macke's DXF export
15627 * configure.in (AM_PATH_LIBART): use the check function provided
15628 with libart rather than our own code. It is more reliable, and
15629 it only requires that people who build out of CVS have libart.m4
15630 installed (not necessarily all of libart).
15631 (AM_PATH_GDK_PIXBUF): same here for gdk-pixbuf.
15633 2000-05-12 Andreas Hyden <a.hyden@cyberpoint.se>
15635 * dia.desktop: Added Swedish translation.
15637 2000-05-09 James Henstridge <james@daa.com.au>
15639 * lib/dia_xml.c: you can't free a const pointer, so remove const
15640 from variable definitions.
15642 Explicitely set LC_NUMERIC where needed, as sometimes it isn't
15643 initialised correctly.
15645 * app/render_svg.c (export_svg): set locale to C.
15647 * app/paginate_psprint.c (paginate_psprint): set locale to C.
15649 * app/render_eps.c (export_eps): set locale to C for EPS export.
15651 * lib/dia_xml.c (data_add_real): change to C locale for snprintf call.
15652 (data_add_point): same here.
15653 (data_add_rectangle): same here.
15654 (data_real): use g_strtod to convert strings to real numbers, so that
15655 locales are taken into account.
15656 (data_point): same here.
15657 (data_rectangle): same here.
15659 * AUTHORS: added Henk and Jacek to authors file.
15661 Daniel Egger's code cleanups.
15663 * app/select.c (select_invert_callback): remove unused variable.
15665 * app/plugin-manager.c (get_plugin_manager): fix typo.
15667 * app/load_save.c (read_connections, write_objects):
15668 (write_connections): made some functions static.
15670 * app/interface.c (toolbox_delete, toolbox_destroy): made some
15673 * app/filedlg.c (file_export_callback): remove unused variable.
15675 * app/app_procs.c: various warning fixes.
15677 Integrating Jacek Pliszka's pstricks export filter.
15679 * plug-ins/pstricks/pstricks.c: code to initialise the plugin.
15681 * plug-ins/pstricks/render_pstricks.[ch]: Jacek Pliszka's pstricks
15682 renderer (with a few small modifications by me).
15684 * plug-ins/pstricks/Makefile.am: new makefile for pstricks plug-in.
15686 * plug-ins/Makefile.am (SUBDIRS): add pstricks subdirectory.
15688 2000-05-07 Alexander Larsson <alla@lysator.liu.se>
15691 * sheets/Makefile.am:
15692 * shapes/Makefile.am:
15693 * shapes/Civil/Makefile.am:
15694 * sheets/civil.sheet:
15696 Added civil/hydraulic/structural engineering objects from
15697 sdteffen <macke@heini.fbbwu.fh-lueneburg.de>.
15699 2000-05-07 Alexander Larsson <alla@lysator.liu.se>
15701 * objects/FS/flow-poly.c:
15702 * objects/FS/flow.c:
15703 Fix division by zero in point_normalize().
15704 Patch by David Thompson <dcthomp@mail.utexas.edu>
15706 2000-04-27 Lars Clausen <lrclause@cs.uiuc.edu>
15709 * lib/bezier_conn.c:
15710 * lib/connpoint_line.c:
15711 Added checks for zero-length lines before calls to point_normalize.
15713 2000-04-24 Lars Clausen <lrclause@shasta.cs.uiuc.edu>
15715 * app/preferences.c (prefs_data): Changed
15716 reversed_dragging_intersects to not make the dialog ridiculously
15719 2000-04-22 James Henstridge <james@daa.com.au>
15721 Hans's win32 patches:
15723 * app/export_png.c: include message.h
15724 * app/interface.c: include dia_dirs.h
15725 * app/linewidth_area.c: check for rint
15726 * app/main.c: include interface.h
15727 * app/paginate_psprint.c: remove unused variable.
15728 * app/preferences.c: include message.h
15729 * app/render_svg.c: include stdlib.h
15730 * app/select.c: include object_ops.h
15731 * lib/dia_dirs.c: miscelaneous fixes for win32.
15732 * lib/dia_image.c: include string.h
15733 * lib/plug-ins.c: look for .dll files rather than .la files on win32.
15734 * lib/properties.c: include stdlib.h
15735 * lib/properties.h: define extra data for standard properties as
15736 static variables on win32 (to get around dynamic linker problems).
15737 * objects/standard/polygon.c: polygon_create_change missing return
15740 2000-04-18 Pablo Saratxaga <pablo@mandrakesoft.com>
15742 * configure.in (ALL_LINGUAS): added Catalan
15744 2000-04-18 James Henstridge <james@daa.com.au>
15746 * objects/standard/bezier.c (bezierline_get_object_menu): add a
15747 separator to the object menu between the add/remove segment items
15748 and the corner type items.
15749 (bezierline_get_object_menu): add code to disable the menu item for
15750 the current corner type. Really just a cosmetic change.
15752 * app/disp_callbacks.c (create_object_menu): handle DiaMenuItems with
15753 a NULL for the label or with no associated callback.
15755 * objects/standard/bezier.c (bezierline_menu_items): use the
15756 enumeration values rather than numeric values for the corner types.
15758 * lib/bezier_conn.[ch]: added a corner_types member to the BezierConn
15759 structure, and add code to handle it. Also, don't save the corner
15760 types inline in the bez_points node. The way it is conditionally
15761 including the element just feels like it will break.
15763 * lib/geometry.h (BezPoint): removed the corner_type stuff from
15764 BezPoint. The corner type stuff is a user interface level idea rather
15765 than something required by the renderer, so should be taken care of
15766 at the object level.
15768 2000-04-17 Lars Clausen <lrclause@shasta.cs.uiuc.edu>
15770 * configure.in: Fixed some problems with the gdk-pixbuf/imlib
15771 checks. Weren't able to reproduce original bug, tough.
15773 2000-04-16 Cyrille Chepelov <chepelov@calixo.net>
15775 * sheets/Electric.sheet:
15776 * sheets/Contact.sheet:
15777 * sheets/Pneumatic.sheet:
15778 * sheets/Circuit.sheet: sprayed some <br/>'s around.
15779 (added a few French translations in the last file)
15781 2000-04-16 Lars Clausen <lrclause@shasta.cs.uiuc.edu>
15784 * lib/bezier_conn.h:
15785 * objects/standard/bezier.c:
15786 * lib/bezier_conn.c: Support for cuspy, smooth and symmetric
15787 bezier points. Only one minor problem known: Menus are active
15788 for endpoints minor handles.
15789 11:28: Save and load now works, too.
15790 (bezierconn_closest_major_handle): 12:03: New function to get the
15791 non-control point handle associated with the nearest control
15793 Also fixed the menu activation problem, and made remove_segment
15794 not remove the endpoint.
15796 2000-04-15 Lars Clausen <lrclause@shasta.cs.uiuc.edu>
15798 * configure.in: Added check for gdk-pixbuf being >= 0.7.0 since
15801 2000-04-15 Asbjorn Pettersen <asbjornP@dualog.no>
15803 * lib/plug-ins.c: Added <sys/types.h> and moved <fcntl.h> below
15804 <sys/stat.h>. OS/2 patch.
15806 2000-04-15 James Henstridge <james@daa.com.au>
15808 * objects/FS/flow-ortho.c, objects/FS/function.c: Applied David
15809 Thompson's patch that adds undo support to the function structure
15812 2000-04-14 James Henstridge <james@daa.com.au>
15814 * objects/custom/custom_object.c (custom_distance_from): new
15815 implementation of distance algorithm that actually takes the
15816 display list into account when calculating the distance. Much nicer
15817 than a simple bounding box.
15819 2000-04-13 Lars Clausen <lrclause@cs.uiuc.edu>>
15821 * lib/geometry.c (line_crosses_ray): Fixed division by zero bug
15823 2000-04-12 Lars Clausen <lrclause@shasta.cs.uiuc.edu>
15825 * objects/standard/polygon.c: Start of polygons own changes (for
15826 connectionpoints). Need to do seperate changes in polyshape, too,
15827 rather than reuse the bezier changes.
15829 2000-04-13 James Henstridge <james@daa.com.au>
15831 * lib/dia_image.c (dia_image_draw): use the new enumeration values
15832 from after the gdk-pixbuf cleanup.
15834 * lib/geometry.c (bez_point_distance_and_ray_crosses): fix up limit
15835 on for loop. Last set of coefficients were not beeing calculated,
15836 which caused a bit of breakage.
15838 * lib/bezier_conn.c (bezierconn_closest_segment): use the new
15839 functions in geometry.c for calculating the closest segment.
15840 (bezierconn_distance_from): use distance_bez_line_point to calculate
15843 * lib/geometry.c (distance_bez_line_point): new function to calculate
15844 the distance from an open bezier line to a point.
15845 (distance_bez_shape_point): new function to calculate the distance
15846 from a closed bezier shape.
15847 (distance_ellipse_point): new function to calculate the distance from
15848 a filled ellipse to a point.
15850 * lib/geometry.h (BezPoint): moved this structure here from render.h
15852 2000-04-12 James Henstridge <james@daa.com.au>
15854 * lib/geometry.c (distance_bez_seg_point): new function to calculate
15855 the distance from a bezier segment.
15857 * lib/polyshape.c (polyshape_distance_from): use distance_polygon_point
15858 to calculate the distance from the object.
15860 * lib/geometry.c (distance_polygon_point): function for calculating
15861 the distance from a polygon to a point.
15863 2000-04-12 Cyrille Chepelov <chepelov@calixo.net>
15866 * lib/sheet.[ch]: added a <br/> tag in sheet files, so that line
15867 breaks can be inserted in the tool box.
15869 * doc/sheet.dtd: updated the DTD
15870 * sheets/GRAFCET.sheet: tried <br/> on that sheet (more to come).
15872 2000-04-12 James Henstridge <james@daa.com.au>
15874 * app/plugin-manager.c (get_plugin_manager): use the GTK_DIALOG
15875 macro if the dialog is a GtkDialog :(
15877 2000-04-11 Lars Clausen <lrclause@shasta.cs.uiuc.edu>
15879 * objects/standard/polygon.c: Connectionpoints now properly
15880 managed in a GList. As far as I can tell, this will not dieturb
15881 the order (but I have the nagging doubt...)
15883 * lib/polyshape.c: No longer knows about connectionpoints.
15885 2000-04-11 James Henstridge <james@daa.com.au>
15887 * app/Makefile.am: fix makefile for bonobo build.
15889 * configure.in: fix checks for bonobo.
15891 * app/menus.c: added entries for the plugin manager.
15893 * app/Makefile.am (dia_core_files): added plugin manager to files
15896 * app/plugin-manager.[ch]: the plugin manager dialog.
15898 * app/display.c (display_update_menu_state): set the antialiased
15899 menu entry to the correct value.
15901 2000-04-11 Cyrille Chepelov <chepelov@calixo.net>
15903 * objects/custom/custom_object.c: not all renderers like ellipses with
15904 negative dimensions. This could cause ellipses to disappear when using
15905 the flip_h and flip_v functions.
15907 * samples/grafcet.dia: fixed speling and correctness.
15909 2000-04-11 James Henstridge <james@daa.com.au>
15911 * lib/plug-ins.[ch]: added more accessors for use by a plugins dialog.
15912 exposed the dia_plugin_load and dia_plugin_unload functions.
15914 * lib/plug-ins.c (plugin_load): change plugin_load to work on an
15915 already created PluginInfo structure.
15917 * app/app_procs.c (app_exit): call dia_pluginrc_write() to write
15920 * lib/sheet.c: fix up call to dia_config_filename.
15922 * lib/plug-ins.[ch]: started writing code for handling a pluginrc
15923 file. This would save information such as which plugins not to
15924 load during startup.
15926 2000-04-09 James Henstridge <james@daa.com.au>
15928 * lib/sheet.c: use dia_config_filename to resolve file in ~/.dia.
15930 2000-04-10 Alexander Larsson <alla@lysator.liu.se>
15932 * lib/plug-ins.c (dia_register_plugins):
15933 Don't free the value returned from g_getenv.
15935 2000-04-09 Anders Carlsson <andersca@gnu.org>
15937 * app/preferences.h: Add reverse_rubberbanding_intersects preference variable.
15939 * app/preferences.c (prefs_data): Add reverse_rubberbanding_intersects preference data.
15941 * app/modify_tool.c (modify_button_release): If rubberbanding is done from
15942 right to left, select objects that intersect the rubberbanding rectangle
15943 instead of selecting objects that are in the rectangle.
15945 * lib/diagramdata.c (layer_find_objects_intersecting_rectangle): Add function.
15947 * lib/diagramdata.h: Likewise.
15950 2000-04-09 James Henstridge <james@daa.com.au>
15952 * lib/plug-ins.[ch]: add copyright messages to files.
15954 * plug-ins/cgm/cgm.c (dia_plugin_init): convert plugin over to new
15957 * objects/sybase/sybase.c (dia_plugin_init):
15958 * objects/network/network.c (dia_plugin_init):
15959 * objects/flowchart/flowchart.c (dia_plugin_init):
15960 * objects/custom/custom.c (dia_plugin_init):
15961 * objects/chronogram/chronogram.c (dia_plugin_init):
15962 * objects/UML/uml.c (dia_plugin_init):
15963 * objects/SADT/sadt.c (dia_plugin_init):
15964 * objects/GRAFCET/grafcet.c (dia_plugin_init):
15965 * objects/FS/fs.c (dia_plugin_init):
15966 * objects/ER/er.c (dia_plugin_init): updated plugin load code for
15969 * objects/standard/standard.c (dia_plugin_init): change over to new
15972 * lib/plug-ins.h (DIA_PLUGIN_CHECK_INIT): added a macro to define
15973 the version checker for plugins.
15975 * app/app_procs.c: remove plugin loading code from here, and use
15976 code from plug-ins.[ch]. Also move registration of internal
15977 objects/filters to a `builtin' plugin.
15979 * lib/Makefile.am (libdia_a_SOURCES): added plug-ins.[ch] to library.
15981 * configure.in: use AC_PROG_LIBTOOL rather than AM_PROG_LIBTOOL.
15983 * app/Makefile.am (EXTRA_DIST): you can't include a conditionally
15984 defined variable in EXTRA_DIST.
15986 * app/preferences.h: removed dia_config_filename from header.
15988 * app/preferences.c: removed dia_config_filename function.
15990 * lib/dia_dirs.c (dia_config_filename): moved function over to this
15991 file. Also changed implementation slightly so that it should work
15992 on the win32 port correctly (and use NT home directories).
15994 * lib/dia_dirs.h (dia_config_filename): move dia_config_filename where
15995 it should have been.
15997 * lib/plug-ins.[ch]: new plugin loading code.
15999 2000-04-08 Lars Clausen <lrclause@shasta.cs.uiuc.edu>
16001 * objects/standard/polygon.c: Fixed startup crash bug (do'h!).
16003 * lib/polyshape.c: Fix closest segment finding, exposes deeper
16004 bugs in adding corners to 'wraparound' segment.
16006 * objects/standard/polygon.c: Added connection points (fixed so
16007 far), set menu sensitivity.
16009 * lib/polyshape.c: Changed to box-style handles, fixed for start
16010 and ends not being special, added initial connections,
16012 * lib/dummy_dep.h: Added polyshape (gotcha!)
16014 * objects/standard/pixmaps/ellipse.xpm:
16015 * objects/standard/pixmaps/box.xpm:
16016 Filled element pixmaps with white.
16019 * objects/standard/polygon.c:
16021 * objects/standard/standard.c:
16022 * objects/standard/Makefile.am (libstandard_objects_la_SOURCES):
16023 * lib/Makefile.am (libdia_a_SOURCES):
16025 * app/interface.c (tool_data):
16026 Added Standard/Polygon object and PolyShape lib object. Still
16027 needs inside grab and connection points.
16029 * app/commands.c (help_about_callback): Now uses gdk-pixbuf if
16032 * configure.in: Made imlib a fallback if gdk-pixbuf is absent or
16035 * app/app_procs.c (app_init): Moved gtk_init outside #ifdef, moved
16036 if (argv) outside ifdefs.
16038 2000-04-04 Lars Clausen <lrclause@shasta.cs.uiuc.edu>
16040 * objects/standard/image.c (image_set_props):
16041 Aspect ratio is back in town.
16043 * app/Makefile.am (dia_LDADD):
16046 Check for gdk_pixbuf (by default disabled, for now)
16048 * app/render_eps.c (draw_image):
16049 * app/render_libart.c (draw_image):
16050 * app/render_gnomeprint.c (draw_image):
16051 Support for alpha mask in rendering. Color postscript, too.
16055 Support for gdk_pixbuf and proper masking for exports.
16057 2000-04-01 Kjartan Maraas <kmaraas@online.no>
16059 * sheets/*.sheets: Updated Norwegian translations.
16061 2000-03-30 Lars Clausen <lrclause@shasta.cs.uiuc.edu>
16063 * lib/text.c (text_insert_char):
16064 * lib/render_store.c (add_data):
16065 Made realloc double the alloced space rather than add
16066 a fixed amount, to reduce memory stress.
16068 * app/select.c: Added new select method 'Transitive'
16069 that select every reachable (by connections) object.
16071 2000-03-27 Kjartan Maraas <kmaraas@online.no>
16073 * dia.desktop: Added Norwegian translation.
16075 2000-03-26 Alexander Larsson <alla@lysator.liu.se>
16077 * app/render_eps.c:
16078 * app/render_svg.c:
16079 Don't dereference NULL pointer if the renderer
16080 couldn't open the file. Fix by Lars Clausen.
16081 Bug reported by Martin Chisholm <b1mt@unb.ca>
16083 2000-03-26 Alexander Larsson <alla@lysator.liu.se>
16087 Updated pt translation from Pedro Morais <pmmm@rnl.ist.utl.pt>
16089 2000-03-25 Alexander Larsson <alla@lysator.liu.se>
16091 * app/dia.gnorba (location_info):
16092 Changed to correct executable name.
16094 2000-03-25 Alexander Larsson <alla@lysator.liu.se>
16097 Don't do any argument parsing or initialization
16100 * app/dia_embedd.c:
16101 Call init_server_factroy before app_init.
16102 Call app_init with argv==NULL
16103 Now we don't get any critical error on startup.
16106 Add Electric and Pneumatic to makefile list.
16108 2000-03-24 Cyrille Chepelov <chepelov@calixo.net>
16110 * shapes/Electric/*:
16111 * sheets/Electric.sheet:
16112 Add some Electric circuit shapes.
16114 * shapes/Pneumatic/*:
16115 * sheets/Pneumatic.sheet:
16116 Add some Pneumatic & Hydraulic circuit shapes
16117 (both sheets are still incomplete, though feature enough
16118 things for basic circuits).
16120 * shapes/Contact/l_*.(xpm|shape):
16121 * sheets/Contact.sheet
16122 * shapes/Contact/Makefile.am
16123 made the older electric circuit shapes in Contact obsolete (disabled
16124 them in the sheet, made that sheet Ladder only). Fixed the makefile
16125 for forgotten items.
16127 2000-03-24 Alexander Larsson <alla@lysator.liu.se>
16130 Add support for Dia bonobo component.
16131 Currently a bit raw, so it's commented out.
16133 * app/dia_embedd.c:
16135 New files for embedding dia.
16136 The menu disabling hack is a bit gross. Esp. for GNOME.
16139 Add new function app_is_embedded();
16142 Don't destroy diagram when last display is destroyed if embedded.
16145 Change initialization of display so it works with embedding.
16148 Clarify comment about display destruction.
16150 * app/interface.[ch]:
16151 Added top_level_window argument to create_display_shell.
16152 Don't open a top-level window if embedding.
16153 Don't quit app if trying to close toolbox window when embedding.
16154 Add toolbox_show() and toolbox_hide().
16157 Added app_is_embedded() function (just returns false).
16158 Added toolbox_show() call in main().
16161 Added code for getting toolbox menus. This is used to
16162 hide some menu items when running embedded.
16165 Include sheet.h to remove warning.
16167 * objects/UML/association.c:
16168 Clarify association direction text.
16170 2000-03-16 Fredrik Hallenberg <hallon@lysator.liu.se>
16173 Fixed man page so whatis parsing works.
16175 2000-03-12 Alexander Larsson <alla@lysator.liu.se>
16177 * app/render_libart.c (new_libart_renderer):
16178 Fix from segg <segg@infonet.ca> to compile without libart.
16179 I forgot to change the stub for new_libart_renderer when doing
16180 the interactive renderer stuff for libart.
16182 2000-03-11 Alastair McKinstry <mckinstry@computer.org>
16184 * dia.desktop: Added Irish translation.
16186 * configure.in (ALL_LINGUAS): Added Irish (ga) translation.
16188 2000-03-07 Asbjorn Pettersen <asbjornP@dualog.no>
16190 * app/load_save.c (fchmod): OS/2 defines only.
16192 2000-03-07 James Henstridge <james@daa.com.au>
16194 * lib/properties.c (prop_get_widget): set the position in the option
16197 2000-03-06 Alexander Larsson <alla@lysator.liu.se>
16200 * app/export_png.c:
16201 * app/render_libart.[ch]:
16202 Don't export png:s with an interactive libart renderer.
16204 2000-03-03 Asbjorn Pettersen <asbjornP@dualog.no>
16206 * lib/arrows.c (finite): define finite(d) isfinite(d) for OS/2
16208 2000-03-02 James Henstridge <james@daa.com.au>
16210 * dia.spec (%build): unset LINGUAS before running configure. This
16211 ensures that all translations get included in the RPM.
16213 * lib/properties.c (object_create_props_dialog): put in a check for
16214 a NULL return from the describe_props() object method.
16215 (prop_desc_lists_union): make sure that the returned array is not
16217 (prop_desc_lists_intersection): same here.
16219 2000-02-29 Alexander Larsson <alla@lysator.liu.se>
16221 * objects/ER/Makefile.am:
16222 * objects/FS/Makefile.am:
16223 * objects/UML/Makefile.am:
16224 Don't link object libs with gtk.
16226 2000-02-29 James Henstridge <james@daa.com.au>
16228 * app/preferences.c (prefs_save): check to see if the file could
16229 be opened before writing the prefs.
16231 * app/disp_callbacks.c (popup_object_menu): pass the button event
16232 to gtk_menu_popup. This allows you to click and release to open
16234 (ddisplay_canvas_events): same here.
16235 (create_object_menu): set the object type menu item in the object
16236 menu to be insensitive.
16238 * app/render_svg.c (draw_string): call xmlEncodeEntitiesReentrant,
16239 as we are now requiring a new version of libxml.
16241 * dia.spec: updated version number. Added requirement for
16244 * configure.in: incremented version number to 0.84.
16245 Added check for libxml >= 1.8.5. This will prevent some of the
16246 problems people have had with broken libxml versions.
16248 * NEWS: added news items.
16250 * app/interface.c (create_color_area): removed call to realize parent
16251 widget. Segg <segg@infonet.ca> reported that it caused a warning,
16252 but I haven't seen it on my copy of dia.
16254 2000-02-28 James Henstridge <james@daa.com.au>
16256 * app/export_png.c: added copyright notice, and made the band height
16259 2000-02-27 Alexander Larsson <alla@lysator.liu.se>
16261 * lib/font.c (suck_font):
16262 Fixed off-by one bug in font pixmap height.
16263 Fixes the problem with garbage at the bottom of some text in aa mode
16264 and in png exported files.
16266 2000-02-27 James Henstridge <james@daa.com.au>
16268 * app/app_procs.c: add the png export filter if it was compiled in.
16270 * app/export_png.c (export_png): new PNG export filter. This requires
16271 the libart renderer to work as it needs a renderer that renders to a
16274 * configure.in: add check for libpng.
16276 * lib/message.c (message_internal): use a GNOME dialog here as well.
16278 * app/display.c (ddisplay_close): use a GNOME dialog here.
16280 * app/render_eps.c (create_eps_renderer): use diagram scaling factor
16281 when exporting to EPS. This is because some people said the EPS
16282 output was too large
16284 2000-02-26 James Henstridge <james@daa.com.au>
16286 * app/defaults.c (create_dialog): use a GNOME dialog for the defaults
16289 * app/app_procs.c (app_exit): use a GNOME dialog here.
16291 * app/preferences.c (prefs_create_dialog): if GNOME support is
16292 enabled, show a GNOME dialog.
16294 * app/grid.c (grid_draw): use preferences when drawing page break
16297 * app/preferences.c: add page break preferences to dialog.
16299 * app/preferences.h: added page break preferences.
16301 2000-02-25 James Henstridge <james@daa.com.au>
16303 * sheets/UML.sheet: added new objects.
16305 * objects/UML/uml.c: link in the two new objects.
16307 * objects/UML/node.c:
16308 * objects/UML/branch.c: new UML objects from Stfan Seefeld
16309 <seefelds@magellan.umontreal.ca>.
16311 2000-02-24 James Henstridge <james@daa.com.au>
16313 * objects/custom/custom_object.c: converted to use the properties
16314 interface. In the future, it would be nice to add support for
16315 defining custom properties for custom objects, but that can wait.
16317 2000-02-22 James Henstridge <james@daa.com.au>
16319 * sheets/Circuit.sheet: added new circuit shapes to sheet.
16321 * plug-ins/cgm/cgm.c: cgm plugin updates from Henk Jan Priester
16322 <hj@justcroft.com>. Fixes number encoding, colour encoding, fonts
16323 and adds a few new features.
16325 2000-02-21 Daniel Egger <egger@suse.de>
16327 * sheets/*.sheets: Added German translations and made some
16328 corrections to the others.
16330 2000-02-21 James Henstridge <james@daa.com.au>
16332 * shapes/Circuit/Makefile.am (SHAPES): added new shapes to list.
16334 * shapes/Circuit/...: added new shapes from Erik Janssens.
16336 2000-02-20 James Henstridge <james@daa.com.au>
16338 * app/interface.c (create_color_area): realize the parent window
16341 * objects/standard/image.c: properties patch for standard image
16342 object, from Lars Clausen.
16344 * lib/properties.c: support for PROP_TYPE_FILE from Lars Clausen.
16346 * lib/properties.h (PropType): added file property type.
16348 * shapes/Circuit/speaker_de.xpm: changed size of pixmap to match
16351 * app/interface.c: use wrap box for toolbox.
16353 * app/Makefile.am: added new files.
16355 * app/gtk*wrapbox.[ch]: added wrap box widget.
16357 2000-02-19 James Henstridge <james@daa.com.au>
16359 * sheets/network.sheet: added extra shapes to networks sheet.
16361 * configure.in (AC_OUTPUT): added shapes/network/Makefile
16363 * shapes/network/*: added shapes that were posted to the list a while
16366 * shapes/Makefile.am (SUBDIRS): added network subdirectory
16368 * app/menus.c (toolbox_menu_items): don't right justify help menu for
16369 gtk+ version of menus.
16371 * app/properties.c (create_dialog): use a GnomeDialog if we happen
16374 2000-02-18 James Henstridge <james@daa.com.au>
16376 * objects/flowchart/box.c: set extra data for corner radius and text
16377 padding properties.
16379 * objects/standard/box.c: set extra data for corner radius property.
16381 * lib/properties.h: set extra data in some standard properties.
16383 * lib/properties.c (prop_get_widget): look at the extra data for
16384 int, real and enum property types. They now use GtkSpinButton and
16385 GtkOptionMenu respectively.
16387 * lib/properties.h: extra data members for creating property setting
16390 2000-02-17 James Henstridge <james@daa.com.au>
16392 * objects/flowchart/box.c: reverted load/save functions back to
16393 previous implementations. Made box use standard property names.
16395 * plug-ins/cgm/cgm.c (set_linestyle): was missing a */
16397 * app/grid.c: add more digits to the grid edit dialog. This patch
16398 was also from Lars Clausen.
16400 * objects/standard/zigzagline.c:
16401 * objects/standard/textobj.c:
16402 * objects/standard/polyline.c:
16403 * objects/standard/line.c:
16404 * objects/standard/ellipse.c:
16405 * objects/standard/box.c:
16406 * objects/standard/bezier.c:
16407 * objects/standard/arc.c: patches to add properties code to standard
16408 objects. Based on patches from Lars Clausen. I have also removed
16409 some dead code from the files.
16411 * lib/properties.h (PROP_STD_*): define a number of standard
16412 properties. Where appropriate, objects should include these
16413 properties in their PropDescription list. This way, the intersection
16414 of properties of two different shapes will be greater.
16416 2000-02-14 James Henstridge <james@daa.com.au>
16418 * objects/flowchart/box.c (box_load, box_save): use property save
16419 routines. Make sure that any props not handled by object_load_props
16420 are loaded before calling object_load_props, or we get errors because
16421 update_data is called.
16423 * lib/properties.c (object_get_props_from_offsets): fixed an indexing
16424 error that could cause properties to be loaded incorrectly.
16425 (object_set_props_from_offsets): similar here.
16427 * lib/properties.[ch] (prop_{load,save}): functions for loading
16428 or saving a property in Dia's XML file format.
16429 (object_{load,save}_props): load or save some properties of an
16430 object. These functions should help simplify the load/save methods
16431 of objects that implement the properties interface.
16433 2000-02-13 James Henstridge <james@daa.com.au>
16435 * objects/flowchart/box.c: use offset code to simplify property
16438 * lib/element.h (ELEMENT_COMMON_PROPERTIES): standard element
16440 (ELEMENT_COMMON_PROPERTIES_OFFSETS): offsets.
16442 * lib/object.h (OBJECT_COMMON_PROPERTIES): list of standard object
16444 (OBJECT_COMMON_PROPERTIES_OFFSETS): the offsets of the properties.
16446 * lib/properties.[ch] (object_{get,set}_props_from_offsets): new
16449 2000-02-12 Alexander Larsson <alla@lysator.liu.se>
16452 Add the custom object to DIA_LIB_PATH in run_dia.sh
16454 2000-02-10 Cyrille Chepelov <chepelov@calixo.net>
16456 * sheets/Circuit.sheet:
16457 * shapes/l_sout* (NEW):
16458 * shapes/l_outj.* (NEW): added new outputs : jump, and the power-saved
16459 variants of simple, inverted, set and reset outputs.
16460 Still to do: all Schneider/Telemecanique TSX *7 function blocks ;
16461 probably a split of Contact and Ladder sheets. And then a major
16462 revamping of the Contact sheet.
16464 2000-02-10 James Henstridge <james@daa.com.au>
16466 * app/Makefile.am (dia_LDADD): don't link with libcustom_objects.
16468 * app/app_procs.c (register_all_objects): don't explicitely
16469 register the custom objects library -- let it be loaded by the
16470 normal plugin loading methods.
16472 * lib/Makefile.am (libdia_a_SOURCES): don't include custom.h here.
16474 * objects/custom/Makefile.am: build libcustom_objects as a shared
16477 * objects/custom/shape_info.[ch]: don't read the description field
16478 of custom shapes. It makes more sense to have these in the sheet
16479 file to localise the parts of dia that translators have to deal
16482 * objects/custom/custom_object.c (custom_object_new): do not
16483 create the sheet object for the new custom shape -- this is
16484 handled by the custom sheet code.
16486 * objects/custom/custom.c: change over to being a normal plug-in
16487 rather than being linked with the main dia executable.
16489 2000-02-09 James Henstridge <james@daa.com.au>
16491 * sheets/Circuit.sheet:
16492 * sheets/Flowchart.sheet:
16493 * sheets/Contact.sheet: fixed up sheets.
16495 * objects/custom/custom_object.c (custom_object_new): set the
16496 extra ObjectType fields.
16498 * lib/sheet.c: use extra ObjectType fields when creating sheet
16499 objects. Give a warning if <shape> tags are found in a sheet
16500 file. Now the custom sheet code does not know about custom
16501 shapes -- they look like any other object type.
16503 * lib/object.h (ObjectType): added extra members
16505 2000-02-08 Alexander Larsson <alla@lysator.liu.se>
16507 * app/linewidth_area.c:
16508 Added code to set arbitrary line width.
16509 Patch by Lars Clausen <lrclause@cs.uiuc.edu>
16511 2000-02-08 Alexander Larsson <alla@lysator.liu.se>
16513 * app/linewidth_area.c:
16515 Add support for font-sucking.
16516 Implementation borrowed from gnome-canvas.
16518 * app/render_libart.[ch]:
16519 Implement text rendering.
16521 2000-02-07 Alexander Larsson <alla@lysator.liu.se>
16523 * app/properties.c (create_dialog):
16524 ref and sink no_properties_dialog.
16526 2000-02-07 James Henstridge <james@daa.com.au>
16528 * app/group.c (group_describe_props): new function. Return the
16529 intersection of the properties of the contained objects that
16530 implement the describe_props interface.
16531 (group_get_props): implement by iterating through contained objects
16532 and calling their get_props method until all properties have been
16533 set. Maybe this should go through all objects all the time??
16534 (group_set_props): implement by calling set_props method on all
16536 (group_ops): use standard props dialog creation routines.
16538 * lib/properties.c (prop_desc_lists_intersection): fix implementation
16539 of intersection -- I was using i++ instead of i-- in a for loop :(
16541 * objects/custom/custom.c (custom_register_objects): fix usage
16542 of dia_get_data_directory again.
16544 * lib/sheet.c: fix up use of dia_get_data_directory, so that we
16545 actually read the sheets.
16547 2000-02-06 Alexander Larsson <alla@lysator.liu.se>
16549 Win32 port by Hans Breuer <Hans@Breuer.org>
16552 Remove DATADIR and LIBDIR defines.
16555 Add dia_dirs.c and dia_dirs.h
16556 Added DATADIR and LIBDIR defines.
16558 * lib/dia_dirs.[ch]:
16559 New files for handling special directories.
16564 * objects/custom/custom.c:
16565 Fix warnings. Use directory functions.
16568 Add prototype for diagram_redraw_all.
16570 * app/diaunitspinner.c:
16573 * app/preferences.c:
16577 Win32 doesn't have mkstemp and fchmod.
16579 * app/paginate_psprint.c:
16580 Win32 calls popen _popen and pclose _pclose.
16583 Win32 calls finite _finite.
16586 Win32 needs to dllexport the color vars.
16588 * objects/GRAFCET/step.c:
16589 * objects/chronogram/chronoref.c:
16590 snprintf -> g_snprintf
16592 2000-02-05 James Henstridge <james@daa.com.au>
16594 * lib/properties.c: more fixes so that it doesn't crash when using
16595 properties. The undo/redo stuff also works!!
16597 * objects/flowchart/box.c (box_{describe, get, set}_props): test
16598 object where I have implemented the new properties interface
16599 complete with automatic properties dialog generation.
16601 * lib/properties.c (object_apply_props): fixed stupid error when
16602 creating the old_props array. Also, it no longer frees the props
16603 array -- you will have to do that yourself.
16605 2000-02-04 James Henstridge <james@daa.com.au>
16607 * app/properties.c (properties_apply): pass object_part to
16610 * lib/object.h (ApplyPropertiesFunc): added widget argument.
16612 * lib/lazyprops.h (PROPDLG_CREATE): ref and sink properties dialogs
16613 created this way as well.
16615 * objects/*/*.c: ref and sink the properties dialog window for each
16616 widget. It can't rely on ref count being incremented by
16617 properties_show anymore.
16619 * app/properties.c (properties_show): don't ref the widget before
16620 removing it, or its ref count will increase each time you open the
16621 properties dialog. Don't unparent the widget, as container_remove
16624 * lib/object.h: fixed up prototypes for new object methods.
16626 * lib/properties.[ch]: added functions for automatically creating
16627 a properties dialog from the output of describe_props, get_props and
16629 (object_apply_props): apply properties and return an ObjectChange
16630 structure that can be used for undo.
16632 2000-02-03 Cyrille Chepelov <chepelov@calixo.net>
16634 * objects/GRAFCET/transition.c: minor leak plugged.
16636 * sheets/GRAFCET.sheet:
16637 * objects/GRAFCET/pixmaps/condition.xpm: (NEW)
16638 * objects/GRAFCET/condition.c: (NEW) added a new object type, action
16640 * objects/GRAFCET/Makefile.am: fixed incorrect dependencies, added
16641 new ones (for condition.c).
16642 * objects/GRAFCET/action.c: added connection points for the conditions.
16643 * samples/grafcet.dia: updated the sample to improve conformance to
16644 IEC 848 and take advantage of dia's new features.
16646 * lib/geometry.h: (point_get_normed) fixed a typo.
16648 2000-02-02 James Henstridge <james@daa.com.au>
16650 * lib/object.h: added object functions describe_props, get_props and
16651 set_props. Do type definitions so that object.h doesn't need to
16652 include properties.h, since properties.h includes object.h.
16654 * lib/properties.[ch]: more hacking.
16656 * po/de.po: updated po file.
16658 2000-01-30 James Henstridge <james@daa.com.au>
16660 * configure.in: don't add flags to CFLAGS unconditionally. Instead,
16661 check to see if the C compiler accepts the flag beforehand.
16663 * lib/properties.[ch]: start of properties code.
16665 * shapes/Contact/Makefile.am (SHAPES): fix up makefile.
16667 2000-01-30 Cyrille Chepelov <chepelov@calixo.net>
16669 * sheets/GRAFCET.sheet:
16670 * sheets/GRAFCET/etapemc.xpm: (NEW)
16671 * sheets/GRAFCET/etapesp.xpm: (NEW)
16672 * objects/GRAFCET/step.c: Added the macro and
16673 sub-program call step types.
16675 * objects/GRAFCET/receptivity.[ch]: renamed to
16676 objects/GRAFCET/boolequation.[ch].
16677 * objects/GRAFCET/transition.c: changed (Receptivity *) to
16680 * lib/connpoint_line.[ch]:
16681 * objects/chronogram/chronoline.c:
16682 * objects/chronogram/chronoref.c:
16683 * objects/GRAFCET/vergent.c:
16684 * objects/standard/line.c:
16685 * objects/SADT/box.c: Minor CPL interface changes, factored out the
16686 point count adjustment code into the CPL object.
16688 2000-01-29 Alexander Larsson <alla@lysator.liu.se>
16690 * app/render_libart.c:
16691 Added support for images and bezier curves.
16692 Only text/fonts missing now.
16694 * app/render_gdk.c:
16695 Removed old erronous comment.
16697 2000-01-29 Cyrille Chepelov <chepelov@calixo.net>
16699 * objects/chronogram/chronoline_event.c: removed references to
16700 lround(). Please don't insist, I'm already red of shame.
16702 2000-01-29 Alexander Larsson <alla@lysator.liu.se>
16704 * app/render_libart.[ch]:
16706 Non-finished libart renderer.
16709 Added HAVE_LIBART flag
16715 Call gdk_rbg_init().
16717 * app/connectionpoint_ops.c:
16718 * app/disp_callbacks.c:
16720 * app/handle_ops.c:
16722 * app/modify_tool.c:
16723 Change ddisp->renderer type from RendererGdk * to Renderer *
16724 Draw zoom and select rects in ddisp->canvas->window instead
16725 of ddisp->renderer->renderer->pixmap.
16727 * app/display.[ch]:
16728 Add aa_renderer to DDisplay, and support for it.
16729 New function ddisplay_set_renderer() for changing renderer.
16730 Add ddisplay_transform_coords_double() function, used by aa renderer.
16731 Change ddisp->renderer type from RendererGdk * to Renderer *
16734 Add antialias to menu.
16736 * app/commands.[ch]:
16737 add view_aa_callback function
16738 Change ddisp->renderer type from RendererGdk * to Renderer *
16740 * lib/geometry.[ch]:
16741 Added IntRectangle and int_rectangle_union.
16743 2000-01-28 James Henstridge <james@daa.com.au>
16745 * app/commands.h: removed prototypes.
16747 * app/commands.c: removed the functions that have been moved to
16750 * app/filedlg.h: added new prototypes.
16752 * app/filedlg.c (file_open_callback): move open dialog to this
16753 file. This implementation should remember the current directory
16754 between file loads.
16755 (file_save_as_callback): moved this dialog as well.
16756 (file_save_callback): moved this function here.
16758 * app/paginate_psprint.c (paginate_psprint): if not in fit to mode,
16759 align page boundaries to the origin.
16761 * app/diagram.c (diagram_update_extents): redraw the diagram if the
16762 scaling factor changes while updating the extents. This is so the
16763 page breaks get redrawn correctly.
16765 * app/pagesetup.c (pagesetup_apply): added diagram_flush call when
16768 * app/grid.c (grid_draw): draw page breaks as well as grid lines.
16769 For normal mode, use (0,0) as the origin. For `fit to' mode, use
16770 the corner of the bounding box.
16772 * app/pagesetup.c (create_page_setup_dlg): load new paper attributes
16773 into page setup dialog.
16774 (pagesetup_apply): apply new `fit to' attributes to the diagram.
16776 * app/load_save.c (diagram_load): load new paper `fit to' attributes.
16777 (diagram_data_save): save `fit to' data.
16779 * lib/diagramdata.c (new_diagram_data): initialise `fit to' members.
16780 (data_update_extents): when in `fit to' mode, update scale factor
16781 when we update the extents.
16783 * lib/diagramdata.h (PaperInfo): added `fit to' members to PaperInfo
16786 * .../.cvsignore: added some cvsignore files to quieten cvs.
16788 * app/pagesetup.c (pagesetup_changed): added code to change the
16789 scaling/fit to values as you change the options in the page setup
16790 dialog. I haven't added code so that the fit to options are saved
16793 * app/diapagelayout.[ch]: changed the scaling portion of the widget
16794 to make it easier to set a `fit to' style scaling factor.
16796 2000-01-27 Cyrille Chepelov <chepelov@calixo.net>
16797 * lib/neworth_conn.[ch]: (NEW) Temporary (hopefully) fork of orth_conn,
16798 but connpoint_line-based, so that there's a connection point at the
16799 middle of each segment. Currently only the SADT arrow uses this.
16801 * objects/SADT/* (NEW): SADT (both idf0 and idf1) support.
16803 2000-01-26 Cyrille Chepelov <chepelov@calixo.net>
16804 * lib/lazyprops.[ch]:(NEW) Added a bunch of macros for loading,
16805 saving and editing of properties (and default properties).
16806 See the new objects (GRAFCET, SADT, chonograms) for examples.
16807 For already too hairy stuff, see objects/chronogram/chronoline.c.
16809 * lib/connpoint_line.[ch] (NEW): This subobject manages a line of
16810 evenly spaced connection points, which the user can add or remove at
16811 will. An object can own several connection point lines. See the SADT
16812 Box, or the GRAFCET vergents for examples.
16814 * lib/dummy_dep.h: added dependencies to new files. Told gcc to keep
16815 quiet about unused stuff.
16817 * objects/GRAFCET (NEW):
16818 * samples/grafcet.dia (NEW):
16819 Added support for GRAFCET charts.
16821 * objects/chronogram (NEW):
16822 * samples/chronograms.dia (NEW):
16823 Added support for chronograms (feature requested by Ronald L. Chichest;
16824 I found I'd use it often, too).
16826 * objects/standard/line.c: Replace the middle connectionpoint by
16827 a whole connection point line, which defaults to one point (hint,
16828 hint). New Line object menu to take advantage of this.
16829 "Bothwards" compatibility is preserved (although you may loose
16830 connections if you load a newer file in a older dia).
16832 * app/lineprops_area.c:
16834 * lib/widgets.c: Added hollow and filled ellipse arrow head type.
16835 (feature requested by Benjamin Kahn).
16836 Merged in Steffen Macke's slashed arrow head type.
16838 * app/Makefile.am (app/run_dia.sh actually):
16839 Added $DEBUGGER in front of dia's invocation, so that
16840 you can call "DEBUGGER=ddd app/run_dia.sh" (maybe naive, but useful).
16841 Added $(EFENCE) to app/dia's LDFLAGS, so that you can do
16842 "EFENCE=-lefence" to link with Electric Fence.
16844 * configure.in: Made gcc do more aggressive optimisations on i386, and
16847 2000-01-24 James Henstridge <james@daa.com.au>
16849 * lib/geometry.[ch]: added inline versions of functions. Used
16850 glib's G_INLINE_FUNC stuff, so it should still work on systems
16851 without inline funcs.
16853 * plug-ins/cgm/cgm.c (draw_ellipse, fill_ellipse): fixed up so that
16854 it outputs the correct element id for the ellipse objects.
16856 2000-01-24 Cyrille Chepelov <chepelov@calixo.net>
16858 * lib/object.[ch]: added object_add_connectionpoint_at, similar to
16859 object_add_handle_at. Message typo fixed.
16861 * lib/sheet.c (load_register_sheet):
16862 potential bug fixed (warning hunt).
16864 * objects/custom/custom.c (custom_object_load): disabled an assertion
16865 which made dia abort upon failure to load a shape file. Fixed a
16868 * objects/custom/shape_info.c (load_shape_info): Made the custom
16869 shape load code ignore XML comments between <?xml ...?> and the
16870 root object (mostly useful to put the emacs magic comments).
16872 * app/load_save.c: Made dia do backup copies of files when saving,
16873 and complain in case of failure.
16875 2000-01-24 Cyrille Chepelov <chepelov@calixo.net>
16877 * AUTHORS: fixed my address (ISP thought it was a great idea to change
16882 * shapes/Contact/*:
16883 * sheets/Contact.sheet:
16884 * sheets/Makefile.am:
16885 Added support for Contact and LADDER charts.
16887 * dia.desktop: Added a French translation.
16889 2000-01-23 James Henstridge <james@daa.com.au>
16891 * app/commands.c (help_about_callback): don't die if can't load
16894 * app/render_gdk.c (bezier_add_lines): sanity check to try to weed
16895 out NaN's when performing bezier curve subdivision.
16897 * objects/custom/custom_object.c: initialise memory of Custom structs
16900 * app/render_svg.c (draw_image): added image support to the XML
16901 output filter. The image is just referenced, rather than being
16902 included inline, so if you copy the SVG file somewhere else, you
16903 may need to move the images or fix up the links.
16905 * plug-ins/cgm/cgm.c (draw_string): output a text colour element,
16906 so the text is not just displayed in black all the time.
16908 2000-01-15 Fredrik Hallenberg <hallon@lysator.liu.se>
16910 * configure.in: fixed libpopt test so we wont try to build with
16913 1999-12-18 Yuri Syrota <rasta@renome.rovno.ua>
16915 * configure.in: Added "uk" to ALL_LINGUAS.
16917 1999-12-24 James Henstridge <james@daa.com.au>
16919 * po/ru.po: updated russian translation from Valek Filippov.
16921 * app/render_svg.c (new_svg_renderer): make output use 19991203
16922 version of SVG DTD. Use viewBox to set the extents of the view.
16924 * INSTALL (FONTS): updated locations of gnome-xml and imlib. List
16925 ftp.gnome.org as the download.
16927 * TODO (TODO): weeded out completed todo items and added a few extra.
16929 * Makefile.am (EXTRA_DIST): added documentation to EXTRA_DIST.
16931 * doc/sheet.dtd: first stab at a DTD for the sheet files. It would
16932 be good to get rid of the object/shape distinction and separate
16933 the custom shape code out from the main application.
16935 * objects/custom/README, diagram.dtd: moved to new doc directory.
16936 Renamed the custom shapes README to custom-shapes. Also updated
16937 custom shape docs a bit and removed the section on sheet files, as
16938 that has changed a bit.
16940 * plug-ins/cgm/cgm.c (draw_image): give an error if the row length
16941 of the image data is larger than the maximum cell array. I should
16942 add code to break scan lines down further in this case, but for now
16943 an error message is better than an infinite loop.
16945 * app/filedlg.c (file_export_ok_callback): show a dialog if we
16946 couldn't determine the export filter to use.
16948 * app/commands.c (help_about_callback): fixed up about box logo
16949 expose bug. Now just use a GtkPixmap widget rather than a
16950 GtkDrawingArea and calling gdk_imlib_paste_image.
16952 * app/Makefile.am (EXTRA_DIST): added print stuff to extra dist,
16953 because automake does not always get things right.
16955 * configure.in: updated version number to 0.83.
16957 * app/preferences.c (prefs_save):
16958 * app/render_svg.c (new_svg_renderer): "wt" is not a valid flag string
16959 for fopen. Text is the default file mode anyway.
16961 * app/commands.c (file_save_as_dialog_ok_callback, file_new_callback):
16962 * app/grid.c (grid_x_update, grid_y_update, grid_show_dialog):
16963 * app/load_save.c (write_objects, write_connections):
16964 * app/filedlg.c (file_export_ok_callback):
16965 * lib/dia_xml.c (data_add_int, data_add_enum, data_add_real):
16966 * lib/dia_xml.c (data_add_point, data_add_rectangle):
16967 * lib/font.c (init_x11_font, font_get_gdkfont): changed calls to
16968 snprintf to calls to g_snprintf.
16970 * plug-ins/cgm/cgm.c (export_cgm): write the original dia file name
16971 as the picture name.
16973 1999-12-23 James Henstridge <james@daa.com.au>
16975 * plug-ins/cgm/cgm.c (write_int32, write_int16): fixed up output of
16976 negative numbers. This fixes the upside down text problem I was
16978 (draw_image): implemented the image code. It will try to split the
16979 image data up into bands if it is too big to fit into a single
16980 cgm cell array element. It will have problems if you try to insert
16981 an image wider than about 10,000 pixels though.
16983 * Makefile.am: use gnomedatadir for the files that need to be
16984 installed in gnome's datadir. This is mainly to help people doing
16985 packages for weird setups.
16987 1999-12-22 James Henstridge <james@daa.com.au>
16989 * plug-ins/cgm/cgm.c: added support for text. Now only images and
16990 beziers are left to do. The text seems to be the wrong way up
16991 still. This is probably a problem with character orientation
16992 element, but I have used what the settings given in the standard.
16993 Other than this, the CGMs dia produces are readable (and displayable)
16994 by ralcgm and corel draw.
16995 (draw_string): subtract from the X coord rather than the Y coord for
16996 center and right aligned text.
16998 * plug-ins/cgm/cgm.c: a few fixups for the output. Use REALSIZE as
16999 the size of a real number, and changed name of write_double to
17000 write_real. Consider changing to fixed real encoding. Also, now
17001 all element headers are correct. Once the real number encoding is
17002 fixed, only text, beziers and images are left to do.
17004 1999-12-21 James Henstridge <james@daa.com.au>
17006 * Makefile.am (SUBDIRS): recurse into plug-ins.
17008 * configure.in: add plug-ins directory makefiles to list.
17010 * plug-ins/cgm/cgm.c: start of cgm export filter. Beziers and text
17011 not done yet. Also, the output files are not quite correct.
17013 * app/render_eps.c (print_reencode_font): don't reencode the Symbol
17014 font. It doesn't work if you do.
17016 1999-12-20 James Henstridge <james@daa.com.au>
17018 * app/app_procs.c (app_init): don't use diagram_export_to_eps to
17019 export the files. Instead, use filter_guess_export_filter to
17020 guess the correct format to save in and use the appropriate filter.
17021 It defaults to postscript for compatibility.
17023 * app/diagram.[ch] (diagram_export_to_eps): removed export to eps
17026 * app/commands.[ch]: removed export to eps functions.
17028 * app/menus.c: removed export to eps menu items.
17030 * app/app_procs.c: register new export filters.
17032 * app/load_save.[ch]: define dia native export filter.
17034 * app/render_eps.[ch]: define eps export filter.
17036 * lib/filter.h: added diafilename argument to the DiaExportFunc
17037 prototype. This is useful for putting the source of the diagram
17038 into the output file for instance.
17040 * app/app_procs.c (app_init): register the SVG export filter. Have
17041 to get EPS code converted to this API, and maybe also allow saving in
17042 DIA's native format from the export dialog. In fact, it is now
17043 possible to load an export filter from a shared library and it will
17044 integrate into the interface correctly.
17046 * app/menus.c: removed references to the SVG renderer.
17048 * app/commands.[ch]: removed svg stuff.
17050 * app/diagram.[ch]: removed diagram_export_to_svg function.
17052 * app/render_svg.[ch]: added a DiaExportFilter structure for this
17055 * app/filedlg.[ch]: code for the new export diagram dialog. Will
17056 probably move the open/save dialogs to this file as well.
17058 1999-12-19 James Henstridge <james@daa.com.au>
17060 * lib/filter.[ch]: start of interface for generalised handling of
17061 filters. I have only done code for export filters so far. I still
17062 need to do the gui for this, and convert the current SVG and EPS
17063 filters to the new API.
17065 * lib/bezier_conn.c (bezierconn_copy): fix up copy operation. We
17066 weren't setting the last handle correctly. It was actually assigning
17067 to the wrong position in the handles array, so the last handle was
17068 left as NULL, which caused the segfault.
17070 * objects/standard/image.c (image_copy): modified routine so that
17071 it just adds a reference to the DiaImage structure in the new image
17072 object. This seems to have cleared up the problems with copying
17075 * dia.spec: spec file additions from John Gotts.
17077 1999-12-12 James Henstridge <james@daa.com.au>
17079 * configure.in (GNOME_LIBS): updated version number to 0.82. 0.82
17080 has not been released yet though.
17082 * Makefile.am (EXTRA_DIST): distribute diagram.dtd.
17085 The following based on a patch from Lars Clausen:
17087 * objects/standard/bezier.c (bezierline_move_handle): when performing
17088 the initial drag of the bezierline, move the control points to keep
17091 * lib/bezier_conn.c (bezierconn_add_segment): when adding a segment,
17092 make the new control points a bit closer to the major point.
17094 * app/create_object.c (create_object_motion): use HANDLE_MOVE_CREATE
17095 as the reason for the move.
17096 (create_object_button_release): use HANDLE_MOVE_CREATE_FINAL as the
17099 * lib/handle.h: new handle move reasons.
17101 1999-12-09 James Henstridge <james@daa.com.au>
17103 * dia.spec: include the new files in RPMs.
17105 * Makefile.am: install these new files.
17107 * dia.keys.in: file describing actions and icon for dia diagrams for
17108 use in the gnome file manager.
17110 * dia.mime: a file defining the application/x-dia-diagram mime type.
17112 * dia-diagram.png: an icon for dia diagrams.
17114 1999-12-08 James Henstridge <james@daa.com.au>
17116 * plug-ins/python/pydia-diagram.c: added heaps of new methods.
17118 * plug-ins/python/pydia-display.[ch]: wrapper for display.
17120 * objects/standard/ellipse.c: applied Lars's patch to optionally not
17121 draw the background of the ellipse.
17123 * app/load_save.c (read_connections): do some sanity checking on the
17124 handle and connection point numbers before performing the object
17127 * lib/bezier_conn.c (bezierconn_load): give the correct number of
17128 handles when loading a BezierConn.
17130 1999-12-07 Kjartan Maraas <kmaraas@online.no>
17132 * sheets/*.sheet: Finished Norwegian translations.
17134 1999-12-07 James Henstridge <james@daa.com.au>
17136 * plug-ins/python/diamodule.c (PyDia_Load): load diagram function.
17137 (PyDia_GetObjectType): find object type function.
17139 * plug-ins/python/pydia-diagram.c (PyDiaDiagram_Save): added a save
17140 method for diagrams.
17142 * plug-ins/python/pydia-object.c: added methods for DiaObject and
17145 * AUTHORS: added Lars and Cyrille to the authors file.
17147 * objects/standard/bezier.c (bezierline_add_segment_callback): place
17148 new point correctly.
17150 * lib/bezier_conn.h (bezierconn_closest_segment): fixed prototype.
17152 * lib/bezier_conn.c: applied Lars's patch for placement of the new
17153 point when adding a segment to a BezierConn.
17155 1999-12-06 James Henstridge <james@daa.com.au>
17157 * plug-ins/python/test.py: test script for the python plug-in.
17159 * plug-ins/python/python.c: this file contains the plug-in startup
17160 code for the python plugin. Right now, it just initialises the
17161 dia module and executes a script.
17163 * objects/standard/polyline.c (polyline_draw): fix start arrow size.
17165 * objects/standard/bezier.c (bezierline_draw): draw control lines for
17166 bezier curve if we are using an interactive renderer (ie. only if
17167 displaying to the screen).
17169 * lib/bezier_conn.[ch] (bezierconn_draw_control_lines): function
17170 to draw control lines on to a bezier curve. Based on implementation
17173 * objects/standard/bezier.c (bezierline_delete_segment_callback):
17174 calculate segment number using closest_segment rather than
17175 closest_handle. Sometimes the closest handle is part of a different
17177 (bezierline_draw): use correct size for start arrow.
17179 The next few entries are from Peter Moulder <reiter@netspace.net.au>:
17180 * lib/geometry.c (distance_line_point): added notes to documentation
17182 * app/object_ops.c (object_list_align_v):
17183 (object_list_align_h): fix of by one error when calculating free space
17184 for equal distance alignment.
17185 * app/menus.c (objects_align_h, objects_align_v): include align
17186 adjacent menu items in the gnome version of the menus.
17187 * app/diagram.c (diagram_update_menu_sensitivity): set sensitivity on
17188 align adjacent menu items correctly.
17191 * lib/dummy_dep.h (dummy_dep): added bezierconn to dummy dependency
17194 * objects/standard/bezier.c: converted bezierline to use BezierConn.
17195 Still a few bugs. It crashes on deleting line segments.
17197 * lib/Makefile.am (libdia_a_SOURCES): added BezierConn to libdia.
17199 1999-12-05 James Henstridge <james@daa.com.au>
17201 * lib/bezier_conn.[ch]: start of BezierConn object
17203 * app/interface.c: add bezierline to toolbox.
17205 * objects/standard/standard.c: initialise bezierline.
17207 * objects/standard/bezier.c: new object from Lars R. Clausen. I have
17208 made a few modifications to get it working nicely. It still needs
17209 a bit of work though. Maybe create a BezierConn object in lib.
17211 1999-12-02 James Henstridge <james@daa.com.au>
17213 * plug-ins/python/pydia-*.c: fixed compile errors in these files.
17215 * plug-ins/python/Makefile.am: tried building everything. It is
17216 building as a library at the moment. I will have to convert it
17217 to a libtool library and add some initialisation code.
17219 * plug-ins/python/diamodule.c: start of the dia module, using the
17220 other object wrappers. Not complete.
17222 1999-12-01 James Henstridge <james@daa.com.au>
17224 * plug-ins/python/pydia-object.c (PyDiaObject_GetAttr): implement
17225 the handles and connections attributes.
17227 * plug-ins/python/pydia-layer.c: added functions that use
17230 * plug-ins/python/pydia-handle.[ch]: wrapper for Handle's.
17232 * plug-ins/python/pydia-cpoint.[ch]: wrapper for ConnectionPoint's.
17234 * plug-ins/python/pydia-*.[ch]: starts of python scripting plug-in.
17235 I am currently wrapping the basic elements in the diagram in python
17236 objects -- nothing to see or play with yet.
17238 1999-11-30 Alexander Larsson <alla@lysator.liu.se>
17242 James Henstridge <james@daa.com.au> is now the maintainer of Dia.
17244 1999-11-29 Alexander Larsson <alla@lysator.liu.se>
17248 Added russian translation from Valek Filippov <frob@df.ru>
17250 1999-11-24 James Henstridge <james@daa.com.au>
17253 * sheet/ER/*: moved extra sheet pixmaps back to separate dirs as
17254 discussed with Alex. Also added extra makefiles so that make install
17257 1999-11-23 Alexander Larsson <alla@lysator.liu.se>
17259 * app/preferences.[ch]:
17261 Added snap to grid preference.
17262 Patch from Michael Leslie <mles@springboardwireless.com>
17264 1999-11-21 Alexander Larsson <alla@lysator.liu.se>
17270 * objects/custom/shape_info.c:
17271 All strings returned by libxml must be freed with free, not
17272 g_free, or there will be problems if you use memory debugging
17275 1999-11-21 Alexander Larsson <alla@lysator.liu.se>
17277 * app/create_object.[ch]:
17280 * app/commands.[ch]:
17282 * app/interface.[ch]:
17283 Reverted the tool menu patch. It has some 'issues'.
17284 I liked it though, so it'll probably return.
17286 1999-11-21 Alexander Larsson <alla@lysator.liu.se>
17288 Fixed a lot of memory leaks. Thanks to Bruce Mitchener
17289 <bruce@cybersight.com> for some purify runs and analysis.
17290 Also a great thank you to Owen Taylor for creating MemProf, a
17291 free memory leak detector that was used to find and verify a
17292 lot of these fixes.
17295 * app/paginate_psprint.c:
17296 * app/render_eps.[ch]:
17297 * app/render_svg.[ch]:
17301 Don't add a reference to ddisp->shell. Why was this done in
17308 Free all strings returned from xmlGetProp
17310 * app/modify_tool.c:
17313 * objects/custom/custom.c:
17314 Use closedir() after opendir().
17316 * objects/custom/shape_info.c:
17317 User g_free() instead of "if (tmp) free(tmp)".
17320 Add newline at end of file.
17323 1999-11-20 Alexander Larsson <alla@lysator.liu.se>
17325 Based on patch from Patrick Reynolds <reynolds@cs.duke.edu>
17326 Adds tool menu and keyboard shortcuts.
17328 * app/create_object.[ch]:
17329 Use tool_set() instead of tool_reset().
17330 create_create_object_tool() takes extra type argument
17336 Moved tool_data here, export it.
17337 Add separate tool type for all create objects tools.
17338 new functions tool_set().
17341 New callback tool_set_callback.
17344 Moved some pixmaps to interface.c.
17347 Remove tool_data array (moved to tool.c).
17348 Use the tool_data from tool.c.
17349 Remove modify_tool_button global var.
17351 1999-11-20 Alexander Larsson <alla@lysator.liu.se>
17353 Patch from Patrick Reynolds <reynolds@cs.duke.edu>
17356 Interprets command-line arguments as files to open even when
17357 HAVE_POPT is not defined.
17360 Shift-clicking when zooming zooms out, like the Gimp.
17363 Has hotkeys for zoom-100% and snap-to-grid.
17365 1999-11-17 James Henstridge <james@daa.com.au>
17367 * app/scroll_tool.c (scroll_motion): fixed shift style scrolling so
17368 that it is not jumpy.
17370 * app/Makefile.am (EXTRA_DIST): added extra files to extra dist list.
17372 * app/scroll_tool.c (scroll_motion): added `grabbing hand' type
17373 scrolling by pressing the shift key when using the scroll tool.
17375 * sheets/Makefile.am: fixed makefile so that install actually works
17376 if the directories $(pkgdatadir)/sheets/UML and $(pkgdatadir)/sheets/ER
17378 (SHEETS): install Circuit.sheet
17380 1999-11-15 Alexander Larsson <alla@lysator.liu.se>
17381 Patch from Cyrille Chepelov <chepelov@rmcnet.fr>
17383 * sheets/Circuit.sheet:
17386 * sheets/Flowchart.sheet:
17387 * sheets/UML.sheet:
17388 * sheets/network.sheet:
17389 * sheets/sybase.sheet:
17392 * sheets/Circuit.sheet:
17393 added some missing French translations
17396 killed the temporary sheet namespace
17398 * objects/custom/custom.c:
17399 obsolete comment cleaned up
17401 1999-11-12 Alexander Larsson <alla@lysator.liu.se>
17405 Added portugese translation from Pedro Morais
17406 <pmmm@rnl.ist.utl.pt>
17408 1999-11-11 Alexander Larsson <alla@lysator.liu.se>
17410 Changed all sheets to be specified in xml.
17411 All sheet objects removed from the C code.
17412 Patch from Cyrille Chepelov <chepelov@rmcnet.fr>
17417 Updated version to 0.81cvs.
17420 Update run_dia.sh with sheet-dir.
17423 Load all sheets on startup.
17424 Create sheet directory first time.
17425 Don't call custom_register_sheets().
17428 Add sheetdir define
17431 Remove custom_register_sheets().
17434 Add sheet loading code.
17436 * sheet/Circuit.sheet:
17439 * sheet/Flowchart.sheet:
17441 * sheet/network.sheet:
17442 * sheet/sybase.sheet:
17445 * sheet/ER/weakentity.xpm:
17446 * sheet/UML/aggregation.xpm
17447 * sheet/UML/umlclass_template.xpm
17448 Added sheet pixmaps.
17449 These are moved from their old places.
17451 * sheet/.cvsignore:
17455 Removed sheet objects and sheet registration.
17457 * objects/ER/Makefile.am:
17458 * objects/ER/pixmaps/weakentity.xpm:
17459 * objects/UML/Makefile.am:
17460 * objects/UML/pixmaps/aggregation.xpm:
17461 * objects/UML/pixmaps/umlclass_template.xpm:
17462 Removed alternative pixmaps. (Moved to sheet).
17464 * objects/custom/Makefile.am:
17465 * objects/custom/load_sheet.[ch]:
17466 Removed old sheet loading code.
17468 * objects/custom/custom.c:
17469 Load all shapes instead of sheets.
17470 Removed custom_register_sheets().
17472 * objects/custom/custom_object.c:
17475 * objects/custom/shape_info.[ch]:
17476 Added shape_info_getbyname().
17478 * objects/flowchart/Makefile.am:
17479 * objects/flowchart/collate.shape
17480 * objects/flowchart/delay.shape
17481 * objects/flowchart/display.shape
17482 * objects/flowchart/document.shape
17483 * objects/flowchart/extract.shape
17484 * objects/flowchart/flowchart.c
17485 * objects/flowchart/intstorage.shape
17486 * objects/flowchart/magdisk.shape
17487 * objects/flowchart/magdrum.shape
17488 * objects/flowchart/magtape.shape
17489 * objects/flowchart/manualinput.shape
17490 * objects/flowchart/manualop.shape
17491 * objects/flowchart/merge.shape
17492 * objects/flowchart/offlinestore.shape
17493 * objects/flowchart/offpageconn.shape
17494 * objects/flowchart/or.shape
17495 * objects/flowchart/predefdproc.shape
17496 * objects/flowchart/preparation.shape
17497 * objects/flowchart/punchedcard.shape
17498 * objects/flowchart/punchedtape.shape
17499 * objects/flowchart/sort.shape
17500 * objects/flowchart/sumjunction.shape
17501 * objects/flowchart/terminal.shape
17502 * objects/flowchart/transaction.shape
17503 * objects/flowchart/transmittape.shape
17504 * objects/flowchart/pixmaps/collate.xpm
17505 * objects/flowchart/pixmaps/delay.xpm
17506 * objects/flowchart/pixmaps/display.xpm
17507 * objects/flowchart/pixmaps/document.xpm
17508 * objects/flowchart/pixmaps/extract.xpm
17509 * objects/flowchart/pixmaps/intstorage.xpm
17510 * objects/flowchart/pixmaps/magdisk.xpm
17511 * objects/flowchart/pixmaps/magdrum.xpm
17512 * objects/flowchart/pixmaps/magtape.xpm
17513 * objects/flowchart/pixmaps/manualinput.xpm
17514 * objects/flowchart/pixmaps/manualop.xpm
17515 * objects/flowchart/pixmaps/merge.xpm
17516 * objects/flowchart/pixmaps/offlinestore.xpm
17517 * objects/flowchart/pixmaps/offpageconn.xpm
17518 * objects/flowchart/pixmaps/or.xpm
17519 * objects/flowchart/pixmaps/predefdproc.xpm
17520 * objects/flowchart/pixmaps/preparation.xpm
17521 * objects/flowchart/pixmaps/punchedcard.xpm
17522 * objects/flowchart/pixmaps/punchedtape.xpm
17523 * objects/flowchart/pixmaps/sort.xpm
17524 * objects/flowchart/pixmaps/sumjunction.xpm
17525 * objects/flowchart/pixmaps/terminal.xpm
17526 * objects/flowchart/pixmaps/transaction.xpm
17527 * objects/flowchart/pixmaps/transmittape.xpm
17528 Moved shapes and their pixmaps to shapes/flowchart
17530 * shapes/Circuit/Makefile.am:
17531 * shapes/Circuit/index.sheet:
17532 Removed index.sheet.
17534 * shapes/Makefile.am:
17535 * shapes/flowchart/Makefile.am:
17536 * shapes/flowchart/*.shape:
17537 * shapes/flowchart/*.xpm:
17538 Added flowchart shapes. (Moved from objects/flowchart)
17541 1999-11-07 Fredrik Hallenberg <hallon@lysator.liu.se>
17543 * app/app_procs.c: Fixed popt stuff.
17545 1999-11-01 James Henstridge <james@daa.com.au>
17547 * shapes/Circuit/[hv]led_de.{shape,xpm}: new circuit shapes from
17550 1999-10-31 Alexander Larsson <alla@lysator.liu.se>
17554 Update version to 0.81.
17557 Update with news for 0.81.
17559 * shapes/Circuit/*:
17560 * shapes/Circuit_eu/*:
17561 Moved european circuit objects to Circuit sheet.
17563 1999-10-31 Alexander Larsson <alla@lysator.liu.se>
17565 * lib/diagramdata.[ch]:
17566 Added layer_set_object_list() function.
17569 Added support for undo of reordered objects.
17570 Fix the undo of delete to keep the right order on undo.
17573 changed loop to object_add_updates_list() calls.
17574 Added undo support to bring to front/back.
17576 * app/disp_callbacks.c:
17577 * app/paginate_psprint.c:
17580 1999-10-30 Alexander Larsson <alla@lysator.liu.se>
17582 This plugs some leaks. Thanks to
17583 Bruce Mitchener <bruce@cybersight.com> for running
17584 Dia through purify for me.
17587 Free displays and diagrams on exit.
17589 * app/modify_tool.c:
17590 Free gc when freeing tool.
17592 * lib/diagramdata.c:
17596 Free update and display lists when destroying display.
17598 * lib/diagramdata.c:
17599 Don't leak layer name.
17601 * objects/custom/load_sheet.c:
17602 * objects/custom/shape_info.c:
17603 Free loaded xml documents.
17605 1999-10-28 Alexander Larsson <alla@lysator.liu.se>
17608 * app/object_ops.[ch]:
17609 Add undo handling to alignment ops.
17610 Based partially on patch by Dan Cohn <dan@internap.com>.
17612 * objects/standard/image.c (image_move_handle):
17613 Don't divide by zero for small images.
17614 Patch by Dan Cohn <dan@internap.com>.
17616 * objects/UML/class.c (umlclass_destroy):
17617 * objects/custom/custom_object.c (custom_destroy):
17618 Don't free connectionpoints before calling element_destroy
17619 which unconnects them.
17621 1999-10-26 Alexander Larsson <alla@lysator.liu.se>
17623 * objects/custom/custom_object.c:
17624 Load and save padding too. Fixes strange load crashes.
17626 * app/group.c (group_destroy):
17627 Don't unconnect already freed connectionpoints when
17628 destroying group. Probably fixes bug reported by
17629 Elliot Lee <sopwith@redhat.com>.
17631 * app/render_gdk.c:
17632 Don't crash on zero-size (broken) bezier curves.
17633 Different sort of fix. This should work on closed bezier curves
17636 * objects/standard/textobj.c:
17637 Activate default properties dialog for Text objects.
17639 * app/render_eps.c:
17641 * app/preferences.c:
17642 * app/render_svg.c:
17643 fopen files in binary or text mode.
17645 1999-10-26 Alexander Larsson <alex@cendio.se>
17647 * app/render_gdk.c (bezier_add_lines):
17648 Don't crash on zero-size (broken) bezier curves.
17649 Fixes a crashing bug.
17651 1999-10-25 James Henstridge <james@daa.com.au>
17653 * app/Makefile.am (run_dia.sh): allow dia to find internal shape files
17654 before it is installed.
17656 * objects/flowchart/flowchart.c: use relative paths to find shapes.
17658 * objects/custom/custom.c (custom_object_load): take file names
17659 relative to $(pkgdatadir)/shape-internal, and check an environment
17660 variable for an alternative directory.
17662 * app/...: added copyright messages to the top of my new code.
17664 * app/paginate_psprint.c: some general clean ups. Also, give an error
17665 dialog if we can't open the command or output file for writing.
17667 * app/diapagelayout.c (dia_page_layout_set_orientation): fixed
17668 function so it would set orientation to landscape correctly.
17670 * app/paginate_psprint.c: use the paper settings that come with
17671 the diagram. Also implemented landscape printing.
17673 * app/render_eps.c (new_psprint_renderer): use diagram paper metrics
17676 * app/commands.[ch] (file_pagesetup_callback): added callback for
17677 the page setup dialog.
17679 * app/menus.c: added page setup menu item.
17681 * app/pagesetup.[ch]: implementation of the page setup dialog.
17683 * app/diapagelayout.[ch]: added accessors for the scaling factor.
17685 * app/load_save.c (diagram_load): load paper information from save
17687 (diagram_save): save the paper info.
17689 * lib/diagramdata.c (new_diagram_data): initialise paper info section
17690 of DiagramData structure.
17691 (diagram_data_destroy): free the paper name.
17693 * lib/diagramdata.h: added a paper member to the DiagramData structure
17694 that holds the page layout info for a diagram.
17696 1999-10-21 Alexander Larsson <alla@lysator.liu.se>
17698 * objects/flowchart/box.c:
17699 * objects/flowchart/ellipse.c:
17700 * objects/flowchart/diamond.c:
17701 * objects/flowchart/parallelogram.c:
17702 Load and save padding too. Fixes strange load crashes.
17704 1999-10-21 Alexander Larsson <alla@lysator.liu.se>
17706 * app/app_procs.c (name_is_lib):
17707 .dll, .sl and .so.0.0.0 are also libraries.
17709 1999-10-20 James Henstridge <james@daa.com.au>
17711 * configure.in: added extra makefile.
17713 * shapes/Circuit_eu/*: a new set of european circuit shapes from
17714 Andreas Scherf <scherfa@fh-trier.de>. Made a few small modifications
17715 (added fuses to makefile, fill the area of some of the components).
17717 1999-10-19 Alexander Larsson <alla@lysator.liu.se>
17721 Add GDK_IMLIB_CFLAGS to includes.
17722 Changed --export-dynamic to -export-dynamic
17725 * objects/UML/message.c:
17726 Removed c++ comment.
17728 * lib/render_store.[ch]:
17729 Don't use empty structure. That is not Ansi C.
17731 1999-10-19 James Henstridge <james@daa.com.au>
17733 * app/diapagelayout.c (dia_page_layout_init): use DiaUnitSpinner's for
17734 the margin entries, as they allow interpretation of units.
17735 (paper_size_change): display the current page dimensions.
17737 * app/diaunitspinner.[ch]: a widget derived from the standard
17738 GtkSpinButton that tries to take units into account. So if you enter
17739 "1in" into the entry, it will convert it to 2.54cm.
17741 1999-10-18 Alexander Larsson <alla@lysator.liu.se>
17744 Removed include of dlfcn.h
17746 1999-10-18 James Henstridge <james@daa.com.au>
17748 * app/diapagelayout.c (paper_size_change, orient_changed): set upper
17749 bound on margin widths. It is set to the paper width/height.
17751 * objects/flowchart/diamond.c (diamond_distance_from): fixed distance
17752 routine for the diamond. This bug was found and fixed by Daniel Wang
17753 <danwang@CS.Princeton.EDU>
17755 Sun Oct 17 19:46:36 1999 ape@gandalf.spacetec.no (Asbjorn Pettersen)
17757 * app/commands.c: Add <sys/types.h> before <sys/stat.h> to
17758 remove warning (OS/2 version).
17760 1999-10-17 Alexander Larsson <alla@lysator.liu.se>
17763 Put a pointer to objects/custom/README.
17765 1999-10-17 Alexander Larsson <alla@lysator.liu.se>
17768 Updated version to 0.80
17771 Updated version to 0.80cvs
17773 1999-04-08 Alexander Larsson <alla@lysator.liu.se>
17775 * Released Dia 0.80
17776 Tag called DIA_0_80
17778 1999-10-17 Fredrik Hallenberg <hallon@lysator.liu.se>
17782 * objects/UML/Makefile.am
17783 * objects/ER/Makefile.am
17784 * objects/network/Makefile.am
17785 * objects/standard/Makefile.am
17786 * objects/FS/Makefile.am
17787 * objects/sybase/Makefile.am
17788 * objects/flowchart/Makefile.am
17789 * objects/custom/Makefile.am
17790 Added -I$(top_srcdir)/intl which is needed for
17791 --with-included-gettext.
17797 Updated swedish translation.
17799 1999-10-16 Alexander Larsson <alla@lysator.liu.se>
17802 Updated version number to 0.80.
17808 Updated. Moved bugs to KNOWN_BUGS.
17811 Updated with 0.80 release notes.
17813 1999-10-16 Alexander Larsson <alla@lysator.liu.se>
17816 For backwards compatibility, make sure handle 0 and 1 are the
17817 first and last handle. Fixes compatibility with 0.41, breaks
17818 compatibility with cvs version.
17819 Fixed bug in undo/redo of adding deleting endpoint segments
17820 when the endpoint was connected.
17821 Start OrthConn objects with three segments.
17823 1999-10-16 James Henstridge <james@daa.com.au>
17825 * objects/custom/custom_object.c (custom_update_data): changed
17826 resizing behaviour a bit so that shapes don't grow huge when you try
17827 to resize them to smaller than the size required by the text box.
17828 Also, now shapes will not grow with fixed aspect ratio when you enter
17829 text into them unless the shape has the fixed aspect ratio flag set.
17831 1999-10-15 James Henstridge <james@daa.com.au>
17833 * objects/flowchart/flowchart.c: add new shapes to flowchart sheet.
17835 * object/flowchart/pixmaps/...: corresponding pixmaps for new shapes.
17837 * objects/flowchart/magdrum.shape:
17838 * objects/flowchart/offlinestore.shape:
17839 * objects/flowchart/punchedtape.shape:
17840 * objects/flowchart/transmittape.shape:
17841 * objects/flowchart/punchedcard.shape: new shapes.
17843 * objects/flowchart/flowchart.c: add new shapes to flowchart sheet.
17845 * object/flowchart/pixmaps/...: corresponding pixmaps for new shapes.
17847 * objects/flowchart/collate.shape:
17848 * objects/flowchart/delay.shape:
17849 * objects/flowchart/extract.shape:
17850 * objects/flowchart/intstorage.shape:
17851 * objects/flowchart/magdisk.shape:
17852 * objects/flowchart/magtape.shape:
17853 * objects/flowchart/merge.shape:
17854 * objects/flowchart/or.shape:
17855 * objects/flowchart/sort.shape:
17856 * objects/flowchart/sumjunction.shape: new shapes.
17858 1999-10-15 Alexander Larsson <alla@lysator.liu.se>
17862 Entering an erronous command as print command
17865 * app/paginate_psprint.c:
17866 Save all print dialog values for next time.
17869 Remove custom lib from DIA_LIB_PATH.
17871 1999-10-14 James Henstridge <james@daa.com.au>
17873 * objects/flowchart/flowchart.c: add new shapes to flowchart sheet.
17875 * object/flowchart/pixmaps/...: corresponding pixmaps for new shapes.
17877 * objects/flowchart/offpageconn.shape:
17878 * objects/flowchart/manualop.shape:
17879 * objects/flowchart/preparation.shape:
17880 * objects/flowchart/manualinput.shape:
17881 * objects/flowchart/predefdproc.shape:
17882 * objects/flowchart/terminal.shape: new shapes in the flowchart sheet.
17884 1999-10-13 James Henstridge <james@daa.com.au>
17886 * app/diapagelayout.[ch]: added accessors to paper information. The
17887 widget should be just about complete now.
17889 * app/diapagelayout.[ch]: fleshed out the page setup widget a bit more.
17890 It actually does something now.
17892 1999-10-12 James Henstridge <james@daa.com.au>
17894 * app/pixmaps/portrait.xpm, app/pixmaps/landscape.xpm: support pixmaps
17895 for the page layout widget.
17897 * app/diapagelayout.[ch]: start of page layout widget. Not actually
17898 built yet as it is not complete.
17900 * objects/flowchart/flowchart.c: added new shapes to sheet.
17902 * objects/flowchart/display.shape:
17903 * objects/flowchart/transaction.shape: new shapes.
17905 * AUTHORS: added my name to the spec file.
17907 * dia.spec: include the dia desktop entry to the spec file.
17909 * Makefile.am: install the dia.desktop file.
17911 * dia.desktop: added a gnome desktop entry so you can start dia
17912 from the gnome panel menu.
17914 1999-10-11 James Henstridge <james@daa.com.au>
17916 * objects/custom/custom_object.c:
17917 * objects/custom/shape_info.c: warning fixes.
17919 * objects/flowchart/document.shape: a shape file for the `document'
17922 * lib/custom.h: new header with the custom shape prototypes.
17924 * app/app_procs.c: register custom objects as well.
17925 (register_objects_in): close shared libraries if they don't load
17926 correctly, and call g_module_make_resident on libraries that load
17929 * app/Makefile.am (dia_LDADD): added libcustom_objects.a to link list.
17931 * objects/custom/custom.c: removed get_version, added custom_ prefix
17932 to register_objects and register_sheets.
17934 * objects/custom/Makefile.am: converted to a normal library.
17936 1999-10-10 Alexander Larsson <alla@lysator.liu.se>
17938 * app/lineprops_area.c:
17939 * app/render_svg.c:
17941 * objects/custom/shape_info.c:
17942 * objects/flowchart/box.c:
17943 * objects/flowchart/diamond.c:
17944 * objects/flowchart/ellipse.c:
17945 * objects/flowchart/parallelogram.c:
17946 * objects/network/flash.c:
17947 * objects/network/scead-plug.c:
17948 * objects/sybase/client.c:
17949 Removed -Wall warnings.
17951 * objects/network/bus.c:
17952 Removed unused functions.
17954 * objects/FS/flow-ortho.c:
17955 * objects/FS/flow-poly.c:
17956 * objects/FS/flow.c:
17957 * objects/FS/function.c:
17959 Implemented "non-implemented" undo for FS objects.
17960 Now at least it won't crash.
17962 1999-10-10 Alexander Larsson <alla@lysator.liu.se>
17964 * objects/network/bus.c:
17966 Handles are now added and removed using the object menu.
17967 Default to 6 handles instead of 10.
17968 Changed name from "Standard - Bus" to "Network - Bus". Kept old
17969 name for backwards compatibility.
17971 * objects/network/network.c:
17972 Changed name from "Standard - Bus" to "Network - Bus". Kept old
17973 name for backwards compatibility.
17975 * app/properties.[ch]:
17977 Update properties in properties dialog if the shown object
17978 is part of and ObjectChange (undo or redo).
17981 Remove old known bugs list.
17983 * objects/UML/class_dialog.c:
17984 Removed debug printf's.
17986 1999-10-10 James Henstridge <james@daa.com.au>
17988 * objects/custom/custom.c (custom_object_load): new function that
17989 provides a nice entry point to the custom shape code for when it
17990 gets used by other libraries.
17992 * configure.in: removed 11 makefiles from AC_OUTPUT list. This
17993 speeds builds up a bit.
17995 * */Makefile.am (EXTRA_DIST): include pixmaps in distribution.
17996 (SUBDIRS): do not descend into pixmaps subdirs.
17998 * */pixmaps/Makefile.am: removed -- incorporate into parent makefiles.
17999 This speeds up build process.
18001 * objects/custom/custom.c (sheets): made variable static.
18003 * objects/custom/custom_util.[ch] (custom_get_relative_filename):
18006 * objects/custom/load_sheet.[ch] (custom_sheet_load): renamed function.
18008 * objects/custom/custom.c: look in ~/.shapes instead of
18009 ~/.dia_shapes as the per-user shapes directory.
18011 * app/preferences.c (prefs_save): save config to ~/.diarc.
18012 (prefs_load): load configuration from ~/.diarc. If the file
18013 does not exist, fallback on the old ~/.diarc location.
18015 * app/app_procs.c (create_user_dirs): create the ~/.dia directory
18017 (register_all_objects): look for user specific objects in
18018 ~/.objects rather than ~/.dia_libs.
18020 1999-10-10 Fredrik Hallenberg <hallon@lysator.liu.se>
18024 * objects/flowchart/box.c
18025 * objects/flowchart/ellipse.c
18026 * objects/flowchart/flowchart.c
18027 Use gmodule for dynamic linking. As gmodule is using
18028 RTLD_GLOBAL i had to change flowchart box and ellipse
18029 so the typenames doesn't conflict with the standard
18034 Use button box to make dialogs look better.
18036 1999-10-09 Alexander Larsson <alla@lysator.liu.se>
18038 * objects/UML/class_dialog.c:
18039 * objects/UML/class.h:
18040 Implemented undo for "UML - Class" objects.
18041 Not 100% tested yet.
18043 * objects/UML/classicon.c:
18044 * objects/UML/constraint.c:
18045 * objects/UML/dependency.c:
18046 * objects/UML/generalization.c:
18047 * objects/UML/implements.c:
18048 * objects/UML/large_package.c:
18049 * objects/UML/lifeline.c:
18050 * objects/UML/message.c:
18051 * objects/UML/object.c:
18052 * objects/UML/realizes.c:
18053 * objects/UML/state.c:
18054 * objects/UML/usecase.c:
18057 * lib/connectionpoint.h:
18060 1999-10-09 James Henstridge <james@daa.com.au>
18062 * objects/custom/*.[ch]: added copyright notices to custom object
18065 * shapes/Circuit/hdiode.shape:
18066 * shapes/Circuit/hzener.shape:
18067 * shapes/Circuit/opamp.shape:
18068 * shapes/Circuit/vdiode.shape:
18069 * shapes/Circuit/vzener.shape: made adjustments to make the circuit
18070 shapes look nice after the custom shape code changes.
18072 * objects/custom/README: updated docs to cover changes to drawing
18075 * objects/custom/custom_object.c (custom_draw): honour the line
18076 properties when drawing the shape.
18078 * objects/custom/shape_info.[ch]: added support for setting line
18079 properties for individual drawing elements in a custom shape. You
18080 can set the dash style, dash length, cap style and join style.
18082 1999-10-07 James Henstridge <james@daa.com.au>
18084 * objects/custom/shape_info.c (parse_style): added a few extra synonyms
18085 for foreground and background.
18087 * objects/custom/custom_object.c (custom_draw): use the new style
18088 information when drawing the object.
18090 * objects/custom/shape_info.[ch]: store all shape style info in the
18091 GraphicStyle structure. This makes adding support for extra CSS
18092 attributes easier -- we don't have to keep adding extra arguments to
18093 a lot of functions.
18095 1999-10-05 James Henstridge <james@daa.com.au>
18097 * lib/intl.c (unalias_lang): merged in changes from the i18n code
18098 swiped from gnome-libs.
18100 1999-10-03 Alexander Larsson <alla@lysator.liu.se>
18102 * objects/standard/image.c (get_directory):
18103 Fix memleak. Found by Kjartan Maraas <kmaraas@online.no>
18105 1999-09-28 Alexander Larsson <alla@lysator.liu.se>
18107 * lib/poly_conn.c (polyconn_destroy):
18108 Fix bug. Access of freed memory.
18109 Rememeber, you can't free the handles of an object
18110 before calling object_destroy(), as it unconnects the handles
18111 therefore referencing them.
18113 1999-09-28 Alexander Larsson <alla@lysator.liu.se>
18116 undo_clear() didn't set stack->depth to zero.
18117 This made other undo functions crash after this had been called
18121 Slightly modified by Chris Love <clove@exactis.com>
18123 1999-09-19 Alexander Larsson <alla@lysator.liu.se>
18125 * objects/UML/class.h:
18126 * objects/UML/class_dialog.c:
18127 Retrun NULL ObjectChange on class property change.
18128 This means no crashes, but "UML - Class" doesn't support undo yet.
18130 1999-09-19 Alexander Larsson <alla@lysator.liu.se>
18135 * objects/UML/classicon.c:
18136 * objects/UML/dependency.c:
18137 * objects/UML/generalization.c:
18138 * objects/UML/implements.c:
18139 * objects/UML/large_package.c:
18140 * objects/UML/lifeline.c:
18141 * objects/UML/message.c:
18142 * objects/UML/object.c:
18143 * objects/UML/realizes.c:
18144 * objects/UML/state.c:
18145 * objects/UML/usecase.c:
18146 Update to new undo (w. get/set_state).
18147 Add object menu to add/delete segments.
18149 1999-09-17 Alexander Larsson <alla@lysator.liu.se>
18152 Add equal distance alignment.
18154 * app/object_ops.c:
18155 Add equal distance alignment.
18156 Fix bug in adjacent alignment.
18158 1999-09-16 Alexander Larsson <alla@lysator.liu.se>
18160 * objects/UML/constraint.c:
18161 Update to new undo (w. get/set_state).
18163 1999-09-15 Alexander Larsson <alla@lysator.liu.se>
18165 * app/paginate_psprint.c:
18166 Save (parts, more todo) of the info in the print dialog to the
18167 next time it's opened.
18168 Patch from Yo Ric Dude <ricdude@toad.net>
18170 1999-09-14 Alexander Larsson <alla@lysator.liu.se>
18173 Updated version string to 0.41cvs.
18175 * objects/UML/assocition.c:
18176 Update to new undo (w. get/set_state).
18177 Add object menu to add/delete segments.
18180 Added function debug_break() and called it after all
18181 objects and sheets are loaded. Place a breakpoint here if you
18182 want to debug objects. All symbols should be loaded.
18184 1999-09-12 James Henstridge <james@daa.com.au>
18186 * app/menus.c (display_menu_items): added print menu item.
18187 (filemenu): always add print menu item -- even if gnome-print is
18190 * app/commands.h, app/commands.c (file_print_callback): the print
18191 menu item is now available for both gnome-print and non gnome-print
18194 * app/paginate_psprint.c (diagram_print_ps): show a dialog to let you
18195 print with the non gnome-print driver.
18197 1999-09-11 James Henstridge <james@daa.com.au>
18199 * app/paginate_gnomeprint.c (diagram_print_gnome): moved the gnome
18200 printer dialog code out of commands.c.
18202 * app/paginate_psprint.c: new file containing the pagination code for
18205 * app/render_eps.c: made a few modifications so as well as producing
18206 EPS files, this renderer can be set up to do postscript printing.
18207 This basically entailed adding an extra function to create a RenderEPS
18208 renderer which did not bother setting the viewport for the document.
18209 That was left for the pagination code.
18211 1999-09-10 James Henstridge <james@daa.com.au>
18213 * app/render_gnomeprint.c (draw_ellipse, fill_ellipse): since
18214 gnome-print does not support elliptic arcs at the moment, approximate
18215 the ellipse with eight bezier curves. This gives a pretty good
18216 match to a true ellipse.
18218 1999-09-09 James Henstridge <james@daa.com.au>
18220 * app/commands.c (file_gnome_print_callback): added support for
18221 scaling the diagram. Also fixed a few other bugs.
18223 * app/paginate_gnomeprint.c (print_page): added ability to scale
18224 document. Fixed up test to see if the page has no objects on it.
18225 This should prevent some blank pages being printed. Non square
18226 objects such as lines could still cause problems.
18228 1999-09-08 James Henstridge <james@daa.com.au>
18230 * app/commands.c (file_gnome_print_callback): changed from using the
18231 standard printer selection dialog to one that also has a paper size
18234 * commands.[ch]: added callbacks for the print menu item. Currently
18235 it only does A4 output. I will make it configurable soon.
18237 * app/menus.c: add a print diagram menu item if gnome-print support
18240 * app/paginate_gnomeprint.c, app/paginate_gnomeprint.h: this is a
18241 bit higher level than the gnome-print renderer. It splits the
18242 diagram into page size chunks and then renders them. For each
18243 page, it only renders the objects whose bounding box intersects
18244 the page, and it sets the clip mask so that the diagram does not
18245 overlap the margins.
18247 * app/render_gnomeprint.c, app/render_gnomeprint.h: added a renderer
18248 that uses gnome-print as its back end.
18250 * configure.in: added a check for gnome-print. It is disabled by
18251 default because the code is not really working correctly yet.
18253 * app/menus.c: the delete object menu item was missing from the
18254 GnomeUIInfo style menus.
18256 1999-09-07 Fredrik Hallenberg <hallon@lysator.liu.se>
18259 Added japanese to ALL_LINGUAS.
18260 Fix for Linux on Alpha.
18262 1999-09-07 Alexander Larsson <alla@lysator.liu.se>
18264 * app/create_object.c (create_object_button_press):
18265 Always initialize tool->obj. Otherwise we store a null
18266 in the undo Change.
18269 Set linestyle before drawing cursor.
18270 Fix undo of backwards delete.
18272 1999-09-05 James Henstridge <james@daa.com.au>
18274 * dia.spec: updated spec file to distribute $(prefix)/share/dia.
18276 * app/render_svg.c (draw_image): some fixes so that the appropriate
18277 style attributes are set. Before it was setting line styles on
18278 fill_* functions. Now it only does this for the draw_* variants.
18280 * app/Makefile.am (run_dia.sh): set the DIA_SHAPE_PATH environment
18281 variable so that custom shapes can be loaded.
18283 * shapes/: new directory for custom shapes. The Circuit sheet has
18286 1999-09-02 James Henstridge <james@daa.com.au>
18288 * TODO: removed a few todo items that have been implemented.
18290 * app/interface.c (create_sheets): enabled the popup page menu to the
18291 notebook. This can make it easier to select different sheets.
18293 * object/custom/Circuit/: added diode, zener diode, ground point and
18294 operational amplifier shapes.
18296 * objects/custom/Makefile.am: added a note about adding DEBUG_CUSTOM
18297 if you want the output.
18299 * objects/custom/shape_info.c (parse_path): same here.
18301 * objects/custom/load_sheet.c (load_with_readdir): don't print so
18302 much debugging output. To get the previous level of output, define
18305 * objects/custom/shape_info.c (parse_svg_node): polygons were being
18306 recorded as polylines in the ShapeInfo structure.
18308 * objects/custom/README: some notes on writing new custom shapes.
18310 1999-09-01 James Henstridge <james@daa.com.au>
18312 * objects/custom/Circuit/hinductor.*:
18313 * objects/custom/Circuit/vinductor.*: added inductor shapes that
18314 also test out the bezier curve and SVG path support.
18316 * objects/custom/custom_object.c (custom_draw): added support for
18317 drawing bezier paths and filled shapes.
18319 * objects/custom/shape_info.c (parse_path): new function to parse
18320 SVG path elements. It does not do quadratic beziers or elliptic
18321 arcs though. Only moves, lines and cubic beziers.
18322 (*): added support for paths.
18324 1999-08-31 James Henstridge <james@daa.com.au>
18326 * objects/sybase/ltm.c (render_to_store): use the newer bezier API.
18328 * app/render_svg.c (draw_bezier, fill_bezier): updated renderer
18331 * app/render_eps.c (draw_bezier, fill_bezier): updated renderer
18334 * app/render_gdk.c (draw_bezier, fill_bezier): updated renderer
18337 * lib/render_store.[ch]: use newer bezier functions.
18339 * lib/render.h: changed the bezier drawing functions to use an array
18340 of BezPoint structures instead of normal Point structures to allow
18341 lineto's mixed in with the curveto's.
18343 * objects/custom/Circuit/pnp.*: added pnp transistor shape.
18345 * objects/custom/Circuit/Makefile.am (SHAPES): added index.sheet and
18346 xpm images for different shapes to Makefile.
18348 * objects/custom/custom_object.c (custom_object_new): set the icon
18349 for the sheet button if there is one. Otherwise fall back on the
18350 default custom object icon.
18352 * objects/custom/shape_info.c (load_shape_info): read the sheet
18353 icon name from the shape file.
18355 * app/interface.c (create_sheet_page): if sheet_obj->pixmap == NULL,
18356 check the pixmap_file field for the name of a pixmap file to load
18359 * lib/sheet.h (SheetObj): added pixmap_file field to structure. It is
18360 at the end of the structure, and it isn't used if the pixmap field
18361 is non NULL, so it should not break binary compatibility.
18363 * objects/custom/load_sheet.[ch]: moved sheet loading code here. Also
18364 added support for the use of an index.sheet file so you can specify
18365 the ordering of the shapes in the sheet, and also internationalise
18366 the sheet name and actually be able to give a description. The old
18367 readdir based sheet loading code acts as a fallback if an index.sheet
18368 file can not be found.
18370 * objects/custom/custom_util.[ch]: new file containing useful routines
18371 needed by the custom object code. Currently only contains a simple
18372 routine for resolving relative paths.
18374 * objects/custom/custom_object.c (custom_draw): fixed problem with
18375 drawing rectangles if the shape has been flipped.
18377 1999-08-30 James Henstridge <james@daa.com.au>
18379 * objects/custom/custom_object.c (custom_get_object_menu): allow
18380 flipping of custom shapes. This uses the miggle click object
18383 * objects/custom/Circuit/npn.shape: fix aspect ratio.
18385 * objects/custom/custom_object.c (custom_update_data): honour the
18386 aspect ratio constraints.
18388 * objects/custom/shape_info.c (load_shape_info): updated aspect ratio
18389 tag parsing, so you can specify a free, fixed or a range for aspect
18390 ratios for the shape.
18392 1999-08-29 James Henstridge <james@daa.com.au>
18394 * objects/custom/test.xml, objects/custom/Circuit/*.shape: fixed
18395 up shape namespace tag.
18397 * objects/custom/shape_info.c (load_shape_info): check xml:lang
18398 attribute on <description> elements to support i18n for custom
18399 shape descriptions.
18400 Also changed the shape namespace for custom shapes to something
18401 a little more sensible.
18403 * lib/dummy_dep.h (dummy_dep): added extra dummy dependency.
18405 * lib/intl.c: new file containing some functions for i18n stuff.
18407 * app/layer_dialog.c (create_button_box): fixed a warning.
18409 * objects/custom/custom_object.c: use current line style. Save dash
18412 * objects/flowchart/diamond.c: use current line style. Save dash
18415 * objects/flowchart/parallelogram.c: use current line style. Save
18418 * objects/flowchart/ellipse.c: use current line style. Save dash
18421 * objects/flowchart/box.c: use current line style. Save dash length.
18423 * objects/standard/ellipse.c: make ellipse use current line style.
18425 * objects/standard/box.c: use the line style set in the toolbox for
18426 new boxes, and remember the dash length.
18428 * app/commands.c (view_toggle_rulers_callback): fix reshowing of
18431 1999-08-24 James Henstridge <james@daa.com.au>
18433 * objects/flowchart/ellipse.c (ellipse_update_data): made some changes
18434 to try to stop ellipse to get infinite width/height when we resize,
18435 while trying to keep the text inside the ellipse.
18437 * objects/flowchart/box.c, objects/flowchart/parallelogram.c,
18438 * objects/flowchart/diamond.c, objects/flowchart/ellipse.c: fixed
18439 resizing behaviour, so that you can't push objects round the screen
18440 with the resize handles.
18442 * app/lineprops_area.c (dia_arrow_chooser_init, dia_line_chooser_init):
18443 get the OK buttons in the dialogs to take default clicks.
18445 * objects/custom/custom_object.c: added code so that resizing the
18446 shape does not end up pushing it round the screen.
18448 1999-08-23 Alexander Larsson <alla@lysator.liu.se>
18450 * app/display.[ch]:
18451 Generate rectangle with the union of the damaged regions.
18452 This is used to optimize the grid paint and the object rendering.
18453 display_render_pixmap passes this info to grid_draw() and data_render().
18456 grid_draw doesn't draw grid lines outside of damaged rectangle.
18457 Sets dashlength when drawing non-solid grid.
18459 * lib/diagramdata.[ch]:
18460 data_render() and layer_render() takes an optional damaged rectangle
18461 argument. No objects not intersecting this are drawn.
18465 Call data_render with NULL update rectangle.
18467 1999-08-23 James Henstridge <james@daa.com.au>
18469 * objects/custom/custom_object.c (custom_update_data): if the aspect
18470 ratio is fixed, make sure the shape is not distorted.
18472 * object/custom/shape_info.h, objects/custom/shape_info.c: notice if
18473 a <fixaspectratio/> tag is given in the shape file.
18475 * objects/custom/shape_info.[ch], objects/custom/custom_object.c:
18476 added support for stroke-width, stroke and fill CSS attributes
18477 specified in style attributes of the SVG elements. The line width
18478 is relative to the user specified line width. The stroke and fill
18479 attributes can only be used to swap the foreground/background
18482 * lib/widgets.c (dia_line_style_selector_set_linestyle): set the
18483 sensitivity on the dash length selector when this function is called.
18485 * objects/standard/arc.c: same. Also handle dash length.
18486 * objects/standard/zigzagline.c: same.
18487 * objects/standard/polyline.c: same. Also handle dash length.
18488 * objects/standard/line.c: use default arrow/line styles.
18490 * app/interface.c: added callbacks to set the default attributes.
18492 * lib/attributes.c: added implementations of these functions.
18494 * lib/attributes.h: added extra prototypes for the new line properties
18495 area in the toolbox.
18497 * app/interface.c (create_lineprops_area): added line properties
18498 area to bottom of toolbox.
18500 * app/lineprops_area.h: a header exporting a few routines of the
18501 line properties area widgets.
18503 * app/lineprops_area.c: new file containing a selector for arrows
18504 and line styles to go in the main toolbox.
18506 1999-08-22 Alexander Larsson <alla@lysator.liu.se>
18509 Update Gtk+ 1.0.5 comment to 1.2.0.
18518 Make sure we don't propagate -ldl and -lpopt to all LIBS
18519 by adding new var APP_LIBS that only app/dia links with.
18522 Update run_dia.sh to load custom and flowchart objects.
18524 * objects/ER/Makefile.am:
18525 * objects/FS/Makefile.am:
18526 * objects/UML/Makefile.am:
18527 * objects/network/Makefile.am:
18528 * objects/standard/Makefile.am:
18529 * objects/sybase/Makefile.am:
18530 Don't build versioned libs.
18532 1999-08-22 James Henstridge <james@daa.com.au>
18534 * configure.in: added objects/custom/Circuit/Makefile to AC_OUTPUT
18537 * objects/Makefile.am (SUBDIRS): added custom to subdir list -- it
18538 should actually work a bit now.
18540 * objects/custom/Circuit/*: a test sheet for the custom shape code.
18541 It is a small collection of circuit elements.
18543 * objects/custom/shape_info.c: fixed up loading of polylines and
18544 polygons. Before it was removing negative signs :(
18546 * objects/custom/pixmaps/custom.xpm: drew the custom shape icon. A
18547 placeholder was here before. I still need to work out how to set
18548 icons for individual custom shapes.
18550 * objects/custom/custom.c: added code to load the shapes into sheets
18551 properly. The shape files should be arranged into directories, and
18552 each directory represents a different sheet in the toolbox. This
18553 will make it very easy to distribute a collection of dia shapes as
18554 a tarball. I still need to work out internationalisation, and maybe
18555 also shape ordering in the sheet.
18557 * objects/custom/custom_object.c: fixed up dialogs for these objects.
18558 (custom_create): fix for objects without text areas.
18560 * objects/custom/shape_info.h, objects/custom/custom_object.c: loading
18561 and saving of custom object works correctly now.
18563 1999-08-21 James Henstridge <james@daa.com.au>
18565 * objects/flowchart/ellipse.c:
18566 * objects/flowchart/diamond.c:
18567 * objects/flowchart/parallelogram.c:
18568 * objects/flowchart/box.c: Fixed up a few bugs in these objects when
18569 copying or loading these object types. Not all the connection
18570 points would be initialised correctly.
18572 * objects/flowchart/Makefile.am (libflowchart_objects_la_LDFLAGS):
18575 * objects/custom/Makefile.am (libcustom_objects_la_LDFLAGS): do not
18576 build a versioned library. It will only ever be dlopen'd, so this
18579 * objects/custom/custom_object.c (custom_distance_from): allow
18580 selecting the object by clicking on the text. This fixes problems
18581 where the text box is outside the graphic.
18583 * objects/custom/shape_info.c (load_shape_info): fixed up reading
18584 of connections points. It should be possible to add connections
18585 to custom objects now.
18587 * objects/custom/custom_object.c (custom_update_data): fixed resizing
18588 due to changes to text.
18590 * configure.in: added extra makefiles.
18592 * objects/custom/shape_info.[ch]:
18593 * objects/custom/custom_object.c:
18594 * objects/custom/custom.c: the starts of custom shape support in dia.
18595 This is not built by default at the moment, since it is not quite
18596 complete. When it is, it will let you create more shapes for dia
18597 without writing a line of C. Its implementation includes buzzwords
18598 such as XML and SVG, so it must be good :)
18600 1999-08-19 Karsten Weiss <karsten@addx.au.s.shuttle.de>
18602 * app/app_procs.c (app_exit): Use button labels "Quit" and
18603 "Cancel" instead of "Yes" and "No".
18604 Set default action to "Cancel" instead of "Quit".
18606 1999-08-19 James Henstridge <james@daa.com.au>
18608 * objects/flowchart/flowchart.c: added ellipse object.
18610 * objects/flowchart/ellipse.c: a new shape for the flowchart toolbox.
18612 1999-08-18 James Henstridge <james@daa.com.au>d
18614 * app/color_area.c (color_area_edit): small fix to prevent dia from
18615 segfaulting when you try to change the default foreground/background.
18617 1999-08-17 Alexander Larsson <alla@lysator.liu.se>
18619 * app/diagram.[ch] (diagram_redraw_all):
18620 Added function that redraws all diagrams.
18622 * app/preferences.c (prefs_apply):
18623 Call diagram_redraw_all when prefs are changed.
18625 * app/render_svg.c:
18626 Don't use xmlEncodeEntitiesReentrant(). It doesn't exist on
18627 older libxml's, and the old version works good enought here.
18629 1999-08-17 James Henstridge <james@daa.com.au>
18631 * lib/widgets.c: changed handlers that were connected to the GtkButton
18632 "pressed" signal to connect to the "clicked" signal. This removes the
18633 problem where dialogs are inactive until you click a mouse button
18634 after using a colour selector.
18636 * configure.in: added extra makefiles to AC_OUTPUT list.
18638 * objects/Makefile.am (SUBDIRS): added flowchart module
18640 * objects/flowchart/*: a collection of shapes for use in flowcharts.
18642 * app/color_area.c (color_area_events): similar here.
18644 * app/linewidth_area.c (linewidth_area_events): sometimes a configure
18645 event is recieved with event->width == 0, which causes a warning if we
18646 try to create a pixmap of that width.
18648 * app/preferences.c, app/preferences.h, app/grid.c: added code to
18649 allow you to configure the colour of the grid, and also lets you
18650 set the grid to use dotted lines instead of solid ones.
18652 * app/commands.c, app/commands.h, app/diagram.c, app/diagram.h,
18653 app/menus.c, app/Makefile.am: added menu entry for exporting SVG files.
18655 * app/render_svg.h, app/render_svg.c: an SVG (Scalable Vector Graphics)
18656 export filter. It is not quite complete, but for most shapes it
18657 works as expected. Fonts still need a bit of work.
18659 1999-08-11 Robert Brady <rwb197@ecs.soton.ac.uk>
18661 * configure.in: Added "en_GB" to ALL_LINGUAS.
18663 1999-08-04 Fredrik Hallenberg <hallon@lysator.liu.se>
18666 Added Undo and Redo to GNOME menus.
18668 * objects/ER/attribute.c:
18669 * objects/ER/entity.c:
18670 * objects/ER/participation.c:
18671 * objects/ER/relationship.c:
18672 Added get/set_state functions.
18674 * objects/ER/participation.c:
18675 Added add/delete segment.
18678 Updated Swedish translation.
18680 1999-07-25 Alexander Larsson <alla@lysator.liu.se>
18682 * app/preferences.[hc]:
18683 Added undo_depth pref.
18686 Never grow stack larger than pref.undo_depth.
18687 undo_depth == 0 means unlimited.
18688 Converted printfs to conditionally compiled DEBUG_PRINTFs.
18690 1999-07-25 Alexander Larsson <alla@lysator.liu.se>
18695 * lib/render_object.c:
18696 * objects/ER/attribute.c:
18697 * objects/ER/entity.c:
18698 * objects/ER/participation.c:
18699 * objects/ER/relationship.c:
18700 * objects/FS/flow-ortho.c:
18701 * objects/FS/flow-poly.c:
18702 * objects/FS/flow.c:
18703 * objects/FS/function.c:
18704 * objects/UML/actor.c:
18705 * objects/UML/association.c:
18706 * objects/UML/class.c:
18707 * objects/UML/classicon.c:
18708 * objects/UML/component.c:
18709 * objects/UML/constraint.c:
18710 * objects/UML/dependency.c:
18711 * objects/UML/generalization.c:
18712 * objects/UML/implements.c:
18713 * objects/UML/large_package.c:
18714 * objects/UML/lifeline.c:
18715 * objects/UML/message.c:
18716 * objects/UML/note.c:
18717 * objects/UML/object.c:
18718 * objects/UML/realizes.c:
18719 * objects/UML/small_package.c:
18720 * objects/UML/state.c:
18721 * objects/UML/usecase.c:
18722 * objects/network/bus.c:
18723 * objects/standard/arc.c:
18724 * objects/standard/box.c:
18725 * objects/standard/ellipse.c:
18726 * objects/standard/image.c:
18727 * objects/standard/line.c:
18728 * objects/standard/polyline.c:
18729 * objects/standard/textobj.c:
18730 * objects/standard/zigzagline.c:
18731 Removed all traces of is_empty(). It doesn't work in an
18734 1999-07-25 Alexander Larsson <alla@lysator.liu.se>
18739 Undoable grouping and ungrouping.
18741 * app/layer_dialog.c:
18742 * lib/diagramdata.[ch]:
18743 Undoable layer ops.
18745 * app/modify_tool.c:
18746 Undoable unconnect on handle move.
18748 * lib/orth_conn.[ch]:
18749 Working undoable add/remove segment.
18750 Removed endpoint_handles from OrthConn, renamed
18751 midpoint_handles to handles and put the endpoint
18754 * objects/standard/zigzagline.c:
18755 * objects/ER/participation.c:
18756 * objects/UML/association.c:
18757 * objects/UML/dependency.c:
18758 * objects/UML/generalization.c:
18759 * objects/UML/realizes.c:
18760 Update for the changes in OrthConn
18762 1999-07-23 Karsten Weiss <karsten@addx.au.s.shuttle.de>
18764 * configure.in: Added "de" to ALL_LINGUAS.
18766 1999-07-17 Alexander Larsson <alla@lysator.liu.se>
18778 Don't have the <Display> etc part of the menu strings
18779 i18n:ed. Patch from Fabrice.Bellet@imag.fr.
18782 Don't have the <Display> etc part of the menu strings
18783 i18n:ed. Patch from Fabrice.Bellet@imag.fr.
18784 Don't remove is_empty() objects, that don't work with undo.
18786 * lib/objchange.[ch]:
18788 Definition of ObjectChange. This is essentially an Change
18789 exported to the object libs. It encapsulates a change made
18790 to an objects internals. It can be applied, reverted and freed.
18791 There are also utility functions for doing ObjectChanges that
18792 only get/set the whole state of an object to store the change.
18793 This cannot be used when the object change deletes or adds a
18794 object which has references from other objects, eg. Handles which
18795 might be connected.
18798 Added objchange.c and objchange.h.
18801 Return NULL when loading fails.
18804 Menu callbacks return an ObjectChange.
18807 Reference objchange.o
18810 Key events return ObjectChange if they modify the object.
18814 Added object_add_handle_at() function.
18815 Apply properties returns an ObjectChange.
18816 Remove ObjectState and the get/set state functions, these
18817 don't always work. Use the new ObjectChange instead.
18820 Added object_add_handle_at() function implementation.
18822 * lib/orth_conn.[ch]:
18823 Use ObjectChange. Not finished yet.
18824 Removed get/set/free state functions
18826 * lib/poly_conn.[ch]:
18828 Don't remove segments that are small.
18829 Removed get/set/free state functions
18833 Added functions to get/set all text attributes.
18835 * objects/standard/arc.c:
18836 * objects/standard/box.c:
18837 * objects/standard/ellipse.c:
18838 * objects/standard/image.c:
18839 * objects/standard/line.c:
18840 * objects/standard/polyline.c:
18841 * objects/standard/textobj.c:
18842 * objects/standard/zigzagline.c:
18844 fixed bug in image_set_state.
18845 zigzagline.c not finished yet.
18847 * app/disp_callbacks.c:
18848 Use ObjectChange that are returned from menu callbacks and
18849 key_events for undo.
18851 * app/properties.c:
18852 Use ObjectChange that are returned from properties apply
18857 New undo type: ObjectChangeChange. This wraps a change to the
18858 internals of an object (and ObjectChange) in code that does
18859 app specific stuff (object_add_updates etc.)
18861 1999-07-11 Alexander Larsson <alla@lysator.liu.se>
18863 * lib/orth_conn.[ch]:
18864 Added code for add/delete segment.
18866 * objects/standard/zigzagline.c:
18867 Use the new orth_conn code.
18870 1999-07-08 Fredrik Hallenberg <hallon@lysator.liu.se>
18872 * objects/FS/Makefile.am
18873 Removed fs.h from sources.
18879 1999-07-07 Alexander Larsson <alla@lysator.liu.se>
18881 * app/disp_callbacks.c (ddisplay_canvas_events):
18882 Fix for bug. Every other arrow-key press got lost.
18883 patch from Mr. Data Esq. <data@r47h102.res.gatech.edu>
18886 change automake.sh to autogen.sh
18888 1999-06-24 Alexander Larsson <alla@lysator.liu.se>
18891 Don't remove 'empty' objects.
18892 This violent destruction of objects won't work
18893 with the new undo framework.
18895 * app/disp_callbacks.c:
18896 Save undo info for object menu calls and key_events.
18898 * app/properties.c:
18899 Save undo info on properties apply.
18901 * lib/dia_image.[ch]:
18902 Add refcounting for images.
18904 * app/render_eps.c:
18905 * app/render_gdk.c:
18907 DiaImage * -> DiaImage
18910 Add undo functions for object state changes.
18914 change of semntics for focus->key_event.
18915 Now returns TRUE if the object recieving the event
18921 * lib/orth_conn.[ch]:
18922 Don't automatically create and delete segments when
18923 handles are moved. This is incompatible with undo.
18924 Added state get, set and free functions.
18926 * lib/orth_conn.[ch]:
18927 Added state get, set and free functions.
18929 * objects/UML/object.c:
18930 * objects/UML/uml.c:
18931 Fixed typo "UML - Objet" -> "UML - Object".
18932 Saved old for backwards compatibility.
18934 * objects/standard/arc.c:
18935 * objects/standard/box.c:
18936 * objects/standard/ellipse.c:
18937 * objects/standard/image.c:
18938 * objects/standard/line.c:
18939 * objects/standard/polyline.c:
18940 * objects/standard/textobj.c:
18941 * objects/standard/zigzagline.c:
18942 Added get/set state functions.
18943 Textobj has a redo crash-bug.
18944 Zigzagline needs object menus to add segments.
18947 1999-06-20 Alexander Larsson <alla@lysator.liu.se>
18949 * app/render_eps.c (set_dashlength):
18950 Don't generate eps files with zero dash-length.
18952 1999-06-16 Alexander Larsson <alla@lysator.liu.se>
18955 * app/create_object.c:
18957 Finished undo for create and paste.
18960 Started properties undo.
18962 1999-06-14 Alexander Larsson <alla@lysator.liu.se>
18965 Added resizeable groups.
18968 Removed unused variable.
18972 Undo/redo for cut/delete done.
18974 * app/create_object.c:
18975 * app/modify_tool.c:
18976 * lib/diagramdata.[ch]:
18977 * app/diagram.[ch]:
18978 renamed diagram_add_selected -> diagram_select
18979 renamed diagram_remove_selected -> diagram_unselect
18981 * app/properties.[ch]:
18982 Added properties_hide_if_shown() function.
18984 1999-06-13 Alexander Larsson <alla@lysator.liu.se>
18990 * app/commands.[ch]
18991 * app/modify_tool.[ch]
18992 * app/object_ops.[ch]
18993 * app/connectionpoint_ops.c
18995 Use undo functions.
18996 WARNING: Not finished. Will break.
18997 Finished: move object, move handle.
19000 Added diagram_selected_break_external() function.
19001 It removes all connections between selected objects
19003 Add undo stack to Diagram.
19005 * lib/diagramdata.[ch]
19006 Added layer_remove_objects() function
19008 1999-06-11 Fredrik Hallenberg <hallon@lysator.liu.se>
19010 * objects/FS/Makefile.am
19011 * objects/sybase/Makefile.am
19012 Now uses GNOME_CFLAGS.
19015 Now compiles with GNOME even if popt.h isn't available.
19017 1999-06-10 Alexander Larsson <alla@lysator.liu.se>
19020 * objects/Makefile.am
19022 First version of sybase objects from
19023 Brian Bruns <camber@umcc.ais.org>
19025 1999-06-10 Fredrik Hallenberg <hallon@lysator.liu.se>
19028 Added fr to ALL_LINGUAS
19030 1999-06-09 Fredrik Hallenberg <hallon@lysator.liu.se>
19034 Popt-code is activated if popt is available.
19036 1999-06-08 Alexander Larsson <alla@lysator.liu.se>
19038 This is a patch from David Thompson <dcthomp@mail.utexas.edu>
19040 * lib/orth_conn.[ch]:
19041 Added orthconn_get_middle_handle()
19044 Added text_set_cursor_at_end()
19047 Added first version of functions structure diagrams.
19049 1999-05-24 Alexander Larsson <alla@lysator.liu.se>
19051 * app/modify_tool.c:
19052 Include math.h to remove warning.
19054 * app/commands.c (dialogs_properties_callback):
19055 Bring up correct properties dialog when selected
19057 From Dan Cohn <dan@internap.com>
19059 1999-05-20 Alexander Larsson <alla@lysator.liu.se>
19061 Patch from Lars R. Clausen
19063 * app/modify_tool.c:
19064 Changed abs to fabs.
19066 1999-05-19 Alexander Larsson <alla@lysator.liu.se>
19072 1999-05-18 Alexander Larsson <alla@lysator.liu.se>
19074 Patches from Dan Cohn <dan@internap.com>
19076 * app/commands.[ch]:
19077 * app/display.[ch]:
19079 * app/preferences.[ch]:
19080 Implements ability to turn on/off connection points in
19081 current drawing and in global prefs.
19083 1999-05-18 Alexander Larsson <alla@lysator.liu.se>
19085 * lib/widgets.c (dia_line_style_selector_init):
19088 * lib/diagramdata.c (layer_update_extents):
19089 Fixed uninitialized variable error.
19091 1999-05-17 Alexander Larsson <alla@lysator.liu.se>
19094 Made some changes to the gdk_imlib visual+colormap setup.
19096 1999-05-17 Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
19098 * objects/UML/usecase.c:
19099 * objects/UML/lifeline.c
19102 * objects/UML/object.c:
19103 * objects/UML/message.c:
19104 Changed font from Courier to Helvetica.
19108 Added dash lenth to the LineStyle widget.
19110 * objects/standard/ellipse.c :
19111 * objects/standard/zigzagline.c:
19112 * objects/standard/line.c:
19113 Added dash lenght property.
19115 1999-05-16 Alexander Larsson <alla@lysator.liu.se>
19117 * app/render_eps.c:
19118 First shot at latin1 encoded eps files.
19119 Works, but the eps files get a bit large.
19121 1999-05-16 Alexander Larsson <alla@lysator.liu.se>
19123 * objects/UML/class.[ch]:
19124 * objects/UML/uml.[ch]:
19125 Reverted the line wrap changes.
19126 Some day this might return, but it has to be selectable and
19127 default to off for loaded objects, otherwise it breaks file
19128 format compatibility.
19129 There was also some complains about how it looked, so a making it
19130 selectable is good for this too.
19132 1999-05-15 Alexander Larsson <alla@lysator.liu.se>
19134 * objects/UML/class.[ch]:
19135 Some indentation cleanup.
19136 Added wrap_lines variable to class.
19137 I'll fix the line break stuff tomorrow.
19139 1999-05-13 Alexander Larsson <alla@lysator.liu.se>
19142 Added ref to poly_conn.o.
19144 * objects/standard/polyline.c (polyline_draw):
19145 * objects/standard/zigzagline.c (zigzagline_draw):
19146 * objects/standard/arc.c (arc_draw):
19147 * objects/standard/line.c (line_draw):
19148 Draw lines before arrows. This makes hollow arrows not
19151 1999-05-13 Alexander Larsson <alla@lysator.liu.se>
19153 Changes from Kim Peasley <kpeasley@ior.com>
19155 * objects/UML/class.c:
19156 Break lines with long operations so classes won't be
19159 * objects/UML/uml.[ch]:
19160 Helperfunctions for the above.
19162 * objects/UML/objects.c:
19163 Fix bug that duplicated the text in the attributes
19164 textwidget each time the object was selected.
19166 1999-05-12 Alexander Larsson <alla@lysator.liu.se>
19168 Changes from Lars R. Clausen <lrclause@cs.uiuc.edu>
19170 * app/modify_tool.c:
19171 * app/modify_tool.h:
19172 Control-drag is restricted to vertical/horizontal movement
19175 ModifierKeys argument added to object_move_handle
19177 * app/connectionpoint_ops.c:
19178 * app/create_object.c:
19179 * app/object_ops.c:
19180 * objects/ER/attribute.c:
19181 * objects/ER/entity.c:
19182 * objects/ER/participation.c:
19183 * objects/ER/relationship.c:
19184 * objects/UML/actor.c:
19185 * objects/UML/association.c:
19186 * objects/UML/class.c:
19187 * objects/UML/classicon.c:
19188 * objects/UML/component.c:
19189 * objects/UML/constraint.c:
19190 * objects/UML/dependency.c:
19191 * objects/UML/generalization.c:
19192 * objects/UML/implements.c:
19193 * objects/UML/large_package.c:
19194 * objects/UML/lifeline.c:
19195 * objects/UML/message.c:
19196 * objects/UML/note.c:
19197 * objects/UML/object.c:
19198 * objects/UML/realizes.c:
19199 * objects/UML/small_package.c:
19200 * objects/UML/state.c:
19201 * objects/UML/usecase.c:
19202 * objects/network/bus.c:
19203 * objects/standard/arc.c:
19204 * objects/standard/box.c:
19205 * objects/standard/ellipse.c:
19206 * objects/standard/image.c:
19207 * objects/standard/line.c:
19208 * objects/standard/polyline.c:
19209 * objects/standard/textobj.c:
19210 * objects/standard/zigzagline.c:
19211 Changed calls to move_handle to pass the new argument.
19215 Default line width, color etc #define'd
19218 Updates of danish menus
19220 1999-05-08 Fredrik Hallenberg <hallon@lysator.liu.se>
19223 * dia_gnome_icon.png
19224 * dia_gnome_menu_icon.png
19226 Graphics by Toussaint Frédéric <ftoussin@club-internet.fr>.
19229 About dialog shows dia_logo.png. Removed the GNOME about dialog.
19232 Distribute the icons and install logo in pkgdatadir.
19235 Added DATADIR-define.
19237 1999-04-28 Alexander Larsson <alla@lysator.liu.se>
19238 Patches from Enrico Scholz <enrico.scholz@wirtschaft.tu-chemnitz.de>
19241 Updated version number, made setup quiet, can build from cvs,
19242 --enable-gnome, now using automake 1.4 DESTDIR feature, install-strip
19245 * objects/ER/Makefile.am
19246 * objects/UML/Makefile.am
19247 * objects/network/Makefile.am
19248 * objects/standard/Makefile.am
19249 now builds better with gnome
19251 * objects/UML/class_dialog.c
19252 Fixed typo -> po files must be updated too!!
19254 1999-04-28 Alexander Larsson <alla@lysator.liu.se>
19257 Added reference so that widgets.o gets linked to the app.
19259 1999-04-23 Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
19261 * objects/UML/classicon.c:
19264 * objects/UML/actor.c:
19265 Changed position of 'snap-to-grid' so connection points are
19268 1999-04-22 Alexander Larsson <alla@lysator.liu.se>
19270 * objects/UML/classicon.c:
19271 Changed position of 'snap-to-grid'.
19272 By Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
19274 1999-04-22 Alexander Larsson <alla@lysator.liu.se>
19276 * objects/network/antenna.c
19277 * objects/network/flash.c
19278 * objects/network/hub.c
19279 * objects/network/modem.c
19280 * objects/network/modularswitch.c
19281 * objects/network/rj45plug.c
19282 * objects/network/scead-plug.c
19283 * objects/network/network.c
19284 * objects/network/Makefile.am
19285 * objects/network/pixmaps/antenna.xpm
19286 * objects/network/pixmaps/flash.xpm
19287 * objects/network/pixmaps/hub.xpm
19288 * objects/network/pixmaps/modem.xpm
19289 * objects/network/pixmaps/modularswitch.xpm
19290 * objects/network/pixmaps/rj45plug.xpm
19291 * objects/network/pixmaps/sceadplug.xpm
19292 * objects/network/pixmaps/Makefile.am
19293 Lots of new network objects from
19294 Roland Steinbach <roland@support-system.com>.
19296 1999-04-15 Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
19298 * objects/UML/classicon.c:
19299 Fixed connection positions, saved type as int (it has 3 states),
19300 and other small fixes.
19302 1999-04-14 Alexander Larsson <alla@lysator.liu.se>
19304 * app/preferences.c:
19306 Added preference compress_save. It lets dia save uncompressed
19309 * objects/UML/class.c:
19310 Fixed bug with size calculation on methods that had class scope.
19312 1999-04-13 Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
19314 * objects/UML/usecase.c:
19315 Added collaboration mode
19316 Fixed connection points with text > ellipse bug and other
19319 * objects/UML/state.c:
19320 Fixed bug of bad position of text after being either end
19321 or begin, moved and returned to text
19323 1999-04-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
19325 * app/preferences.c: Add prototype declaration for prefs_apply.
19327 1999-04-11 Alexander Larsson <alla@lysator.liu.se>
19329 * app/preferences.c:
19331 Apply don't hide window.
19333 * app/properties.c:
19336 * objects/UML/object.c:
19337 * objdcts/UML/state.c:
19338 Some data was not copied on copy.
19341 Ben Hochstedler <benh@eeyore.moneng.mei.com>
19343 1999-04-09 Alexander Larsson <alla@lysator.liu.se>
19346 Changed link order between X and libxml.
19347 Some people had problems with an old libz in their
19350 1999-04-09 Kjartan Maraas <kmaraas@online.no>
19352 * po/no.po: updated translation.
19354 1999-04-08 Lars R. Clausen <lrclause@cs.uiuc.edu>
19356 * lib/message.c (message_error):
19359 * app/commands.[ch]:
19360 * app/diagram.[ch]:
19361 Added begining of xfig importing
19363 1999-04-08 Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
19365 * objects/UML/pixmaps/state.xpm:
19366 * objects/UML/state.c:
19367 New UML object state machine.
19369 * objects/UML/uml.c:
19370 * objects/UML/Makefile.am:
19371 * objects/UML/pixmaps/Makefile.am:
19372 Added the state object.
19374 1999-04-08 Alejandro Aguilar Sierra <ale@bucefalo>
19376 * objects/UML/usecase.c:
19377 Added dialog to allow move text outside the ellipse.
19379 1999-04-08 Alexander Larsson <alla@lysator.liu.se>
19381 * Released Dia 0.41
19382 Tag called DIA_0_41
19387 1999-04-08 Alexander Larsson <alla@lysator.liu.se>
19390 Updated version number to 0.41
19395 1999-04-04 Fredrik Hallenberg <hallon@lysator.liu.se>
19398 Changed errormessage for --export-to-ps. Removed call to
19399 g_log_set_always_fatal().
19402 * app/disp_callbacks.c
19404 (i18n) Removed gettext from some debugmessages.
19407 Small fix in GNOME-menus. Added warning that will help track
19408 problems with translations.
19411 (i18n) Updated swedish translation.
19413 1999-04-02 Alexander Larsson <alla@lysator.liu.se>
19418 1999-04-01 Alexander Larsson <alla@lysator.liu.se>
19424 1999-04-01 Alexander Larsson <alla@lysator.liu.se>
19427 (i18n) Updated the danish translation.
19428 From Lars R. Clausen.
19430 1999-04-01 Fredrik Hallenberg <hallon@lysator.liu.se>
19433 (i18n) The popup menu is translated now.
19436 (i18n) Updated swedish translation.
19438 1999-03-29 Alexander Larsson <alla@lysator.liu.se>
19440 * Released Dia 0.40
19441 Tag called DIA_0_40
19444 Updated for new release
19446 1999-03-29 Alexander Larsson <alla@lysator.liu.se>
19448 * objects/network/bus.c:
19449 Added initialization of properties dialog to NULL.
19451 * app/commands.c (edit_cut_callback):
19452 Update menu sensitivity when cut object.
19454 * app/modify_tool.c (click_select_object):
19455 * app/modify_tool.c (modify_button_release):
19456 Call diagram_update_menu_sensitivity() when
19457 selecting objects to update stuff that depends
19458 on selected/not selected.
19460 1999-03-29 Alexander Larsson <alla@lysator.liu.se>
19463 Change order of subdir so that libintl.a builds.
19464 Now passed make distcheck.
19466 1999-03-28 Alexander Larsson <alla@lysator.liu.se>
19468 * lib/font.c (init_x11_font):
19471 1999-03-28 Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
19473 * objects/UML/pixmaps/classicon.xpm:
19474 * objects/UML/classicon.c:
19475 * objects/UML/uml.c:
19476 Added the class stereotype icon objects.
19479 Changed default ps extension from .ps to .eps.
19481 1999-03-28 Alexander Larsson <alla@lysator.liu.se>
19484 Added diamenu.h and intl.h
19489 * objects/UML/pixmaps/Makefile.am:
19492 * objects/standard/pixmaps/Makefile.am:
19495 1999-03-28 Alexander Larsson <alla@lysator.liu.se>
19498 Use a scalable font before fixed when real font not found.
19503 * objects/standard/image.c:
19504 Better handling of loading/saving of images.
19507 Added some text about cvs, fonts and rewrote some parts.
19510 Updated with new stuff.
19513 Bump up version number to 0.40.
19515 1999-03-28 Alexander Larsson <alla@lysator.liu.se>
19518 Moved diagram_add_ddisplay() call into new_display().
19519 Fixed new_display to not use uninitialized variables
19520 causing loaded files to show up as black (or garbage).
19524 Removed unneeded calls to diagram_add_ddisplay().
19526 1999-03-28 Alexander Larsson <alla@lysator.liu.se>
19528 * objects/UML/lifeline.c:
19530 Patch from Andreas Jaeger <aj@arthur.rhein-neckar.de>.
19532 * objects/UML/message.c:
19533 Fixed bug loading messages with null-text.
19534 Patch from Andreas Jaeger <aj@arthur.rhein-neckar.de>.
19536 1999-03-27 Fredrik Hallenberg <hallon@lysator.liu.se>
19539 Updated swedish translation.
19542 (GNOME) Removed help-browser from help menu. Fixed typo.
19545 (GNOME) Accelerators in diagrams should work now.
19547 1999-03-25 Fredrik Hallenberg <hallon@lysator.liu.se>
19552 * app/disp_callbacks.c
19556 * app/preferences.c
19558 * lib/diagramdata.c
19564 * objects/network/*.c
19565 * objects/standard/*.c
19566 * po/update_pofiles_in.sh
19568 More i18n. All strings (expect rare debug messages) can be
19569 translated now. Moved intl.h from app to lib. Updated
19570 update_pofiles_in.sh to check all .c-files.
19572 1999-03-23 Alexander Larsson <alla@lysator.liu.se>
19574 * app/disp_callbacks.c (ddisplay_canvas_events):
19575 Don't drop keys while num-lock, scroll-lock etc is on.
19577 1999-03-22 Alexander Larsson <alla@lysator.liu.se>
19579 * app/render_eps.c (draw_image):
19580 Fixed exporting of images.
19581 Still not perfect, but not outright buggy.
19583 1999-03-22 Alexander Larsson <alla@lysator.liu.se>
19587 Added hungarian translation. By Shooby Ban <bansz@szif.hu>.
19590 Added $* to the dia call in run_dia.sh
19592 1999-03-22 Lars Clausen <lrclause@shasta.cs.uiuc.edu>
19595 Added color_equals() call.
19597 * objects/standard/arc.c:
19598 * objects/standard/line.c:
19599 Don't save unneccesary data.
19601 * objects/standard/box.c:
19602 * objects/standard/ellipse.c:
19603 * objects/standard/image.c:
19604 * objects/standard/polyline.c:
19605 * objects/standard/zigzagline.c:
19606 Share properties dialog.
19607 Don't save unneccesary data.
19609 1999-03-22 Seth Alves <alves@hungry.com>
19614 small changes so that gnome menus aren't broken
19616 1999-03-22 Alexander Larsson <alla@lysator.liu.se>
19619 Added danish translation from lrclause@cs.uiuc.edu.
19624 * po/update_pofiles_in.sh:
19625 Added script that updates POFILES.in.
19626 This should probably be run automatically from somewhere.
19628 1999-03-19 Alexander Larsson <alla@lysator.liu.se>
19630 * app/diagram.[ch]:
19631 Added function diagram_update_menu_sensitivity() which
19632 sets the sensitivity of some menu items. This function
19633 is called at each diagram state change (from diagram_modified()).
19634 This is needed because otherwise the keyboard accelerators
19635 don't work correctly.
19637 * app/display.[ch]:
19638 Changed display_set_menu_sensitivity() to display_update_menu_state().
19639 Moved lots of code to diagram_update_menu_sensitivity() in
19640 diagram.c. Optimized to only look up menu-items from path:s once.
19642 * app/disp_callbacks.c:
19644 When we get a GDK_FOCUS_CHANGE, update menu sensitivity.
19645 Need to set GDK_FOCUS_CHANGE_MASK.
19647 * app/create_object.c:
19648 Call diagram_modified when an object has been created and
19649 selected so that the menu sensitivity is updated.
19652 removed menus_set_sensitive() and menus_set_state(). Exported
19653 renamed function menus_get_item_from_path().
19655 1999-03-15 Alexander Larsson <alla@lysator.liu.se>
19657 * app/disp_callbacks.c:
19658 Show (empty) object menus on object that has none.
19659 Show title on object menus.
19662 Set zoom factor correctly when opening new displays.
19663 Better setting of scrollbars.
19667 Some reformating cleanup.
19670 Added title to object menus.
19673 Added object menu method (NULL-valued) to all objects.
19675 * objects/standard/polyline.c:
19676 Added title to object menu.
19678 1999-03-14 Alexander Larsson <alla@lysator.liu.se>
19680 * app/preferences.[ch]:
19681 New files. Implements the preferences dialog and
19682 loading/saving of ~/.diarc.
19685 Added preferences.[ch].
19688 Load preferences on startup.
19690 * app/commands.[ch]:
19691 Added file_preferences_callback to show the preferences dialog.
19693 * app/create_object.c:
19694 Update extents when creating object.
19695 Use the reset_tools_after_create preferences setting.
19698 Use preferences when creating new display.
19701 Add preferences to menu.
19704 * app/layer_dialog.c:
19705 * app/properties.c:
19706 Don't allow shrinking of dialog.
19707 Add i18n of some strings.
19709 1999-03-11 Kjartan Maraas <kmaraas@fib.hl.no>
19711 Norwegian translation added.
19713 1999-03-11 Alexander Larsson <alla@lysator.liu.se>
19715 * objects/standard/line.c:
19716 * objects/standard/arc.c:
19717 * objects/standard/polyline.c:
19718 * objects/standard/zigzagline.c:
19719 Loading of arrow data fixed.
19721 1999-03-09 Alexander Larsson <alla@lysator.liu.se>
19724 Update extents when saving and exporting to postscript.
19725 Fixes a bug with postscript bounding-box being wrong.
19728 Changed border width from 5 to 2.
19731 Move grouped objects by the move-point of the first object.
19732 Fixes bug that made all objects in the group be off-grid
19733 when moving the group, even though all objects was on-grid.
19735 * app/layer_dialog.c:
19736 Update extents when changing layer.
19738 1999-03-08 Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
19740 * objects/UML/uml.c:
19741 * objects/UML/component.c:
19742 * objects/UML/pixmaps/component.xpm:
19743 Added the UML component object
19745 1999-03-04 Seth Alves <alves@hungry.com>
19747 * objects/UML/generalization.c (generalization_create): avoid
19748 math on uninitialized genlz->text_width (NaN causes sigfpe)
19750 * objects/UML/realizes.c (realizes_create): same
19752 * objects/UML/dependency.c (dependency_create): same
19754 1999-03-01 Seth Alves <alves@hungry.com>
19756 * app/display.c (ddisplay_active): don't fly a warning panel
19757 if ddisplay_active is called when no views are open.
19759 * app/commands.c (set_default_file_selection_directory): set
19760 file selector's default directory if there is already
19763 1999-02-28 Alexander Larsson <alla@lysator.liu.se>
19766 New info about imlib requirements.
19769 Added lib/pixmaps/Makefile to created makefiles.
19773 Change from obsoleted to newer gtk calls.
19776 Pass filename of the diagram when loading and saving.
19777 This creates better oportunities to handle filename saving.
19780 Pass filenames to load and save methods.
19782 * lib/dia_image.[ch]:
19783 Added dia_image_get_broken() call that returns a image which
19784 is used for 'broken' images.
19786 * lib/pixmaps/.cvsignore:
19787 * lib/pixmaps/Makefile.am:
19788 * lib/pixmaps/broken.xpm:
19789 New files for the broken image bitmap.
19792 Fixed bug with double destroyed filedialog.
19795 Updated load and save prototypes to use the new filename argument.
19798 Render broken image instead of line when got no image.
19799 Use the new filename in load and save to save (if possible)
19800 relative pathnames and to better try to find loaded images.
19802 1999-02-28 Alexander Larsson <alla@lysator.liu.se>
19805 Some updates to the todo file.
19809 Place over/place over => sent to back/bring to front.
19810 Added some keyboard shortcuts to menus.
19812 1999-02-28 Alexander Larsson <alla@lysator.liu.se>
19815 Changed string saving/loading to a new method. This should
19816 be much better att handling &,<,> and whitespaces.
19817 Loading strings of the old kind is still supported for backwards
19820 * samples/ER-demo.dia:
19821 * samples/UML-demo.dia:
19822 Updated to use the new strings.
19825 statusbar modified update fix.
19827 1999-02-27 Seth Alves <alves@hungry.com>
19829 * app/app_procs.c (app_init): added a --export-to-ps option
19830 which will cause dia to load a dia file and save it as ps
19831 and then exit. this is a little bogus, because it still
19832 pops up a window. this option only shows up if --enable-gnome
19835 * app/display.c (display_set_menu_sensitivity): no Edit/Delete
19836 menu when built with --enable-gnome
19838 * app/interface.c (create_display_shell): build status bar
19839 even if --enable-gnome is used
19841 * app/menus.c: menu fixes for --enable-gnome
19843 * app/commands.c (file_open_dialog_ok_callback): fixed up
19844 menus when --enable-gnome is used
19845 (file_export_to_eps_callback): set a default file name
19846 when dialog is created
19848 1999-02-27 Alexander Larsson <alex@c125.ryd.student.liu.se>
19850 * objects/UML/association.c (association_create):
19851 Fixed usage of not initialized variable.
19852 Pointed out by Seth Alves <alves@hungry.com>.
19854 1999-02-24 Alexander Larsson <alex@c125.ryd.student.liu.se>
19857 Fixed detection of gnome-xml.
19858 From Valtteri Vuorikoski <vuori@k.notcom.org>.
19861 Fixed error detection on dlsym calls.
19862 From Valtteri Vuorikoski <vuori@k.notcom.org>.
19864 1999-02-23 Alexander Larsson <alla@lysator.liu.se>
19866 * objects/UML/message.c (fill_in_dialog):
19869 1999-02-22 Lars Clausen <lrclause@shasta.cs.uiuc.edu>
19871 * objects/standard/zigzagline.c:
19872 * objects/standard/polyline.c:
19873 * objects/standard/line.c:
19874 * objects/standard/arc.c:
19878 Support for sizeable arrows.
19880 * objects/standard/box.c:
19881 * objects/standard/ellipse.c:
19882 * objects/standard/image.c:
19883 Changed creation handle to lower-right.
19884 Transparent box/ellipse.
19886 * objects/standard/image.c:
19887 Better layout of properties boxes.
19889 1999-02-20 Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
19891 * objects/UML/message.c (fill_in_dialog):
19892 Fixed dialog fill in. Common dialog for all messages.
19894 * objects/UML/object.c:
19895 Added multiple instance. Dialog related bugs fixed.
19896 Common dialog for all instances. Completed copy and destroy.
19898 * objects/UML/lifeline.c (lifeline_load):
19899 Conn initialization bug fixed and few bad loading prevention flags.
19900 Common dialog for all lifeline objects.
19902 1999-02-15 Alexander Larsson <alla@lysator.liu.se>
19904 * lib/dia_image.[ch]:
19905 More work on the DiaImage abstraction.
19908 * app/render_eps.c:
19909 * app/render_gdk.c:
19910 * objects/standard/image.c:
19911 Use the new DiaImage calls.
19913 1999-02-15 Alexander Larsson <alla@lysator.liu.se>
19917 Reversed the meaning of align horizontal/vertical.
19919 1999-02-15 Alexander Larsson <alla@lysator.liu.se>
19921 * app/load_save.c (diagram_load):
19922 Statusbar update fix.
19924 1999-02-15 Alexander Larsson <alla@lysator.liu.se>
19926 * app/interface.c (create_display_shell):
19927 Fixed status bar size.
19929 1999-02-15 Alexander Larsson <alla@lysator.liu.se>
19931 * lib/dia_image.[ch]:
19932 Added extern declaration for dia_image_release.
19933 Removed dia_image_draw, as it's not neseccary.
19935 1999-02-14 Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
19937 * app/object_ops.c:
19939 Added equal distance alignment both vertical and horizontal.
19941 * objects/UML/object.c:
19942 Added a couple of attributes to load/read that were missing.
19944 * objects/UML/lifeline.c:
19945 Better handling of handles. Fixed another bug I forgot to add
19948 1999-02-13 Alexander Larsson <alla@lysator.liu.se>
19950 Patch from Lars Clausen <lrclause@shasta.cs.uiuc.edu>
19952 * lib/dia_image.[ch]:
19954 New files. DiaImage wraps the GdkImlibImage.
19957 * app/render_eps.c:
19958 * app/render_gdk.c:
19959 * lib/render_store.[ch]:
19960 * objects/standard/image.c:
19961 Use the new DiaImagetype.
19964 Removed unused variable to eliminate warning.
19966 1999-02-11 Alexander Larsson <alla@lysator.liu.se>
19968 * objects/standard/box.c:
19969 Added rounded corners on the box object.
19971 * lib/widgets.[ch]:
19972 Updated the DiaFileSelector widget.
19974 1999-02-09 Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
19976 * objects/UML/object.c (objet_draw):
19977 Completed underlining of all object name lines.
19979 * objects/UML/message.c (fill_in_dialog):
19980 Fixed a bug that filled incorrectly the message's dialog.
19982 * objects/UML/lifeline.c (lifeline_load):
19983 Some cleanning and fixed a couple of bugs that caused
19984 crashes after reading diagrams with lifelines.
19987 Added flags to prevent crash with void strings
19989 1999-02-07 Matthias Köster <Matthias.Koester@Informatik.Uni-Oldenburg.DE>
19990 * app/display.[ch]:
19991 Added statusbar to the display widget. Currently shows the zoom
19992 factor and modified flag of the viewed diagram. The statusbar is
19993 updated upon calls to ddisplay_zoom and ddisplay_update_statusbar.
19994 This caused the following additions:
19996 * app/diagram.[ch]:
19997 Added function diagram_set_modified. Calls
19998 ddisplay_update_statusbar for all displays showing the modified diagram.
19999 Changed diagram_modified to call diagram_set_modified.
20002 Added the creation of the statusbar.
20005 diagram_save now calls diagram_set_modified instead of setting
20006 dia->modified. Needed to force call to display_update_statusbar
20009 Changed the way view_show_all works. Now calls ddisplay_zoom
20010 instead of directly setting the zoom_factor, so the zoom factor is
20011 correctly shown in the statusbar.
20014 Fixed rubberband zoom to use ddisplay_zoom().
20016 1999-02-07 Fredrik Hallenberg <hallon@lysator.liu.se>
20019 Rudimentary GNOME session management.
20021 * app/disp_callbacks.c
20025 GNOME menus. Problems:
20026 Callbacks doesn't get user_data.
20027 Weird warnings when creating popup menus.
20028 menus_set_sensitive(), menus_set_state() doesn't work.
20030 1999-02-05 Lars Clausen <lrclause@shasta.cs.uiuc.edu>
20033 Add AM_PATH_GDK_IMLIB() call.
20036 Add gdk_imlib to linking flags.
20040 Print library-loading error messages on stdout too.
20043 Add standard image to toolbox.
20045 * app/render_eps.c:
20046 Set a more reasonable dot length. Fixed
20047 missing initialization of dot length.
20048 Added draw_image methods.
20050 * app/render_gdk.c (new_gdk_renderer):
20051 Dot a bit wider. Looks good in normal mode now.
20053 * objects/standard/image.c:
20054 * objects/standard/pixmaps/image.xpm:
20055 New files. Standard object for images.
20057 * app/render_eps.c (set_linestyle):
20058 * app/render_gdk.c (set_linestyle):
20059 * lib/widgets.c (dia_line_style_selector_init):
20061 New line style DOTTED.
20064 * lib/render_store.c:
20065 Change DrawImage call to use gdk_imlib.
20067 * lib/widgets.[ch]:
20068 Added widgets for selecting files.
20069 Added dotted to the linestyle selector.
20071 1999-02-06 Alexander Larsson <alla@lysator.liu.se>
20073 * objects/network/printer.c:
20074 * objects/network/network.c:
20075 * objects/network/pixmaps/printer.xpm:
20076 * objects/network/.cvsignore:
20077 * objects/network/Makefile.am:
20078 * objects/network/pixmaps/Makefile.am:
20079 New printer object in network.
20080 From Martin Hawlisch <hawlisch@roxi.rz.fh-mannheim.de>
20083 Added known XML bug.
20085 1999-02-06 Alexander Larsson <alla@lysator.liu.se>
20089 Reverted back from #include <gnome-xml/tree.h> to
20090 #include <tree.h> as this is fixed by the xml-config program.
20091 The former way broke for some people.
20092 Reported by blizzard@redhat.com.
20094 * objects/UML/lifeline.c:
20095 * objects/UML/message.c:
20096 * objects/UML/object.c:
20097 Removed some warnings.
20099 1999-02-04 Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
20101 * objects/UML/lifeline.c:
20102 Fixed connection points over the life line when the focus of
20103 control is not drawn.
20105 * objects/UML/message.c:
20106 Now a recursive message can be freely resized using the handles.
20108 1999-02-02 Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
20110 * objects/UML/lifeline.c:
20111 Added connection points.
20112 Added properties dialog with the option to draw/hide focus of control
20113 box and destruction mark.
20115 * objects/UML/object.c:
20116 Added properties dialog and stereotype, explicit state and attributes.
20117 It's also possible to mark the object as active.
20119 * objects/UML/pixmaps/object.xpm:
20122 * objects/UML/message.c:
20123 Added "recursive" message type (was not necessary to use OrthConn).
20125 1999-02-02 Alexander Larsson <alla@lysator.liu.se>
20127 * objects/standard/arc.c:
20128 Removed old debug code. Fixes a visual bug. From lrclause@cs.uiuc.edu.
20130 1999-02-01 Alexander Larsson <alla@lysator.liu.se>
20132 Patch from Lars R. Clausen <lrclause@cs.uiuc.edu>
20136 Update xml includes to gnome-xml/*.h.
20138 * objects/standard/arc.c:
20139 Only one property dialog per type.
20140 Fix arrows directions.
20142 * objects/standard/box.c:
20143 * objects/standard/ellipse.c:
20144 * objects/standard/textobj.c
20145 Added default properties dialog.
20148 1999-01-31 Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
20150 * objects/UML/Makefile.am:
20151 * objects/UML/uml.c:
20152 * objects/UML/lifeline.c:
20153 * objects/UML/object.c:
20154 * objects/UML/message.c:
20155 * objects/UML/pixmaps/lifeline.xpm:
20156 * objects/UML/pixmaps/object.xpm:
20157 * objects/UML/pixmaps/message.xpm:
20158 Added 3 new UML objects for dynamic modeling. To avoid internal
20159 conflicts, the name "objet" is used for object "object".
20162 Added ARROW_HALF_HEAD arrow type to allow drawing asynchronous
20165 1999-01-30 Alexander Larsson <alla@lysator.liu.se>
20167 * app/display.[ch]:
20168 * app/modify_tool.c:
20169 Added autoscrolling while doing rubber-band select.
20170 This patch from Matthias Köster
20171 (Matthias.Koester@Informatik.Uni-Oldenburg.DE)
20174 1999-01-28 Alexander Larsson <alla@lysator.liu.se>
20176 * app/defaults.[ch]:
20177 New files, deals with default properties dialog.
20180 New file. Contains definitions for the new object menu.
20182 * lib/poly_conn.[ch]:
20183 New file. Base class for poly-line like objects.
20185 * objects/standard/polyline.c:
20186 * objects/standard/pixmaps/polyline.xpm:
20187 New files. Polyline object.
20190 Fixed bug with infinite loop when registering sheets.
20193 Removed unneccesary stuff.
20195 * app/disp_callbacks.c:
20196 Support for object menus.
20199 Added polyline to toolbox.
20200 Added call to tool_options_dialog_show() when double clicking on
20204 New function tool_options_dialog_show() for tool properties.
20210 Added ObjectType methods for handling object default dialogs.
20211 Added Object method for handling object_menu.
20212 Added unused methods to ObjectTypeOps for future binary
20215 * lib/widgets.[ch]:
20216 Added DiaArrowTypeSelector widget.
20218 * objects/standard/arc.c:
20219 * objects/standard/zigzagline.c:
20220 Added support for default properties.
20222 * objects/standard/line.c:
20223 Added support for default properties.
20224 Just use one properties dialog for all line objects. NOTE: This
20225 seems to have a bug. We're working on it.
20227 * standard/standard.c:
20228 Add the polyline object.
20230 1999-01-27 Alexander Larsson <alla@lysator.liu.se>
20232 * app/modify_tool.c:
20233 Commented out buggy transitive select function. It wasn't really
20234 meant to go into cvs.
20237 1999-01-25 Fredrik Hallenberg <hallon@lysator.liu.se>
20249 Swedish translation. Not completed.
20253 Added possibility to enable GNOME specific code with configure.
20256 Added possibility to set debug level with configure.
20259 Added about dialog.
20265 Added some GNOME specific code. Not ready for use.
20267 1999-01-24 Alexander Larsson <alla@lysator.liu.se>
20270 Added text about needing gtk 1.1.13 and gnome-xml.
20273 Described changes since last version (0.20).
20275 Released version 0.30, tagged DIA_0_30.
20277 1999-01-22 Alexander Larsson <alla@lysator.liu.se>
20279 * app/magnify.c (magnify_button_release):
20280 Fixed a problem when zooming in on a very small box would
20281 not release the grabbed pointer-focus.
20283 1999-01-21 Alexander Larsson <alla@lysator.liu.se>
20285 * app/load_save.c (diagram_load):
20286 Be somewhat more robust when loading files that
20289 1999-01-21 Alexander Larsson <alla@lysator.liu.se>
20293 * objects/UML/uml.c:
20294 * objects/network/network.c:
20295 * objects/standard/standard.c:
20296 Added versioning of object libraries.
20298 * app/create_object.c:
20299 Don't change tool when an object is created.
20301 * objects/network/network.c:
20306 1999-01-19 Alexander Larsson <alla@lysator.liu.se>
20309 Updated gtk requirement to Gtk+ 1.1.13.
20312 Always add one screenful of scrolling space on
20313 each side of a diagram window.
20315 1999-01-19 Jeff Garzik <jgarzik@pobox.com>
20318 Tell automake to auto-install missing files.
20321 Renamed deprecated Gtk+ function.
20323 1999-01-16 Alexander Larsson <alla@lysator.liu.se>
20327 * samples/Makefile.am:
20328 * samples/ER-demo.dia:
20329 * samples/UML-demo.dia:
20330 Added samples directory.
20331 Added samples for ER and UML.
20334 * app/disp_callbacks.c:
20336 Zoom is done by sqrt(2) instead of 2.
20337 Lots of more zoom options in the menu.
20339 * objects/ER/relationship.c:
20340 Relationships have 8 connectionpoints instead of 4.
20342 * objects/UML/class.c:
20343 UML class name font a bit smaller.
20344 Fixed stupid bug in the copy operation.
20347 Displays are opened at 500x400 instead of 256x256.
20350 Fixup of internal error message.
20352 * app/color_area.c:
20354 * app/modify_tool.c:
20356 Removed debug printf's.
20359 Added new known bug.
20361 1999-01-16 Alexander Larsson <alla@lysator.liu.se>
20365 Fixed so accelerator groups work in all windows.
20366 Updated to new gtk function names.
20372 Updated to new gtk function names.
20373 Set sensitivity of the align menu items.
20375 * objects/ER/pixmaps/Makefile.am:
20376 * objects/UML/pixmaps/Makefile.am:
20377 * objects/network/pixmaps/Makefile.am:
20378 Fix so that make dist works.
20381 * app/color_area.c:
20385 * app/layer_dialog.c:
20387 * app/object_ops.c:
20388 * app/properties.c:
20389 * lib/diagramdata.[ch]:
20391 * lib/objects/ER/attribute.c:
20392 * lib/objects/ER/entity.c:
20393 * lib/objects/ER/participation.c:
20394 * lib/objects/ER/relationship.c:
20395 * lib/objects/ER/.c:
20396 * objects/UML/actor.c:
20397 * objects/UML/association.c:
20398 * objects/UML/class_dialog.c:
20399 * objects/UML/dependency.c:
20400 * objects/UML/generalization.c:
20401 * objects/UML/large_package.c:
20402 * objects/UML/realizes.c:
20405 Updated to new gtk function names.
20408 1999-01-15 Alexander Larsson <alla@lysator.liu.se>
20414 Fixed loading of diagrams specified as arguments.
20416 * objects/ER/attribute.c:
20417 * objects/ER/entity.c:
20419 * objects/ER/participation.c:
20420 * objects/ER/relationship.c:
20421 Updated the ER objects.
20424 1999-01-14 Alexander Larsson <alla@lysator.liu.se>
20428 * objects/Makefile.am:
20429 * objects/ER/attribute.c:
20430 * objects/ER/entity.c:
20432 * objects/ER/participation.c:
20433 * objects/ER/relationship.c:
20434 * objects/ER/pixmaps/Makefile.am:
20435 * objects/ER/pixmaps/attribute.xpm:
20436 * objects/ER/pixmaps/entity.xpm:
20437 * objects/ER/pixmaps/participation.xpm:
20438 * objects/ER/pixmaps/relationship.xpm:
20439 * objects/ER/pixmaps/weakentity.xpm:
20440 First commit of entity relationship objects.
20441 These were done by hallon@lysator.liu.se.
20442 There are still stuff to do on these.
20444 1999-01-14 Alexander Larsson <alla@lysator.liu.se>
20449 * app/diagram.[ch]:
20450 Change diagram_remove_all_selected to take new argument
20451 delete_empty. Empty objects are deleted only if it is TRUE.
20452 Removed call to close_eps_renderer. This is now done in end_render
20453 in the eps renderer.
20455 * app/create_object.c:
20456 * app/layer_dialog.c:
20457 Update calls to diagram_remove_all_selected.
20460 Update calls to diagram_remove_all_selected.
20461 Some code reformating.
20462 Changed order of adding updates i align_h and align_v.
20464 * app/modify_tool.c:
20465 Update calls to diagram_remove_all_selected.
20466 Added pointer grab when doing rubber-band selection, this fixes
20467 the bug when draging the box over to another window.
20469 * app/connectionpoint_ops.[ch]:
20470 diagram_update_connections_object changed to take an argument
20471 update_nonmoved. This lets connections that has not moved, but
20472 the stuff they're connected to has been moved work.
20473 Update calls to the new diagram_update_connections_object.
20475 * app/properties.c:
20476 Update calls to the new diagram_update_connections_object.
20477 Update extents when properties are applied.
20479 * app/disp_callbacks.c:
20480 Added support for zooming with the '+' and '-' keys.
20483 Removed old keyboard shortcuts for zoom.
20486 Added calls begin_render and end_render to renderer.
20487 These can be used for setup and cleanup.
20489 * lib/diagramdata.c:
20490 Added calls to begin_render and end_render in data_render.
20492 * app/render_gdk.c:
20493 Added begin_render and end_render.
20495 * app/render_eps.[ch]:
20496 Added begin_render and end_render.
20497 Moved close_eps_renderer code to end_render.
20498 Various fixes to the generated eps code. This fixes importing
20499 generated eps into LYX.
20501 1999-01-12 Alexander Larsson <alla@lysator.liu.se>
20507 Menus for alignment updated.
20509 * app/object_ops.[ch]:
20510 Functions for object alignment updated.
20512 * app/commands.[ch]:
20513 Object alignment callbacks updated.
20514 New diagrams are called Untitled-<nr>.
20516 * app/layer_dialog.c:
20517 Active layer selected when showing layers from new
20521 Compress xml files when saving.
20522 Use xml namespace 'dia'.
20525 Minor comment update.
20527 * objects/UML/class_dialog.c:
20528 Cleanup of the gkt_list_item moving code.
20529 Fixed bug with update of operation when moving parameters.
20531 1999-01-10 Alexander Larsson <alla@lysator.liu.se>
20533 * app/layer_dialog.[ch]:
20534 Fixed the rest of the layers dialog.
20537 Added call to redo layer dialogs diagram list when changing
20540 * lib/diagramdata.[ch]:
20541 Added data_raise_layer and data_lower_layer functions for
20542 raising/lowering layers. Added data_add_layer_at for adding a
20543 layer at a specified index.
20545 1999-01-05 Alexander Larsson <alla@lysator.liu.se>
20547 This is the asierra-990105 patch done by asierra@servidor.unam.mx.
20550 Added support for reading diagrams from the command line.
20552 1998-12-21 Alexander Larsson <alla@lysator.liu.se>
20554 This is the asierra-981220 patch done by asierra@servidor.unam.mx.
20556 * app/commands.[ch]:
20557 Added objects_align_callback().
20560 Added align objects to menu.
20562 * app/object_ops.[ch]:
20563 Add object_list_align().
20565 1998-12-17 Alexander Larsson <alla@lysator.liu.se>
20566 * app/layer_dialog.[ch]:
20567 New files. Handles the layers dialog. Needs a bugfix for glib to
20568 work. Sent patch to gtk-list.
20570 * app/pixmaps/new.xpm:
20571 * app/pixmaps/eye.xbm:
20572 * app/pixmaps/lower.xpm:
20573 * app/pixmaps/raise.xpm:
20574 * app/pixmaps/delete.xpm:
20575 New files. Images for the layer dialog buttons.
20577 * lib/diagramdata.h
20578 * lib/diagramdata.c
20579 New files for the DiagramData and Layer structures and functions.
20582 Added call to create_layer_dialog() on startup.
20584 * app/commands.[ch]:
20585 New callbacks for showing the properties and layout dialog.
20586 Changes for the new DiagramData structure.
20588 * app/connectionpoint_ops.c:
20589 * app/cut_n_paste.c:
20590 * app/diagram.[ch]:
20591 * app/display.[ch]:
20593 * app/modify_tool.c:
20594 * app/object_ops.[ch]:
20595 * app/render_eps.c:
20597 Changes for the new DiagramData structure.
20600 * app/properties.c:
20601 Set correct wmclasses.
20604 Fix load and save of layers.
20607 Update DTD for layers.
20610 New menus for dialogs.
20616 1998-12-06 Alexander Larsson <alla@lysator.liu.se>
20619 Removed the gtk 1.1.5 stuff.
20622 Updated gtk check to version 1.1.5.
20623 Updated version from 0.20 to 0.30
20625 * app/commands.[ch]:
20626 Updated some callbacks to be of type GtkItemFactoryCallback1.
20627 Not all are done yet, but it works anyway.
20630 Removed Gtk 1.0.0 GtkAcceleratorTable references.
20634 Update to Gtk 1.1.x functions.
20635 Use ItemFactory instead of MenuFactory.
20637 * app/render_gdk.c:
20638 Removed Gtk 1.0.0 references.
20640 * objects/UML/class_dialog.c:
20641 Scrolled window updates for Gtk 1.1.5.
20644 Removed ugly fix for gnome-xml bug. Make sure you get the
20645 newest version of gnome-xml from CVS.
20647 1998-12-05 Alexander Larsson <alla@lysator.liu.se>
20650 Removed the xml load/save line.
20656 Removed building of files.c
20659 * lib/connection.c:
20663 * lib/render_object.c:
20664 * objects/UML/actor.c:
20665 * objects/UML/association.c:
20666 * objects/UML/class.c:
20667 * objects/UML/constraint.c:
20668 * objects/UML/dependency.c:
20669 * objects/UML/generalization.c:
20670 * objects/UML/implements.c:
20671 * objects/UML/large_package.c:
20672 * objects/UML/note.c:
20673 * objects/UML/realizes.c:
20674 * objects/UML/small_package.c:
20675 * objects/UML/uml.c:
20676 * objects/UML/usecase.c:
20677 * objects/network/bus.c:
20678 * objects/standard/arc.c:
20679 * objects/standard/box.c:
20680 * objects/standard/ellipse.c:
20681 * objects/standard/line.c:
20682 * objects/standard/textobj.c:
20683 * objects/standard/zigzagline.c:
20684 Removed all includes of files.h
20687 1998-12-05 Alexander Larsson <alla@lysator.liu.se>
20690 Made the val property of string be implied.
20691 This makes it possible to save strings that
20692 are NULL. Just leave out val.
20694 * objects/lib/dia_xml.c:
20695 Fixed string so that it is possible to save strings
20696 that are NULL. Also made an ugly workaround of a
20697 bug in gnome-xml which removes empty properties.
20699 * objects/lib/orth_conn.c:
20700 Fixed a bug in saving. Forgot to step through the
20703 * objects/UML/association.c:
20704 * objects/UML/class.c:
20705 * objects/UML/constraint.c:
20706 * objects/UML/dependency.c:
20707 * objects/UML/generalization.c:
20708 * objects/UML/implements.c:
20709 * objects/UML/large_package.c:
20710 * objects/UML/note.c:
20711 * objects/UML/small_package.c:
20712 * objects/UML/realizes.c:
20713 * objects/UML/usecase.c:
20714 * objects/UML/actor.c:
20715 Fixed UML objects to save as xml.
20716 The last two were done by asierra@servidor.unam.mx (asierra-981204)
20718 * objects/UML/uml.[ch]:
20719 Updated *_write() and *_read() functions to use xml.
20721 * objects/network/bus.c:
20722 * objects/network/computer.c:
20723 * objects/network/disc.c:
20724 * objects/network/monitor.c:
20725 Updated network diagrams to use xml.
20727 1998-12-02 Alexander Larsson <alla@lysator.liu.se>
20730 New file. DTD that describes the xml file format
20733 * lib/dia_xml.[ch]:
20734 New files. Support for saving object to xml files.
20739 Added check for and usage of gnome-xml library.
20742 Major chages. Now saves/loads diagrams as xml.
20745 * lib/element.[ch]:
20746 * lib/connection.[ch]:
20747 * lib/orth_conn.[ch]:
20748 * lib/render_object.[ch]:
20750 Updated object support load/save functions for xml:
20752 * object/standard/arc.c:
20753 * object/standard/box.c:
20754 * object/standard/ellipse.c:
20755 * object/standard/line.c:
20756 * object/standard/textobj.c:
20757 * object/standard/zigzagline.c:
20758 Updated all standard objects to use xml.
20761 Only the standard objects are converted right now, don't
20762 save or load uml or network diagrams yet. Also, since this
20763 is new code it is deemed a bit unstable.
20768 1998-12-01 Alexander Larsson <alla@lysator.liu.se>
20770 * objects/UML/class.c:
20771 Changed classname font to Helvetica.
20772 Added more space above the classname
20774 * objects/UML/usecase.c:
20775 Correct placements of connectionpoints on ellipse.
20776 Better algorithm for deciding aspect ration on
20779 These changes were made by Alejandro Aguilar Sierra
20780 <asierra@servidor.unam.mx>. (asierra-981201)
20782 1998-11-30 Alexander Larsson <alla@lysator.liu.se>
20784 * objects/UML/actor.c:
20785 Changed the extents and alignment of the element
20788 * objects/UML/.cvsignore:
20789 Added usecase.lo and actor.lo.
20791 1998-11-30 Alexander Larsson <alla@lysator.liu.se>
20793 * objects/UML/actor.c:
20794 * objects/UML/usecase.c:
20795 * objects/UML/pixmaps/actor.xpm:
20796 * objects/UML/pixmaps/case.xpm:
20797 New files. Implements usecase and actor UML objects.
20798 These objects are done by Alejandro Aguilar Sierra
20799 <asierra@servidor.unam.mx>.
20801 * objects/UML/Makefile.am:
20802 * objects/UML/pixmaps/Makefile.am:
20803 Added usecase and actor to makefile.
20806 Added Alejandro and Jerome to autors list.
20808 1998-11-25 Alexander Larsson <alla@lysator.liu.se>
20810 * objects/UML/class.c (umlclass_load):
20811 Fixed typo. Reported by Jerome.Abela@solsoft.fr
20813 1998-11-24 Alexander Larsson <alla@lysator.liu.se>
20815 * app/properties.c:
20816 Update connections when doing apply in the properties window.
20818 * objects/UML/uml.[ch]:
20819 * objects/UML/class.[ch]:
20820 * objects/UML/class_dialog.c:
20821 Added connection points on both sides of attributes and
20822 operations in UML classes.
20823 Based on idea from Jerome.Abela@solsoft.fr
20825 1998-11-24 Alexander Larsson <alla@lysator.liu.se>
20828 Some new documentation about handles and connectionpoints.
20831 Added functions object_add_connectionpoint and
20832 object_remove_connectionpoint for handling a dynamic
20833 number of connectionpoints.
20835 * objects/UML/class.c:
20836 Only reserve space for stereotype when it is shown.
20838 These changes are from Jerome Abela <Jerome.Abela@solsoft.fr>
20840 1998-11-08 Alexander Larsson <alla@lysator.liu.se>
20842 * app/connectionpoint_ops.c:
20844 * app/disp_callbacks.c:
20845 * app/display.[ch]:
20847 * app/handle_ops.c:
20849 * app/modify_tool.c:
20850 * app/render_gdk.[ch]:
20852 Huge cleanup of internal rendering system.
20853 Moved a lot of data (pixmap, width, height & gc) into the GdkRenderer.
20854 This gives a few new methods for Interactive Renderers for setting
20855 clipping regions and drawing pixel based lines and rects.
20856 Updated the rest of the code to use the new stuff.
20858 * app/render_eps.c:
20862 * objects/standard/zigzagline.c
20863 Fixed unused variable warnings.
20866 Fixedbug with stringwidth where width==0.
20871 1998-11-02 Alexander Larsson <alla@lysator.liu.se>
20873 * lib/widgets.[ch]:
20874 Added suppot for setting the font of a
20875 DiaFontSelector widget.
20876 Also fixed some typos in the header.
20879 Added a comment about the GetPRoperties method call.
20880 You have to make sure to update widget state when
20881 this method is called. (Not all objects do this yet,
20887 1998-11-01 Alexander Larsson <alla@lysator.liu.se>
20890 Fixed problem with height of ascent and descent for fonts.
20891 It didn't use the whole height (==ascent+descent) when calculatine
20892 ascent_ratio and descent_ratio.
20894 * objects/standard/textobj.c:
20895 * objects/standard/box.c:
20896 * objects/standard/ellipse.c:
20897 * objects/standard/line.c:
20898 * objects/standard/arc.c:
20899 Updated and added property dialogs for these objects.
20900 Also added line width/color/style to those objects
20901 that didn't have it.
20902 This change breaks fileformat compatibility for these objects.
20904 * objects/standard/zigzagline.c:
20905 Changed zigzagline to be based on OrthConn, much nicer.
20906 Also added line style and color to properties.
20907 This change breaks fileformat compatibility for zigzagline.
20910 Fixed bug in message(). Forgot a pair of '&'.
20912 1998-10-29 Alexander Larsson <alla@lysator.liu.se>
20914 * lib/widgets.[ch]:
20915 Added DiaColorSelector widget.
20916 This is a colored button that pops up a color selection
20917 dialog when pressed.
20919 1998-10-28 Alexander Larsson <alla@lysator.liu.se>
20921 * lib/widgets.[ch]:
20923 New files, added widgets for selecting fonts, alignment
20924 and line-style. Will be used later.
20926 1998-10-12 Alexander Larsson <alla@lysator.liu.se>
20930 * objects/UML/Makefile.am:
20931 * objects/network/Makefile.am:
20932 * objects/standard/Makefile.am:
20933 Changed "CFLAGS = -Wall -g" to "CFLAGS = @CFLAGS@"
20934 in all Makefile.am.
20936 1998-10-03 Alexander Larsson <alla@lysator.liu.se>
20938 * app/handle_ops.c (handle_draw):
20939 connected HANDLE_MINOR_CONTROL also becomes red.
20941 1998-10-02 Alexander Larsson <alla@lysator.liu.se>
20944 removed -ldl from linking. This is added if needed by configure.
20947 Open dlls with RTLD_LAZY if it is defined.
20948 Some cleanups: char *error -> const char *error
20949 Added fprintf()'s to where we exited because of errors.
20952 Include <sys/types.h>
20954 1998-10-01 Alexander Larsson <alla@lysator.liu.se>
20959 Detect dlopen better.
20960 Detect wether dlopen needs an underscore in the identifier.
20961 This code was mostly borrowed from guile.
20965 * objects/standard/standard.c:
20966 * objects/network/network.c:
20967 * objects/UML/uml.c:
20969 Changed the way sheets reference objects to use just the
20970 name. Changed module loading to a two stage model:
20971 First register_objects() is called for all modules.
20972 Then register_sheets() is called. This means that
20973 sheets can safely include objects from other modules.
20976 1998-09-30 Alexander Larsson <alla@lysator.liu.se>
20978 * objects/network/bus.c:
20979 * objects/network/network.c:
20980 * objects/network/Makefile.am:
20981 New file bus.c. Added new object: Ethernet bus.
20983 * objects/standard/box.c:
20984 Added call to gtk_spin_button_set_numeric for linewidth spinner
20985 in property dialog.
20987 1998-09-30 Alexander Larsson <alla@lysator.liu.se>
20989 * app/connectionpoint_ops.c:
20990 * app/create_object.c:
20992 * app/handle_ops.c:
20993 * app/modify_tool.c:
20994 * lib/connection.c:
20999 * loads of objects:
21000 Changed handle->connectable to handle->connect_type.
21001 Now handles can be HANDLE_CONNECTABLE_NOBREAK, which means
21002 that their connections don't break when moving objects.
21005 Always select the last handle in an object that has
21006 the closest distance.
21008 * lib/geometry.[ch]:
21009 Added rectangle_add_point function.
21012 1998-09-27 Alexander Larsson <alla@lysator.liu.se>
21014 * app/properties.[ch]: New files. Handles the new properties
21017 * app/modify_tool.c: Changed to use new properties dialog.
21019 * app/object_ops.[ch]: Removed object_changed_callback, as it's
21020 not needed anymore. This is now handled differently in
21024 Changed the properties ops for objects. Removed typedefs
21025 ChangedObjectTime and ObjectChangedFunc needed for the old way.
21026 Added object_return_null function.
21029 * lib/render_object.c:
21031 Changed objects to use the new properties dialog.
21034 1998-09-14 Nuno Ferreira <nmrf@rnl.ist.utl.pt>
21036 * */Makefile.am (INCLUDES): Changes to work with srcdir !=
21039 * autogen.sh: New file. Copied from gtk and added a call to
21040 libtoolize. Anyone knows why this isn't done in gtk?
21042 * Removed autogenerated files.
21044 1998-09-12 Alexander Larsson <alla@lysator.liu.se>
21046 * Added call setlocale(LC_NUMERIC, "C") so that formating of
21047 floating-point numbers in postscript output will be correct.
21048 * Did some cleanup of generated postscript files.