1 2005-12-08 Lars Clausen <lars@raeder.dk>
3 * samples/render-test.dia: Added samples of text in different
4 sizes, standard fonts and styles with size markers.
6 2005-12-04 Lars Clausen <lars@raeder.dk>
8 * lib/Makefile.am (gen_sources): Mark marshal files as generated.
9 (BUILT_SOURCES): Added marshal files.
11 2005-12-03 Lars Clausen <lars@raeder.dk>
13 * lib/Makefile.am (diamarshal.c): Fix marshal rules to not talk
14 about $(srcdir) and confusing everybody.
19 * lib/diamarshal.list:
20 * plug-ins/python/pydia-diagram.c:
21 * plug-ins/python/pydia-diagramdata.c:
22 * plug-ins/python/python-startup.py: Patch from David Johansson
23 <david.lgj@gmail.com>: Add signals emitted when objects are
26 2005-11-13 Lars Clausen <lars@raeder.dk>
28 * app/display.c (update_zoom_status): Fix of bug #321387: Avoid
29 (small) buffer overflow by using g_strdup_printf instead of sprintf.
31 2005-11-09 Lars Clausen <lars@raeder.dk>
34 * plug-ins/dxf/dxf-import.c (import_dxf): Don't use g_error except
35 when reaching the statement is a bug. Using g_critical and exit() for
39 * objects/UML/class.c: Patch from dklotzbach@foxvalley.net (dave
40 Klotzbach): Fixes template rendering and converts home-brew inline
41 doc format to javadoc. Doesn't yet fix bug #320934, but turns it
44 2005-11-07 Lars Clausen <lars@raeder.dk>
46 * lib/object.[ch]: Add 'enclosing box' as opposed to 'bounding
47 box' since several objects have problems of using bounding box in
48 different ways (see bug #300055). For now, enclosing box ==
49 bounding box, but over time objects will learn to expand the
50 bounding box to include things only rendered interactively.
52 * app/modify_tool.c (modify_motion): Make sure highlight is reset
53 when moving between overlapping objects.
55 * app/interface.c (interface_toggle_mainpoint_magnetism): Redraw
56 diagram after toggling to make red X's come and go.
58 * lib/font.c: #ifdef'd out layout cache for bug #307320. Define
59 it if you need faster rendering and aren't afraid of crashbugs:)
61 * lib/objchange.c: Bugfix from dklotzbach@foxvalley.net
62 (dave Klotzbach): Fixes null pointer problems in free function.
66 * objects/UML/class_dialog.c: Patch from dklotzbach@foxvalley.net
67 (dave Klotzbach): Make UML comments conform to UML 1.0 standard
68 and allow multi-line comments. Ugly as hell, but standard. Time
69 for a 'Strict UML' option? Fixes bug #303744.
71 * objects/UML/state.c: Patch from Peter Allin <peter@peca.dk>: Add
72 entry, exit and do descriptions to a state object. Fixes bug #65434.
74 2005-11-03 Lars Clausen <lars@raeder.dk>
83 * lib/connectionpoint.c:
88 * lib/diaarrowchooser.c:
90 * lib/diagdkrenderer.c:
96 Added documentation java-doc style. Also a few trivial cleanups.
98 2005-10-13 Lars Clausen <lars@raeder.dk>
100 * lib/connectionpoint.h (DIR_ALL): Parentheses around operations
103 * plug-ins/hpgl/hpgl.c (export_data): Correct error message.
108 * objects/UML/class.[ch]:
110 * objects/UML/umlattribute.c:
111 * objects/UML/umloperation.c:
112 * objects/UML/class_dialog.c:
113 Rework of the UML class attribute/operation handling. Now doesn't
114 copy connection points into the dialog data, but only the "flat"
115 data. As part of debugging made sanity check functionality.
116 Currently still dies when deleting an attribute/operation that has
119 2005-10-09 Hans Breuer <hans@breuer.org>
121 * lib/properties.h : prefer american spelling of colo(u)r for
122 user visible strings - i.e. to be translated ones.
123 * objects/UML/uml.c : it is Implementation. Together fixes bug #313929
125 * po/*.po : updated (by 'make distcheck')
127 2005-10-09 Hans Breuer <hans@breuer.org>
129 * app/display.c : allow !"toolbox on top" without restart.
130 (Chris Hellberg, bug #310702)
132 2005-10-09 Hans Breuer <hans@breuer.org>
134 * lib/arrows.c : patch from Radek Krahl fixing the blanking
135 of two arrowheads, bug #310157
137 2005-10-08 Hans Breuer <hans@breuer.org>
139 * plug-ins/python/group_props.py : show a descriptive text instead of an
140 empty table if there are no common properties to change. Fixes bug #314432
142 2005-10-08 Hans Breuer <hans@breuer.org>
144 * objects/UML/transition.c : inverted default direction of
145 the direction. Patch from Peter Allin, fixes bug #318049
146 [You possibly need to 'rm ~/.dia/defaults.dia' to have an effect]
148 2005-10-08 Hans Breuer <hans@breuer.org>
150 * app/Makefile.am objects/standard/Makefile.am : match the
151 referenced icons to the needed. Make 'make distcheck' pass
152 and thus fixes bug #312152
154 * objects/standard/textobj.c : no C++ comments please!
156 2005-10-08 Hans Breuer <hans@breuer.org>
158 * objects/standard/textobj.c : preserve the position set on create
159 [makes e.g. text positioning of diasvg_import.py work]
161 * plug-ins/python/diasvg_import.py : restrict what eval() can do
162 with strings from svg files. Fixes the arbitrary code execution from
165 * app/pixmaps/mainpoints-(on|off).png : new icons to toggle center point
166 magnetism. At least they are distinguishable from grid snapping.
167 * app/makefile.msc app/Makefile.am : use them
169 * lib/focus.c(reset_foci) : also remove_focus(). This fixes bug #172851
170 I also can't reproduce bug #309044 anymore (on win32).
172 2005-10-01 Lars Clausen <lars@raeder.dk>
174 * lib/connectionpoint.h (DIR_ALL): Parentheses around | expressions.
176 * plug-ins/hpgl/hpgl.c (export_data): Listen to warnings and don't
177 pass FILE * as gchar *.
179 * lib/debug.[ch] (dia_assert_true): Debugging aids.
181 2005-09-29 Lars Clausen <lars@raeder.dk>
183 * objects/UML/class.h: Enabling mainpoints for UML.
185 * objects/UML/class.c (umlclass_set_props): Make sure to always
186 realloc connection point list.
188 2005-09-26 Ahmad Riza H Nst <rizahnst@id.gnome.org>
190 * configure.in: Added "id" in ALL_LINGUAS line.
192 2005-09-14 Lars Clausen <lars@raeder.dk>
194 * objects/UML/class.c (umlclass_load): Set mainpoint obj upon
195 loading. Fixes bug #315427.
197 2005-09-11 Hans Breuer <hans@breuer.org>
199 * objects/standard/arc.c objects/standard/textobj.c : fix
200 C99isms, Dia is supposed to compile with C89 like msvc
202 * app/makefile.msc : use the wrong center-point-magnetism
203 icons for the win32 build, too.
205 * plug-ins/python/pydia-error.c : dont crash on C escape
206 sequences in the error string
207 * plug-ins/python/pydia-render.c : dont free filename twice
209 * plug-ins/python/dot.py : start of an exporter to DOT language
210 which can be processed by www.graphviz.org tools
212 2005-09-05 Iñaki Larrañaga <dooteo@euskalgnu.org>
214 * configure.in: Added "doc/eu/Makefile" for Basque documentation.
216 2005-09-04 Iñaki Larrañaga <dooteo@euskalgnu.org>
218 * configure.in: Added "eu" to ALL_LINGUAS.
220 2005-09-04 Lars Clausen <lars@raeder.dk>
222 * lib/element.h (ELEMENT_COMMON_PROPERTIES): Remove object
223 dimensions frame to make ext_attributes work again.
225 * app/grid.c (snap_to_grid): Bugfix from Zhang Lin-bo
226 <zlb@lsec.cc.ac.cn>: Use dynamic grid setting from diagram, not
229 * objects/standard/textobj.c: Applied patch from Grégoire Dooms
230 <dooms info ucl ac be>: Add vertical alignment for standard text
231 object. This should really be moved into lib/text.c and apply to
234 2005-09-03 Lars Clausen <lars@raeder.dk>
236 * app/connectionpoint_ops.c (connectionpoint_draw): Only draw
237 mainpoint when snap-to-objects is not on.
239 * app/Makefile.am (ICON_PNG_PAIRS):
240 Fake icons for snap-to-objects.
243 * app/menus.c (menus_get_image_menubar):
245 * app/interface.c (create_display_shell):
246 * app/create_object.c (create_object_button_release):
247 * app/disp_callbacks.c (ddisplay_drop_object):
248 * app/object_ops.[ch]:
249 * app/connectionpoint_ops.c (ddisplay_connect_selected):
250 * app/modify_tool.c (modify_button_release):
252 Togglable snap-to-objects, also doesn't snap when moving entire
253 object. This should be more reasonable in practical use, and can
254 be turned off when you want to place your arrows more precisely.
256 2005-08-06 Hans Breuer <hans@breuer.org>
258 * plug-ins/cairo/diacairo.c : increased #ifdef MESS:
259 With Gtk+-2.7.x cairo must be available so the HAVE_CAIRO case
260 becomes even more ugly when the user has choosen *not* to build
261 the diacairo plug-in. If noone can come up with a very convincing
262 reason why it has to be done this way I'll probably go back to
263 my original dont-build-at-all approach when this breaks the
266 2005-08-02 Lars Clausen <lars@raeder.dk>
268 * objects/standard/arc.c: Patch from Grégoire Dooms
269 <dooms@info.ucl.ac.be>: An almost perfect arc autogap
270 implementation. "There is still a small bug when the non
271 connected end of the arc is very close to the border of the
272 connected object. I think this is due to rounding errors in the
273 code for SHIFT-move handle which is reused to trim the arc in
274 autogap. Also it is not yet possible to have a startgap and an
275 endgap from/to the same central CP."
277 2005-07-31 Hans Breuer <hans@breuer.org>
279 * plug-ins/cairo/diacairo.c congigure.in : dont wait any
280 longer for distributions official packages - depend
281 on cairo 0.6.0 - fixes bug #307144
283 2005-07-20 Hans Breuer <hans@breuer.org>
285 * lib/element.h : remove stray NULL in ELEMENT_COMMON_PROPERTIES
286 which must match PropDescription, that is make it at least compile.
288 2005-07-19 Hans Breuer <hans@breuer.org>
290 * app/diagram.c(new_diagram) : what comes from g_object_new()
291 MUST NOT be g_free()'d
293 * lib/message.h : added dia_message_filename() here as well.
294 Mainly to not touch all files using. They *all* where using
295 lib/message.h already! Maybe the implemantation should be moved
296 to message.c as well cause the function has *nothing* to do
297 with dynamic filename resolving. It is a wrapper around
298 g_display_filename() mostly (only?) used for messages ...
299 * lib/dia_dirs.c(dia_message_filename) : fix C99ism
301 2005-07-18 Lars Clausen <larsrc@raeder.dk>
303 * objects/EML/instantiation.c (instantiation_load):
304 * objects/EML/interaction-ortho.c (interaction_ortho_type)
305 * objects/ER/participation.c (participation_type):
306 * objects/FS/flow-ortho.c (orthflow_type):
307 * objects/GRAFCET/vector.c (arc_load):
308 * objects/standard/zigzagline.c (zigzagline_type):
309 * objects/UML/transition.c (transition_load):
310 * objects/UML/realizes.c (realizes_load):
311 * objects/UML/dependency.c (dependency_load):
312 * objects/UML/generalization.c (generalization_type):
313 * objects/UML/association.c (association_type):
314 * objects/UML/component_feature.c (compfeat_load):
315 Make autorouting deafult on except for old diagrams.
317 * plug-ins/cairo/diacairo.c (export_data):
318 * plug-ins/cgm/cgm.c (export_cgm):
319 * plug-ins/dxf/dxf-export.c (export_dxf):
320 * plug-ins/dxf/dxf-import.c:
321 * plug-ins/hpgl/hpgl.c (export_data):
322 * plug-ins/metapost/render_metapost.c:
323 * plug-ins/pixbuf/pixbuf.c:
324 * plug-ins/pstricks/render_pstricks.c:
325 * plug-ins/python/pydia-render.c:
326 * plug-ins/shape/shape-export.c:
327 * plug-ins/svg/render_svg.c:
328 * plug-ins/svg/svg-import.c:
330 * plug-ins/xfig/xfig-export.c:
331 * plug-ins/xfig/xfig-import.c:
332 * plug-ins/xslt/xslt.c: Use dia_message_filename to ensure legal
333 UTF-8 in message boxes.
335 2005-07-18 Lars Clausen <lars@raeder.dk>
337 * lib/element.h (ELEMENT_COMMON_PROPERTIES): Allow Element objects
338 to have their dimensions specified in properties. Still needs to
339 have proper update when setting properties cause constraint changes.
341 * app/preferences.c (update_floating_toolbox): Allow
342 toolbox_on_top setting to happen at once.
348 * app/sheets_dialog_callbacks.c
354 * lib/object_defaults.c:
355 Patch from lav@altlinux.ru (Vitaly Lipatov): Make filenames safe
356 for displaying in messages - better than crashing! Mostly fixes
359 * objects/UML/class.c: Save normal_font_height under the same
360 name it gets loaded as. Fixes bug #310515.
363 * doc/en/usage-customization.xml
364 * doc/en/usage-objects-special.xml
365 * doc/en/usage-objects.xml: Some documentation fixes. Fixes bug
368 2005-07-17 Lars Clausen <lars@raeder.dk>
370 * doc/en/usage-customization.xml:
371 * doc/en/usage-objects.xml:
372 * doc/en/authors.xml:
373 * doc/en/usage-objects-special.xml: Applied patch from
374 stigge@antcom.de (Roland Stigge): Diverse typos and
375 misencodings. Fixes bug #308315.
377 * objects/UML/class.c (umlclass_save): Patch from
378 i.pilcher@comcast.net: Save normal font height under correct name
379 to reload it. Fixes bug #310515.
381 2005-07-10 Hans Breuer <hans@breuer.org>
383 * app/connectionpoint_ops.c app/object_ops.c : make the
384 'whole object' connection point only center point again.
385 That is: it is visible and far less magnetic. Only the
386 line gap handling make it special. For me this probably
389 * lib/neworth_conn.c : apply the same as for bug #173031.
390 This OrthConn fork got broken as well. Fixes bug #309381
392 * app/makefile.msc objects/makefile.msc : adapt to icon changes
394 * app/interface.c app/diagram_tree.c : a char** is still not
395 a char* and the win32 build is configured to error on
398 * plug-ins/wmf/wmf.cpp : fix typo in preprocessor condition
400 2005-07-10 Hans Breuer <hans@breuer.org>
403 Take part in the toolbox icon redesign context! If you want to
404 make them really prettier, please keep the following in mind :
405 - the size *must* be 22x22 otherwise button reflow will get broken.
406 Or you need to change about 800 icons at once.
407 - one important part of Dia are control points, so maybe the icons
408 should reflect that. (IMO gathering random icons form other
410 - the icons should at least look consistent in their group
413 * app/Makefile.am : use 22x22 variants mostly lent from The GIMP
414 * app/pixmaps/*.png : added arrow-22.png scroll-22.png zoom-22.png
416 * objects/standard/*.c : get rid of xpm includes to avoid mixing icon sets
417 * objects/standard/pixmap/* : added arc.png beziergon.png
418 bezierline.png box.png ellipse.png image.png line.png polygon.png
419 polyline.png text.png zigzagline.png
420 * objects/standard/Makefile.am : use the new icon set including
423 * app/interface.c : remove the "will probably crash" debug spew
425 2005-07-09 Lars Clausen <lars@raeder.dk>
427 * objects/standard/pixmaps/*.png:
428 * objects/standard/Makefile.am:
429 * objects/standard/*.c:
431 * app/diagram_tree.c (create_object_pixmap): Fix icon loading. use
432 new icons. [Slightly belated entry]
434 2005-07-03 Hans Breuer <hans@breuer.org>
436 * app/diagram_tree.c : dont leak display name
437 * app/app_procs.c : dont leak GOptionContext
438 * app/prop_widgets.c(frame_beginprop_get_widget) :
439 Gtk api still not eating strings ...
441 * objects/UML/class.c() : don't load properties once more
442 which are already loaded by StdProps. In case of strings
443 (data_string) it has even produced leaks.
445 * app/paginate_psprint.c app/diagram.[hc] : the last
446 of the related dialogs is gone and with it the
447 misconception of destroying widgets from
449 * app/display.c : ensure the diagram is still threre
450 when we remove the display from it's list
452 2005-07-01 Hans Breuer <hans@breuer.org>
454 * lib/widgets.c(dia_color_selector_more_callback): dont
457 * plug-ins/wmf/wmf.cpp : finally added enahnced meta file
458 option. Thus linestyles can be preserved on export - at
459 least on NT based systems.
461 * NEWS : clarify the wmf outside of windows issue
463 * app/modify_too.c : fix C99ism
465 * objects/standard/arc.c : debug spew optional at compile time
467 2005-06-26 Hans Breuer <hans@breuer.org>
469 [ Cyrille would call it: warningectomy :-]
471 * lib/font.c app/create_object.c : `...' might be used uninitialized
472 in this function. Yes they were.
473 * app/modify_tool.c : modify_tool.c:610: warning: `obj' might be used
474 uninitialized in this function. Yes it was with textedit_activate_object()
475 Also some static correctness.
476 * lib/diarenderer.c:678: warning: no previous prototype for
477 `calculate_min_radius'. Made static.
478 * lib/dia_svg.c : ptr is a gchar *
479 * dia_xml.c(data_point,data_rectangle) : gchar *str for parsing
480 * lib/prop_text.c(multistringprop_get_widget) : use G_CALLBACK
481 * app/app_procs.c : confirm warning and make dump_dependencies() static
482 * app/autosave.c : #if 0'd old stuff
483 * app/display.c : GTK_CHECK_MENU_ITEM() for snap_to_grid
485 * lib/text.c lib/font.c objects/standard/line.c object/UML/class.c
486 objects/Istar/goal.c objects/standard/bezier.c objects/standard/beziergon.c
487 plug-ins/cgm/cgm.c plug-ins/cairo/diacairo.c plug-ins/hpgl/hpgl.c
488 plug-ins/wpg/wpg.c plug-ins/svg/svg-import.c plug-ins/shape/shape-export.c
489 plug-ins/dxf/dxf-export.c plug-ins/gprint/diagnomeprintrenderer.c
490 plug-ins/gprint/diagnomeprint.c plug-ins/xfig/xfig-export.c
491 app/diagram_tree_menu_callbacks.c app/recent_files.c app/undo.c app/menus.c
492 app/diapsrenderer.c app/diagram.c app/disp_callback.c :
493 removed unused variables and functions
494 * objects/UML/umlattribute.c objects/UML/umloperation.c
495 objects/UML/umlparameter.c objects/UML/umlformalparameter.c :
496 neither 'missing braces around initializer' nor 'initialization from
497 incompatible pointer type'
498 * objects/UML/class_dialog.c : more static
499 * app/interface.c : static and almost const correctness and some
500 less unitialized variables.
501 * app/diapsft2renderer.c : use (int) casts like the original
502 (http://imagic.weizmann.ac.il/~dov/freesw/paps/ v0.4) does
503 * app/render_gdk.c: stop assignment from incompatible pointer type,
504 make member functions match the prototype.
505 * app/render_libart.c : Dito. Also stop caching the copy_gc in
506 a static variable. Otherwise it finally leaks and also may cause
507 BadMatch with changing windows
508 => warning count down from about 250 to about 60, one or two hand full
511 2005-06-26 Hans Breuer <hans@breuer.org>
513 * lib/libdia.def : added dia_font_get_description, missing
516 * app/app_procs.c : use png_get_header_ver(NULL), that is:
517 prefer function call over exported variable to get the
518 runtime version of libpng
520 2005-06-19 Hans Breuer <hans@breuer.org>
522 * plug-ins/python/Makefile.am : added codegen.py to EXTRA_DIST
523 as suggested by Roland Stigge, bug #308310
525 2005-06-19 Hans Breuer <hans@breuer.org>
527 * app/filedlg.c(file_export_callback) : oops, gtk_widget_show() wasn't
530 2005-06-18 Hans Breuer <hans@breuer.org>
532 * NEWS : mention new file dialog
534 [plugged remaining leaks from bug #142669]
535 * lib/prop_attr.c(fontprop_free) : not only unref the font
536 but free the property itself, too.
537 * app/diagram_tree.c(create_diagram_children): remember the
538 original list start to not only free the last element
540 * lib/prop_sdarray.c:64: warning: `arrayprop_free' defined
541 but not used. Here it meant a potentially huge leak.
543 2005-06-18 Hans Breuer <hans@breuer.org>
545 * po/POTFILES.in : removed app/diaconv.c which isn't referenced
546 by app/Makefile.am anymore either. Should finally fix 'make distcheck'
547 for others, too. ( Roland Stigge, bug #144527 )
549 2005-06-18 Hans Breuer <hans@breuer.org>
551 * plug-ins/wmf/Makefile.am : prevent installation. It
552 doesn't do anything useful on *NIX and even seems to be
553 linked wrong by gcc (or me;). Fixes bug #172830
555 2005-06-18 Hans Breuer <hans@breuer.org>
557 * app/textedit.[hc] lib/arrows.[hc] plug-ins/xslt/xslt.h
558 plug-ins/xslt/xsltdialog.c plug-ins/xslt/xslt.c : fix for sloppiness
559 in function declarations. 'f();' for a function without parameters is
560 a C++ism. Though I can't get any of my compilers to warn about it.
561 Finally fixes bug #142663.
563 2005-06-18 Hans Breuer <hans@breuer.org>
565 * app/textedit.[hc] lib/arrows.[hc] plug-ins/xslt/xslt.h
566 plug-ins/xslt/xsltdialog.c plug-ins/xslt/xslt.c : fix for sloppiness
567 in function declarations. 'f();' for a function without parameters is
568 a C++ism. Though I can't get any of my compilers to warn about it.
569 Finally fixes the rest of bug #142663.
571 2005-06-18 Hans Breuer <hans@breuer.org>
573 * lib/font.h lib/font.c : _DiaFont is now private to prepare bigger
574 changes but doesn't hurt anyway. See bug #162034
575 * app/diapsft2renderer.c app/modify_tool.c
576 plug-ins/gprint/diagnomeprintrenderer.c : use dia_font_get_description()
577 instead of messing with internals
578 * app/display.c : give interactive renderers more begin/end render.
579 It is guaranteed that the scale wont change between these.
581 2005-06-18 Hans Breuer <hans@breuer.org>
583 * app/app_procs.c : const correctness for stderr_message_internal
584 * app/dia-props.c : gtk_toggle_*() functions want GTK_TOGGLE_BUTTON
585 not GTK_CHECK_BUTTON, also some G_CALLBACK casts
586 * app/disp_callbacks.c : don't dereference the to the function call
587 when the function pointer in meant to be checked against 0
588 * app/interface.c : warning fixes by using correct types
589 * app/modify_tool.c : describe_props() members returns const pointer
590 * app/render_libart.c : removed most of the render function again.
591 They happily live in lib/dialibartrenderer.c since almost 3 years
592 http://cvs.gnome.org/viewcvs/dia/app/render_libart.c?r1=1.31&r2=1.32
593 * lib/dia_dirs.c : dia_get_canonical_path() const correctness
594 * lib/dia_svg.c lib/dia_xml.c : some char to xmlChar changes
595 * lib/dialibartrenderer.c(set_line_join): actually set the join_style
596 instead of the cap_style. Don't initialize Art* enums with GDK_* constants.
597 Both mentioned in bug #159814 and not warned by most other compilers.
598 * lib/diagtkfontsel.c : at least the watcom compiler did not like the
599 trailing colon in the GtkTypeInfo initialization
600 * lib/properties.c : avoid redefinition of LIBDIA_COMPILATION
601 * lib/dialinechooser.c lib/diagdkrenderer.c : there may be a difference
602 between char and gint8
603 * plug-ins/metapost/render_metapost.c : replace invalid escape \% with %%
604 * plug-ins/wpg/wpg.c : consitently use guint8
605 * config.h.win32 : change HAVE_* defines to 1 not empty, avoids
606 redefinition warnings for python and xslt plug-ins
608 2005-06-18 Hans Breuer <hans@breuer.org>
610 * lib/diagramdata.c : really get rid of diagram_data_destroy
611 and new_diagram_data [ no previous prototype for `...' is either
612 a sign of missing static or of a function to vanish :-]
614 * lib/geometry.c : apparently the G_INLINE stuff was working only
615 with particular GLib version(s), glib-2.6.4 does not. Conditionally
616 reverting to the old mecanics.
618 2005-06-17 Hans Breuer <hans@breuer.org>
620 * plug-ins/python/pydia-*.c : include order tweaking to
621 get rid of redefinition warnings. Ensure to include <Python.h>
622 before any 'system' header, some dragged in by glib.h
623 * plug-ins/python/pydia-diagramdata.c(PyDiaDiagramData_Str)
624 pydia-properties.c(PyDiaProperties_Str)
625 plug-ins/python/pydia-property.c(PyDiaProperty_Str) :
626 use %p to format pointers
627 * plug-ins/python/pydia-geometry.c(PyDiaArrow_Str) :
628 dont cast to float for %d
629 * plug-ins/python/pydia-handle.c(PyDiaHandle_Connect) :
630 use correct pointer type
631 * plug-ins/python/pydia-image.c(PyDiaImage_Str) :
632 dont discard qualifier aka dont free const strings
633 * plug-ins/python/pydia-properties.c : casts to PyCFunction
634 * plug-ins/python/pydia-property.c : removed unused function,
635 make ensure_quarks() static
636 * plug-ins/python/pydia-render.c : removed unused vars, use
637 the correct signature for begin_render
638 (dia_py_renderer_finalize): pluged a leak
639 => except -fno-strict-aliasing there is no warning left in
642 2005-06-12 Hans Breuer <hans@breuer.org>
644 * app/filedlg.c : really fix the file extension mismatch on export dialog
645 by working around some gtk+-2.6 behaviour (bug #307378). Fixes bug #305850
647 2005-06-11 Hans Breuer <hans@breuer.org>
649 * configure.in config.h.win32.h : mark as +cvs (should have been
650 done directly after the 0.94 release)
651 * NEWS : attempt to summarize 2/3 year of development
654 WANT_AUTOMAKE=1.7 ./autogen.sh && ./conifugre --enable-maintatiner-mode && make distcheck
657 * app/app_procs.c : force use of POPT for the GNOME case, otherwise
658 app/run_dia.sh --credits > THANKS => Segmentation fault
659 * app/pixmaps/Makefile.am : added group.png and ungroup.png
660 * Makefile.am : work around scrollkeeper bug
661 * doc/en/Makefile.am : explicit list DISTCLEANFILES = dia.1
663 * po/*.po : 'noise' produced by make dist
665 2005-06-10 Hans Breuer <hans@breuer.org>
667 * lib/properties.h : define PROP_STD_SHOW_BACKGROUND_OPTIONAL ...
668 * objects/custom/custom_object.c : ... and use it to avoid
669 complains about missing attribute "show_background". It is
670 safe to leave this uninitialized. Same for flip_* and "text",
671 the latter with comment cause it usually is *not* safe to do
672 it for the general case. Fixes remaining issues with bug #169006
673 which where caused by an incompatible change in the shape file.
675 * app/commands.c : use "gnome-open" instead of "netscape" as
676 fallback for $BROWSER not set. Still not optimal but better
677 to try some common desktop tool than an obsolete browser;)
678 Fixes bug #307142. Also some whitespace changes.
680 * app/interface.c(toolbox_delete): avoid random return value.
681 Patch from Stanislav Brabec, fixes bug #307143
683 * shapes/Cisco/Makefile.am : added a bunch of new shapes/pngs.
684 Patch from Torben H. Nielsen (bugzilla is still the preferred way)
685 http://mail.gnome.org/archives/dia-list/2005-June/msg00015.html
687 2005-06-06 Lars Clausen <lars@raeder.dk>
692 Better support for text edit highlight.
694 * app/connectionpoint_ops.c (connectionpoint_draw): Stop making
695 the mainpoint extra visible.
697 2005-06-02 Lars Clausen <lars@raeder.dk>
699 * objects/UML/class_dialog.c:
700 * objects/UML/class.[ch]:
701 The final fixes for mainpoint on UML Class.
703 * sheets/cisco*.in, shapes/Cisco/*: New set of Cisco icons from
704 Ian Redfern, now in color and with mainpoints! Very pretty!
706 2005-06-02 Hans Breuer <hans@breuer.org>
708 * objects/UML/class_dialog.c : the memory managment with respect to
709 attribute/operation connections was/is a mess. But it should work again ;)
711 * samples/UMLPackages.dia samples/Composite-Action.dia : some diagrams
712 directly from the UML Specification - to show the power of Dia and
713 some weakness. Watch the bug reports following ;)
715 2005-06-01 Hans Breuer <hans@breuer.org>
717 * app/dia.def : export diagram_update_connections_object
718 * plug-ins/python/pydia-diagram.c : wrap diagram_update_connections_object
719 Patch from Paolo Bernardi, together with the property setting closes bug #300572
721 2005-06-01 Hans Breuer <hans@breuer.org>
723 * plug-ins/python/pydia-property.c : complete refactoring of property
724 setting, now also supports setting of property arrays
725 * plug-ins/python/pydia-*.c plug-ins/python/diamodule.c : adapt to
726 Python namespacing conventions
727 * plug-ins/python/pydiadoc.py : use the stuff above to produce more
728 complete UML Classes with attributes and operations
729 * plug-ins/python/otypes.py : now also show the properties of the objects
731 * objects/UML/class.c(umlclass_set_props) : need to update object::connections
732 (pointers), they might be changed with attributes and opertions changing
734 * plug-ins/python/pydia-property.c : PointArray and BezPointArray property getters
735 were broken. Apparently noone used them before.
737 * plug-ins/python/pydia-diagram.c plug-ins/python/pydia-diagramdata.c : moved methods
738 which only operate on the DiagramData to the latter file. To get on the DiagramData
739 object of a Diagram use diagram.data. [In C the Diagram is a subclass of DiagramData,
740 but I don't know how to reflect that in the bindings. And for backward compatibility
741 there also is the 'data' member.]
743 * objects/UML/uml.c objects/UML/umlattribute.c objects/UML/umloperation.c
744 objects/UML/umlparameter.c : describe enums with PropEnumData
746 * app/commands.c(view_show_all_callback) : if there is something selected show
747 that instead of all exisiting objects. If there is noting or all selcted it
748 "Show all" shows the old behaviour.
750 * lib/parent.[hc] lib/object.c app/disp_callbacks.c app/diagram.c : plug some memory
751 leaks and use less allocations caused by misguided API. Also some adaption to common
754 * objects/UML/class.h : add some comment about the brokeness of UML_MAINPOINT
756 * app/makefile.msc : added new icons and build as console app while
757 not releaseing to the general public
759 * objects/custom/shape_info.c : use g_strdup("") for a field to be g_free()'d
760 and keep a refernce when storing the a font from style="" in s.font. This should
761 finally allow to have shapes with fully predefined text (and no 'random' crashes)
763 * plug-ins/gprint/diagnomeprint.c : disable GNOME_SVG until I've found a program
764 capable to interpret it's output
766 2005-05-31 Lars Clausen <lars@raeder.dk>
768 * sheets/ER.sheet.in: No more xpms referenced in sheets. Fixes bug #151811.
770 2005-05-30 Pawan Chitrakar <pawan@nplinux.org>
772 * configure.in: Added ne in ALL_LINGUAS
774 2005-05-24 Lars Clausen <lars@raeder.dk>
776 * lib/font.c: Change to make DIA_FONT_ITALIC turn into -Oblique PS
777 fonts for legacy fonts. They don't have DIA_FONT_OBLIQUE setting
780 2005-05-23 Lars Clausen <lars@raeder.dk>
782 * lib/paper.c: Added Ledger size paper. Fixes bug #305254.
784 2005-05-21 Lars Clausen <lars@raeder.dk>
786 * lib/diaarrowchooser.c:
787 * lib/arrows.[ch]: Patch from Radek Krahl <ptasz3k@o2.pl>: Add
788 'infinite' line (three dots) arrowhead. Fix line length in arrow
789 preview. And fix typo. Fixes bug #303904.
791 2005-05-20 Hans Breuer <hans@breuer.org>
793 * lib/text.c : advice from valgrind and data_string() review:
794 neither g_free() memory on the stack
795 * objects/GRAFCET/boolequation.c : ... nor const strings
796 * objects/UML/association.c:934 : definitely lost. Even g_strdup("")
799 * app/diagram.c : a g_object_ref() following g_object_new() is almost
800 always wrong. Why would we need two refernces?
801 * app/app_procs.c : same here.If it crashes later on someone is dropping
802 refernces he does not own, and *that* needs to be fixed. This is reverting
803 "Remember to ref g_object_new'd object" (bug #170972) below, which
804 causes more harm (leaking, hiding bugs elsewhere) than good.
806 * app/app_procs.c lib/diagramdata.[ch] lib/libdia.def : get rid of
807 diagramdata_destroy() which was only a wrapper to g_object_unref()
809 * app/display.c(selection_changed) : don't g_strdup_printf() without
810 g_free() later /or/ a C++ comment of me mostly denotes an error
812 * app/diagram.c : diagram_parent_sort_cb make signature match GCompareFunc
814 * lib/widget.c : dia_dynamic_menu_select_entry() cleanup. If it takes a
815 const gchar* entry it must not eat memory, added a lot of g_free() and
816 some const. Fixed a bunch - i.e. *all* - warnings.
817 * lib/widget.h : removed unused/deleted functions
819 * app/layer_dialog.c(dia_layer_widget_connectable_toggled) : trying to
820 avoid 'Invalid write of size 4', no luck yet
822 2005-05-19 Lars Clausen <lars@raeder.dk>
824 * objects/UML/class.c:
825 * objects/UML/class.h:
826 * objects/UML/class_dialog.c: Work on getting a proper mainpoint
827 for uml class object. #ifdef'd out right now.
829 2005-05-18 Lars Clausen <lars@raeder.dk>
831 * objects/standard/line.c: Make line adjust its actual endpoints
832 for autogap -- looks and feels better.
834 * objects/standard/arc.c:
836 * app/modify_tool.c: Patch from Grégoire Dooms
837 <dooms@info.ucl.ac.be>: First stab at autogap for arcs, and
838 shifted arc angle movement.
840 2005-05-16 Hans Breuer <hans@breuer.org>
842 * lib/widget.c : variable declarations need to be at the start of a block,
843 at least as we are not using C++ or C99
845 * plug-ins/python/pydia-property.c : implment the read part for Property
846 arrays - aka. umlclass.properties["operations"], umlclass.properties["attributes"]
847 They are working quite well as can be seen with export-object.py
849 * plug-ins/python/codegen.py : prove it once more with the generation of C++
850 or Python code from an UML Diagram. Simply save as .py or .cxx ...
851 * plug-ins/python/Makefile.am : install it
853 2005-05-16 Lars Clausen <lars@raeder.dk>
855 * app/pixmaps/{un}group.png:
856 * app/Makefile.am (ICON_PNG_PAIRS):
857 * app/menus.c (display_menu_items):
858 New icons for grou/ungroup finally added, closing bug #105519.
860 * app/Makefile.am: Dependencies for pixmaps.
862 * app/pixmaps/connectable.png: An icon that actually makes sense
863 for switching connectability.
865 2005-05-15 Hans Breuer <hans@breuer.org>
867 * lib/group.c object/UML/classicon.c : fixed leftovers of
868 'Adding connectionpoint to _move_handle
870 * lib/widgets.c : gtk+ *NEVER* eats strings, so gtk_something(widget, g_strdup())
871 is *ALWAYS* a memory leak. Plug some more.
874 In preparation to make UML operations/attributes/parameters setable by Python
875 UML class became more StdProp conformant. A nice experience to be the first
876 to use the PROP_TYPE_DARRAY stuff about four years after it was written ;-)
878 * objects/UML/umlattribute.c objects/UML/umloperation.c
879 objects/UML/umlparameter.c objects/UML/umlformalparameter.c : (new files)
880 split from objects/UML/uml.c and made StdProp aware
881 * objects/UML/class.c : finally make "attributes", "operations", "templates"
882 <template parameters> first class StdProps citizens.
883 (umlclass_load) : removed hand-written parsing for the above, it is all done
884 by object_load_props() now. The old write code is still in place, so be very
885 careful when changing something - at the moment load/save it is 100% compatible
887 * objects/UML/uml.c : now just type registration here, as it is supposed to be
888 * objects/UML/Makefile.am objects/makefile.msc : build the new files
890 * lib/properties.h(PropDescCommonAreaExtra) : need a place to store the
892 * lib/prop_sdarray.c : made the DARRAY case work, SARRAY still untested
893 (darray_prop_adjust_object_records) : don't loop forever
894 (whole file) : use the new (working) way to get on the second level offsets.
895 Also resolved some abbreviations, it is complicated enough without them ;)
896 * lib/proplist.c : even complete list contents may be optional
898 2005-05-15 Hans Breuer <hans@breuer.org>
900 * lib/bezier_conn.c(remove_handles) : don't try to remove
901 non-exisitng handles (patch from Radek Krahl, bug #302273)
903 2005-05-15 Hans Breuer <hans@breuer.org>
905 * plug-ins/metapost/render_metapost.c : locale independent output
906 (Radek Krahl, bug #301866)
908 2005-05-12 Lars Clausen <lars@raeder.dk>
910 * shapes/Cisco/*.{shape,png}:
911 * sheets/cisco*.sheet.in:
912 Updated with color icons from Ian Redfern, closing bug #303889.
913 Added automatic midpoints, not attempt at adjusting them.
915 2005-05-11 Lars Clausen <lars@raeder.dk>
917 * many shapes: Use mid of bounding box for midpoint, better than
918 mid of connection points generally.
920 2005-05-10 Lars Clausen <lars@raeder.dk>
922 * lib/widgets.c: Decided on one way for the ratio thing in arrow
923 size selector: Fixed ratio is on by default and keeps the sizes
924 at the given ratio, but doesn't clamp them to be the same. Fixes
927 * lib/font.c: Fix for bug #303695: Allow more than one entry of
928 each legacy name, thereby correctly encoding bold and italic of
929 the three main fonts. Also use | rather than || to combine slant
930 and weight, so matching works. Had to remove binary search for
931 new font name, but the list is short enough it's not a problem.
933 2005-05-09 Lars Clausen <lars@raeder.dk>
935 * lib/autoroute.c (autoroute_layout_orthconn): Remove debugging info.
937 2005-05-08 Hans Breuer <hans@breuer.org>
939 * objects/UML/class.c : Reverted to have no center point.
940 At first it looked as if there was only the bug to not increase
941 class.h:UMLCLASS_CONNECTIONPOINTS. But the UMLClass has
942 potentially much more dynamic connection points (to the left
943 and right of every attribute/operation). Now simply adding one
944 between see static and dynamic will screw up any existing diagram
945 which makes use of the dynamic connection points. The would all
946 be connected with an off-by-one error. I have no idea how to
947 code around that. But breaking backward compatibility is no
948 option here. Does not completely fix bug #303301 ...
950 * lib/widget.c(dia_font_selector_set_font): actually set the options
951 menu state. So we are not any longer resetting the font style on Apply.
952 Use "UML - Class" dialog as stress text example.
954 * app/command.c : some people insist to close diagrams already
955 closed using tear-off menus. Maybe we should add a dialog
956 "Do you want to call Dr. Watson now?". If there is no diagram
957 to close anymore just do nothing, fixes bug #303221
958 * app/display.c(ddisplay_close) : use g_return_if_fail(ddisp != NULL);
959 Calling this with no display to close is a pathological case.
961 * app/diagram.[hc] : moved object.h and other DiaObject stuff
962 to the implementation in preparation of Big Things(tm)
964 * app/interface.c : less warnings and make it compile. strncmp()
965 does not take a char**, neither does gdk_pixbuf_new_from_inline().
967 * objects/makefile.msc plug-ins/makefile.msc : less output
969 2005-05-08 Lars Clausen <lars@raeder.dk>
971 * lib/orth_conn.c (orthconn_init): The right place to set the
972 default autorouting value. Fixes bug #303291.
974 * app/display.c (ddisplay_close): Patch from Radek Krahl
975 (ptasz3k@o2.pl): Fix crash when using from detached menu
978 2005-05-07 Lars Clausen <lars@raeder.dk>
980 * lib/orth_conn.c (orthconn_load): Autorouting should default to
981 off in diagrams that don't have it explicitly. All diagrams
982 should be explicit about it.
984 2005-05-06 Hans Breuer <hans@breuer.org>
986 * app/samples/Self/*.dia : some UML diagrams describing Dia's
987 inner working (or it's future;)
989 2005-04-26 Lars Clausen <lars@raeder.dk>
991 * app/connectionpoint_ops.c (connectionpoint_draw): Temporary
992 change to display of mainpoint to be easier to debug autogenerated
995 2005-04-23 Hans Breuer <hans@breuer.org>
997 * plug-ins/python/diamodule.c plug-ins/python/pydia-object.h
998 plug-ins/python/pydia-properties.h : use lib/ prefix for
999 Dia internal headers with too common names (fixes bug #173061)
1001 * app/display.c : stop special casing the first display of
1002 a diagram. Every display now has it's own refernce. The initial
1003 reference gets dropped when there is no display anymore. See
1004 diagram_remove_ddisplay(). Fixes bug #300744.
1006 * app/diapsft2renderer.c : locale independent output
1007 (Radek Krahl, bug #300847)
1008 * app/paginate_psprint.c : fixing use of setlocale() calls
1009 (Radek Krahl, bug #300886)
1010 * plug-ins/shape/shape-export.c : fixing use of setlocale() calls
1011 (Radek Krahl, bug #300889)
1013 * objects/UML/class.c : fix another crash with the line
1014 wrapping code (Gabor Simon, bug #160865)
1016 * plug-ins/cairo/diacairo.c : image rendering had an endianess
1017 issue (or is this working around a libpixman bug?;)
1019 2005-04-21 Lars Clausen <lars@raeder.dk>
1021 * lib/polyshape.c (polyshape_update_data): Fixed numpoint off-by-one.
1023 * shapes/**/*.shape: All shapes now have midpoints.
1025 2005-04-20 Lars Clausen <lars@raeder.dk>
1027 * lib/orth_conn.c (orthconn_update_data): Patch from ptasz3k@o2.pl
1028 (Radek Krahl): Make sure there's enough handles for the line.
1031 * objects/UML/node.c (node_draw): Better drawing method avoids
1032 garbage after moving. Fixes bug #301032.
1034 2005-04-17 Hans Breuer <hans@breuer.org>
1036 * plug-ins/cairo/diacairo.c : again adapt to Cairo API
1037 changes (whould compile with current cvs and 0.(3|4).0
1039 2005-04-11 Lars Clausen <lars@raeder.dk>
1041 * xmldocs.make (all): Fix to put installed docs in right place
1042 under disable-gnome.
1044 * doc/en/Makefile.am: Use xml_files var for xml files, EXTRA_DIST
1047 * app/commands.c (help_manual_callback): Patch from p@kapcoweb.com
1048 (Leonardo Boshell): Use standard gnome help if called with Gnome.
1050 * app/diapsrenderer.c: Patch from ptasz3k@o2.pl (Radek Krahl): Fix
1051 locale issues for eps output. Fixes bug #173135.
1053 2005-04-10 Hans Breuer <hans@breuer.org>
1055 * plug-ins/cairo/diacairo.c : adapt to Cairo PNG API
1056 changes (somewhat broken)
1058 * plug-ins/pstricks/render_pstricks.c : still C89 ...
1059 * objects/custom/shape_info.c : ... but with prototypes
1061 2005-04-07 Lars Clausen <lars@raeder.dk>
1064 * plug-ins/svg/render_svg.c:
1065 * lib/diasvgrenderer.c: Patches from ptasz3k@o2.pl (Radek Krahl):
1066 Make decimal separators be correct in save file formats
1067 (non-localized). Fixes bugs #172529 and 172531.
1069 2005-04-06 Lars Clausen <lars@raeder.dk>
1071 * app/create_object.c (create_object_button_release):
1072 * app/modify_tool.c (modify_button_release): Correct activations
1075 2005-04-05 Simon Kågström <ska@bth.se>
1077 * app/app_procs.c: the --show-layers option can now handle numeric
1080 2005-04-05 Lars Clausen <lars@raeder.dk>
1082 * lib/diagdkrenderer.c (draw_string): Patch from tomkast@yahoo.com
1083 (Tom Kast): Avoid blockiness caused by bad updates.
1085 2005-04-03 Lars Clausen <lars@raeder.dk>
1088 * lib/beziershape.c: Main points. A crude solution, having the
1089 center in the middle of the bb. Shows a bug in the distance_from
1090 code for polyshape when a side is horizontal.
1092 2005-04-02 Lars Clausen <lars@raeder.dk>
1094 * plug-ins/pstricks/render_pstricks.c:
1095 * plug-ins/xfig/xfig-export.c: Patch from Radek
1096 Krahl <ptasz3k@o2.pl>: Fix decimal point problems. Fixes bugs
1098 2005-04-02 Hans Breuer <hans@breuer.org>
1100 * lib/dia_image.c(dia_image_filename) : return the path
1101 again. (bug #172416, Radek Krahl)
1103 2005-04-01 Steve Murphy <murf@e-tools.com>
1105 * configure.in: Added "rw" to ALL_LINGUAS.
1107 2005-03-31 Lars Clausen <lars@raeder.dk>
1109 * lib/neworth_conn.c (neworthconn_update_data): Handle autogap.
1111 * lib/orth_conn.c (orthconn_update_data): Handle autogap while not
1114 * objects/network/basestation.c: Main points.
1116 2005-03-27 Hans Breuer <hans@breuer.org>
1118 * app/Makefile.am : removed some pixmap/*.xpm from EXTRA_DIST
1119 * app/pixmaps.h : removed arrow.xpm
1120 * lib/Makefile.am : added diamarshal
1121 * plug-ins/python/Makefile.am : added makefile.msc to EXTRA_DIST
1122 => makes 'make dist' pass and produce a useable package
1124 * po/*.po : 'noise' profuced by make dist
1126 2005-03-24 Lars Clausen <lars@raeder.dk>
1128 * objects/flowchart/parallelogram.c (pgram_update_data):
1129 * objects/flowchart/ellipse.c (ellipse_update_data):
1130 * objects/flowchart/diamond.c (diamond_update_data):
1131 * objects/flowchart/box.c (box_update_data): Main points.
1133 * objects/custom/custom_object.c (custom_create):
1134 * objects/custom/shape_info.h:
1135 * shapes/Assorted/square.shape:
1136 * objects/custom/shape_info.c (load_shape_info):
1137 * doc/shape.dtd: Added main point support to shapes, and an
1138 example of how to use it.
1140 2005-03-21 Lars Clausen <lars@raeder.dk>
1142 * lib/autoroute.c (autoroute_layout_orthconn): Remember to
1143 unnormalize from same point as you normalize, or else!
1145 2005-03-20 Lars Clausen <lars@raeder.dk>
1147 * app/app_procs.c (do_convert): Patch from crux@gorodmasterov.com:
1148 Remember to ref g_object_new'd object.
1150 2005-03-19 Hans Breuer <hans@breuer.org>
1152 * plug-ins/xslt/xslt.c : don't crash if both places ($SHARE, $HOME)
1153 have configurations, fixes bug #170962
1155 * objects/UML/state.c : ("UML - State")::type is PROP_FLAG_OPTIONAL,
1156 or better not used any longer. Fixes bug #169142.
1158 * lib/element.c(element_update_connections_rectangle): don't initialize
1159 the eighth point twice but instead the nineth once
1161 * objects/standard/bezier.c : no C++ comments *please*
1163 * lib/plug-ins.h : increment DIA_PLUGIN_API_VERSION
1165 * lib/dia_image.[ch] : dia_image_filename() returns a string not to be freed ...
1166 * plug-ins/python/pydia-image.c : ... so, don't do it!
1168 * lib/dia_svg.c : refactor color parsing and support the "rgb(127,255,0)" form,
1169 also named colors via pango_color_parse()
1171 * lib/prop_text.c : don't try to g_strdelimit(NULL), fixes bug #169367
1173 * lib/libdia.def : updated externals
1175 * app/object_ops.c : still not C99 everywhere
1177 2005-03-19 Hans Breuer <hans@breuer.org>
1179 * lib/autoroute.c : at least it should compile ;)
1181 2005-03-19 Lars Clausen <lars@raeder.dk>
1183 * lib/autoroute.c: Orthconns now do autogap.
1185 2005-03-17 Lars Clausen <lars@raeder.dk>
1187 * app/authors.h: Added Gregoire Dooms for gap stuff.
1189 * objects/standard/polyline.c: Patch from Grégoire Dooms
1190 <dooms@info.ucl.ac.be>: Autogap and absolute gap for polyline.
1192 * objects/standard/bezier.c: Patch from Grégoire Dooms
1193 <dooms@info.ucl.ac.be>: Fixes two bugs. Also autogap no longer a
1197 * objects/UML/state_term.c:
1198 * objects/UML/large_package.c:
1199 * objects/UML/node.c:
1200 * objects/UML/object.c:
1201 * objects/UML/small_package.c:
1202 * objects/UML/state.c:
1203 * objects/UML/usecase.c:
1204 * objects/UML/note.c:
1205 * objects/UML/actor.c:
1206 * objects/UML/classicon.c:
1207 * objects/UML/component.c:
1208 * objects/Misc/analog_clock.c:
1209 * objects/Jackson/requirement.c:
1210 * objects/Istar/goal.c:
1211 * objects/Istar/actor.c:
1212 * objects/FS/function.c:
1213 * object/standard/box.c:
1214 * objects/ER/entity.c:
1215 * objects/ER/relationship.c:
1216 * objects/ER/attribute.c: Main points added. Distance_from fixed
1217 in attribute, broken in relationship, I* goal, Jackson
1218 requirement, analog_clock, all non-rectangular UML elements,
1221 * lib/element.[ch]: New method to help update connection points.
1223 * app/menus.c: Change Help/Manual to Help/Contents to follow
1226 * objects/standard/line.c:
1227 * lib/geometry.[ch]:
1228 * objects/standard/bezier.c: Patch from Grégoire Dooms
1229 <dooms@info.ucl.ac.be>: Add absolute gap and autogap for line and
1230 bezier objects. Autogap nowchanged to be a function of the
1234 * lib/connectionpoint.[ch]: New function to ask if a connpoint has the
1237 * app/connectionpoint_ops.c (connectionpoint_draw): Don't draw
1238 CP_FLAG_ANYPLACE connpoints.
1240 2005-03-16 Lars Clausen <lars@raeder.dk>
1242 * app/interface.c (create_tools): Removed debug printf.
1244 2005-03-15 Lars Clausen <lars@raeder.dk>
1246 * lib/widgets.[ch]: Constification.
1248 * app/interface.c: Work on using gdk-pixbuf-csource'd data, not
1251 * objects/standard/ellipse.c: Use CP_FLAG_MAIN for central CP.
1253 * lib/connectionpoint.h: Flags for connection points.
1255 * app/create_object.c (create_object_motion):
1256 * app/modify_tool.c (modify_motion): Minor refactoring.
1258 * app/object_ops.c (object_find_connectpoint_display): Extend with
1259 finding connpoints that cover entire objects.
1261 * app/layer_dialog.c (dia_layer_widget_init): Get rid of warnings.
1263 * objects/custom/custom_object.c (custom_setup_properties): Avoid
1266 2005-03-13 Hans Breuer <hans@breuer.org>
1268 * plug-ins/svg/svg-import.c : handle the <circle/> tag as well
1270 2005-03-13 Hans Breuer <hans@breuer.org>
1272 * lib/dia_svg.[hc] objects/custom/shape_info.[hc] plug-ins/svg/svg-import.c :
1273 s/DiaSvgGraphicStyle/DiaSvgStyle/, added and use convenience functions
1274 dia_svg_style_copy(), dia_svg_style_init()
1276 * objects/custom/shape_info.c : use dia_svg_parse_path() from lib/ (it got
1279 * lib/dia_svg.c(dia_svg_parse_path) : also handle style properties which are
1280 not wrapped in the style attribute
1282 * plug-ins/svg/svg-import.c : implement nested group handling and style
1283 'style inheritance'. Still no transformations, no <image/>, no <style/>
1286 * plug-ins/svg/svg-import.c(import_svg) : use message_warning instead of g_warning,
1287 the latter is for programmers.
1288 Also be more tolerant if the document root namespace is not 'svg'. If the svg
1289 namespace is defined in the file search for the top node including svg. This
1290 allows us to re-read the svg part of our own shape format.
1292 * lib/libdia.def : there is no give_focus_to_object
1293 * app/textedit.c : still no C99, aka. error C2275: 'Focus' : illegal use of this
1294 type as an expression
1296 * lib/geometry. c : use G_IMPLEMENT_INLINES
1297 * lib/libdia.def : export point_get_perp (used by xfig plug-in)
1299 * app/textedit.c(textedit_end_edit) : don't crash if the display is already
1300 gone when trying to remove the focus
1302 * plug-ins/cairo/diacairo.c : CAIRO_HAS_WIN32_SURFACE does not any longer mean
1303 it has *my* Cairo Win32 Backend. [The official one isn't useful for the use
1304 case of this plug-in, i.e. producing output files]
1306 2005-03-13 Lars Clausen <lars@raeder.dk>
1308 * lib/Makefile.am (BUILT_SOURCES):
1309 * app/Makefile.am (BUILT_SOURCES): Use the Right Way[tm] to force
1310 the building of the icons header files.
1311 * app/dia-lib-icons.h: Out of CVS now that it's correctly generated.
1313 2005-03-13 Hans Breuer <hans@breuer.org>
1315 * configure.in : require Cairo 0.3.0
1316 plug-ins/cairo/diacairo.c : changed to match ;-)
1318 * app/app_procs.c() : new function dump_dependencies()
1319 which gets called by: dia --version --verbose
1320 and may help to track version dependent problems in
1323 * lib/font.c : reverted to previous version cause using
1324 not implemented Pango API did not improve the issue.
1325 See: http://bugzilla.gnome.org/show_bug.cgi?id=162034
1326 for more information.
1328 * lib/dialinechooser.c : a little shrinking of the
1329 initial size (to work around line wrappjing the right
1332 2005-03-11 Lars Clausen <lars@raeder.dk>
1334 * app/textedit.c: Concentrate start/end editing in single functions.
1336 2005-03-10 Lars Clausen <lars@raeder.dk>
1339 * lib/object.h: Added new object function to allow the object to
1340 be notified when its text is being edited.
1343 * app/modify_tool.c:
1346 * lib/focus.c: Remove sideeffects from focus objects, add getter
1349 2005-03-09 Lars Clausen <lars@raeder.dk>
1351 * lib/Makefile.am (dia-lib-icons.h):
1352 * app/Makefile.am: Minor cleanup.
1354 2005-03-06 Hans Breuer <hans@breuer.org>
1356 * app/app_procs.c : avoid "assignment within conditional expression"
1357 and handle -L for the GOption case as well.
1359 * lib/widget.c : strchr() does not return -1 on not found but NULL;
1360 avoids widgets.c(307) : error C4047: '!=' : 'char *' differs in levels of
1361 indirection from 'const int '
1363 * lib/diasvgenderer.c(draw_arc|fill_arc) : finally correct sweep and
1364 large_arc, thus produce correct arc output (like diasvg.py does;),
1367 * lib/dia_svg.[hc](dia_svg_parse_path) : new function copied and adapted
1368 from objects/custom/shape_info.c to be shared with object/custom and
1369 plug-in/svg -> finally the C based svg-import reads pathes again.
1370 Added arc parsing while I was there, which fixes bug #169191
1371 * objects/custom/shape_info.c(parse_path) :
1372 * plug-ins/svg/svg-import : reuse above function
1373 Also fix the "root element was 'svg' -- expecting 'svg'" bug #108502.
1374 But in general this does only support a small subset of what is
1377 2005-03-06 Lars Clausen <lars@raeder.dk>
1379 * objects/UML/association.c: Patch from Dave Klotzbach applied:
1380 Add visibility to association arrow. Fixes bug #157012.
1382 * app/grid.c: Patch from Lawrence Withers fixes grid messiness,
1383 closing bug #161040.
1385 * app/layer_dialog.c (create_button_box): Use stock icons instead
1386 of homemade onces. Gets us rid of four more XPMs.
1388 2005-03-05 Sampo Kellomaki <sampo@iki.fi>
1390 * app/app_procs.c: Implemented --show-layers=LAYER,LAYER,... option
1391 This option permits command line control of which layers are visible.
1392 Useful when automatically exporting multiple versions of the same
1393 diagram, e.g. slides with overlays. Added-n switch parsing without POPT.
1394 * app/app_procs.h: moved prototype of do_convert() to app/app_procs.c
1395 and made it static since its only used in that file.
1396 * app/authors.h: added myself
1397 * doc/en/dia.1: documented the switch
1398 * doc/en/usage-layers.xml: ditto
1400 2005-03-05 Alan Horkan <horkana@tcd.ie>
1402 * app/interface.c Change Horizontal scroll policy to NEVER for sheets
1403 this restores how Dia behaved before the GTK2 port and seems to help
1404 allow the toolbox to be more easily resized. Bug #108891.
1406 2005-03-05 Lars Clausen <lars@raeder.dk>
1408 * Civil/civil_motor.shape:
1409 * Civil/civil_rotor.shape:
1411 * Logic/buffer.shape:
1412 * Logic/connector.shape:
1413 * Logic/inverter.shape:
1419 * shapes/Assorted/arrow-left-up.shape:
1420 * shapes/Assorted/heptagon.shape:
1421 * shapes/Assorted/star5.shape:
1422 * shapes/Assorted/trapezoid.shape:
1423 * shapes/Assorted/triangle-rightangle.shape: Fixed bad use of
1424 defaults, see bug #169143.
1426 * sheets/Assorted.sheet.in: Fixed typo patch applied, bug #169114.
1429 * doc/en/Makefile.am: Finally figured out the right way to ask for
1430 the manpage xslt. Closes bug #144539.
1432 2005-03-01 Lars Clausen <lars@raeder.dk>
1434 * lib/Makefile.am (nodist_include_HEADERS):
1435 * app/Makefile.am: Correctly generate these files from PNGs with
1440 * lib/widgets.c: Refactor toggle button factory to allow inline
1443 * lib/pixmaps/Makefile.am: Unify lib pixmaps.
1445 * app/makefile.msc (ICON_PNG_PAIRS):
1446 * app/dia-app-icons.h: Updated with more icons.
1449 * app/Makefile.am: Use gdk_pixbuf_csource to create inline data
1452 * app/interface.c (create_display_shell):
1453 * app/layer_dialog.c (dia_layer_widget_init):
1454 * lib/dia_image.c (dia_image_get_broken): Use inlined data
1457 * app/display.c (ddisplay_close): Removed unused includes.
1459 2005-03-01 Lars Clausen <lars@raeder.dk>
1461 * app/sheets.c (create_object_pixmap): Create a placeholder image
1462 for when the real image is missing. Better than crashing:)
1465 2005-02-25 Hans Breuer <hans@breuer.org>
1467 * app/app_procs.c : don't requets to open a default display with
1468 g_option_context_add_group (crux@gorodmasterov.com, bug #168523)
1470 2005-02-22 Lars Clausen <lars@raeder.dk>
1472 * plug-ins/gprint/diagnomeprint.c (export_data): GNOME, not Gome.
1475 2005-02-19 Lars Clausen <lars@raeder.dk>
1477 * app/menus.c (display_menu_items): Applied patch from bug #94019:
1478 Menu cleanup and addition of icons. Also a few additional stock
1481 * app/layer_dialog.c (create_layer_dialog): Bug #159598: Clean up
1484 2005-02-14 Lars Clausen <lars@raeder.dk>
1486 * INSTALL (ftp): Fixed Pango release typo (bug #153007)
1488 2005-02-13 Lars Clausen <lars@raeder.dk>
1490 * lib/font.c: First stab at using Gtk 2.4 functions for fixing
1491 width. Seems to work. Once tested some more, needs old code
1494 * lib/widgets.c (dia_font_selector_create_string_item): Avoid
1495 warning by escaping & properly.
1497 2005-02-06 Lars Clausen <lars@raeder.dk>
1499 * app/filedlg.c (file_export_callback): Set correct extension as
1500 soon every time the dialog is shown. Fixes bug #162535.
1502 * app/display.c (ddisplay_set_origo): Use more standard
1505 * app/modify_tool.c (modify_motion):
1506 * app/create_object.c (create_object_motion): Put coordinates of
1507 handle/object in status bar while moving. Fixes bug #163164.
1509 2005-02-03 Lars Clausen <lars@raeder.dk>
1511 * lib/.cvsignore: Added generated files diamarshal.[ch]
1513 2005-02-02 Lars Clausen <lars@raeder.dk>
1515 * configure.in: Add GLIB_GENMARSHAL def as suggested in
1516 http://ignore-your.tv/software/libgtcpsocket/docs/client-subclassing.html.
1517 Now compiles on Linux.
1519 2005-02-01 Lars Clausen <lars@raeder.dk>
1521 * app/sheets.c (sheet_object_mod_get_type_string): We don't really
1522 need to translate the empty string. Especially not after
1523 g_assert_not_reached(). Fixes bug #165966.
1525 2005-01-07 Tim Olsen <tolsen@alum.mit.edu>
1527 * objects/UML/activity.c : add fill- and line-colour properties
1528 [applied by Hans Breuer, fixes bug #163260]
1530 2004-01-28 Hans Breuer <hans@breuer.org>
1532 * doc/en/*.xml doc/en/dia.dbk app/authors.h : documentation
1533 update provided by Alan Horkan (fixes bug #159592)
1535 2004-01-28 Hans Breuer <hans@breuer.org>
1537 [Extented version for UML to C++ conversion by Dave Klotzbach, bug #155255]
1538 * plug-ins/xslt/dia-uml2cpp.xsl : (new file) ... handles associataions,
1539 generalization, dependancies, parameterized classes ...
1540 * plug-ins/xslt/styleshetts.xml : refernce it
1541 * plug-ins/xslt/dia-uml.xsl : handle more UML types uesd above
1543 2004-01-28 Hans Breuer <hans@breuer.org>
1545 * objects/UML/transition.c : fill out the extra_spacing struct
1546 in the OrtConn member, in order to avoid artifacts when draggin
1547 the transition. (patch by Peter Allin, bug #144956)
1549 2004-01-15 Hans Breuer <hans@breuer.org>
1551 * plug-ins/cairo/diacairo.c : initialized the renderers default dash_length
1552 to something differnt than 0. Apparently there are case where Dia misses
1553 to appropriately set it before requesting a dashed line (simple line with
1554 arrow as described in bug #151716)
1556 * lib/dia_dirs.c : special casing for drive letters which I broke with
1559 2005-01-13 Hans Breuer <hans@breuer.org>
1561 * app/interface.c(create_sheet_page) : remved dead long time code
1563 * lib/propdialogs.c : removed pdtpp_is_visible_no_standard() prototype,
1564 it is availbale via header - which is the better style anyway
1566 2004-12-31 Hans Breuer <hans@breuer.org>
1568 * lib/dia_dirs.c(dia_get_canonical_path) : complete
1569 rewrite to handle something like /mnt/some/where/../else
1570 too. Workaround for bug #162637.
1571 * app/filedlg.c : call gtk_file_chooser_set_current_name()
1572 to workaround gtk_file_chooser_set_filename() not setting
1573 it if the file does not exist
1575 * sheets/Jackson.sheet.in app/menus.c : fixed typos
1576 (Frank Arnold, bug #161676)
1578 2004-12-31 Steffen Macke <sdteffen@gmail.com>
1580 * doc/pl/*.xml: Added XML prolog
1581 * makefile.msc: Added libxslt, fixed libxml, libart
1583 2004-10-29 Alexander Shopov <ash@contact.bg>
1585 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
1587 2004-12-29 Lars Clausen <lars@raeder.dk>
1589 * configure.in: Make gnomeprint be truly off by default (typo) and
1590 show optional compilation correctly.
1591 * plug-ins/gprint/Makefile.am: Exclude gnomeprint if not optioned in.
1593 2004-12-22 Hans Breuer <hans@breuer.org>
1595 * lib/widgets.c : destroy handlers can be called more than once,
1596 see http://developer.gnome.org/doc/API/2.0/gtk/gtk-changes-2-0.html
1598 * app/app_procs.c : #ifdef GLIB(2.6.0) but GTK(2.4.x)
1600 * app/display.c : temporary debug code showing the
1601 timing the rendering
1603 * app/dialibartrenderer.c(draw_string) : removed dead
1604 code loading and leaking font and face
1606 2004-12-15 Hans Breuer <hans@breuer.org>
1608 * app/display.c : actually use the selction-changed signal for something
1609 useful. Show selections representation on statusbar.
1610 * lib/object.h lib/prop_text.c lib/libdia.def : provide objet_get_displayname()
1611 * app/diagram_tree.c : use new function (as in app/display.c) and only
1612 poke into property internals at one place
1613 * app/diagram.c : use g_signal_handlers_block_by_func to avoid has-no-handler-
1616 2004-12-12 Hans Breuer <hans@breuer.org>
1618 * lib/libdia.def app/dia.def : updated externals
1620 * objects/custom/custom_object.c : custom_destroy is called per object.
1621 It _must not_ destroy class stuff (ShapeInfo) cause it does not hold a
1622 reference to it. Fixes e.g. bug #158288, #160550, ...
1624 * objects/UML/association.c(association_draw) : completed porting to
1625 draw_polyline_with_arrows()
1626 (association_update_data_end) : fixed typo in point compare
1627 (association_update_data) : for name placement take degenerated
1628 segements into account. Together this fixes bug #143891
1630 2004-12-11 Hans Breuer <hans@breuer.org>
1632 * lib/widgets.c(set_size_sensitivity) : revert inverted
1633 logic for arrorw size selections, fixes bug #160527
1635 2004-12-11 Hans Breuer <hans@breuer.org>
1637 * lib/widgets.c(dia_font_selector_set_font) : initialize
1638 the font style widget, too. Gets rid of empty font
1639 style and thus default broken font style, e.g. UML::class_name
1641 * lib/widgets.c(dia_color_selector_more_callback) : fill
1642 the color palette from dynamic menu entries and also
1643 preselect the current color to the last select entry
1645 * plug-ins/python/pydia-diagramdata.c : hold a reference
1646 to the underlying GObject
1648 * app/Makefile.am app/diagrid.h : new file containing the
1649 grid 'class' moved from DiagramData to Diagram.
1650 Also moved pagebreak_color and guides cause they are only
1651 used for visual appearance not 'data'.
1652 * lib/diagramdata.[ch] app/diagram.h app/dia-props.c app/grid.c
1653 app/load_save.c plug-ins/python/pydia-diagramdata.c : reflect
1656 * lib/diagramdata.[ch] app/app_procs.c app/diagram.c
1657 lib/libdia.def : get rid of new_diagram_data()
1658 Diagram _is_ DiagramData (and does not have one any longer,
1659 just a compatibility pointer)
1661 * lib/diarenderer.h : a small doc improvement
1663 2004-12-11 Hans Breuer <hans@breuer.org>
1665 * objects/UML/class.c : line wrapping code buffer
1666 overrun fixed by Gabor Simon, bug #160865
1668 2004-12-11 Hans Breuer <hans@breuer.org>
1670 * plug-ins/python/pydia-diagram.c : hold a reference
1671 to the diagram in PyDiaDiagram, avoids bug #159080
1672 [another way to avoid is to detroy the dialog by
1673 clsoing it. But now there is still a diagram to
1674 apply the changes to, even if it's thrwon away just
1677 2004-12-10 Hans Breuer <hans@breuer.org>
1679 * **/*.c : fixed a bunch of warnings, not only for -ansi
1680 (still too many of them, but -ansi works)
1682 prop_geomtypes.h prop_geomtypes.c:306: warning: static
1683 declaration for `fontsizeprop_reset_widget' follows non-static
1684 dia_dirs.c:196: warning: return discards qualifiers from
1688 shape_info.c:121: warning: static declaration for `parse_path'
1692 arrow.c:228: warning: `draw_arrowhead' declared `static' but never defined
1693 arrow.c:244: warning: unused variable `i'
1694 arrow.c:245: warning: unused variable `p'
1695 arrow.c:246: warning: unused variable `zzr'
1697 object/Istar/*.c object/Jackson/*.c object/KAOS/*.c :
1698 finally removed c++ comments
1700 objects/Istar/goal.c : initialize connections::directions
1701 while I was there - helps autorouting
1703 * objects/KAOS/metaandorrel.c objects/Istar/link.c
1704 objects/KAOS/metabinrel.c : removed struct _DiaImage hack
1705 (it would be quite simple to add image-from-memory support
1708 * pydia-*.h : warning: no newline at end of file
1710 * plug-ins/gprint/diagnomeprint.c : allow to unregister
1711 and follow new unique name naming convention
1712 * plug-ins/gprint/diagnomeprintrenderer.c : no c++ comments
1715 2004-12-07 Hans Breuer <hans@breuer.org>
1717 * objects/UML/message.c : better default for initial text placement
1718 a suggested in bug #154306, Henning Mersch
1719 * objects/UML/constraint.c : doing the same
1721 * app/filedlg.c : include persistence.h for persistence_get_integer
1722 * lib/libdia.def export it
1724 2004-12-05 Hans Breuer <hans@breuer.org>
1726 * app/grid.c : respect dynamic grid during snap-to, fixes
1727 bug #135124, Dmitriy Morozov. Added some additional magic
1728 to make the grid size more useable.
1730 2004-12-05 Hans Breuer <hans@breuer.org>
1732 * app/app_procs.c : make it compile for the HAVE_POPT and
1733 G_LIB_CHECK_VERSION(2,5,5) case, minor formating
1735 * lib/plug-ins.c : don't pass non exiting files to xmlDiaParseFile()
1736 * app/app_procs.c : only dia_pluginrc_write() and create_user_dirs()
1737 when interactive. Fixes bug #119329
1739 * plug-ins/cairo/diacairo.c : adapt to new type naming
1740 scheme (introduced by accident;-) for pixbuf-*
1741 * app/app_procs.c : reflect both type name changes
1743 2004-12-04 Hans Breuer <hans@breuer.org>
1745 * objects/standard/image.c : fix the correct warning
1746 `image_file_name' might be used uninitialized
1748 * app/filedlg.c : near complete rewrite
1749 - removed 'related dialog', GtkOptionMenu, most global vars,
1750 also don't hide the dialog but let it go.
1751 - added: filter view by extension, hopefully working diagram
1752 referencing, GtkComboBox usage
1754 * plug-in/pixbuf/pixbuf.c : switched to dynamic generation
1755 of im/export filter entries. So the user interface reflects
1756 the dynamic nature of pixbuf loaders
1758 * lib/filter.[ch] : implement filter_unregister_*port
1759 lib/libdia.def : added new functions
1760 plug-ins/cgm/cgm.c plug-ins/dxf/dxf.c
1761 plug-ins/hpgl/hpgl.c plug-ins/metapost/metapost.c
1762 plug-ins/pstricks/pstricks.c plug-ins/svg/svg.c
1763 plug-ins/wpg/wpg.c plug-ins/xfig/xfig.c
1764 plug-ins/cairo/cairo.c plug-ins/pixbuf/pixbuf.c :
1765 use them in _plugin_unload () thus all these plug-ins
1766 can be loaded used and unloaded during Dia's runtime
1768 2004-12-04 Lars Clausen <lars@raeder.dk>
1770 * lib/diagramdata.h: Access methods for units defined per diagram.
1772 * lib/font.c (dia_font_new_from_style): More proper object creation.
1774 * lib/properties.h: Refactored the PROP_STD_* macros to allow
1777 * app/diagram.c (diagram_init): Force filename to be absolute
1778 path, easing the job for load/save.
1780 2004-12-03 Hans Breuer <hans@breuer.org>
1782 * lib/libdia.def : removed dia_marshal_*, they are implemented as macros.
1783 added dia_font_set_height, dia_font_copy (note to self: don't try to
1784 maintain these from the *NIX side ;)
1786 * lib/widgets.h : removed DiaColorSelector::col, it is not maintained by
1787 the new color selection anymore
1788 * objects/UML/class_dialog.c : with the above change it would have been more
1789 easy to fix the color loss bug #156996 which had nothing to do with 'a pointer
1790 problem' but only was an unfinished usage of dia_color_slector(get|set)_color
1792 * objects/UML/class_dialog.c objects/UML/class.[ch] : uml_apply_properties
1793 (used in object vtable) and make its prototype match
1795 * lib/widgets.c : made all the GtkTypeInfo 'static const'. I can't directly
1796 correlate any of these strange crashing bug with it, but assume bad things to
1797 happen when one passes stack allocated stuff to gtk_type_unique()
1799 * lib/widgets.c(dia_font_selector_get_font) : don't access menuitem if it is
1800 not there. Fixes most of the warnings from bug #156996
1802 * lib/makefile.msc : rules to generate diamarshal.[ch]
1804 2004-11-29 Hans Breuer <hans@breuer.org>
1806 * app/disp_callbacks.c : reenable so-called preedit
1807 as described in bug #158859, Etsushi Kato
1808 Also fixed some compiler warnings while there.
1810 * objects/standard/image.c(get_directory) : make
1811 the documentation match the implementation.
1812 (image_save) : don't write a leading slash on
1815 * plug-ins/gprint/diagnomeprintrenderer.c :
1816 switched to gnome-print-pango usage
1818 * app/app_procs.c configure.in : although Dia
1819 is not threaded it appears as if we have to
1820 g_thread_init() to avoid crashing in some
1821 libraries which are thread enabled
1823 * lib/diamarshal.list lib/Makefile.am : start of
1824 using GSignal to clean up some object relations
1825 * lib/libdia.def : export marshallers
1826 * app/diagram.[ch] : emit signals when REMOVED,
1828 * app/display.c : added a connection to
1829 SELECTION_CHANGED to test the new signal stuff
1831 * app/diagram.c : fixed diagram_finalize while I
1834 2004-11-28 Hans Breuer <hans@breuer.org>
1836 * plug-ins/wmf/wmf.cpp(draw_string) : write the widechar version of
1837 the text if conversion to current locale fails. [This is actually
1838 using code written four years ago;]
1839 * plug-ins/wmf/wmf_gdi.(h|cpp) : added TextOutW (no real implemantation)
1841 * objects/standard/image.c(image_load) : be more robust against
1842 filenames which seem to be absolute
1844 2004-11-27 Hans Breuer <hans@breuer.org>
1846 * app/filedlg.c(file_save_callback) : convert to
1847 filename encoding before passing to diagram_save()
1848 Fixes bug #158381, thanks to Robert Ögren
1850 2004-11-27 Hans Breuer <hans@breuer.org>
1852 * lib/dialibartrenderer.c : sometimes its good to read
1853 compiler warnings. Not only define renderer_finalize
1854 but actually *use* it. Should plug a potential huge
1857 * configure.in plug-ins/Makefile.am
1858 plug-ins/gprint/Makefile.am : build the experimental
1859 gnomeprint plug-in on *NIX, too.
1860 * plug-ins/gprint/diagnomeprint.c : don't include
1861 specific (private) backend headers but instead select
1862 the desired backend via config key setting
1864 * lib/diagdkrenderer.c : add 1 to size of filled arc
1865 to be rendered by gdk. Fixes bug #150896.
1867 * plug-ins/gprint/diagnomeprint.c
1868 plug-ins/gprint/diagnomeprintrenderer.c : added magic
1869 to better match page and dash sizes
1871 2004-11-27 Hans Breuer <hans@breuer.org>
1873 * plug-ins/shape/shape-export.c : it's g_strdup_printf
1875 2004-11-27 Hans Breuer <hans@breuer.org>
1877 * app/app_procs.c : mention eps-builtin aka. "using
1878 latin1", does not fix the eps-pango issues but #150571
1880 2004-11-27 Hans Breuer <hans@breuer.org>
1882 * sheets/Cybernetics.sheet.in : changed encoding to
1883 utf-8, patch from Takeshi AIHANA, fixes #149580
1885 2004-11-27 Hans Breuer <hans@breuer.org>
1887 * objects/custom/custom_object.c : many existing shapes
1888 rely on a square default size, revert to it although
1889 it originally was by a typo. Fixes bug #148527.
1891 2004-11-27 Hans Breuer <hans@breuer.org>
1893 * app/load_save.c(dia_cleanup_autosave)
1894 app/diagram.c : don't use dia->filename if already
1895 freed and dont use printf at all.
1897 * app/paginate_psprint.c : not only set the renderer::paper
1898 but also renderer::is_portrait. Should fix bug #142524
1900 2004-11-26 Hans Breuer <hans@breuer.org>
1902 * dia.desktop.in : added Bug Buddy headers (as seen
1903 in planner). Hopefully the automatically filling of
1904 bugs is more meaningful by this.
1906 * objects/custom/custom_util.c objects/standard/image.c
1907 lib/plug-ins.c : getting rid of deprecated g_dirname,
1908 fixes some more memory bugs : AddrAddress 0x3586C010 is 24
1909 bytes inside a block of size 44 free'd
1911 * lib/persistence.c(persistence_load_list) : don't
1914 * lib/diaerror.[ch] : (new file) start of better error handling
1915 * lib/Makefile.am lib/makefile.msc lib/libdia.def:
1916 added new files/funcs
1917 * lib/proplist.c lib/propinternals.h (prop_list_load) :
1918 allow to propagate error to caller. Also set PXP_NOTSET
1919 to avoid applying unset properties, fixes bug #155255
1920 * lib/propobject.c lib/prop_sdarray.c : still spewing
1921 g_warnings but now with context information
1923 * app/filedlg.c : more absolute filenames where required
1924 and strip them where we need the filename only
1925 Also explicit DONT choose gnome-vfs backend cause its
1926 threading appears to crash Dia - at least in GNOME build,
1929 2004-11-26 Hans Breuer <hans@breuer.org>
1931 * app/filedlg.c : don't use relative filenames for
1932 gtk_file_chooser_set_filename(), GtkFileChooserDialog is very
1934 (export_set_extension) : if we don't have a filename don't
1935 use it in strrchr() to avoid crashing
1937 2004-11-23 Hans Breuer <hans@breuer.org>
1939 * app/app_procs.c : fixed build for the GNOME case
1940 (let's rip out POPT and depend on glib-2.6, please ;-)
1942 2004-11-23 Hans Breuer <hans@breuer.org>
1944 * app/app_procs.c : fixed typo which broke the
1945 build for HAVE_POPT case
1947 2004-11-21 Hans Breuer <hans@breuer.org>
1949 * app/app_procs.c : some more #if-mess, but one day
1950 we should rely on GLib's 2.6 Option Parser alone
1952 * plug-ins/wmf/wmf.cpp : use SC() when scaling width
1953 and height for RoundRect() - otherwise size depends on offset,
1954 shorten the unique name
1956 * plug-ins/python/diamodule.c : provide a unique name
1957 for python filters as well
1959 * lib/dialibartrenderer.c : fix the drawing of Gdk based text
1960 by using the right colors (need black background cause we
1961 are tinitng it with the real color later)
1963 * lib/dia_dirs.c(dia_get_canonical_path) : use G_DIR_SEPARATOR_S
1964 instead of hardcoded slahes, improved portability
1966 * app/paginate_gdiprint.cpp : use the right filter name to find wmf
1967 plug-in. Also added some more error reporting (e.g. no printer driver)
1969 * plug-ins/gprint/diagnomeprintrenderer.[hc] plug-ins/gprint/diagnomeprint.c
1970 plug-ins/makefile.msc : resurrection of the gnome print renderer.
1971 Kinda works (alpha quality) for export but does not print yet.
1972 With bug #158972 resolved this does even work on win32 :-)
1974 2004-11-07 Hans Breuer <hans@breuer.org>
1976 * doc/diagram.dtd : <composite> can have <composite/>,
1977 <font/> has two 'optional' atributes 'style' and 'family',
1978 these are used to store new (since 0.91) font info.
1979 With this changes non of the issues in bug #147431 remains.
1981 * plug-ins/python/otypes.py : starting to implement an
1982 'create all known object' file as ne stress test source
1983 for the dtd and Dia in general.
1985 2004-11-06 Hans Breuer <hans@breuer.org>
1987 * app/diapsrenderer.c : don't convert to locale but to
1988 "LATIN1", fixes bug #146641
1990 2004-11-06 Hans Breuer <hans@breuer.org>
1992 * app/diagram_tree.c : still no C99 everwhere ...
1993 * lib/libdia.def : update externals
1994 * plug-ins/pstricks/render_pstricks.c : #include <locale.h>
1996 * app/app_procs.[hc] : declare, use ...
1997 app/winmain.c : ... and implement dia_redirect_console().
1998 Even though newer Gtk version don't popup a console window
1999 anymore redirecting the error messages to a file in $TEMP appears
2000 to be much more reasonable than just ignoring it. Fixes bug #150777
2001 based on a patch from Steffen Macke
2003 2004-11-06 Hans Breuer <hans@breuer.org>
2005 * plug-ins/wmf/wmf.cpp plug-ins/wmf/wmf_gdi.* : added/used
2006 RoundRect() for high level renderer api implementation thus
2007 fixing bug #138744 reported by Lars Clausen
2009 2004-11-06 Hans Breuer <hans@breuer.org>
2011 * app/prefernces.c : applied patch to make showing the diagram
2012 menubar the default (advanced users know how to switch it off)
2013 Fixes bug #150706, Steffen Macke
2015 2004-11-06 Hans Breuer <hans@breuer.org>
2017 * app/commands.c app/commands.h : added view_fullscreen_callback()
2019 app/menus.c : use it (/View/Fullscreen) thus fixing bug #94090
2020 * app/disp_callbacks.c : use view_unfullscreen() for GDK_Escape
2021 ALso modified to allow handling of unmodified keys again (aren't
2022 there plenty of bug reports for this?
2024 2004-11-06 Hans Breuer <hans@breuer.org>
2026 * objects/UML/class_dialog.c : fixed casts for usage
2027 of dia_color_selector_set_color()
2029 * app/filedlg.c : pass a valid filenames to
2030 gtk_file_chooser_set_filename(), if we don't have a name
2031 don't call it at all. Gets rid of "libgnomevfs-CRITICAL **:
2032 file gnome-vfs-utils.c: line 749 (gnome_vfs_get_uri_from_local_path):
2033 assertion `local_full_path[0] == '/'' failed"
2035 2004-11-06 Lars Clausen <lars@raeder.dk>
2037 * app/properties.c (create_dialog):
2038 * app/diagram_tree_window.h:
2039 * app/diagram_tree.h (HIDDEN_TYPES_NAME):
2040 * app/diagram_tree_menu_callbacks.c:
2041 * app/diagram_tree_window.c:
2042 * app/diagram_tree_menu.c:
2043 * app/diagram_tree.c: Changed to use persistence instead of
2044 strange hacks in preferences.
2046 * lib/persistence.h:
2047 * lib/persistence.c (persistent_list_get_glist): Don't deref null
2048 pointer. New function persistent_list_remove_all, and
2049 fixed persistent_list_remove to ... work!
2051 2004-11-05 Lars Clausen <lars@raeder.dk>
2053 * app/paginate_psprint.c (diagram_print_ps): Call
2054 diagram_print_destroy on destroy rather than delete_event. That
2055 way the gtk_widget_destroy() calls cleans up properly. Fixes bug
2058 2004-11-02 Lars Clausen <lars@raeder.dk>
2060 * objects/UML/class.c (umlclass_load): Actually load the saved
2061 fonts and font sizes. Fixes bug #157016
2063 * configure.in: Require at least GTK+ 2.4.
2065 * app/filedlg.c: Changed to use 2.4 file dialog! Finally,
2066 finally, finally. Not quite bulletproof yet, and I need to figure
2067 out a minimum version of Gtk that doesn't spew warnings all over.
2069 * app/diagram.[ch]: diagram_set_filename with const filename.
2071 * app/sheets_dialog_callbacks.c
2072 (on_sheets_dialog_button_apply_clicked): Sheet menu now almost
2073 correctly recreated. Still something fishy with the sheet menu in
2074 the dialog after adding a new sheet. Probably the sheet name
2077 2004-11-01 Lars Clausen <lars@raeder.dk>
2079 * lib/widgets.[ch] (dia_dynamic_menu_reset): Harden against memory
2080 stmping. Now requires g_free here and there.
2082 * app/preferences.[ch] (prefs_data): Got rid of hidden prefs value
2083 for remembering last sheet, better off as persistent string. Must
2084 hunt down other things like that.
2086 * app/interface.c (create_sheets): Now remembers last sheet
2087 selected again. Fixes bug #157036.
2089 2004-11-01 Hans Breuer <hans@breuer.org>
2091 * plug-ins(tex_escape_string) : fixed it [g_utf8_next_char
2092 will never become NULL but only point to the next char
2093 which might indeed be \0]
2094 Use tex_escape_string() to avoid writing invalid tex,
2097 * **/* : a bunch of changes caused by trying 'make distcheck'
2098 which still fails, see Bug #144527
2100 2004-10-31 Lars Clausen <lars@raeder.dk>
2102 * plug-ins/pstricks/render_pstricks.c (export_pstricks): Avoid
2103 floating point numbers being printed with commas. Fixes bug
2106 * app/interface.c (create_sheet_dropdown_menu): New function to
2107 create the sheet menu, and also allow recreation. Still buggy and
2108 slightly prone to magic.
2110 * objects/UML/class_dialog.c
2111 (attributes_list_selection_changed_callback): Don't try to update
2112 the widgets after they're destroyed. Fixes bug #156706 (I think).
2114 * lib/widgets.c (dia_unit_spinner_new): Avoid crash on NULL
2115 adjustement. Fixes bug #154637
2117 * sheets/ER/Makefile.am (PIX):
2118 * sheets/GRAFCET/Makefile.am (PIX):
2119 * sheets/Jackson/Makefile.am (PIX):
2120 * sheets/Istar/Makefile.am (PIX):
2121 * sheets/KAOS/Makefile.am (PIX): Actually install PNG instead of
2122 XPM. Why these have their pictures in sheets rather than shapes I
2123 don't know. Fixes bug #152142.
2125 2004-10-31 Hans Breuer <hans@breuer.org>
2127 * plug-ins/pixbuf/pixbuf.c : when running non interactive
2128 Dia won't call color_init() as it assumes no display. If
2129 we have one as tested ourselve we can as well color_init()
2130 to avoid g_warnings() and produce the right collors.
2133 * app/app-procs.c : try to be a little more helpful
2134 and correct with regard to the command line options.
2135 Renamed --export-to-format to --export-filter and some
2136 other string changes
2138 2004-10-31 Hans Breuer <hans@breuer.org>
2140 * plug-ins/wmf/wmf_gdi.cpp plug-ins/wmf/wmf_gdi.h :
2141 added GetDeviceCaps() dummy implementation to make
2142 'wmf' compile on Linux, too.
2144 2004-10-31 Hans Breuer <hans@breuer.org>
2146 * plug-ins/wmf/wmf.cpp : patch from Robert Ögren <gtk@roboros.com>
2147 to finally fix the long lasting clipping issue, bug #85831
2148 Also fixed the line style issue for printing on XP and don't
2151 * plug-ins/wmf/wmf_gdi.[hc] : added ReleaseDC()
2153 * plug-ins/python/diasvg.py : filter illegal characters from <text/> section
2154 (e.g. < instead of <), fixes bug #155697 (Duncan Palmer)
2156 * plug-ins/python/pydia-error.[hc] : improvede exception handling to transfer
2157 some info from the console (soon gone on windoze) to message_error()
2158 * plug-ins/python/pydia-render.c plug-ins/python/diamodule.c : use it.
2159 Also some setlocale() hack to let Python behave as expected for LC_NUMERIC
2161 plug-ins/python/diasvg_import.py : re.compile() only once per expression
2162 and some more playing with scaling
2164 * plug-ins/python/makefile.msc : updated
2166 2004-10-30 Hans Breuer <hans@breuer.org>
2168 * shapes/Civil/civil_arrow_right.shape : removed
2169 <aspectratio type="fixed" /> thus allowing to change
2170 width and height independently, fixes #154897
2171 (Serge Robinson) by making it consistent with the
2174 2004-10-30 Hans Breuer <hans@breuer.org>
2176 * plug-ins/xfig-xfig-export.c(hasArrow) : don't crash
2177 on arrow being NULL, fixes bug #143063
2179 2004-10-30 Hans Breuer <hans@breuer.org>
2181 * lib/diagramdata.c app/diagram.c app/disp_callbacks.c
2182 plug-ins/python/pydia-diagram.c plug-ins/python/pydia-diagramdata.c :
2183 removed use of chached variable DiagramData::selected_count
2184 * lib/diagramdata.h : renamed to selected_count_private
2185 (kept for binary compatibility and sanity checks)
2186 * lib/diagramdata.c : more checks on a screwed up selection list
2188 * app/diagram.c(diagram_group_selected) : don't screw up the
2189 DiagramData::selected list, was assignment of parent_list_affected(),
2190 * lib/diagramdata.c (data_select, data_unselect) : protect against
2191 multiple selections of the same object and removement of a not selected
2192 object (apparently caused by the recently added group undo stuff)
2193 together with the above this finally fixes bug #153525
2195 * app/Makefile.am : fix ./autogen.sh ->
2196 app/Makefile.am:171: blank line following trailing backslash
2198 * app/commands.c(objects_group_callback,objects_ungroup_callback) :
2199 ddisplay_do_update_menu_sensitivity() here as well
2201 * configure.in : make the experimental state of the cairo plug-in
2204 * app/dia-props.c(diagram_properties_update_sensitivity) : don't
2205 try to update anything if we can't find an active diagram
2206 Additionally set static dialog pointer to NULL by gtk_widget_destroyed
2208 * configure.in : another attempt to fix bug #156116. If there is
2209 anyone with autotools knowledge reading this - help appreciated ;-)
2211 2004-10-30 Hans Breuer <hans@breuer.org>
2213 * objects/makefile.msc objects/UML/Makefile.am
2214 objects/UML/uml.c objects/UML/transition.c
2215 objects/UML/pixmaps/transition.xpm sheets/uml.sheet.in :
2216 Patch from Peter Allin adds statechart transitions to the UML sheet -
2217 bug #144956 - modified to not print("%s", NULL) which crashes on
2218 newer glib versions. Also added pixmap/transition.xpm to Makefile.am
2220 2004-10-30 Hans Breuer <hans@breuer.org>
2222 * doc/sheet.dtd doc/diagram.dtd : the namespace does *not*
2223 match the website anymore, i.e. sould remain unchanged.
2224 See below and lib/dia_xml.h for the reasoning
2226 * lib/libdia.def : removed dia_color_selector_get_type
2228 * lib/dia_image.c(dia_image_load) : check for pixbuf warnings
2229 (like broken PNG) and g_warning if appropriate
2231 * app/interface.c : #include "message.h"
2233 * app/diaunitspinner.hc : replaced the superfluous #if-0-juggling,
2234 used #error "Moved to lib/widgets.[hc]" instead (IMO it would be
2235 better to just move diaunitspinner to lib/ instead of polluting
2236 widgets.[hc] even more ;)
2237 * app/makefile.msc lib/libdia.def : updated
2239 * app/filedlg.c : patch from gtk@roboros.com, fixes #156224
2240 * app/app_procs.c : patch from gtk@roboros.com, fixes #156088
2242 * config.h.win32 : #define HAVE_CAIRO to let the Cairo plug-in
2243 do something useful when compiled
2245 * plug-ins/cairo/diacairo.c : added 'PNG with alpha' rendering.
2246 Also some more #ifdefed backends usage.
2248 2004-10-10 Lars Clausen <lars@raeder.dk>
2250 * lib/widgets.c: Better labels for color selector menu.
2252 * app/dia-props.c (diagram_properties_respond):
2253 * app/preferences.c (prefs_get_value_from_widget): Don't assume
2254 that a dia color selector is of type DiaColorSelector:)
2256 * lib/widgets.[ch]: Color selector changed to dynamic menu.
2258 * lib/prop_attr.c (colorprop_set_from_widget): Don't assume
2261 2004-10-09 Lars Clausen <lars@raeder.dk>
2263 * lib/diaarrowchooser.c (dia_arrow_preview_init): Slightly wider
2264 arrow preview to avoid long arrow heads flipping.
2266 * lib/arrows.[ch]: Support for getting from name to arrow type,
2267 and for listing all arrow names.
2269 * lib/widgets.[ch]: Changed arrow selector to use dynamic menu.
2271 * lib/libdia.def: Added new global functions.
2273 * lib/persistence.[ch]: Two of the persistent_list functions to
2274 return whether the item was found in the list.
2276 * app/interface.c (create_sheets): Use DiaDynamicMenu to handle
2277 the growing number of sheets.
2279 * lib/widgets.[ch]: Add DiaDynamicMenu as a generalization of the
2282 2004-10-05 Lars Clausen <lars@raeder.dk>
2284 * objects/UML/association.c: Patch from Harvey Thompson
2285 <harveyandsu@yahoo.com>: Better placement of association texts.
2287 2004-10-03 Lars Clausen <lars@raeder.dk>
2289 * lib/widgets.c (dia_font_selector_add_menu_item): Make font menu
2290 use the fonts in question. Can't set tooltips with the name since
2291 lib objects don't know the tool_tips thing, which is rather
2294 2004-09-19 Hans Breuer <hans@breuer.org>
2296 * plug-ins/xslt/*.xsl : s/apply-templates match/apply-templates select/
2297 fixes bug #148278, carlosrp@idea.com.py (Carlos Ra�l Perasso)
2299 2004-09-19 Hans Breuer <hans@breuer.org>
2301 * dia.desktop.in : string changes as proposed in bug #151822
2303 * lib/Makefile.am : remove -module from libdia_la_LDFLAGS,
2304 appearts not to be needed on Linux and breaks the build
2305 on OSX. Fixes bug #152970
2307 2004-09-18 Lars Clausen <lars@raeder.dk>
2309 * app/commands.c (view_show_all_callback): Add a bit of border
2310 around Ctrl-E'd diagram, for easier select and better view of edges.
2312 2004-09-19 Hans Breuer <hans@breuer.org>
2314 * app/Makefile.am : trying to fix the fix from 2004-02-15
2315 Overwriting AM_LDFLAGS still gave a automake warning and it
2316 also appeard to break linking against gtklibs in a differnt
2317 prefix. Use dia_LDFLAGS instead.
2319 * plug-ins/svg/svg-import.c : initialize 'end' before usage
2320 patch from dcbw@redhat.com (Dan Williams), fixes bug #150548
2322 * lib/diarenderer.c : don't try to draw lines which are so much
2323 degenerated that their point count became negative, fixes bug #148139
2325 * lib/font.c(layout_cache_equals) : don't crash on nonexisting
2326 strings (NULL from g_strdup())
2328 2004-09-10 Steffen Macke <sdteffen@web.de>
2330 * lib/libdia.def: added color_new_rgb(), focus_previous(),focus_next(),
2331 give_focus(),give_focus_to_object(),remove_focus(),reset_foci()
2332 * app/create_object.c:
2333 * app/diaunitspinner.c:
2334 * app/disp_callbacks.c:
2336 * app/modify_tool.c:
2337 * lib/prop_geomtypes.c:
2338 * lib/prop_geomtypes.h: made compile with msvc
2340 2004-09-10 Lars Clausen <lars@raeder.dk>
2342 * lib/widgets.c: Insulate conversion from outside API by adding
2343 internal function to set value. Adjustment not appropriate for
2346 * lib/prop_geomtypes.c (lengthprop_get_widget): Remove debug info
2348 2004-09-07 Lars Clausen <lars@raeder.dk>
2350 * app/diapagelayout.c: Include from widgets.c rather than
2353 2004-09-03 Lars Clausen <lars@raeder.dk>
2355 * objects/standard/box.c: Use PROP_TYPE_LENGTH for corner_radius
2356 as unit-based property testbed.
2358 * lib/prop_geomtypes.c (lengthprop_reset_widget): Implement length
2359 and fontsize widgets.
2361 * app/Makefile.am (dia_core_files):
2362 * app/diaunitspinner.h:
2363 * app/diaunitspinner.c:
2365 * lib/widgets.c (dia_unit_spinner_update): Move diaunitspinner to
2366 lib/widgets.[ch], as it's used in the properties code now.
2368 2004-08-31 Steffen Macke <sdteffen@web.de>
2370 * doc/en/usage-objects-basic.xml: Mentioning supported image formats.
2372 2004-08-30 Lars Clausen <lars@raeder.dk>
2375 * app/diagram.c (diagram_remove_all_selected): Remove debugging
2380 * app/disp_callbacks.c:
2382 * app/create_object.c:
2383 * app/textedit.[ch]:
2384 * app/modify_tool.c:
2387 * lib/focus.[ch]: Change in focus mechanism to allow highlight of
2388 current input object, multiple inputs per object, and tabbing
2391 2004-08-28 Steffen Macke <sdteffen@web.de>
2393 * makefile.msc: added bs to ALL_LINGUAS; adjusted .mo file creation to
2394 allow separate installer component "Translations"
2396 2004-08-27 Akagic Amila <bono@linux.org.ba>
2398 * configure.in: Added 'bs' to ALL_LINGUAS.
2400 2004-08-26 Steffen Macke <sdteffen@web.de>
2402 * app/makefile.msc: using /subsystem:windows again
2403 * makefile.msc: updated ALL_LINGUAS
2405 2004-08-21 Kjartan Maraas <kmaraas@gnome.org>
2407 * configure.in: Add «nb» to ALL_LINGUAS.
2409 2004-08-21 Steffen Macke <sdteffen@web.de>
2411 * plug-ins/dxf/dxf-export.c: Patch from
2412 Takeshi Hamasaki <hma@syd.odn.ne.jp>, fixes text alignment
2414 2004-08-17 Lars Clausen <lars@raeder.dk>
2417 * dia.spec (Release):
2423 2004-08-13 Ankit Patel <ankit@redhat.com>
2425 * configure.in: Added "gu" in ALL_LINGUAS.
2427 2004-08-07 Lars Clausen <lars@raeder.dk>
2433 * dia.spec (Release):
2434 * NEWS: New release 0.94-pre6
2436 2004-08-07 Lars Clausen <lars@raeder.dk>
2438 * app/highlight.c (highlight_reset_objects): Unhighlight inside
2442 * plug-ins/shape/shape-export.c: String capitalization fix from
2443 Alan Horkan <horkana@tcd.ie>
2445 * objects/UML/class.c (umlclass_show_comments_callback): Make UML
2446 Class object menu kinda work, rather than blow up. Doesn't do a
2447 proper undoable change yet.
2449 2004-08-06 Lars Clausen <lars@raeder.dk>
2451 * app/filedlg.c (file_save_as_callback): Don't remove related
2452 dialogs from the NULL diagram.
2454 2004-08-02 Lars Clausen <lars@raeder.dk>
2459 * dia.spec (Release):
2460 * NEWS: Pre5 with leak fix.
2462 * lib/font.c (dia_font_build_layout): Don't try to save an
2463 allocation of LayoutCacheItem if it breaks layout cache hash.
2464 Also make hash function correct, remove explicit height entry
2465 (it's in pfd), and make sure things are correctly unreffed.
2466 Finally fixes #148141.
2468 * lib/text.c (text_set_attributes, text_set_font): Safely unref
2469 when changing font, and actually set the new font in
2471 (text_get_attributes): Ref copied font.
2473 2004-08-01 Lars Clausen <lars@raeder.dk>
2477 * dia.spec (Release):
2480 * doc/en/dia.xml: Prerelease 4.
2482 * lib/font.c (dia_font_build_layout): Better comparision and
2483 freeing of font cache.
2485 2004-07-31 Lars Clausen <lars@raeder.dk>
2487 * lib/font.c (dia_font_build_layout): Faster update to avoid
2490 * app/app_procs.c: Fix from Tom Parker <palfrey@bits.bris.ac.uk>:
2491 Correctly initialize export filter variable.
2493 2004-07-25 Lars Clausen <lars@raeder.dk>
2495 * dia.spec (Release):
2500 * doc/pl/dia.xml: Pre3 coming out.
2502 * lib/diarenderer.c (draw_polygon):
2503 * plug-ins/dxf/dxf-export.c (export_dxf): Two fixes by Takeshi
2504 Hamasaki <hma@syd.odn.ne.jp>: Correct header to be a 0 (zero)
2505 rather than O (letter), and assert num_points > 1 rather than the
2508 * app/recent_files.c:
2511 * app/app_procs.c: Patch from Vitaly Lipatov <lav@altlinux.ru>:
2512 Make filenames conform to filesystem encoding.
2514 * RDP/.cvsignore: Added standard ignore.
2516 * shapes/network/Makefile.am (SHAPES): Use PNG instead of XPM for
2517 last entry patch-panel, too.
2520 * shapes/Circuit/*.png:
2521 * shapes/Civil/*.png:
2522 * shapes/Contact/*.png:
2523 * shapes/Electric/*.png:
2525 * shapes/Pneumatic/*.png:
2527 * shapes/flowchart/*.png:
2528 * shapes/jigsaw/*.png:
2529 * shapes/network/*.png:
2530 * shapes/sybase/*.png:
2532 * dia_gnome_icon_large.png:
2533 * doc/pl/graphics/*.png: Set -kb for PNGs.
2535 * sheets/{ER,GRAFCET,Istar,Jackson,KAOS}: Added .png files.
2537 2004-07-22 Lars Clausen <lars@raeder.dk>
2543 * dia.spec (Release):
2544 * configure.in: Update to version 0.94-pre2.
2546 * app/load_save.c (diagram_data_write_doc): Use new namespace
2549 * lib/object.h (OBJECT_COMMON_PROPERTIES): Remove 'Dia' from
2550 hidden objects properties.
2552 * objects/standard/line.c: Remove halffinished line gap box from
2555 * app/paginate_psprint.c:
2556 * app/filedlg.c: Patch from kimmidi@novell.com (Kiran Kumar
2557 Immidi): Close export and print dialog with diagram as well.
2560 * lib/diaarrowchooser.[ch]: Patch from pborelli@katamail.com (paolo
2561 borelli): Remove deprecated stuff (#137693)
2563 * app/dia-props.c (create_diagram_properties_dialog): Patch from
2564 kimmidi@novell.com (Kiran Kumar Immidi): Close properties dialog
2567 2004-07-21 Ray Strode <rstrode@redhat.com>
2569 * dia/dia.desktop.in: Add MimeType line to desktop file
2572 2004-07-18 Hans Breuer <hans@breuer.org>
2574 * shapes/(Circuit|Contatct|MSE|network|Pneumatic|SDL|sybase)/Makefile.am
2575 sheets/UML/*.png : icons in png format
2576 Partial fixup of stuff broken with the following comment:
2577 "7 days : xpm->png, namespace fix, first rotation bits."
2579 * app/load_save.c(read_objects) : don't add objects to the layer.
2580 This function is called recursively and only the topmost objects
2581 belong in the layers object list. Fixes bug #145417 and is the
2582 the real fix for bug #142480
2584 * app/app_procs.c : make the --size hack even uglier, but work again
2586 * lib/dia_dirs.c(dia_get_absolute_filename) : must not free()
2587 but g_free() what is returned by g_build_filename()
2589 * objects/custom/custom_object.c(custom_destroy) : handle all enum
2590 values in switch to get rid of the warning
2592 * objects/custom/shape_info.c : use g_ascii_strtod(), get rid
2593 of setlocale()/strtod()
2594 * lib/dia_svg.c : dito
2595 * lib/dia_xml.c : almost
2597 * plug-ins/python/group_props.py : use the string representation of
2598 value to ensure "unique values". If the strings would not be different
2599 the user cann't see the difference either
2601 2004-07-17 Lars Clausen <lars@raeder.dk>
2603 * lib/persistence.h: Have "void" in prototypes (#142663)
2605 * lib/widgets.c (dia_font_selector_init): Better string handling
2608 * lib/persistence.c (persistence_save_type): Small fixes (#142663)
2610 * objects/standard/image.c (image_load): Use path of diagram
2611 rather than running directory as base for image file place.
2613 * doc/{diagram,sheet}.dtd: Move DTD namespace to new site, and
2616 * app/disp_callbacks.c (ddisplay_canvas_events): Patch from
2617 Ambrose Li <a.c.li@ieee.org>: Better IM context handling.
2619 * Re-added new sample diagrams binarily.
2621 2004-07-17 Sagar Rastogi <rastogi@students.iiit.net>
2623 * app/disp_callbacks.c: Fixed #144962 (also in KNOWN_BUGS),
2624 Disabled keyboard accels when dragging an object.
2626 2004-07-14 Lars Clausen <lars@raeder.dk>
2628 * app/grid.c (snap_to_grid): Use diagrams grid setting to
2629 determine hex grid snap.
2631 * doc/pl/Makefile.am: Avoid error based on backslash in comment.
2633 * app/interface.h: Avoid multiply defined symbols (#147396)
2635 2004-07-10 Lars Clausen <lars@raeder.dk>
2637 * app/sheets_dialog_callbacks.c (write_user_sheet):
2638 * lib/sheet.c (load_register_sheet): Don't introduce double
2639 slashes in namespace.
2641 * lib/dia_xml.h (DIA_XML_NAME_SPACE_BASE): Keep consistent with
2642 old diagrams, or XSLT will barf all over.
2644 * shapes/RDP/place.shape:
2645 * shapes/RDP/transition.shape:
2646 * shapes/RDP/Makefile.am: Added .png entries to SHAPES and changed
2647 shapes to use those.
2649 2004-07-07 Lars Clausen <lars@raeder.dk>
2652 * doc/{en,pl}/dia.xml:
2655 * NEWS: First prerelease of version 0.94. Now with release
2656 versions in a branch and main devel in the trunk.
2658 2004-07-05 Hans Breuer <hans@breuer.org>
2660 * */*.[hc] */*/*.c : a bunch of changes to make Dia compile with
2661 -std=c89. Mostly //-comments and M_PI -> G_PI
2662 [Istar, Jackson, KAOS were removed from build cause they
2663 simply have *too* much C++ comments ;]
2664 * object/UML/association.c : use g_strdup() not plain strdup()
2665 * app/paginate_psprint.c : avoid storage size of `pipe_action'
2666 isn't known with more portable signal code
2668 * app/app_procs.c : don't call gtk_init() if just --version
2669 is requested (bug #144321, Vladimir Kondratiev)
2671 * lib/prop_attr.c(fontprop_set_from_offset) : only unref
2672 DiaFont* if not NULL
2673 * objects/UML/class.c : moved fill_in_fontdata() to
2674 umlclass_load() to avoid such trouble, though unsure if
2675 this really is an improvement...
2677 * shapes/network/makefile.am : patch-panel added here too
2679 2004-07-04 Hans Breuer <hans@breuer.org>
2681 * sheets/network.sheet.in shapes/network/patch-panel.xpm
2682 shapes/network/patch-panel.xpm : added 24-Port-Patch-Panel
2683 fixes bug #136629, James McDonald
2685 2004-07-04 Hans Breuer <hans@breuer.org>
2687 * lib/persistence.c app/load_save.c app/sheet_dialog_callbacks.c
2688 lib/object_defaults.c : revert changing of Dia's XML namespace
2689 * lib/dia_xml.h : #define DIA_XML_NAME_SPACE_BASE with a comment
2690 about its purpose and relation to real world urls.
2692 * lib/plug-ins.h : increment DIA_PLUGIN_API_VERSION and
2693 added comment about when to do so
2694 [Should have been long time ago and probably multiple times
2695 to avoid crashing on older plug-ins]
2696 * RELEASE-PROCESS : mention DIA_PLUGIN_API_VERSION
2697 * plug-ins/xslt/xslt.c : use DIA_PLUGIN_CHECK_INIT
2699 * lib/object.c objects/UML/class.c : there are still compilers not
2700 supporting C99 and other GCCISMs like allocating dynamic sized arrays
2702 * objects/UML/class.h : there is a differnce between a list pointer
2703 and a list pointer pointer. We and GLib want the former.
2705 * plug-ins/pixbuf/pixbuf.c : don't use app_is_interactive () to detect
2706 if Gtk is initialized. Using gdk_display_get_default () avoids the
2707 app/* dependency and is also closer to the requirements of the
2710 * plug-ins/cairo/diacairo.c : initialize "unique name" field. Also
2711 some #ifdefed support for Cairo backends not public available yet.
2713 * plug-ins/wmf/wmf.cpp : finally do extended linestyles if the
2714 windoze platform supports them. This should fix bug #109818, at
2715 least for the majority running NT or above ...
2716 * plug-ins/wmf/wmf_gdi.[hc] : portability stuff for the above
2718 * objects/makefile.msc : build Istar, Jackson and Kaos
2720 * objects/UML/class.c(umlclass_load) : don't wrap by default to
2721 keep old diagrams as they were - instead of this nice new effect ;-)
2722 Also make "wrap_operations" PROP_TYPE_BOOL in PropDescriptions
2724 * objects/UML/class.c : mark for translation _("Wrap ...
2726 * objects/UML/class.c : more correct types, also some default properties
2727 dialog pages adjustment (triggering a bug in lib/prop_widgets.c ?;)
2729 * objects/UML/activity.c : removed a leftover from the
2730 use-localization-for-font-substitution-hack
2732 * shapes/ChemEng shapes/Cybernetic shapes/Map/Isometric :
2733 'cvs admin -kb *.png' PNG files should already be *added* as binary,
2734 otherwise they are not readable on line-end-converting-platforms
2736 * plug-ins/python/use g_new0(Dia<Im|Ex>portFiler), avoids crashing
2737 filter_get_by_name()
2739 * plug-ins/python/pydia-property.c : some more g_warnings for
2740 not implemented conversions
2742 * plug-ins/python/group_props.py : ensure unique property values
2743 at the right place. Now something like :
2744 - load an old UML class diagram
2745 - change one of the classes to wrap operations
2746 - select all classes (/Select/Same Type)
2747 - /Dialogs/Group Properties : check wrap_operations, select '1'
2748 - Ok, works like a charm :-)
2750 2004-07-04 Lars Clausen <lars@raeder.dk>
2752 * lib/diagdkrenderer.c (draw_string): Don't unref NULL
2755 2004-07-03 Lars Clausen <lars@raeder.dk>
2757 * app/app_procs.c (do_convert): Two patches from Vitaly Lipatov
2758 <LAV@VL3143.spb.edu>: Fixes console output problems and some
2759 interactiveness problems.
2761 2004-07-02 Lars Clausen <lars@reader.dk>
2763 * plug-ins/pixbuf/pixbuf.c (dia_plugin_init): Don't load if the
2764 app isn't interactive.
2766 2004-07-01 Lars Clausen <lars@raeder.dk>
2768 * plug-ins/cairo/diacairo.c: Add init of last field of filter
2769 struct to remove crash.
2771 * sheets/Makefile.am (sheet_in_files):
2772 * shapes/Makefile.am:
2773 * sheets/ChemEng.sheet.in:
2774 * shapes/ChemEng/Makefile.am:
2776 New sheet from "Federico Zenith" <zenith@chemeng.ntnu.no>:
2777 Chemical engineering shapes.
2779 * app/Makefile.am (run_dia.sh$(EXEEXT)): Changed $* to $@ to allow
2780 multiple arguments when using devel script.
2782 * app/display.c (new_display):
2784 * lib/diagramdata.c (new_diagram_data):
2785 * lib/diagramdata.h:
2786 * app/preferences.h:
2787 * app/preferences.c:
2790 * lib/diagramdata.c (new_diagram_data): Patch from Peter Poulsen
2791 <peter_poulsen@stofanet.dk>: Add hexagonal grid!
2794 * doc/pl/authors.xml:
2795 * doc/en/authors.xml:
2796 * lib/object_defaults.c (dia_object_defaults_save):
2797 * readme.win32 (BTW):
2798 * lib/persistence.c (persistence_save):
2799 * app/load_save.c (diagram_data_write_doc):
2800 * app/commands.c (help_about_callback):
2801 * README: Fix links to home page.
2804 * app/load_save.c (diagram_data_load):
2805 * lib/prop_text.c (stringprop_load): Avoid NULL strings when
2806 loading, and guard against them when fonting.
2808 * lib/diarenderer.c (draw_rounded_polyline): Patch from
2809 anthonym@overture.com: Make limited rounding a corner-specific
2810 rendering-only thing.
2812 2004-06-30 Lars Clausen <lars@raeder.dk>
2814 * lib/font.c (dia_font_build_layout): Return to 0.93.1 font size
2815 adjustment: If you can't fix it, at least don't change it.
2817 * objects/SADT/arrow.c (sadtarrow_draw): Use new rounded arrow
2818 code instead of individual code in here.
2820 2004-06-29 Lars Clausen <lars@raeder.dk>
2822 * objects/UML/association.c: Patch from Kiran
2823 Kumar Immidi <kimmidi@novell.com>: Fix bounding box for line end
2828 * lib/diarenderer.c (draw_rounded_polyline):
2829 * objects/standard/polyline.c (polyline_draw):
2830 * objects/standard/zigzagline.c (zigzagline_draw):
2831 Patch from anthonym@overture.com: Add rounded polylines.
2833 2004-06-27 Lars Clausen <lars@raeder.dk>
2835 * lib/font.c (dia_font_new_from_style): Initialize legacy name.
2837 * lib/widgets.c (dia_font_selector_get_family_from_name): Don't
2838 free family list before taking out the pointer we need. Also set
2839 the entry_nr correctly so we get the menu set up right.
2841 2004-06-23 Lars Clausen <lars@raeder.dk>
2843 * lib/widgets.c (dia_toggle_button_new_with_images): Sink the
2844 images at the right place.
2846 * objects/Istar/actor.c
2847 * objects/Istar/goal.c
2848 * objects/Istar/istar.c
2849 * objects/Istar/istar.h
2850 * objects/Istar/link.c
2851 * objects/Istar/other.c
2852 * objects/Jackson/domain.c
2853 * objects/Jackson/jackson.c
2854 * objects/Jackson/jackson.h
2855 * objects/Jackson/phenomenon.c
2856 * objects/Jackson/requirement.c
2857 * objects/KAOS/goal.c
2858 * objects/KAOS/kaos.c
2859 * objects/KAOS/kaos.h
2860 * objects/KAOS/metaandorrel.c
2861 * objects/KAOS/metabinrel.c
2862 * objects/KAOS/other.c: Patch from Patch from Christophe Ponsard
2863 <cp@cetic.be>: Fix instability issues caused by not returning NULL
2864 in *_move_handle and *_move. Also improved the headers with
2865 correct (c) information.
2867 2004-06-22 Lars Clausen <lars@raeder.dk>
2869 * objects/KAOS/goal.c:
2870 * objects/KAOS/other.c:
2871 * objects/Istar/actor.c:
2872 * objects/Istar/goal.c:
2873 * objects/Istar/other.c:
2874 * objects/Jackson/domain.c:
2875 * objects/Jackson/phenomenon.c: Patch from Christophe Ponsard
2876 <cp@cetic.be>: Fix resize issues.
2878 * app/filedlg.c (file_dialog_hide): Patch from Kiran
2879 Kumar Immidi <kimmidi@novell.com>: Check for null when removing
2880 related dialog. #129520.
2882 * app/dia-props.c (diagram_properties_show): Patch from Kiran
2883 Kumar Immidi <kimmidi@novell.com>: Make sure properties dialog is
2884 a child of its diagram. #129520.
2886 * objects/UML/association.c (association_load): Patch from Kiran
2887 Kumar Immidi <kimmidi@novell.com>: Update positions properly for
2888 text placement. #118313.
2890 2004-06-17 Lars Clausen <lars@raeder.dk>
2892 * objects/KAOS/Makefile.am: Add pixmaps/goal.xpm to EXTRA_DIST
2894 * Makefile.am: Make THANKS only be generated by maintainers.
2896 * doc/pl/Makefile.am: Removed usage+objects+basic.xml from
2899 * configure.in: Added three missing Makefiles.
2903 Patch from shuveb@yahoo.com (Shuveb Hussain): Remove
2904 diagram-related (save) dialog when closing diagram. To be
2905 extended to other dialogs.
2907 * doc/pl/dia.xml: Removed reference to objects-basic. (#144527)
2909 * samples/Istar.dia:
2910 * samples/Jackson.dia:
2912 * sheets/Istar.sheet.in:
2913 * sheets/Jackson.sheet.in:
2914 * sheets/KAOS.sheet.in:
2919 * objects/Jackson/*:
2922 * objects/Makefile.am (SUBDIRS):
2923 * sheets/Makefile.am (SUBDIRS):
2924 * samples/Makefile.am: Additions from Christophe Ponsard
2925 <cp@cetic.be>: Jackson, I* and KAOS diagram support. Needs a bit
2928 2004-06-12 Lars Clausen <lars@raeder.dk>
2931 * lib/prop_geomtypes.[ch]: Preparation for selectable units.
2933 * lib/font.h: Toning down comments a bit:)
2935 * lib/font.c (dia_font_build_layout): Playing around with DPI
2937 * objects/UML/association.c (association_load): Avoid crashes on
2940 * objects/UML/association.c: Patch from kimmidi@novell.com:
2941 Improve placement of labels when vertical. Part fix of #118313
2943 * lib/object.c (dia_object_is_selected): Grouped objects are not
2944 selected, only the group itself. Thus, don't crash when grouping
2947 * objects/UML/association.c: Patch from kimmidi@novell.com: Agree
2948 on how to represent empty strings. Fixes #143639.
2950 * lib/object.c (dia_object_is_selected): Added comment answer.
2952 2004-06-12 Hans Breuer <hans@breuer.org>
2954 * lib/diagramdata.c lib/object.c : deal with grouped objects
2955 not knowing their parent_layer, i.e. avoid crashing in
2956 dia_object_is_selected() via group_draw() [ Triggered by
2957 playing with the Visio generated svg from bug #143455 ]
2959 * plug-ins/python/diasvg_import.py : started to implement
2960 transformation="translate(...)" and <style/> handling. Also
2961 use some other completely bogus values for em/ex scaling
2963 2004-06-08 Lars Clausen <lars@raeder.dk>
2965 * plug-ins/cairo/.cvsignore: CVS-ignore generated makefiles.
2967 2004-06-07 Lars Clausen <lars@raeder.dk>
2969 * app/layer_dialog.c (layer_dialog_set_diagram):
2970 * app/display.c: Layer widget crash more properly dealt with in
2973 * app/display.c (ddisplay_flush): Fixed crash when closing: Layer
2974 widget deselect was called during destroy, but called
2975 ddisplay_flush, leading to a new display timeout after renderer
2978 * lib/widgets.c (dia_toggle_button_destroy):
2979 * app/recent_files.c (recent_file_menuitem_create):
2980 * lib/persistence.c (persistence_save_list):
2981 * app/commands.c (edit_delete_callback):
2982 * lib/object_defaults.c (dia_object_defaults_save):
2983 * lib/parent.c (parent_list_affected_hierarchy): Killed leaks
2986 * lib/widgets.c (dia_toggle_button_new_with_images): Remove
2989 * lib/diagramdata.c (new_layer): Initialize connectibility.
2991 * app/display.c (ddisplay_obj_render):
2992 * app/diagram.c (diagram_find_closest_connectionpoint): Take
2993 connectibility into account.
2995 * app/layer_dialog.h (struct _DiaLayerWidget):
2996 * app/layer_dialog.c:
2997 Connectible toggle updates, now works fairly well.
2999 * app/select.c (select_transitive_callback): Make sure we're only
3000 selecting in the same layer.
3002 2004-06-04 Lars Clausen <lars@raeder.dk>
3004 * app/pixmaps/Makefile.am: Also install connectable images.
3006 * app/layer_dialog.c (dia_layer_update_from_layer): Initially set
3007 layer toggles from layer itself. Also update diagram correctly
3008 for visibility. Still need updates for connectivity behaviour.
3010 2004-06-03 Hans Breuer <hans@breuer.org>
3012 * plug-ins/wpg/wpg.c(draw_image) : take rowstride into account
3014 * lib/diagdkrenderer.c(set_linejoin) : actually set
3015 join_style not cap_style
3016 (set_dashes): with the correct number of dashes
3018 2004-06-03 Lars Clausen <lars@raeder.dk>
3020 * app/modify_tool.c (click_select_object):
3021 * lib/text.c (text_set_cursor):
3022 * app/disp_callbacks.c (ddisplay_canvas_events): Turn off text stuff.
3024 2004-05-31 Hans Breuer <hans@breuer.org>
3026 * lib/object_defaults.c : don't 'failed to load external
3027 entity "NULL"' when the defaults file does not exist,
3028 bug #108764 [again: somehow this got lost]
3030 * app/paginate_gdiprint.cpp : don guess the WMF export
3031 filter used for printing but find it by unique name.
3032 Also update for export_func renaming
3033 * plug-ins/wmf/wmf.cpp plug-ins/cairo/diacairo.c
3034 provide some unique names
3036 * app/commands.c app/disp_callbacks.c app/paginate_psprint.c
3037 app/select.c : fix bug #140789 by always checking if there
3038 still is an active diagram before accessing it
3040 * app/defaults.c app/properties.c : user visible string should
3041 not read DiaObject but stay as "Object defaults/properties"
3043 * app/app_procs.c : reduce the hack to pass --size to the
3044 export via user_data to the only filter supporting it. Other
3045 filters would crash on it or do worse ;(
3047 * plug-ins/wpg/wpg.c : not every 'Object' is a DiaObject ...
3049 2004-05-31 Lars Clausen <lars@raeder.dk>
3052 * lib/widgets.c: Use GtkType rather than guint for
3053 dia_size_selector_get_type.
3055 2004-05-29 Lars Clausen <lars@raeder.dk>
3057 * app/diapsrenderer.c (fill_bezier): Use even-odd winding rule so
3058 that it matches the screen output for selfoverlapping polygons and
3061 2004-05-28 Hans Breuer <hans@breuer.org>
3063 * app/load_save.c : ignore empty groups on load and don't
3064 write empty groups while saving
3065 * lib/group.h (group_update_data): there is no first object
3066 in empty groups and they probably don't need an update at
3067 all. Maybe the shold just not exist ?
3069 * plug-ins/cairo/diacairo.c : fixed arc drawing, right aligned
3070 text positioning as well as drawing of images with alpha
3072 * plug-ins/wmf/wmf.cpp : include windows.h if eiher
3073 HAVE_WINDOWS_H or G_OS_WIN32 is defined
3075 2004-05-28 Lars Clausen <lars@raeder.dk>
3077 * app/pixmaps/Makefile.am (imagedir):
3078 * app/pixmaps/visible.png:
3079 * app/pixmaps/visible-empty.png: New images for the visibility
3080 button in the layer dialog.
3082 * lib/widgets.c (dia_toggle_button_new_with_images): Remove even
3083 more border around the button. Still some left when hovering the
3084 mouse or selecting, and the grey background is annoying.
3086 * app/layer_dialog.c (dia_layer_widget_init): Use real buttons for
3087 visibility connector.
3089 2004-05-26 Lars Clausen <lars@raeder.dk>
3091 * configure.in (DB2MAN): Better check for db2man docbook place.
3092 Need something even better.
3094 * doc/en/Makefile.am (dia.1): Conditional on having DB2MAN.
3096 * lib/widgets.c (dia_toggle_button_new_with_images): Remove
3097 extraeneous borders.
3100 * dia_gnome_icon.png:
3101 * samples/render-test.dia: Rendering test from Hans.
3103 2004-05-24 Hans Breuer <hans@breuer.org>
3105 * lib/filter.h : renamed DiaExportFilter::export to
3106 _DiaExportFilter::export_func (should not use c++
3107 keywords (g++ specifc ?) in headers. Same for import
3108 out of pure symmetry reasons
3109 * plug-ins/shape/shape-export.c plug-ins/python/diamodule.c
3110 app/diagram.c app/filedlg.c : reflect functions renaming
3112 * plug-ins/wmf/Makefile.am : finally compile the wmf plug-in
3113 under *NIX, too. [If you want something done, do it yourself ;-]
3114 * plug-ins/wmf/wmf_gdi.[hc] : some more stuff to catch up
3115 with wmf.cpp's GDI usage
3116 * plug-ins/wmf/wmf.cpp : compile even without HAVE_WINDOWS_H,
3117 [For the moment it does not much more than compiling, i.e.
3118 the produced WMF files are invalid, if not created on windoze.]
3120 * configure.in : check for C++ to compile plug-in/wmf
3122 * objects/GRAFCET/boolequation.c : looks like fixing
3123 another leak (untested)
3125 2004-05-23 Hans Breuer <hans@breuer.org>
3127 * acinclude.m4 : another attempt to fix
3128 bug #142032 (still not sure it's the right one,
3129 but works for me(tm), which the other does not ;)
3131 * plug-ins/cairo/Makefile.am
3132 plug-ins/Makefile.am
3133 configure.in : support building the new cairo
3134 plug-in, if given --with-cairo and the cairo
3135 packages are found, see http://cairographics.org
3136 and also http://hans.breuer.org/dia/dia-cairo.htm
3138 * plug-ins/cairo/diacairo.c : make it compile
3139 with DEBUG_CAIRO defined, too.
3141 2004-05-23 Hans Breuer <hans@breuer.org>
3143 * plug-ins/cairo/Makefile.am : initial attempt
3145 * plug-ins/cairo/diacairo.c : a new exporter based on
3146 Cairo http://cairographics.org rendering api. Currently
3147 it just can export PNG and PS but one day it might get
3148 PDF and more almost for free. [It is not yet included
3149 in the *NIX build system due to lack of auto* magic.]
3151 * plug-ins/pixbuf/pixbuf.c : always register the export
3152 filter part. If the user does not want it it can be
3153 disabled by File/Plugins or explicit selected the other
3154 one in the Export Formats List
3156 2004-05-23 Hans Breuer <hans@breuer.org>
3158 * lib/dia_dirs.c : #include "message.h"
3159 lib/widgets.c : #include "persistence.h"
3160 lib/widgets.c(dia_font_selector_init) : still not C99
3161 lib/persitence.h : removed unimplemented prototype
3162 lib/persitence.c(persistence_load_list) : still not C99
3163 app/create_object.c : #include "highlight.h"
3164 app/layer_dialog.c : #include "widgets.h"
3165 app/modify_tool.c : prototype functions before usage
3166 lib/object.c : if there is G_END_DECLS there _must_ be G_BEGIN_DECLS
3167 [otherwise one will have a hard time to make C++ compile ;]
3168 lib/dia_dirs.c : #include "message.h"
3169 lib/font.c : #include <gtk/gtk.h> /* just for gtk_get_default_language() */
3172 * plug-ins/xfig/xfig-import.c : dont initialize an int with
3175 * lib/dia_image.[hc](dia_image_rgba_data) : make it work
3176 as documented, i.e. _not_ copying. Plugs a memory leak in
3177 lib/dialibartrenderer.c
3179 * lib/diarenderer.c(*_rounded_rect) : renamed parameter rounding
3180 to radius to more of a clue what it is representing
3182 * */makefile.msc lib/libdia.def : updated
3184 ChangeLog : fixed some date copy&paste bug
3186 2004-05-21 Lars Clausen <lars@raeder.dk>
3188 * NEWS: Release tag.
3190 * config.h.win32: Now 0.93+cvs
3192 * RELEASE-PROCESS: Update with new info about release branches.
3194 * Many files: Moved devel branch back into main trunk. Should
3195 have been done in the opposite way, with release in a branch.
3197 2004-05-20 Hans Breuer <hans@breuer.org>
3199 * acinclude.m4 : disable setting of PYTHON_PREFIX
3200 and PYTHON_EXEC_PREFIX from prefix and exec_prefix
3201 as workaround for bug #142032 (the real fix would
3202 involve some auto* knowledge which I don't have
3205 * plug-ins/python/Makefile.am : more python
3206 plug-ins to be installed (especially svg import,
3207 but also 'simple scale' should be useable
3210 * plug-ins/python/scascale.py : update display
3211 after modifying selected objects
3213 * plug-ins/python/diasvg_import.py : initialize
3216 2004-05-18 Lars Clausen <lars@raeder.dk>
3218 * app/diagram_tree.c (select_node): Use
3219 diagram_remove_all_selected to kill selected list.
3221 * lib/font.c: Set language when using a different context.
3223 * plug-ins/svg/svg-import.c: Changed isdigit to g_ascii_isdigit
3224 and removed ctype include (#142661).
3226 * lib/paper.c (get_default_paper): Changed isalnum to
3227 g_ascii_isalnum and removed ctype include. (#142661)
3229 * objects/custom/shape_info.c:
3231 * app/diaunitspinner.c: Removed unrequired ctype.h include. (#142661)
3233 2004-05-17 Hans Breuer <hans@breuer.org>
3235 * lib/object_defaults.c : don't 'failed to load external
3236 entity "NULL"' when the defaults file does not exist,
3239 * lib/widgets.c : fixed possible menu leak
3240 * lib/dialinechooser.c lib/diaarrowchooser.c : finally
3241 avoid finalization of floating references, bug #142307
3243 2004-05-15 Lars Clausen <lars@raeder.dk>
3245 * plug-ins/xfig/xfig-import.c: Handle default fonts and illegal
3246 fonts better (#138655)
3248 * doc/pl/Makefile.am (EXTRA_DIST): Also include all xml files here.
3250 * doc/en/Makefile.am (EXTRA_DIST): Including all required files in
3251 dist, xml, dbk and man. Also the sub-xml files. (#142098)
3253 * Makefile.am (CLEANFILES):
3254 * sheets/Makefile.am (EXTRA_DIST): Not distributing the
3255 translation-reports, they are generated automagically. THANKS
3256 file not considered locally generated, so is not locally
3259 * lib/widgets.[ch]: Changing dia_arrow_selector to be a gobject.
3261 * lib/diaarrowchooser.c:
3262 * lib/prop_attr.c: Fixing naming for arrowselector.
3264 * objects/UML/object.c (objet_type): Oops, little too aggressive
3265 with the DiaObject thing here:)
3267 * objects/custom/shape_info.c (parse_svg_node): Use
3268 g_ascii_isdigit instead of isdigit.
3270 * app/diaunitspinner.c (dia_unit_spinner_update):
3271 * lib/dia_svg.c (dia_svg_parse_style): Using g_ascii_isspace
3272 instead of isspace avoids char subscript issues (#142467).
3274 * lib/persistence.c (persistence_get_string): Fixed 0/NULL/FALSE
3275 return value conflict.
3277 * app/display.c (ddisplay_update_handler): Fixed 0/FALSE return
3278 value conflict. Also improved signature. (#142466)
3280 * app/load_save.c (diagram_data_load): Don't overwrite the list in
3281 the layer, but instead free the returned list (#142480)
3283 * app/pixmaps/Makefile.am (IMAGES): Added png's to be installed
3284 for the grid widget.
3286 * doc/en/Makefile.am (dia.1): Make proper rule for making dia.1
3288 * configure.in (DB2MAN): Currently just check for two known
3289 positions for the docbook xsl. Don't know a generic way to find
3290 this info. Ought to add an option for it, but then it's really
3291 only required for maintainers, I think. Maybe.
3293 * app/display.c (update_snap_grid_status): Remove nasty image
3294 toggling code not require for grid toggle button anymore. (#142475)
3296 * app/interface.c (create_display_shell): Use
3297 dia_toggle_button_new_with_images to create grid toggle button.
3298 Much nicer. (#142475)
3300 * app/menus.c (menus_initialize_updatable_items): Free the string
3301 along with the GString. (#142475)
3303 * lib/intl.c (free_alias_table): Free hash table entries in a
3304 proper way, avoiding duplicate frees. (#142475)
3306 * lib/object_defaults.c (_obj_store): Only free layer_name if it's
3307 not put in the hash (avoid reading freed memory). (#142476)
3309 * lib/widgets.c (dia_font_selector_set_styles): Stop leaking
3311 (dia_font_selector_get_family_from_name): Stop leaking
3314 2004-05-14 Lars Clausen <lars@raeder.dk>
3316 * Transfer of fixes from release branch. Not the prettiest way to
3317 do it, this should be done during release, not afterwards.
3319 Tomasz Kłoczko <kloczek@pld.org.pl>:
3321 * acinclude.m4: minor fixes (added missing [] quotation).
3323 Lars Clausen <lars@raeder.dk>:
3325 * app/interface.c (toolbox_delete):
3326 * app/app_procs.[ch] (app_exit): Stop the delete event if the user
3327 cancels quit due to modified diagrams.
3329 Samúel Jón Gunnarsson <sammi@techattack.nu>:
3331 * is.po: Added "is" to ALL_LINGUAS.
3333 Lars Clausen <lars@raeder.dk>:
3335 * dia.spec: Updated as per mail from Zhang Lin-bo <zlb@lsec.cc.ac.cn>
3337 Hans Breuer <hans@breuer.org>:
3339 * lib/makefile.msc : removed -DGTK_DISABLE_DEPRECATED; the
3340 burden should be shared and not be win32 only ;) [this time
3341 build was broken by adding GtkType to widget.h]
3343 * objects/standard/box.c objects/standard/ellipse.c :
3344 for code clarification compare (obj->aspect != FREE_ASPECT)
3345 and not (obj->aspect); no binary effect.
3347 * app/paginate_psprint.c : don't leak printcmd
3349 * objects/standard/box.c objects/standard/ellipse.c : fix gccisms :
3350 standard C requires variables to be declared at the beginning of
3351 a block, also there is no fabsf() with msvc
3353 * app/win32print.[ch] : make win32_printer_close() return an
3354 error code, it's used as pclose replacement
3356 Lars Clausen <lars@raeder.dk>:
3358 * RELEASE-PROCESS: Mention PATCH keyword in release process.
3360 2004-05-06 Lars Clausen <lars@raeder.dk>
3362 * lib/widgets.[ch]: Utility function to make a widget with two
3363 images (selected and non-selected).
3365 * lib/diagramdata.h: Renamed selectable to connectable.
3366 Selectable will come later.
3369 * app/pixmaps/Makefile.am (imagedir):
3370 * app/pixmaps/connectable.png:
3371 * app/pixmaps/connectable-empty.png: New images for the
3372 selectability widget. Proper installation, too.
3374 * app/layer_dialog.[ch]: Adding new button showing connectability
3375 status. Much cleaner way of doing the button, but some problems
3376 with the item getting selected
3378 * lib/widgets.h: Reminder of how to install images for use by
3379 dia_get_image_from_file.
3381 2004-05-05 Lars Clausen <lars@raeder.dk>
3383 * objects/network/Makefile.am:
3384 * objects/network/pixmaps/radiocell.xpm:
3385 * objects/network/pixmaps/basestation.xpm:
3386 * objects/network/network.c:
3387 * objects/network/basestation.c:
3388 * objects/network/radiocell.c:
3389 Patch from W. Borgert <debacle@debian.org>: Radio cell and base
3392 * lib/arrows.[ch]: Patch from Anthony <anthonym@overture.com>:
3393 Backslash arrow head.
3395 * app/pagesetup.c (pagesetup_respond): Do not free ps twice.
3396 Notify takes care. Should maybe use that more.
3398 * lib/diagramdata.[ch]:
3399 * app/filedlg.c (file_export_ok_callback):
3400 * app/diagram.c (diagram_finalize): DiagramData now a GObject.
3402 * app/dia-props.c (diagram_properties_respond):
3403 * app/diagram.c (diagram_set_modified):
3405 * app/disp_callbacks.c:
3407 * app/load_save.c (diagram_save):
3408 Better handling of undo and modified status -- only diagram
3409 properties and page setup explicitly set modified status, all
3410 other important changes should be done through the undo stack
3413 2004-05-04 Lars Clausen <lars@raeder.dk>
3415 * app/app_procs.c (app_init): Consistently open a new diagram if
3416 none specified, with standard name Diagram1.dia.
3418 * app/layer_dialog.c:
3419 * app/diagram.c (diagram_finalize):
3420 * app/commands.c (dialogs_layers_callback):
3421 * app/filedlg.c (file_export_ok_callback):
3422 * app/app_procs.c (app_exit):
3423 * app/display.c (display_set_active):
3424 * app/interface.c (dia_dnd_file_drag_data_received):
3425 * app/recent_files.c:
3426 Undone attempt at unifying the multi-diagram windows (like
3427 layers). It broke the layers and didn't make much sense for the
3428 diagram properties dialog anyway.
3432 * lib/diagramdata.c:
3434 * lib/object.c: Undone attempts at GObject'ifying DiaObject -- too
3435 many subclasses have to be fixed. Fixed remaining
3436 Object/ObjectType renaming issues.
3438 2004-05-02 Lars Clausen <lars@raeder.dk>
3440 * lib/object.[ch]: Making DiaObject a GObject. Now can I avoid
3441 having to make all the children objects conform to
3442 GObject style at once? Warning! Does not compile right now.
3444 * many, many files: Rename Object to DiaObject in preparation for
3445 making it a GObject.
3447 * app/diagram.[ch]: Turn diagram into a real GObject.
3450 * app/filedlg.c: Correctly ref and unref diagram.
3452 * lib/diagramdata.h: Starting to turn it into a GObject as well.
3454 2004-05-02 Lars Clausen <lars@raeder.dk>
3456 * lib/object.[ch]: Starting to convert Object to DiaObject, son of
3459 * app/dia-props.c: Undo the attempt at making it really
3460 multi-diagram, now going for a one-diagram dialog.
3462 2004-04-30 Lars Clausen <lars@raeder.dk>
3464 * app/undo.c: Undoing broken undo stuff for diagram properties and
3465 page setup. Shouldn't be mixed into undo at all.
3467 * app/render_gdk.c (draw_pixel_line): Use the dash-setting
3468 function to avoid in particular the grid crawling.
3470 * lib/diagdkrenderer.[ch] (dia_gdk_renderer_set_dashes): Function
3471 to allow aligning dashes, so they don't crawl.
3473 2004-04-28 Lars Clausen <lars@raeder.dk>
3475 * app/Makefile.am: New files diacanvas.[ch]
3477 * app/interface.c (create_display_shell): Use new diacanvas that
3478 allows placing widgets on canvas, for text edit.
3481 Early work towards rotation. No implementation yet.
3483 * app/layer_dialog.c (undo_layer):
3484 * objects/network/bus.c (bus_create_change):
3485 * objects/standard/box.c (aspect_create_change):
3486 * objects/standard/ellipse.c (aspect_create_change):
3487 Use g_new0 for change struct.
3489 * app/undo.c (diagram_change_apply_or_revert):
3490 Support for undo of diagram properties and page setup.
3492 * app/disp_callbacks.c (ddisplay_canvas_events):
3494 * lib/diagramdata.h:
3495 * app/modify_tool.c (click_select_object):
3496 * lib/text.c (text_register_editable):
3497 Starting work on new text editing model. Guarded by #ifdef so
3500 2004-04-07 Lars Clausen <lars@raeder.dk>
3502 * app/recent_files.c (open_recent_file_callback):
3503 * app/interface.c (origin_button_press):
3504 * app/filedlg.c (file_open_ok_callback):
3507 * app/commands.c (dialogs_layers_callback): Using new
3508 diagram_set_current() function to ensure auxilliary windows are
3511 * app/layer_dialog.c: Trying to unify with dia-props. Diagram
3512 menu now borken. *sniff*
3514 * app/dia-props.c: Diagram properties window attempted
3515 persistentified. Trying to make more like layer dialog (since it
3516 already changes when the diagram changes), but some things still
3519 2004-04-06 Lars Clausen <lars@raeder.dk>
3521 * lib/dialinechooser.[ch] (dia_line_chooser_set_line_style):
3522 * lib/attributes.c (attributes_set_default_line_style):
3523 * app/interface.c (create_lineprops_area):
3524 Make line style persistent as well. Added function to directly
3525 set the style and dashlength of a dialinechooser.
3527 2004-04-03 Lars Clausen <lars@raeder.dk>
3529 * objects/standard/ellipse.c (ellipse_move_handle, ellipse_copy):
3530 Copy the ellipse extra handle correctly.
3532 * objects/standard/box.c (box_move_handle): Move definitions
3533 according to bug #138925.
3535 2004-04-02 Lars Clausen <lars@raeder.dk>
3537 * app/recent_files.c: Use absolute name for recent files list.
3539 * lib/attributes.c: Set start and end arrow types, correctly.
3541 * lib/widgets.c (dia_arrow_selector_set_arrow): Use new function
3544 * lib/diaarrowchooser.[ch]: Support for setting arrow info.
3546 * app/interface.c (create_lineprops_area): Set persistently stored
3549 * lib/arrows.[ch]: New function to get arrow index (in arrow_types)
3552 * lib/dia_dirs.c: dia_get_absolute_path now creates a canonical
3553 path (i.e. without '.' or '..'). Not tuned for Win32 yet.
3555 * plug-ins/xfig/xfig-import.c: Redone ordering of import to comply
3556 with what xfig does. Text now converted from latin-1 to utf-8
3557 (latin-1, since that's what xfig seems to use. Would like to see
3558 examples of non-latin-1 figs). String case problems fixed.
3560 2004-04-01 Lars Clausen <lars@raeder.dk>
3563 * app/interface.c: Default arrows now stored persistently, too.
3565 * lib/arrows.[ch]: New function to get arrow type from name.
3567 * app/color_area.c (color_area_create):
3569 * app/linewidth_area.c: Also persistent colors and line width.
3570 That was easy. Arrows and line style will take a bit more work,
3573 2004-04-01 Lars Clausen <lars@raeder.dk>
3575 * app/preferences.c: All preferences are now
3576 handled by persistence, old prefs load and store code is gone.
3578 * lib/persistence.[ch]: Added string and color persistents. This is
3579 a different string from the one used in the printer dialog, that
3580 one has a GtkEntry attached -- may want to make that one an
3581 encapsulation of this one or something.
3583 2004-03-31 Lars Clausen <lars@raeder.dk>
3585 * app/app_procs.c: Do persistence before prefs. Prefs are to be
3588 * lib/persistence.[ch]:
3589 * app/preferences.c: Adding persistence for integers, reals,
3590 booleans. Fixed stupid list bug. Test persistence for prefs.
3592 2004-03-30 Lars Clausen <lars@raeder.dk>
3594 * app/recent_files.c:
3595 Debugging of deallocation.
3598 Font menu now uses persistence. Ordering needs fixing, or it must
3602 * lib/Makefile.am (libdia_la_SOURCES):
3603 * app/Makefile.am (dia_core_files):
3604 * app/persistence.[ch]:
3605 * lib/persistence.[ch]: Moved to lib as widgets need it. Also a
3606 number of fixes, including multiple entries now being read
3607 properly. Still some oddity about the persistent list having the
3608 role as first entry (which makes the font menu crash after a few
3611 2004-03-26 Lars Clausen <lars@raeder.dk>
3613 * app/persistence.c:
3614 * app/recent_files.[ch]: Redoing the recent-files list using
3615 persistence, reducing code by about 50%. Still a problem when
3616 selecting an item from the menu -- possibly it doesn't like the
3617 menu being destroyed while in the callback?
3619 2004-03-25 Lars Clausen <lars@raeder.dk>
3621 * app/persistence.c (persistence_load_string): Missing semicolon?!?
3623 2004-03-24 Lars Clausen <lars@raeder.dk>
3627 * app/persistence.[ch]:
3628 * app/paginate_psprint.c (diagram_print_ps): New type of data can
3629 be stored persistently: Strings. Only the printer command/file
3630 go in here now, but things like creator, organization, diagram
3631 comments etc could also be handled this way.
3633 * objects/standard/beziergon.c (beziergon_draw): Avoid control
3634 lines when the object is not selected.
3636 2004-03-23 Lars Clausen <lars@raeder.dk>
3638 * lib/connectionpoint.h:
3639 * app/load_save.c: Allow connection points to have names, and
3640 handle that in load/store.
3642 * lib/dialibartrenderer.c: Better highlighting for text.
3644 * lib/diagdkrenderer.h (struct _DiaGdkRenderer):
3645 * lib/diagdkrenderer.c: Better highlighting for all, using same
3646 principles as libart highlighter.
3648 2004-03-22 Lars Clausen <lars@raeder.dk>
3650 * lib/dialibartrenderer.[ch]:
3651 * lib/diagdkrenderer.c:
3657 * app/modify_tool.c:
3658 * app/create_object.c:
3659 * app/highlight.[ch]:
3660 Added simple object highlighting. In GDK rendering, highlights
3661 the bbox, in libart highlights the outline of the object (except
3664 2004-03-22 Lars Clausen <lars@raeder.dk>
3666 * RELEASE-PROCESS: Added info on how to do a branch for
3667 development during release process.
3669 2004-03-20 Lars Clausen <lars@raeder.dk>
3671 * RELEASE-PROCESS: Mention PATCH keyword in release process.
3673 2004-03-19 Lars Clausen <lars@raeder.dk>
3675 * xmldocs.make: Fixed apparent uninstall error.
3678 * doc/en/dia-manual.xml:
3679 * doc/pl/dia-manual.xml:
3682 * NEWS: Version 0.93-pre1.
3684 * lib/dialinechooser.[ch]: Patch from pborelli@katamail.com (paolo
3685 borelli): Remove some deprecated stuff.
3687 2004-03-18 Lars Clausen <lars@raeder.dk>
3689 * Makefile.am: Try better uninstall thing for scrollkeeper.
3691 * objects/ER/entity.c:
3692 * lib/arrows.[ch]: Patch from Georg Lothar Thimm
3693 <MGEORG@ntu.edu.sg>: Adds new ER arrows 1 or many, 0 or many, 0 or
3694 1, 1 exactly, as well as associative ER entities.
3696 2004-03-17 Lars Clausen <lars@raeder.dk>
3698 * Makefile.am: Make distcheck not complain about scrollkeeper
3699 problems (as per advice from James Henstridge).
3701 * doc/pl/*.{xml,sgml}: Converted SGML manuals to XML to get better
3702 standard installation.
3704 * objects/standard/ellipse.c: Better strings for object menu.
3706 * app/sheets_dialog_callbacks.c: Fixed crashes from broken caching
3707 of dialogs (shame on you, glade!)
3709 * objects/custom/custom_object.c (custom_setup_properties):
3710 Removed debugging output
3712 * app/paginate_psprint.c (diagram_print_ps): Slightly more
3713 readable printer error messages.
3717 * doc/en/Makefile.am:
3718 * doc/pl/Makefile.am:
3719 New more standard way to install the XML-based manuals.
3721 2004-03-15 Lars Clausen <lars@raeder.dk>
3723 * objects/standard/box.c (box_move_handle): More intuitive fixed
3726 * objects/standard/ellipse.c:
3727 * objects/standard/box.c:
3730 * app/layer_dialog.[ch]:
3731 Patch from Steve Langasek <vorlon@debian.org>:
3732 Fixes startup crash on Alpha (bug #137169)
3734 * objects/standard/box.c: Aspect fixing like ellipses.
3736 * app/Makefile.am (dia_core_files): Include dia-app-icons.h
3738 * lib/pixmaps/Makefile.am (imagedir): Better Makefile.am for
3739 pixmaps, now can uninstall properly.
3741 * objects/standard/ellipse.c: Patch from dooms@info.ucl.ac.be:
3742 Fixed and circle aspect ratios for ellipses. Bug #137156, #87966,
3744 Added object menu access.
3746 2004-03-07 Hans Breuer <hans@breuer.org>
3748 * lib/diaarrowchooser.c lib/dialinechooser.c : #undef
3749 GTK_DISABLE_DEPRECATED (I'd rather like if these widgets
3750 would not use deprecated apis, but it's much simpler this way)
3752 * lib/makefile.msc : build the above new widgets and render_pixmap
3753 * lib/libdia.def app/dia.def app/makefile.msc : updated
3755 * app/disp_callbacks.c : fix gccisms (without being able to make much sense of
3756 what I saw, i.e. how big is an empty array supposed to be ? ;-).
3757 Previously it gave :
3758 disp_callbacks.c(188) : error C2059: syntax error : '}'
3759 disp_callbacks.c(191) : warning C4034: sizeof returns 0
3761 * app/interface.c : #include "dialinechooser.h"
3763 * lib/diagdkrender.c : make the !HAVE_FREETYPE case compile again
3764 [one more reason not to use it here : it's quite slow compared to
3765 the native win32 font renderer ;]
3767 * app/app_procs.c app/filedlg.c : gtk_widget_destroy does not take
3768 a GtkDialog*, removed unneeded cast
3770 * app/render_eps.c : avoid assignment warning for void* user_data
3773 2004-03-06 Steffen Macke sdteffen@web.de>
3775 * shapes/Map/Isometric/Makefile.am: added Makfile for Isometric
3778 2004-03-06 Lars Clausen <lars@raeder.dk>
3780 * lib/arrows.h (DEFAULT_ARROW_SIZE): Downed default arrow size to
3783 * lib/font.c: Simple cleanup system for layout cache removes any
3784 layout that hasn't been used for 10 minutes, but only during idle
3787 2004-03-05 Lars Clausen <lars@raeder.dk>
3789 * sheets/Electric.sheet.in: Added patch from padro@lsi.upc.es
3790 (lluis padro) (#130887): Extended Electric shapes with vertical
3793 * sheets/Cybernetics.sheet.in: Normalize shape descriptions (never
3794 start with "Create a" or "A", always capitalize first word).
3796 * objects/standard/ellipse.c: Patch from Grégoire Dooms
3797 <dooms@info.ucl.ac.be>: Add extra connection point in center of
3798 ellipse. Additionally added a handle in the center, and resize is
3799 now around the center.
3802 * sheets/Makefile.am (SUBDIRS):
3803 * sheets/IsometricMap.sheet.in:
3804 * shapes/Map/Isometric/*
3805 * shapes/Makefile.am (SUBDIRS): Added Isometric shapes.
3807 2004-03-04 Lars Clausen <lars@raeder.dk>
3810 * lib/pixmaps/Makefile.am:
3812 Better installation handling of pixmaps.
3814 * lib/diagdkrenderer.c:
3815 * lib/diagtkfontsel.h (struct _DiaGtkFontSelectionClass):
3816 * lib/diagtkfontsel.c (dia_gtk_font_selection_show_available_fonts):
3819 2004-03-03 Lars Clausen <lars@raeder.dk>
3821 * lib/diagtkfontsel.h (struct _DiaGtkFontSelection):
3822 * lib/diagdkrenderer.c:
3823 * lib/diasvgrenderer.c:
3824 * lib/dialibartrenderer.c:
3825 * lib/diainteractiverenderer.c:
3826 * lib/prop_text.c (multistringprop_handle_key):
3828 * lib/dia_image.c (dia_image_rgba_data):
3830 * lib/diagramdata.c (layer_set_object_list):
3833 Getting rid of compile warnings.
3835 * lib/widgets.c: Handle destroy properly, i.e. unref the two extra
3836 images. Also remove unused decls.
3838 2004-03-02 Lars Clausen <lars@raeder.dk>
3841 * lib/widgets.c (dia_size_selector_init): Add images to the size
3842 selector chain widget. Also new function to load installed images
3843 from files (better than from included XPM, IMHO).
3845 2004-03-02 Lars Clausen <lars@raeder.dk>
3848 * lib/pixmaps/[un]broken-chain.xpm: Icons stolen from GIMP for the
3852 * lib/widgets.c (dia_size_selector_init): Work
3853 on getting proper icon onto the size selector. Need simple image
3854 load mechanism in utils.
3858 * app/disp_callbacks.c: Patch from kou@cozmixng.org: Show preedit
3859 strings, handle utf8 strlen properly. Bug #135930.
3861 2004-03-01 Lars Clausen <lars@raeder.dk>
3863 * shapes/Cybernetics/*:
3864 * sheets/Cybernetics.sheet.in:
3865 * sheets/Makefile.am:
3866 * shapes/Makefile.am:
3867 * configure.in: Patch from charly.meyer@t-online.de (Thorsten
3868 Roggendorf): Cybernetic shapes (#95553).
3870 2004-03-01 Lars Clausen <lars@raeder.dk>
3872 * app/Makefile.am: Fixed $(EXEEXT) warning from automake.
3874 * lib/diatypes.h: New type DiaSizeSelector.
3876 * lib/widgets.[ch]: New size selector widgets that selects two
3877 values (width and height, nominally) optionally linked to keep
3880 2004-03-01 Hubert Figuiere <hfiguiere@teaser.fr>
3882 * plug-ins/svg/render_svg.c (new_svg_renderer): Add DTD declaration
3883 in front of file. Bug #128600.
3887 * app/lineprops_area.[ch]:
3889 * lib/dialinechooser.[ch]:
3890 * lib/widgets.c (dia_line_style_selector_init): use line preview
3891 instead of text labels. This involve moving away line_chooser to lib
3894 * lib/diaarrowchooser.[ch] (close_and_hide): Make static to avoid
3897 * app/Makefile.am (dia_core_files):
3898 * app/interface.c (create_lineprops_area):
3899 * app/render_pixmap.[ch]:
3901 * lib/diaarrowchooser.[ch]:
3904 * lib/propdialogs.c:
3905 * lib/render_pixmap.[ch]:
3906 * lib/widgets.c (dia_arrow_fill_menu): Use arrow preview instead
3907 of text labels. This involve moving away arrow_chooser to lib from
3910 2004-02-29 Lars Clausen <lars@raeder.dk>
3912 * objects/UML/class.[ch]: Puny kludge to avoid GtkList objects
3913 being updated half-way through destruction. To be removed when
3914 the lists are replaced by something better.
3916 * objects/UML/class_dialog.c: Patch from luc@handhelds.org:
3917 Accelerators for class dialog. Bug #130995.
3918 Patch from luc@handhelds.org: Better aligning of widgets. Bug #130994.
3921 * app/preferences.c:
3923 * objects/GRAFCET/step.c:
3924 * objects/Misc/analog_clock.c:
3925 * objects/chronogram/chronoline.c:
3926 * objects/chronogram/chronoref.c:
3927 Change to american spelling (color, not colour) to ease
3928 translators job. Note that a number of translations may need an
3929 update now. Bug #120466.
3931 2004-02-29 Lars Clausen <lars@raeder.dk>
3933 * plug-ins/xfig/xfig-export.c: Patch from solworth@cs.uic.edu:
3934 Better arrow handling for missing arrows.
3936 * plug-ins/metapost/render_metapost.[ch]: Patch from
3937 phred@cs.berkeley.edu (Fred Reiss): Add font faces and font
3938 size. See bug #135363.
3940 * app/app_procs.c (app_init): If non-interactive, or if
3941 --log-to-stderr used, send all messages to stderr. This should
3942 mean that old diaconv == dia --export-to-format=FOO BAR
3944 2004-02-29 Hubert Figuiere <hfiguiere@teaser.fr>
3946 * app/menus.c: Get rid of GNOME menus. Deprecated APIs in GNOME 2.
3948 2004-02-28 Lars Clausen <lars@raeder.dk>
3950 * lib/text.c (text_key_event): Patch from Kouhei Sutou
3951 <kou@cozmixng.org>: Fix wrong utf8 strlen handling.
3953 2004-02-27 Lars Clausen <lars@raeder.dk>
3955 * KNOWN_BUGS: Added info on most commonly reported bugs, with
3958 * app/disp_callbacks.c (popup_object_menu): Unified properties
3959 entry, fixes bug #105080.
3961 * app/diagram.c (diagram_update_menu_sensitivity):
3962 * app/menus.h (struct _UpdatableMenuItems):
3963 * app/menus.c (menus_initialize_updatable_items): Menu items
3964 changed around, align menus flattened, properties entry ghosted,
3965 dialogs menu removed, more shortcuts added. Closing bugs #94018,
3967 Also taking out Gnome menus for now. They don't allow shortcuts,
3968 so what are they good for?
3970 2004-02-27 Lars Clausen <lars@raeder.dk>
3972 * app/menus.c (display_menu_items):
3973 * app/commands.[ch]: Added duplicate menu item from Alan Horkan
3976 2004-02-24 Adam Weinberger <adamw@FreeBSD.org>
3978 * configure.in: Added 'en_CA' (Canadian English) to ALL_LINGUAS.
3980 2004-02-23 Lars Clausen <lars@raeder.dk>
3982 * app/app_procs.c (app_init): Comments for translators.
3984 2004-02-22 Hubert Figuiere <hfiguiere@teaser.fr>
3986 * app/preferences.c (prefs_create_dialog): Change packing policy
3987 for widget to expand.
3989 * app/Makefile.am (run_dia.sh): Fixed a typo in wrapper that prevented
3990 running with a debugger.
3992 2004-02-19 Lars Clausen <lars@raeder.dk>
3994 * app/undo.[ch]: Adding last-saved information to undo to allow a
3995 diagram with all changes since last save undo to be marked as
3996 nonmodified. Still needs integration with actual undo
4000 * app/diagram_tree.c (diagram_tree_update):
4002 * app/display.c (update_modified_status):
4003 * plug-ins/python/pydia-diagram.c (PyDiaDiagram_GetAttr):
4004 * app/autosave.c (autosave_check_autosave): Encapsulate modifed
4007 * app/render_eps.[c]: Restructure to better handle PS vs. EPS
4008 vs. EPSI, comment out EPSI until preview is in there.
4011 * lib/diarenderer.c: Removing debugging printfs.
4013 * app/diapsrenderer.[ch]: Preparations for proper EPSI rendering
4016 * objects/standard/arc.c (arc_update_handles): Check to avoid
4017 crash when start and end points are the same.
4019 2004-02-19 Lars Clausen <lars@raeder.dk>
4021 * objects/standard/bezier.c:
4022 * objects/standard/line.c (line_load):
4023 * objects/standard/polyline.c (polyline_load):
4024 * objects/standard/zigzagline.c (zigzagline_load):
4025 * objects/standard/arc.c (arc_load):
4026 * lib/widgets.h (DEFAULT_ARROW_WIDTH): Use DEFAULT_ARROW_SIZE
4027 instead of hardcoding.
4029 2004-02-18 Hubert Figuiere <hfiguiere@teaser.fr>
4031 * app/disp_callbacks.c (popup_object_menu): append a menu item to
4034 2004-02-17 Hubert Figuiere <hfiguiere@teaser.fr>
4036 * app/app_procs.c: declare rc properly with the proper #ifdef
4038 2004-02-17 Lars Clausen <lars@raeder.dk>
4040 * plug-ins/xfig/xfig-import.c: Correct ordering of imported FIG
4041 objects (which seemingly FIG itself breaks, or else there is no
4044 2004-02-16 Lars Clausen <lrclause@cs.uiuc.edu>
4046 * plug-ins/xfig/xfig-export.c (figLineWidth): Check for minimum
4047 width renderable in xfig. Helps on bug #133637, but does not
4048 quite fix it -- something about depth is wrong.
4050 * plug-ins/xslt/xslt.[ch]: Patch #133913 from phenning@lanl.gov:
4051 Extern definitions for Mac compilation.
4053 * app/app_procs.c: Patch #131159 from J. H. M. Dassen
4054 (jdassen@debian.org): Include fix.
4056 * app/interface.c: Patch #130100 from luc@handhelds.org: Make
4057 sure the initial diagram size is correct.
4059 2004-02-15 Lars Clausen <lrclause@cs.uiuc.edu>
4061 * lib/Makefile.am (AM_CPPFLAGS): Override AM_CPPFLAGS instead of
4062 CPPFLAGS, as per automake warning.
4063 * app/Makefile.am (AM_LDFLAGS): Override AM_LDFLAGS instead of
4064 LDFLAGS, as per automake warning.
4065 (run_dia.sh): More robust creation, and more easily moved.
4067 * app/undo.c (group_objects_revert): Don't double-free the objects
4068 list. (#129221) Call object_add_updates on grouped objects.
4069 (ungroup_objects_revert): Call object_add_updates on grouped objects.
4071 * lib/diagramdata.c: Internal
4074 * lib/polyshape.c (polyshape_update_data): Correctly calculate
4075 directions for polyshape corners (thanks, Valgrind!)
4078 * lib/prop_attr.c (arrowprop_load): Use default arrow size.
4080 * lib/arrows.h: Default arrow size defined. After all are using
4081 this, may lower to 0.4 or so.
4083 * app/lineprops_area.[ch]: New function to set the arrow type for an
4086 * app/interface.c (create_lineprops_area): Set default line to
4087 have an arrow (fairly likely to be what's wanted, plus it shows
4088 the user where arrows are set).
4090 * app/app_procs.c: #ifdef HAVE_POPT popt args to process_opt
4092 2004-02-14 Lars Clausen <lrclause@cs.uiuc.edu>
4094 * plug-ins/metapost/render_metapost.c (draw_with_linestyle):
4095 Dotted lines should use dot_length, not dash_length.
4097 2004-02-06 Hans Breuer <hans@breuer.org>
4099 * app/interface.c : don't use gtk_drawing_area_size() to avoid
4100 the defaut size being also the minimum size. Instead use
4101 gtk_window_set_default_size() on the display shell. Fixes #130982.
4103 [fixing #131210, but umlauts in the 'main' filename still not really
4104 supported on systems where filesystem encoding != utf8
4105 (Problems with recent file menu and window title)]
4106 * lib/dia_xml.[hc] : add data_filename() and data_add_filename()
4107 to deal with possible differnces in filename encodings, see
4108 g_filename_<to|from>_utf8()
4109 * objects/standard/image.c : use them.
4111 * lib/widgets.c : handle possible encoding difference here, too.
4112 Also get rid of most warnings by using const and GTK casts where
4113 appropriate; one wrong cast (probably causing a crash) was found/fixed
4114 by this - the remaining give a hint on finally leaking FontSelectorEntry.
4116 * lib/widgets.[hc] : hide _DiaFileSelector and *Class in .c. Modified
4117 dia_file_selector_<get|set>_file to behave like the respective Gtk
4118 functions do : encoding- and const-wise ;-)
4120 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
4122 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
4124 2004-01-19 Hans Breuer <hans@breuer.org>
4126 * app/app_procs.c app/diaconv :
4127 only call bind_textdomain_codeset when available, what's good
4128 for The Gimp (bug #131215) can't be wrong for Dia : bug #125926
4129 * config.h.win32 : define HAVE_BIND_TEXTDOMAIN_CODESET
4131 2004-01-19 Steffen Macke <sdteffen@web.de>
4133 * makefile.msc: updated for new GAIM-like installer build; sync'ed
4134 ALL_LINGUAS with configure.in
4136 2004-01-18 Hans Breuer <hans@breuer.org>
4138 * app/app_procs.c (myXmlErrorReporting) : avoid possible crash
4139 by not passing NULL to g_print()
4141 * app/interface.c (create_toolbox) : actually use
4142 persitence_register_window() to restore toolbox window size
4144 * app/makefile.msc lib/makefile.msc : allow to deselect
4145 building with Freetype by command line to nmake like :
4146 nmake -f makefile.msc "NOFT2=1"
4148 * plug-ins/python/diasvg_import.py : handle 'stroke-array' as
4149 far as possible with Dia's limited line style
4150 * plug-ins/python/pydia-property.c : allow to get and set
4151 Linestyle, style and dash(length)
4153 * lib/object.h : removed typedef for ObjectId not use anywhere
4155 2004-01-17 Hans Breuer <hans@breuer.org>
4157 * objects/custom/shape_info.[hc] objects/custom/custom_object.c
4158 doc/shape.dtd doc/custom-shapes :
4159 support for images in custom shapes, also removed some long-time
4162 * doc/en/*.xml : fixed crippled line ends which get created
4163 when windoze line ends are checkin from the unix side
4165 2004-01-13 Laurent Dhima <laurenti@alblinux.net>
4167 * configure.in: Added "sq" to ALL_LINGUAS.
4169 2004-01-11 Hans Breuer <hans@breuer.org>
4171 [more less leaks ;-]
4173 * objects/SADT/annotation.c : use text_destroy() not g_free()
4175 * objects/chronogram/chronoline.c : neither leak chronoline::events
4176 nor chronoline::name
4178 * objects/wpg/wpg.c : don't g_free() but g_object_unref(renderer);
4180 2004-01-11 Hans Breuer <hans@breuer.org>
4182 * lib/properties.h :
4183 * objects/custom/custom_object.c : more properties optional
4184 to be backward compatible for older diagrams not having them
4185 set. (Try to load samples/all_objects.dia)
4187 [less memory leaks thanks valgrind ;-]
4189 * app/recent_files.c (recent_file_history_write) :
4190 g_free(history_filename);
4191 (recent_file_menu_item) : use g_path_get_basename()
4192 which already strdups, free result of g_strescape()
4194 * app/filedlg.c (create_export_menu) : return of
4195 filter_get_export_filter_label() must be g_free()'d
4196 (create_open_menu) : same for import
4198 * app/export_png.c (export_png_ok) : destroy info ptr
4199 with png_destroy_write_struct()
4201 * app/app_procs.c (app_init) : g_free(export_format_string);
4203 * lib/font.c (dia_font_finalize) : finalize parent_class, too
4204 (dia_font_new_from_style) : stop leaking almost all DiaFont by not
4205 refing it a second time, g_type_create_from_instance() is enough
4207 * lib/object_defaults.c (_obj_store) : don't mess with names
4208 len 0 (should avoid 'Invalid read of size 1, but doesn't ;)
4210 2004-01-11 Steffen Macke <sdteffen@web.de>
4212 * app/diapsftrenderer.c: including ftoutln.h
4213 * app/makefile.msc: updated for freetype build
4214 * lib/libdia.def: added dia_font_get_context()
4215 * lib/dialibartrenderer.c (draw_string): added cast
4217 2004-01-10 Hans Breuer <hans@breuer.org>
4219 * lib/diagdkrenderer.c (draw_string) : gdk_draw_line with
4220 transformed coordinates, fixes bug 130804
4222 2004-01-10 Hans Breuer <hans@breuer.org>
4224 * app/filedlg.c app/app_procs.c : don't try to destroy
4225 'gtk_dialog_run'-dialogs dialogs by connecting to the "response"
4226 signal but simply by gtk_widget_destroy() after gtk_dialog_run()
4227 returns. Fixes 'has no handler' bugs like #121019
4229 2004-01-10 Hans Breuer <hans@breuer.org>
4231 * objects/UML/class.c objects/UML/class_dialog.c :
4232 handle umlclass->name being empty to avoid, i.e. fix #127968
4234 [plugging memleaks, thanks valgrind :-]
4236 * lib/dia_xml.c (data_string) : don't leak return value
4237 of xmlNodeListGetString()
4239 * lib/dia_xml.c (xml_file_check_encoding) : g_free(buf)
4240 before returning, maybe alloca() would be the better
4241 choice but anyway ;)
4243 * objects/custom/custom_object.c:306 : adde xmlFree(str) below
4245 * lib/font.c (dia_font_build_layout) : don't leak result
4248 * lib/diagdkrenderer.c (draw_string) : don't leak rgba
4249 (this is the one which got me started using valgrind, see #130816)
4251 2004-01-07 Sanlig Badral <badral@openmn.org>
4253 * configure.in: Added "mn" to ALL_LINGUAS.
4255 2004-01-04 Hans Breuer <hans@breuer.org>
4257 * lib/diagdkrenderer.c : replace rendering of really small (height
4258 less than 2 pixels) with a simple dashed line, you wont notice the
4259 differnce beside it being much faster. This allows ...
4260 * lib/diagdkrenderer.h : ... to remove gboolean rendertext ...
4261 * app/navigation.c : ... and lets you see an read rendered text even
4262 in the nice navigation popup.
4264 * lib/dialibartrenderer.c : FONT_SCALE defined as 1.0 for G_OS_WIN32, too.
4265 (draw_string) : don't leak temporary image
4267 2004-01-04 Hans Breuer <hans@breuer.org>
4269 * app/dia-app-icons.h : TODO : to be removed when autogenerated on *NIX, too.
4270 * app/interface.c : use dia-app-icons.h to give Dia window icons
4272 * lib/dia_image.c lib/color.c : _never_ call functions implemented
4273 in app/ from lib/. It is not portable and broken from design
4274 * app/app_procs.c : call color_init() and dia_image_init() conditional,
4275 i.e. only if running interactive.
4277 * lib/font.h : #include <time.h>
4279 * lib/libdia.def : updated externals
4281 * objects/UML/actor.c
4282 objects/UML/association.c (todo)
4283 objects/UML/branch.c
4284 objects/UML/class.[hc] objects/UML/class_dialog.c
4285 objects/UML/classicon.c
4286 objects/UML/component.c
4287 objects/UML/constraint.c
4288 objects/UML/dependency.c
4289 objects/UML/generalization.c
4290 objects/UML/implements.c
4291 objects/UML/large_package.c
4292 objects/UML/lifeline.c
4293 objects/UML/message.c
4295 objects/UML/object.c
4296 objects/UML/realizes.c
4297 objects/UML/small_package.c
4299 objects/UML/usecase.c
4301 : ported coloring of most UML objects (bug #97517, orginal
4302 work Mathias Hasselmann)
4304 * lib/properties.h : add _OPTIONAL variants for
4305 PROP_STD_(LINE|FILL|TEXT)_COLOUR which allows to load old -
4306 i.e. default colored - UML diagrams without complaining
4307 * lib/proplist.c lib/propoffsets.c : avoid setting _OPTIONAL,
4308 not set properties with the help of PXP_NOTSET. Otherwise
4309 optional attributes would lead to wrong initialization.
4311 * lib/widgets.[hc] : moved _DiaFontSelector from .h to .c
4312 to hide details and restict #undef GTK_DISABLE_DEPRECATED to .c
4313 Same for most other selectors which probably should be rewritten
4314 to the combo box with tree model from Gtk+ 2.4
4316 2004-01-04 Lars Clausen <lrclause@cs.uiuc.edu>
4318 * INSTALL (PLATFORM NOTES): Mention the Gnu gettext and iconv as
4319 being the Right Thing(tm) to use on Solaris.
4321 * objects/standard/bezier.c (bezierline_draw): Don't draw
4322 guidelines if not selected.
4324 * lib/object.[ch] (dia_object_is_selected): Function to check whether
4325 a given object is selected. O(n), where n is # selected objects.
4328 2004-01-03 Lars Clausen <lrclause@cs.uiuc.edu>
4330 * lib/widgets.[ch]: Make sure old font is re-chosen when the Other
4331 Fonts dialog is closed without pressing Ok (bug #128646).
4333 2004-01-02 Lars Clausen <lrclause@cs.uiuc.edu>
4335 * app/Makefile.am: Quote arguments correctly for run_dia.sh (bug
4338 2004-01-01 Lars Clausen <lrclause@cs.uiuc.edu>
4340 * INSTALL: Updated list of requirements (bug #129653)
4342 * doc/en/dia.dia: Beginning class diagram for Dia from Luc
4343 Pionchon <luc@handhelds.org>.
4345 2003-12-31 Lars Clausen <lrclause@cs.uiuc.edu>
4347 * lib/diagdkrenderer.c (draw_string): Don't attempt to render
4348 empty or NULL strings (bug #130097).
4350 2003-12-31 Chris Sperandio <sperandi@eng.usf.edu>
4352 * plug-ins/metapost/render_metapost.c: Fixed string colorization.
4353 Added checks against color_black.
4355 2003-12-31 Lars Clausen <lrclause@cs.uiuc.edu>
4357 * plug-ins/xfig/xfig-export.c (figArrow): Output nothing for
4358 ARROW_TYPE_NONE. Thanks to Jon A. Solworth for showing that this
4361 * objects/UML/component_feature.c: Patch from W. Borgert
4362 <debacle@debian.org>: Add handle to component feature text.
4364 * lib/diagdkrenderer.c (draw_string): Remove poorly placed caching.
4366 * lib/font.c: Caching PangoLayout for better rendering speed.
4368 2003-12-30 Lars Clausen <lars@raeder.dk>
4370 * lib/dia_dirs.[ch] (dia_get_absolute_filename): New function to
4371 get absolute file name from relative.
4372 * app/recent_files.c (recent_file_history_add): Use absolute
4373 filenames for recent files menu so that files can be found when
4374 Dia is invoked from other places.
4376 * app/app_procs.c (handle_all_diagrams): Fix for 1/3 of 130098:
4377 Actually load different diagrams if such are requested on command
4380 * objects/UML/class_dialog.c (class_create_page): Fix from Luc
4381 Pionchon <luc@handhelds.org>: Correctly align labels for colors.
4383 * lib/diagdkrenderer.[ch]: From Luc: New option to GdkRenderer to
4384 remove text rendering. May be turned into greeking at some later
4388 * app/Makefile.am (dia_core_files):
4389 * app/navigation.[ch]: Patch from Luc Pionchon <luc@handhelds.org>:
4390 Adds navigation window a la Gimp, though without text being
4393 2003-12-27 Luc Pionchon <luc@handhelds.org>
4395 * app/navigation.h: (new file)
4396 * app/navigation.c: (new file) creates a navigation window with a
4397 thumbnail view of the whole diagram.
4398 * app/Makefile.am (dia_core_files): added new files.
4400 * app/interface.c (create_display_shell): added a button between
4401 the scrollbars to popup a navigation window.
4403 * lib/diagdkrenderer.h (struct_DiaGdkRenderer): added rendertext
4405 * lib/diagdkrenderer.c (renderer_init): set rendertext TRUE by default
4406 * lib/diagdkrenderer.c (draw_string): returns if the renderer do
4407 not want text rendering.
4409 2003-12-14 Lars Clausen <lrclause@cs.uiuc.edu>
4411 * shapes/Circuit/hresistor.shape: Uses new extra attribute thing.
4413 * objects/custom/shape_info.[ch]: Cleanup.
4415 * objects/custom/custom_object.[ch]: Changed to use new props
4420 * lib/prop_inttypes.c:
4421 * lib/prop_geomtypes.c: Added *prop_get_data_size.
4423 * lib/libdia.def: Added object_load_props.
4425 * configure.in: Better FT2 version test, from bug #129225.
4427 * dia.spec (BuildRequires): Changed to match makefile (bug #129131)
4429 * plug-ins/xslt/dia-uml2python.xsl: Added Python sheet from Holger
4430 Lehmann <holger.lehmann@catworkx.de>.
4432 * plug-ins/xslt/Makefile.am:
4433 * plug-ins/xslt/stylesheets.xml: Added Python, Component List,
4434 and OWL XSLT sheets.
4436 2003-12-13 Lars Clausen <lrclause@cs.uiuc.edu>
4438 * lib/diagdkrenderer.c: Add implementation so text is still
4439 rendered. May be improved later.
4445 * app/app_procs.c: Patch from W. Borgert <debacle@debian.org>:
4446 Allow running without a $DISPLAY!
4448 * lib/color.c: Remove warnings for non-interactive run.
4453 * app/app_procs.[ch]:
4454 Patch from W. Borgert <debacle@debian.org>: Allow a --size argument
4455 to specify size for PNG output.
4457 * app/lineprops_area.c (dia_arrow_preview_expose): Make arrows
4458 render a little smaller, so as to fit the big ones.
4460 * lib/arrows.[ch]: New arrow type from W. Borgert
4461 <debacle@debian.org>: Filled Dot and Triangle.
4463 2003-12-02 Lars Clausen <lrclause@cs.uiuc.edu>
4465 * doc/pl/Makefile.am (install-data-hook): Fixed installation bug
4468 * plug-ins/xslt/dia-uml2owl.xsl: Added OWL XSLT from Dan Connolly.
4470 * acinclude.m4: Better Python configure code patch (can't find
4471 author, author please speak up!)
4473 2003-12-01 Lars Clausen <lrclause@cs.uiuc.edu>
4475 * lib/diagdkrenderer.c (get_cached_text): Stupid bugs replaced by
4478 2003-11-30 Hans Breuer <hans@breuer.org>
4480 * plug-ins/python/diasvg.py : initialize self.dash_length
4481 in constructor to avoid crashing if the renderer user
4482 does not set it before first usage.
4484 2003-11-30 Lars Clausen <lrclause@cs.uiuc.edu>
4486 * lib/diagdkrenderer.c: Start of cache GDK text renderer -- not
4490 * config.h.win32: Set version number to 0.92.2+cvs to distinguish
4491 development and stable versions.
4493 * lib/text.c (text_draw): Use new renderer function to draw the
4496 * lib/diarenderer.h:
4497 * lib/diarenderer.c: New renderer function "draw_text" with
4498 default implementation. This function should eventually be the
4499 main interface, as it will be able to handle width and caching of
4500 rendering internally. All users of draw_string should convert to
4501 use Text objects and call either renderer->draw_text or text_draw,
4502 the latter if the text can be edited in-place (as should be the
4505 2003-11-29 Lars Clausen <lrclause@cs.uiuc.edu>
4507 * shapes/Circuit/hresistor.shape: First example of extra
4510 2003-11-28 Lars Clausen <lrclause@cs.uiuc.edu>
4512 * plug-ins/shape/shape-export.c:
4513 * lib/diasvgrenderer.h:
4514 * lib/diasvgrenderer.c:
4515 * plug-ins/svg/render_svg.c (new_svg_renderer):
4516 Actually store the font size, using DiaRenderer's font fields.
4518 2003-11-27 Lars Clausen <lrclause@cs.uiuc.edu>
4520 * objects/custom/shape_info.[ch]:
4521 * objects/custom/custom_object.[ch]:
4522 Support for extra attributes in custom objects.
4524 2003-11-23 Lars Clausen <lrclause@cs.uiuc.edu>
4526 * app/diagram.c (diagram_update_menu_sensitivity): More
4527 intelligent checks for menu sensitivity. Might be slow on huge
4528 diagrams, but I think other things outweigh it by a lot.
4530 * app/menus.[ch]: Make "Bring Forwards"
4531 and "Send Backwards" updateable.
4533 2003-11-22 Steffen Macke <sdteffen@web.de>
4535 * shapes/Assorted/arrow-turn-up.shape:
4536 * shapes/Assorted/arrow-turn-up.png:
4537 * sheets/Assorted/Makefile.am:
4538 * sheets/Assorted.sheet.in: Added new arrow
4540 2003-11-17 Lars Clausen <lrclause@cs.uiuc.edu>
4548 * app/diagram_tree.c
4549 * app/diagram_tree_menu.c
4550 * app/diagram_tree_window.c
4551 * app/diapagelayout.c
4552 * app/diaunitspinner.c
4556 * app/layer_dialog.c
4557 * app/lineprops_area.c
4558 * app/linewidth_area.c
4561 * app/paginate_psprint.c
4563 * app/plugin-manager.c
4566 * app/recent_files.c
4568 * app/sheets_dialog.c
4569 * app/sheets_dialog_callbacks.c
4570 * app/tool.c: Patch from Sebastien Tricaud <toady@gscore.org>:
4571 GTK-2 compatibility update, mostly gtk_foo -> g_foo.
4573 * TODO: Updated, note on EPS transparency.
4575 2003-11-07 Lars Clausen <lrclause@cs.uiuc.edu>
4577 * objects/UML/class.c (umlclass_draw): Allow classes with no name
4580 2003-11-01 Lars Clausen <lrclause@cs.uiuc.edu>
4583 * doc/en/dia-manual.xml:
4586 * NEWS: Another Brown Bag release for parenting problems,
4587 including a crash bug fix.
4589 * app/connectionpoint_ops.c (diagram_update_connections_object):
4590 Also update connections when moving children. This can cause
4591 move_handle to be called twice, so it must be idempotent.
4593 * app/load_save.c: Loading and saving of children totally redone.
4594 Now doesn't violate assumption that all objects in a layer are
4595 placed in order in XML file.
4597 * objects/UML/branch.c (branch_create): Don't lie about being
4600 * objects/UML/node.c (node_create):
4601 * objects/UML/large_package.c (largepackage_create): Drag with
4602 lower right-hand handle at creation like all other objects.
4604 2003-10-28 Lars Clausen <lrclause@cs.uiuc.edu>
4606 * app/disp_callbacks.c (ddisplay_drop_object): Change initial
4607 parenting drop to behave like a move inside, i.e. constrain place
4608 instead of trying to resize. 'Cause, resizing cannot be done for
4609 all objects (e.g. UML Class). Also simplified the algorithm a lot
4612 * app/load_save.c: Saving and loading of connection points for
4613 children added. Prototypes for static functions added.
4615 * lib/dynamic_obj.c: Removed debugging output.
4617 2003-10-26 Lars Clausen <lrclause@cs.uiuc.edu>
4619 * doc/en/dia-manual.xml:
4620 * doc/pl/dia-manual.sgml:
4624 * NEWS: Brown Bag release 0.92.1
4626 * lib/dynamic_obj.c: Fixed embarassing dynamic object removal bug.
4628 2003-10-25 Lars Clausen <lrclause@cs.uiuc.edu>
4630 * app/app_procs.c (app_init): Rearrangement for translators.
4632 2003-10-24 Steffen Macke <sdteffen@web.de>
4634 * lib/text.c(text_key_event): enforcing the inserted text length now,
4637 2003-10-22 Lars Clausen <lrclause@cs.uiuc.edu>
4639 * MAINTAINERS: Change Debian maintainer to be the default address.
4641 * objects/Misc/analog_clock.c (analog_clock_move_handle): Reorder
4642 args to match prototype, thus removing crashbug #125159.
4644 * RELEASE-PROCESS: Note to self.
4646 2003-10-22 Steffen Macke <sdteffen@web.de>
4648 * doc/en/dia-manual.xml: removed superfluous external references
4650 2003-10-21 Steffen Macke <sdteffen@web.de>
4652 * lib/libdia.def: added filter_get_by_name
4653 * app/render_eps.c: moved extensions definition outside #ifdef
4655 2003-10-19 Lars Clausen <lrclause@cs.uiuc.edu>
4659 Removed old Dia manual, put new one in doc/en/. Translations
4660 should go in doc/??/.
4662 * doc/en/dia-manual.xml:
4663 * doc/pl/dia-manual.sgml:
4664 * dia.spec (Release):
4667 * NEWS: 0.92 is here!
4671 * doc/en/Makefile.am (man_MANS): Added man page, thanks to Fredrik
4672 HallenBerg, W. Borgert. Not currently autogenerated from dia.dbk,
4675 * doc/en/usage-objects.xml: Fixed lower-case PNG tags.
4677 * doc/en/usage-objects-selecting.xml: Commented out empty note.
4679 2003-10-14 Lars Clausen <lrclause@cs.uiuc.edu>
4681 * doc/pl/dia-manual.sgml:
4682 * doc/en/dia-manual.xml:
4686 * dia.spec (Release): Pre7.
4688 * app/diapsrenderer.c (draw_string): Convert string to print based
4689 on current locale. If conversion fails, fall back to UTF-8 (which
4690 is almost certain to be messy).
4692 2003-10-13 Lars Clausen <lrclause@cs.uiuc.edu>
4694 * doc/pl/dia-manual.sgml:
4695 * dia.spec (Release):
4699 * doc/en/dia-manual.xml: Pre6.
4701 * plug-ins/pstricks/render_pstricks.c (draw_string): Don't escape
4702 TeX chars in strings -- must be possible to use TeX text in there.
4703 Also avoids infinite loop bug (#124464) Will get option for this
4706 2003-10-11 Lars Clausen <lrclause@cs.uiuc.edu>
4708 * shapes/Cisco/Makefile.am: Cisco shapes now install correctly.
4710 * doc/en/dia-manual.xml:
4711 * doc/pl/dia-manual.sgml:
4712 * dia.spec (Release):
4717 * app/authors.h: Removed duplicate of M. C. Nelson.
4719 * plug-ins/pixbuf/pixbuf.c: Unique name for pixbuf export: gdkpixbuf.
4721 * app/export_png.c: Unique name for libart PNG export: png-libart.
4723 * app/render_eps.c: Unique names for the two eps export methods:
4724 eps-builtin, eps-pango.
4726 * lib/filter.h: Binary compatibility change:
4727 Added unique name to export filters. Can be NULL.
4728 * lib/filter.c (filter_get_by_name): Finding a filter by
4731 * app/app_procs.h: Changed prototype for do_convert.
4732 * app/app_procs.c (app_init): Support for non-extension file
4733 format selection for export. Also allow extension to differ from
4734 that specified by the filters. A bit of refactoring, too.
4736 2003-09-28 Steffen Macke <sdteffen@web.de>
4738 * makefile.msc: added target po to update the translations
4740 2003-09-27 Lars Clausen <lrclause@cs.uiuc.edu>
4743 * dia.spec (Release):
4745 * doc/pl/dia-manual.sgml:
4746 * doc/en/dia-manual.xml:
4747 Pre4 is given a short try.
4749 * configure.in: Give all necessary libs to PNG test.
4751 * lib/font.c: Added legacy entries for sans, serif and monospace.
4753 * app/app_procs.c (internal_plugin_init):
4756 Added PS fonts output for Unix.
4758 * app/diapsrenderer.c (set_font): Adjusted height by the magic .7
4759 factor to make PS fonts stay in boxes.
4761 2003-08-03 Hans Breuer <hans@breuer.org>
4763 * config.h.win32 : close the version string
4765 * lib/libdia.def : with color_white, color_black being static
4766 on win32 they can not be exported anymore either
4768 * lib/dialibartrenderer.c : text rendering is back on win32,
4769 only by Gdk though; almost a year seems to be enough to
4770 wait for my patch at bug #94791 to be accepted ...
4772 2003-09-23 Lars Clausen <lrclause@cs.uiuc.edu>
4774 * shapes/network/{digitizing_board.png,plotter.png,
4775 laptop.png,telephone.png}: 22x22 icons.
4777 2003-09-22 Lars Clausen <lrclause@cs.uiuc.edu>
4779 * doc/pl/dia-manual.sgml:
4780 * doc/en/dia-manual.xml:
4781 * dia.spec (Release):
4785 pre3 improves font rendering speed.
4787 * app/app_procs.c (app_init): Don't do pango init here, it's done
4788 on demand in font.c now.
4790 * lib/font.c: Load pango context on demand rather than during
4791 init/all the time strikes a better balance between working font
4792 size and speed. Still need to cache width calculations.
4794 2003-09-18 Lars Clausen <lrclause@cs.uiuc.edu>
4796 * lib/dia_xml.c: Enable pretty printing. Should have been added
4799 2003-09-11 Lars Clausen <lrclause@cs.uiuc.edu>
4801 * lib/arrows.c (calculate_arrow_point): Adjust arrow line
4802 adjustment a bit for half diamond and open round.
4804 * RELEASE-PROCESS: Added note about notifying translators and
4807 * doc/pl/dia-manual.sgml:
4808 * doc/en/dia-manual.xml:
4809 * dia.spec (Release):
4813 Update to 0.92-pre2.
4815 2003-09-10 Lars Clausen <lrclause@cs.uiuc.edu>
4817 * lib/arrows.c (calculate_arrow_point): Some fixing-up of arrow
4818 calculation for half diamond and open round.
4821 * objects/UML/component_feature.c:
4822 * lib/arrows.h: Patch from W. Borgert <debacle@debian.org>: Use
4823 arrows instead of specific little hacks. Much nicer, but damn
4824 there's a lot of arrows.
4826 * lib/dialibartrenderer.c (begin_render):
4827 * app/render_libart.c (begin_render): Use correct DPI for screen
4828 (well, actually the default DPI of 75 for now).
4830 * app/display.h: Informative notes on the DDISPLAY_*_ZOOM macros.
4832 * lib/diagdkrenderer.c (draw_string): Some reformatting.
4834 * app/app_procs.c (app_init): Note on what should be done for the
4835 pango context now, only it doesn't work:(
4837 * lib/font.c (dia_font_new): Make sure to load fonts that are
4838 used, using a reasonable pango_context. Also a comment on the
4841 2003-09-09 Lars Clausen <lrclause@cs.uiuc.edu>
4843 * doc/pl/graphics/*.png:
4844 * doc/pl/Makefile.am: Added graphics to distro, avoiding empty
4845 loop (bug #121817). PL translator may want to change the
4846 home_network png to be in Polish. If the docs get translated into
4847 more languages, we'll want to find out how to share these things.
4849 2003-09-08 Lars Clausen <lrclause@cs.uiuc.edu>
4851 * app/splash.c (app_splash_init): Patch from Sébastien Tricaud
4852 <stricaud@mwsp.net>: Use g_signal_* instead of gtk_signal_* in
4855 * app/filedlg.c (file_save_as_callback): Put filename setting
4856 together. (Preparation for allowing default save dir.)
4858 * app/paginate_psprint.c (diagram_print_ps): Use $PRINTER
4859 correctly this time:)
4861 * app/dia-props.c (diagram_properties_show):
4862 * app/properties.c (properties_show): Make sure the
4863 dialogs are transient for the correct diagram.
4865 2003-09-07 Lars Clausen <lrclause@cs.uiuc.edu>
4867 * configure.in: Make sure -lz -lm is passed into second png test
4868 as well (stupid AC_LINK_IFELSE can't take it as an argument).
4870 * plug-ins/xfig/xfig-import.c: Skip XFig comments to make certain
4871 comment-filled files readable. Once we have a 'generic data'
4872 system, we can put comments in there.
4874 2003-09-06 Steffen Macke <sdteffen@web.de>
4876 * plug-ins/pstricks/render_pstricks.c(tex_escape_string): using
4877 g_string_sized_new() instead of g_string_new() to make it compile
4878 * app/Makefile.am: including dia.ico and dia.rc in the tarball
4879 * plug-ins/wmf/wmf.cpp (set_linestyle): In WMF maximum linewidth is 1
4880 for non-solid linestyles - otherwise custom linestyles have to be used.
4882 2003-09-02 Steffen Macke <sdteffen@web.de>
4884 * app/commands.c(help_manual_callback): using dia-manual.chm instead of
4887 2003-09-02 Christian Neumair <chris@gnome-de.org>
4889 * sheets/Pneumatic.sheet.in: Slight unification fix.
4891 2003-09-02 Lars Clausen <lrclause@cs.uiuc.edu>
4895 * dia.spec (Release):
4896 * doc/en/dia-manual.xml:
4897 * doc/pl/dia-manual.sgml:
4898 * NEWS: Update to 0.92-pre1.
4900 * app/properties.c (properties_key_event): Removing Esc/Enter
4901 handling for now, interferes to much with regular dialog usage.
4903 * plug-ins/pstricks/render_pstricks.c (tex_escape_string):
4904 Function to escape special TeX characters. Not in use yet, as
4905 PSTricks output by default is TeX strings. Should get a save-time
4908 2008-09-01 Steffen Macke <sdteffen@web.de>
4910 * lib/paper.h: explanatory comment on width and height
4912 2003-08-30 Steffen Macke <sdteffen@web.de>
4915 * lib/color.h: made color_white, color_black static on win32
4917 2003-08-28 Lars Clausen <lrclause@cs.uiuc.edu>
4919 * configure.in (PNG_LIBS): Something in the png tests added an
4920 extra -lpng to $LIBS. Saving old $LIBS to avoid that.
4922 2003-08-27 Lars Clausen <lrclause@cs.uiuc.edu>
4924 * configure.in: Quote correctly for temporarily adding freetype
4927 * app/preferences.c (prefs_save): Remove debugging g_print.
4929 2003-08-26 Lars Clausen <lrclause@cs.uiuc.edu>
4931 * objects/flowchart/parallelogram.c (pgram_update_data):
4932 Directions for connections, better system for placing
4935 2003-08-25 Lars Clausen <lrclause@cs.uiuc.edu>
4937 * lib/diagramdata.c (layer_find_closest_object_except): Look all
4938 the way through the object list, so the foremost object is selected.
4940 * lib/diagramdata.h: Removing dynamic_obj.h, it should only be
4941 included for diagramdata.c.
4943 * lib/prop_text.c (multistringprop_handle_key): Attempt at making
4944 newline in multistringprop not close the dialog. Failed so far.
4946 2003-08-25 Steffen Macke <sdteffen@web.de>
4948 * app/commands.c: using CHM instead of HTML on win32 if available
4949 * lib/diagramdata.h: including dynamic_obj.h
4951 2003-08-25 Lars Clausen <lrclause@cs.uiuc.edu>
4953 * app/properties.c (properties_key_event): Make Enter = Ok for
4954 properties dialogs. Still some problems with this and Esc for
4955 Cancel, for instances escaping out of a menu closes the dialog.
4957 * objects/UML/association.c (association_get_properties):
4958 * objects/UML/class_dialog.c (class_create_page): Grab appropriate
4961 * app/diapsft2renderer.c (draw_string): Use
4962 dia_font_scaled_build_layout to ensure similarity of text.
4964 * lib/diagramdata.c: Remove obj from dynobj list when removing
4965 from layer to avoid nasty race conditions.
4967 * app/undo.c (group_objects_revert): Make sure to unparent and
4968 remove from dynobj list when changing layers objects.
4970 2003-08-23 Steffen Macke <sdteffen@web.de>
4972 * plug-ins/wmf/wmf.cpp (draw_image): replaced BitBlt() with
4973 StretchBlt(); fixes #92249
4975 2003-08-23 Lars Clausen <lrclause@cs.uiuc.edu>
4977 * app/filedlg.c (file_save_as_callback):
4978 * app/preferences.h:
4979 * app/preferences.c (prefs_data):
4980 * lib/diagramdata.h:
4981 * lib/diagramdata.c (new_diagram_data):
4982 * app/load_save.c (diagram_data_load):
4983 Let the document remember whether it was compressed. The user can
4984 still override this in the Save As... dialog, and that will still
4985 be remembered as the default for new diagrams.
4987 2003-08-23 Steffen Macke <sdteffen@web.de>
4989 * plug-ins/xslt/Makefile.am: added dia-uml2componentlist.xsl
4991 2003-08-22 Steffen Macke <sdteffen@web.de>
4993 * plug-ins/xslt/dia-uml.xsl:
4994 * plug-ins/xslt/dia-uml2componentlist.xsl: generate a HTML file with a
4995 table containing a list of components grouped by stereotype
4997 2003-08-21 Steffen Macke <sdteffen@web.de>
4999 * lib/makefile.msc: added connectionpoint.obj
5000 * lib/libdia.def: added connpoint_update, find_slope_directions
5001 * app/disp_callbacks.c: including scroll_tool.h
5002 * obj/makefile.msc: added component_feature.obj
5003 * app/paginate_gdiprint.c: fixed loop initialization in
5004 paginate_gdiprint(); partial fix for bug #85831 - the scaling is still
5007 2003-08-21 Lars Clausen <lrclause@cs.uiuc.edu>
5009 * plug-ins/python/pydia-object.c (PyDiaObject_MoveHandle): Fix
5012 * lib/diagramdata.h: Colors added to prefs.
5013 * lib/diagramdata.c (new_diagram_data): Set diagram colors from prefs.
5014 New field for pagebreak color, which should
5015 behave the same as grid color and be settable for a diagram.
5017 * app/diagram.c (diagram_init): Update diagram pagebreak color
5020 * app/grid.c (pagebreak_draw): Draw using diagrams pagebreak
5023 * app/preferences.[ch]: Default diagram colors now #defines, so
5024 loading can use it. Also, colors are now in NewDiagramData, so
5025 are passed nicely into new diagrams directly from prefs. Yum.
5027 * app/load_save.c (diagram_data_write_doc, diagram_data_load):
5028 Support for loading and saving grid and pagebreak colors with the
5029 diagram. I'm inclined to make all the three Colors in diagram
5030 Color*s instead, so we can tell if they're specified for the
5031 diagram or merely the default setting. There'd be no way for the
5032 user to tell if the color of a diagram is default, though, unless
5033 we add a 'reset to default' button to prefs.
5035 * app/dia-props.c: Adding widgets for dynamic grid, grid colour,
5036 pagebreak color. Unsensitizing grid size when dynamic.
5038 * objects/UML/component.c: Patch from Krzysztof Foltman
5039 <kfoltman@onet.pl>: Add two new connectionpoints and adjust a
5040 third. Makes the left side connections actually be on the line
5043 2003-08-20 Steffen Macke <sdteffen@web.de>
5045 * lib/libdia.def: added layer_find_closest_object_except
5046 * lib/diagramdata.c: added ; after GOTO to make MSVC compile
5048 2003-08-20 Lars Clausen <lrclause@cs.uiuc.edu>
5052 * app/scroll_tool.c:
5054 * app/disp_callbacks.c:
5055 * app/create_object.h:
5056 * app/create_object.c: Patch from Krzysztof Foltman
5057 <kfoltman@onet.pl>: Middle button can scroll transiently when
5058 menu-bar-mode is on, and mouse wheels (hopefully) can scroll in
5062 * sheets/UML.sheet.in:
5063 * sheets/UML/receptacle.xpm:
5064 * sheets/UML/Makefile.am:
5065 * sheets/UML/eventsource.xpm:
5066 * sheets/UML/eventsink.xpm:
5067 * objects/UML/pixmaps/facet.xpm:
5068 * objects/UML/uml.c (dia_plugin_init):
5069 * objects/UML/Makefile.am (libuml_objects_la_SOURCES):
5070 * objects/UML/component_feature.c:
5071 Patch from W. Borgert <debacle@debian.org>: Add event sources and
5074 2003-08-19 Lars Clausen <lrclause@cs.uiuc.edu>
5076 * lib/object.h: Turning some comments into doxygen style.
5078 * lib/object_defaults.c (dia_object_defaults_load)
5079 (dia_object_default_get, dia_object_default_create):
5080 Fixing up existing documentation.
5082 * lib/object.h: Doxygen style documentation begun.
5084 * app/create_object.c:
5086 * app/connectionpoint_ops.c:
5087 * app/disp_callbacks.c:
5088 * app/modify_tool.c:
5090 * objects/network/wanlink.c (wanlink_move_handle):
5091 * objects/network/bus.c (bus_move_handle):
5093 * objects/flowchart/parallelogram.c (pgram_move_handle):
5094 * objects/flowchart/ellipse.c (ellipse_move_handle):
5095 * objects/flowchart/diamond.c (diamond_move_handle):
5096 * objects/flowchart/box.c (box_move_handle):
5098 * objects/custom/custom_object.c (custom_move_handle):
5100 * objects/chronogram/chronoref.c (chronoref_move_handle):
5101 * objects/chronogram/chronoline.c (chronoline_move_handle):
5103 * objects/SADT/box.c (sadtbox_move_handle):
5104 * objects/SADT/arrow.c (sadtarrow_move_handle):
5105 * objects/SADT/annotation.c (annotation_move_handle):
5107 * objects/Misc/analog_clock.c (analog_clock_move_handle):
5109 * objects/GRAFCET/vergent.c (vergent_move_handle):
5110 * objects/GRAFCET/vector.c (arc_move_handle):
5111 * objects/GRAFCET/transition.c (transition_move_handle):
5112 * objects/GRAFCET/step.c (step_move_handle):
5113 * objects/GRAFCET/condition.c (condition_move_handle):
5114 * objects/GRAFCET/action.c (action_move_handle):
5116 * objects/FS/function.c:
5117 * objects/FS/flow.c:
5118 * objects/FS/flow-ortho.c (orthflow_move_handle):
5119 * objects/FS/flow-poly.c (flow_move_handle):
5121 * objects/UML/usecase.c (usecase_move_handle):
5122 * objects/UML/state_term.c (state_move_handle):
5123 * objects/UML/state.c (state_move_handle):
5124 * objects/UML/small_package.c (smallpackage_move_handle):
5125 * objects/UML/realizes.c (realizes_move_handle):
5126 * objects/UML/object.c (objet_move_handle):
5127 * objects/UML/note.c (note_move_handle):
5128 * objects/UML/node.c (node_move_handle):
5129 * objects/UML/message.c (message_move_handle):
5130 * objects/UML/lifeline.c (lifeline_move_handle):
5131 * objects/UML/large_package.c (largepackage_move_handle):
5132 * objects/UML/implements.c (implements_move_handle):
5133 * objects/UML/generalization.c (generalization_move_handle):
5134 * objects/UML/fork.c (fork_move_handle):
5135 * objects/UML/dependency.c (dependency_move_handle):
5136 * objects/UML/constraint.c (constraint_move_handle):
5137 * objects/UML/compprop.c (compprop_move_handle):
5138 * objects/UML/component.c (component_move_handle):
5139 * objects/UML/branch.c (branch_move_handle):
5140 * objects/UML/association.c (association_move_handle):
5141 * objects/UML/actor.c (actor_move_handle):
5142 * objects/UML/activity.c (state_move_handle):
5143 * objects/UML/class.c (umlclass_move_handle):
5145 * objects/standard/ellipse.c (ellipse_move_handle):
5146 * objects/standard/zigzagline.c (zigzagline_move_handle):
5147 * objects/standard/textobj.c (textobj_move_handle):
5148 * objects/standard/polyline.c (polyline_move_handle):
5149 * objects/standard/polygon.c (polygon_move_handle):
5150 * objects/standard/line.c (line_move_handle):
5151 * objects/standard/image.c (image_move_handle):
5152 * objects/standard/bezier.c (bezierline_move_handle):
5153 * objects/standard/arc.c (arc_move_handle):
5154 * objects/standard/beziergon.c (beziergon_move_handle):
5155 * objects/standard/box.c (box_move_handle):
5157 * objects/ER/relationship.c (relationship_move_handle):
5158 * objects/ER/participation.c (participation_move_handle):
5159 * objects/ER/entity.c (entity_move_handle):
5160 * objects/ER/attribute.c (attribute_move_handle):
5162 * lib/polyshape.c (polyshape_move_handle):
5164 * lib/orth_conn.c (orthconn_move_handle):
5166 * lib/neworth_conn.c (neworthconn_move_handle):
5167 * lib/neworth_conn.h:
5168 * lib/element.c (element_move_handle):
5170 * lib/connection.c (connection_move_handle):
5172 * lib/beziershape.c (beziershape_move_handle):
5173 * lib/beziershape.h:
5174 * lib/bezier_conn.c (bezierconn_move_handle):
5175 * lib/bezier_conn.h:
5176 *BINARY COMPATIBILITY CHANGE*
5177 Update prototype for *_move_handle() to include connectionpoint,
5178 and also pass on modifiers. Pass in connectionpoint where
5181 * lib/dummy_dep.h (dummy_dep): Adding dummy dependencies for new
5182 file connectionpoint.c.
5184 2003-08-17 Danilo Šegan <dsegan@gmx.net>
5186 * configure.in: Added "sr" and "sr@Latn" to ALL_LINGUAS.
5188 2003-08-15 Lars Clausen <lrclause@cs.uiuc.edu>
5190 * lib/object.c (object_copy): Use g_malloc0 instead of g_malloc.
5192 * lib/beziershape.c (beziershape_update_data): Autoroute
5193 directions for beziershapes!
5195 * lib/connectionpoint.c (find_slope_directions):
5196 * lib/connectionpoint.h: Function for finding the available
5197 directions on a slope.
5199 * lib/polyshape.c: Reasonable directions for
5202 2003-08-14 Lars Clausen <lrclause@cs.uiuc.edu>
5204 * objects/Misc/analog_clock.c (analog_clock_update_arrow_tips):
5205 * objects/GRAFCET/vergent.c (vergent_update_data):
5206 * objects/GRAFCET/transition.c (transition_update_data):
5207 * objects/GRAFCET/action.c (action_update_data):
5208 * objects/GRAFCET/step.c (step_update_data):
5209 * objects/FS/function.c (function_update_data):
5210 * lib/connpoint_line.c (connpointline_putonaline):
5211 * objects/ER/attribute.c (attribute_update_data):
5212 * objects/ER/entity.c (entity_update_data):
5213 * objects/ER/relationship.c (relationship_update_data):
5214 * objects/chronogram/chronoline.c (chronoline_update_data): Set
5215 directions for connection points.
5217 * objects/UML/component.c (component_create): Set to allow
5220 * app/create_object.c (create_object_button_press):
5221 * app/diagram.[ch] (diagram_find_clicked_object_except):
5222 * lib/diagramdata.[ch] (layer_find_closest_object_except):
5223 Avoid parenting to objects you're connecting to (otherwise you
5224 couldn't make a connection out of a parenting object). To do
5225 this, added functions to find the nearest object except a given
5228 * app/render_libart.c: Rearrange libart include to avoid multiple
5229 include program (and put libart includes inside #ifdef!)
5231 2003-08-13 Lars Clausen <lrclause@cs.uiuc.edu>
5233 * lib/dialibartrenderer.c: Don't include art_config.h if others
5234 also do, as it isn't #ifdef'd.
5236 * objects/flowchart/ellipse.c (ellipse_update_data): Add
5237 directions for connection points.
5239 2003-08-12 Lars Clausen <lrclause@cs.uiuc.edu>
5241 * objects/flowchart/box.c (box_update_data): Add directions, use
5243 (box_load): Use g_malloc0.
5245 * lib/Makefile.am (libdia_la_SOURCES):
5246 * lib/connectionpoint.c (connpoint_update):
5247 Function to call to update a connection point info in _update_data().
5249 * lib/connectionpoint.h: Convenience DIR_ macros.
5251 * app/preferences.c (prefs_data): Make pretty formatted XML the
5254 * lib/dialibartrenderer.c:
5255 * app/render_libart.c: Make sure art_config.h is included, cause
5256 some libart headers are broken.
5258 * configure.in (HAVE_FREETYPE): Restore CPPFLAGS to old value
5259 after test. Add freetype-config cflags to cflags variable.
5261 2003-08-11 Lars Clausen <lrclause@cs.uiuc.edu>
5263 * app/authors.h: Credits for Krzysztof.
5265 * sheets/Flowchart.sheet.in: Updated descriptions from Krzysztof
5266 Foltman <kfoltman@onet.pl>. It occurs to me that the name (rather
5267 than the description) is visible in the title of the properties
5268 dialog. That ought to be a short description (translatable),
5269 though we still want long descriptions for the tooltips. Hmmm...
5271 * configure.in: Updated to use AC_LINK_IFELSE instead of
5272 AC_TRY_COMPILE, also force to link to check libs on Solaris.
5274 * objects/ER/entity.c (entity_load):
5275 * objects/ER/attribute.c (attribute_load):
5276 * lib/attributes.c (attributes_set_default_font):
5277 Check if font is non-null before unreffing.
5279 2003-08-08 Lars Clausen <lrclause@cs.uiuc.edu>
5281 * app/diagram.c (diagram_ungroup_selected)
5282 (diagram_group_selected): Use the undo apply to make sure grouping
5283 and ungrouping is done in consistent manners. This removes a fair
5284 amount of duplicated code from diagram.c.
5286 * app/undo.c (ungroup_objects_revert, ungroup_objects_apply)
5287 (group_objects_revert, group_objects_apply): Working undo/redo for
5288 diagram tree updates. The initial actions still don't quite work.
5290 2003-08-07 Lars Clausen <lrclause@cs.uiuc.edu>
5292 * app/create_object.c (create_object_button_press):
5294 * app/diagram.c: Undo support for parenting. Uses apply/revert in
5295 undo only for manipulating the parent/child relationships. Things
5296 like removing an object doesn't use the undo functions for
5297 parenting, so any updates to come (like to diagramtree) should be
5300 2003-08-03 Hans Breuer <hans@breuer.org>
5302 * app/create_object.c : minor formating and g_new0 for
5305 * lib/bezier_conn.[hc] lib/beziershape.[hc]
5306 lib/prop_geomtypes.c (prop_geomtypes_register)
5307 objects/standard/bezier.c objects/standard/beziergon.c :
5308 ability to set bezpoints via StdProp api
5310 * plug-ins/python/pydia-property.c : convert list of tuples
5313 * plug-ins/python/diasvg_import.py : use it to
5314 implement part of path parsing. Also minor improvements
5315 like inheritance of group attributes to members,
5316 whitespace, title and style:text/css ignoring ;-)
5318 2003-08-02 Hans Breuer <hans@breuer.org>
5320 * lib/connections.c (connection_move_handle): return
5321 something to make it compile
5322 * lib/object.c(190) : error C4033: 'object_list_move_delta_r'
5323 must return a value -> dito
5324 [Is there a warnings-as-errors switch we could use with gcc
5325 to avoid such in future ?]
5327 * plug-ins/python/pydia-object.h : define *_Check macros
5328 * plug-ins/python/diamodule.c : provide dia.group_create()
5329 * plug-ins/python/pydia-diagramdata.c : add
5330 DiaDiagramData.add_layer()
5331 * plug-ins/python/pydia-property.c : allow to set color by
5334 * plug-ins/python/diasvg_import.py : based on the above
5335 implement a) group support, b) rgb(1,2,3) color handling,
5336 and somewhat fishy data:image/png;base64 support (create
5337 temporary files from inline image data)
5338 d) dump the import errors as text into an 'Error' layer
5340 * plug-ins/python/diasvg.py : add xmlns:xlink, removed a
5341 stray " in draw_rect and corrected error message formating
5343 * plug-ins/pydia/pydia-geometry.c : removed ## to make it
5344 compile with gcc 3.3, fixes bug #117204. Thanks to Daniel
5347 2003-08-01 Hubert Figuiere <hfiguiere@teaser.fr>
5349 * app/magnify.c (create_magnify_tool): allocate with g_new0()
5351 * app/preferences.c (prefs_create_dialog): use checkboxes for boolean
5352 preferences values (see bug 118570). Also group items into a GtkFrame.
5354 2003-07-31 Lars Clausen <lrclause@cs.uiuc.edu>
5359 * app/commands.c (objects_unparent_children_callback):
5361 * app/diagram.c (diagram_unparent_selected,
5362 (diagram_update_menu_sensitivity):
5363 Added unparenting of single children.
5365 * lib/bezier_conn.c:
5366 * lib/bezier_conn.h:
5367 * lib/beziershape.c:
5368 * lib/beziershape.h:
5374 * lib/neworth_conn.c:
5375 * lib/neworth_conn.h:
5382 * objects/EML/instantiation.c:
5383 * objects/EML/interaction-ortho.c:
5384 * objects/EML/interaction.c:
5385 * objects/EML/process.c:
5386 * objects/ER/attribute.c:
5387 * objects/ER/entity.c:
5388 * objects/ER/participation.c:
5389 * objects/ER/relationship.c:
5390 * objects/FS/flow-ortho.c:
5391 * objects/FS/flow-poly.c:
5392 * objects/FS/flow.c:
5393 * objects/FS/function.c:
5394 * objects/GRAFCET/action.c:
5395 * objects/GRAFCET/condition.c:
5396 * objects/GRAFCET/step.c:
5397 * objects/GRAFCET/transition.c:
5398 * objects/GRAFCET/vector.c:
5399 * objects/GRAFCET/vergent.c:
5400 * objects/Misc/analog_clock.c:
5401 * objects/SADT/annotation.c:
5402 * objects/SADT/arrow.c:
5403 * objects/SADT/box.c:
5404 * objects/UML/activity.c:
5405 * objects/UML/actor.c:
5406 * objects/UML/association.c:
5407 * objects/UML/branch.c:
5408 * objects/UML/class.c:
5409 * objects/UML/classicon.c:
5410 * objects/UML/component.c:
5411 * objects/UML/constraint.c:
5412 * objects/UML/dependency.c:
5413 * objects/UML/fork.c:
5414 * objects/UML/generalization.c:
5415 * objects/UML/implements.c:
5416 * objects/UML/large_package.c:
5417 * objects/UML/lifeline.c:
5418 * objects/UML/message.c:
5419 * objects/UML/node.c:
5420 * objects/UML/note.c:
5421 * objects/UML/object.c:
5422 * objects/UML/realizes.c:
5423 * objects/UML/small_package.c:
5424 * objects/UML/state.c:
5425 * objects/UML/state_term.c:
5426 * objects/UML/usecase.c:
5427 * objects/chronogram/chronoline.c:
5428 * objects/chronogram/chronoref.c:
5429 * objects/custom/custom_object.c:
5430 * objects/flowchart/box.c:
5431 * objects/flowchart/diamond.c:
5432 * objects/flowchart/ellipse.c:
5433 * objects/flowchart/parallelogram.c:
5434 * objects/network/bus.c:
5435 * objects/network/wanlink.c:
5436 * objects/standard/arc.c:
5437 * objects/standard/bezier.c:
5438 * objects/standard/beziergon.c:
5439 * objects/standard/box.c:
5440 * objects/standard/ellipse.c:
5441 * objects/standard/image.c:
5442 * objects/standard/line.c:
5443 * objects/standard/polygon.c:
5444 * objects/standard/polyline.c:
5445 * objects/standard/textobj.c:
5446 * objects/standard/zigzagline.c:
5447 Binary compatibility update: Added return value for foo_move() and
5448 foo_move_handle(). Orthconn derivatives also returns change from
5449 orthconn_move_handle().
5451 * lib/orth_conn.c: Undo support for autorouting. Neworthconn
5452 doesn't support it yet.
5454 * lib/object.c (object_list_move_delta_r, object_list_move_delta):
5455 Add returning ObjectChange from object moves. Needs to handle
5456 multiple object moves.
5458 * app/modify_tool.c (modify_motion, modify_release): Add
5459 ObjectChange from move & move_handle to undo stack.
5461 * objects/EML/instantiation.c (instantiation_move): Removing
5462 duplicate move & update.
5464 2003-07-30 Lars Clausen <lrclause@cs.uiuc.edu>
5466 * plug-ins/xfig/xfig-export.c: Added support for arrow head
5467 export. Many arrow types not supported by XFig, replacing those
5468 with standard arrows. Not sure whether it'd be better to render
5469 them as a group of lines instead. You'd lose the arrow-ness for
5470 further editing, but preserve the actual shape of it. Also added
5471 support for dash length.
5473 * plug-ins/xfig/xfig-import.c: Added support for dash length settings.
5475 * plug-ins/xfig/fig-format-3.2: Added copy of Fig format
5476 description for version 3.2, for reference.
5478 * plug-ins/xfig/xfig-import.c: Added import of arrows.
5480 * app/menus.c: Removed prefs item from Gnome diagram menu. Made
5481 Align Vertical Adjacent call _v rather than _h.
5483 2003-07-29 Hubert Figuiere <hfiguiere@teaser.fr>
5485 * app/scroll_tool.c (create_scroll_tool):
5486 * app/modify_tool.c (create_modify_tool): use g_new0() to
5489 2003-07-29 Lars Clausen <lrclause@cs.uiuc.edu>
5491 * configure.in: Added proper settings for XSLT_LIBS and XSLT_CFLAGS.
5493 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
5495 * configure.in: Added Macedonian (mk) to ALL_LINGUAS
5497 2003-07-23 Dmitry G. Mastrukov <dmitry@taurussoft.org>
5499 * configure.in: Added Belarusian to ALL_LINGUAS.
5501 2003-07-19 Hans Breuer <hans@breuer.org>
5504 Make the xslt plug-in work on win32, too. It appears
5505 to require a quite recent version of libxml and libxslt,
5506 otherwise windoze pathes aren't translated correctly
5507 during file processing
5510 * plug-ins/xslt/xslt.h : #include <glib.h> before
5513 * plug-ins/xslt/xslt.c : plugged some memory leaks and do
5514 the 'script' file finding similar to how it is done
5515 with the python scripts (no need for hardcoded pathes,
5516 removed the 'plugin' part from the path)
5518 * plug-ins/xslt/stylesheets.xml : added again. It does
5519 not have any path but only the pure filename again
5521 * plug-ins/xslt/stylesheets.xml.in : removed
5523 * plug-ins/xslt/Makefile.am : removed 'plugin' and the
5524 rule to process stylesheets.xml.in
5526 * plug-ins/makefile.msc : added xslt
5528 2003-07-19 Hans Breuer <hans@breuer.org>
5530 Finally Dia learned to remember the recent selected sheet
5532 * app/preferences.[hc] : added prefs.recent_sheet
5533 * app/interface.c : restore and remember the sheet-option-menu
5534 history, but only if the respective number is stiil available.
5535 This additional adds robustness against running Dia without
5536 any sheet (e.g. installation problems)
5537 * app/app_procs.c : call prefs_safe() in app_exit() to remember
5538 changes which are not done by the prefernces dialog
5540 * app/diagram_tree_menu.c app/diagram_tree_menu_callbacks.c :
5541 removed every call (especially the conditional ones) to prefs_safe().
5542 Before prefs_safe() was called _many_ times during Dia startup
5544 2003-07-18 Hans Breuer <hans@breuer.org>
5546 * app/makefile.msc lib/makefile.msc lib/libdia.def :
5549 * lib/color.c : use gtk_widget_get_default_visual();
5550 as suggested in #114536
5552 * app/interface.c app/disp_callbacks.c :
5553 moved round_up () to the latter file where it is used
5555 * app/linewidth_area.c : #include "interface.h" for
5556 interface_get_toolbox_shell()
5558 2003-07-18 Hubert Figuiere <hfiguiere@teaser.fr>
5560 * plug-ins/pixbuf/.cvsignore
5561 * shapes/Cisco/.cvsignore:
5564 2003-07-17 Lars Clausen <lrclause@cs.uiuc.edu>
5566 * app/dia-props.c (diagram_properties_retrieve): Use
5567 diagram_get_name() to add the diagram name to the diagram
5571 * app/diagram.c (diagram_get_name): New function to get a
5572 reasonable diagram name.
5574 * lib/diagramdata.h: Added major_lines, dynamic and colour to grid
5575 info. Still need to be able to set dynamic grid. Also ought to
5576 follow Gnome style and have instant apply.
5578 * app/preferences.h:
5579 * app/preferences.c (prefs_data): Remove option to use stippled
5580 grid, add option for major line offset. Default to 5 minor lines
5582 Add option for dynamically sized grid.
5584 * app/display.c (ddisplay_render_pixmap): Call pagebreak_draw as well.
5586 * app/grid.c: Pagebreak drawing separated out. Grid drawing using
5587 stippled/solid to display minor/major grid lines. Line drawing in
5588 separate functions away from calculating line distance.
5590 * app/grid.h: Split page break drawing out of grid_draw.
5592 * app/layer_dialog.c (layer_dialog_show): Patch from Hubert
5593 Figuiere <hfiguiere@teaser.fr>: Layer dialog show go to front
5594 when menu item is selected.
5596 2003-07-15 Lars Clausen <lrclause@cs.uiuc.edu>
5598 * configure.in: Removed -Winline flag to make way for important
5601 * samples/UML-demo.dia: Adjusted for 0.91 font size, saved as
5602 non-compressed. Should fix bug #117381, also look prettier.
5605 * dia.desktop.in: Patch from Mark McLoughlin <mark@skynet.ie>:
5606 Set up desktop info more properly.
5608 2003-07-13 Lars Clausen <lrclause@cs.uiuc.edu>
5625 Autorouting directions patch from Krzysztof Foltman
5628 * app/menus.c: Wrong GNOME paren fixed. Correct callbacks for
5629 GNOME parent menu items.
5631 * app/authors.h: Added Vadim to contributors list.
5633 2003-07-12 Lars Clausen <lrclause@cs.uiuc.edu>
5635 * app/commands.[ch]:
5636 * app/create_object.c:
5637 * app/disp_callbacks.[ch]:
5648 * objects/UML/large_package.c: Patch from Vadim Berezniker
5649 <vadim@berezniker.com>:
5650 Objects may "parent" other objects, i.e. contain them within
5651 themselves, restrain them and move them along. Some more stuff is
5652 needed, such as selection and individual unparenting. This adds
5653 parenting to UML - Large Package rather than Box.
5655 2003-07-11 Lars Clausen <lrclause@cs.uiuc.edu>
5657 * app/linewidth_area.c: Patch from Krzysztof Foltman
5658 <kfoltman@onet.pl>: Make linewidth dialog conform to HIG (well,
5659 conform more, at least:).
5661 * plug-ins/metapost/render_metapost.[ch] : Applied patch from
5662 Chris Sperandio <sperandi@eng.usf.edu>: Fixed linewidths and
5663 arcs. Implemented images (though there is some pixelization and
5664 banding in the output). Changed output file format to be a little
5667 * app/app_procs.c (app_exit): Added message for double exit, which
5668 shouldn't happen any more. Also preventing strange g_object_unref
5669 messages by having a printf after gtk_main_quit. This is really
5672 * app/interface.c (toolbox_delete): Avoid double app_exit call by
5673 removing handler for destroy when delete is called.
5675 2003-07-07 Lars Clausen <lrclause@cs.uiuc.edu>
5678 * app/display.c (ddisplay_scroll_to_object,
5679 ddisplay_scroll_center_point): New function for easy scrolling to
5682 2003-07-06 Lars Clausen <lrclause@cs.uiuc.edu>
5684 * plug-ins/xslt/Makefile.am: Patch from Hubert Figuiere: Add
5685 $(srcdir) on stylesheets.xml.
5687 * app/menus.c: Patch from Hubert Figuiere: Adds help menu to
5688 diagram menus (since they're at the top by default now). Also
5689 move the Properties... menu item from Dialogs to Objects. Dialogs
5690 menu should disappear at some point.
5692 * autogen.sh: Patch from Hubert Figuiere: Don't automatically call
5693 ./configure from ./autogen.sh, as configure may need to be run
5694 from a different directory. (Also more standard this way.)
5696 * app/app_procs.c (app_init):
5697 * app/Makefile.am (INCLUDES): Gnome standardization patch from
5700 2003-07-03 Lars Clausen <lrclause@cs.uiuc.edu>
5702 * objects/flowchart/parallelogram.c (pgram_update_data):
5703 Left/right alignment for parallelograms. Doesn't use all
5704 available space, but then pgrams also ignore their shear value.
5705 This thing needs a loving hand.
5707 2003-07-01 Hans Breuer <hans@breuer.org>
5709 * lib/properties.h : introduce PROP_FLAG_OPTIONAL
5710 * lib/proplist.c : don't complain if optional attr is missing
5711 * lib/orth_conn.h : make "orth_autoroute" optional to
5712 stop complaining with older files.
5714 2003-06-13 Guntupalli Karunakar <karunakar@freedomink.org>
5716 * configure.in: Added "ml" for Malayalam in ALL_LINGUAS.
5718 2003-06-05 Andrew Halper <ashalper@cox.net>
5720 * app/diagram_tree.c : add scrolling of drawing area
5721 to desired object on "Locate". Patch modified to use new ddisplay
5722 function ddisplay_scroll_to_object().
5724 2003-06-11 Lars Clausen <lars@raeder.dk>
5726 * lib/diagramdata.h: Added major_lines, dynamic and colour to grid
5727 info. Before next version, the grid dialog (view dialog, really)
5728 must be redone to allow a) instant apply, b) apply to all
5729 diagrams, and c) setting colour, dynamic, major lines.
5731 * app/preferences.h:
5732 * app/preferences.c (prefs_data): Remove option to use stippled
5733 grid, add option for major line offset. Default to 5 minor lines
5735 Add option for dynamically sized grid.
5737 * app/display.c (ddisplay_render_pixmap): Call pagebreak_draw as well.
5739 * app/grid.c: Pagebreak drawing separated out. Grid drawing using
5740 stippled/solid to display minor/major grid lines. Line drawing in
5741 separate function away from calculating line distance.
5743 * app/grid.h: Split page break drawing out of grid_draw.
5745 2003-05-15 Hans Breuer <hans@breuer.org>
5747 * plug-ins/python/diasvg.py : add xlink definition,
5748 also avoid to put spaces into attribute values. At least
5749 Sodipodi doesn't like them in width/height attributes
5751 * plug-ins/python/diasvg_import.py : add simple scaling.
5752 Some (more) handling for <svg>, <desc>, <circle>
5754 * plug-ins/python/scascale.py : (new file) which does
5755 some experimental scaling via StdProp api
5757 * plug-ins/python/pydia-cpoint.c
5758 plug-ins/python/pydia-handle.c : return PyDiaPoint for
5759 obj.pos not simple tuples. PyDiaPoint has a tuple interface
5760 so this may even be api compatible ...
5762 2003-05-11 Hans Breuer <hans@breuer.org>
5764 * app/line_area.c : add window position persitence
5766 * lib/poly_conn.[hc] lib/polyshape.[hc] : allow to set
5767 'poly_points' via StdProp api
5768 * lib/neworth_conn.h : don't rely on OrthConn and
5769 NewOrtConn having the same struct offsets
5771 * lib/properties.h : introduce PROP_FLAG_WIDGET_ONLY
5772 to help separating 'useful' properies - in terms of
5775 * objects/custom/custom_object.c
5777 add the missing prop_desc_list_calculate_quarks to
5778 all the *_describe_props()
5780 * objects/standard/beziergon.c objects/standard/bezier.c :
5781 explicit initializtion of default_user_data
5782 * objects/standard/polygon.c objects/standard/polyline.c :
5783 Same here. Also use POLY<CONN|SHAPE>_COMMON_PROPERTIES
5785 * plug-ins/python/diamodule.c : implement dia.register_import
5787 * plug-ins/python/makefile.msc : need to link with Pango
5788 for pango_color_parse()
5790 * plug-ins/python/pydia-property.c : add a bunch of type
5791 conversions to PyDiaProperty_ApllyToObject()
5793 * plug-ins/python/diasvg_import.py : (new file) which currently
5794 is mainly a stress test for PyDia but for some files already
5795 produces better results than svg-import.c
5797 2003-05-06 Lars Clausen <lrclause@cs.uiuc.edu>
5799 * objects/UML/uml.c (uml_get_operation_string): Avoid ':' on
5800 type-less operations.
5802 003-05-03 Hasbullah Bin Pit <sebol@ikhlas.com>
5804 * configure.in(ALL_LINGUAS): Added "ms".
5806 2003-05-01 Lars Clausen <lrclause@cs.uiuc.edu>
5808 * plug-ins/xslt/xslt.c (xslt_ok):
5809 * plug-ins/shape/shape-export.c (new_shape_renderer):
5810 * plug-ins/svg/render_svg.c (new_svg_renderer):
5811 * plug-ins/hpgl/hpgl.c (export_data):
5812 * plug-ins/dxf/dxf-export.c (export_dxf):
5813 * plug-ins/metapost/render_metapost.c (export_metapost):
5814 * plug-ins/pstricks/render_pstricks.c (export_pstricks):
5815 * plug-ins/xfig/xfig-export.c (export_fig):
5816 * plug-ins/wpg/wpg.c (export_data):
5817 * plug-ins/cgm/cgm.c (export_cgm):
5818 * app/render_eps.c (export_eps):
5819 * app/export_png.c (export_png_ok):
5820 * app/load_save.c (diagram_data_save): Adding and standardizing
5821 output file error messages to include fopen error message.
5823 2003-05-01 Steffen Macke <sdteffen@web.de>
5825 * app/persistence.c: do not use unistd.h for MSVC build
5827 2003-04-30 Lars Clausen <lrclause@cs.uiuc.edu>
5829 * sheets/Assorted.sheet.in
5830 * sheets/Circuit.sheet.in
5831 * sheets/Contact.sheet.in
5832 * sheets/EML.sheet.in
5833 * sheets/ER.sheet.in
5834 * sheets/Electric.sheet.in
5835 * sheets/FS.sheet.in
5836 * sheets/Flowchart.sheet.in
5837 * sheets/GRAFCET.sheet.in
5838 * sheets/Logic.sheet.in
5839 * sheets/MSE.sheet.in
5840 * sheets/Misc.sheet.in
5841 * sheets/Pneumatic.sheet.in
5842 * sheets/SADT.sheet.in
5843 * sheets/SDL.sheet.in
5844 * sheets/UML.sheet.in
5845 * sheets/chronogram.sheet.in
5846 * sheets/ciscohub.sheet.in
5847 * sheets/ciscomisc.sheet.in
5848 * sheets/cisconetwork.sheet.in
5849 * sheets/ciscorouter.sheet.in
5850 * sheets/civil.sheet.in
5851 * sheets/network.sheet.in
5852 * sheets/sybase.sheet.in:
5853 Patch from Jan-Willem Harmanny <jwharmanny@zeelandnet.nl>
5854 standardizes shape descriptions to use no articles, no 'create
5857 * app/interface.c (tool_data): Standard objects follow same
5860 2003-04-29 Lars Clausen <lrclause@cs.uiuc.edu>
5862 * app/color_area.c (color_area_edit): More informative title on
5863 color selection dialog.
5865 * app/disp_callbacks.c (ddisplay_drop_object): Update menu
5866 sensitivity when dropping object in. Also reset tool to pointer.
5868 * objects/flowchart/diamond.c (diamond_update_data):
5869 * objects/flowchart/parallelogram.c (pgram_update_data): Added
5870 left and right alignment options.
5872 2003-04-28 Lars Clausen <lrclause@cs.uiuc.edu>
5874 * objects/flowchart/box.c: Added left and right alignment options.
5876 2003-04-26 Lars Clausen <lrclause@cs.uiuc.edu>
5878 * app/persistence.c (persistence_load): Test existence of
5879 persistence file before trying to open it.
5881 2003-04-25 Lars Clausen <lrclause@cs.uiuc.edu>
5883 * app/properties.c: Escape now closes properties dialogs.
5885 2003-04-25 Hans Breuer <hans@breuer.org>
5887 * app/config.h.win32 : bump version to 0.91+cvs
5889 * app/makefile.msc lib/makefile.msc lib/libdia.def : updated
5891 * lib/dia_dirs.c : G_OS_WIN32: #define mkdir(s,a) _mkdir(s)
5893 * app/commands.c : don't leak "netscape" if getenv("BROWSER")
5896 * app/presistence.c : need to #include "dia_xml_libxml.h"
5899 * app/layer_dialog.c : make delayed creation work by protecting
5900 all non static layer_dialog_*() with :
5901 if (layer_dialog == NULL || layer_dialog->dialog == NULL)
5902 create_layer_dialog();
5903 * app/app_procs.c : removed /* create_layer_dialog(); */
5905 * objects/uml/association.c : give it a minimal StdProp
5906 implementation to fix bug #108896
5907 * lib/object_defaults.c : don't try to copy props if there
5908 is no obj->ops->describe_props
5910 2003-04-24 Lars Clausen <lrclause@cs.uiuc.edu>
5912 * objects/standard/image.c (image_create):
5913 * objects/standard/ellipse.c (ellipse_create):
5914 * objects/standard/box.c (box_create):
5915 * objects/flowchart/ellipse.c (ellipse_create):
5916 * objects/flowchart/diamond.c (diamond_create):
5917 * objects/flowchart/box.c (box_create):
5918 * objects/custom/custom_object.c (custom_create):
5919 * objects/ER/relationship.c (relationship_create):
5920 * objects/ER/entity.c (entity_create):
5921 * objects/ER/attribute.c (attribute_create): Initialize
5922 elem->height to DEFAULT_HEIGHT instead of DEFAULT_WIDTH.
5924 * lib/dia_svg.c (dia_svg_parse_style): Added case to set center
5928 * plug-ins/Makefile.am:
5929 * plug-ins/xslt/Makefile.am:
5930 * plug-ins/xslt/xslt.c (dia_plugin_init):
5931 Patch from Götz Waschk <waschk@informatik.uni-rostock.de> uses
5932 automake-style if to only include xslt dir when needed. Works
5933 with automake 1.4 and up, at least.
5935 2003-04-22 Lars Clausen <lrclause@cs.uiuc.edu>
5937 * lib/diasvgrenderer.c (draw_string):
5938 * lib/dia_svg.c (dia_svg_parse_style): Use
5939 text-anchor:(start|middle|end).
5941 * lib/diasvgrenderer.c (draw_polygon, fill_polygon): Use svg
5942 polygon rather than polyline & avoid missing line pieces.
5943 (get_draw_style): Set fill-opacity to 0 on draw_style to avoid
5944 black-filled things.
5946 2003-04-21 Lars Clausen <lrclause@cs.uiuc.edu>
5948 * app/persistence.c (persistence_load): Check that persistence
5949 file exists before trying to read it.
5950 (persistence_update_window): Removed printf.
5952 * objects/GRAFCET/step.c: Don't copy defaults for name and id.
5954 * lib/autoroute.c: Take badness into the layouters again, as some
5955 of them know they can do things that are pretty but would be
5956 counted as ugly by the default calculation.
5958 * objects/UML/large_package.c: Shrink package name box when no
5959 stereotype is present.
5961 * lib/orth_conn.h (ORTHCONN_COMMON_MENUS):
5962 * lib/orth_conn.c: Added object menu item for autorouting.
5964 * objects/FS/flow-ortho.c (orthflow_get_object_menu):
5965 Autorouting, plus set initial dragging handle to be the end, not
5967 (orthflow_draw): Flipped arrow place to be at the end, as
5968 originally intended (got lost in arrow update).
5970 * objects/standard/zigzagline.c (zigzagline_get_object_menu):
5971 * objects/UML/dependency.c (dependency_get_object_menu):
5972 * objects/UML/association.c (association_get_object_menu):
5973 * objects/UML/realizes.c (realizes_get_object_menu):
5974 * objects/SADT/arrow.c (sadtarrow_get_object_menu):
5975 * objects/GRAFCET/vector.c (arc_get_object_menu):
5976 * objects/ER/participation.c (participation_get_object_menu):
5977 * objects/EML/instantiation.c (instantiation_get_object_menu):
5978 * objects/UML/generalization.c (generalization_get_object_menu):
5979 * objects/EML/interaction-ortho.c (interaction_ortho_get_object_menu):
5980 Autorouting setup (currently disabled for SADT/arrow).
5982 2003-04-19 Lars Clausen <lrclause@cs.uiuc.edu>
5984 * lib/autoroute.c: Removed printfs.
5987 * lib/autoroute.[ch] (autoroute_layout_orthconn): Handle
5988 non-connected orthconns too.
5990 2003-04-18 Lars Clausen <lrclause@cs.uiuc.edu>
5993 * lib/orth_conn.c: Function to set autorouting on/off, use
5994 autorouting in move_handle (turns off when a middle handle is
5995 moved), added to standard orthconn props.
5997 * app/disp_callbacks.c (create_object_menu, popup_object_menu):
5998 Stopped signal emission for check menu items being set to on/off.
6000 * objects/standard/zigzagline.c: Added autorouting object menu item.
6002 * lib/autoroute.c: Added last cases of autoroute layout, fixed
6003 floating point comparison bug, cleaned up layouters, tweaked
6004 badness to allow kinks.
6006 2003-04-17 Lars Clausen <lrclause@cs.uiuc.edu>
6008 * lib/connectionpoint.h: Changed DIR_* macros to go around the
6011 * lib/orth_conn.[ch] (orthconn_set_points): New function to set all
6013 * objects/standard/zigzagline.c (zigzagline_move_handle): Removed
6014 old cruft, added call to autoroute (currently cannot be turned
6015 off). Need to check what undo thinks about this.
6016 * lib/autoroute.[ch]: Fairly working simple layout.
6018 * lib/Makefile.am (libdia_la_SOURCES): Added autoroute files.
6019 * lib/autoroute.[ch]: Start of proper autorouting functionality.
6021 2003-04-10 Lars Clausen <lrclause@cs.uiuc.edu>
6023 * lib/prop_widgets.c: Show labels on ListProp.
6025 2003-04-11 Steffen Macke <sdteffen@web.de>
6027 * doc/en/dia-manual.xml: removed reference of non-existing authors
6029 * doc/en/usage-objects-selecting: commented out misleading section
6032 2003-04-10 Lars Clausen <lrclause@cs.uiuc.edu>
6034 * app/app_procs.c (app_init): Layer window now opened at startup
6037 * lib/prop_widgets.c: Show labels on ListProp.
6039 2003-04-09 Steffen Macke <sdteffen@web.de>
6041 * doc/en/*.sgml: removed files
6042 * doc/en/*.xml: added files
6043 * doc/en/Makefile.am: switched to XML DocBook
6045 2003-04-09 Lars Clausen <lrclause@cs.uiuc.edu>
6047 * plug-ins/xslt/xslt.c (dia_plugin_init):
6048 * configure.in: Added --with-xslt-prefix to allow other XSLT
6049 placements than /usr/lib.
6051 2003-04-09 Steffen Macke <sdteffen@web.de>
6053 * lib/makefile.mingw: updated to include latest files, including
6055 * lib/geometry.h: don't define isinf and finite for mingw gcc build
6057 2003-04-08 Lars Clausen <lrclause@cs.uiuc.edu>
6059 * app/persistence.h:
6060 * app/persistence.c (persistence_register_window_create):
6061 * app/app_procs.c (app_init):
6062 Register window function that doesn't create the window unless it
6063 should be open. Other windows should move to this, so startup
6064 speed can be reduced.
6066 * app/persistence.h: Removed call prototype for update_window, now
6068 * app/persistence.c (persistence_register_window): A number of
6069 fixes. Doesn't forget position when window is closed. Now
6070 actually loads prefs.
6072 * app/layer_dialog.c (create_layer_dialog): Removed extraneous
6075 * app/preferences.c (prefs_data):
6076 * app/diagram_tree_window.h:
6077 * app/diagram_tree_window.c: Added persistence registering.
6078 Removed prefs items storing size and openness.
6080 * app/sheets_dialog.c (create_sheets_main_dialog): Added
6081 persistence registering.
6083 * app/Makefile.am (dia_core_files): Added persistence files.
6086 * lib/dia_dirs.c (dia_config_ensure_dir): New function to ensure
6087 that dirs are present.
6089 * app/app_procs.c (app_init): Loads persistent values on startup.
6090 (app_exit): Saves persistent values on exit.
6092 * app/layer_dialog.c (create_layer_dialog): Registers the layer
6093 window for persistence.
6095 * app/persistence.[ch]: New files handling various kinds of
6098 2003-04-04 Lars Clausen <lrclause@cs.uiuc.edu>
6100 * lib/arrows.c: Adjusted arrow head spacing, more systematic arrow
6101 head spacing calculations. Added half-circle arrow from Matthieu
6102 Sozeau <mattam@netcourrier.com>
6104 2003-04-03 Lars Clausen <lrclause@cs.uiuc.edu>
6106 * app/app_procs.c (app_init): Moved layer dialog init to allow
6107 tooltips to be initialized.
6109 * app/interface.c (create_display_shell): More tooltips.
6111 * app/linewidth_area.c (linewidth_area_create)
6112 (linewidth_area_events):
6113 * app/color_area.c (color_area_events, color_area_create):
6114 Made tooltips work by embedding drawing_area in event_box.
6116 * app/interface.c (create_display_shell,
6117 (create_lineprops_area, create_color_area): Added a few tooltips.
6119 2003-04-01 Lars Clausen <lrclause@cs.uiuc.edu>
6121 * app/pixmaps/off-grid.xpm:
6122 * app/pixmaps/on-grid.xpm:
6123 * app/Makefile.am (EXTRA_DIST): Added snap to grid icons.
6126 * app/commands.c (view_snap_to_grid_callback):
6127 * app/display.c (ddisplay_set_snap_to_grid)
6128 (update_snap_grid_status):
6129 * app/interface.c (create_display_shell, grid_toggle_snap):
6130 Added snap-to-grid status button.
6132 2003-03-31 Lars Clausen <lrclause@cs.uiuc.edu>
6134 * app/app_procs.c (app_init): Create a new diagram if a file on
6135 the command line isn't found.
6137 2003-03-17 Lars Clausen <lrclause@cs.uiuc.edu>
6139 * lib/dialibartrenderer.c (draw_string): Correct color handling
6142 2003-03-14 Lars Clausen <lrclause@cs.uiuc.edu>
6145 * doc/en/dia-manual.sgml:
6146 * doc/pl/dia-manual.sgml:
6148 * dia.spec (Release):
6149 Version 0.91 is here!
6151 2003-02-10 Steffen Macke <sdteffen@web.de>
6153 * plug-ins/wmf/wmf.cpp: patch from Ken Tsukahara
6154 <ken.tsukahara@tmt-d.co.jp>, fixes windows printing and WMF export of
6155 non-ANSI characters, closes #107980
6157 2003-03-04 Lars Clausen <lrclause@cs.uiuc.edu>
6161 * dia.spec (Release):
6162 * doc/en/dia-manual.sgml: Upping to pre6.
6164 * configure.in: Missing comma broke HAVE_IEEEFP_H test.
6166 * app/lineprops_area.c (dia_arrow_chooser_new): Fixing bug
6167 #107511: Make arrow selector for correct arrow type.
6169 2003-03-03 Lars Clausen <lrclause@cs.uiuc.edu>
6171 * shapes/Circuit/Makefile.am (SHAPES): Added hjumper.png to
6174 2003-03-02 Lars Clausen <lrclause@cs.uiuc.edu>
6176 * doc/en/dia-manual.sgml:
6179 * dia.spec (Release): Upping to pre5.
6181 * configure.in: Add freetype-config derived libs to the
6182 AC_CHECK_LIB statement for freetype.
6184 2003-02-28 Hans Breuer <hans@breuer.org>
6186 [fix for bug #107203]
6188 * lib/diarenderer.c : add warning 'implementation'
6189 for fill_rect to avoid crashing with a renderer
6190 which does not implement this required function.
6192 * plug-ins/dxf/dxf-export.c : provide - still empty -
6193 'implementations' for fill_rect and fill_polygon
6194 to suppress the above warnings. Now it works like
6197 2003-02-28 Steffen Macke <sdteffen@web.de>
6199 * samples/all_objects.dia: New sheet containing all dia shapes
6200 and objects; one layer per sheet
6202 2003-02-28 Lars Clausen <lrclause@cs.uiuc.edu>
6204 * lib/prop_text.c (multistringprop_get_widget,
6205 multistringprop_reset_widget, multistringprop_set_from_widget):
6206 Now uses GtkTextView instead of deprecated stuff, and also works:)
6208 * configure.in: Slightly more informative error message for isinf.
6210 * dia.spec (Requires): Require libxml2 rather than libxml.
6212 2003-02-28 Steffen Macke <sdteffen@web.de>
6214 * shapes/Circuit/hjumper.png:
6215 * shapes/Circuit/hjumper.shape: added missing icon for horizontal
6218 2003-02-26 Lars Clausen <lrclause@cs.uiuc.edu>
6220 * doc/en/dia-manual.sgml:
6222 * dia.spec (Release):
6223 * NEWS: New prerelease 0.91pre4, two important fixes.
6225 2003-02-25 Lars Clausen <lrclause@cs.uiuc.edu>
6227 * plug-ins/xslt/Makefile.am (EXTRA_DIST): Also dist
6230 * app/commands.c (help_manual_callback): More correct URL for help
6231 page (include file://, was broken on Dillo without it).
6233 2003-02-24 Lars Clausen <lrclause@cs.uiuc.edu>
6235 * app/disp_callbacks.c: Set modifed when text is changed.
6237 * app/modify_tool.c (modify_button_release): Allow undo for moving
6240 2003-02-16 Lars Clausen <lrclause@cs.uiuc.edu>
6243 * doc/en/dia-manual.sgml:
6245 * configure.in: New prerelease with important bugfix.
6246 * shapes/network/digitizing_board.png:
6247 * shapes/network/plotter.png: Re-adding with -kb.
6249 2003-02-17 Abel Cheung <maddog@linux.org.hk>
6251 * app/app_procs.c (app_init): Add comment for translators.
6253 2003-02-16 Lars Clausen <lrclause@cs.uiuc.edu>
6255 * lib/filter.c (filter_register_import, filter_register_export):
6256 Don't accept filters with NULL description.
6258 * lib/plug-ins.c (dia_plugin_load): Fail if there's no description
6259 (as we assume the description is available in other places).
6261 2003-02-15 Lars Clausen <lrclause@cs.uiuc.edu>
6263 * app/disp_callbacks.c (ddisplay_vsb_update, ddisplay_hsb_update):
6264 * app/display.c (ddisplay_resize_canvas): Use
6265 ddisplay_add_update_all().
6266 (ddisplay_add_update_all): Free display and update lists when
6267 doing update_all, as they'll be regenerated immediately to cover
6268 all visible area. Fixes bug #106165, crash when resizing. This
6269 appears to be the original AA crash bug, believed long extinct.
6271 2003-02-13 Lars Clausen <lrclause@cs.uiuc.edu>
6273 * app/commands.c (help_manual_callback): Use file: protocol for
6276 * plug-ins/xslt/.cvsignore: Ignore .o files, please.
6278 * plug-ins/xslt/stylesheets: Removed old-style config file.
6280 * plug-ins/xslt/stylesheets.xml.in: New XML-based config file.
6282 * plug-ins/xslt/Makefile.am:
6283 * plug-ins/xslt/xslt.c: Applied patch from Matthieu, improved path
6284 handling (no more DIA_PLUGIN_PATH).
6286 2003-02-11 Lars Clausen <lrclause@cs.uiuc.edu>
6288 * plug-ins/svg/render_svg.c:
6289 * lib/diasvgrenderer.c: Fixed numeric localized output issues.
6291 2003-02-10 Lars Clausen <lrclause@cs.uiuc.edu>
6293 * objects/SADT/arrow.c (sadtarrow_draw): Clamp cosa, cosb to
6294 [-1.0, 1.0]. Shouldn't be necessary, but in some cases the
6295 side of the triangle is longer than the hypotenuse. Rounding
6298 2003-02-09 Lars Clausen <lrclause@cs.uiuc.edu>
6302 * doc/en/dia-manual.sgml: Update for pre2.
6304 * app/menus.c (display_menu_items): Fixed wrongly place separators.
6306 * objects/flowchart/box.c (box_update_data): Applied patch from
6307 Eivind Tagseth <eivind-gnome@multinet.no> to allow resize (with
6310 * app/paginate_psprint.c (print_page): Set paper name, so it
6311 convinces ps printers to use to right size.
6313 2003-02-07 Lars Clausen <lrclause@cs.uiuc.edu>
6315 * app/properties.c (properties_show): Hide the dialog if the
6316 object is NULL (get rid of 'no properties' randomly popping up).
6318 2003-02-06 Lars Clausen <lrclause@cs.uiuc.edu>
6320 * plug-ins/pixbuf/pixbuf.c (export_data): Adjust width and height
6321 for diagrams not starting at origo.
6323 2003-02-05 Lars Clausen <lrclause@cs.uiuc.edu>
6325 * dia.spec (BuildRequires): Use libxml2-devel.
6327 * plug-ins/pixbuf/Makefile.am: Added to CVS.
6329 * RELEASE-PROCESS: Note on RPM version numbers.
6331 * app/interface.c (create_display_shell): Don't set as toolbar
6332 under Unix, either. Especially not the diagram shell. It removes
6333 it from the taskbar and makes it unresizable, always-on-top with
6334 OpenBox. TOOLBAR != TOOLBOX. Setting toolbox to the only
6335 appropriate thing, UTILITY, is not good either, you lose resizing
6336 and minimizing/maximizing under OpenBox.
6338 * app/menus.c (display_menu_items): Set delete item to use Delete.
6340 2003-02-04 Lars Clausen <lrclause@cs.uiuc.edu>
6342 * dia.spec (BuildRequires, Requires): Updated for Gtk2
6345 * app/disp_callbacks.c (ddisplay_canvas_events): Only add a
6346 display flush when getting focus in, or we may get an update after
6347 the diagram has been destroyed in some cases. Fixes bug #105221.
6349 * plug-ins/xfig/xfig-import.c: Notes on the splines used by XFig.
6351 * lib/diarenderer.c: Notes on the basis matrix for our beziers.
6353 * app/app_procs.c (app_init): Fixed missing popt context for Gnome
6354 - gnome-compiled Dia will now read files specified on the command line.
6356 2003-02-03 Lars Clausen <lrclause@cs.uiuc.edu>
6358 * INSTALL (REQUIREMENTS): Updated requirements section.
6360 * configure.in: Better finite() check from Mårten Svantesson
6361 <f95-msv@nada.kth.se>. Doesn't seem to generate strange dangly
6364 2003-02-03 Lars Clausen <lrclause@cs.uiuc.edu>
6366 * plug-ins/xfig/xfig-import.c: Notes on spline conversions.
6368 * app/app_procs.c (debug_break): Added some code to avoid
6369 over-eager optimizations removing the call. Surely there's a
6370 nicer way, but I'm not sure how.
6372 * app/diapsft2renderer.c (draw_bezier_outline): Removed paps relic
6373 that set text to black.
6375 2003-02-02 Lars Clausen <lrclause@cs.uiuc.edu>
6377 * NEWS: Mention of Twiki as doc source for Python.
6379 * plug-ins/pixbuf/pixbuf.c: Export with pixbuf if
6380 libart/libpng is not available. Later when we have a way of
6381 letting the user pick options in the file select dialog we shall
6382 allow the choice when applicable.
6384 2003-02-02 Steffen Macke <sdteffen@web.de>
6386 * doc/en/usage-loadsave.sgml:
6387 * doc/en/usage-objects.sgml: patch from
6388 James K. Lowden <jklowden@schemamania.org> to fix
6391 2003-02-01 Lars Clausen <lrclause@cs.uiuc.edu>
6393 * plug-ins/Makefile.am (SUBDIRS):
6394 * plug-ins/pixbuf/pixbuf.c:
6395 * plug-ins/pixbuf/Makefile.am:
6397 Added pixbuf plugin to Makefile.am, but for import only. PNG
6398 export handled by libart, which is better. JPG export is
6399 discouraged. BMP is not much used on Unix. Next release will
6400 integrate libart to allow all outputs.
6402 2003-02-01 Hans Breuer <hans@breuer.org>
6404 * app/preferences.c :
6406 the last two dialogs with 'old' button order finally
6407 are converted to gtk2, no GnomeDialog in all of Dia
6410 2003-02-01 Hans Breuer <hans@breuer.org>
6412 * app/filedlg.c : don't try to use a button as
6413 'overwrite-file-dialog'-parent, use the FileSelDialog
6416 * plug-ins/pixbuf/pixbuf.c : make it work with
6417 system-visual-depth < 24. Remove 'bmp' from output
6418 format extensions, it just was wishful thinking.
6420 * plug-ins/python/Makefile.am : added the four new python
6421 plug-ins mentioned below to pyplugin_DATA and EXTRA_DIST
6423 2003-02-01 Hans Breuer <hans@breuer.org>
6425 * NEWS : updated content beside dependencies
6427 2003-02-01 Hans Breuer <hans@breuer.org>
6429 * lib/arrow.h : arrow_types needs to be declared as DIAVAR
6430 to make it useable across DLL boundaries
6431 * app/lineprops_area.c : same code to access arrow_types
6434 * objects/UML/class.c : the non empty string is e.g.
6435 comment != NULL && comment[0] != '\0'
6436 * objects/UML/uml.c : same here, don't bother with
6437 empty operation stereotypes
6439 2003-02-01 Steffen Macke <sdteffen@web.de>
6441 * app/lineprops_area.c: latest changes do not work on
6442 windows, using old code without tooltips
6443 * makefile.msc: fixed copying of wmf.dll
6444 * plug-ins/makefile.msc:
6446 * lib/makefile.msc: now linking libintl
6447 * config.h.win32: enabling native language support
6449 2003-01-31 Lars Clausen <lrclause@cs.uiuc.edu>
6451 * plug-ins/xslt/Makefile.am (libxslt_filter_la_LDFLAGS): Removed
6452 -ldl and -lglib. May or may not work on windows...awaiting verdict.
6454 2003-01-31 Daniel Yacob <locales@geez.org>
6456 * configure.in: Added am (Amharic) to ALL_LINGUAS.
6458 2003-01-31 Steffen Macke <sdteffen@web.de>
6460 * objects/UML/class.c (umlclass_calculate_data): fixed crash
6461 when comments were visible, no class comment available and
6464 2003-01-31 Lars Clausen <lrclause@cs.uiuc.edu>
6466 * RELEASE-PROCESS: Updated to fit new install-module syntax.
6467 * Prerelease 0.91-pre1 released on a suspecting public. Tagging
6470 2003-01-30 Lars Clausen <lrclause@cs.uiuc.edu>
6476 Prerelease version changes, version 0.91-pre1.
6478 * app/sheets_dialog_callbacks.h:
6479 * app/sheets_dialog_callbacks.c:
6480 * app/sheets_dialog.c (create_sheets_main_dialog):
6481 * app/sheets.c (sheets_dialog_create): More destroy stuff. Trying
6482 to handle destruction of main dialog cleanly, but it's a mess.
6484 * configure.in: Downgraded ieeefp test to make it not produce
6487 * lib/widgets.c (dia_arrow_selector_set_arrow):
6488 (dia_line_style_selector_set_linestyle): Select menu dot
6491 * lib/arrows.c (calculate_arrow_point): Fix of wrong arrow
6492 adjustment for diamondheads.
6494 * lib/plug-ins.c (dia_plugin_load): Fixed typo.
6496 * app/properties.c (create_dialog): Destroy properties dialog and
6499 * app/sheets_dialog_callbacks.c
6500 (on_sheets_dialog_button_edit_clicked): Only create a new dialog
6501 if the old one is destroyed.
6503 2003-01-29 Lars Clausen <lrclause@cs.uiuc.edu>
6505 * app/export_png.c (export_png_ok): Added info on resolution.
6506 Should (next release) improve export dialog to allow setting
6507 resolution instead of pixels.
6509 * app/lineprops_area.c (dia_arrow_chooser_new): Use menudesc list
6510 to generate arrowheads as well as tooltips.
6512 * lib/arrows.c: Added hollow diamond to menudesc list.
6515 * lib/widgets.[ch]: Moved arrow name list into arrows.[ch] to
6516 unify with rendered menu.
6518 * lib/diarenderer.c (draw_line_with_arrows)
6519 (draw_polyline_with_arrows, draw_arc_with_arrows)
6520 (draw_bezier_with_arrows): Fixed linestyle change bug (#104488)
6521 without changing renderer API. Thanks to David Scherba for
6522 providing inspiration.
6524 2003-01-28 Lars Clausen <lrclause@cs.uiuc.edu>
6526 * app/interface.c (create_display_shell):
6527 * app/display.h: Patching from Hubert Figuiere
6528 <hfiguiere@teaser.fr>: Better types for menu bar widgets, and
6531 2003-01-26 Lars Clausen <lrclause@cs.uiuc.edu>
6533 * app/defaults.c (defaults_show): Fixed defaults closing bug.
6534 Thanks to Hans for pointing it out.
6536 2003-01-25 Hans Breuer <hans@breuer.org>
6538 * app/commands.c : don't warn about crashing libart renderer
6539 on win32. It simply doesn't render text anymore :-(
6541 * app/filedlg.c : use GtkMessageDialog for 'file overwrite'
6543 * objects/UML/class.c : don't access umlclass->properties_dialog
6544 after calling gtk_widget_destroy(umlclass->properties_dialog->dialog)
6545 which sets the former to NULL by destroy_properties_dialog() callback.
6547 * plug-ins/wmf/wmf.cpp : use dia_image_rowstride()
6549 * plug-ins/python/pydia-font.c : fix PyDiaFont_GetAttr()
6551 * plug-ins/python/pydia-image.c : add image.uri member
6552 not only useful for SVG rendering
6554 * plug-ins/python/diasvg.py : (new file) a more advanced
6555 example. A full blown SVG Renderer, currently only
6556 registered for .svgz
6558 * plug-ins/python/export-object.py : write text props
6560 * plug-ins/python/debug_objects.py : write prop.type and
6563 2003-01-25 Lars Clausen <lrclause@cs.uiuc.edu>
6565 * objects/UML/association.c (association_update_data): Better
6566 bounding box for assoc with arrows.
6568 * lib/properties.h: New flag for properties with multiple values
6571 * app/lineprops_area.c (dia_arrow_chooser_dialog_show): Correct
6572 arrow updating in dialog. Was broken due to changes from destroy
6575 * app/commands.c (view_aa_callback): AA warning only for Windows
6576 -- I trust the Unix side well enough.
6578 * app/render_libart.c (get_text_width):
6579 * lib/dialibartrenderer.h (struct _DiaLibartRenderer): Font and
6580 font height can be taken from parent instance.
6582 * lib/dialibartrenderer.c (dia_libart_renderer_class_init)
6583 (get_text_width): Proper cursor positioning for libart renderer.
6584 Ought to have a DiaInteractiveRenderer that these two can inherit
6585 from, that knows about transform.
6587 2003-01-25 Steffen Macke <sdteffen@web.de>
6589 * plug-ins/xslt/xslt.h: don't use dlfcn.h on win32. XSLT
6590 plug-in still not working on win32
6592 2003-01-24 Lars Clausen <lrclause@cs.uiuc.edu>
6594 * app/disp_callbacks.c (ddisplay_canvas_events): Moved
6595 gdk_window_get_pointer to avoid destroy crash. Simpler than I
6598 2003-01-23 Lars Clausen <lrclause@cs.uiuc.edu>
6600 * app/app_procs.c (app_init): Run gtk_init before popt so we don't
6601 bail out on gtk options.
6603 * lib/message.c (gtk_message_internal): Better handling of destroy
6606 2003-01-22 Lars Clausen <lrclause@cs.uiuc.edu>
6608 * app/color_area.c (color_area_edit):
6609 * lib/widgets.c (dia_file_selector_browse_pressed)
6610 (dia_color_selector_pressed):
6611 * app/plugin-manager.c (get_plugin_manager):
6612 * app/filedlg.c (file_open_callback, file_save_as_callback)
6613 (file_export_callback):
6614 * app/diagram_tree_window.c (diagram_tree_window_new): Correct
6615 handling of destroy event.
6617 2003-01-22 Alan Horkan <horkana@tcd.ie>
6619 * app/commands.c (file_new_callback): Changed Untitled to Diagram
6622 2003-01-21 Lars Clausen <lrclause@cs.uiuc.edu>
6624 * app/preferences.c (prefs_create_dialog):
6625 * app/linewidth_area.c (linewidth_create_dialog):
6626 * app/lineprops_area.c (dia_arrow_chooser_dialog_show):
6627 * app/layer_dialog.c (create_layer_dialog)
6628 (layer_dialog_edit_layer): Correct handling of destroy signal.
6630 * app/diapsft2renderer.c (set_font): Adjust silly random factor
6631 for change in font.c
6633 * lib/widgets.c: Avoid warning when font menu file doesn't exist.
6635 * lib/font.c (dia_font_build_layout): Let's all use the same weird
6638 * app/lineprops_area.c (dia_arrow_chooser_dialog_show):
6639 * app/layer_dialog.c (create_layer_dialog)
6640 (layer_dialog_edit_layer):
6641 * app/filedlg.c (file_open_callback, file_save_as_callback)
6642 (file_export_callback):
6643 * app/dia-props.c (create_diagram_properties_dialog):
6644 * app/defaults.c (defaults_dialog_destroyed):
6645 * app/color_area.c (color_area_edit): Dialog destroy event handling.
6647 2003-01-19 Lars Clausen <lrclause@cs.uiuc.edu>
6649 * app/defaults.c (defaults_dialog_destroyed): Reset cache when
6650 defaults dialog destroyed.
6652 2003-01-19 Steffen Macke <sdteffen@web.de>
6654 * objects/makefile.msc: added bondgraph
6655 * plug-ins/makefile.msc: added GDK_PIXBUF_LIBS in order
6656 to compile pixbuf.dll
6657 * makefile.msc: copying all objects and dlls now
6659 2003-01-19 Hans Breuer <hans@breuer.org>
6661 * app/diagram.[hc] : provide dia_open_diagrams(), make
6662 open_diagrams variable static
6663 * app/dia.def : export it (to be used by PyDia)
6664 * app/app_procs.c app/autosave.c app/diagram_tree_window.c
6665 app/display.c app/dynamic_refresh.c app/layer_dialog.c
6666 app/load_save.c : make use of dia_open_diagrams()
6668 * app/interface.c : don't set GDK_WINDOW_TYPE_HINT_TOOLBAR
6669 on win32. It removes the diagram window from the taskbar and
6670 shrinks it's window title to toolbar style (newest gtk2.2 cvs)
6672 * app/menus.c : add '...' to menu entries where a dialog
6674 * app/recent_files.c app/dia_embedd.c : reflect the above in
6675 menus_get_item_from_path() calls
6677 * lib/libdia.def : add dia_image_rgba_data
6679 * lib/properties.h lib/prop_text.[hc] : add new property
6681 * objects/UML/class.[hc] object/UML/class_dialog.c : use
6682 StringList for attributes_strings and operations_strings to
6683 make this calculated data accessible via the Property API
6685 * plug-ins/python/diamodule.c : use dia_open_diagrams() and
6686 provide dia.new() to create a new diagram, dia.registered_types()
6687 to get on Dia's type registry, dia.message() for simple dialogs
6689 * plug-ins/python/pydia-diagram.c : implement DiaDiagram.display()
6690 to create a new display from a diagram. Let diagram.extents and
6691 diagram.bg_color return the same types as in diagramdata.*
6693 * plug-ins/python/pydia-geometry.c : add a read-only
6694 'sequence interface' to DiaPoint and DiaRectangle
6696 * plug-ins/python/pydia-property.c : allow to get on StringList
6699 * plug-ins/python/pydia-render.c : fix typo to make it compile
6701 * plug-ins/python/python-startup.py : removed 'import pygtk'
6702 again. This file does not need any gtk UI, and some python
6703 plug-ins don't do either
6705 * plug-ins/python/gtkcons.py : ported to GTK2 interface, now
6706 it should actually work as intended again
6708 * plug-ins/python/group_props.py : (new file) a prototype for
6709 one the most requested features: Change properties of selected
6710 objects in one step. Requires pygtk.
6712 * plug-ins/python/select_by.py : (new file) select objects by
6713 common properties. Requires pygtk.
6715 [Start of 'PyDia Self Documentation Series']
6717 * plug-ins/python/pydiadoc.py : (new file) generates a new
6718 diagram which contains all objects of dir(dia)
6720 * plug-ins/python/otypes.py : (new file) generates a new diagram
6721 which contains all the currently registered object types sorted
6722 by their containing package
6724 2003-01-18 Lars Clausen <lrclause@cs.uiuc.edu>
6726 * configure.in: Added check for Pango >= 1.1.5, which appears to
6727 be enough to have text work.
6728 (INTLOBJS): Added dummy subst cause gettext doesn't always seem to
6729 do it. AC_SUBST should be idempotent, though.
6731 2003-01-17 Lars Clausen <lrclause@cs.uiuc.edu>
6733 * configure.in (HAVE_FREETYPE): Better test for freetype version
6735 Now actually sets HAVE_IEEEFP_H, needed for Solaris.
6737 * lib/font.c: Renamed global_size_one to global_zoom_factor to
6738 avoid confusion, and added comment. Set scale factor in
6739 dia_font_build_layout to 1.0 for Unix side. This fixes at least
6740 my weird scaling problems. Fonts are now of the expectable size,
6741 i.e. the space between lines at size 1.0 is 1.0. If we want a
6742 compatibility fix, we should scale fonts by about 1/0.75 from 0.90
6743 diagrams, though there will always be differences.
6745 2003-01-15 Lars Clausen <lrclause@cs.uiuc.edu>
6747 * plug-ins/python/python-startup.py:
6748 * plug-ins/python/gtkcons.py: Require gtk 2.0 for pygtk
6750 * plug-ins/python/python.c (dia_plugin_init): Added warning
6751 message for missing startup file.
6753 * lib/dialibartrenderer.c (draw_image): Alpha rendering! Yay!
6755 * lib/dia_image.c (dia_image_rgb_data):
6756 * app/diapsrenderer.c (draw_image): Fixed rowstride problems
6757 involving EPS. Can't do transparency in EPS yet.
6760 * lib/dia_image.c (dia_image_rgba_data): New function to get RGBA
6761 data as one chunk. Documentation for the RGB data getting funcs.
6762 (dia_image_rgb_data): Added comment.
6764 * lib/dialibartrenderer.c (draw_image): Correct rowstride handling
6767 2003-01-13 Steffen Macke <sdteffen@web.de>
6769 * lib/dia_image.c: dia_image_rgb_data() is working for
6770 non-alpha images now. Fixes #93762
6771 * Makefile.am: added makefile.msc to EXTRA_DIST
6773 2003-01-10 Steffen Macke <sdteffen@web.de>
6775 * app/paginate_psprint.c: Closing print dialog when file
6776 could not be written. Fixes #84746
6778 2003-01-04 Steffen Macke <sdteffen@web.de>
6780 * doc/custom-shapes: incomplete description of <svg:text>
6782 2003-01-03 Steffen Macke <sdteffen@web.de>
6784 * makefile.msc(new): new makefile to create file
6785 structure suitable for running dia win32 under
6786 $(TOP)/dia/build/win32
6788 2003-01-02 Steffen Macke <sdteffen@web.de>
6790 * lib/dia_svg.c: including stdlib.h
6791 * lib/makefile.msc: added gdk_pixbuf libs to linker
6792 * app/makefile.msc: added gdk_pixbuf libs, made libart
6793 libs compatible with gnuwin32 package
6795 2003-01-01 Hans Breuer <hans@breuer.org>
6797 * lib/font.c : more comment about global_size_one
6799 * app/menus.c : <control>[<shift>]A for plain gtk build too.
6801 * plug-ins/wmf/wmf.cpp : some type juggling to make
6804 2002-12-31 Steffen Macke <sdteffen@web.de>
6806 * app/makefile.msc: added hint on how to enable console output
6808 2002-12-17 Lars Clausen <lrclause@cs.uiuc.edu>
6810 * objects/standard/textobj.c (textobj_load): Get the handle type
6811 right, at least to be the same as when created.
6813 2002-12-12 Lars Clausen <lrclause@cs.uiuc.edu>
6815 * lib/dialibartrenderer.c (draw_string): Removed extra 'is'.
6817 2002-12-08 Hans Breuer <hans@breuer.org>
6819 * app/commands.c : fixed bug #85315 'give diagram properties,
6820 instead of no object selected error' almost a one-liner
6822 * app/splash.c : don't make having the logo pixmap
6823 mandatory. Fixes bug #96068.
6825 * app/defaults.c : avoid crashing from open-dialog,esc,open-dialog
6826 sequence by connecting to the "delete_event"
6827 * app/objects/uml/class_dialog.c : handle "destroy" for
6830 * lib/libdia.def : remove diaXmlNewChild again
6832 * app/paginate_gdiprint.cpp : reflect Dia's page setting
6833 portrait/landscape in the windoze print dialog
6835 * objects/makefile.msc : only UML needs to link against
6836 $(GTK2_LIBS) and only custom against $(LIBXML2_LIBS)
6838 2002-12-08 Lars Clausen <lrclause@cs.uiuc.edu>
6840 * objects/standard/ellipse.c (ellipse_distance_from):
6841 * lib/geometry.c (distance_ellipse_point): Ellipse now uses the
6842 correct distance function. Could be faster, but it's not really
6845 2002-12-07 Lars Clausen <lrclause@cs.uiuc.edu>
6847 * lib/font.c: Changed global_size_one to more correct 28.35.
6852 * lib/dia_xml.c: Removed pretty print hack, the libxml thing works
6855 2002-12-07 Hans Breuer <hans@breuer.org>
6857 * lib/widgets.c : g_file_get_contents() silently assumes
6858 a binary file. Reflect when creating the font_menu file
6859 to get rid of junk in font menus
6861 2002-12-06 Hans Breuer <hans@breuer.org>
6863 * app/diapsrenderer.[hc] app/diapsft2renderer.[hc] :
6864 removed 0xD 0xD 0xA line ends which get created by
6865 cvs if windoze line ends 0xD 0xA are checked in from
6866 *nix and checked out on win32.
6868 * app/preferences.c : changed toolbox_on_top default to
6869 false. It is currently not possible to change the behaviour
6870 at runtime, at least not on win32.
6872 * lib/dialibartrenderer.c : bug #94791 'rendering to
6873 bitmap without PangoFt2' got delayed to milestone future
6874 so wrap libart text rendering into PANGO_WIN32_FUTURE.
6875 It is not available without my Pango patch in bugzilla.
6877 * lib/font.c : added comment to global_size_one and adapt
6878 the arbitrary size scaling in dia_font_build_layout() for
6879 win32, too. This is needed to get an acceptable font size
6880 approximation for Dia 0.90 and earlier files.
6881 Also #include "message.h".
6883 * app/makfile.msc app/dia.def lib/makefile.msc lib/libdia.def :
6884 reflect movement of group.[hc]
6885 * lib/group.h : export group_type which gets used by app/*
6887 * lib/diagtkfontsel.c : added #undef GTK_DISABLE_DEPRECATED
6888 to get the GtkTypeInfo definition
6890 * plug-ins/makefile.msc : dxf and xfig don't need to link
6891 against app/ anymore now that group is moved to lib/
6893 * plug-ins/python/pydia-render.c : remove massive leaking
6894 of self, i.e. PyDiaRenderer
6896 * plug-ins/python/makefile.msc : remove linking against
6899 2002-12-06 Lars Clausen <lrclause@cs.uiuc.edu>
6901 * objects/standard/line.c: Removed properties options for gaps,
6902 until release is done.
6904 * configure.in: Check for freetype version.
6906 * lib/text.c (text_insert_char): Fixed small buffer overflow for
6909 * lib/dialibartrenderer.c (draw_string): Removed debugging printf.
6911 * app/diapsft2renderer.h:
6912 * app/diapsft2renderer.c:
6913 * app/diapsrenderer.h:
6914 * app/diapsrenderer.c: Split ps rendering into standard and freetype.
6916 * app/render_eps.c (export_eps, new_psprint_renderer): Using
6917 PS_FT2 renderer when available. Old render stuff killed. Yay!
6919 * lib/properties.h: Fixed bad frame end def.
6921 * app/Makefile.am (dia_core_files): Added diapsft2renderer.[ch].
6923 * lib/dia_xml.c (data_add_string): Avoid #-less strings.
6925 * objects/bondgraph/Makefile.am: Removed unneeded EXTRA_DIST.
6927 2002-12-05 Lars Clausen <lrclause@cs.uiuc.edu>
6929 * lib/font.c: Now checking for the proper dia-style standard fonts.
6932 * app/Makefile.am: Moving group.[ch]
6934 * plug-ins/dxf/dxf-import.c:
6935 * plug-ins/xfig/xfig-import.c:
6936 * plug-ins/xfig/xfig-export.c: Now can refer directly to group.h.
6940 * lib/object.c (object_list_move_delta, object_copy_list):
6941 * lib/object.h: Moved some object-related functions from
6942 object_ops to object to assist moving group.c.
6944 * lib/diatypes.h: Added Group typedef.
6947 * lib/group.c: Moved from app to lib to a) resolve plug-ins
6948 references, and b) make groups more "real" objects.
6950 * lib/Makefile.am (libdia_la_SOURCES): Added diatyps.h
6952 2002-12-03 Lars Clausen <lrclause@cs.uiuc.edu>
6954 * lib/font.c (dia_font_init): Added check that the three standard
6957 2002-12-02 Lars Clausen <lrclause@cs.uiuc.edu>
6960 * app/load_save.c: Linebreaks in dia files, no indentation.
6961 Should help text tools. xmlNewChild wrapped in diaXmlNewChild for
6964 * objects/standard/line.c: Small but important fixes to the line
6968 * lib/dia_xml.c (diaXmlNewChild):
6969 * app/load_save.c (diagram_data_write_doc, write_objects): Simple
6970 XML prettyprinting wrapper.
6972 2002-12-03 Steffen Macke <sdteffen@web.de>
6974 * shapes/Cisco/Makefile.am:
6975 * shapes/Cisco/*.shape: finished conversion of Cisco icons
6978 2002-12-02 Steffen Macke <sdteffen@web.de>
6980 * doc/en/Makefile.am:
6981 * doc/en/usage-objects.sgml:
6982 * doc/en/graphics/line_icon.png: (new) added line icon
6984 2002-12-02 Lars Clausen <lrclause@cs.uiuc.edu>
6986 * objects/standard/line.c: Binary search object edge line gap.
6988 2002-12-01 Lars Clausen <lrclause@cs.uiuc.edu>
6990 * configure.in: Added Cisco makefile, sorted Makefiles list.
6992 * shapes/Makefile.am (SUBDIRS): Added Cisco dir
6994 * configure.in: Now checks for availability of PangoFT2 and
6995 FreeType, raising an error if not found.
6997 * app/Makefile.am (dia_core_files): Adding diapsft2renderer from
7000 2002-12-01 Steffen Macke <sdteffen@web.de>
7002 * doc/en/usage-loadsave.sgml: updated information on import
7005 2002-11-28 Lars Clausen <lrclause@cs.uiuc.edu>
7007 * app/commands.c (edit_copy_callback): Freeing copy_list.
7009 2002-11-28 Steffen Macke <sdteffen@web.de>
7011 * app/render_libart.c: art_config.h was included twice
7013 2002-11-27 Lars Clausen <lrclause@cs.uiuc.edu>
7015 * sheets/.cvsignore: More ignorance.
7017 * lib/diagdkrenderer.c (draw_string): Removed silly #ifdef 1.
7019 * lib/prop_widgets.h: Two (currently unused) settings for frame
7022 * lib/prop_widgets.c (frame_beginprop_get_widget): Frames are now
7023 (by default) foldable.
7025 * lib/propinternals.h:
7026 * lib/propdialogs.c (prop_dialog_add_raw_with_flags): Way to add
7027 widgets in a more controlled manner.
7029 * objects/standard/line.c (line_update_data): Line gap things
7030 inserted. Can do xeyes now:)
7032 2002-11-26 Christian Neumair <chris@gnome-de.org>
7034 * .cvsignore: Changed.
7035 * objects/bondgraph/.cvsignore, plug-ins/metapost/.cvsignore,
7036 plug-ins/xslt/.cvsignore, shapes/Assorted/.cvsignore, shapes/Misc/.cvsignore:
7039 2002-11-26 Lars Clausen <lrclause@cs.uiuc.edu>
7041 * app/pixmaps/delete.xpm: Trashcan stolen from Gimp.
7043 * lib/widgets.c (dia_font_selector_get_font): Fixed wrong name
7044 passing to font hash.
7046 * app/filedlg.c (file_save_as_ok_callback): Check that filename is
7047 utf-8 or locale-convertible before adding to dialog text. This
7048 probably needs done in a number of places where we get text from
7049 the environment and send it to GTK to display.
7051 * lib/widgets.c: Fixed case problems for font menu entries.
7053 * objects/SADT/annotation.c: Don't run the event test (but leave
7054 it here for inspiration).
7057 * lib/widgets.h: Allowing setting preview text for fonts.
7059 2002-11-26 Lars Clausen <lrclause@cs.uiuc.edu>
7061 * objects/bondgraph/Makefile.am:
7062 * objects/bondgraph/bondgraph.c:
7064 * objects/Makefile.am: Added bond graph dir.
7066 2002-11-26 Lars Clausen <lrclause@cs.uiuc.edu>
7068 * lib/text.c (text_calc_boundingbox, text_draw): Better cursor size.
7070 2002-11-25 Lars Clausen <lrclause@cs.uiuc.edu>
7072 * lib/text.c (text_calc_boundingbox, text_draw): Better cursor
7075 * app/diapsrenderer.c: Freetype rendering is back in force.
7077 * app/disp_callbacks.c: Added missing updates for pre-text-change.
7079 2002-11-25 David Hoover <jazzdaq@yahoo.com>
7081 * app/render_libart.c: Added missing #include line for libart.
7084 * lib/geometry.c: Added point_convex function. This computes
7085 points inside a line segment (0 <= alpha <= 1) or outside the
7086 line segment (alpha < 0 | alpha > 1).
7088 * objects/standard/line.c: Line now has additional code/attributes
7089 which permit the line to extend past the line anchors (gap < 0) or
7090 leave a gap without reaching the anchor (gap > 0). If no gap is
7091 specified, the default gap of 0 will result in identical line
7092 behavior as before. If the 'fractional' attributes are TRUE, the
7093 gap length is not fixed, but a percentage of the line length. I
7094 did not know how create the GTK widgets so the gap code currently
7095 cannot be used without adding XML attributes by hand.
7097 2002-11-25 Lars Clausen <lrclause@cs.uiuc.edu>
7099 * lib/diagdkrenderer.c (draw_string): Removed timing bits.
7101 * lib/Makefile.am (libdia_la_SOURCES): Added fontsel files to SOURCES.
7103 2002-11-24 Lars Clausen <lrclause@cs.uiuc.edu>
7105 * lib/font.c: Debugging functionality in separate functions.
7107 * lib/widgets.c: Using fontsel with context.
7109 * lib/diagtkfontsel.[ch]: Context-aware copy of the GTK fontsel.
7111 * objects/custom/custom_object.c: Orientation handling for shapes,
7112 patch thanks to Martin Hans <opfinder@gmx.net>.
7114 * objects/standard/zigzagline.c (zigzagline_move_handle): Starting
7115 work on even better orientation handling.
7117 * app/menus.c (menus_get_item_from_path): Fixed sily warnings from
7118 casting NULL pointers. Should be unnecessary in an upcoming GTK
7121 2002-11-18 Lars Clausen <lrclause@cs.uiuc.edu>
7125 * lib/widgets.c: Now uses correct context to get font families.
7127 * lib/diagdkrenderer.c (get_text_width, draw_string):
7128 * lib/dialibartrenderer.c (draw_string):
7130 * lib/font.c (dia_font_init): Removed old kludgy font name compare.
7131 (dia_font_build_layout): Unified the twiddle factors into a use of
7132 global_size_one. But I deeply distrust Pango for seeming to
7133 change size of fonts every time I turn my back.
7138 * app/menus.h: Updated some more methods to also be more specific
7142 * app/recent_files.c:
7143 Changed to return most specific type, to avoid run-time type errors.
7145 * app/menus.c (menus_get_item_from_path): Non-gnome version now
7146 gets menu_item rather than widget, which works better.
7148 2002-11-17 Cyrille Chépélov <cyrille@chepelov.org>
7150 * app/display.c: (new_display):
7151 * app/menus.c: (menus_get_item_from_path):
7152 Relying on the tearoff to locate the input methods menu wasn't a
7153 good idea: tearoffs seem to be an endangered species nowadays.
7154 Anyway, the IM menu seems to be working now.
7156 * app/interface.c: hinted the window manager that the toolbox window
7157 is a toolbox window. Not that my (fairly default configuration)
7158 sawfish cares, but other NETWM compliant WMs may.
7165 * app/layer_dialog.c:
7166 * app/linewidth_area.c:
7168 * app/sheets_dialog.c:
7171 The GTK doc says to avoir gtk_window_set_wmclass() and
7172 gtk_window_set_policy(), and use gtk_window_set_role() and
7173 gtk_window_set_resizable(), respectively.
7175 * app/preferences.c: (prefs_create_dialog):
7176 * app/preferences.h:
7177 * app/display.c: (display_set_active):
7178 Added a preference to have the toolbox hover over diagram windows.
7180 2002-11-12 Lars Clausen <lrclause@cs.uiuc.edu>
7182 * lib/diagdkrenderer.c (get_text_width, draw_string):
7183 Freetype-based string drawing now works. Not very fast, though.
7184 I wish I could use the graphics card for this:( I'm doing three
7185 bitmap loops where I should be doing one. The size is not correct
7186 either, despite having get_text_width give the right thing.
7188 2002-10-21 Lars Clausen <lrclause@cs.uiuc.edu>
7190 * app/connectionpoint_ops.c (diagram_update_connections_object):
7191 Allows more than one connectionpoint on an object to be moved at a
7194 2002-10-18 Stanislav Brabec <sbrabec@suse.cz>
7196 * configure.in: Added cs to ALL_LINGUAS.
7198 2002-10-17 Lars Clausen <lrclause@cs.uiuc.edu>
7200 * app/paginate_psprint.c: Removed unnecessary decl of autosave
7203 * app/display.c (ddisplay_set_renderer): Calls to begin/end render.
7205 * app/export_png.c (export_png_ok): Saving more variables from the
7208 2002-10-16 Lars Clausen <lrclause@cs.uiuc.edu>
7210 * lib/dialibartrenderer.c (begin_render):
7211 (end_render): Correct pushing and popping of font contexts.
7212 (draw_string): Double zooming eliminated, strange twiddle factor
7213 introduced (grumble). Close to working now, but there are still
7214 strange differences from font to font. In particular, some fonts
7215 really mess with the cursor and extents.
7217 * app/render_eps.c (export_eps):
7218 * app/diapsrenderer.c (dia_ps_renderer_finalize):
7219 Fixed file closing confusion, no longer dependent on PS/EPS.
7221 * app/diagram.c (diagram_place_down_selected)
7222 (diagram_place_up_selected): Now implemented.
7224 * lib/font.c (dia_font_init):
7226 Redesigned the font init/context pushing code. Start of fix for
7227 font name differences.
7229 2002-10-15 Kjartan Maraas <kmaraas@gnome.org>
7231 * app/sheets_dialog_callbacks.c: Fix a typo.
7233 2002-10-15 Hans Breuer <hans@breuer.org>
7235 * app/diapsrenderer.[hc] : (new files, old content :-)
7236 simple base class for post script rendering. Does neither
7237 use Pango/FT2 nor does it handle non latin1 characters.
7238 The fancy stuff which nowadays appears to be needed should
7239 probably be done in derived class(es)
7241 * app/makefile.msc app/Makefile.am : added new files
7243 * app/paginate_psrint.c : re-enabled and used as test
7244 for the simple ps renderer above.
7246 * app/render_eps.[hc] : ripped out common ps code and
7247 moved to DiaPsRenderer. The rest of the file is mostly
7248 disabled. And I don't understand enough of it to
7251 * app/diaepsrenderer.h : short lived, removed.
7253 2002-10-15 Lars Clausen <lrclause@cs.uiuc.edu>
7255 * lib/plug-ins.c (dia_register_plugin): Don't try to load libdia
7256 as a plugin (thanks to Torben Nielsen).
7258 2002-10-14 Lars Clausen <lrclause@cs.uiuc.edu>
7260 * app/diaepsrenderer.h:
7262 * app/paginate_psprint.c:
7263 #ifdef'd out enough ps stuff to allow compile. Now we just need
7266 2002-10-12 Hans Breuer <hans@breuer.org>
7268 [last plug-in ported]
7270 * plug-ins/xfig/xfig-export.c : ported to new renderer api
7272 * plug-ins/xfig/xfig-import.c(fig_create_object) : need to
7273 scale color values to [0..1.0] to properly reconstruct
7276 * plug-ins/xfig/xfig-common.c : some cleaning
7278 2002-10-12 Hans Breuer <hans@breuer.org>
7280 [decrease inter-plug-in-dependencies]
7282 * objects/custom/shape_info.[hc] : move parse_style()
7283 to lib/dia_svg.[hc] as dia_svg_parse_style(); Namespace
7284 the related structs and constants.
7285 * objects/custom/custom_object.c : reflect namespace
7288 * lib/dia_svg.[hc] : new files
7289 * lib/makefile.msc lib/Makefile.am : add new files
7290 * lib/libdia.def : updated externals
7292 * plug-ins/svg/svg-import.c : use dia_svg_parse_style()
7294 * plug-ins/svg/svg.c : enable svg import for win32 (and
7295 probably for other non ELF builds)
7297 * plug-ins/makefile.msc : enable svg import
7299 2002-10-11 Hans Breuer <hans@breuer.org>
7301 * plug-ins/metapost/render_metapost.[hc] : ported
7303 * plug-ins/pstricks/render_pstricks.[hc] : dito
7305 2002-10-11 Hans Breuer <hans@breuer.org>
7307 * plug-ins/cgm/cgm.c : ported, appears to work as before,
7308 but graphic apps available to me can't import the generated
7309 files (the could not with Dia-0.90 cgm as well) ...
7311 * plug-ins/dxf/dxf-export.c : Ported to new renderer api.
7312 Removed all those function which did emulate 'complex'
7313 drawing ops with basic ones (e.g. rect by line) cause this
7314 stuff is already provided by the base class
7315 * plug-ins/dxf/dxf-import.c : removed render.h include
7317 * plug-ins/python/pydia-font.[hc]
7318 plug-ins/python/pydia-text.c : finally ported to new font api
7320 * plug-ins/python/pydia-layer.c : add extra parameter
7321 to layer_find_closest_connectionpoint()
7323 * plug-ins/python/pydia-render.c : ported to DiaRenderer api
7325 * plug-ins/python/python.c : added missing copyright notice
7327 * plug-ins/hpg/hpgl.c plug-ins/wpg/wpg.c plug-ins/wmf/wmf.cpp :
7328 actually use the renderers set_font implementation
7330 * plug-ins/renderer.inc : unused now, removed
7331 * plug-ins/Makefile.am : reflect it
7333 2002-10-08 Hans Breuer <hans@breuer.org>
7335 * app/render_gdk.c : don't add the InteractiveRenderer
7336 interface multiple times (it's added to the type, not
7338 * app/render_libart.c : dito. It's currently added
7339 unconditional cause eport_png uses it, but claims
7340 to be non-interactive. Probably set_size should be moved
7341 to the DiaRenderer interface.
7343 * lib/dialibartrenderer.c : add implementations for
7344 get_<width|height>_pixels. Libart rendering works again.
7345 DiaLibartRenderer::draw_image : use dia_image_rowstride()
7348 * lib/diatransform.c(dia_transform_coords_double) :
7349 don't ROUND() the returned values
7351 * plug-ins/pixbuf/pixbuf.c : added import function. It
7352 simply creates a wrapping "Standard - Image" object.
7354 * plug-ins/shape/shape-export.c : use the more direct
7355 method to call base class methods
7357 2002-10-07 Lars Clausen <lrclause@cs.uiuc.edu>
7359 * lib/font.c (dia_font_init): Changed dia_font_init to return old
7360 pango context, to allow stacked contexts (for printing while
7369 * lib/connectionpoint.h
7372 * lib/diagdkrenderer.h
7374 * lib/dialibartrenderer.h
7377 * lib/diasvgrenderer.h
7378 * lib/diatransform.h
7385 * lib/neworth_conn.h
7400 Moved all externally visible struct typedefs into diatypes.h, as
7401 per Hans' suggestions.
7403 2002-10-07 Steffen Macke <sdteffen@web.de>
7405 * lib/Makefile.am: removed a '\' causing problems
7407 2002-10-07 Hans Breuer <hans@breuer.org>
7409 [Libart Renderer resurrected; almost it's compiling but
7410 almost instantly crashing :-]
7412 * lib/dialibartrenderer.[hc] : new files, ported to DiaRenderer
7413 * app/render_libart.[hc] : ported to DiaInteractiveRenderer
7414 * lib/diatransform.[hc] : added dia_transform_coords_double()
7416 * app/display.c : the right parameters for new_renderer_libart()
7417 * app/export_png.c : ported, removed the blind Display hack
7419 * app/makefile.msc lib/makefile.msc
7420 lib/Makefile.am : updated
7422 * lib/dia<|gdk|interactive>renderer.c : properly copyrighted
7424 2002-10-06 Hans Breuer <hans@breuer.org>
7426 * plug-ins/pixbuf/pixbuf.c : (new file)
7427 there is a new export plug-in called 'Pixbuf' which uses
7428 DiaGdkRenderer to export to gdk-pixbuf supported bitmap
7429 formats (currently only PNG and JPEG).
7431 2002-10-06 Hans Breuer <hans@breuer.org>
7434 http://mail.gnome.org/archives/dia-list/2002-October/msg00027.html
7436 * lib/dia-enums.h lib/diatransform.[hc]
7437 lib/diarenderer.[hc] lib/diainteractiverenderer.c
7438 lib/diagdkrenderer.[hc] lib/diasvgrenderer.[hc]
7441 * lib/makefile.msc lib/makefile.am : added new files
7443 * lib/plug-ins.c : g_module_error() returns a locale
7444 string, convert to utf8 before further usage
7446 * lib/render.h : #error out. Everything including this
7448 * lib/*.[hc] : ported to new renderer api
7450 * app/diaepsrenderer.h : unfinished DiaEpsRenderer interface
7451 just to make the rest compile
7452 * app/render_eps.c : temporary disabled all of this
7453 * app/render_eps.h : removed RendererEPS
7455 * app/render_gdk.[hc] : a small wrapper around the new
7456 DiaGdkRenderer form lib/*
7458 * app/render_libart.h : removed RenderLibart definition
7459 * app/render_libart.c : not yet ported to new DiaRenderer
7460 but having an implementation to untie form FT2 dependency
7461 at least on win32. It is using new Pango api form bug #94791
7463 * app/render_pixmap.[hc] : a small wrapper around the new
7464 DiaGdkRenderer form lib/*
7466 * app/display.h : removed render_*.h includes
7467 * app/display.c : the only place where specific
7468 renderers need to be known
7470 * app/connectionpoint_ops.c app/grid.c app/handle_ops.c
7471 use new DiaInteractiveRenderer interface
7473 * app/*.c : ported to new renderer api
7474 * object/*/*.c : ported to new renderer api
7475 s/render.h/diarenderer.h/
7476 s/Renderer/DiaRenderer/
7477 s/renderer->ops/renderer_ops/
7478 add in every draw method:
7479 DiaRendererClass *renderer_ops = DIA_RENDERER_GET_CLASS (renderer);
7481 * plug-ins/hpgl/hpgl.c :
7482 plug-ins/wmf/wmf.cpp
7483 plug-ins/wpg/wpg.c : ported to be DiaRenderer based
7484 * plug-ins/shape/shape-export.c
7485 plug-ins/svg/render_svg.c : ported to be DiaSvgRenderer based
7486 (nice how small these files became :-)
7488 2002-09-28 Hans Breuer <hans@breuer.org>
7490 * */makefile.msc : updated
7492 * app/defaults.c : don't gdk_invalidate_rect(NULL)
7493 * app/disp_callbacks.c :
7494 can't cast GtkWindow to GdkWindow, use shell->window
7495 (ddisplay_unrealize) don't use already unrefed im_context
7497 can't cast from GtkMenu to GtkMenuItem
7498 (ddisp_destroy) : mark im_context as unrefed
7500 * lib/dia_xml (data_font) : prefer new font format over old one
7501 (data_add_font) : write the legacy name to allow file exchange
7502 with pre Pango versions of Dia, which would otherwise crash
7503 on missing font 'name' attribute.
7504 * lib/font.c (dia_font_get_legacy_name) : improved implementation
7505 to get a better match.
7507 * lib/libdia.def : updated
7509 * lib/messages.c : don't gdk_widget_show(NULL)
7511 * lib/prop_text.c : don't gtk_entry_set_text() with NULL string
7513 [make Dia compile, link _and_ work with mingw/gcc3.2]
7515 * config.h.win32 : #define LIBXML, this gets defined from libxml
7516 header but only for _MSC_VER. The mingw build did access an
7517 unitialized function pointer for xmlFree.
7519 * */makefile.mingw : updated (some plug-ins have build issues)
7521 * lib/handle.h lib/object.h : there appears to be no
7522 forward declaration of the form
7523 typedef enum _HandleId HandleId
7524 (at least not with GCC 3.2 for C++) ../lib/handle.h:22:
7525 use of enum `_HandleId' without previous declaration
7527 * app/paginate_gdiprint.cpp : added a hack to avoid g++
7528 naming conflict on 'export'
7530 * app/paginate_gdiprint.h : forward declare Diagram
7532 * objects/SADT/annotaion.c : use g_random_double()
7534 2002-09-26 Lars Clausen <lrclause@cs.uiuc.edu>
7536 * app/modify_tool.c: Made motion not happen until sufficiently
7537 large or past double-click interval, to avoid accidental moving
7538 when doubleclicking. Got the double-click time right, and fixed
7539 some issues with release. There are some corner cases that may
7540 exhibit strange behaviour, will look at those later. Nah, let's
7541 not care about those, they are rare and not dangerous.
7543 2002-09-26 Cyrille Chépélov <cyrille@chepelov.org>
7545 * app/layer_dialog.c:
7547 * plug-ins/dxf/dxf-import.c:
7548 * plug-ins/python/pydia-diagram.c:
7549 * lib/diagramdata.c:
7550 * lib/diagramdata.h:
7551 Improved the consistency of the obj->parent_layer backlinks (esp.
7556 * lib/dynamic_obj.[ch] (NEW):
7559 * app/dynamic_refresh.[ch] (NEW):
7560 * objects/Misc/analog_clock.c:
7561 Added support for dynamic refresh (animated objects).
7563 2002-09-25 Cyrille Chépélov <cyrille@chepelov.org>
7565 Patch from Owen Taylor <otaylor@redhat.com>:
7566 * doc/en/Makefile.am:
7567 * doc/en/dia-manual.sgml:
7568 * doc/en/usage-objects.sgml:
7569 * doc/en/usage-quickstart.sgml:
7570 * doc/pl/Makefile.am:
7571 * doc/pl/dia-manual.sgml:
7572 * doc/pl/usage-objects.sgml:
7573 * doc/pl/usage-quickstart.sgml:
7575 - Change the DTD declration from an outdated GNOME one to a
7578 - Remove close tags for <graphics> which aren't allowed for
7581 - A hacky fix for a problem where some versions of db2html don't
7582 create *.css files. (If *.css doesn't match anything, then you get
7583 the global explicitely.)
7587 2002-09-24 Cyrille Chépélov <cyrille@chepelov.org>
7589 * objects/custom/custom_object.c:
7590 * objects/custom/shape_info.[ch]: GE_TEXT display lists elements
7591 were never properly prepared for use when reloading a shape with
7592 <svg:text> elements. Thanks to Scott Frazer <frazer@nc.rr.com> for
7593 reporting the problem and coming up with a fix! (Closes: #93974)
7595 * app/menus.c: patch from Alan Horkan <horkana@tcd.ie>: review
7596 the menu shortcuts towards better GNOME HIG compliance (Closes: #87157)
7599 * app/display.c: updated menu item paths Alan's patch had moved.
7601 * app/interface.c: Fixed a crash when gdk-pixbuf doesn't want to
7602 load the sheet-provided icon (libpng versions mismatch, grrr.).
7605 * objects/Makefile.am:
7606 * objects/Misc/Makefile.am (NEW):
7607 * objects/Misc/libmisc.c (NEW):
7608 * objects/Misc/analog_clock.c (NEW):
7609 * objects/Misc/pixmaps/analog_clock.xpm (NEW):
7610 * sheets/Misc.sheet.in: just a little experiment...
7612 2002-09-23 Cyrille Chepelov <cyrille@chepelov.org>
7614 * plug-ins/xlst/Makefile.am: found a way to silence automake while
7615 not forcing everyone to build using libxslt.
7619 * lib/object_defaults.c:
7622 * lib/properties.[ch]:
7624 * objects/standard/box.c:
7625 * objects/UML/state_term.c:
7627 * objects/FS/flow-ortho.c:
7631 * app/diagram_tree.c:
7633 * app/disp_callbacks.c:
7636 * app/lineprops_area.c:
7638 * app/preferences.c:
7641 * app/sheets_dialog_callbacks.c:
7642 * plug-ins/xslt/xslt.c:
7643 * plug-ins/metapost/render_metapost.c:
7644 * plug-ins/xfig/xfig-export.c:
7645 * plug-ins/shape/shape-export.c:
7647 Killed most gcc-3.2 warnings (const-correctness and derived warnings,
7648 unused variables, mostly)
7651 * app/menus.c: enabled GTK Input Methods (thanks Lars!)
7653 * app/Makefile.am: modified run_dia.sh so that we recover the
7654 ability to run a debugger despite libtool's hacks.
7656 * plug-ins/dxf/Makefile.am:
7658 "make distcheck" fixes.
7660 2002-09-19 Lars Clausen <lrclause@cs.uiuc.edu>
7662 * objects/UML/uml.c (uml_get_operation_string): Patch from Mauf
7663 <mfranzoni@madd.it>: Check for the type being NULL.
7665 2002-09-16 Lars Clausen <lrclause@cs.uiuc.edu>
7667 * app/render_eps.c (set_font): Re-tweaked font size for printing.
7669 2002-09-12 Cyrille Chepelov <cyrille@chepelov.org>
7671 Patch from Angus Ainslie <angusa@deltatee.com>:
7672 * plug-ins/dxf/dxf-import.c:
7673 * plug-ins/dxf/autocad_pal.h: Import from visio 2002 improvements.
7675 (plus a couple extra fixes by me, such as the removal of printf's,
7676 adapting for recent changes, and killed a couple warnings)
7678 * app/authors.h: a 60K patch isn't insignificant, is it?
7680 2002-09-09 Tor Lillqvist <tml@iki.fi>
7682 * configure.in: Check for both pangoft2 (using PKG_CHECK_MODULES,
7683 as before) and -lfreetype (using AC_CHECK_LIB). At least on
7684 Solaris with Sun's compiler (Forte C), you need to link also the
7685 dia application with -lfreetype, even if it is implicitly linked
7686 to by -lpangoft2. Rename FREETYPE_CFLAGS and _LIBS to PANGOFT2_*,
7687 which is what they actually mean. Use FREETYPE_LIBS for
7690 Don't look for libsunmath if isinf() is not found in math.h (as on
7691 Solaris). The sunmath library is part of Forte C and not present
7692 on all machines. Besides, even if isinf was found in libsunmath,
7693 we didn't use it in the Makefile.am.
7695 Fix a couple of bashisms.
7697 AC_SUBST also Z_LIBS, need to link the dia application to -lz,
7698 too, on Solaris with Forte C.
7700 Don't try to use the gcc flags with other compilers.
7701 DIA_CHECK_CFLAG gives a false indication that Forte C understands
7702 the gcc -f switches, but in fact they get interpreted meaning
7703 something completely different.
7705 Define the automake conditional HAVE_CGC.
7707 * app/Makefile.am (dia_LDADD): Add Z_LIBS and FREETYPE_LIBS.
7709 Use -export-dynamic only with gcc.
7712 * */*/Makefile.am: Modify according to the FREETYPE_CFLAGS ->
7713 PANGOFT2_CFLAGS rename.
7715 * lib/geometry.h: Drop HAVE_SUNMATH_H and <sunmath.h> per above.
7717 * lib/dia_xml.c: Include geometry.h for the isinf() stuff on
7720 * lib/paper.c: Workaround for gccism: Can't use inline this way with
7723 2002-09-08 Cyrille Chepelov <cyrille@chepelov.org>
7725 * lib/text.c(set_string): fixed a memory leak (char* ain't no
7726 std::auto_ptr<char> !).
7729 * app/interface.[ch]:
7730 * app/ddisp_callbacks.[ch]: Added some basic support for input
7731 methods (GtkIMContext-based)
7734 * app/Makefile.am: made libdia a shared object (per Tor
7735 Lillqvist's suggestion/request), to cope for platforms with a less
7736 than par dynamic library loader.
7738 * app/display.c: disabled the input method menu (I really don't
7739 see where and how to put them. Blame Frozen Bubble )
7741 2002-09-06 Lars Clausen <lrclause@cs.uiuc.edu>
7743 * objects/flowchart/box.c (box_update_data): Made resizing
7744 possible again (only set width & height when resized too small).
7746 Patch from Soeren Sandmann <sandmann@daimi.au.dk>:
7748 * app/disp_callbacks.c (ddisplay_canvas_events): Handle
7751 2002-09-05 Cyrille Chepelov <cyrille@chepelov.org>
7753 * app/authors.h: now showing Akira TAGOH's name in the native script.
7755 2002-09-01 Lars Clausen <lrclause@cs.uiuc.edu>
7757 * plug-ins/xslt/xslt.c: Removed glib warning for unset
7760 2002-09-01 Cyrille Chepelov <cyrille@chepelov.org>
7762 * plug-ins/svg/render_svg.c: Applied (reversed...) patch from
7763 Mike Sowka <msowka@rogers.com>. This fixes a problem with the
7766 2002-08-31 Lars Clausen <lrclause@cs.uiuc.edu>
7768 * objects/UML/class.c: Fixed showing of empty stereotypes and got
7769 the string placed correctly.
7771 2002-08-30 Hans Breuer <hans@breuer.org>
7773 * lib/font.c (dia_font_get_style) : don't shift already
7774 shifted DIA_FONT values.
7776 * lib/libdia.def : updated externals
7778 * app/disp_callbacks.c : on win32 GdkEventKey::string already
7779 is in UTF-8. (Longterm this probably should be handled on the
7782 * app/command.[hc] app/display.[hc] app/menus.c : add code to
7783 switch display renderers again. The libart renderer is very
7784 useful for win9x with it's limited GDI.
7786 * app/render_gdk.c : use g_warning instead of printf which gets
7787 nowhere on win32 (non console apps)
7789 * app/render_libart.c : make it compile without FREETYPE
7791 * objects/makefile.msc plug-ins/makefile.msc : added clean target
7793 2002-08-29 Lars Clausen <lrclause@cs.uiuc.edu>
7795 * app/render_eps.c (postscript_draw_contour): Debugging statement
7796 that allowed me to figure out font problems.
7798 * lib/widgets.c (dia_font_selector_set_styles): Use radio menu
7799 items for font styles.
7801 * objects/FS/flow-poly.c:
7802 * objects/FS/flow-ortho.c:
7803 * objects/FS/flow.c: Further conversion away from GTK dialogs.
7804 Can't set a default label right now:(
7806 * app/interface.c (fill_sheet_wbox): Added initialization for mask.
7808 2002-08-27 Cyrille Chepelov <cyrille@chepelov.org>
7809 Patch from Andrew Ferrier <andrew@new-destiny.co.uk>:
7811 * Makefile.am: rules relating to AUTHORS and THANKS
7813 * AUTHORS: file content changed to more accurately
7814 reflect guideline requirements.
7815 * TODO: warning added about Gnome BTS.
7816 * KNOWN_BUGS: warning added about Gnome BTS.
7820 * AUTHORS: added full copyright info.
7821 * mkauthors-placeholder: (removed)
7823 2002-08-27 Lars Clausen <lrclause@cs.uiuc.edu>
7825 * app/paginate_psprint.c (print_page): Fixed text printing after
7826 tip from Dov Grobgeld.
7828 2002-08-26 Lars Clausen <lrclause@cs.uiuc.edu>
7830 * app/paginate_psprint.c (print_page): Fixed color of clip
7833 2002-08-26 Cyrille Chepelov <cyrille@chepelov.org>
7835 * sheets/Makefile.am: enabled intltool-merge translation cache for
7839 * mkauthors-placeholder:
7840 * AUTHORS: revived that file (in a placeholder form) so that
7841 automake stops yelling.
7842 (derived from a patch by Andrew Ferrier <andrew@new-destiny.co.uk>)
7845 Heh, by the way, thanks Christophe. I feel better now.
7847 2002-08-25 Christophe Merlet <christophe@merlet.net>
7849 * app/command.c: Removed invalid multibyte sequence in Chepelov.
7851 2002-08-24 Lars Clausen <lrclause@cs.uiuc.edu>
7853 * lib/dia_image.c (dia_image_rgb_data):
7854 Bugfixes in image data retrieval.
7856 * app/render_eps.c: Refactoring of new_*_renderer.
7858 2002-08-23 Lars Clausen <lrclause@cs.uiuc.edu>
7862 * lib/dia_image.c: Support for rowstride != width (odd width images)
7864 2002-08-20 Lars Clausen <lrclause@cs.uiuc.edu>
7866 * lib/paper.c (get_paper_info): Fixed NULL prefs problem.
7867 * plug-ins/xfig/xfig-import.c: Removed assertion.
7869 2002-08-18 Lars Clausen <lrclause@cs.uiuc.edu>
7871 * lib/paper.c: Removed app/preferences.h reference.
7873 2002-08-14 Lars Clausen <lrclause@cs.uiuc.edu>
7875 * plug-ins/svg/svg-import.c:
7876 * plug-ins/xfig/xfig-import.c:
7877 * lib/Makefile.am (libdia_a_SOURCES):
7878 * objects/standard/Makefile.am (libstandard_objects_la_SOURCES):
7880 * objects/standard/create.h:
7881 * objects/standard/polygon.c (polygon_create):
7882 * objects/standard/polyline.c (polyline_create):
7883 * objects/standard/beziergon.c (beziergon_create):
7884 * objects/standard/bezier.c (bezierline_create):
7885 Moving create.h into lib.
7887 2002-08-13 Lars Clausen <lrclause@cs.uiuc.edu>
7889 * app/render_libart.[ch]: Work on PNG font export. Something's
7890 still fishy with the scaling, I don't get it.
7893 * app/interface.c: Replaced broken zoom combo with entry+menu.
7894 Now works beautifully. Removed WITHOUT_ZOOM_COMBO stuff.
7896 * app/render_gdk.c (get_text_width): Checks for validity of text.
7897 Temporary help while debugging input -- should only activate on
7900 * objects/SADT/annotation.c:
7901 * objects/GRAFCET/transition.c:
7902 * objects/FS/function.c: Removal of gtk.h include.
7904 * objects/UML/state.c (state_load): Warnings about using State
7905 object for initial/final states.
7907 * plug-ins/cgm/cgm.c (init_fonts): Proper Pango interfacing.
7909 2002-08-12 Lars Clausen <lrclause@cs.uiuc.edu>
7911 * app/render_eps.c: Text rendering that scales correctly. Too bad
7912 the standard fonts don't get selected right.
7914 2002-08-09 Lars Clausen <lrclause@cs.uiuc.edu>
7916 * lib/diagramdata.h:
7917 * lib/paper.c (get_paper_info):
7919 * plug-ins/xfig/xfig-import.c:
7920 Committed before testing. I am so embarrased. This compiles, now
7921 that the includes are in the right order.
7923 * app/diagram.c (diagram_init):
7924 * app/app_procs.c (do_convert):
7925 * app/preferences.h:
7926 * lib/diagramdata.h:
7927 * lib/diagramdata.c (new_diagram_data):
7929 * lib/paper.c (get_paper_info):
7930 Moved new_diagram part of prefs into lib/diagramdata.h. More
7931 could be done in new_diagram_data() now.
7933 2002-08-08 Lars Clausen <lrclause@cs.uiuc.edu>
7935 * app/render_eps.c: Better scaling of fonts at non-normal zoom.
7937 2002-08-07 Cyrille Chepelov <cyrille@chepelov.org>
7939 * configure.in: removed silly user-visible comment
7941 (actually, this is a dummy entry before I manually run nemo; for
7942 some dist-upgrade related reason, this morning's run aborted before
7943 the snapshots were created)
7945 2002-08-06 Lars Clausen <lrclause@cs.uiuc.edu>
7947 * objects/network/wanlink.c:
7948 * objects/network/bus.c:
7951 * objects/custom/custom_object.c:
7952 * objects/network/wanlink.c:
7953 * objects/flowchart/parallelogram.c:
7954 * objects/flowchart/ellipse.c:
7955 * objects/flowchart/diamond.c:
7956 * objects/flowchart/box.c:
7957 Removed GTK defaults stuff.
7959 * objects/UML/fork.c:
7960 * objects/UML/object.c:
7961 * objects/UML/lifeline.c:
7962 * objects/UML/branch.c:
7963 * objects/GRAFCET/transition.c:
7964 * objects/FS/function.c: Removed GTK include.
7966 * objects/FS/flow-ortho.c:
7967 * objects/FS/flow.c: Made the label behave again.
7968 Also removed GTK defaults stuff.
7970 2002-08-06 Hans Breuer <hans@breuer.org>
7972 * app/autosave.c : ported to GDir which is the improved
7973 cross platform replacement for <dirent.h>
7975 * app/makefile.msc : build autosave.obj
7977 * app/font.c : some (bad?) code calls
7978 dia_font_scaled_decent() not only with empty string but
7979 with NULL. Handle it gracefully.
7981 * lib/paper.c : don't depend on ../app. Although IMO
7982 this shouldn't be allowed on any platform it is only
7983 disabled for win32, where it simply doesn't work
7986 * lib/widget.c (strcase_equal) : pass char* to g_strcasecmp()
7988 * objects/fs/flow.c : conditionalize debug spew, disabled
7989 and 'ported' to use g_print. Simple printf won't work with
7990 standard win32 gui apps, may even crash them.
7992 * plug-ins/makefile.msc : DISABLED svg-import cause it
7993 depends on ../objects/custom. This not only break the
7994 build for all non ELF systems but IMO also isn't acceptable
7995 from a design point of view. See dia-list mail on subject.
7997 * plug-ins/python/makefile.msc :
7998 plug-ins/python/python.c : remove all references to dirent
8000 2002-08-05 Cyrille Chepelov <cyrille@chepelov.org>
8002 * configure.in: added ro to ALL_LINGUAS
8006 * ../translation-graphs/transgraph.py: added support for fuzzy
8007 translations. Enlarged the graphs.
8009 2002-08-05 Lars Clausen <lrclause@cs.uiuc.edu>
8011 * app/disp_callbacks.c (ddisplay_canvas_events): Now translates
8012 key events according to locale. No clue if this works for
8015 2002-08-04 Lars Clausen <lrclause@cs.uiuc.edu>
8017 * lib/text.c: Various UTF8 related fixes, in particular in
8018 deleting. Text_insert_char is fine, far as I can tell.
8020 * app/interface.c (create_display_shell):
8021 * app/commands.c: Now uses gtk_clipboard functions, for they are
8022 much simpler. Also handles Win32 clipboard. Non-ascii chars
8023 don't seem to get handled correctly by text_insert_char in
8026 * app/commands.c (received_selection_handler): Got utf8 handling
8027 on paste, and individual char handling out of commands.c. Pasting
8028 non-ASCII is still broken, somehow. It's all lib/text.c's fault.
8030 * lib/message.c (gtk_message_internal): Message dialog re-shown
8031 when new message appears. Maybe it should even move to top?
8035 * app/render_eps.c (create_eps_renderer): Fonts now lowercase
8036 (again) and case-insensitive.
8038 * objects/GRAFCET/condition.c (CONDITION_FONT): Changed to
8041 2002-08-02 Lars Clausen <lrclause@cs.uiuc.edu>
8043 * app/commands.c (edit_cut_text_callback):
8044 * lib/text.c (text_delete_all): Now functioning undo for text cut.
8046 * app/commands.c (edit_cut_text_callback): Now removes text.
8047 Undo is broken, though.
8049 2002-08-01 Lars Clausen <lrclause@cs.uiuc.edu>
8051 * app/diagram.c (diagram_update_menu_sensitivity):
8052 Making cut_text active.
8055 * app/commands.c: Using PROP_TYPE_TEXT to find text to copy to
8056 clipboard. Also removed AA callback.
8058 2002-08-01 Lars Clausen <lrclause@cs.uiuc.edu>
8060 * objects/chronogram/chronoref.c:
8061 * objects/chronogram/chronoline.c:
8062 * objects/SADT/annotation.c:
8063 * objects/SADT/arrow.c:
8064 * objects/SADT/box.c:
8065 * objects/GRAFCET/vergent.c:
8066 * objects/GRAFCET/vector.c:
8067 * objects/GRAFCET/step.c:
8068 * objects/GRAFCET/condition.c:
8069 * objects/GRAFCET/action.c:
8070 * objects/ER/participation.c:
8071 * objects/ER/relationship.c:
8072 * objects/ER/entity.c:
8073 * objects/ER/attribute.c:
8074 Removing unnecessary GTK references.
8076 2002-07-31 Lars Clausen <lrclause@cs.uiuc.edu>
8078 * objects/standard/image.c:
8079 * objects/standard/textobj.c:
8080 * objects/standard/ellipse.c:
8081 * objects/standard/polygon.c:
8082 * objects/standard/beziergon.c:
8083 * objects/standard/box.c:
8084 Making default default properties.
8086 * objects/standard/image.c:
8087 * objects/standard/arc.c:
8088 * objects/standard/box.c:
8089 * objects/standard/zigzagline.c:
8090 * objects/standard/polyline.c:
8091 * objects/standard/line.c:
8092 * objects/standard/ellipse.c:
8093 * objects/standard/polygon.c:
8094 * objects/standard/beziergon.c: Removing vestigal GTK stuff.
8096 * lib/object_defaults.c (dia_object_default_create):
8099 * lib/object.c (object_copy_using_properties):
8100 * lib/propdialogs.c:
8101 * lib/propinternals.h:
8102 * lib/propobject.c (object_create_props_dialog)
8103 (object_copy_props):
8104 Removing the standard (toolbox) properties from defaults dialogs.
8106 2002-07-30 Lars Clausen <lrclause@cs.uiuc.edu>
8108 * lib/font.c (dia_font_scaled_string_width)
8109 (dia_font_scaled_ascent, dia_font_scaled_descent): Account for
8111 * lib/text.c (text_calc_boundingbox): Take descent into account.
8113 * objects/standard/bezier.c (bezierline_draw):
8114 * lib/render.c (draw_bezier_with_arrows):
8115 Better arrow drawing for beziers. Doesn't change the mouse-click
8118 * lib/arrows.h: Some const-ness.
8120 * lib/arrows.c (calculate_arrow_point): Initialize zero-length moves.
8122 * lib/render.c (draw_arc_with_arrows):
8123 * objects/standard/arc.c (arc_draw): Better arrow drawing for
8124 arcs. Doesn't change the mouse-click area yet.
8126 * app/menus.c: Forgotten fix: Redraw menu item for non-Gnome.
8132 2002-07-29 Lars Clausen <lrclause@cs.uiuc.edu>
8134 * app/group.c (group_draw): Forgotten commit: Groups to draw as
8135 objects (using default routines).
8139 * lib/diagramdata.h:
8140 * lib/diagramdata.c (layer_find_closest_connectionpoint):
8141 * objects/standard/zigzagline.c (zigzagline_move_handle):
8142 * app/diagram.c (diagram_find_closest_connectionpoint):
8143 * plug-ins/python/pydia-diagram.c
8144 (PyDiaDiagram_FindClosestConnectionPoint):
8145 * app/object_ops.c (object_connect_display)
8146 (object_find_connectpoint_display)
8147 * app/create_object.c (create_object_button_press)
8148 (create_object_motion):
8149 * app/modify_tool.c (modify_motion):
8150 Adding object param to allow connectionpoint and handle coinciding.
8152 * objects/standard/zigzagline.c (zigzagline_check_orientation):
8153 Fixing minor problems.
8155 * objects/standard/ellipse.c (ellipse_update_data):
8156 Added direction hints.
8158 * lib/diagramdata.c:
8161 * lib/diagramdata.h:
8162 * objects/standard/zigzagline.c:
8163 First working example of zigzagline hints, currently only between
8166 2002-07-27 Steffen Macke <sdteffen@web.de>
8168 * plug-ins/svg/render_svg.c: added support for rounded
8169 rectangles (fixes #69053 if compile with
8171 * object/custom/shape_info.[c|h]: made parse_style and
8172 parse_path accessible for svg plug-in
8173 * plug-ins/svg/Makefile.am:
8174 * plug-ins/svg/svg.c:
8175 * plug-ins/svg/svg-import.c(new): added SVG import filter
8177 2002-07-27 Lars Clausen <lrclause@cs.uiuc.edu>
8179 * objects/standard/box.c:
8180 * objects/standard/zigzagline.c (zigzagline_move):
8181 More work on zigzagline hints.
8183 2002-07-26 Lars Clausen <lrclause@cs.uiuc.edu>
8184 * lib/connectionpoint.h:
8185 Hints for zigzaglines.
8187 * app/properties.c (properties_show):
8188 * app/defaults.c (defaults_show):
8190 * lib/propobject.c (object_create_props_dialog):
8192 * objects/FS/flow-poly.c:
8193 * objects/network/wanlink.c:
8194 * objects/network/bus.c:
8195 * objects/UML/class.h:
8196 * objects/UML/class_dialog.c:
8197 * objects/UML/association.c:
8198 Start of removing toolbox props from props dialogs.
8202 * app/lineprops_area.c (dia_arrow_chooser_new):
8203 * lib/arrows.c: Two new arrows: Concave, filled and blanked.
8205 * app/create_object.c:
8206 * app/modify_tool.c:
8211 2002-07-25 Lars Clausen <lrclause@cs.uiuc.edu>
8213 * app/preferences.c:
8215 * app/diapagelayout.c:
8216 New prefs selector kind PREF_CHOICE chooses between a list of
8217 strings. Used for picking default paper.
8219 * app/preferences.c (prefs_data):
8220 * lib/paper.c (get_paper_info): Added prefs setting for
8223 * lib/render.c (draw_polyline_with_arrows): Handles degenerate
8224 line segments at the ends (bug #86603).
8226 2002-07-25 Lars Clausen <lrclause@cs.uiuc.edu>
8228 * objects/standard/zigzagline.c (zigzagline_copy): Fix for bug
8229 #60324: Now calls update_data after copy.
8231 * app/interface.c (fill_sheet_wbox): Better fix for bug #88601:
8232 Now doesn't steal selection from non-object tools.
8234 2002-07-24 Lars Clausen <lrclause@cs.uiuc.edu>
8236 * app/commands.c (help_manual_callback): Uses BROWSER environment
8237 variable when available.
8239 2002-07-23 Lars Clausen <lrclause@cs.uiuc.edu>
8241 * app/interface.c (fill_sheet_wbox): Fix for bug #88601: Select an
8242 object from the new sheet when changing.
8244 * app/app_procs.c (app_init): Uses more standard size icon, from
8245 patch #56433. Keeping old icon as dia_gnome_icon_large.png.
8247 2002-07-22 Lars Clausen <lrclause@cs.uiuc.edu>
8249 * objects/UML/implements.c (implements_update_data):
8250 * objects/UML/realizes.c (realizes_update_data):
8251 * objects/UML/dependency.c (dependency_update_data):
8252 Test for null strings before calling on ascent.
8254 * objects/UML/realizes.c (realizes_draw):
8255 * objects/UML/message.c (message_draw):
8256 * objects/UML/generalization.c (generalization_draw):
8257 * objects/UML/dependency.c (dependency_draw)
8258 * objects/UML/constraint.c (constraint_draw):
8259 * objects/GRAFCET/condition.c (condition_draw):
8260 * objects/UML/association.c (association_draw):
8261 * objects/FS/flow-ortho.c (orthflow_draw):
8262 * objects/FS/flow.c (flow_draw): Change to use
8263 draw_foo_with_arrows. Pretty pretty arrows. Yay me!
8266 * lib/arrows.c (calculate_arrow_point):
8269 * objects/standard/zigzagline.c:
8270 * objects/standard/polyline.c:
8271 * objects/standard/line.c: Work towards better arrow drawing.
8273 2002-07-21 Lars Clausen <lrclause@cs.uiuc.edu>
8275 * objects/UML/state.c: Starting phase-out of State object as
8276 initial/final state (which never worked right).
8278 * app/app_procs.c (app_init): --version command line option for
8281 * configure.in: Slight improvement in GETTEXT_PACKAGE handling.
8283 2002-07-19 Lars Clausen <lrclause@cs.uiuc.edu>
8285 * app/render_eps.c: Removed debugging info.
8287 * lib/font.c (dia_font_scaled_ascent, dia_font_scaled_descent):
8288 Kludge to make ascent and descent work for empty strings. Won't
8289 work when using non-ASCII fonts. Better would be to get a
8290 PangoFont and ask directly.
8292 * configure.in: Simple define of GETTEXT_PACKAGE, and some updates
8295 * app/render_gdk.c (get_text_width): Fixed use of wrong string.
8298 2002-07-18 Lars Clausen <lrclause@cs.uiuc.edu>
8300 * plug-ins/xfig/xfig-export.c: First use of draw_object render
8301 function: All shapes are now groups in XFig export.
8303 * lib/diagramdata.c (normal_render):
8306 * app/display.c (ddisplay_obj_render):
8307 New render function for drawing objects, allows renderers to group
8308 or otherwise specially handle objects. We may want to reconsider
8309 calling it in app/display.c, as we 'know' the object draw function
8310 is the default one there.
8312 * lib/Makefile.am: Removed extra \ that broke stuff.
8314 * plug-ins/xfig/xfig-import.c:
8315 Spline import for xfig. Not perfect.
8317 * objects/standard/create.h:
8318 * objects/standard/bezier.c (bezierline_create):
8319 * lib/bezier_conn.c:
8320 * lib/beziershape.c (beziershape_set_points):
8321 * lib/bezier_conn.h:
8322 * lib/beziershape.h:
8323 Support for creating beziers non-interactively.
8325 2002-07-17 Lars Clausen <lrclause@cs.uiuc.edu>
8327 * plug-ins/xfig/xfig-import.c: Support for polygons and
8328 polylines. Special warning handling system removed.
8330 * lib/message.c (gtk_message_internal): Fixed bug involving
8331 closing message window and then getting repeated message.
8335 * configure.in (GETTEXT_PACKAGE):
8336 Update based on bug #88199. Hopefully this doesn't break too much
8339 * dia.desktop.in (_Comment): Changed after suggestion from
8340 calum.benson@ireland.sun.com (bug 88345)
8342 * app/sheets_dialog_callbacks.c: Fix from Dolores Alia de Saravia
8343 <loli@unsa.edu.ar> that makes user/system distinction better.
8345 2002-07-16 Lars Clausen <lrclause@cs.uiuc.edu>
8347 * app/render_libart.c: Got the context right, removed crashes.
8357 Remove libart #defines from most places (still around for png export).
8359 * app/render_libart.h:
8360 * app/render_libart.c:
8361 * configure.in (HAVE_LIBART):
8362 Starting on update of libart stuff for png export (without X).
8364 * app/autosave.h (autosave_check_autosave):
8367 * app/Makefile.am (dia_core_files):
8369 * app/diagram.c (diagram_set_modified):
8371 * app/app_procs.c (app_init):
8372 Autosave support. No automatic restore yet.
8374 2002-07-16 Lars Clausen <lrclause@cs.uiuc.edu>
8376 * app/render_eps.c (create_eps_renderer): #ifdef'd a scale
8379 2002-07-15 Lars Clausen <lrclause@cs.uiuc.edu>
8381 * app/interface.c (fill_sheet_menu): Tear-off for sheets menu.
8383 2002-07-15 Andrew Ferrier <andrew@new-destiny.co.uk>
8385 * Fix for 'make dist' etc. --- problem caused by
8386 previous AUTHORS patch.
8388 2002-07-14 Lars Clausen <lrclause@cs.uiuc.edu>
8390 * plug-ins/cgm/cgm.c (init_fonts): Changed pango_font_map to
8392 (set_font): NULL check.
8394 2002-07-12 Lars Clausen <lrclause@cs.uiuc.edu>
8396 * app/disp_callbacks.c:
8398 Addition to the object menus allows check menu items.
8400 2002-07-11 Andrew Ferrier <andrew@new-destiny.co.uk>
8402 * HACKING: completely changed to bring up-to-date.
8403 * AUTHORS: file needs REMOVING from CVS as now
8404 dynamically generated.
8405 * app/authors.h: split into subcategories for original
8406 authors, maintainers, etc.
8407 * app/app_procs.c: --credits rewritten to support new
8409 * app/commands.c: no changes to about box code, comment
8411 * Makefile.am: added rule for AUTHORS. I'm still
8412 inexperienced with automake, it seems to work, but
8413 for AUTHORS-related bugs, look at this change first.
8415 2002-07-10 Lars Clausen <lrclause@cs.uiuc.edu>
8417 * plug-ins/Makefile.am (SUBDIRS): Just realized why my hack didn't
8418 work. Back to including xslt dir always.
8420 * objects/UML/uml.c:
8421 * objects/UML/class.h:
8422 * objects/UML/class_dialog.c:
8423 * objects/UML/class.c: Patch from
8424 <mattam@netcourrier.com>: Adds comment visibility switch, also
8427 Big patch from Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
8428 for state/fork/activity stuff.
8429 * objects/UML/state.c: Removed old draw_rounded_rectangle code.
8430 * objects/UML/Makefile.am:
8431 * objects/UML/uml.c:
8432 * sheets/UML.sheet.in: Added new objects activity, fork,
8434 * objects/UML/pixmaps/state_term.xpm:
8435 * objects/UML/state_term.c: New, only initial/final states.
8436 * objects/UML/pixmaps/activity.xpm:
8437 * objects/UML/activity.c: New, activity state.
8438 * objects/UML/pixmaps/fork.xpm:
8439 * objects/UML/fork.c: New, fork/join bar.
8440 * objects/UML/pixmaps/state.xpm: state icon.
8444 * doc/shape.dtd: Patch from "Dolores Alia de Saravia"
8445 <loli@unsa.edu.ar> to add dia: to diagram.dtd elements and add
8448 2002-07-07 Lars Clausen <lrclause@cs.uiuc.edu>
8450 * plug-ins/Makefile.am (SUBDIRS): Made the XSLT dir depend on
8453 * app/Makefile.am: Commented out the diaconv parts while it's not
8454 used anyway. To come back later.
8456 * configure.in (HAVE_FREETYPE):
8459 * app/render_eps.c: Support for printing with freetype, better
8460 encapsulated now. Renders the text nicely, but ignores font
8461 setting. Requires pangoft2 to get the font outline, but non-text
8462 objects can still be rendered without it.
8465 * app/commands.c (objects_place_up_callback)
8466 (objects_place_down_callback):
8468 * app/diagram.c (diagram_place_down_selected)
8469 (diagram_place_up_selected): Starting support for moving objects
8472 * app/menus.c: Removed character/numeral shortcuts.
8474 2002-07-06 Hans Breuer <hans@breuer.org>
8476 * makefile.am app/makefile.am lib/makefile.am
8477 objects/makefile.am plug-ins/makefile.am
8478 plug-ins/python/makefile.am :
8479 added required files for win32 build to EXTRA_DIST
8481 * app/paginate_psprint.c app/render_eps.c
8483 wrap (E)PS Renderer into HAVE_FREETYPE, no FreeType
8484 on Pango as currently is on win32 => no PostScript
8487 * lib/widgets.c : undef GTK_DISABLE_DEPRECATED;
8488 use '/* noop */;' for empty case labels; replace
8489 debug spew printf with g_print which is guaranteed
8490 to work on win32, too.
8492 * lib/font.c (dia_pfd_set_weight) : set 'intermediate' values
8493 for DIA_FONT_MEDIUM and DIA_FONT_DEMIBOLD as explicit allowed
8494 in the pango_font_description_set_weight() api documentation
8495 Take care for them in dia_font_get_style() too.
8497 * lib/font.[hc] lib/widget.c objects/custom/shape_info.c
8498 plug-ins/shape/shape-export.c plug-ins/svg/render_svg.c :
8499 rename Obliquity to Slant which appears to be the usual name,
8500 also rename dia_font_get_style_string -> dia_font_get_slant_string
8502 * plug-ins/wmf/wmf.cpp : finally ported to new font api
8504 * lib/prop_attr.c app/render_gdk.c : dont *_unref if NULL
8506 * objects/uml/association.c class.c large_package.c message.c
8507 if g_free() is used g_strdup needs to be used.
8508 * objects/custom/shape_info.c
8509 objects/ER/attribute.c entity.c
8510 objects/standard/image.c
8511 app/sheets_dialog_callbacks.c : more strdup cleaning
8513 2002-07-05 Lars Clausen <lrclause@cs.uiuc.edu>
8515 * app/render_eps.c: Non-crashing printing (made the right
8516 context). Font output still fscked up.
8518 2002-07-05 Andrew Ferrier <andrew@new-destiny.co.uk>
8520 * app/authors.h: Added file --- now master
8521 location for contributors data.
8522 * app/app_procs.c: Added --credits option.
8523 * app/commands.c: Modified about box to use
8526 2002-07-05 Lars Clausen <lrclause@cs.uiuc.edu>
8528 * app/render_eps.c: First stab at EPS rendering using the contour
8529 code from PAPS. Crashes.
8531 2002-06-30 Lars Clausen <lrclause@cs.uiuc.edu>
8533 * app/recent_files.c (recent_file_history_remove):
8534 Fixed call to g_list_delete_link discarding return value.
8536 * lib/widgets.c (dia_font_selector_set_styles):
8537 * lib/font.h (DiaFontWeight):
8538 * lib/font.c (dia_font_get_style): Revert to DIA_FONT_NORMAL==0
8540 2002-06-30 Cyrille Chepelov <cyrille@chepelov.org>
8542 Contribution from Alan Horkan <horkana@tcd.ie>:
8545 * sheets/Assorted.sheet:
8546 A set of 40 assorted geometric shapes.
8548 * sheets/Assorted.sheet.in:
8549 * sheets/Makefile.am
8550 * shapes/Assorted/Makefile.am:
8551 * shapes/Makefile.am:
8554 Done the integration job of Alan's shapes. (Translators: have fun!)
8556 * po/dia.pot: refreshed the main potfile.
8558 2002-06-28 Cyrille Chepelov <cyrille@chepelov.org>
8560 Patch from Tim Ellis <Tim.Ellis@gamet.com>:
8562 * objects/UML/class.[ch]:
8563 * objects/UML/class_dialog.c:
8564 changed the number of connection points from a hardcoded value of
8565 8 to a #defined constant
8567 (I changed the constant back from 20 to 8, until we better know
8568 how we'll handle more connection points on the UML class in the
8569 future -- but Tim's patch is a welcome clean-up).
8571 2002-06-26 Cyrille Chepelov <cyrille@chepelov.org>
8573 * shapes/MSE/demultiplexer.xpm:
8574 * shapes/MSE/node_center.xpm:
8575 * shapes/MSE/multiplexer.xpm:
8576 * shapes/MSE/tacsat.xpm: updated MSE icons (transparency) by Alan
8577 Horkan <horkana@tcd.ie>
8579 2002-06-25 Lars Clausen <lrclause@cs.uiuc.edu>
8581 * lib/widgets.c: Total rehash of font selector, with font dialog
8582 option, expanding list (not LRU yet), and stuff.
8584 2002-06-25 Cyrille Chépélov <cyrille@chepelov.org>
8588 Added a set of new setter/getters, some of them more specially for
8591 * plug-ins/shape/shape-export.c: (new_shape_renderer),
8592 (destroy_shape_renderer), (set_font), (draw_string):
8593 * plug-ins/svg/render_svg.c: (new_svg_renderer),
8594 (destroy_svg_renderer), (set_font), (draw_string):
8596 Actually exported the font face, style, weight and size (sodipodi
8597 agrees with dia on how a small sample should look like (a sample
8598 0.90 would not even display anyways). Yay !)
8600 Patch from Matthieu Sozeau <mattam@netcourrier.com>:
8602 * plug-ins/xslt/Makefile.am: repaired the mess Cyrille put there.
8604 (end of ChangeLog-less patch)
8606 * objects/custom/shape_info.c (parse_style): now understands the
8607 font-style and font-weight attributes as well. Does not use
8608 anymore dia_font_new_from_legacy_name().
8610 2002-06-24 Lars Clausen <lrclause@cs.uiuc.edu>
8612 * objects/standard/textobj.c: Now uses stdprops for defaults.
8614 * lib/font.h: Changed order of DiaFontWeight entries. Sorry.
8615 * lib/font.c (dia_font_get_style): Style now linear and conversion
8618 * lib/widgets.c (dia_font_selector_set_styles): Fixed the style
8621 2002-06-24 Cyrille Chepelov <cyrille@chepelov.org>
8623 * plug-ins/dxf/dxf-import.c:
8624 using dia_font_new_from_style()
8626 Patch from Matthieu Sozeau <mattam@netcourrier.com>:
8628 * objects/UML/class.[ch]: Added a comment field to class
8629 * objects/UML/uml.[ch]: Added a comment field to attributes,
8630 operations and parameters.
8631 * objects/UML/class_dialog.c: Added code for the new comment
8633 * plug-ins/xslt/*.xsl: Added some code to handle comments.
8634 * plug-ins/xslt/xslt*.c: Clean up based on Cyrille comments.
8635 Added a $directory parameter for stylesheets so the output is
8636 in the good place (not in the $PWD).
8640 * AUTHORS: added contributors, updated maintainers. Removed the
8641 specific areas of action.
8643 * Patch from Andrew Ferrier <andrew@new-destiny.co.uk>, derived
8644 from a patch by Xing Wang <quixon@gnuchina.org>:
8646 * app/commands.c: help_about_callback now supports
8647 new-style GNOME about box as well as old GTK style.
8648 code also tidied (Closes: #85726)
8652 * app/commands.c: fixed the copyright (it's not all FSF), and
8653 maintainers. Synced contributors list with AUTHORS.
8655 2002-06-24 Lars Clausen <lrclause@cs.uiuc.edu>
8657 * lib/message.c: More work on repeating messages, now with
8660 2002-06-24 Hans Breuer <hans@breuer.org>
8662 * lib/widget.c : some more bits in place, at least
8663 it does something useful instead of crashing. Much
8664 better - but not all ok :-)
8666 2002-06-23 Lars Clausen <lrclause@cs.uiuc.edu>
8668 * lib/message.c (gtk_message_internal): First stab at repeating
8671 2002-06-23 Cyrille Chepelov <cyrille@chepelov.org>
8674 * objects/GRAFCET/*.c:
8676 * objects/UML/association.c: (one instance forgotten)
8677 * objects/UML/large_package.c:
8678 * objects/standard/textobj.c:
8681 using dia_font_new_from_style()
8683 2002-06-23 Hans Breuer <hans@breuer.org>
8685 * lib/font.c : giving some love to
8686 dia_font_new_from_legacy_name() that is making
8687 import of old files as painless as possible and
8688 provide an almost exact match where possible.
8689 It does not yet fully work because it interfers
8690 with the Style to DiaStyle conversion which comes
8693 [Changing these files is only allowed with Dia-0.90]
8694 * broken-files/fonts-0.90.dia : including the
8695 common hard-coded fonts from Dia-0.90. It also
8696 has drawn bounding-boxes for win32 as they were calculated
8697 from the former version (they were all too big).
8698 * broken-files/fonts-0.90-full.dia : all hardcoded
8699 fonts including the asian versions. On my machine
8700 this gives _a lot_ complaining about missing fonts
8701 and a finally a broken file display. Anyone having
8704 2002-06-23 Cyrille Chepelov <cyrille@chepelov.org>
8706 * objects/chronogram/*.c:
8707 * objects/custom/custom_object.c:
8709 using dia_font_new_from_style()
8711 2002-06-23 Lars Clausen <lrclause@cs.uiuc.edu>
8713 * lib/widgets.c (dia_font_selector_set_styles): Improvements to
8714 font selector (stability, insensitivity).
8716 * lib/font.c (dia_font_scaled_build_layout): Removed unworkable
8717 stretching scheme for tweaking, and made scaling scheme faster
8719 (dia_font_dia_style_to_pango): Oops, % != /.
8721 2002-06-23 Cyrille Chepelov <cyrille@chepelov.org>
8724 * patch from Matthieu Sozeau <mattam@netcourrier.com>:
8726 * plug-ins/xslt : Added an XSLT plugin to export dia files using
8727 XML Stylesheets. The plug-in requires DIA_PLUGIN_PATH to be set.
8728 It includes a small config file to tell it what stylesheets to use.
8732 * plug-ins/xslt/xsltdialog.c: modified the dialog to be more
8733 GTK2.0/HIG compliant (the labels could be slightly more verbose,
8734 perhaps). Added back a couple forgotten _(). Removed //-style
8737 2002-06-23 Hans Breuer <hans@breuer.org>
8740 (dia_plugin_get_name) : don't crash plugin_manager
8742 (dia_plugin_load) : reuse the description field to
8743 store the error string if loading fails.
8745 * lib/font.[hc] : starting to beautify the new
8746 font api: proper namespacing, adding convenience
8747 functions like dia_font_new_from_style(), ...
8749 * objects/uml/*.c : use the new convenience functions.
8751 [Next thing I plan to do is changing the other font
8752 functions to take DiaStyle and make Style and
8753 BASIC_*_FONT vanish. As well as giving some love to
8754 dia_font_new_from_legacy_name().
8755 If anyone want's to help on converting the other
8756 objects to the new api during that, I would highly
8759 2002-06-23 Hans Breuer <hans@breuer.org>
8761 * lib/font.c : made it compile and small indent fixes.
8762 Is there a code-has-no-effect-so-needs-not-be-valid
8765 * lib/widgets.c : use g_strcasecmp
8767 2002-06-22 Lars Clausen <lrclause@cs.uiuc.edu>
8771 * lib/widgets.c: Font names sorted, style selector widget
8772 reappeared. Doesn't select the old style yet.
8774 2002-06-22 Cyrille Chepelov <cyrille@chepelov.org>
8776 * lib/font.c: one who expects a text's font to be changed shall
8777 actually request the attributes to apply to the whole range of the
8780 * lib/font.c: extents computation was wrong.
8782 * lib/font.c: dia_font_get_legacy_name(); g_strconcat works better
8783 if a last NULL parameter is added...
8785 * lib/font.c: extents computation was completely wrong. This looks
8786 much better this time.
8788 * objects/UML/class.c: fixed the various strings positions.
8790 * lib/font.h, and **/*.[ch] (all callers of dia_font_new): used
8791 macros to get the hardcoded base fonts.
8793 * objects/ER/relationship.c: wasn't converted to DiaFont*
8795 2002-06-22 Hans Breuer <hans@breuer.org>
8797 * lib/widget.c : dont use backend specific functions
8798 to get on the font_families. Including it would mean
8799 including <windows.h> which breaks due to namespace
8802 * lib/libdia.def : updated externals
8804 * app/makefile.msc : temporary disabled: -DHAVE_LIBART
8806 * lib/font.c : added empty dia_font_init_instance function,
8807 reformatting of dia_fon_unref to allow to set breakpoint,
8808 dia_fon_build_layout() : dont crash on string==NULL
8810 * lib/text.c (text_set_attributes) : don't unref the wrong font
8812 * lib/widgets.c (dia_fon_selector_set_font) : our hashtable
8813 stores lowercased font names, but dia_font_get_family()
8816 2002-06-22 Lars Clausen <lrclause@cs.uiuc.edu>
8819 * app/render_gdk.c: Patch from Hans Breuer.
8821 * app/Makefile.am (dia_core_files): diaconv commented out for now.
8823 2002-06-22 Cyrille Chepelov <cyrille@chepelov.org>
8825 * lib/all files touched yesterday: took into account some of Hans
8827 http://mail.gnome.org/archives/dia-list/2002-June/msg00257.html
8829 * objects/chronogram/*:
8832 * objects/flowchart/*:
8834 * objects/GRAFCET/*:
8836 * objects/standard/textobj.?:
8838 converted to the new DiaFonts.
8841 * plug-ins/pstricks/*:
8845 Made minimalistic conversions so that they'd at least compile.
8848 * app/render_pixmap.c:
8849 Converted to the new DiaFonts.
8854 made the minimal changes so that it would at least build.
8856 *** At this point, the thing builds on my machine, but segfaults
8859 2002-06-21 Cyrille Chepelov <cyrille@chepelov.org>
8861 * configure.in: removed the backend-specific pango pkg_modules
8862 (trivial to add back if needed, when actually needed)
8865 * app/*gnomeprint.[ch]: (removed): removed the GNOME-print
8866 renderer. The APIs will have completely changed when we get around
8867 to redo a renderer for it, anyways.
8869 * font.[ch]: rewrote everything from scratch, with a Pango
8870 implementation. Normally, only backend-neutral things should go in
8873 **WARNING**: new rules for managing DiaFont* pointers: these are
8874 reference-counted GObjects. One >must< diafont_ref() and
8875 diafont_unref() as appropriate. I wish I could overload operator=()...
8877 lib/plug-ins.h: bumped up the plug-in API.
8882 lib/object_defaults:
8883 lib/prop_attr.c: Adapted to the new DiaFont API. This'll change
8884 again tomorrow with GObject.
8886 lib/widgets.c: Adapted to the new DiaFont API and to Pango.
8888 **** The rest of the tree should be updated as well ****
8890 2002-06-21 Lars Clausen <lrclause@cs.uiuc.edu>
8894 * app/render_pixmap.c:
8895 * app/render_pixmap.h:
8896 * app/render_libart.h:
8897 * app/render_libart.c:
8899 * lib/font.c: Removed freetype stuff (still around in
8900 lib/widgets.c 'cause we might want the font selector widget).
8902 2002-06-20 Cyrille Chepelov <cyrille@chepelov.org>
8904 * shapes/network/laptop.(xml|shape):
8905 * sheets/network.sheet.in: added Laptop (notebook) PC shape,
8906 contributed by Alan Horkan <horkana@tcd.ie>. (Closes: #82643)
8908 2002-06-17 Hans Breuer <hans@breuer.org>
8910 * lib/object_defaults.c : #include <libxml/tree.h> not
8911 <tree.h> pointed out by Xing Wang
8913 2002-06-17 Lars Clausen <lrclause@cs.uiuc.edu>
8915 * lib/color.h (GDK_COLOR_TO_DIA, DIA_COLOR_TO_GDK):
8917 * app/color_area.c: Update to
8918 gtk_color_selection_*_current_color() fixed bad crash issues, plus
8919 updated color conversions.
8921 * sheets/ER/weakentity.xpm: Accepted patch from
8922 quixon@gnuchina.org to make icon match actual appearance.
8924 * app/recent_files.c: Fixed GNOME recent file problem, thanks to
8925 quixon@gnuchina.org.
8927 2002-06-16 Hans Breuer <hans@breuer.org>
8929 * lib/plug-in.[hc] : make PlugInInfo opaque again in the
8930 good tradition of information hiding. Add new function
8931 dia_plugin_get_symbol()
8932 * app/sheets.c app/sheets_dialog_callbacks.c : use it
8934 * app/sheets.c : stop complaining about object_get_type()
8935 returning NULL. This is a consequence of e.g. disabling
8936 plug-ins at runtime _and_ it was and is gracefully handled.
8937 Spitting out g_warning for it isn't appropriate.
8939 * lib/object.[ch] : removed dead code
8941 * app/plugin-mangager.c : almost complete rewrite for gtk2
8942 using GtkListStore/GtkTreeView
8944 * lib/libdia.def : updated externals
8946 * todo.gtk2 : updated, that is removed already done steps
8948 2002-06-15 Hans Breuer <hans@breuer.org>
8950 * objects/uml/class_dialog.c : clean some left-over
8951 utf8-mess, return 0 from "focus_out_event" handlers
8952 to avoid asserting in gtk (#78305). Reconstruct
8953 stereotype/NULL behaviour to avoid rendering empty
8954 stereotypes on classes and member functions
8956 [#56109 - Provide object defaults for StdProp objects,
8957 some remaining issues are discussed in bugzilla]
8959 * lib/object_defaults.c : (new file) manage default properties
8960 of dia objects. The serialization is done with standard
8961 object methods in a diagram compatible format.
8963 * lib/object.c : add object_registry_foreach() which allows
8964 to iterate over all registered object types
8966 * lib/object.h : added prototypes object_default*() and
8967 object_registry_foreach()
8969 * lib/makefile.am lib/makefile.msc : add new file to build
8971 * lib/libdia.def : export new functions
8973 * app/defaults.c : provide StdProp based defaults if the
8974 ObjectType doesn't implement it's own default functions
8976 * app/create_object.c : through dia_object_default_create()
8977 * app/disp_callbacks.c : same here
8979 2002-06-12 Lars Clausen <lrclause@cs.uiuc.edu>
8981 * objects/FS/flow-ortho.c (orthflow_get_object_menu): Menu
8982 sensitivity for deleting segments.
8984 2002-06-12 Cyrille Chépélov <cyrille@chepelov.org>
8986 * app/color_area.c: (color_area_events):
8987 * app/diagram.c: (diagram_destroy):
8988 * app/interface.c: (zoom_activate_callback), (fill_sheet_wbox),
8990 * app/load_save.c: (diagram_data_load):
8991 * app/menus.c: (menus_get_item_from_path):
8992 * app/preferences.c: (prefs_load):
8993 * app/render_gdk.c: (get_text_width):
8995 * lib/color.c: (color_convert):
8996 * lib/dia_dirs.c: (dia_config_filename):
8997 * lib/dia_xml.c: (xmlDiaParseFile), (data_type):
8998 * lib/intl.c: (intl_get_language_list):
8999 * lib/message.c: (message):
9001 * lib/paper.c: (get_default_paper):
9002 * lib/plug-ins.c: (this_is_a_plugin), (dia_register_plugins):
9003 * lib/widgets.c: (dia_file_selector_get_file):
9005 * objects/standard/image.c: (get_directory):
9009 2002-06-12 Lars Clausen <lrclause@cs.uiuc.edu>
9011 * ChangeLog: Fixed bad UTF-8 mess. Apologies.
9013 2002-06-11 Lars Clausen <lrclause@cs.uiuc.edu>
9015 * app/interface.c: sscanf now returns EOF on empty string, so
9016 handle no match for zoom factor better => correct zoom at start.
9018 * app/sheets.c (create_object_pixmap): Tried to display empty error.
9019 (sheets_optionmenu_create): Died when not finding specified
9020 sheet. Don't think it should.
9022 * objects/UML/association.c: Added patch from osamyn@ulb.ac.be
9023 (bug #84367) to place the text better.
9025 2002-06-11 Cyrille Chepelov <cyrille@chepelov.org>
9027 * configure.in: Added forgotten libgnomeui-2.0 when --enable-gnome
9029 * app/commands.c: Removed unnecessary gnome include. Removed
9030 GNOME-Print support.
9032 * app/menus.h: Removed now unnecessary gnome include.
9034 * app/sheets_dialog.c: Used Gtk 2.0 stock buttons instead of
9035 GNOME-specific stock buttons
9037 2002-06-09 Hans Breuer <hans@breuer.org>
9039 * app/app_procs.c : convert 'Modified diagrams exits'
9040 dialog to use GtkMessageDialog. That gives us:
9041 - icons without Gnome dependency
9042 - much less code, also cross platform
9043 - improved useability ?
9045 * app/color_area.c : the Color Selection Widget looked
9046 quite wrong (alpha problems). Fix it by merging in required
9047 changes stolen from The Gimp cvs
9048 * app/color_area.h : to get the right appearance the maskes
9049 needed to be taken into account
9050 * app/interface.c : adapt to color_area_create changes.
9051 Also remove some dead code and finally remove cvs autexpansion,
9052 I was bothered enough by irrelevant differences :-)
9054 * app/defaults.c app/properties.c app/dia-props.c : use improved GtkDialog
9055 api, i.e stocks and response to make the GnomeDialog usage
9056 obsolete. Also fixed the issue with closing the 'parent'
9057 before closing the dialog
9059 * app/display.[ch] : removed some dead code and conversion
9060 to new GtkDialog api. Also trying to conform to new HIG
9061 standard http://developer.gnome.org/projects/gup/hig/
9063 2002-06-09 Hans Breuer <hans@breuer.org>
9065 * lib/makefile.msc : define GTK_DISABLE_DEPRECATED,
9068 * lib/dia_image.c : gtk_widget_set_default_visual()
9069 remove. It does nothing with Gtk2.
9071 * lib/libdia.def : added ps_unicoder exports
9073 * lib/message.c : remove #GNOME use GtkMessageDialog.
9074 Yeah, Dia gets dialogs wit icons cross-platform.
9076 * lib/prop_geomtypes.c : gtk_spin_button_get_value_as_float()
9077 to gtk_spin_button_get_value()
9079 * lib/prop_inttypes.c : gtk_label_set() -> gtk_label_set_text()
9081 add #undef GTK_DISABLE_DEPRECATED to still use ...
9082 * lib/prop_text.c : ... GtkText
9083 * lib/prop_widgets.c : ... GtkList
9084 * lib/prop_dialogs.c : ... gtk_signal_connect and more
9085 * lib/widgets.c : ... (too much to list here)
9087 * lib/ps-utf8.c : #include <string.h>
9089 2002-06-08 Cyrille Chepelov <cyrille@chepelov.org>
9092 * Makefile.am: Adapted for gtk2.
9093 Removed dependencies on libunicode, on iconv(), on langinfo().
9095 * acconfig.h: removed (now obsolete)
9097 * lib/charconv.[ch]: removed (superceded by glib)
9098 * lib/ps-utf8.[ch]: removed dependency on charconv.[ch]
9100 * **/*.[ch]: removed (utfchar *), (unichar) and other charconv or
9101 libunicode types for their glib counterparts. Fixed the include
9102 paths for libxml2. Removed all traces of libxml1 or non-UTF8
9103 support (there were remains in objects/uml).
9106 2002-06-08 Hans Breuer <hans@breuer.org>
9108 */*.c */*/*.c : remove all the #ifdef *_UTF8_* hell,
9109 only keep the utf-8 clean code cause Dia+Gtk2 now talk it.
9110 Also use g_strdup()'s handling of NULL by returning NULL
9111 again at all places I found (remove unnecessary if's)
9113 * todo.gtk2 : new file to keep notes about gtk2 porting,
9114 further issues and thoughts and some status information.
9115 Also sent to dia-list ('Dia goes Gtk2 ...').
9117 [make it compile with GTK+ 2.0]
9119 * config.h.win32 : #undef GTK_TALKS_UTF8_WE_DONT,
9120 removed definition of S_ISDIR, S_ISREG and getlogin
9122 * */makefile.msc : Use GTK2 and libxml2
9123 BEWARE: makefile.am, configure.in not yet ported !
9125 * app/app_procs.c app/diagram.c : remove
9126 gtk_item_factory_dump_rc code, (it wasn't read in again anyway)
9127 but set use gtk_menu_set_accel_path() on menu creation
9129 * app/color_area.c lib/widgets.c :
9130 make use of gtk_color_selection_set_has_palette ()
9132 * app/commands.c : gdk_pixbuf_new_from_file wants an
9133 extra argument. Convert from DIR to GDir usage.
9135 * app/diagram_tree.c(button_press_callback) : need to return
9136 FALSE in the signal handler to let gtk process it further.
9137 (get_object_name) : don't leak 'prop'
9139 * app/diapagelayout.c : adapt to GtkTypeInfo changes and handle
9140 dia_page_layout_destroy() getting called more than once
9142 * app/diaunitspinner.c : GtkEditable -> GtkEntry,
9145 * app/disp_callbacks.c : gtk_menu_append() -> gtk_menu_shell_append()
9147 * app/display.h : wrap input contexts declarations into #ifdef USE_XIM.
9148 IIRC this code will not compile unchanged when USE_XIM is defined ...
9150 * app/gtk[hv]wrapbox.[hc] : use already ported version from The GIMP 1.3.x
9152 * app/interface.c : there is no widget->klass anymore in Gtk,
9153 use GTK_WIDGET_GET_CLASS instead. gdk_pixbuf_new_from_file() extra
9154 parameter. Some tweaking of GtkWrapBox usage to get four tools in
9156 switch off GTK's double buffering on Dia's canvas. Otherwise we would
9157 get triple buffering and flicker.
9158 Replace call to GTK private function _gtk_accel_group_attach()
9159 with public gtk_window_add_accel_group()
9161 * app/layer_dialog.c : adapt to GtkTypeInfo changes
9163 * app/load_save.c lib/plug-ins.c lib/sheet.c
9164 objects/custom/custom.c :
9165 simplified by using g_file_test()
9167 * app/menus.c : convert from gtk_item_factory_<dump|parse>_rc
9168 to gtk_accel_map_<save|load>. Also added common stock-icons
9171 * app/preferences.c : use gtk_button_set_label() instead
9172 of button->child which is gone. Also removed GLIB_CHECK_VERSION.
9174 * app/preferences.c lib/dia_xml.c lib/plug-ins.c :
9175 #ifdef G_OS_WIN32 #include <io.h>, this was formerly done
9178 * app/recent_files.c : removed GLIB_CHECK_VERSION
9181 plug-ins/metapost/render_metapost.c
9182 plug-ins/pstricks/render_pstricks.c
9183 plug-ins/svg/render_svg.c :
9184 replace getlogin() with g_get_user_name() which always
9187 * app/render_gdk.c : gdk_region_union_with_rect() modifies
9188 inplace now and returns nothing, also less #hell
9190 * app/render_libart.c : some initial #hell cleaning, SuckFont
9191 still needs to vanish
9193 * app/splash.c : gdk_pixbuf_new_from_file() second arg and
9194 GTK_WINDOW_DIALOG -> GTK_WINDOW_TOPLEVEL
9196 * app/render_pixbuf.c app/sheets.c : plain #hell cleaning
9197 * app/sheets_dialog_callbacks.c : some #hell and adaptions
9198 needed to GtkWrapBox api changes
9201 * lib/charconv.[hc] : removed from build
9202 [changed appropriate]
9203 * lib/prop_inttypes.c lib/prop_text.c :
9205 * lib/text.c : ported from HEAD but keep original indent
9206 intact. Original was done by Akira TAGOH.
9208 * lib/color.c : GdkColorContext is gone, use GdkColormap instead.
9210 * lib/dia_image.c : gdk_pixbuf_new_from_file() second arg
9212 * lib/dia_xml.c : remove #ifdef GLIB_CHECK_VERSION, it's the
9213 same on all platforms now!
9215 * lib/font.c : still using SuckFont which was an IMPERATIVE FIXME!
9217 * lib/message.c : remove "charconv.h"
9219 * lib/prop_text.c : #define GTK_ENABLE_BROKEN to use GtkText
9222 * lib/sheet.c : convert from DIR to GDir usage
9224 * lib/widgets.c : gtk_menu_(shell_)append and GtkTypeInfo
9226 * lib/widgets.h : include gtk<label|colorseldialog>.h
9229 * objects/fs/flow.c :
9230 * objects/fs/flow-ortho.c : GTK_ENABLE_BROKEN to use GtkText
9232 * objects/custom/custom.c : convert from DIR to GDir usage
9235 * plug-ins/python/makefile.msc : updated for GTK2/Python2.2
9238 2002-05-03 Hans Breuer <hans@breuer.org>
9240 * lib/dia_xml.c : make the well formed utf8 check
9241 actually work for û (non 7-bit ascii encoding)
9242 and fixed the file re-writing if the check fails.
9243 Thanks to Vitaly Lipatov for noticing the misbehaviour.
9245 * lib/font.c : synchronize #ifdef G_OS_WIN32 with
9246 comment on last ressort font. Thanks to Maxim Sobolev.
9248 2002-06-03 Cyrille Chepelov <cyrille@chepelov.org>
9250 * sheets/network.sheet.in: corrected a typo in plotter invocation.
9252 2002-06-03 Steffen Macke <sdteffen@web.de>
9254 * shapes/network/digitizing_board.png:
9255 * shapes/network/digitizing_board.shape:
9256 * shapes/network/plotter.png:
9257 * shapes/network/plotter.shape:
9258 * shapes/network/Makefile.am
9259 * sheets/network.sheet.in: added new plotter and digitizing
9262 2002-06-02 Cyrille Chepelov <cyrille@chepelov.org>
9264 * lib/font.c: made a symptomatic fix to a segfault reported by
9265 Jan Keirse <jan.keirse@pandora.be> on a SuSE 7.3 system. This
9266 won't prevent dia from terminating, but should give more
9267 user-friendly information about why did it terminate.
9269 Two patches from <robert.young@dsto.defence.gov.au>:
9271 * app/display.c: fix the size of the canvas area which gets
9272 redrawn. There was an off-by one error (Closes #83659)
9274 * app/display.c: make sure we redraw all screen only when we
9275 really have to (some update_areas were mistakenly ignored) (Closes
9278 * NEWS: added a new entry for the future. Put there a reminder to
9279 update the dependencies.
9281 * configure.in: put in notes about what will change shortly.
9282 upped the version to 0.90+cvs (did also in config.h.win32)
9283 upped the minimum version for intltools (now 0.21)
9285 2002-06-01 Cyrille Chepelov <cyrille@chepelov.org>
9291 bumped up version number to 0.90. Yay!
9293 2002-05-30 Cyrille Chepelov <cyrille@chepelov.org>
9295 * doc/pl/Makefile.am:
9296 * doc/en/Makefile.am: fixed a "make install" problem when db2html
9297 is not present (Reported by Andrew Ferrier
9298 <andrew.junk@new-destiny.co.uk>). Fixed another "make distclean"
9299 problem which prevented me from ever seeing the problem in doc/en...
9301 * Makefile.am: added autogen.sh to the EXTRA_DIST clause.
9303 * lib/font.c: patch from <robert.young@dsto.defence.gov.au>; add a
9304 way to read the font path from the XFS configuration files in
9305 order to enable FreeType (fixes #83098).
9307 * POTFILES.(in,skip): now skips objects/sybase/sybase.c, which is not
9314 bumped up version number to 0.90.RC3
9316 2002-05-29 Zbigniew Chyla <cyba@gnome.pl>
9318 * configure.in, doc/Makefile.am, doc/pl/Makefile.am,
9319 doc/pl/authors.sgml, doc/pl/dia-manual.sgml, doc/pl/dia-pl.omf,
9320 doc/pl/intro.sgml, doc/pl/license.sgml, doc/pl/topic.dat
9321 doc/pl/usage-canvas.sgml, doc/pl/usage-customization.sgml,
9322 doc/pl/usage-layers.sgml, doc/pl/usage-loadsave.sgml
9323 doc/pl/usage-objects-selecting.sgml, doc/pl/usage-objects-special.sgml,
9324 doc/pl/usage-objects.sgml, doc/pl/usage-quickstart.sgml:
9325 Added Polish documentation.
9327 2002-05-27 Cyrille Cheeplov <cyrille@chepelov.org>
9329 * objects/UML/state.c: there was a (gratuitous?) change of on-XML
9330 format for the UML State object. Now there's a hack to reload
9331 older files, and get them converted on the fly.
9332 Justyna BiaÅ?a <nell@poczta.gazeta.pl> reported this. Thanks!
9336 * lib/proplist.c: Added a new property flag, PROP_FLAG_LOAD_ONLY,
9337 and adapter the proplist predicates. A LOAD_ONLY property is for
9338 when you have legacy to support but can't resist moving your
9339 fields around... (was needed to support the above state.c fix).
9341 If the in-core of your object changes and you need a LOAD_ONLY
9342 property for the old format, you must keep some spare room in your
9343 object's struct to accomodate for the potential old-style
9344 attributes. Then in foo_load(), after having called
9345 object_load_using_properties(), you must inspect the old-style
9346 fields and act accordingly. Don't ever change the on-disk formats...
9348 * objects/UML/object.c:
9349 * objects/UML/small_package.c: added a check against empty
9350 stereotypes still consuming space. Reported by Dolores Alia de
9351 Saravia <loli@unsa.edu.ar>. Thanks!
9353 2002-05-26 Cyrille Chepelov <cyrille@chepelov.org>
9355 * INSTALL: added platform notes from MÃ¥rten Svantesson, for when
9356 using libtool on an AFS partition.
9358 * po/update_potfiles_in.sh: now simply calls the recent intltools
9359 features; they work better than hand-crafted half-ignorant
9360 scripts. Thanks to Kenneth Rohde Christiansen <kenneth@gnu.org>
9363 * po/POTFILES.in: added back two files update_potfiles_in.sh
9364 didn't take into account. Now this file is not automatically
9366 * po/POTFILES.skip: told `intltool-update -m` what files to ignore
9367 (the usual suspects, in fact).
9369 * configure.in: improved the isinf() / isfinite() detection on
9370 Solaris (MÃ¥rten Svantesson)
9372 2002-05-25 Cyrille Chepelov <cyrille@chepelov.org>
9374 * configure.in: one expression was replacing $CFLAGS, removing
9375 whatever was previously in.
9376 Added more checks for isinf() and finite() on Solaris.
9378 * lib/geometry.h: added a macro defintion for isinf() if not
9379 HAVE_ISINF. (Hans, you may want to #define HAVE_ISINF if relevant
9382 * app/commands.c: "cut" did not set the 'modified' bit (paste has
9383 been for a little while). Fixes #82994.
9385 * Makefile.am: added more stuff to distclean-local. This should make
9386 "make distcheck" pass! Thanks to the author of
9387 http://mail.gnome.org/archives/gnome-2-0-list/2001-August/msg00212.html
9388 ... I wonder who this Henstridge guy is ... ;-)
9389 Darn. Still doesn't pass. I give up for tonight.
9391 * po/update_potfiles_in.sh: updated to take care of sheet files,
9392 and to filter out the EML plug-in.
9393 * po/POTFILES.in: updated with all .c and all .sheet.in files
9395 * po/dia.pot, po/*.po: again updated all .po files with all
9396 strings (with the updated POTFILES). Now with the up-to-date
9397 POTFILES, just all languages have some fuzzy or untranslated
9398 strings (not that the 100% team was that large beforehand...)
9400 * po-checktrans: removed the comment about .po files not holding
9401 all translatable stuff, since now they do.
9403 2002-05-24 Cyrille Chepelov <cyrille@chepelov.org>
9409 bumped up version number to 0.90.RC2
9411 2002-05-20 Hans Breuer <hans@breuer.org>
9413 * app/load_save.c : starting to increase
9414 Dias tolerance on incomplete/broken files. The
9415 corresponding bug is #56233. But the patch there does
9416 neither apply anymore nor does it really fix the problem
9417 but only delays it, e.g. even if it would be allowed
9418 to read a file without any layers, the later code can't
9420 * lib/dia_xml.c : attribute_<num|first>_data(), data_type()
9421 handle passing in NULL for the node gracefully.
9423 * shapes/network/printer.shape : added two more connection
9424 points - one at each side - to fix bug #60359
9426 * app/commands.c (edit_copy_callback) :
9427 add ddisplay_do_update_menu_sensitivity() to make
9428 sequence select-copy-paste work.
9430 2002-05-20 Hans Breuer <hans@breuer.org>
9432 * app/create_object.c (create_object_button_press) :
9433 added a call to ddisplay_do_update_menu_sensitivity()
9434 to make Ctrl^D etc work after object creation.
9437 2002-05-18 Lars Clausen <lrclause@cs.uiuc.edu>
9439 * objects/ER/entity.c:
9440 * objects/ER/attribute.c:
9441 * objects/ER/relationship.c: Patch to allow text size change from
9442 Celso Tetsuo Nagase Suzuki.
9444 2002-05-18 Steffen Macke <sdteffen@web.de>
9446 * app/app_procs.c: #ifdef'd xmlerror.h (comes with
9448 * doc/en/graphics/greendots.png:
9449 * doc/en/home_network.png:
9450 * doc/en/line_props.png:
9452 * dia_gnome_icon.png:
9453 * dia_gnome_menu_icon.png:
9455 * shapes/network/telephone.png:
9456 * shapes/Logic/and.png:
9457 * shapes/Logic/buffer.png:
9458 * shapes/Logic/connector.png:
9459 * shapes/Logic/inverter.png:
9460 * shapes/Logic/nand.png:
9461 * shapes/Logic/nor.png:
9462 * shapes/Logic/not.png:
9463 * shapes/Logic/or.png:
9464 * shapes/logic/xor.png:
9465 * samples/ER-demo.dia:
9467 * samples/UML-demo.dia:
9468 * samples/chronograms.dia:
9469 * samples/grafcet.dia: re-added as binary files
9471 2002-05-17 Hans Breuer <hans@breuer.org>
9473 * lib/libdia.def : reflect removing of render_store.[ch]
9475 * */makefile.mingw : remove VERSION definition it's
9476 done in config.h.win32. Dia still doesn't work if
9477 build with mingw ...
9479 * RELEASE-PROCESS : removed */makefile.mingw
9481 * app/sheets_dialog_callbacks.c : if we use those
9482 ugly charconv_gtk_* functions lib/charconv.h needs to
9484 * lib/charconv.h : ... and needs to contain the
9485 necesseray prototypes _and_ #defines
9487 * plug-ins/shape/shape-export.c : with libxml2 xmlNewGlobalNs
9488 is deprecated and does nothing but spit a warning. This broke
9489 the shape format writing. Fixed.
9490 Also with libxml2 pretty formatted xml isn't the default
9491 anymore, but needs to be enabled explicit: It is done now
9492 for shape files, which almost always needed to be edited by
9495 * app/app_procs.c : #if G_OS_WIN32 redirect xmlErrorReporting
9496 from stderr - which is invalid on Dia/win32 - to g_print -
9497 which opens up a console window if necessary. This way
9498 a xml-deprecation-error shouldn't stay unnoticed next time
9500 2002-05-17 Steffen Macke <sdteffen@web.de>
9502 * shapes/Misc/folder.png:
9503 * shapes/Misc/file.png: re-added as binary files
9505 2002-05-16 Lars Clausen <lrclause@cs.uiuc.edu>
9507 * lib/font.c: Fixed segfault for fonts without family_name.
9509 2002-05-17 Cyrille Chepelov <cyrille@chepelov.org>
9511 * po/POTFILES.in: added app/sheets_dialog_callbacks.c
9513 * app/sheets_dialog_callbacks.c: While reviewing UTF-8isation upon
9514 Lars' request, minor cosmetic stuff (mostly _() of human-readable
9515 XML comments in .sheet files; one translator booby-trap disarmed).
9517 * lib/charconv.c: moved #hell inside the body of the new
9518 charconv_*gtk* functions (otherwise the Win32 or gtk2.0 linker
9521 2002-05-16 Lars Clausen <lrclause@cs.uiuc.edu>
9523 * plug-ins/wpg/Makefile.am (INCLUDES):
9524 * plug-ins/shape/Makefile.am (INCLUDES):
9525 * plug-ins/svg/Makefile.am (INCLUDES):
9526 * plug-ins/pstricks/Makefile.am (INCLUDES):
9527 * plug-ins/metapost/Makefile.am (INCLUDES): Added UNICODE_CFLAGS
9528 and DEBUG_CFLAGS in some missing places.
9530 * MAINTAINERS: New file containing list of known package
9534 * lib/charconv.c: Charconv versions of some common gtk calls.
9536 * app/sheets_dialog_callbacks.c
9537 (on_sheets_new_dialog_button_ok_clicked),
9538 (on_sheets_dialog_button_edit_clicked),
9539 (on_sheets_dialog_button_remove_clicked),
9540 (on_sheets_edit_dialog_button_ok_clicked):
9541 * app/sheets.c (sheets_optionmenu_create),
9542 (sheets_optionmenu_create): Added utf8 translations.
9544 * app/sheets_dialog.c:
9546 * app/sheets_dialog_callbacks.c: Added some missing _()'s.
9548 2002-05-16 Cyrille Chepelov <cyrille@chepelov.org>
9550 * po/POTFILES.in: added app/sheets_dialog.c
9552 2002-05-15 Cyrille Chépélov <cyrille@chepelov.org>
9554 * lib/charconv.c: (charconv_local8_to_utf8),
9555 (charconv_utf8_to_local8): tweaked the warnings to get more
9557 * lib/font.c: (font_get_suckfont): handled a potential case of
9558 uninitialised data being used (just paranoid)
9560 * objects/GRAFCET/boolequation.c: (opstring),
9561 (opblock_get_boundingbox), (opblock_draw),
9562 (boolequation_calc_boundingbox): some extra hoops needed now dia
9563 talks UTF8 (but gtk doesn't). More #hell. Beeek. Basically, the
9564 symbols can't yet be used with their proper Unicode cells, since
9565 gtk will demand them in the Symbol font, expressed in the local
9568 * samples/grafcet.dia: re-saved, now with a fixed bounding box (by
9569 the fix just above).
9571 2002-05-14 Lars Clausen <lrclause@cs.uiuc.edu>
9573 * app/diagram_tree.c (get_object_name): Check that name property
9574 doesn't have null string.
9576 2002-05-13 Lars Clausen <lrclause@cs.uiuc.edu>
9578 * autogen.sh (DIE): Added conditional --force to gettextize.
9580 * app/pagesetup.c (pagesetup_ok): Commented out missing Gnome
9583 2002-05-13 Cyrille Chepelov <cyrille@chepelov.org>
9585 * RELEASE-PROCESS: added James' notes on how to properly make the
9588 * configure.in: removed macro nesting related to libpng.h, which
9589 was causing some problems on some systems (like mine, which made
9592 Made --enable-unicode, previously an option, the mandatory case.
9594 * app/Makefile.am: updated EXTRA_DIST
9597 * app/makefile.mingw:
9599 * doc/en/dia-manual.sgml:
9600 * plug-ins/makefile.mingw:
9601 * configure.in: bumped up the version number to 0.90.RC1
9603 * lib/render_objects.[ch]:
9604 * po/POTFILES.in: removed render_objects from the build.
9606 * plug-ins/Makefile.am:
9607 * plug-ins/wmf/Makefile.am (new): EXTRA_DIST'ed the WMF plug-in,
9608 so we keep its source in the tarball.
9610 * objects/network/*.c, Makefile.am:
9611 * objects/sybase/*.c, Makefile.am:
9612 * po/POTFILES.in: cleaned up the non-existent files from the po
9615 * plug-ins/Makefile.am: re-enabled metapost plug-in.
9617 2002-05-13 Steffen Macke <sdteffen@web.de>
9620 * app/command.c: added M. C. Nelson to the Authors
9621 * sheets/Circuit/Makefile.am: added firewall shape to build
9622 * sheets/network/Makefile.am: added telephone and microphone
9625 2002-05-13 Lars Clausen <lrclause@cs.uiuc.edu>
9627 * RELEASE-PROCESS: Added list of files that contain the release
9628 number or should otherwise be changed at each release.
9630 2002-05-12 Lars Clausen <lrclause@cs.uiuc.edu>
9632 * objects/UML/uml.c (uml_operation_read): Forgot to commit this
9633 (reported fixed) bug: POLYMORPHIC -> LEAF for default.
9635 2002-05-12 Hans Breuer <hans@breuer.org>
9637 * config.h.win32 : changed VERSION to 0.90.RC1
9639 * app/makefile.msc lib/makefile.msc : use renamed
9640 gdk-pixbuf version (same content but renamed because
9641 all the other gtk+ dlls are renamed) to avoid trouble
9642 mixing gtk versions (of which one would not
9645 * app/app_procs.c : removed recently unneeded
9646 inclusion of "sheets.h"
9648 * app/render_gdk.c : removed my own debug spew
9649 which should never made it to cvs
9651 * lib/render_object.[hc] : added
9652 #error "File not used anymore."
9654 * lib/libdia.def : updated externals
9656 * app/interface.c : dropped filenames need to be
9657 converted from uri with Gtk+2.0
9659 2002-05-12 Cyrille Chepelov <cyrille@chepelov.org>
9661 * RELEASE-PROCESS (new): a draft document about how to release. To
9662 be discussed. (already with some input from Hans Breuer)
9664 2002-05-12 Steffen Macke <sdteffen@web.de>
9666 * sheets/Makefile.am: re-added Misc sheet to make process
9668 2002-05-12 Lars Clausen <lrclause@cs.uiuc.edu>
9670 * objects/FS/function.c: Added comments to humungous list of menu
9671 items, to aid translators.
9673 2002-05-11 Lars Clausen <lrclause@C194282.chmpgn1.il.home.com>
9675 * app/menus.c (display_menu_items): Added a few shortcuts for zooms.
9677 * app/menus.c (display_menu_items): Added a few shortcuts for zooms.
9679 * app/interface.c (create_toolbox): Disallow shrinking beyond
9680 requested size. Fixes bug #59439, and confirms to GTK guidelines
9681 (see gtk_window_set_policy).
9682 (create_sheets): Removed now unnecessary set_usize call.
9684 2002-05-10 Lars Clausen <lrclause@C194282.chmpgn1.il.home.com>
9686 * lib/beziershape.c (remove_handles): Fixing removal of last
9687 segment. Undo of removal still hokey.
9689 2002-05-10 Lars Clausen <lrclause@cs.uiuc.edu>
9691 * lib/bezier_conn.c (remove_handles): Proper offset for fixing
9693 * lib/beziershape.c (beziershape_init): Removed early call to
9694 beziershape_update_data where points aren't set yet.
9695 (beziershape_add_segment): Use segment 0 instead of overflowing
9696 points array with segment+1.
9697 (beziershape_remove_segment): Proper offset for fixing
9699 (remove_handles): Proper offset.
9701 2002-05-08 Lars Clausen <lrclause@cs.uiuc.edu>
9703 * objects/GRAFCET/action.c (action_update_data): Init x value of
9704 click point for call to connpointlist_adjust_count.
9706 * app/modify_tool.c (create_modify_tool): Init tool->auto_scrolled
9708 * app/render_pixmap.c (new_pixmap_renderer): Moved first linestyle
9709 setting to where values are inited.
9711 * lib/polyshape.c (polyshape_init): Removed call to
9712 polyshape_update_data that tried to use uninitialized data.
9714 2002-05-06 Lars Clausen <lrclause@C194282.chmpgn1.il.home.com>
9716 * app/sheets_dialog.c: Mass removal of //-style comments. The
9717 Irix compiler doesn't like them:( I do...
9719 2002-05-06 Lars Clausen <lrclause@cs.uiuc.edu>
9721 * app/render_libart.c (draw_string): Bail out when no GDK font is
9723 (set_font): Give error when font not found.
9724 (set_fillstyle): Intlized error msg.
9726 * app/pagesetup.c (pagesetup_ok, pagesetup_apply): Sets diagram
9727 modified when applied (and ok only does apply if apply is set
9728 sensitive). Fixes bug #75623.
9730 2002-05-06 Pablo Saratxaga <pablo@mandrakesoft.com>
9732 * configure.in: Added Vietnamese (vi) to ALL_LINGUAS
9734 2002-05-05 Steffen Macke <sdteffen@web.de>
9736 * app/Makefile.am: added $(UNICODE_CFLAGS)
9738 2002-05-02 Lars Clausen <lrclause@cs.uiuc.edu>
9740 * app/commands.c (help_manual_callback): Check return value of
9743 * plug-ins/xfig/Makefile.am (INCLUDES): Added DEBUG_FLAGS
9745 * plug-ins/xfig/xfig-import.c: Fixed misspelled Poly_L_ine, added
9748 2002-04-30 Lars Clausen <lrclause@cs.uiuc.edu>
9750 * app/render_gdk.c (draw_string): Extra free killed. Thanks valgrind!
9752 * objects/UML/uml.c (uml_operation_read): Fix of UML default
9755 2002-04-30 Lars Clausen <lrclause@C194282.chmpgn1.il.home.com>
9757 * app/filedlg.c (file_save_as_callback, file_save_as_ok_callback):
9758 Added button to toggle diagram compression.
9760 2002-04-29 Lars Clausen <lrclause@C194282.chmpgn1.il.home.com>
9762 * lib/font.c: Support for loading extra kerning files, plus got
9763 rid of rounding errors. Bounding box mostly perfect for freetype
9765 (font_string_width): Fudge factor to get around nonlinearity of
9768 2002-04-29 Lars Clausen <lrclause@cs.uiuc.edu>
9770 * lib/font.c (font_string_width): YA font calculation scheme, with
9773 * objects/UML/class.c (umlclass_calculate_data): Uses the same
9774 font for drawing and calculating now.
9776 * configure.in: Added utime.h check.
9778 * app/render_gdk.c (draw_string): Uses gdk_draw_text_wc when in
9779 GTK_DOESNT_TALK_UTF8_WE_DO. Thus it matches the string width calc.
9781 2002-04-26 Hans Breuer <hans@breuer.org>
9783 [ Instead of fixing about 70 occurances in 20 files
9784 where GTK_TALKS_UTF8_WE_DONT needed to be handled
9785 Dia on win32 from now on uses glib-2.0 and not
9786 only talks utf-8 with gtk-1.3 but also internally.
9787 GTK_TALKS_UTF8_WE_DONT isn't supported/needed
9790 * config.h.win32 : #define UNICODE_WORK_IN_PROGRESS
9791 #undef GTK_TALKS_UTF8_WE_DONT
9793 * */makefile.msc : changes to use glib-2.0 (still
9794 using gtk+1.3(win32-production)
9796 * app/disp_callbacks.c : remove GTK_TALKS_UTF8_WE_DONT,
9797 adapt kevent->string handling, add <string.h>
9798 * app/render_gdk.c (get_text_width) : the length given
9799 is in chars, gdk_text_width() needs bytes
9801 * app/render_libart.c :
9802 * app/render_pixmap.c : remove GTK_TALKS_UTF8_WE_DONT
9803 (could simplify the same way as done in render_gdk.c)
9805 * app/diagram_tree.c app/paginate_gdiprint.cpp
9807 * lib/prop_basic.c lib/prop_geomtypes.c
9808 lib/propdialgs.c lib/propobject.c :
9809 added <string.h> which is now removed from charconv.h
9811 * lib/charconv.h : optional use infrastructure from
9812 glib-2.0 -> only five direct function mapping left
9814 * lib/charconv.c : avoid to build this with glib-2.0
9816 * lib/font.c : no string conversion needed anymore
9817 when Dia and Gtk talk utf-8, also code adaptions
9818 for GLIB_CHECK_VERSION(2,0,0)
9820 * lib/libdia.def : removed charconv functions
9822 * lib/prop_inttypes.c : removed GTK_TALKS_UTF8_WE_DONT,
9823 replace charconv_unichar_to_utf8() with g_unichar_to_utf8()
9825 * lib/prop_text.c lib/prop_widgets.c lib/font.c :
9826 removed GTK_TALKS_UTF8_WE_DONT
9828 * lib/text.c : finally(?) fixed cursor <place|move>ment
9829 for Umlauts. Also fixed char insertion, still wondering
9830 how this could ever work. Does realloc on Linux
9831 initialize the memory with zeros ?
9833 * objects/chronogram/chronoline_event.c
9834 objects/grafcet/boolequation.c :
9835 there is no uni_get_utf8 when building for glib-2.0.
9836 Replace with g_utf8_get_char() and g_utf8_next_char().
9838 * objects/uml/stereotype.c (bracketted_to_string) :
9839 simplify while adding code for glib-2.0 build
9841 2002-04-27 Lars Clausen <lrclause@cs.uiuc.edu>
9843 * app/diagram.h: Autosave field
9844 * app/diagram.c (diagram_set_modified): Sets autosave field.
9846 * objects/UML/usecase.c (usecase_update_data):
9847 * objects/flowchart/ellipse.c (ellipse_update_data):
9848 * objects/flowchart/parallelogram.c (pgram_update_data):
9849 * objects/flowchart/diamond.c (diamond_update_data):
9850 * objects/custom/custom_object.c (custom_update_data):
9851 * objects/UML/state.c (state_update_data):
9852 * objects/UML/small_package.c (smallpackage_update_data):
9853 * objects/UML/object.c (objet_update_data):
9854 * objects/UML/note.c (note_update_data):
9855 * objects/UML/node.c (node_update_data):
9856 * objects/UML/component.c (component_update_data):
9857 * objects/UML/classicon.c (classicon_update_data):
9858 * objects/UML/actor.c (actor_update_data):
9859 * objects/SADT/box.c (sadtbox_update_data):
9860 * objects/FS/function.c (function_update_data):
9861 All now update text boundaries from update_data.
9863 * lib/widgets.c (dia_font_selector_set_styles): Made the style set
9866 2002-04-26 Hans Breuer <hans@breuer.org>
9868 * config.h.win32 : added VERSION definition here
9869 (and removed from makefile.msc's)
9871 * app/makefile.msc : added new files
9873 * app/app_procs.c (app_init): remove sheets_dialog_create()
9874 from start-up and ...
9876 * app/sheet.c (sheets_dialog_show_callback) : ... lazy create
9877 sheet_dialog here when it is really needed.
9878 #include "../lib/message.h", make sheets_dialog_create()
9879 return it's success or failing on (!custom_type_symbol).
9880 Although editing shapes is nice IMHO it isn't crucial enough
9881 to abort() Dia if it isn't possible.
9883 * app/sheet.h : adapt create_sheet_dialog() prototype
9885 * app/sheets_dialog.c : add #ifdef HAVE_UNISTD_H
9887 * app/sheets_dialog_callbacks.c : #ifdef HAVE_UNISTD_H and
9888 #ifdef HAVE_UTIME_H. Otherwise #include <sys/utime.h> and
9889 name space corrections for utime() and utim_buf #ifdef
9892 * lib/libdia.def : export new sheet functions
9894 * lib/makefile.msc : added new files
9896 * lib/render.c : don't put draw_bezier_with_arrows() in
9897 the DrawLineWithArrowsFunc slot
9899 * objects/custom/custom_object.c : #include <gmodule.h>
9900 and export 'custom_type' via G_MODULE_EXPORT
9902 * objects/uml/class_dialog.c : removed 'incompatible
9903 types' warnings. Some refactoring while making it fit
9904 on screen with 800x600 again.
9906 * plug-ins/python/pydia-cpoint.h : add PyDiaConnectionPoint_Check
9908 * plug-ins/python/pydia-handle.h : extra parameter to
9909 PyDiaHandle_New to store the owner of the handle
9910 * plug-ins/python/pydia-handle.c : store handle owner
9911 on construction and use it in new method .connect()
9912 * plug-ins/python/pydia-object.c plug-ins/python/pydia-diagram.c :
9913 adapt to changed prototype
9915 2002-04-24 Lars Clausen <lrclause@cs.uiuc.edu>
9917 * lib/text.c (text_calc_boundingbox): Will now return early if box
9920 * objects/flowchart/box.c (box_update_data): Now updates text
9921 width info from update_data.
9923 2002-04-23 Steffen Macke <sdteffen@web.de>
9925 * plug-ins/xfig/xfig-import.c: fixed text import
9927 2002-04-22 Lars Clausen <lrclause@cs.uiuc.edu>
9929 * app/export_png.c: Moved dialog functions to their own file.
9930 * app/dialogs.[ch]: New files with standard functions for creating
9931 small, transient dialogs (e.g. export options).
9932 * app/Makefile.am: Added dialogs.[ch]
9934 2002-04-19 Steffen Macke <sdteffen@web.de>
9936 * shapes/Misc/folder.*:
9937 * shapes/Misc/file.*:
9938 * shapes/Misc/Makefile.am:
9939 * shapes/Makefile.am:
9940 * sheets/Misc.sheet.in:
9941 * sheets/Makefile.am:
9942 * configure.in: added new Misc sheet containing filesystem shapes
9944 2002-04-18 Lars Clausen <lrclause@cs.uiuc.edu>
9946 * app/lineprops_area.c: Arrow selector in toolbox changed to use
9947 standard arrowdraw code. Line is thinner to make some arrowheads
9950 2002-04-18 Steffen Macke <sdteffen@web.de>
9952 * sheets/network.sheet.in:
9953 * shapes/network/telephone.shape:
9954 * shapes/network/Makefile.am: added telephone shape
9956 2002-04-16 Steffen Macke <sdteffen@web.de>
9958 * sheets/EML.sheet.in: commented out unavailable shapes
9960 2002-04-15 M.C. Nelson <mcn@kobayashimaru.org>
9962 * app/sheets_dialog_callbacks.c: Fixed segfault caused by mis-ordered
9963 variable assignment.
9965 2002-04-15 Steffen Macke <sdteffen@web.de>
9967 * plug-ins/dxf/dxf-import.c: text import works again
9968 * shapes/Pneumatic/Makefile.am: added compush shape
9969 * sheets/Pneumatic.sheet.in: commented out unavailable shapes dist33
9972 2002-04-11 M.C. Nelson <mcn@kobayashimaru.org>
9974 * All these modifications are for the 'Sheets and Objects' dialog
9977 * app/pixmaps/line_break.xpm: new icon representing a line break.
9979 * app/pixmaps/n_a.xpm: new empty icon representing not available.
9981 * app/Makefile.am: added sheets_*.[ch] files to compile list.
9983 * app/menus.c: added GNOME and gtk menu items for 'Sheets and Objects'
9985 * app/sheets_dialog.c: [new file] definition of 'Sheets & Objects' dlgs
9987 * app/sheets_dialog.h: [new file] support for Sheets & Objects dlgs
9989 * app/app_procs.c: added call to sheets_dialog_create() in app_init()
9991 * app/sheets_dialog_callbacks.c: [new file] callbacks for S & O dialogs
9993 * app/sheets_dialog_callbacks.h: [new file] support for " " "
9995 * app/interface.c: added 'interface_current_sheet_name' global to
9996 fill_sheet_wbox(); made fill_sheet_menu() non-static
9998 * app/interface.h: added extern declaration for aboves.
10000 * app/sheets.c: [new file] instantiation and other funcs for S & O dlgs
10002 * app/sheets.h: [new file] declarations for backing store structures
10004 * lib/sheet.c: modification of new_sheet() parameters; introduction
10005 of USER and SYSTEM scope for sheets; procedure for sorting sheets;
10006 changes to load_register_sheet().
10008 * lib/sheet.h: added 'user_data_type' field to SheetObject structure;
10009 added 'has_icon_on_sheet' flag to SheetObject structure; added
10010 'filename', 'scope', 'shadowing' fields to Sheet structure.
10012 * lib/plug-ins.c: moved _PluginInfo declaration to header file where
10015 * lib/plug-isn.h: see above.
10017 * lib/object.c: added 'sheet.h' to include list; added several
10019 to detect objects which are not found on any sheet (for future use)
10020 object_type_detect_nosheet_callback(), object_types_detect_nosheet(),
10021 object_type_get_sheet_name(), object_type_strip_sheet_from_name().
10023 * lib/object.h: added public declarations for above functions where
10026 * objects/custom/custom.c: made custom_object_load() non-static so we
10027 can load and interpret .shape files from the Sheets & Objects dialog
10029 * objects/custom/custom_object.c: made 'custom_type' non-static so
10030 we can differentiate between SVG shapes and other types.a
10032 2002-04-07 Hans Breuer <hans@breuer.org>
10034 * app/object_ops.c (object_list_align_v): Fix the 'Leak fix'
10035 from 2002-01-22 to not destroy diagram->data->selected.
10036 Avoids to crash on Objects/Align/Vertical/Top
10038 * app/render_eps.c (draw_string) : un-const buffer
10039 It isn't at all const (g_malloc(), assignment, g_free()).
10040 Doesn't gcc catch such ?
10042 * lib/arrows.h : prototype calculate_arrow_point()
10044 * lib/font.c (font_get_suckfont) : no need to
10045 special case gdk_draw_string() with GTK_TALKS_UTF8,
10046 cause all the parameter differences are handled above
10048 * lib/libdia.def : updated externals
10050 * lib/makefile.msc : removed string_prerenderer, added render
10052 * lib/render.c (draw_rect) : don't pass a Point** if a Point*
10053 is expected. [Sometimes it's good to read compiler warnings.]
10055 * objects/standard/image.c : simplified by use of g_strconcat()
10057 * plug-ins/python/makefile.msc : updated for Python 2.2
10059 2002-04-03 Lars Clausen <lrclause@cs.uiuc.edu>
10061 * objects/standard/zigzagline.c (zigzagline_draw): Fixed
10062 directionality problem for zero-length line segments.
10064 2002-03-28 Lars Clausen <lrclause@cs.uiuc.edu>
10066 * app/diagram.c (diagram_ungroup_selected)
10067 (diagram_update_menu_sensitivity): Now allows ungrouping of
10068 several groups at once.
10070 2002-03-15 Lars Clausen <lrclause@cs.uiuc.edu>
10072 * lib/render.c, all renderers: Binary incompatibility, change to
10073 expandable renderops structure.
10075 2002-03-15 Steffen Macke <sdteffen@yahoo.com>
10077 * objects/standard/Makefile.am:
10078 * objects/network/Makefile.am:
10079 * objects/UML/Makefile.am:
10080 * objects/ER/Makefile.am:
10081 * objects/FS/Makefile.am:
10082 * objects/flowchart/Makefile.am:
10083 * objects/custom/Makefile.am:
10084 * objects/GRAFCET/Makefile.am:
10085 * objects/chronogram/Makefile.am:
10086 * objects/SADT/Makefile.am:
10087 * plug-ins/cgm/Makefile.am:
10088 * plug-ins/pstricks/Makefile.am:
10089 * plug-ins/hpgl/Makefile.am:
10090 * plug-ins/wpg/Makefile.am:
10091 * plug-ins/svg/Makefile.am:
10092 * plug-ins/shape/Makefile.am: added $(UNICODE_CFLAGS)
10094 2002-03-13 Lars Clausen <lrclause@cs.uiuc.edu>
10096 * app/render_eps.c: Support for dumping TrueType fonts (taken from
10099 2002-03-12 Lars Clausen <lrclause@cs.uiuc.edu>
10101 * lib/render.c: New abstract super class for renderers.
10103 2002-03-07 Akira TAGOH <tagoh@redhat.com>
10105 * objects/ER/attribute.c (attribute_save): save a font property.
10106 (attribute_load): load a font property, and if can't load it, it's
10109 * objects/ER/entity.c (entity_save): save a font property.
10110 (entity_load): load a font property, and if can't load it, it's
10113 * objects/ER/relationship.c (relationship_save): save a font property.
10114 (relationship_load): load a font property, and if can't load it, it's
10117 * objects/UML/class.c (fill_in_fontdata): don't replace if it already
10119 (umlclass_save): save the font and the font size properties.
10120 (umlclass_load): load the font and the font size properties.
10122 2002-03-05 Cyrille Chepelov <cyrille@chepelov.org>
10124 * lib/string_prerenderer.[ch] (REMOVED):
10126 * lib/diagramdata.c:
10128 * app/render_eps.c: got rid of the string-specific string
10129 prerenderer, transitioned its functionality towards Lars'
10130 two-phase rendering
10132 2002-03-05 Lars Clausen <lrclause@cs.uiuc.edu>
10134 * configure.in: Using Freetypes own check for ver >= 1.0.5. You
10135 may need to rerun aclocal.
10137 2002-03-04 Lars Clausen <lrclause@cs.uiuc.edu>
10139 * lib/font.c: First attempt at Unicodeness for Freetype.
10141 2002-03-02 Lars Clausen <lrclause@C194282.chmpgn1.il.home.com>
10143 * lib/font.c (font_string_width): Fixed font_string_width for
10144 freetype. BB is now almost right.
10146 2002-03-01 Lars Clausen <lrclause@cs.uiuc.edu>
10148 * app/render_eps.h:
10149 * app/paginate_psprint.c (paginate_psprint):
10151 * app/render_eps.c: Support for dumping postscript fonts into
10152 postscript files with freetype. Fairly primitive, but works.
10153 Unicode version may have problems.
10155 2002-02-28 Akira TAGOH <tagoh@redhat.com>
10157 * objects/UML/class_dialog.c (class_read_from_dialog)
10158 (class_fill_in_dialog), (class_create_page): add the font selector and
10159 the font size selector.
10161 * objects/UML/class.c (umlclass_draw): uses each font_height.
10162 (umlclass_calculate_data): ditto.
10163 (fill_in_fontdata): add initial value of new font_height.
10164 (umlclass_copy): add new font_height.
10166 2002-02-27 Cyrille Chepelov <chepelov@calixo.net>
10168 Patch from Geoff Gerrietts <ggerrietts@yahoo.com>:
10170 * lib/font.c: calculate font metrics properly and stop guessing at
10173 2002-02-28 Akira TAGOH <tagoh@redhat.com>
10175 * configure.in: changed gtk_advancement value to dia_talks_utf8.
10176 right now Dia is working with UTF-8 internally. it means Dia probably
10177 support most languages also including the languages which heretofore
10178 didn't work correctly.
10180 2002-02-26 Akira TAGOH <tagoh@redhat.com>
10182 * objects/FS/function.c: add related text properties.
10183 (function_get_props), (function_set_props): add handling attribute.
10185 * objects/FS/flow.c: add related text properties.
10186 (flow_get_props), (flow_set_props): add handling attribute.
10188 * objects/FS/flow-ortho.c: add related text properties.
10189 (orthflow_set_props), (orthflow_get_props): add handling attribute.
10191 * objects/ER/relationship.c: add PROP_STD_TEXT_FONT to property.
10193 * objects/ER/entity.c: ditto.
10195 * objects/ER/attribute.c: ditto.
10197 2002-02-26 Cyrille Chepelov <cyrille@chepelov.org>
10199 Patch contributed by Geoff Gerrietts <ggerrietts@yahoo.com>:
10201 * autogen.sh: add a check for missing intltoolize.
10203 2002-02-20 Akira TAGOH <tagoh@redhat.com>
10205 * lib/ps-utf8.c (unicode_to_ps_name): if this function calls with same
10206 charcode, it was registered the duplicate item to HashTable. fix.
10208 * app/render_gnomeprint.c (get_width_string): add new function.
10209 (draw_string): fix non-multibyte specific code.
10211 2002-02-19 Cyrille Chepelov <cyrille@chepelov.org>
10213 Patch contributed by Matthieu Sozeau <mattam@netcourrier.com>:
10215 * lib/font.c: do not try to search paths that do not begin with
10216 '/', like X Font Server addresses.
10218 * objects/UML/message.c (message_draw): free mname when not
10219 message->text but CREATE or DESTROY.
10221 * objects/UML/uml.h:
10222 * objects/UML/uml.c:
10223 * objects/UML/class_dialog.c: added code to handle a stereotype
10224 attribute for operations.
10226 2002-02-19 Akira TAGOH <tagoh@redhat.com>
10228 * lib/Makefile.am: add LIBART_CFLAGS.
10230 2002-02-15 Hans Breuer <hans@breuer.org>
10232 * lib/font.c (font_get_suck_font): the black and white pixel values
10233 need to be taken from a 1 bit colormap rather than the default colormap.
10234 (fixed again, last time was 2000-05-26)
10236 Also handle the case where GTK_TALKS_UTF8 and expects all strings
10237 passed in to be in this encoding.
10239 * lib/libdia.def : export suck_font_free()
10241 * lib/text.c (text_draw) : avoid circular dependency to ../app
10242 at least for the !USE_XIM case, where it is unnecessary.
10244 2002-02-15 Cyrille Chepelov <cyrille@chepelov.org>
10246 Changes contributed by Matts Kivik <kivik@firstlinux.net>:
10248 * shapes/Circuit/microphone_de.(shape|xpm) (NEW):
10249 * sheets/Circuit.sheet.in: added new shape microphone
10250 * shapes/Circuit/speaker_de.shape: Added a connection point.
10252 2002-02-13 Akira TAGOH <tagoh@redhat.com>
10254 * app/render_libart.c (draw_string): fixed build issue for Win32.
10256 * lib/font.c (font_get_suckfont): fixed typo. it could't build under
10259 * configure.in: fixed testing gtk_advancement.
10261 * app/render_gnomeprint.c (draw_string): uses utfchar instead of char.
10263 2002-02-12 Akira TAGOH <tagoh@redhat.com>
10265 * lib/text.c (text_draw): fixed XIM position, when menubar is shown for
10268 2002-02-11 Lars Clausen <lrclause@cs.uiuc.edu>
10270 * app/group.c (group_copy): Made new object properly initialized
10273 2002-02-11 Steffen Macke <sdteffen@yahoo.com>
10275 * app/Makefile.am: added plug-ins to DIA_LIB_PATH in run_dia.sh
10277 2002-02-10 Akira TAGOH <tagoh@redhat.com>
10279 * lib/text.c (text_draw): fixed XIM transaction.
10281 * app/interface.c (create_display_shell): add signal for
10284 * app/disp_callbacks.c (ddisplay_size_allocate): add new function for
10286 (set_input_dialog): remove.
10287 (ddisplay_canvas_events): remove XIM transaction. it can't transact
10288 correctly on this function.
10290 2002-02-10 Lars Clausen <lrclause@C194282.chmpgn1.il.home.com>
10293 * app/export_png.c: Added checks for interactivity (maybe this
10294 should be a hook after all?).
10296 * app/filedlg.c (file_export_callback): Made export dialog add
10297 suffix when reopened.
10299 * app/export_png.c: Added dialog asking for export size.
10301 2002-02-09 Lars Clausen <lrclause@C194282.chmpgn1.il.home.com>
10303 * lib/widgets.c: Fixed font reselection problem and first font
10306 * objects/UML/actor.c (actor_update_data): Changed to have
10307 connection points below text.
10309 2002-02-08 Akira TAGOH <tagoh@redhat.com>
10311 * lib/text.c (text_split_line): use g_strndup() instead of g_malloc()
10314 2002-02-07 Akira TAGOH <tagoh@redhat.com>
10316 * lib/font.c (font_get_suckfont): rewrited. generating suckfont from
10317 strings which is given.
10318 (suck_font): remove. it's any longer needed.
10320 * app/render_libart.c (set_font): don't get suckfont.
10321 (draw_string): get suckfont only which is needed for now.
10323 2002-02-05 Lars Clausen <lrclause@C194282.chmpgn1.il.home.com>
10325 * lib/text.c: Fixes for misunderstood width functions.
10327 2002-02-05 Hans Breuer <hans@breuer.org>
10329 * lib/dia_xml.c : use g_strconcat() instead of
10330 malloc, strcpy, strcat dance
10331 * app/properties.c : same here and plug memory leak
10332 (gtk functions don't eat strings)
10334 * objects/UML/message.c : there is no g_sprintf()
10335 use g_strdup_printf() instead ...
10337 2002-02-05 Akira TAGOH <tagoh@redhat.com>
10339 * lib/message.c (gtk_message_internal): doesn't need to convert to
10342 * app/render_libart.c (draw_string): fixed transaction for UTF-8
10344 (get_text_width): ditto.
10346 * app/Makefile.am (EXTRA_DIST):
10347 s/paginate_gdiprint.c/paginate_gdiprint.cpp/
10349 * app/render_gdk.c (gdk_freetype_copy_glyph): fixed build issue.
10350 This function needs ifdef HAVE_FREETYPE because don't use it for
10353 2002-02-04 Cyrille Chepelov <cyrille@chepelov.org>
10355 * NEWS: updated with the new dependencies.
10357 Patch from Matthieu Sozeau <mattam@netcourrier.com>:
10359 * objects/UML/class.h:
10360 * objects/UML/class.c:
10361 * objects/UML/class_dialog.c: added code to handle the UMLParameterKind
10362 property using a GtkMenu. Options are Undefined, In, Out, In & Out
10364 2002-02-04 Lars Clausen <lrclause@cs.uiuc.edu>
10366 * app/render_libart.c: Slow but working libart freetype renderer,
10369 2002-02-03 Lars Clausen <lrclause@C194282.chmpgn1.il.home.com>
10371 * app/render_gdk.c (draw_string): Fixed gc_function bug.
10373 * lib/widgets.c (dia_font_selector_init): Sorts the font list.
10375 * lib/font.c (freetype_render_string):
10377 * app/render_gdk.c:
10378 * app/render_gdk.h: Changed freetype_render_string to use
10379 callback. Rendering is broken.
10381 2002-02-03 Cyrille Chepelov <cyrille@chepelov.org>
10383 Patch from Matthieu Sozeau <mattam@netcourrier.com>:
10385 * objects/UML/uml.h:
10386 * objects/UML/uml.c: added UMLInheritanceType and isQuery
10387 (constant) UML Operation attributes. UMLInheritanceType is either
10388 UML_ABSTRACT or UML_POLYMORPHIC or UML_LEAF.
10390 * objects/UML/class.h:
10391 * objects/UML/class.c:
10392 * objetcs/UML/class_dialog.c: added code to handle new
10393 UMLOperation attributes via a GtkMenu and a checkbox.
10395 2002-02-03 Akira TAGOH <tagoh@redhat.com>
10397 * app/disp_callbacks.c (ddisplay_realize): fixed XIM issue.
10398 several client doesn't work with previous codes.
10400 2002-02-01 Lars Clausen <lrclause@cs.uiuc.edu>
10402 * lib/font.c (freetype_render_string): Kerning. Very few fonts
10405 2002-02-02 Akira TAGOH <tagoh@redhat.com>
10407 * app/disp_callbacks.c (ddisplay_canvas_events): fixed crashes,
10408 when doing the operation like invert the objects after active view is
10409 destroyed. when changes focus, it needs to set active_display.
10411 * app/layer_dialog.c (dia_layer_update_from_layer):
10412 (layer_dialog_edit_layer): need to convert to locale encoding
10413 if GTK_DOESNT_TALK_UTF8_WE_DO is defined.
10414 (edit_layer_ok_callback):
10415 need to convert to UTF8 if GTK_DOESNT_TALK_UTF8_WE_DO is defined.
10417 * lib/diagramdata.c (new_diagram_data): ditto.
10419 * app/layer_dialog.c (layer_dialog_new_callback): ditto.
10421 * lib/diagramdata.c (new_layer): use utfchar instead of char for
10424 * lib/widgets.c: if HAVE_FREETYPE isn't defined, it can't build. fixed.
10425 (dia_font_selector_set_styles): when HAVE_FREETYPE is defined only,
10426 it's needed for now. also this function needs prototype declaration.
10428 2002-01-31 Lars Clausen <lrclause@cs.uiuc.edu>
10430 * lib/widgets.c: Style now functional on font selector. Some leak
10431 possible, but doesn't show up under stress test.
10433 2002-01-31 Akira TAGOH <tagoh@redhat.com>
10435 * app/plugin-manager.c (clist_select_row): name and description needs to
10436 convert to locale encoding, when GTK_DOESNT_TALK_UTF8_WE_DO is defined.
10437 (get_plugin_manager): ditto.
10439 * lib/plug-ins.c (dia_plugin_info_init): name needs to convert to UTF-8.
10441 * app/diagram_tree.c (get_object_name): fixed transaction for UTF-8
10444 * lib/prop_text.c (stringprop_reset_widget): fixed crashes,
10445 when prop->string_data is NULL.
10447 2002-01-30 Lars Clausen <lrclause@C194282.chmpgn1.il.home.com>
10450 * lib/widgets.h: New font selector separating font and style.
10451 Style not functional yet.
10453 2002-01-30 Lars Clausen <lrclause@cs.uiuc.edu>
10456 * app/render_gdk.c (draw_string): More freetype support, now
10457 renders text. Still broken is font selection and exporting.
10459 2002-01-30 Akira TAGOH <tagoh@redhat.com>
10461 * objects/chronogram/chronoref.c (chronoref_create): missing gettextize
10464 * objects/chronogram/chronoline.c (chronoline_create): ditto.
10466 * objects/UML/usecase.c (usecase_create): ditto.
10468 * objects/UML/state.c (state_create): ditto.
10470 * objects/UML/object.c (objet_create): ditto.
10472 * objects/UML/node.c (node_create): ditto.
10474 * objects/UML/message.c (message_create): ditto.
10476 * objects/UML/component.c (component_create): ditto.
10478 * objects/UML/classicon.c (classicon_create): ditto.
10480 * objects/UML/actor.c (actor_create): ditto.
10482 * objects/SADT/box.c (sadtbox_create): ditto.
10484 * objects/SADT/annotation.c (annotation_create): ditto.
10486 * objects/GRAFCET/transition.c (TRANSITION_FONT): ditto.
10488 * objects/GRAFCET/step.c (STEP_FONT):
10489 * (step_create): ditto.
10491 * objects/GRAFCET/condition.c (CONDITION_FONT): ditto.
10493 * objects/GRAFCET/action.c (ACTION_FONT):
10494 (action_create): ditto.
10496 * objects/FS/function.c (function_create): ditto.
10498 * objects/FS/flow.c (flow_create):
10500 (flow_apply_defaults): ditto.
10502 * objects/FS/flow-poly.c (flow_create):
10504 (flow_apply_defaults): ditto.
10506 * objects/FS/flow-ortho.c (orthflow_create):
10508 (orthflow_apply_defaults): ditto.
10510 * objects/ER/relationship.c: use utfchar instead of char for structure.
10511 (relationship_create): name needs to convert to UTF-8.
10513 * objects/ER/attribute.c: use utfchar instead of char for structure.
10514 (attribute_create): name needs to convert to UTF-8.
10516 * objects/ER/entity.c: use utfchar instead of char for structure.
10517 (entity_create): name needs to convert to UTF-8.
10519 * app/interface.c (fill_sheet_wbox): needs to convert UTF-8 to locale
10520 encoding for tooltips, if GTK_TALKS_UTF8 isn't defined.
10521 (fill_sheet_menu): needs to convert UTF-8 to locale encoding for menu
10522 items. if GTK_TALKS_UTF8 isn't defined.
10524 2002-01-29 Akira TAGOH <tagoh@redhat.com>
10526 * objects/UML/class.c (umlclass_calculate_data): fixed malloc size.
10527 it was my careless mistake...
10529 * lib/attributes.c (attributes_set_default_font): temporarily gettextize
10530 a font name, because there are strings which isn't shown by "Courier".
10531 We need to consider a way to feel free to choose a font at runtime.
10533 * lib/render_object.c (render_object_load): ditto.
10535 * lib/text.c (data_text): ditto.
10537 * objects/EML/instantiation.c (instantiation_create): ditto.
10539 * objects/EML/interaction-ortho.c (interaction_ortho_create):
10540 (interaction_ortho_load): ditto.
10542 * objects/EML/interaction.c (interaction_create):
10543 (interaction_load): ditto.
10545 * objects/EML/process.c (fill_in_fontdata): ditto.
10547 * objects/ER/attribute.c (attribute_create):
10548 (attribute_load): ditto.
10550 * objects/ER/entity.c (entity_create):
10551 (entity_load): ditto.
10553 * objects/ER/relationship.c (relationship_create):
10554 (relationship_load): ditto.
10556 * objects/UML/association.c (association_create):
10557 (association_load): ditto.
10559 * objects/UML/class.c (fill_in_fontdata): ditto.
10561 * objects/UML/constraint.c (constraint_create): ditto.
10563 * objects/UML/dependency.c (dependency_create): ditto.
10565 * objects/UML/generalization.c (generalization_create): ditto.
10567 * objects/UML/implements.c (implements_create): ditto.
10569 * objects/UML/large_package.c (largepackage_create): ditto.
10571 * objects/UML/note.c (note_create): ditto.
10573 * objects/UML/realizes.c (realizes_create): ditto.
10575 * objects/UML/small_package.c (smallpackage_create): ditto.
10577 * objects/custom/shape_info.h (FONT_DEFAULT): ditto.
10579 * objects/custom/custom_object.c (custom_create): ditto.
10581 * objects/network/antenna.c (render_to_store): ditto.
10583 * objects/network/computer.c (render_to_store): ditto.
10585 * objects/network/disc.c (render_to_store): ditto.
10587 * objects/network/flash.c (render_to_store): ditto.
10589 * objects/network/hub.c (render_to_store): ditto.
10591 * objects/network/modem.c (render_to_store): ditto.
10593 * objects/network/modularswitch.c (render_to_store): ditto.
10595 * objects/network/monitor.c (render_to_store): ditto.
10597 * objects/network/printer.c (render_to_store): ditto.
10599 * objects/network/rj45plug.c (render_to_store): ditto.
10601 * objects/network/scead-plug.c (render_to_store): ditto.
10603 * objects/standard/textobj.c (textobj_load): ditto.
10605 * objects/sybase/client.c (render_to_store): ditto.
10607 * objects/sybase/dataserver.c (render_to_store): ditto.
10609 * objects/sybase/ltm.c (render_to_store): ditto.
10611 * objects/sybase/repserver.c (render_to_store): ditto.
10613 * objects/sybase/rsm.c (render_to_store): ditto.
10615 * objects/sybase/stableq.c (render_to_store): ditto.
10617 * plug-ins/dxf/dxf-import.c (read_entity_text_dxf): ditto.
10619 * objects/UML/uml.h (UML_STEREOTYPE_START):
10620 (UML_STEREOTYPE_END): changes default strings.
10622 2002-01-28 Akira TAGOH <tagoh@redhat.com>
10624 * objects/UML/stereotype.c (string_to_bracketted): fixed transaction
10625 for UTF-8 support. if GTK+ and Dia don't handle UTF-8, all of characters
10626 which is given to arguments isn't UTF-8. so don't need to convert it.
10627 if GTK+ handle UTF-8, also don't need to convert it.
10629 (bracketted_to_string): fixed transaction for UTF-8 support.
10630 also start/end bracket is not necessarily 1 character. so that when use
10631 strend(), it doesn't work correctly.
10632 (string_to_stereotype): use utfchar instead of char.
10633 (remove_stereotype_from_string): ditto.
10634 (stereotype_to_string): ditto.
10636 * objects/UML/stereotype.h: ditto.
10638 * objects/UML/message.c: use utfchar instead of char for structure.
10639 (MESSAGE_CREATE_LABEL, MESSAGE_DESTROY_LABEL): remove.
10641 * objects/UML/small_package.c: use utfchar instead of char for structure.
10643 * objects/UML/realizes.c: ditto.
10645 * objects/UML/object.c: ditto.
10647 * objects/UML/large_package.c: ditto.
10649 * objects/UML/implements.c: ditto.
10651 * objects/UML/generalization.c: ditto.
10653 * objects/UML/dependency.c: ditto.
10655 * objects/UML/constraint.c: ditto.
10657 * objects/UML/component.c: ditto.
10659 * objects/UML/class_dialog.c (attributes_get_current_values):
10660 (attributes_list_new_callback, attributes_fill_in_dialog):
10661 (parameters_set_values, parameters_get_values):
10662 (parameters_get_current_values, parameters_list_new_callback):
10663 (operations_set_values, operations_get_values):
10664 (operations_get_current_values, operations_list_new_callback):
10665 (operations_fill_in_dialog, templates_set_values):
10666 (templates_get_values, templates_get_current_values):
10667 (templates_list_new_callback, templates_fill_in_dialog):
10668 fixed transaction for UTF-8 support.
10670 2002-01-27 Akira TAGOH <tagoh@redhat.com>
10672 * objects/UML/message.c (message_draw): fixed transaction for UTF-8 support.
10674 * objects/UML/class_dialog.c (class_read_from_dialog):
10675 (class_fill_in_dialog):
10676 (attributes_get_values): ditto.
10678 * objects/UML/actor.c (actor_create): ditto.
10680 * objects/UML/class.c (umlclass_calculate_data): ditto.
10682 * objects/UML/association.c (association_apply_properties):
10683 (fill_in_dialog): ditto.
10685 * objects/UML/uml.c (uml_get_attribute_string):
10686 (uml_get_operation_string):
10687 (uml_get_parameter_string):
10688 (uml_get_formalparameter_string): use utfchar instead of char.
10690 * objects/UML/uml.h: gettextize UML_STEREOTYPE_START and
10691 UML_STEREOTYPE_END.
10693 * objects/UML/class.h: use utfchar instead of char.
10695 * lib/dia_xml.c (data_add_string): ditto.
10697 * lib/text.c (text_insert_char): fixed characters# calculation
10698 when includes multibytes character in strings.
10700 2002-01-26 Steffen Macke <sdteffen@yahoo.com>
10702 Patch from Richard Rowell <rwrowell@bellsouth.net>:
10704 * app/lineprops_area.c:
10707 * lib/widgets.c: added crow foot arrow and cross arrow
10709 Patch from Frank Gevaerts <frank.gevaerts@fks.be>:
10711 * plug-ins/svg/render_svg.c: fixed arcs, fill and text alignment
10713 2002-01-26 Cyrille Chepelov <cyrille@chepelov.org>
10715 * po/update.pl (REMOVED):
10716 * po/update.sh (REMOVED):
10717 * xml-i18n-merge.in.kg (REMOVED):
10718 * xml-i18n-update.in.kg (REMOVED):
10719 * sheets/Makefile.am:
10722 * configure.in: converted from xml-i18n-tools to intltools
10724 This looks like it fixes the build bugs of the snapshot tarballs,
10725 and it supersedes #69611.
10727 2002-01-25 Akira TAGOH <tagoh@redhat.com>
10729 * lib/text.c (text_insert_char): fixed characters# calculation.
10730 it's not string length.
10732 * lib/plug-ins.c (dia_plugin_info_init): when GTK_DOESNT_TALK_UTF8_WE_DO
10733 is defined, needs to convert a description to UTF-8.
10735 * app/render_gdk.c (get_text_width): fixed transaction for
10736 UTF-8 support. also should uses gdk_text_width_wc() instead
10737 of gdk_text_width().
10739 * app/render_gdk.c (draw_string): when GTK_DOESNT_TALK_UTF8_WE_DO
10740 is defined, needs to convert to locale encoding for display.
10741 Also use utfchar instead of char for argument.
10743 2002-01-24 Hans Breuer <hans@breuer.org>
10745 * app/commands.c(edit_paste_callback and more) :
10746 call diagram_modified(ddisp->diagram) to fix #68083
10747 (help_menu_callback) : plug a DIR leak
10749 * app/disp_callbacks.c(ddisplay_canvas_events) : handle
10750 GTK_TALKS_UTF8_WE_DONT
10752 * app/render_gdk.c(get_text_with) : it's a bad idea to use
10753 gdk_string_with() when GTK_TALKS_UTF8_WE_DONT instead of
10754 gdk_text_width(). The length value is still questionable ...
10756 * lib/charconv.c : use functions already available in early
10757 GLIB-1.3 days whiches API hasn't changed since, to avoid
10758 version problems with the win32 build
10760 * lib/font.c : finally fix #58045 and #68208
10762 * lib/dia_xml.c (xmlDiaSaveFile) : gzdopen in binary mode
10764 2002-01-24 Akira TAGOH <tagoh@redhat.com>
10766 * app/disp_callbacks.c (ddisplay_canvas_events): when event returned
10767 no strings, fixed transaction.
10769 * lib/charconv.h: fixed typo.
10771 * app/menus.c: fixed typo.
10773 * lib/charconv.c (charconv_utf8_strchr): remove. use uni_strchr instead.
10775 * objects/UML/object.c: attrib's type uses utfchar instead of char.
10777 * app/disp_callbacks.c (ddisplay_canvas_events): forget g_free()
10779 * lib/text.c (text_create_change): use unichar instead of char.
10781 * lib/text.c (data_add_text, data_text, apply_textstr_properties):
10782 use utfchar instead of char.
10784 * lib/text.c (text_insert_char, text_key_event): fixed transaction for
10787 * lib/charconv.c (charconv_utf8_get_char): add new function.
10789 2002-01-23 Akira TAGOH <tagoh@redhat.com>
10791 * lib/text.c (text_delete_forward, text_delete_backward,
10792 text_split_line): fixed transaction for UTF-8 support.
10794 * lib/text.c (text_copy): when UNICODE_WORK_IN_PROGRESS is defined,
10795 strlen[] has string length for UTF-8, so has to use alloclen[].
10799 * .cvsignore: add dia.pot.
10801 2002-01-24 Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz>
10803 * configure.in: Added "sk" to ALL_LINGUAS.
10805 2002-01-22 Akira TAGOH <tagoh@redhat.com>
10807 * lib/text.c (text_set_string, new_text, text_copy,
10808 text_get_string_copy, text_join_lines): use utfchar instead of gchar
10811 * lib/text.c (set_string): use charconv_utf8_strchr() instead of
10814 * lib/charconv.c (charconv_utf8_strchr): add new function.
10816 * lib/charconv.c (charconv_keyval_to_unicode): ditto.
10818 * lib/charconv.c (charconv_utf8_from_gtk_event_key): ditto.
10820 * app/disp_callbacks.c (ddisplay_canvas_events): needs to convert
10821 strings to the appropriate encoding.
10823 2002-01-22 Lars Clausen <lrclause@cs.uiuc.edu>
10825 * app/object_ops.c (object_list_align_[hv]): Leak fix.
10827 * lib/Makefile.am (INCLUDES): Added debug flags.
10829 * app/object_ops.c: Fixed ordering problem of align equi-distant &
10832 2002-01-21 Akira TAGOH <tagoh@redhat.com>
10834 * lib/font.c (font_string_width): use gdk_text_width_wc() instead of
10835 gdk_string_width().
10837 * objects/GRAFCET/boolequation.c: fixed invalid comment.
10839 * objects/UML/stereotype.c (string_to_bracketted): fixed build problem
10840 when defined UNICODE_WORK_IN_PROGRESS.
10842 * lib/dia_xml.c (data_add_string): fixed typo.
10844 2002-01-20 Akira TAGOH <tagoh@redhat.com>
10846 * configure.in: fixed test gtk_advancement.
10848 2002-01-019 Steffen Macke <sdteffen@yahoo.com>
10850 * plug-ins/svg/render_svg.c: fix for #69053, alignment of text
10853 Patch from M.C. Nelson <mcn@mani.kobayashimaru.org>:
10855 * app/recent_files.[ch]: reworked to support GNOME, accelerators,
10856 tool tips, preferences, and arbitrarily long ~/.dia/history
10858 * app/menus.c: made 'Plugins' consistantly spelled and accelerated;
10859 removed 'Open Recent'; added new separators for recent documents on
10862 * app/interface.[ch] (interface_get_toolbox_shell): new function
10864 * app/diagram.c: added new parameter to recent_file_history_add() call
10866 * app/preferences.[ch]: added new 'Recent documents list size'
10869 2002-01-18 Akira TAGOH <tagoh@redhat.com>
10871 * lib/font.c (font_get_gdkfont_helper): use gdk_fontset_load ().
10872 if it failed, should be used gdk_font_load ().
10874 * lib/font.c (font_data): added the font entries for CJK.
10876 2002-01-17 Steffen Macke <sdteffen@yahoo.com>
10878 Patch from M.C. Nelson <mcn@mani.kobayashimaru.org>:
10880 * app/menus.c: replaced GDK_F1 with "F1" to fix segfault on startup
10882 2002-01-04 Cyrille Chepelov <cyrille@chepelov.org>
10884 Patch from Martin Cracauer <cracauer@cons.org>:
10886 * app/menus.c: add missing #include <gdk/gdkkeysyms.h> (useful in the
10889 2002-01-01 Hans Breuer <hans@breuer.org>
10891 * app/command.c : optional use GDI printing on windoze
10893 * app/preferences.[hc] : add option 'prefer_psprint' to
10894 select the print engine to use (could be used for Dia/Gnome
10897 * app/paginate_gdiprint.(h|cpp) : new files, which interlink the
10898 wmf plug-in with the common win32 print api. Now printing
10899 should work almost as expected from a windows program :-)
10901 * app/diagram.c app/menus.[hc] : rename _UpdatableMenuItems.delete
10902 to .edit_delete to avoid clashes with C++
10904 * app/makefile.msc : updated for GDI printing
10906 * plug-ins/wmf/wmf.cpp : some small modifications to support
10907 GDI printing. Also swap R and B channel in draw_image()
10909 * app/makefile.am : added windows only files to EXTRA_DIST
10911 * objects/uml/class.c(umlclass_set_props) : force recalculation
10912 when applying properties
10914 * lib/charconv.c lib/dia_xml.c : temporary back-ported to
10915 glib-1.3.2 (for win32) IMHO causes recent cvs introduces too
10916 many incompatible changes (and would force a gtk update)
10918 * objects/makefile.msc : don't build C-Objects which are
10919 already available as 'pure shape'
10921 * plug-ins/makefile.msc : remove diaimport from build. It was
10922 only available via mailing-list and is broken since the
10926 Patch from Jose A Ortega Ruiz <jaortega@acm.org>
10928 * app/preferences.[hc] : tweaked preferences.c to make
10929 PREF_STRING work. Use it for 'diagram_tree_hidden'. Also
10930 added some more DiagramTree prefererences and their own
10933 * app/diagram_tree.[hc] : allow to sort by object type or name
10934 and hide by type ...
10935 * app/diagram_tree_menu.[hc] : ... add respective menu entries ...
10936 * app/diagram_tree_menu_callbacks.[hc] : ... and callbacks.
10938 * app/diagram_tree_window.c : handle hidden types and window
10941 2001-12-20 Hans Breuer <hans@breuer.org>
10943 * plug-ins/python/Makefile.am : patch from Peter Moulder
10944 <pmoulder@csse.monash.edu.au> to make the python plug-in
10945 compile on *nix too.
10947 2001-12-03 Cyrille Chepelov <chepelov@calixo.net>
10949 Patch from Alan <horkana@tcd.ie>:
10951 * app/menus.c: bind the F1 shortcut to the Help/_Manual function.
10953 2001-11-20 Hans Breuer <hans@breuer.org>
10955 * app/makefile.msc : add new diagram_tree_menu(_callbacks).obj
10957 2001-11-18 Jose A Ortega Ruiz <jaortega@acm.org>
10959 * app/diagram_tree.[hc] : Added new functions and types for
10960 sorting diagram and objects, and attaching the popup menus.
10962 * app/preferences.h: Added more diagram tree preferences, using a
10963 DiagramTreeConfig struct in DiaPreferences. The new prefs are the
10964 height and width of the diagram tree window and the default sort
10965 orders for diagrams and objects.
10967 * app/preferences.c (prefs_data): Added new entries for the new
10968 diagram tree preferences.
10970 * app/preferences.c (prefs_tabs): New tab for diagram tree
10973 * app/diagram_tree_window.[hc] (create_diagram_tree_window):
10974 * app/diagram_tree_window.c (diagram_tree_window_new):
10975 * app/interface.c (create_tree_window): The diagram tree window is
10976 initialised using the DiagramTreeConfig part of prefs.
10979 2001-11-14 Jose A Ortega Ruiz <jaortega@acm.org>
10981 * app/diagram_tree_menu.[hc]: New files. Functions to create the
10982 diagram tree popup menus.
10984 * app/diagram_tree_menu_callbacks.[hc]: New files. Callbacks for
10985 the diagram tree popup menus.
10987 * app/Makefile.am (dia_core_files): diagram_tree_menu* files
10990 2001-11-13 Jose A Ortega Ruiz <jaortega@acm.org>
10992 * app/diagram_tree.c (double_click_callback, diagram_tree_new):
10993 double-clicking a diagram tree node raises the diagram window
10994 to the foreground (and, if a object node was clicked, selects the
10995 object in the diagram).
10997 * app/diagram_tree.c (select_tree_widget): selecting an object
10998 node with single click simply updates it (no raise).
11000 2001-11-08 Jose A Ortega Ruiz <jaortega@acm.org>
11001 These changes make the diagram tree lazy: it is not created unless
11002 the diagram tree window is requested.
11004 * app/diagram_tree_window.[hc] (create_diagram_tree_window): new
11005 function for creating the tree window.
11007 * app/interface.c (create_tree_window): call
11008 create_diagram_tree_window() instead of diagram_window().
11010 * app/diagram_tree.c (diagram_tree_add, diagram_tree_remove)
11011 (diagram_tree_update, diagram_tree_update_name)
11012 (diagram_tree_add_object, diagram_tree_add_objects)
11013 (diagram_tree_remove_object, diagram_tree_remove_objects)
11014 (diagram_tree_update_object): accept a NULL tree as a nominal
11015 argument (and do nothing in this case!), so that the diagram tree
11016 is not initialised if not used.
11018 * app/diagram_tree_window.c (diagram_tree): do not create the
11019 diagram tree until diagram_window() or diagtree_show_callback()
11022 2001-10-31 Jose A Ortega Ruiz <jaortega@acm.org>
11023 [slightly modified and applied from Hans Breuer <hans@breuer.org>]
11025 * app/diagram_tree_window.[hc] : (new files) implementation of
11026 the diagram tree window, a container for a diagram tree. [Removed
11027 the horizontal scroll bar glitch by disableing it]
11029 * app/diagram_tree.[hc] : (new files) implementation of the
11030 diagram tree widget. [Don't rely on the layers GPtrArray to be
11031 NULL terminated, but use its ->len field]
11033 * app/Makefile.am (dia_core_files): added new files
11034 diagram_tree.[hc] and diagram_tree_window.[hc]
11036 * app/interface.[hc] : (create_tree_window): this function
11037 creates the new diagram tree window widget
11039 * app/undo.c (delete_objects_apply) (delete_objects_revert)
11040 (insert_objects_apply) (insert_objects_revert) (group_objects_apply)
11041 (ungroup_objects_apply) (ungroup_objects_revert):
11042 every time that an undoable command modifies a diagram
11043 adding/removing/(un)grouping objects, a diagram_tree_something() is
11044 invoked to keep the diagram tree window in sync
11046 * app/properties.c (properties_apply): call to
11047 diagram_object_modified(), which updates the diagram tree window
11048 when the properties of an object are modified
11050 * app/preferences.[hc] : new "show_diagram_tree" configuration option
11051 (whether the diagram tree window should be shown on dia startup)
11053 * app/menus.c : added '<Toolbox>/File/Diagram Tree' entry
11055 * app/diagram.h (diagram_object_modified): callback notifying of a
11056 diagram object modification
11058 * app/diagram.c (diagram_load_into): added call to
11059 diagram_tree_add() to add newly loaded diagrams to the diagram
11061 (diagram_destroy): call to diagram_tree_remove() to remove a
11062 destroyed diagram from the diagram tree window
11063 (diagram_add_object): call to diagram_tree_add_object() to add an
11064 object to the diagram tree window
11065 (diagram_add_object_list): as above, but with an object list
11066 (diagram_selected_break_external): deletion of objects from the
11067 diagram is detected here, and diagram_tree_remove_object() is
11068 invoked to remove the object from the diagram tree window (it
11069 would be nice to have a diagram_remove_object() in the Diagram
11071 (diagram_set_filename): update the diagram tree window when a
11072 diagram's filename changes
11074 * app/commands.c (file_new_callback): added call to
11075 diagram_tree_add() to add newly created diagrams to the diagram
11078 * app/app_procs.c (app_init): added call to create_tree_window()
11080 * app/makefile.msc : updated
11082 2001-10-28 Hans Breuer <hans@breuer.org>
11084 * app/preferences.h (DiaPreferences):
11085 * app/preferences.c (prefs_data): new "show_diagram_tree"
11086 configuration option (whether the diagram tree window should be
11087 shown on dia startup)
11089 * app/menus.c: added the new "<Toolbox>/View/Diagram tree" menu
11090 entry (both for GNOME and gtk)
11092 * app/diagram.h (diagram_object_modified): callback notifying of a
11093 diagram object modification
11095 * app/diagram.c (diagram_load_into): added call to
11096 diagram_tree_add() to add newly loaded diagrams to the diagram
11098 (diagram_destroy): call to diagram_tree_remove() to remove a
11099 destroyed diagram from the diagram tree window
11100 (diagram_add_object): call to diagram_tree_add_object() to add an
11101 object to the diagram tree window
11102 (diagram_add_object_list): as above, but with an object list
11103 (diagram_selected_break_external): deletion of objects from the
11104 diagram is detected here, and diagram_tree_remove_object() is
11105 invoked to remove the object from the diagram tree window (it
11106 would be nice to have a diagram_remove_object() in the Diagram
11108 (diagram_set_filename): update the diagram tree window when a
11109 diagram's filename changes
11111 * app/commands.c (file_new_callback): added call to
11112 diagram_tree_add() to add newly created diagrams to the diagram
11115 * app/app_procs.c (app_init): added call to create_tree_window()
11117 2001-10-28 Hans Breuer <hans@breuer.org>
11119 * plug-ins/python/pydia-property.c : apparently I missed
11120 to commit this last time. Now it has some more SetAttr
11121 support (apply from property)
11123 * plug-ins/python/pydia-properties.h : added PyDiaProperty_Check
11125 * plug-ins/python/pydia-text.[ch] : new files
11127 2001-10-14 Hans Breuer <hans@breuer.org>
11129 * lib/charconv.c : g_locale_to_utf8() does not handle NULL
11130 strings. Use g_strdup() for these.
11132 libxml2 does not produce 'any extra indentation when saving a tree'
11133 [libxml2-2.4.2/doc/upgrade.html] anymore, which was the default with
11134 libxml(1). To get human readable XML some extra tweaking is required.
11135 It is enabled by setting 'pretty_formated_xml' to 'true' in 'diarc'.
11136 * lib/dia_xml.[hc] : provide and use 'DIAVAR pretty_formated_xml'
11137 * app/preferences.[ch] : initialize 'pretty_formated_xml'
11139 * lib/libdia.def : updated externals
11141 * lib/properties.h : add prototype for prop_list_from_single ()
11143 * plug-ins/makefile.msc : build metapost plug-in
11145 * plug-ins/metapost/render_metapost.c : msvc does not like
11146 switch labels without operation 'default: }'. Added a noop.
11148 * plug-ins/python/pydia-text.[hc] : (new files) wrap DiaText
11149 * plug-ins/python/diamodule.c : added PyDiaText
11150 * plug-ins/python/makefile.msc : dito. Also added LIBXML_CFLAGS.
11151 Although the python plug-in does not use libxml at all, the
11152 headers are required to use the lib/prop*.h headers
11154 * plug-ins/python/pydia-diagramdata.c : added wrappers for
11155 update_extents and get_sorted_selected (should I duplicate
11156 more functions from PyDiaDiagram or should they be moved?)
11158 * plug-ins/python/pydia-properties.c : allow to set (some) properties
11159 through the dictionary api
11160 * plug-ins/python/pydia-property.h : declare PyDiaProperty_ApplyToObject
11161 * plug-ins/python/pydia-property.c : implement it (currently only
11162 string properties can be set)
11164 Reimplement PyDiaProperty_GetAttr by means of the new StdProp api.
11165 Quoting myself: 'Still not convinced that this is better than an
11166 integral property->type and some casting ...
11167 It is trading a straightforward 40 lines switch statement to
11168 this nice 'type safe' function mapping (about 125 lines)'
11169 (But now it works again, better than changing the News file :)
11171 2001-10-14 Cyrille Chepelov <chepelov@calixo.net>
11173 patch from <robert.young@dsto.defence.gov.au>:
11174 * objects/UML/component.c: remember to set font in UML component
11175 object (fixes #62132)
11177 2001-10-02 Lars Clausen <lrclause@cs.uiuc.edu>
11179 * plug-ins/metapost/metapost.c:
11180 * plug-ins/metapost/Makefile.am:
11181 * plug-ins/metapost/render_metapost.c:
11182 * plug-ins/metapost/render_metapost.h:
11183 Metapost renderer from Chris Sperandio
11185 2001-09-14 Hans Breuer <hans@breuer.org>
11187 * app/render_gdk.c : reflect the fact, that GTK already talks
11188 UTF8 on win32, fixes #59982, #56100, (#55992 ?) ...
11191 * app/render_libart.c : trying to fix #58045 but it appears
11192 to be an Gdk/win32, too.
11194 * lib/charconv.c : handle utf8 conversion with the help of
11195 glib-1.3 even in the !HAVE_UNICODE case.
11197 * lib/dia_xml.c : reduce complaing about missing encoding, by
11198 detecting if the default (utf8) would break the file.
11200 2001-09-13 Cyrille Chepelov <chepelov@calixo.net>
11202 * lib/charconv.c: (get_local_charset): at least please try to not
11203 silently change the logic, while avoiding crashes.
11205 * lib/font.c: (suck_font): put a #error, we have a nasty something
11206 to fix there before we switch to Gtk 2.0.
11208 2001-09-09 Hans Breuer <hans@breuer.org>
11210 * **/makefile.mingw : Approach to compile Dia with mingw.
11211 Compiling mostly works but running does not (yet) ...
11214 - use G_OS_WIN32 instead of _MSC_VER to drag in isinf, etc. definitions.
11215 Apparently mingw needs it too.
11216 - enable 'normalization' of a null verctor. Otherwise the beziergon
11217 bounding box calculation would be broken at least with msvc. What's
11218 the mathematical correct result of 0.0/0.0 ?
11220 * lib/dia_xml.c : isinf() for mingw too.
11222 * lib/dia_dirs.c : use MAX_PATH instead of _MAX_PATH (works for mingw
11225 * lib/charconv.c : still crashes if strcmp(NULL, "UTF-8").
11226 Please don't do it.
11228 * lib/font.c : Trying to reflect that GTK_TALKS_UTF8_WE_DONT
11230 * lib/libdia.def : updated externals. Apparently mingw needs
11231 them to produce the right mangling.
11233 * plug-ins/shape/shape-exports.c : get prototypes for xmlStrdup
11236 2001-09-08 Wang Jian <lark@linux.net.cn>
11238 * configure.in(ALL_LINGUAS): Renamed zh_CN.GB2312 to zh_CN
11240 2001-09-07 Cyrille Chepelov <chepelov@calixo.net>
11242 * lib/dia_xml_libxml.h:
11243 * lib/dia_xml.c: (data_add_string), (xmlDiaSaveFile): Duplicated
11244 libxml1's code, to rework the output file before it gets committed
11245 to disk. This is rubbish, and will be removed when libxml2
11246 switches from discouraged to mandatory.
11247 All in all, this fixes #60152.
11250 * lib/charconv.c: (charconv_unichar_to_utf8):
11251 made the type of the input parameter explicitly an unsigned long.
11253 * configure.in: Added a check for libz (we must now include it
11254 explicitly, for xmlDiaSaveFile).
11256 * app/load_save.c: (diagram_data_save):
11257 * lib/plug-ins.c: (ensure_pluginrc), (info_fill_from_pluginrc),
11258 (dia_pluginrc_write):
11259 * plug-ins/shape/shape-export.c: (new_shape_renderer),
11260 (end_render), (draw_string):
11261 * plug-ins/svg/render_svg.c: (new_svg_renderer), (end_render),
11264 Made sure we always write UTF-8 XML files, and through
11267 * NEWS: documented that fact.
11269 2001-09-07 James Henstridge <james@daa.com.au>
11271 * configure.in (found_libxml): refactor the check for libxml a
11272 little so that it handles finding both libxml1 and 2 better.
11274 2001-09-03 Cyrille Chepelov <chepelov@calixo.net>
11276 * app/app_procs.c: removed a spurious } which caused a compilation
11277 error in the (!HAVE_GNOME && HAVE_POPT_H) case
11279 * lib/charconv.c: (get_local_charset): some versions of iconv(1)
11280 don't know what ANSI X3.4-1968 is. I didn't know until this day,
11281 but it's just plain old ASCII. Added a check to shield the poor
11284 Patches from <robert.young@dsto.defence.gov.au>:
11286 * lib/text.c: (text_calc_boundingbox) Bounding box now calculates the
11287 width and height of text before calculating bounds. Fixes #59928
11289 * app/preferences.c: Moved grid related items into Grid Tab.
11291 2001-09-02 Cyrille Chepelov <chepelov@calixo.net>
11293 * app/interface.c: (create_zoom_widget): connected one more signal
11294 to the Zoom selector combo's list. Fixes #59879.
11296 * app/app_procs.[ch]: (app_init) (do_convert)
11297 (build_output_file_name): brought back into the main executable
11298 the rare useful bits of the ill-fated diaconv. This means we have
11299 one new feature : --export-to-format (-t), which should make
11300 writing conversion scripts easier, and a crude implementation of
11301 -t and -e for the poptless argument parsing, which means the Win32
11302 port should be able to take advantage of it (that should make
11303 resolving #58197 possible).
11305 * app/diaconv.c: kept the poor duck compiling (but that's about
11308 * plug-ins/svg/render_svg.c: updated the SVG DTD header (I hope
11309 I've got it right).
11311 * NEWS: updated about the new feature above, and documented the
11312 "missing encoding specification" complaint.
11314 2001-09-01 Abel Cheung <maddog@linux.org.hk>
11316 * configure.in: Rename zh_TW.Big5 -> zh_TW in ALL_LINGUAS.
11318 2001-09-01 Cyrille Chepelov <chepelov@calixo.net>
11320 * objects/standard/bezier.c: used g_new0 instead of g_new, to take
11323 2001-09-01 James Henstridge <james@daa.com.au>
11325 * */Makefile.am: various changes to include missing files, and fix
11326 sheets dir to handle building with builddir != srcdir.
11328 * autogen.sh: unconditionally pass the --enable-maintainer-mode
11329 and --enable-db2html flags so that builds from CVS work correctly.
11331 * configure.in: increment version number. Also add an
11332 --enable-db2html flag. Without the flag, db2html won't be run (if
11333 the flag is passed and db2html is not present, do nothing).
11335 2001-08-30 Cyrille Chepelov <chepelov@calixo.net>
11337 * lib/poly_conn.c: (polyconn_copy): it's a wonder this routine
11338 even compiled. It's really too bad there is no lint tool easily
11339 available (or a more cautious, pedandic, paranoid and verbose
11340 compiler). Anyway, this fixes #59662. (this didn't affect 0.88.x)
11342 2001-08-27 Cyrille Chepelov <chepelov@calixo.net>
11345 * dia/lib/plug-ins.c: use g_strdup() instead of strdup(). Patch
11346 from <robert.young@dsto.defence.gov.au>. Fixes #59591.
11348 * app/menu.c: added ellipsis(...) to diagram properties menu item.
11349 * app/dia-props.c: diagram properties dialog contents did not
11350 represent current diagram settings.
11351 * app/dia-props.[ch]:
11352 * app/display.c: diagram properties contents now follows currently
11354 Patch also from <robert.young@dsto.defence.gov.au>, fixes #59409.
11356 * AUTHORS: added Robert Young.
11358 2001-08-27 Cyrille Chepelov <chepelov@calixo.net>
11360 * app/modify_tool.c: (modify_button_release): Patch from
11361 <robert.young@dsto.defence.gov.au>. Fixes the remaining bit from
11362 #59090: if selection dragging was released outside of the window,
11363 artifacts of the selection box remained.
11365 2001-08-25 Cyrille Chepelov <chepelov@calixo.net>
11367 * Objects/custom/shape_info.c: added missing #include <xmlmemory.h>
11369 2001-08-19 Cyrille Chepelov <chepelov@calixo.net>
11372 * sheets/Makefile.am: prepared the terrain for the Version of
11373 xml-i18n-tools Which Comes After 0.9 (and which will feature at
11374 last a sane behaviour with XML files). Some reasonible delay
11375 before enforcing that version *will* be given.
11377 * xml-i18n-merge.in.kg: included the current CVS xml-i18n-merge.in
11379 * lib/plug-ins.c: <xmlmemory.h> defines xmlFree(), otherwise it
11380 becomes a nonexistent symbol.
11382 2001-08-18 Hans Breuer <hans@breuer.org>
11384 * app/app_procs.c : made it compile without ENABLE_NLS
11386 * app/diap_callbacks.c : strcmp isn't guaranteed to work
11389 * app/load_save.c :
11391 * objects/custom/shape_info.c : avoid mixing allocators and dealocators.
11393 xmlGetProp, ... -> xmlFree
11394 malloc, strdup -> free
11395 g_new, g_malloc, g_strdup - > g_free
11397 * app/win32print.c : some more error checking, still not
11400 * lib/charconv.c : get_local_charset is used even with !HAVE_UNICODE
11402 * lib/dia_xml.c : msvc still has no unistd.h
11405 * lib/sheets.c : temporary resolved libxml include brokeness
11407 * plug-ins/python/pydia-*.c : reflect Font and StdProp api
11408 changes. Compiles again, but doesn't do anything useful anymore.
11409 (see THE_PROP_TYPE_IS_INTEGRAL)
11411 * **/makefile.msc : updated to use LIBXML2
11413 * lib/libdia.def : reflect api changes
11415 2001-08-17 Cyrille Chepelov <chepelov@calixo.net>
11417 * config.h.win32: added defines telling that gtk speaks UTF8.
11418 Hans, I believe this reflects what GTK on Win32 does.
11420 * app/app_procs.c: if GTK talks UTF8, we'll feed it UTF8 localised
11422 * lib/prop_inttypes.c:
11424 * lib/prop_widgets.c: fixed typos in the GTK_TALKS_UTF8_WE_DONT
11427 * lib/plug-ins.c: (dia_register_plugins_in_dir): If there is a
11428 trailing // (or whatever (G_DIR_SEPARATOR * 2) is), a recursive
11429 search for plug-ins is done.
11430 * app/Makefile.am: made app/run_dia.sh use the // capability. No
11431 need to update this anymore if we get a new plug-in library (or
11434 * lib/dia_xml.c: #include <unistd.h> was missing.
11436 * lib/properties.h:
11437 * lib/proplist.c: (pdtpp_defaults): Added a new flag,
11438 PROP_FLAG_NO_DEFAULTS. Will be used in the "automatic defaults"
11441 2001-08-16 Cyrille Chepelov <chepelov@calixo.net>
11443 * sheets/civil.sheet: removed duplicate "Danish" entries.
11448 * sheets/Makefile.am:
11450 * Makefile.am: applied the xml-i18n-tools README's instructions.
11452 * po/(da de fr hu nl nn no sl).po: merged the translations from
11453 the sheet files into the .po files. I hope I haven't mixed
11455 * sheets/*.sheet (REMOVED):
11456 * sheets/*.sheet.in (NEW): moved the sheet files sans
11457 translations into .sheet.in files.
11459 * sheets/xml-i18n-unicodify: (NEW) included from xml-i18n-tools,
11460 because we don't yet want to force all translators to work using
11461 UTF-8 editors. We'll want to do that sometime (sooner rather than
11462 later). Okay, I sing a slightly different tune in po/ChangeLog...
11464 * dia.desktop (REMOVED):
11465 * dia.desktop.in (NEW): used also the x18t infrastructure for
11468 * xml-i18n-update.in.kg (NEW): This one will stay in CVS until an
11469 "official" version of x18t with support for .sheet files is available.
11470 * xml-i18n-merge.in.kg (NEW): This one will stay in CVS until an
11471 "official" version of x18t which doesn't corrupt UTF-8 data in XML
11474 ** yes, we are now using xml-i18n-tools to manage the sheet
11475 translations. For the Win32 build, Nemo stores snapshots of
11476 translated strings next to the CVS snapshots. **
11478 * sheets/checktrans.py: suddenly, some sheets have lots of
11479 translations (objects which existed before sheets, mostly).
11480 Adapted the formatting.
11482 * po/README (REMOVED): this is obsolete ! It was ignored, anyway.
11484 * app/display.[ch]: (ddisplay_autoscroll), (ddisplay_scroll):
11485 * app/modify_tool.[ch]: (modify_motion): A (modified) patch from
11486 <robert.young@dsto.defence.gov.au>, to fix #59090.
11488 * app/display.c: (ddisplay_scroll): While at it, added some
11489 margin, so that autoscrolling can happen within a margin outside
11490 the diagram's extents.
11494 * app/disp_callbacks.c: Robert "forced" me to go when I usually
11495 don't, namely the app/ directory. So while I was there, I
11496 scratched a long-time itch. If no object has focus, pressing the
11497 space bar will select back the tool which was selected before the
11498 current one (I find this especially useful with "reset after create" !)
11500 * lib/proplist.c: (prop_list_from_single): Renamed
11501 prop_list_singleton() to avoid confusion with the Singleton
11502 pattern (which it definitely is not).
11504 * lib/propobject.c: (object_prop_by_name_type),
11505 (object_prop_by_name): The "flags" parameter was not necessary.
11506 These don't return synthetic properties, but properties built from
11507 a real property description list; therefore, we don't call
11508 make_new_prop() but use the existing property descriptor, which
11509 has perfectly valid (and meaningful) flags.
11511 * lib/proplist.c: (pdtpp_synthetic), (pdtpp_from_object): These
11512 new predicates better reflect the reason why properties exist when
11513 they're created by make_new_prop() or object_prop_by_name().
11515 * lib/propobject.c: (object_prop_by_name_type), (object_prop_by_name):
11516 * lib/prop_basic.c: (make_new_prop): used the new reasons instead
11519 * lib/properties.h: reflects all the above changes.
11521 * objects/SADT/arrow.c:
11522 * objects/SADT/annotation.c:
11523 * sheets/SADT.sheet: minor renamings to better match FIPS 183's
11526 2001-08-15 Cyrille Chepelov <chepelov@calixo.net>
11528 * lib/properties.h:
11529 * lib/proplist.c: (prop_list_singleton):
11530 * lib/propobject.c: (object_prop_by_name_type), (object_prop_by_name):
11531 Added these, to simplify interactions of plug-ins with the StdProp
11536 * lib/dia_xml_libxml.h (NEW):
11541 * objects/custom/shape_info.c: A few prototypes were causing
11542 #include hell, because we generally attempt to not pull the whole
11543 libxml header set when we include dia_xml.h. Moved those
11544 prototypes away for the rare cases they're necessary.
11546 2001-08-15 Hans Breuer <hans@breuer.org>
11548 * lib/font.c : made LARS_TRACE_MESSAGES Standard C conform
11551 * lib/makefile.msc : updated
11553 * lib/prop_basic.c : __FUNCTION__ is a gcc extension. Please
11554 use G_GNUC_FUNCTION instead.
11556 * lib/prop_inttypes.c : include <stdlib.h> for strtol()
11558 * objects/sadt/annotation.c : disable TEMPORARY_EVENT_TEST for
11559 msvc instead of cleaning missing includes
11561 * plug-ins/wmf/wmf.cpp :
11562 * plug-ins/wmf/wmf_gdi.h : fixed for Font to DiaFont renaming
11564 2001-08-15 Cyrille Chepelov <chepelov@calixo.net>
11571 * objects/custom/shape_info.c:
11572 * plug-ins/shape/shape-export.c:
11573 * plug-ins/svg/render_svg.c: used the libxml1/libxml2
11574 compatibility macros as taught by http://xmlsoft.org/upgrade.html;
11575 removed xmlKeepBlanksDefault(0) in favour for proper
11576 xmlIsBlankNode() testing. Lots of other fixups to use the
11577 "libxml1.5" (libxml2 parser embedded in recent libxml1), and to
11578 make libxml1 output correct files.
11580 * configure.in: use libxml2 (>= 2.3.9) if it's found, or
11581 libxml1 (>= 1.8.14). Exactly one of these must be installed (devel
11582 packages). If both devel packages are found, the build will stop
11583 (Fredrik: please add a Build-Conflicts: on libxml2-dev for the moment)
11585 * lib/bezier_conn.c: (bezierconn_init): Lars, you forgot to
11586 allocate the first handle :-)
11588 * lib/object.c: (object_init): <gratuitous>g_new() used instead of
11589 a cast and a sizeof.</gratuitous>
11591 * objects/custom/custom_object.c: (custom_copy): don't call
11592 text_get_attrbutes if the shape has no text...
11593 (custom_update_data): The info->resize_with_text code was a bit
11594 directive; basically, the shape's bounding box was forced to be
11595 proportional to the text's bounding box.... This fixes #57187.
11597 * objects/custom/shape_info.c: (load_shape_info): Set an obvious
11598 default for info->aspect_ratio; unobfuscated a line about
11599 info->resize_with_text;
11601 2001-08-15 Cyrille Chepelov <chepelov@calixo.net>
11603 * lib/properties.h: added comments next to the PROP_TYPEs to tell
11604 which C Property subclass to use.
11606 * plug-ins/dxf/dxf-import.c: (read_entity_line_dxf): Removed the
11607 cast-ridden form of setting properties in a list, in favour for
11608 the "local pointers" form. I'll take any better offer...
11610 2001-08-14 Cyrille Chepelov <chepelov@calixo.net>
11612 * lib/font.c: fprintf(...) --> fprintf(format...)
11614 * configure.in: added a disabled versioned test for glib.
11615 * lib/prop_geomtypes.c: (bezpointprop_load), (bezpointprop_save),
11616 (bezpointarrayprop_load), (bezpointarrayprop_save): replaced
11617 g_critical() with a simple g_error(). Proper fix is to implement
11620 * lib/properties.h: PROP_STD_TEXT is a PROP_TYPE_TEXT, not a
11623 * lib/properties.h:
11624 * lib/propdesc.c: (prop_desc_list_calculate_quarks):
11625 * lib/proplist.c: (find_prop_by_name_and_type):
11626 * lib/prop_basic.c: (make_new_prop), (initialize_property):
11627 * lib/propoffsets.c: (do_set_props_from_offsets),
11628 (do_get_props_from_offsets), (prop_offset_list_calculate_quarks):
11629 Added a type_quark member to PropDescription, Property and
11630 PropOffset. Used it to implement a safety in
11631 do_[sg]et_props_from_offsets().
11633 * objects/flowchart/diamond.c: the diamond's text was not saved,
11634 and thus not even copied (c&p).
11635 * objects/standard/textobj.c: ditto.
11637 Most of the above changes thanks to Robert Young's testing. Thanks !
11639 2001-08-14 Kjartan Maraas <kmaraas@gnome.org>
11641 * sheets/*.sheet: Added some Norwegian translations (both nynorsk
11644 2001-08-13 Cyrille Chepelov <chepelov@calixo.net>
11646 * lib/proplist.c (prop_list_from_descs): added a call to
11647 prop_desc_list_calculate_quarks(). (find_prop_by_name_and_type):
11648 too embarrassing to tell.
11650 * lib/propdesc.c (prop_desc_list_calculate_quarks): converted the
11651 while loop to a for loop, for symmetry with
11652 prop_offset_list_calculate_quarks().
11654 * lib/geometry.h: new inline function, rectangle_equals.
11656 * lib/diagramdata.[ch]: refactored a bit the diagram extents
11657 computation logic, and changed it to always be the union of the
11658 visible layers' extents. This should close #58882 (Debian
11659 #107167), and fixes #55498.
11661 * app/display.c: made the initial visible box more coherent with
11662 the diagram being loaded's extents.
11664 * app/prop_attr.c: don't set the font (from offset) if font_data
11665 is NULL. Two brainos in colorprop_load() and fontprop_load().
11667 2001-08-13 Cyrille Chepelov <chepelov@calixo.net>
11669 * lib/properties.[ch]: split in a lot of pieces:
11671 * lib/prop_*.[ch] (NEW): all property types are now first-class
11672 objects, inheriting from the original abstract Property type.
11673 * lib/propdesc.c (NEW): property description handling routines
11674 * lib/propoffsets.c (NEW): property offset handling routines
11675 * lib/proplist.c (NEW): property list handling routines
11676 * lib/propobject.c (NEW): property list <-> object routines
11677 * lib/propregistry.c (NEW): holds the PropertyType-->PropertyOps
11679 * lib/propinternals.h: prototypes for stuff not usually needed by
11680 the outside of StdProps.
11681 * lib/Makefile.am: a lot of new files have been added...
11683 THE ABOVE CHANGES ARE MAJOR CHANGES AND AFFECT THE WHOLE TREE, IN
11684 BOTH INTERFACES AND RUN-TIME STABILITY.
11686 * lib/plug-ins.h: bumped up DIA_PLUGIN_API_VERSION
11688 * lib/object.h: removed the incestuous relationship with
11689 properties.h' contents. Now a Property list is a GPtrArray -->
11690 object interface change !
11692 * app/app_procs.c/app_init(): removed a disabled call to a
11693 non-existent routine. Added a call to stdprops_init().
11695 * objects/Makefile.am: disabled the construction of EML. I'm not
11696 touching these until a certain issue is solved (or this module
11699 * objects/**/*.c except objects/EML/*: adapted all stdprop-using
11700 objects to the interface changes.
11702 * app/disp_callbacks.c: killed a warning.
11703 * lib/dia_xml.[ch]: sprinkled "const" modifiers.
11706 The macros PROP_VALUE_* have disappeared. Adapted to using the new
11709 * plug-ins/dxf/dxf-import.c:
11710 * plug-ins/xfig/xfig-import.c:
11711 PROP_VALUE_* macros have been removed. Converted to the new API.
11713 * plug-ins/python/**/*: I gave up converting this; I can't
11714 compile --with-python (problems with object.h defined both by us
11715 and by Python). I'll gladly help whomever cares to fix it !
11716 (or, fix it myself if someone tells me how to compile it).
11718 * configure.in: added the UNICODE-related progress defines.
11721 * lib/geometry.h: On Solaris and perhaps other systems, finite()
11722 is defined in ieeefp.h rather than in math.h. Patch from Andrew
11723 Halper <ashalper@acm.org> with further modifications, isinf() is
11724 provided by -lsunmath (sunmath.h).
11726 * lib/font.c: conditionally disabled Lars' debugging messages.
11727 Bracketed the definition of DiaFontFamily with #ifdef HAVE_FREETYPE.
11729 2001-08-11 Lars Clausen <lrclause@cs.uiuc.edu>
11731 * lib/bezier_conn.h:
11732 * objects/standard/bezier.c (bezierline_create):
11733 * lib/bezier_conn.c (bezierconn_init):
11734 Preparations for use of userdata for bezier lines.
11736 * objects/standard/polygon.c:
11737 * objects/standard/create.h:
11740 * plug-ins/xfig/xfig-import.c:
11741 Use of user_data for polygon as well, including adding
11742 polyshape_set_points. Include file for non-interactive
11743 creation of standard objects, objects/standard/create.h
11745 2001-08-10 Lars Clausen <lrclause@cs.uiuc.edu>
11747 * app/render_gdk.c:
11748 * app/render_gdk.h:
11752 More preliminary freetype support. Not at all functional, crashes
11757 * objects/standard/polyline.c:
11758 Support for creating polyline objects with more than two points.
11759 This includes an extra function and a prototype change in the
11760 poly_conn lib object.
11762 * lib/object.c (object_copy): Fixed memory leak of handles and
11765 2001-08-08 Abel Cheung <maddog@linux.org.hk>
11767 * dia.desktop: added traditional Chinese strings
11769 2001-08-04 Cyrille Chepelov <chepelov@calixo.net>
11771 * NEWS: updated to reflect build-time dependencies.
11773 * lib/properties.[ch]: wrote get_prop_descriptions() as a wrapper
11774 around obj->ops->describe_props(obj). Quarks are none of an
11775 object's business in the general case...
11776 * lib/text.c: Added an apply_textattr_properties() function to
11777 factor out some common code related to applying a dialog's text
11778 attribute properties to a (Text *) which wasn't edited there.
11779 Ditto for textstr, for the string part of an objet.
11781 * objects/GRAFCET/action.c:
11782 * objects/SADT/annotation.c:
11783 * objects/SADT/box.c: used apply_textattr_properties().
11785 * objects/UML/actor.c:
11786 * objects/UML/branch.c:
11787 * objects/UML/component.c:
11788 * objects/UML/constraint.c:
11789 * objects/UML/small_package.c:
11790 * objects/UML/state.c:
11791 * objects/UML/usecase.c:
11792 * objects/UML/large_package.c:
11793 * objects/UML/note.c:
11794 * objects/UML/node.c:
11795 * objects/UML/message.c:
11796 * objects/UML/classicon.c:
11797 * objects/UML/object.c:
11798 * objects/UML/realizes.c:
11799 * objects/UML/dependency.c:
11800 * objects/UML/implements.c:
11801 slim-fast(tm) cure using more StdProps, and UTF-8 audit.
11802 (most objects were already using StdProps to some extent ; this
11803 systematises usage and removes some dead wood).
11805 * objects/UML/stereotype.[ch]: use UTF-8 internally. const police work.
11806 * objects/UML/uml.[ch]: audited for UTF-8.
11808 * objects/UML/class.c: the UML_STEREOTYPE_* strings defined by
11809 uml.h can be in UTF-8... this code isn't yet ready. Duplicating a
11810 private (ISO-8859-1) definition.
11812 * lib/charconv.c: Added a warning if we didn't run
11813 nl_langinfo(CODESET) but rely instead on a hardcoded default.
11815 2001-08-02 Cyrille Chepelov <chepelov@calixo.net>
11818 * app/disp_callbacks.c: added a way for an object to cause an
11819 already realised menu to be destroyed (for instance if it changes
11822 * objects/custom/custom_object.c: used the above to fix #55073.
11824 2001-08-01 Lars Clausen <lrclause@cs.uiuc.edu>
11826 * configure.in: Remove 2.50 prereq.
11828 2001-07-30 Cyrille Chepelov <chepelov@calixo.net>
11830 * po-checktrans.py: under some circumstances, there was one column
11831 more than what was supposed to be, thus breaking the formatting.
11833 2001-07-29 Cyrille Chepelov <chepelov@calixo.net>
11835 * objects/SADT/annotation.c: forgot to add a #include <stdlib.h>
11837 * NEWS: updated with new stuff since 0.88
11839 * shapes/network/antenna.shape: the text was misplaced ; fixed.
11841 * shapes/network/firewall.(shape|xpm) (NEW): a brick-wall looking
11842 firewall router (upon request from Cyril Lacoux
11843 <clacoux@easter-eggs.com>)
11845 * configure.in (didn't rename to configure.ac): autoconf 2.50
11846 constructs were used ; added an AC_PREREQ call to guard against
11849 2001-07-27 Cyrille Chepelov <chepelov@calixo.net>
11851 * lib/properties.c: minor clean-ups with the event delivery code.
11853 * EML/instantiation.c: brought this object back from stone and ice
11856 * app/diaconv.c(NEW): added a command-line conversion tool. Still
11857 lacks a man page and correctness. In fact, it doesn't work. Please
11858 see #58196 if you want to finish it.
11860 * lib/message.[ch]: redefined things a little so that a different
11861 message_internal routine could be passed.
11862 applications can use that to fit themselves to the display model.
11864 2001-07-26 Cyrille Chepelov <chepelov@calixo.net>
11866 * objects/SADT/box.c:
11867 * objects/GRAFCET/action.c: spelling in property descriptors (name
11869 * objects/SADT/annotation.c: ditto, plus a temporary test of the
11870 event delivery code (try to click on the "click me !" button !).
11873 * lib/properties.[ch]: improved (fixed) support for group event
11874 handlers. Fixed various things from yesterday's code to make it
11875 not too obviously crash.
11877 2001-07-26 Cyrille Chepelov <chepelov@calixo.net>
11879 * app/group.c: added delivery of events to the first member of the
11880 group which is able to process it.
11882 * lib/properties.c(prop_desc_lists_intersection): properties
11883 don't match if they don't have identical event handler.
11884 * lib/properties.h: simplified the PropEventHandler signature.
11886 Event delivery code is still untested so far, but should be
11889 2001-07-25 Cyrille Chepelov <chepelov@calixo.net>
11891 * lib/properties.[ch]: Added (untested !) property event handler
11892 capability. Added a new PROP_TYPE_BUTTON, for the purpose of
11893 generating such events. This stuff compiles, and should lurk
11894 around silently as long as you don't declare property descriptors
11895 with events (AFAICT).
11896 In object_create_props_dialog() and friends:
11897 attached a single structure with lots of data instead of lots of
11898 little attachments of data to the dialog widget.
11900 * lib/object.h: fixed mild typedef breakage introduced by the above.
11902 2001-07-17 Lars Clausen <lrclause@cs.uiuc.edu>
11904 * lots of files: Changed Font to DiaFont
11905 * */Makefile.am: Added FREETYPE_LIBS
11906 * plug-ins/xfig/xfig-export.c: Improved (working:) color handling
11908 2001-07-13 Kjartan Maraas <kmaraas@gnome.org>
11910 * configure.in: Added "nn" to ALL_LINGUAS.
11912 2001-07-09 Alex Larsson <alexl@redhat.com>
11914 * app/disp_callbacks.c:
11915 Add gdk_im_ready() calls to XIM code.
11917 2001-07-04 Cyrille Chepelov <chepelov@calixo.net>
11919 * lib/properties.[ch]: splitted prop_get_widget() into
11920 prop_get_widget() (gives a widget but doesn't fill it) and
11921 prop_reset_widget() (fills an existing widget with a property's value).
11923 * lib/widgets.[ch]: const enforcement police work.
11925 * shapes/network/antenna.shape: added a connection point at top,
11926 upon request from <Emmanuel.Quemener@cri.ens-cachan.fr>.
11928 2001-06-25 Cyrille Chepelov <chepelov@calixo.net>
11930 * intl/*: tested with gettext-0.10.38
11931 * configure.in: moved a macro call around (AM_PROG_CC) to keep
11932 some of autogen.sh from complaining.
11933 * INSTALL: added a warning against gettext older than at least 0.10.36
11935 2001-06-19 Cyrille Chepelov <chepelov@calixo.net>
11937 * configure.in: added explicit calls to AM_LANGINFO_CODESET and
11938 AM_ICONV (both provided by gettext)
11940 2001-06-14 Cyrille Chepelov <chepelov@calixo.net>
11942 * lib/charconv.c: corrected the degraded mode for when
11943 !HAVE_UNICODE. Thanks to Ben A. Hetland for reporting this.
11945 * objects/chronoline/chronoline_events.c: UTF8 compliance.
11947 2001-06-13 Cyrille Chepelov <chepelov@calixo.net>
11949 * lib/properties.[ch]: convenience macros around PROP_NOTEBOOKS ;
11950 new "eye candy" properties: PROP_MULTICOL_(BEGIN|PAGE|END) to lay
11951 widgets on several columns, PROP_FRAME_(BEGIN|END) to put widgets
11954 * objects/chronogram/chronoline.c:
11955 * objects/chronogram/chronoref.c: took advantage of the above to
11956 make nicer looking dialogs.
11958 * lib/charconv.[ch]: added charconv_unichar_to_utf8 ("inspired"
11959 from libunicode's internals).
11960 * lib/message.c: convert strings to local encoding prior to
11961 display (UNICODE_WORK_IN_PROGRESS)
11962 * lib/properties.[ch]: convert strings to local encoding prior to
11963 display, and back to UTF8 (UNICODE_WORK_IN_PROGRESS).
11964 * lib/render.h: tagged strings as (utfchar *) instead of (char *)
11965 * lib/stringprerenderer.[ch]: ditto
11967 (lib/text.c has been audited for UTF8, but the size of the changes
11968 make them inappropriate for commit before 0.89)
11970 2001-06-12 Cyrille Chepelov <chepelov@calixo.net>
11972 * objects/boolequation.h (<save|load>_boolequation): made the
11973 prototypes for match the .c file.
11975 * samples/grafcet.dia: minor non-conformance with IEC-848
11976 fixed (in the transition from step 100 to step 101).
11978 * lib/properties.[ch]: added a flag (PROP_FLAG_DONT_MERGE) to
11979 disallow editing of properties if the object is part of a group.
11981 * objects/chronogram/chronoline.c:
11982 * objects/SADT/annotation.c:
11983 * objects/SADT/box.c:
11984 * objects/GRAFCET/step.c:
11985 * objects/GRAFCET/transition.c:
11986 * objects/GRAFCET/condition.c: took advantage of PROP_FLAG_DONT_MERGE.
11988 2001-06-12 Hans Breuer <hans@breuer.org>
11990 * lib/libdia.def : removed lazyprop exports
11991 * lib/makefile.msc : removed lazyprop.obj
11993 * objects/custom/custom_objects.c : use HAVE_UNISTD_H
11994 and avoid crashes by always creating a custom->text,
11995 when (custom->info->has_text)
11997 * objects/makefile.msc : removed sybase from build
11999 * objects/GRAFCET/boolequation.c (<save|load>_boolequation) :
12000 ObjectNode is a pointer already, which is what we want
12001 instead of a pointer pointer.
12003 * plug-ins/wmf/wmf.cpp : fixed problem with arc scaling
12004 and implemented working export for images
12006 * shapes/network/zip-disk.shape : added connection points
12008 2001-06-12 Cyrille Chepelov <chepelov@calixo.net>
12010 * objects/SADT/box.c: removed lazyprops for standard props.
12011 * objects/chronograms/chronoline.c: removed lazyprops (phew !)
12012 * objects/chronograms/chronoref.c: ditto
12016 * lib/connpoint_line.c:
12017 * lib/lazyprops.[ch] (DELETED): good riddance (closes #55895)
12018 * lib/properties.[ch]: new property types:
12019 - PROP_TYPE_STATIC: static text to be displayed in the dialog.
12020 - PROP_TYPE_MULTISTRING: same as string, but renders as a
12021 multi-line entry box.
12022 - PROP_TYPE_NOTEBOOK_BEGIN,_PAGE,_END: stuff to make dialogs
12023 in a tabbed-notebook style (this is a bit complicated to use;
12024 see objects/chronograms/chronoline.c for an example).
12026 2001-06-11 Cyrille Chepelov <chepelov@calixo.net>
12028 * objects/GRAFCET/boolequation.[ch]: zap lazyprops. Add standard props.
12029 * objects/GRAFCET/step.c: ditto.
12030 * objects/GRAFCET/vector.c: ditto.
12031 * objects/SADT/annotation.c: ditto.
12032 * objects/SADT/arrow.c: ditto (plus bounding box fixes).
12034 * lib/properties.[ch]: two more non-visible types
12035 (PROP_TYPE_ENUMARRAY and PROP_TYPE_INTARRAY).
12037 * lib/neworthconn.[ch]:
12038 * lib/orthconn.[ch]: added support for manipulation through
12039 standard properties.
12041 * configure.in: removed -fomit-frame-pointer, this seems to
12042 confuse recent gcc/gdb's, maybe we'll get better stack dumps in
12045 * charconv.[ch]: more functions from unicode.h.
12046 get_local_charset() wasn't working properly, fixed now.
12047 A subtle crashbug in charconv_utf8_to_local8() nailed (thanks to
12050 * objects/EML/process.h: pulled the bits of lazyprops.h it uses.
12051 * lib/lazyprops.[ch]: put a big fat warning in.
12053 * app/render_eps.c: one line mysteriously went away, causing a
12054 variable to be used uninitialised....
12056 2001-06-10 Cyrille Chepelov <chepelov@calixo.net>
12058 * app/app_procs.c: commented out the call to
12059 bind_textdomain_codeset(): it's premature.
12061 * lib/connpoint_line.c: a NULL point can be given to
12062 connpointline_adjust_count(), in case there's not really a clicked
12065 * lib/textattr.h(NEW): moved the definition of TextAttributes to sort
12066 #include order troubles. #included by lib/text.h, so there is no
12067 impact outside lib/.
12068 * lib/properties.[ch]: added support for CONNPOINT_LINE and
12069 (nonvisible) TEXT properties.
12071 * objects/GRAFCET/action.c:
12072 * objects/GRAFCET/vergent.c: dropped lazyprops for standard
12075 * objects/UML/lifeline.c: pruned some legacy stuff (now pure
12076 standard properties code). Grafted a dynamic number of connection
12077 points (heavily inspired from what Vergent does). This is the real
12080 * objects/GRAFCET/boolequation.[ch]: audited for UTF-8
12082 * lib/fonts.c: some hardening (mostly g_assert())
12083 2001-06-09 Cyrille Chepelov <chepelov@calixo.net>
12085 * app/app_procs.c (app_init): added a call to
12086 bind_textdomain_codeset() so that gettext gives us UTF-8 strings
12087 (UNICODE_WORK_IN_PROGRESS).
12089 2001-06-08 Cyrille Chepelov <chepelov@calixo.net>
12091 * plug-ins/xfig/xfig-import.c: corrected a typo (fixes #55910)
12093 * objects/UML/lifeline.c: patch from Marc <mrw@siemens.ch>
12094 (fixes #55863) : some clean-ups in the handling of connection
12095 points. Now the total number of connection points is just a
12096 #define (the proper solution is to retrofit the GRAFCET Vergent's
12097 dynamic behaviour wrt connection points).
12099 2001-06-07 Cyrille Chepelov <chepelov@calixo.net>
12101 * app/app_procs.c (app_init): added a call to unicode_init() (only
12102 if HAVE_UNICODE, of course).
12104 * lib/charconv.c: simplified the code which detects the local
12105 charset. No need to use <langinfo.h>, libunicode already takes the
12106 burden of figuring that out. Also, if local charset is utf8, no
12107 conversion will take place.
12108 Exposed a way to get the current charset (similar to
12109 unicode_get_charset() but actually working, hopefully).
12111 * lib/charconv.h: Added a partial non-UTF8 implementation of
12112 unicode.h if !HAVE_UNICODE (actually, all the time for the
12113 moment). The UTF8 implementation is just macros on libunicode (use
12114 the functions prefixed by uni_, as defined by charconv.h, not
12115 unicode_, unless that code is to be compiled only if HAVE_UNICODE).
12116 From now on, all strings which don't *need* to be ASCII should be
12117 utfchar *, not gchar *. Just include charconv.h, let it sort out
12118 the details (such as: "is libunicode available and enabled?")
12120 * lib/ps-utf8.c: fixed a few name clashes. Used the charconv.h
12121 "API" instead of directly libunicode. Removed the now unnecessary
12122 speculative clustering of characters in encoding pages.
12124 * app/render_eps.c: made the local8->utf8 conversions dependent of
12125 !UNICODE_WORK_IN_PROGRESS (this is not where the local8/utf8
12126 boundary will be when this WIP is done).
12128 * lib/dia_xml.c (data_point): fixed a format string typo.
12130 * po/POTFILES.in: added all C files from lib/
12132 2001-06-06 Cyrille Chepelov <chepelov@calixo.net>
12134 * app/disp_callbacks.c: make sure the objects' connected objects
12135 are updated when the objects' size changes after a keypress event
12138 * configure.in: added a big warning about the possible future
12139 non-optionality of --enable-unicode.
12141 * TODO: removed entries which look like done ; added a few ones
12142 (Bugzilla "enhancement" bugs may be a better way to keep track of
12145 2001-06-05 Cyrille Chepelov <chepelov@calixo.net>
12147 * objects/UML/message.c: got rid of #55564 and of message_copy()
12148 by using more standard properties (are the message_state_*()
12149 functions still necessary ?)
12151 2001-06-04 Fredrik Hallenberg <hallon@lysator.liu.se>
12154 * objecs/custom/shape_info.c:
12155 * plug-ins/shape/shape-export.c:
12156 * plug-ins/svg/render_svg.c: patch from obecian <obecian@openbsd.org>
12157 use xmlChar instead of obsolete CHAR.
12159 2001-06-03 Hans Breuer <hans@breuer.org>
12161 * app/diagram.h : added prototype for diagram_update_menu_sensitivity()
12162 * app/commands.c : give the right number of parameters
12163 to diagram_update_menu_sensitivity ()
12165 * app/preferences.c : do proper initialization for DiaPrefsData:
12166 render_bounding_boxes. It would be a real surprise if 'hidden'
12167 properties would have ever worked before.
12168 Don't try to access the widgets of hidden property, it does not
12171 * lib/diagramdata.h : make render_bounding_boxes a DIAVAR, cause
12172 it is defined in libdia, but initialized from dia app, which
12173 otherwise gave nice start-up crashes.
12175 * lib/diagramdata.c : initialize the color for rendering bounding
12176 boxes in the Dia range (0 .. 1.0)
12178 * lib/libdia.def : added *_bbox functions for export
12180 * lib/makefile.msc : added new sources
12182 * objects/custom/custom_object.c : use HAVE_UNISTD_H
12184 2001-05-30 Cyrille Chepelov <chepelov@calixo.net>
12187 * app/menus.c: patch from Hubert Figuiere <hfiguiere@teaser.fr> ;
12188 removes a translation of menus (in a place where there shouldn't
12189 have been), which gets rid of a waterfall of warnings if LANG!=C,
12190 and a fix to #55047.
12192 2001-05-29 Steffen Macke <sdteffen@yahoo.com>
12194 * lib/charconv.c : added #include <errno.h>
12196 * app/dia_embedd.c : updated menus_get_item_from_path usage
12198 2001-05-27 Cyrille Chepelov <chepelov@calixo.net>
12200 * lib/ps-utf8.c: Strings in Symbol fonts were incorrectly rendered.
12201 Added a special case for Symbol strings, so that they're not
12202 re-encoded using the LN encoding (we use the bare Adobe encoding
12205 * objects/custom/custom_object.c: Now that #52912 is fixed,
12206 I could remove the ugly hack I wrote to squash the shape bounding box
12207 problem shown by Ben A. Hetland a few months ago, and fix it
12208 properly this time.
12210 * lib/text.c: enlarged a little the bounding box to account for
12211 the cursor in rightmost position.
12213 * lib/diagramdata.c: draw bounding boxes only if the relevant
12214 variable is set (as before), but also only if the rendere is
12215 interactive (ie, don't bother rendering bounding boxes on
12217 Made the bounding box's line width a fixed value, 0.01
12219 * lib/boundingbox.c: fixed the "pointy corners" code for polylines
12220 and assymmetric control beziers. Implemented ellipse_bbox().
12222 * Makefile.am: incantations to get po/dia.pot build, as suggested
12223 by Hubert in #55075.
12225 * shapes/network/computer.shape: typo fixed.
12226 * shapes/network/antenna.shape: fixed #55074 (antenna is now
12227 properly translucent, except for its base where it makes sense. It
12228 doesn't look that ugly anymore if transparent mode is on).
12230 * configure.in: --enable-unicode is now the default. This
12231 still currently affects only printing.
12233 2001-05-26 Cyrille Chepelov <chepelov@calixo.net>
12235 * lib/boundingbox.c: fixed a minor logic error wrt closed shapes.
12236 The overshoot code is buggy, and the bounding boxes for polyshapes
12237 looks a bit cheezy. To be done ASAP.
12239 2001-05-26 James Henstridge <james@daa.com.au>
12241 * configure.in: call AM_PATH_PYTHON rather than AM_PATH_PYTHON_JH.
12242 This should clear up some of the build problems people have been
12245 * acinclude.m4: call AM_PATH_PYTHON_JH AM_PATH_PYTHON
12247 2001-05-26 Cyrille Chepelov <chepelov@calixo.net>
12250 * lib/boundingbox.[ch] (NEW): (some) refactoring of the bounding
12251 box code (beginning with lines, polylines and polybeziers), into a
12252 more generic facility. While at it, a better shot at correctly
12253 computing the bounding box of a Bezieroid (should take care of
12254 #53424, #51233 and of course is part 1 of #52912).
12256 * lib/diagramdata.c: turned the RENDER_BOUNDING_BOXES conditional
12257 into a hidden preference (set render_bounding_boxes in diarc).
12258 * app/preferences.[ch]: Added support for hidden preferences.
12260 * lib/geometry.[ch]: sprinkled with "const" modifiers.
12262 * lib/bezier_conn.[ch]:
12263 * lib/beziershape.[ch]:
12264 * lib/connection.[ch]:
12265 * lib/element.[ch]:
12266 * lib/poly_conn.[ch]:
12267 * lib/orth_conn.[ch]:
12268 * lib/neworth_conn.[ch]:
12269 * lib/polyshape.[ch]: adapted to take advantage of
12270 boundingbox.[ch] instead of relying on private (duplicate) code.
12272 * object/FS/flow.c:
12273 * object/GRAFCET/action.c:
12274 * objects/GRAFCET/condition.c:
12275 * objects/GRAFCET/vergent.c:
12276 * objects/GRAFCET/vector.c:
12277 * objects/SADT/annotation.c:
12278 * objects/SADT/arrow.c:
12279 * objects/ER/participation.c:
12280 * objects/UML/constraint.c:
12281 * objects/UML/implements.c:
12282 * objects/UML/lifeline.c:
12283 * objects/UML/message.c:
12284 * objects/UML/realizes.c:
12285 * objects/UML/generalization.c:
12286 * objects/UML/association.c:
12287 * objects/UML/dependency.c:
12288 * objects/FS/flow-ortho.c:
12289 * objects/network/bus.c:
12290 * objects/standard/arc.c:
12291 * objects/standard/bezier.c:
12292 * objects/standard/beziergon.c:
12293 * objects/standard/line.c:
12294 * objects/standard/polygon.c:
12295 * objects/standard/zigzagline.c:
12297 * objects/standard/polyline.c: Some *BBExtras structures changed
12298 names while moving to boundingbox.[ch]. A trivial mass-renaming.
12300 2001-05-20 Cyrille Chepelov <chepelov@calixo.net>
12302 * app/disp_callbacks.c (ddisplay_canvas_events): Take into account
12303 wheel mouses for scrolling (from Patrick Sung <phsung@ualberta.ca>)
12305 * app/display.c (ddisplay_update_scrollbars): from Patrick's
12306 suggestion, remove the extra scrollable area (it was only visible
12307 to the scrollbars). This is experimental.
12309 * objects/custom/custom_object.c: If a shape's icon file doesn't
12310 exist, warn and substitute a default icon, instead of crashing.
12313 * objects/network/network.c:
12314 * shapes/network/modularswitch.(shape|xpm) (NEW):
12315 * shapes/network/printer.(shape|xpm) (NEW):
12316 * shapes/network/genmonitor.(shape|xpm) (NEW):
12317 * shapes/network/computer.(shape|xpm) (NEW):
12318 * shapes/network/Makefile.am: four less objects, four more shapes.
12319 These were the last known RenderObjects. (phew !)
12323 * objects/sybase/Makefile.am:
12324 * objects/network/Makefile.am: Removed the older Renderobjects
12325 from the build, and their infrastructure (not yet deleted,
12328 * shapes/network/sceadplug.shape:
12329 * shapes/network/antenna.shape:
12330 * shapes/network/modem.shape:
12331 * shapes/network/hub.shape:
12332 * shapes/network/rj45plug.shape:
12333 * shapes/sybase/client.shape:
12334 * shapes/sybase/dataserver.shape:
12335 * shapes/sybase/ltm.shape:
12336 * shapes/sybase/repserver.shape:
12337 * shapes/sybase/rsm.shape:
12338 * shapes/sybase/stableq.shape: Minor corrections (line widths were
12339 ten times too narrow).
12341 2001-05-19 Cyrille Chepelov <chepelov@calixo.net>
12343 * objects/network/network.c:
12344 * shapes/network/sceadplug.(shape|xpm) (NEW):
12345 * shapes/network/antenna.(shape|xpm) (NEW):
12346 * shapes/network/modem.(shape|xpm) (NEW):
12347 * shapes/network/Makefile.am: four less objects, four more shapes.
12350 * lib/diagramdata.c:
12352 * lib/string_prerenderer.[ch] (NEW):
12353 Add a new renderer primitive, predraw_string() (does nothing, to be
12354 used as a hook to optimise the character encodings if needed).
12355 Added a string pre-renderer, which can be viewed as a filter
12356 renderer (to route draw_string() to predraw_string() and ignore
12357 the rest, in a first rendering pass)
12359 * app/render_eps.c: Took advantage of the above to make wholly
12360 optimised Postscript encoding page(s), even (especially) with
12361 non-latin1 code (HAVE_UNICODE must be true).
12363 (#53512 in fact is wholly resolved).
12365 2001-05-18 Cyrille Chepelov <chepelov@calixo.net>
12367 * lib/charconv.c: steps towards resolution of #53512 (inspired by
12368 Alexey Novodvorsky <aen@logic.ru>'s patch).
12370 * app/menus.c (dia_menu_signal_proxy): checked that the signal
12371 handler is not NULL before transferring control to it... (fixes #52836)
12373 * app/app_procs.c (app_init): removed non-constant initialiser
12376 * objects/custom/custom_object.c:
12377 * objects/custom/shape_info.[ch]:
12378 * objects/custom/test.xml: merged patch #53476 from Steven Hawkins
12379 <skh@mathstar.com>. This add support for a <svg:text> shape
12380 element, and some related style properties (font, font height,
12383 * doc/custom_shapes: a precision about the meaning of case in a
12384 SVG path (closes #52364)
12386 * lib/dummy_dep.h: fix for SGI IRIX 6.2 (#53053, reported and
12387 fixed by <drk@sgi.com>)
12389 2001-05-17 Cyrille Chepelov <chepelov@calixo.net>
12391 * objects/network/network.c:
12392 * shapes/network/Makefile.am:
12393 * shapes/network/hub.(shape|xpm) (NEW):
12394 * shapes/network/flash.(shape|xpm) (NEW):
12395 * shapes/network/rj45plug.(shape|xpm) (NEW):
12396 More shapes, less renderobjects.
12398 2001-05-16 Cyrille Chepelov <chepelov@calixo.net>
12400 * plug-ins/svg/render_svg.c: typo made exported ellipses
12401 corrupted (zero Y pseudo-radius).
12403 * objects/network/network.c:
12404 * objects/network/disc.c:
12405 * shapes/network/disc.(shape|xpm): Converted the first
12406 Renderobject into a shape. Normally, old diagrams should reload
12407 without problems (please check this against your diagrams). More
12408 flexibility should be gained that way. I intend to hunt and
12409 eradicate all renderobjects as I can commit cycles to that.
12411 * objects/Makefile.am:
12414 * objects/sybase/sybase.c:
12415 * shapes/sybase/Makefile.am(NEW):
12416 * shapes/sybase/client.(xpm|shape) (NEW):
12417 * shapes/sybase/dataserver.(xpm|shape) (NEW):
12418 * shapes/sybase/ltm.(xpm|shape) (NEW):
12419 * shapes/sybase/repserver.(xpm|shape) (NEW):
12420 * shapes/sybase/rsm.(xpm|shape) (NEW):
12421 * shapes/sybase/stableq.(xpm|shape) (NEW): converted Sybase
12422 renderobjects into shapes. The Sybase objects are now not compiled
12423 anymore, and ready to be nuked if nobody objects in the next few weeks.
12426 * app/diagram.[ch]:
12427 * app/disp_callbacks.c:
12428 * app/display.[ch]:
12429 * app/interface.[ch]:
12431 * app/modify_tool.c:
12432 * app/preferences.[ch]:
12433 * app/recent_files.c:
12434 * app/select.c: Added patch #52364 from Hubert Figuiere. This adds
12435 a menu bar reflecting the popup menu, to each display window. This
12436 is optional (changing the preference currently doesn't affect
12437 already opened windows; a few other rough edges to cut).
12439 * plug-ins/wpg/wpg.c:
12440 * plug-ins/xfig/xfig-import.c:
12441 * plug-ins/python/pydia-property.c:
12442 * plug-ins/python/pydia-properties.c:
12443 * plug-ins/python/pydia-geometry.c:
12444 * plug-ins/pstricks/render_pstricks.c:
12446 * objects/EML/dbox.c:
12447 * lib/ps-utf8.c: paleolithic C compilers choke on //. Should fix
12450 * lib/ps-utf8.c: improved the clustering of alphabetic character
12451 definitions in custom encodings pages.
12453 2001-05-02 Hans Breuer <hans@breuer.org>
12455 * lib/object.h : OBJECT_COMMON_PROPERTIES_OFFSETS correct type
12456 of 'obj_bb' to PROP_TYPE_RECT
12458 * objects/custom/custom_object.c : take all quarks into account,
12459 not only 4 as copy&paste suggests
12461 * objects/uml/objects.c : completed the implementation of the
12462 property api to avoid reading of totally bogus data. Removed
12463 the PROBABLY_DEAD_CODE. It actually was dead code, but not because
12464 there was too much but too less ...
12466 The above changes removed all known crashes (mentioned below)
12467 from the Property API. Property access is still incomplete though.
12469 * objects/flowchart/box.c :
12470 * objects/flowchart/diamond.c :
12471 * objects/flowchart/ellipse.c :
12472 * objects/flowchart/parallelogram.c :
12473 * objects/uml/classicon.c :
12474 * objects/uml/state.c : calculate number of quarks from quark array
12475 size instead of using hardcoded values for consistence and to avoid
12476 future bugs like the above
12478 * objects/eml/nlist.c : include <string.h> for strcmp()
12480 * lib/dia_xml.c : relax g_warning for values, which
12481 appear to be too small. There is nothing which prevents
12484 * plug-ins/python/pydia-geometry.c : changed stringifying of
12485 geometry objects accept BezPoint back to %f, which does not
12486 crash anymore, because all the data is intialized now and it
12487 simply is more readable than %e ...
12489 * plug-ins/python/python-startup.py : removed dependency
12490 to PyGtk, because it isn't required here and probably won't
12491 in i.e.: export filters.
12493 * plug-ins/python/gtkcons.py : create the gtkoutfile even
12494 if sys.stderr.fileno() isn't supported
12496 * app/makefile.msc : make version 0.88
12497 * plug-ins/makefile.msc : make version 0.88 an added new
12498 xfig files to build
12500 2001-05-11 James Henstridge <james@daa.com.au>
12502 * NEWS: remember to add news items this time.
12504 * dia.spec: update spec file for 0.88 release.
12506 * configure.in: up version number to 0.88
12508 * plug-ins/python/Makefile.am (EXTRA_DIST): fix up typo that was
12509 preventing any of the useful python scripts from being
12512 * sheets/Makefile.am (sheet-translation-report): fix bustage I
12513 introduced in my fixups for the 0.87 release :(
12515 2001-05-10 Lars Clausen <lrclause@cs.uiuc.edu>
12517 * plug-ins/xfig/xfig-import.c: Finally got groups working.
12519 2001-05-09 Lars Clausen <lrclause@cs.uiuc.edu>
12521 * plug-ins/xfig/xfig-import.c: Improvements to error handling and
12522 group manipulation.
12524 2001-05-09 Cyrille Chepelov <chepelov@calixo.net>
12526 * lib/ps-utf8.[ch]:
12527 * lib/Makefile.am: fix makefile breakage which led to not
12528 including ps-utf8.[ch] in the released tarballs.
12530 2001-05-09 James Henstridge <james@daa.com.au>
12532 * Makefile.am (core-translation-report): dist scripts needed for
12533 this target, and change to $(srcdir) before running.
12535 * sheets/Makefile.am (EXTRA_DIST): actually dist the sheets. DATA
12536 files aren't automatically included in the tarball by automake
12537 because they could be generated files.
12539 * objects/EML/Makefile.am (EXTRA_DIST): fix directory names.
12541 * doc/en/Makefile.am (install-data-hook): fix up where graphics
12544 * configure.in: up version number to 0.87
12546 * plug-ins/python/*.py: no longer necessary to explicitly set
12547 sys.argv, as python.c does it for us now (like it should).
12549 * plug-ins/python/gtkcons.py: fix up so it plays nicely as a dia
12552 * plug-ins/python/python-startup.py: startup script that imports
12553 all modules in $(datadir)/dia/python and ~/.dia/python.
12555 * plug-ins/python/python.c (dia_plugin_init): change so that it
12556 only runs the $(datadir)/dia/python-startup.py script. Make sure
12557 that sys.argv and __main__.__file__ are set when calling the
12560 * plug-ins/python/Makefile.am: update makefile. Make it install
12561 gtkcons.py plugin. I haven't set any other plugins to install, as
12562 they look like they are mainly for debugging purposes.
12564 * configure.in: add tests to detect if python is available, so we
12565 can build the python plugin. Only run if --with-python passed to
12568 2001-05-08 James Henstridge <james@daa.com.au>
12570 * acinclude.m4: add macros for detecting python.
12572 * app/menus.c (dia_gnome_menu_get_widget): handle paths that point
12573 at GNOME_APP_UI_SUBTREE entries.
12574 (menus_add_path): function to add a menu item to the menubars.
12575 Uses a hash table to keep track of extra menu items it adds. Also
12576 notifies the item factory about the entries so that accels can be
12578 (menus_add_path): implement gtk only version.
12579 (menus_init): use menus_add_path() to add the menu.
12580 (plugin_callback): simplify.
12582 2001-05-08 Steffen Macke <sdteffen@yahoo.com>
12584 * app/menu.c: removed #ifndef GNOME; GNOME build was broken
12586 2001-05-08 Lars Clausen <lrclause@cs.uiuc.edu>
12588 * plug-ins/xfig/xfig-export.c:
12589 * plug-ins/xfig/xfig-common.c:
12590 * plug-ins/xfig/xfig-import.c:
12591 * plug-ins/xfig/xfig.c:
12592 * plug-ins/xfig/xfig.h:
12593 * app/Makefile.am: Added support for exporting to Fig format
12594 (except splits, which are less powerful in Fig). Some refactoring
12597 2001-05-02 Hans Breuer <hans@breuer.org>
12599 * plug-ins/python/debug_objects.py : added another
12600 test to get massive crashes from the Property API due
12601 to unintialized data.
12603 * app/menu.c : the callback_action wasn't incremented
12604 (should have checked my last optimization). Now more
12605 than one plug-in callback is supported again.
12607 * plug-ins/python/pydia-geometry.c : avoid crashes from
12608 glib, when trying to g_strdup_printf unintialized floats.
12610 * plug-ins/python/pydia-property.c : avoid crashes from
12611 because of string_data == NULL (PROP_TYPE_FILE, PROP_TYPE_STRING)
12613 2001-05-01 Hans Breuer <hans@breuer.org>
12615 * objects/makefile.msc : added eml
12616 * objects/eml/instantiation.c : initialize 'inst' pointer
12617 before using, zero initialization for objects
12618 * objects/eml/interaction-ortho.c :
12619 * objects/eml/interaction.c : zero initialization for objects
12621 * app/menus.c : removed Gimp mru stuff which slipped in at
12622 2000-08-15, was never activated and will never be needed,
12623 because of Steffens recent file list patch added at 2001-01-05.
12625 * objects/eml/*.c : some more zero initialization of objects
12626 to avoid infinite (uninitialized) bounding boxes
12628 Implemented a callback api which allows plug-ins to register
12629 menu call backs. Dia for Gnome should compile, but will need
12630 some extra tweaking to make it work because I can't test it.
12632 * plug-ins/python/pydia-error.h :
12633 * plug-ins/python/pydia-render.c : moved Pxthon function return
12634 value handling from pydia-render.c to pydia-error.h, to make it
12636 * plug-ins/python/diamodule.c : implement callback function
12637 registration from and relaying to Python code
12639 * app/menus.c : register and use plug-in menu callbacks
12641 * lib/filter.[hc] : implement filter_register_callback() and
12642 filter_get_callbacks() for the above
12643 * lib/libdia.def : export them
12645 * plug-ins/python/debug_objects.py (new file):
12646 sample using the above
12648 2001-04-27 Lars Clausen <lrclause@cs.uiuc.edu>
12650 * plug-ins/shape/shape-export.c (new_shape_renderer):
12651 The name of a shape is now taken from the dir, to conform with
12654 2001-04-25 Lars Clausen <lrclause@cs.uiuc.edu>
12656 * app/properties.c (properties_show): Added title containing
12657 object type, plus (hopefully) fix of the ghost properties dialog.
12659 2001-04-16 Cyrille Chepelov <chepelov@calixo.net>
12661 * app/display.c: remove the display idle handler in case we
12662 destroy the ddisplay (caused crashes in ddd, probably random
12663 crashes elsewhere).
12667 * Makefile.am: hack around gettext-0.10.36's new "features".
12669 * lib/properties.[ch]: added new function object_copy_props().
12670 Added new property type PROP_TYPE_ENDPOINTS
12672 * lib/connection.h: added support for load/saving through the
12673 properties interface.
12675 * lib/object.[ch]: object_load/save/copy_using_properties()
12676 support functions (code factorisations).
12678 * objects/GRAFCET/boolequation.c: check against null values in
12679 boolequation_set_value() and boolequation_destroy().
12681 * objects/GRAFCET/transition.c: Converted from lazyprops to
12682 standard properties. 31% less (x86) code !
12684 * objects/GRAFCET/condition.c: also converted from lazyprops to
12685 standard properties. Also killed lots of code.
12687 2001-04-13 Hans Breuer <hans@breuer.org>
12689 * plug-ins/wmf/wmf.cpp : changed text conversion from
12690 g_utf8_utf16 to g_convert usage. The latter function is already
12691 available in tml's last "official" Gtk+ version (2000-12-26).
12692 This change allows to use recent Dia with either the official
12693 version or the latest cvs "gtk-1-3-win32-production"-branch.
12695 2001-04-14 Lars Clausen <lrclause@cs.uiuc.edu>
12697 * Patch from David S. Thompson <dcthomp@mail.utexas.edu>:
12698 * app/disp_callbacks.c:
12699 - Allow submenus in DiaMenus.
12700 - Don't require DiaMenu.title to be non-null (so that
12701 submenus aren't required to have titles)
12703 * objects/FS/function.c:
12704 - object menu now has submenus, an almost complete list of
12705 standard-basis verbs, and a start on nouns.
12706 - box padding, dash length, and other visual attributes are
12707 scaled by the font size... eventually font height will be
12708 a function property.
12709 - draw functions with smaller font to make initial view hold
12710 a reasonable number of functions.
12712 2001-04-13 Cyrille Chepelov <chepelov@calixo.net>
12715 * sheets/chronogram.sheet:
12716 * sheets/jigsaw.sheet:
12717 * sheets/sybase.sheet: Updated Dutch sheet translations from Dag
12718 Wieers <dag@wieers.com>
12720 2001-04-13 Hans Breuer <hans@breuer.org>
12722 * app/app_procs.c (app_exit) : added g_return_if_fail (!app_exit_once)
12723 to ensure that all the deinitialization is only done once. Fixes
12724 recent app exit crash on win32
12726 * lib/dia_xml.c : provide isinf() replacement for msc which does only
12729 * lib/libdia.def : updated
12731 * objects/makefile.msc : added wanlink.c
12733 * objects/network/wanlink.c : added M_PI_2 definition for poor
12734 platforms which don't have one
12736 * objects/standard/arc.c :
12737 * objects/standard/zigzagline. c: part of ConectionBBExtras wasn't
12738 initialized which led to rather huge bounding boxes (try Ctrl^A on
12739 diagrams with Arcs or ZigZagLines).
12740 * objects/*/*.c : to avoid further bugs like the above changed all
12741 object initializations to g_malloc0 or g_new0
12744 2001-04-09 Cyrille Chepelov <chepelov@calixo.net>
12746 * lib/paper.[ch]: get rid of "no previous prototype fo `foo'" by
12747 doing a s/T foo()/T foo(void)/ for all possible values of T and foo.
12749 * objects/UML/class.c:
12750 * objects/UML/usecase.c:
12751 * objects/UML/large_package.c:
12752 * objects/UML/message.c:
12753 * objects/UML/object.c:
12754 * objects/UML/lifeline.c:
12755 * objects/FS/flow.c:
12756 * objects/FS/flow-ortho.c:
12757 * objects/FS/function.c:
12758 * objects/custom/custom_object.c:
12759 * objects/GRAFCET/vergent.c:
12760 * objects/chronogram/chronoref.c:
12761 * objects/SADT/box.c:
12762 * objects/SADT/annotation.c:
12763 * plug-ins/dxf/dxf-import.c:
12764 * plug-ins/xfig/xfig-import.c:
12765 * plug-ins/wpg/wpg.c:
12768 * app/display.c: /* certainly more WIP than dead code there */
12769 Unused variables, unused static function definitions, forgotten or
12770 incomplete prototypes added or fixed, lack of const or unwanted const,
12771 etc. (mostly clean-ups of leftovers of the pre-properties era).
12772 Non-obvious cases bracketed by #define THIS_IS_PROBABLY_DEAD_CODE,
12773 please check these.
12775 * app/lineprops_area.c: More of the same. Missing prototypes
12776 added, and functions unused outside made static.
12778 * app/recent_files.c:
12779 * app/properties.c:
12780 * app/defaults.c: some variables are used only when doing a GNOME
12783 * app/magnify.c: missing #include <stdlib.h>.
12785 * app/paginate_gnomeprint.c: Unused variable; missing "message.h".
12787 These are a lot of clean-ups (by the way, this compiles and runs
12788 cleanly with "gcc-3.0 -O2 -Wall --std=gnu99" too !); please grep
12789 for DEAD_CODE, and if it's yours, judge it.
12791 2001-04-07 Cyrille Chepelov <chepelov@calixo.net>
12793 * plug-ins/dxf-import.c: some progress with the arcs; still some
12794 clean-ups to do and line width scaling issues to figure out.
12796 * objects/standard/arc.c: start_point and end_point properties
12797 (duplicated from standard/line.c)
12799 * plug-ins/xfig/xfig-import.c: zip ! zap ! no more dead DXF import
12802 2001-04-06 Cyrille Chepelov <chepelov@calixo.net>
12804 * plug-ins/dxf-import.c: setlocale-related clean-ups and fixes ;
12805 preliminary support for arcs (doesn't work). Circles and ellipses are
12806 now transparent. Coordinate and width scaling are now a common
12807 static constant (probably before morphing into a preference).
12809 * sheet/checktrans.py: improved error reporting. Made checktrans
12810 count lack of <name xml:lang="code"> as a lack of translation for
12811 language "code" (no, it's not a plot to bring down other
12812 language's scores !)
12814 * sheet/*.sheet: Ensured all sheets have an encoding="iso-8859-1"
12815 in the header, and have <name xml:lang="fr"> components.
12817 2001-04-05 Cyrille Chepelov <chepelov@calixo.net>
12819 * objects/custom/custom_object.c: temporary hack to fix the shape
12820 bounding box reported by Ben A. Hetland. Proper fix isn't .87
12821 material, see bugzilla #52912.
12823 2001-04-05 Lars Clausen <lrclause@cs.uiuc.edu>
12825 * objects/standard/image.c (get_directory): Now uses
12826 G_SEPARATOR_CHAR_S instead of "/"
12828 * sheets/network.sheet:
12829 * sheets/Logic.sheet:
12830 * sheets/Flowchart.sheet:
12831 * sheets/Electric.sheet:
12832 * sheets/Circuit.sheet:
12834 * sheets/Pneumatic.sheet:
12835 * sheets/SDL.sheet:
12836 * sheets/UML.sheet:
12837 * sheets/GRAFCET.sheet:
12838 * sheets/MSE.sheet:
12839 * sheets/chronogram.sheet:
12840 * sheets/civil.sheet:
12841 * sheets/network.sheet:
12842 Danish translations.
12844 * objects/standard/image.c (get_directory): Changed get_directory
12845 to use g_dirname to find the directory part.
12847 2001-04-05 Cyrille Chepelov <chepelov@calixo.net>
12850 * sheets/Electric.sheet:
12851 * sheets/Flowchart.sheet:
12852 * sheets/Logic.sheet:
12853 * sheets/network.sheet: More Dutch translations from Dag Wieers.
12855 2001-04-04 Cyrille Chepelov <chepelov@calixo.net>
12857 * sheets/checktrans.py: now emits a warning when two descriptions
12858 for a single language code are found.
12861 * sheets/Makefile.am: -translation-reports now also depend on their
12864 2001-04-04 Cyrille Chepelov <chepelov@calixo.net>
12866 * sheets/Circuit.sheet:
12867 * sheets/Contact.sheet:
12868 * sheets/Logic.sheet:
12869 * sheets/chronogram.sheet:
12870 * sheets/sybase.sheet:
12871 Dutch translations from Dag Wieers <dag@wieers.com>
12873 2001-04-04 Cyrille Chepelov <chepelov@calixo.net>
12875 * po-checktrans.py: Now shows the detailed counts alongside the
12876 percentage of translations.
12878 2001-04-03 Cyrille Chepelov <chepelov@calixo.net>
12881 * po-checktrans (NEW):
12882 * po-checktrans.py (NEW): builds core-translation-report:
12883 percentages of core (gettext) translations done [Not placed into
12884 po/ where that should belong, because of integration fear^Wissues
12887 TO THE KIND ATTENTION OF PACKAGERS: core-translation-report and
12888 sheets/sheet-translation-report probably ought to be copied on the
12889 user's /usr/share/doc/dia (or equivalent) directory.
12891 * sheets/Makefile.am: sheet-translation-report now a simple
12892 EXTRA_DIST; make install won't install it by default.
12894 2001-04-03 Cyrille Chepelov <chepelov@calixo.net>
12896 * app/preferences.c: changed the default grid colour to something
12899 * shapes/SDL/*.shape:
12900 * sheets/SDL.sheet: renamed all SDL shapes to conform to the
12901 "$LIBRARY - $NAME" convention. THIS REQUIRES FIXING THE EXISTING
12902 DIA FILES (well, for files using SDL), see the mailing list
12903 archive "SDL (ab)using the global shape namespace" for a script to
12904 do this conversion.
12906 * sheets/SDL.sheet: translated into French
12907 * sheets/network.sheet: fixed XML typos. Yay ! 100% :-)
12909 2001-04-02 Cyrille Chepelov <chepelov@calixo.net>
12911 * lib/dia_xml.c: made data_point() more paranoid
12913 * sheets/Makefile.am:
12914 * sheets/checktrans (NEW):
12915 * sheets/checktrans.py: Made checktrans handle more gracefully the
12916 absence of python and python-xml packages, and made the error
12917 message more helpful.
12919 2001-04-01 Lars Clausen <lrclause@cs.uiuc.edu>
12921 * lib/render_object.c (new_render_object): Made initial handles
12922 behave like on most other objects.
12924 * app/load_save.c (read_objects): Fixed premature free'ing ofr
12925 typestr causing garbage.
12927 2001-04-01 Lars Clausen <lrclause@C194282.chmpgn1.il.home.com>
12929 * objects/FS/flow-ortho.c: Fixed a crashbug causes by not
12930 accouting for handle ordering through copy and save. (#51479)
12932 2001-03-31 Cyrille Chepelov <chepelov@calixo.net>
12934 * sheets/Circuit.sheet: Norwegian translation mistagged to German.
12936 2001-03-31 Steffen Macke <sdteffen@yahoo.com>
12938 * sheets/Circuit.sheet
12940 * sheets/network.sheet: Updated German translations
12942 2001-03-30 Cyrille Chepelov <chepelov@calixo.net>
12945 * app/lineprops_area.c: The return of the revenge of the arrow
12946 heads. Now all types covered by ISO 10303-201 should be covered.
12948 2001-03-30 Cyrille Chepelov <chepelov@calixo.net>
12950 * sheets/Flowchart.sheet: translations in probably Hungarian were
12951 a victim of cut-n-paste from the German one. Fixed (hopefully).
12952 * sheet/UML.sheet: translation in probably Norwegian was a victim
12953 of cut-n-paste from the French one. Fixed (hopefully).
12954 * sheets/Logic.sheet: French translation not tagged with
12957 * sheets/checktrans.py:
12958 * sheets/Makefile.am: new file, sheet-translation-report, to be
12959 installed along the sheets, show how much of them has been
12960 translated into which language (I wish the result was prettier...)
12962 * po/README: most translators don't read this file, but anyway...
12964 * sheets/.cvsignore:
12965 * objects/network/.cvsignore: the usual negotiation with CVS.
12967 2001-03-30 Cyrille Chepelov <chepelov@calixo.net>
12969 * sheets/*.sheet: French translations
12971 2001-03-28 Cyrille Chepelov <chepelov@calixo.net>
12973 Added patch #52363 from Hubert Figuiere <hfiguiere@teaser.fr>:
12975 ** objects/network/network.c:
12976 ** objects/network/wanlink.c:
12977 ** objects/network/pixmaps/wanlink.c:
12978 ** sheets/network.sheet:
12979 ** objects/network/Makefile.am: a better object to use instead of
12980 the older WAN Connection.
12982 ** lib/geometry.[ch]: rotation matrix functions in geometry.c (derived from gimp)
12984 ** objects/GRAFCET/vector.c: renamed Vector to GRAFCETVector to avoid a
12987 * objects/GRAFCET/vector.c: Re-renamed GRAFCETVector into
12988 Arc; kept the C file name (because CVS wouldn't like it), and
12989 still registering the older object name (but advertising the newer
12990 one in sheets/GRAFCET.sheet).
12992 2001-03-24 Hans Breuer <hans@breuer.org>
12994 * app/dia.def : some plug-ins (currently only python, xfig) are using
12995 functions from the dia executable. To get them working these functions
12996 need to be explicit exported on win32. IMO the much cleaner way would
12997 be to move these functions to libdia, but that would require some
12998 long term restructuring ...
13000 * lib/libdia.def : updated
13002 * plug-ins/makefile.msc : build xfig plug-in
13004 2001-03-24 Hans Breuer <hans@breuer.org>
13006 * app/diagram.c : g_strdup (dia->filename) because it will be
13009 * app/display.c : set ddisp->renderer to NULL after destruction.
13010 This may solve or help to identify erroneous access to it after
13013 * plug-ins/wmf/wmf.cpp : convert string from utf8 to wchar to
13014 get 'umlauts' working
13016 2001-03-22 Cyrille Chepelov <chepelov@calixo.net>
13018 * object/chronogram/chronoline_event.c: stupid bug ; rises and falls
13019 were reversed... (look for the patch, and drink a beer to my
13022 2001-03-23 Hans Breuer <hans@breuer.org>
13024 * app/app_procs.c : don't g_error () if the config directory
13025 can't be created (at least not on windoze) because it's quite
13026 common that the user don't read or understand the FAQ ...
13028 * app/cursor.c : use ddisplay_active () instead of active_display
13031 * app/display.[hc] : made active_display var static and provide
13032 an accessor funtion ddisplay_active_diagram ()
13034 * app/dia-props.c : don't store the active_diagram, but ask
13035 for it everytime it needed.
13037 * lib/properties.h : #include "intl.h"
13039 * lib/makefile.msc : need to take care of inclusion order to
13040 avoid clashes with gtk+2.0's gdk-pixbuf
13042 * objects/makefile.msc : added uml/stereotype.c to build
13044 2001-03-23 Lars Clausen <lrclause@cs.uiuc.edu>
13046 * **/*.c: Added config.h to the remaining .c files, and changed
13047 all to be <config.h>.
13049 2001-03-22 Steffen Macke <sdteffen@yahoo.com>
13054 * app/lineprops_area.c: added new arrow types with double
13057 2001-03-20 Steffen Macke <sdteffen@yahoo.com>
13059 * shapes/Civil/civil_gas_bottle.xpm
13060 * shapes/Civil/civil_gas_bottle.shape
13061 * sheets/civil.sheet
13062 * shapes/Civil/Makefile.am: Added gas bottle shape by Arne
13065 2001-03-20 Lars Clausen <lrclause@cs.uiuc.edu>
13067 * objects/custom/shape_info.c (load_shape_info):
13068 * objects/custom/shape_info.h:
13069 * objects/custom/custom_object.c (custom_update_data):
13070 Better support for text outside the box -- new attributes 'resize'
13071 and 'align' for text entity. Align not fully supported yet.
13073 * lib/text.c (text_calc_boundingbox): Adding BB for cursor width.
13075 2001-03-20 James Henstridge <james@daa.com.au>
13077 * app/interface.c (display_data_received_callback): comment out
13080 2001-03-19 James Henstridge <james@daa.com.au>
13082 * app/GNOME_Dia.oaf: rename from GNOME_Dia.oafinfo.
13084 * objects/UML/realizes.c: similar here.
13086 * objects/UML/implements.c: similar here.
13088 * objects/UML/component.c: similar here.
13090 * objects/UML/generalization.c: same here.
13092 * objects/UML/dependency.c: allow NULL for ->name and
13093 ->stereotype. This fixes a number of problems in loading saved
13096 * lib/properties.c: various changes so that NULL string properties
13099 * objects/standard/line.c (line_update_data):
13100 line->extra.start_long and line->extra.end_long were not being
13101 initialised. This fixes potential problems with the bounding box
13102 of "Standard - Line" objects.
13104 2001-03-19 Hans Breuer <hans@breuer.org>
13106 * app/commands.c : added win32 specific code to display a html
13107 file. #include "text.h" for text_delete_all prototype.
13110 * app/dia.rc : (new) to give Dia win32 an icon
13112 * app/win32print.[ch] : new files to support direct postscript
13113 file printing on win32. Beware: it *requires* a ps-printer!
13115 * app/paginate_psprint.c : disable the signal code for win32 build
13116 and added small specific changes to support win32print.
13118 * app/makefile.msc : added win32print and linking shell32.lib
13120 * lib/libdia.def : updated
13122 2001-03-18 Kevin Breit <battery841@mediaone.net>
13124 * doc/en/dia-C.omf: Added file. Dia should now list in the Nautilus
13127 2001-03-17 James Henstridge <james@daa.com.au>
13129 * app/paginate_psprint.c (diagram_print_ps): add code that traps
13130 SIGPIPEs during printing. This gets rid of a number of crashes
13131 caused by printing (eg. typing an incorrect print command).
13133 * dia.spec (%install): gzip the manpage.
13135 * lib/beziershape.c (beziershape_save): fix off by one error in
13136 beziershape save code, which was adding an extra segment to the
13139 * app/menus.c: add a separator in the gnome version of the help
13142 * app/app_procs.c (app_init): add a --nosplash argument which
13143 disables the splash screen.
13145 * app/dia_embedd.c (main): don't leave the splash screen open for
13146 embeddable component.
13148 * app/splash.c (app_splash_init): the gtk_widget_show_now() call
13149 didn't seem to be showing the splash screen like expected, so I
13150 have replaced it with some code that calls gtk_main() until the
13151 first exposure of the window.
13153 2001-03-16 James Henstridge <james@daa.com.au>
13155 * app/Makefile.am (EXTRA_DIST): add extra pixmaps.
13157 * objects/UML/Makefile.am (libuml_objects_la_SOURCES): add
13160 * lib/Makefile.am (libdia_a_SOURCES): add diavar.h here.
13162 * app/Makefile.am (dia_core_files): remove splash.h from file
13163 list, as it doesn't exist.
13165 * doc/en/Makefile.am (uninstall-local): remove the docdir on
13168 * doc/Makefile.am (uninstall-local): target to remove the C
13171 * dia.spec (%files): include the documentation in the package.
13173 * app/menus.c (toolbox_menu_items): add menu item for manual,
13174 which calls help_manual_callback.
13176 * app/commands.c (help_manual_callback): find help file and load
13177 netscape to view it.
13179 * app/commands.h: add prototype for help_manual_callback()
13181 * doc/Makefile.am (helpdir): similar here.
13183 * doc/en/Makefile.am (helpdir): make the helpdir
13184 $(pkgdatadir)/help/en in the non gnome case.
13186 * configure.in (HAVE_GNOME): add conditional.
13188 * doc/en/Makefile.am: handle the graphics in a more general way,
13189 so it is easier for Kevin to add them to the build (just add them
13190 to the GRAPHICS var).
13192 * app/Makefile.am (embed_extra_print_files): make the case of
13193 building without gnome-print support but with bonobo support work.
13194 dia-embedd needs to be include the gnome-print
13196 2001-03-09 Cyrille Chepelov <chepelov@calixo.net>
13198 * samples/Makefile.am: included all samples in the distribution....
13200 2001-03-09 Cyrille Chepelov <chepelov@calixo.net>
13202 * configure.in: removed premature test for DPS. Added -*- m4 -*-
13203 at the beginning. Made HAVE_UNICODE non-default. po/es_ES.po has
13204 vanished, removed it from ALL_LINGUAS.
13206 * lib/charconv.[ch] (NEW): a very small wrapper around
13207 unicode_iconv to convert strings between utf8 and local charset
13208 (actually, ISO-8859-1, though one can do
13209 CFLAGS="-DEFAULT_8BIT_CHARSET=\"ISO-8859-2\"" and the like).
13211 * lib/ps-utf8.[ch] (NEW): A PostScript Unicoder ; a smallish
13212 library to help build Postscript streams which use as many custom
13213 font encodings as necessary to correctly represent all characters
13214 used (testing from users with non-latin1 and/or more than 256
13215 characters in routine use *very* welcome).
13217 * app/Makefile.am, lib/Makefile.am: integrated these into the
13220 * shapes/Logic/.cvsignore (NEW): .cvsignore
13222 * app/render_eps.h: forwarded some changes Lars forgot to include.
13223 * app/render_eps.c: turned off ASCII85 and FILTERS, as this
13226 2001-03-08 Kevin Breit <battery841@mediaone.net>
13228 * doc/en/home_network.png: Added file.
13229 * doc/en/line_props.png: Added file.
13230 * doc/en/usage-objects.sgml: Added two graphics to file.
13231 * doc/en/usage-quickstart.sgml: Added one graphic to file.
13233 2001-03-06 Kjartan Maraas <kmaraas@gnome.org>
13235 * app/grid.h: Place comment around text after #endif.
13236 * lib/bezier_conn.c: #include <string.h>.
13237 * lib/beziershape.c: #include <string.h>.
13238 * lib/connpoint_line.h: Comment after #endif.
13239 * lib/dia_dirs.c: #include <string.h>.
13240 * lib/element.c: Same.
13241 * lib/lazyprops.c: #include <config.h> and "intl.h".
13242 * lib/lazyprops.h: Comment out text after #endif.
13243 * lib/neworth_conn.c: #include <string.h>
13244 * lib/orth_conn.c: Same here.
13245 * lib/poly_conn.c: Here too.
13246 * lib/polyshape.c: And here.
13247 * lib/properties.c: Remove #include "intl.h" from here and add
13248 an array of static strings to work around bug in gettext that
13249 makes it miss strings in a #define body.
13250 * objects/GRAFCET/action_text_draw.h: Comment out text after #endif.
13251 * objects/GRAFCET/boolequation.h: Same here.
13252 * objects/chronogram/chronoline_event.h: Add prototype for
13255 2001-03-05 Lars Clausen <Lars R. Clausen <lrclause@cs.uiuc.edu>
13257 * objects/FS/function.c:
13258 * objects/FS/flow.c:
13259 * objects/FS/flow-ortho.c:
13260 Updated to use properties.
13262 2001-03-03 James Henstridge <james@daa.com.au>
13264 * lib/lazyprops.c (__propdlg_build_enum): translate the radio
13265 button labels when creating them.
13267 2001-02-28 Lars Clausen <Lars R. Clausen <lrclause@cs.uiuc.edu>
13269 * objects/UML/actor.c
13270 * objects/UML/realizes.c
13271 * objects/UML/implements.c
13272 * objects/UML/generalization.c
13273 * objects/UML/dependency.c
13274 * objects/UML/constraint.c
13275 Updated to use properties.
13277 * objects/UML/stereotype.c
13278 * objects/UML/stereotype.h
13279 Generalized to any kind of bracketting.
13281 2001-02-28 James Henstridge <james@daa.com.au>
13283 * app/menus.c: add help entry to the help menu. Need to get this
13284 working for the non GNOME case as well (maybe put help under
13285 $(datadir)/dia/help for non GNOME?)
13287 * doc/en/topic.dat: add a topic.dat file for GNOME menus.
13289 * doc/en/dia-manual.sgml (legalnotice): add an id attribute to
13290 this element so that we get a meaningful filename in the html
13293 * doc/Makefile.am, doc/en/Makefile.am: new makefiles to handle the
13296 * configure.in (DB2HTML): add a check for the db2html program, and
13297 set an automake conditional if it is found.
13299 * Makefile.am: remove EXTRA_DIST rules that cover doc/ directory,
13300 and descend into doc/ directory while building.
13302 * configure.in (AC_OUTPUT): add doc/ makefiles to output list, now
13303 we need more complex rules for building the docs.
13305 2001-02-25 Hans Breuer <hans@breuer.org>
13307 * config.h.win32 : some cleanup
13309 * app/prefererences.c : g_scanner_(freeze|thaw)_symbol_table
13310 are deprecated since glib-1.3.2. Sorry needing to use them
13311 contionally, but there is no glib-1.2 for win32
13313 * app/recent_files.c : use g_strescape (params) conditionally
13315 * lib/connection.c : include string.h for memcpy
13317 * lib/geometry.h : added some stuff for compatibility with
13318 msvc, which previously came from included config.h
13320 * lib/libdia.def : updated
13322 * objects/makefile.msc : updated
13324 * objects/GRAFCET/action.c(490) : fixed warning C4700: local variable
13325 'extra' used without having been initialized
13327 * objects/network/bus.c(658) : initialize 'extra'
13329 * plug-ins/makefile.msc : updated
13331 * plug-ins/cgm/cgm.c :
13332 * plug-ins/pstricks/render_pstricks.c :
13333 g_free() memory allocated by dia_image_rgb_data(). Plugs possibly
13336 * plug-ins/python/python.c : use HAVE_DIRENT_H
13338 2001-02-23 Lars Clausen <Lars R. Clausen <lrclause@cs.uiuc.edu>
13340 * lib/connection.c (connection_update_boundingbox):
13341 Made the BB shrink on right and lower sides, too.
13343 2001-02-23 Kjartan Maraas <kmaraas@gnome.org>
13345 * */*.c: #incude <config.h> at the top.
13346 * */*.h: Remove include of "config.h" since it should only
13347 be included in .c files and at the very top for things to
13349 * sheets/*.sheet: Updated Norwegian translations.
13351 2001-02-22 Lars Clausen <Lars R. Clausen <lrclause@cs.uiuc.edu>
13353 * objects/UML/small_package.c:
13354 * objects/UML/class.c:
13355 * objects/UML/node.c:
13356 * objects/UML/usecase.c:
13357 * objects/UML/lifeline.c:
13358 * objects/UML/message.c:
13359 Various cleanup of properties in particular. Now much more use of
13360 standard properties.
13362 * lib/diagramdata.c (layer_render): Visualization of bounding
13363 boxes, for debugging purpoises.
13365 2001-02-22 Cyrille Chepelov <chepelov@calixo.net>
13368 * lib/connection.[ch]:
13369 * lib/poly_conn.[ch]:
13370 * lib/polyshape.[ch]:
13371 * lib/bezier_conn.[ch]:
13372 * lib/beziershape.[ch]:
13373 * lib/orth_conn.[ch]:
13374 * lib/neworth_conn.[ch]:
13375 * lib/element.[ch]: Changed a bit the _update_boundingbox()
13376 interface. Now the parent elements have an extra_spacing
13377 structure, which child objects just need to fill, to take care of
13378 most arrow & line width extra space needs.
13380 * objects/**/*.c: updated all objects to the new interface.
13381 While at it, killed all instances of (Object *) downcasts (phew !)
13383 * objects/GRAFCET/condition.c: removed the arrowhead, which IEC848
13384 doesn't speak about.
13386 2001-02-21 Lars Clausen <Lars R. Clausen <lrclause@cs.uiuc.edu>
13388 * sheets/Logic.sheet: New sheet for Logic symbols.
13390 2001-02-21 James Henstridge <james@daa.com.au>
13392 * app/menus.c (dia_gnome_menu_get_widget): new function to find a
13393 widget by its path name. Walks the GnomeUIInfo heirachy rather
13394 than widget tree, compares untranslated label names and ignores
13395 underscores in the labels.
13396 (menus_get_item_from_path): use dia_gnome_menu_get_widget so that
13397 lookups are not dependent on the current locale, as with
13398 gnome_app_find_menu_pos.
13400 * acconfig.h: guard against multiple inclusion of config.h.
13402 * app/select.c (select_style_callback): simply set the selection
13403 style to the value of action.
13405 * app/menus.c (menus_init): simplify the item factory based menu
13406 code a bit. It looks like it was using some code cut and pasted
13407 from the gimp, which looked a bit unnecessary. Things work fine
13409 (selectmenu): set the action to the type of selection mode
13411 (display_menu_items): use the symbolic enumeration values for the
13414 * app/plugin-manager.c:
13415 * app/plugin-manager.h:
13419 * app/select.h: change prototypes.
13421 * app/commands.c: update all callback prototypes, and get rid of
13422 some #ifdef GNOME's.
13424 * app/commands.h: change function prototypes.
13426 * app/dia_embedd.c (save_fn):
13427 s/ex_Bonobo_IOError/ex_BonoboStorage_IOError/
13429 * app/menus.c (menus_init): for gnome menus, use
13430 gnome_app_fill_menu_custom and pass in a GnomeUIBuilderData
13431 structure that proxies the callbacks to have the same signature as
13432 GtkItemFactory type 1 callbacks.
13433 (menus_init): for GTK menus, change from callback type 2 to type
13435 (display_menu_items): add back tearoffs. I don't know who removed
13436 these for the gtk menu case.
13438 2001-02-20 Kevin Breit <battery841@mediaone.net>
13440 * doc/en/usage-objects-special.sgml: Fixed a few of the special
13441 object descriptions. More to come in the next few days.
13443 2001-02-20 Lars Clausen <lrclause@cs.uiuc.edu>
13445 * app/render_eps.c: Fixed for internationalized floating point
13448 * objects/UML/note.c: Fixed properties -- was missing
13449 Get/ApplyPropertiesFunc. Also improved update to recalculate text
13452 2001-02-19 Lars Clausen <lrclause@cs.uiuc.edu>
13454 * plug-ins/xfig/xfig-import.c:
13455 File added importing xfig files. Still very rough, but good
13456 enough to let others hack on it.
13458 2001-02-07 Cyrille Chepelov <chepelov@calixo.net>
13461 * app/linewidth_area.c:
13463 * lib/properties.c:
13465 * objects/ER/attribute.c:
13466 * objects/ER/entity.c:
13467 * objects/ER/relationship.c:
13468 * objects/custom/custom_object.c:
13469 * objects/flowchart/box.c:
13470 * objects/flowchart/diamond.c:
13471 * objects/flowchart/ellipse.c:
13472 * objects/flowchart/parallelogram.c:
13473 * objects/standard/box.c:
13474 * objects/standard/textobj.c: per Vlad Harchev's request, made
13475 page sizes of gtk_adjustments different than their step sizes.
13476 When sensible values of page size weren't found (overwhelming
13477 majority of cases), page sizes were set to 10.0 * respective step
13480 2001-02-07 Lars Clausen <lrclause@cs.uiuc.edu>
13482 * objects/network/hub.c:
13483 Patch from Hubert Figuiere applied, adding connection points.
13485 2001-02-02 James Henstridge <james@daa.com.au>
13487 * app/display.c (new_display): set update id to 0 here.
13488 (ddisplay_update_handler): rename from ddisplay_flush, and set
13489 update_id to 0 at end of processing.
13490 (ddisplay_flush): new implementation that simply sets an idle
13491 handler to perform the actual drawing.
13493 * app/display.h: add structure member to hold the redraw idle
13496 2001-01-31 Lars Clausen <lrclause@cs.uiuc.edu>
13498 * objects/standard/ellipse.c (ellipse_copy):
13499 * objects/standard/zigzagline.c (zigzagline_copy):
13500 Fix of copying provided by Martin Hawlisch.
13502 2001-01-23 Kevin Breit <battery841@mediaone.net>
13504 * doc/en/graphics/: added directory
13506 * doc/en/graphics/greendots.png: added file
13508 * doc/en/*sgml: made minor and some major changes to prepare for 1.4
13511 2001-01-23 Kevin Breit <battery841@mediaone.net>
13513 * doc/en/*sgml: made some grammar changes and fixed a few markup bugs.
13514 thanks to John Fleck!
13516 2001-01-21 Kevin Breit <battery841@mediaone.net>
13518 * doc/en/*sgml: made just minor changes to a few lines; nothing major.
13520 2001-01-12 Michael Meeks <michael@helixcode.com>
13522 * app/dia_embedd.c (init_server_factory): do a bonobo_activate
13523 so our POA gets setup properly.
13525 * app/paginate_gnomeprint.c (paginate_gnomeprint): g_free
13526 things we g_malloc.
13528 * configure.in: Use bonobox_print.
13530 * app/dia_embedd.c (embeddable_factory): add print interface.
13531 (object_print): impl.
13533 2001-01-11 Michael Meeks <michael@helixcode.com>
13535 * app/dia_embedd.c (embeddable_factory): aggregate PersistFile.
13536 (load_fn, save_fn): impl.
13537 (view_factory): hide modified status bar, & use activate fn.
13538 (refresh_view): force redraws of the views.
13539 (view_show_hide): split from
13540 (dia_view_activate): here.
13542 * app/diagram.c (diagram_load_into): split from diagram_load.
13543 (new_diagram): simplify bu splittin stuff into
13544 (diagram_init): here.
13546 2001-01-10 Steffen Macke <sdteffen@yahoo.com>
13548 * shapes/jigsaw/*.shape: replaced #000000 with foreground
13549 and #ffffff with background
13551 2001-01-08 Steffen Macke <sdteffen@yahoo.com>
13553 *configure.in: GTK+-build was broken due to missing
13556 2001-01-06 Michael Meeks <michael@helixcode.com>
13558 * app/dia_embedd.c (main): add running context support.
13559 (dia_embeddable_destroy): remove old running object counting.
13560 (embeddable_factory): ditto.
13561 (view_factory): comment out menu path hiding.
13563 * lib/sheet.c (load_register_sheet): use free to free
13564 stuff from libxml not g_free.
13566 * acconfig.h: kill cover for USE_BONOBOX and USE_OAF
13568 * configure.in: remove USE_OAF checks, check for a precice
13569 Bonobo version >= 0.31, revamp bits.
13571 * app/dia_embedd.c (init_server_factory): upd.
13572 (init_dia_factory): remove OAF conditionals, everything uses
13575 * app/GNOME_Dia.oafinfo: rename OAFIIDs
13577 * app/Makefile.am: remove ancient gnorba code.
13578 rename dia.oafinfo to GNOME_Dia.oafinfo
13580 2001-01-07 Hans Breuer <Hans@Breuer.Org>
13584 * readme.win32 : some more files required or useful to build
13587 * plug-ins/wmf/wmf.cpp : fixed open issues like fill_arc and
13588 fill_bezier implementation, boundary drawing in fill mode, etc.
13589 Next one complaining gets the source, uncommented ...
13591 * shapes/network/router-symbol.xpm
13592 * shapes/network/switch-atm-symbol.xpm
13593 * shapes/network/switch-symbol.xpm : removed "-*- picture -*- "
13594 from /* XPM */ header, cause it stopped Dia/gdk_pixbuf to detect
13595 the files as XPMs. Maybe the X versions of these functions are more
13598 2001-01-06 Steffen Macke <sdteffen@yahoo.com>
13600 * plug-ins/python/Makefile.am: added libart path
13602 * plug-ins/python/python.c: added dirent.h
13604 * configure.in: added es_ES and pt_BR to ALL_LINGUAS
13606 2001-01-06 Hans Breuer <Hans@Breuer.Org>
13608 * objects/uml/actor.c
13609 * objects/uml/branch.c
13610 * objects/uml/class.c
13611 * objects/uml/classicon.c
13612 * objects/uml/component.c
13613 * objects/uml/large_package.c
13614 * objects/uml/node.c
13615 * objects/uml/note.c
13616 * objects/uml/object.c
13617 * objects/uml/small_package.c
13618 * objects/uml/state.c
13619 * objects/uml/usecase.c : started to implement the generic property
13620 interface for the uml objects. Would appreciate some help on how
13621 to implement properties which are list of properties themselves,
13622 e.g. member functions and their parameters of UMLClass.
13624 2001-01-06 Hans Breuer <Hans@Breuer.Org>
13626 * plug-ins/python/diamodule.c : finally ported to win32.
13627 Added new objects and implemented register_export function.
13629 * plug-ins/python/pydia-object.h
13630 * plug-ins/python/pydia-display.c
13631 * plug-ins/python/pydia-handle.c
13632 PyObject_HEAD_INIT needs some tweakink on win32. Done in
13633 pydia-object.h; others files simply using it.
13635 * plug-ins/python/pydia-layer.c : reflect
13636 layer_find_closest_connection(_)point renaming
13638 * plug-ins/python/pydia-object.c : add property properties.
13639 Also change bounding_box to DiaRectangle.
13641 * plug-ins/python/python.c : extended error reporting; use
13642 all *.py files from Dia's plug-in dir instead of hardcoded
13643 test.py. This sollution should be fine with Win32, but on
13644 Unix it may need some tweaking (dunno) ...
13646 * plug-ins/python/export-object.py
13647 * plug-ins/python/export-render.py : test and documentation
13648 implementations for export filter implementations in Python
13650 * plug-ins/python/pydia-color.[hc]
13651 * plug-ins/python/pydia-diagramdata.[hc]
13652 * plug-ins/python/pydia-error.[hc]
13653 * plug-ins/python/pydia-export.[hc]
13654 * plug-ins/python/pydia-font.[hc]
13655 * plug-ins/python/pydia-geometry.[hc]
13656 * plug-ins/python/pydia-image.[hc]
13657 * plug-ins/python/pydia-properties.[hc]
13658 * plug-ins/python/pydia-property.c
13659 * plug-ins/python/pydia-render.c : new objects in new files
13661 * plug-ins/python/makefile.am : added new files but can't test it
13663 * plug-ins/python/pydia.def
13664 * plug-ins/python/makefile.msc : for win32 build
13666 * plug-ins/cgm/cgm.c
13667 * plug-ins/dxf/dxf-import.c
13668 * plug-ins/dxf/dxf-export.c
13669 * plug-ins/hpgl/hpgl.c : reflect export API change
13671 * plug-ins/shape/shape-export.c : reflect export API change
13672 and check for libart (better the availibility of a png exporter)
13673 at run-time instead of compile-time.
13675 2001-01-06 Steffen Macke <sdteffen@yahoo.com>
13677 * app/recent_files.h was missing from Hans's commit
13679 * plug-ins/shape/shape_export.c: shape export was broken
13680 due to interface changes
13682 2001-01-05 Hans Breuer <Hans@Breuer.Org>
13684 Applied Steffen's recent file list patch :
13685 * app/Makefile.am : added recent_files.[hc]
13686 * app/diagram.c : add files to recent file list
13687 * app/menus.c : add recent file menu
13688 * app/app_procs.c : changed initialization order to
13689 make recent file list work with command line processing.
13691 The Filter export()/import() functions have got an additional
13692 parameter to allow multiple filters via one C callback (required
13693 for Python bindings)
13695 * app/commands.[hc] : corrected the signature for gtk menu callback
13696 functions, which actually use the second or third parameter. This
13697 is the absolute minimum change to make these functions/menu entries
13698 work again. Using the other possible gtk menu callback signature
13699 would have required one more function to change. (see mailing list
13700 thread "Objects/Align/Equal Distance" for more information.
13702 * app/disp_callbacks.c : applied Gustavo J.A.M. Carneiro's
13703 zoom-combo focus patch
13706 * app/interface.c : wrapped the Zoom Combo code into
13707 #ifndef WITHOUT_ZOOM_COMBO because IHMO it isn't an useabilty
13708 improvement but cluttering the user interface. Also it wasn't
13709 compiling on Win32 anyway. The win32 version does define
13710 WITHOUT_ZOOM_COMBO to keep the old look.
13711 There are plans to use the statusbar to display size and placement
13712 of selected objects, whereas the Zoom Combo would need to get out
13713 of the way as well.
13715 Added "Save Changes?" to diagram close dialog. Hopefuly the
13716 Yes/No/Cancel option isn't too much windoze like. IHMO this is
13717 an useability improvement.
13722 * app/layer_dialog.c
13723 * app/paginate_psprint.c
13725 - reflect signature changing of filter->export function
13726 - replaced '/' with G_DIR_SEPARARTOR where appropriate
13728 * app/diaunitspinner.c
13729 * app/render_libart.c
13730 added misssing headers like <string.h>
13732 * app/object_ops.c : fixed copy&paste bug in dialog string
13734 * app/splash.c : gdk_widget_show_now () does not ensure actual
13735 drawing of the splash screen, at least not on win32. Reuse the
13736 previous implementation with gtk_main_iteration() again.
13738 * */makefile.msc : make use of the build module (available in
13739 gnome-cvs/build. Updated for other source changes
13741 * lib/filter.h : added an user_data pointer to <ex/im>port()
13742 function signature and Dia<Im/Ex>portFilter to allow different
13743 filters to reuse the same callback function
13745 * lib/font.c : #include <string.h>
13750 * lib/neworth_conn.c
13751 * lib/text.c : don't mix allocator functions (g_)realloc, free, ...
13753 * */*.def : export function definition files required by win32 build
13755 * objects/custom/custom.c : #include <string.h>
13757 * plug-ins/pstricks/render_pstricks.c
13758 * plug-ins/shape/shape_export.c
13759 * plug-ins/svg/render_svg.c
13760 reflect changes to filter export function signature
13762 * plug-ins/wmf/wmf.cpp : fixed indent and scaling. It now should
13763 mostly work as expected
13764 * plug-ins/wmf/wmf_gdi.[hc] : Updated comment. Still not used
13765 to build the wmf plug-in because on the one hand the GDI emulation
13766 isn't finished and on the other hand it isn't required when building
13767 for win32. Is there anybody out there, who wants to save WMF on non
13768 windoze platforms ?
13770 * plug-ins/wpg/wpg.cpp : fixed scaling to take axis dependent
13771 offset into account.
13773 2001-01-02 Steffen Macke <sdteffen@yahoo.com>
13775 * app/Makefile.am: added missing plug-ins to run_dia.sh
13777 * lib/paper.c: added paper sizes A0, A1, A2
13779 * objects/UML/class.c
13780 objects/UML/class.h
13781 objects/UML/class_dialog.c: added support for colored UML
13784 2000-12-30 Kevin Breit <battery841@mediaone.net>
13786 * doc/en/usage-customization.sgml: added more content
13788 2000-12-24 Kevin Breit <battery841@mediaone.net>
13790 * doc/en/usage-layers.sgml: added file, contributed by Remypsb
13791 <remy.viard@laposte.net>
13793 2000-12-24 Steffen Macke <sdteffen@yahoo.com>
13795 * added limiting lines to Civil Engineering sheet,
13796 fixed vertical pump icon
13798 2000-12-20 Steffen Macke <sdteffen@yahoo.com>
13800 * updated/additional Civil Engineering shapes: better icons,
13801 shapes use foreground/background colors now and are filled
13803 2000-12-03 Kevin Breit <battery841@mediaone.net>
13805 * doc/en/dia-manual.sgml Integrated a few diffs. New section should be
13806 the selection <sect1>
13808 2000-11-29 Fredrik Hallenberg <hallon@lysator.liu.se>
13810 * app/load_save.c (diagram_data_save): avoid using obsoleted
13811 libxml calls (only matters when compiling with libxml2)
13813 2000-11-25 James Henstridge <james@daa.com.au>
13815 * app/disp_callbacks.c (ddisplay_drop_object): add a function to
13816 handle the tool drops on the canvas.
13818 * app/interface.c (display_data_received_callback): do the check
13819 to make sure that the drag is from a local toolbox here as well.
13821 * app/interface.c (create_tools): unref the pixmap/mask after
13822 creating the GtkPixmap.
13823 (tool_setup_drag_source): function to set up a drag source for
13824 create object tool buttons.
13825 (create_tools): setup drag source for CREATE_OBJECT_TOOL's.
13826 (fill_sheet_wbox): same here.
13827 (create_display_shell): set up the display canvas as a drag
13829 (display_drop_callback, display_data_received_callback): functions
13830 to handle drops of tool buttons.
13832 * app/menus.c (menus_init): don't use gnome_popup_menu_new(). It
13833 does weird shit to the user_data pointer for a menu item. Object
13834 alignment should work again now.
13836 * app/splash.c (get_logo_pixmap): don't unref the bitmap if it is
13837 NULL, and mark this function static.
13838 (app_splash_init): use gtk_widget_show_now() instead of the
13839 gtk_main_iteration loop.
13840 (app_splash_init): connecting gtk_widget_destroy to the destroy
13841 signal of a widget seems pretty useless.
13843 2000-11-23 Kevin Breit <battery841@users.sourceforge.net>
13845 * doc/en/dia-manual.sgml:
13846 Added sect1 for advanced object types. Starting development
13849 2000-11-18 Kevin Breit <battery841@mediaone.net>
13851 * doc/en/dia-manual.sgml:
13852 Stupid spelling fixes.
13854 2000-11-18 Kevin Breit <battery841@mediaone.net>
13856 * doc/en/dia-manual.sgml:
13857 Just some small changes I made. Props to Greg LeBlanc on the
13860 2000-11-17 Alexander Larsson <alla@lysator.liu.se>
13863 (ddisplay_add_display_area): Clip input rectangle to
13864 the visible part of the display.
13865 (ddisplay_scroll): Optimization, don't scroll and
13866 redraw if moving to the same position as before.
13868 * app/render_libart.c (renderer_libart_copy_to_window):
13869 Removed sanity check. Now moved to ddisplay_add_display_area().
13872 Added return at end of file.
13874 2000-11-13 Kevin Breit <battery841@mypad.com>
13875 * doc/en/dia-manual.sgml
13876 Commited manual changes from Henry House <hajhouse@houseag.com>
13878 2000-10-21 Hans Breuer <Hans@Breuer.Org>
13879 * lib/beziershape.c :
13880 The previous code was accessing unowned memory due to IHMO
13881 wrong index calculation. Now it appears to be fixed.
13885 * plug-ins/makefile.msc
13886 * objects/makefile.msc
13887 * app/makefile.msc: (new files)
13888 Makefiles for Dia on Win32, Micro$oft VC only.
13890 * plug-ins/pstricks/render_pstricks.c
13891 * plug-ins/dxf/dxf-import.c
13892 * plug-ins/shape/shape-export.c
13893 * plug-ins/svg/render_svg.c
13896 * app/preferences.c
13900 * objects/custom/custom.c
13901 * objects/standard/image.c
13902 portability (not only win32): use HAVE_UNISTD_H, HAVE_DIRENT_H
13903 where appropriate, add missing prototypes like <string.h>
13905 * plug-ins/wmf/wmf_gdi.cpp
13906 * plug-ins/wmf/wmf_gdi.h:
13907 start of wmf write functions for non Win32 platform. Not
13908 finished yet. The other way to get it working maybe to
13909 link the plug-in against wine libs.
13911 * plug-ins/wpg/wpg.c : add missing brace
13913 * app/load_save.c :
13914 Handling for unknown objects at load time. Previously Dia
13915 was crashing, if you try to load a file referencing objects
13916 whiches plug-ins aren't installed/available. Now it spits out
13917 a warning and ignores the unknown objects.
13920 toolbox DND support for files like The Gimp does it.
13924 Simple splash screen support and usage.
13927 Splash screen, portability fixes, dont' g_error if there is
13928 g_get_homedir return NULL. This may remove the one and only
13932 Make it compile without ENABLE_NLS
13934 * app/render_libart.c :
13935 Sanity check to avoid calling libart with wrong window coordinates.
13936 They come from the update handler. Direct Gdk is dealing nicely
13937 with coordinates out of range, libart does access un-owned memory
13938 in this case, mostly causing crashes.
13940 * app/winmain.c: (new file) Export the Win32 Gui version of the
13941 main function. This file is only required for Windoze.
13943 * app/splash.c: (new file) splash screen implementation
13947 * lib/diavar.h: (new file)
13948 moved special variable export code to diavar.h, because it is
13949 needed in color.h and font.h
13952 M$VC cann't export inlined functions. Quick hack to let it
13953 link again. Probably the glib mechanics should be used here?
13955 * objects/UML/lifeline.c : initialize var before usage
13957 * objects/GRAFCET/step.c : removed unused var
13959 2000-10-14 James Henstridge <james@daa.com.au>
13961 * app/render_gnomeprint.c (draw_image): change code so images
13962 don't get flipped when printing.
13964 * app/paginate_gnomeprint.c (diagram_print_gnome): check to make
13965 sure that the return value of
13966 gnome_print_context_new_with_paper_size is not NULL.
13968 * app/render_gnomeprint.c (draw_arc): add code to convert arcs
13969 into a series of bezier segments.
13970 (fill_arc): similar code to handle filled arc segments.
13972 2000-10-12 Fredrik Hallenberg <hallon@lysator.liu.se>
13979 * app/disp_callbacks.c
13981 * app/linewidth_area.c
13982 * app/paginate_psprint.c
13983 * app/preferences.c
13987 * app/neworth_conn.c
13989 * objects/standard/box.c: various small changes to get rid of
13990 annoying warnings (eg faulty prototypes and unused variables)
13992 * app/disp_callbacks.c
13995 * app/magnify.h: update magnify tool icon when pressing/releasing
13996 shift. I will try to make something more general so that similar
13997 things can be used by other tools.
13999 * shapes/SDL/inout.shape
14000 * shapes/SDL/return.shape: fixed some typos
14002 2000-10-09 James Henstridge <james@daa.com.au>
14004 * objects/custom/shape_info.c (parse_path): apply patch from
14005 Robert Young <robertdotyoung@dsto.defence.gov.au> to fix bug
14008 2000-10-08 James Henstridge <james@daa.com.au>
14010 * objects/standard/image.c (image_set_props): if the file could not
14011 be loaded, show the broken image icon.
14013 * plug-ins/Makefile.am (SUBDIRS): add shape to the subdirs list.
14015 * plug-ins/shape/*: the shape export plugin by Steffen Macke.
14017 * app/interface.c (fill_sheet_wbox): use gdk-pixbuf to load the
14018 object icon when loading from a file. This allows you to have PNG
14019 icon files for shapes.
14021 2000-10-07 James Henstridge <james@daa.com.au>
14023 * app/Makefile.am (dia_LDADD): remove GDK_IMLIB_LIBS reference.
14025 * lib/Makefile.am, app/Makefile.am (INCLUDES): remove
14026 GDK_IMLIB_CFLAGS reference.
14028 * app/commands.c (help_about_callback): remove imlib code.
14030 * lib/dia_image.c: only include the pixbuf version of the image
14033 * acconfig.h: remove the HAVE_GDK_PIXBUF flag from here.
14035 * configure.in (CPPFLAGS): remove the check for imlib, as we now
14036 require gdk-pixbuf.
14038 * plug-ins/pstricks/render_pstricks.c (new_pstricks_renderer):
14039 conditionally define \setfont as well.
14041 2000-10-05 James Henstridge <james@daa.com.au>
14043 * plug-ins/pstricks/render_pstricks.c (new_pstricks_renderer): fix
14044 preamble so that we define \setlinejoinmode and \setlinecaps
14045 commands conditionally on them being undefined. This way, the
14046 pstricks output files should work without modification, and will
14047 support the commands when they are implemented in pstricks.
14049 2000-10-05 Szabolcs Ban <shooby@gnome.hu>
14051 * dia.desktop: added hungarian translations to dia.desktop
14053 2000-10-04 James Henstridge <james@daa.com.au>
14055 * sheets/UML.sheet: fix typo.
14057 * objects/custom/shape_info.c: use strtod instead of g_strtod.
14058 (parse_path): actually call setlocale around strtod calls.
14060 * lib/dia_xml.c: use strtod rather than g_strtod. We wrap each
14061 call in setlocale(LC_NUMERIC, "C"), so there is no reason to call
14062 the g_strtod wrapper.
14064 * shapes/SDL/: add SDL shapes from Rubens Ramos
14065 <rubens_ramos@yahoo.com>
14067 * acinclude.m4 (DIA_CHECK_CFLAG): fix up macro.
14069 * sheets/Makefile.am (SHEETS): add SDL.sheet to list.
14071 * shapes/MSE/: add Mobile Subscriber Equipment shapes from
14072 W. Michael Petullo <mike@flyn.org>.
14074 * sheets/Makefile.am (SHEETS): add civil.sheet (which got missed
14075 from the 0.86 tarball) and jigsaw.sheet.
14077 * configure.in: add shapes/jigsaw/Makefile to list of generated files.
14079 * shapes/jigsaw/: jigsaw shapes from Martin Hawlisch.
14081 * shapes/network/: add network-additional shapes here.
14083 * sheets/network.sheet: add the network-additional shapes from
14084 Martin Hawlisch <Martin.Hawlisch@bflow.com> to the main network
14087 2000-09-30 Fredrik Hallenberg <hallon@lysator.liu.se>
14089 * configure.in: Updated ALL_LINGUAS
14091 * po/nl.po: Removed newline from translation
14093 2000-09-17 Asbjorn Pettersen <asbjornP@dualog.no>
14095 * app/commands.c (help_about_callback): Use G_DIR_SEPARATOR_S in
14096 logo filename generation.
14098 * lib/dia_dirs.c (dia_get_data_directory): Handle empty subdir better.
14099 Avoiding "//dia_logo.png".
14101 2000-09-16 Asbjorn Pettersen <asbjornP@dualog.no>
14103 * app/filedlg.c: add include <sys/types.h> to
14104 remove warning. (OS/2)
14106 2000-09-13 Cyrille Chepelov <chepelov@calixo.net>
14108 * objects/chronogram/chronoline_event.c (reparse_clevent):
14109 the __checksum routine was simply bogus. Redone it in a slightly
14110 saner way (reported by Michael Farr <mfarr@cs.latrobe.edu.au>).
14112 2000-09-10 Asbjorn Pettersen <asbjornP@dualog.no>
14114 * app/create_object.c (create_object_button_press):
14115 * app/modify_tool.c (click_select_object):
14116 * lib/object.h: select renamed to selectf to prevent
14117 compiler problems with function select(). OS/2 version.
14119 2000-09-08 Karsten Weiss <knweiss@gmx.de>
14121 * po/de.po: Updated.
14123 2000-09-07 Karsten Weiss <knweiss@gmx.de>
14125 * dia.desktop: Added German translation
14126 * app/menus.c: "Diagram Propeties..." -> "Diagram Properties..."
14128 2000-08-29 Manuel de Vega Barreiro <barreiro@arrakis.es>
14130 * configure.in (ALL_LINGUAS): added "es"
14132 2000-08-28 Lars Clausen <lrclause@shasta.cs.uiuc.edu>
14137 * app/scroll_tool.c:
14138 Standardized cursor function get_cursor(). Magnify now has
14139 looking-glass cursor with + and -.
14141 * app/create_object.c (create_object_button_press):
14142 Newly created connections now snap to connection points even when
14145 2000-08-17 Daniel Egger <egger@suse.de>
14147 * app/menus.c: #ifdef'ed some code for the none GNOME
14149 * app/dia_embedd.c: Changed obvious hackery. Can anyone
14150 please have a look at the GNOME UI menu creation? The
14151 gnome-app-helper code is ages old and plainly broken!
14153 2000-08-15 Daniel Egger <egger@suse.de>
14160 * app/select.c: First big patch to get the menus
14161 working again in the international version. Copied
14162 some code written by Sven and me from GIMP and
14163 thus implemented automatic tearoffmenu creation and
14164 proper translation. I also removed that pseudo
14165 radiomenu hack and cleaned up several translation
14166 hacks which have never really worked. All in all
14167 this is part I of the big menu patch. Enjoy and tell
14168 me if you detect any problems.
14170 2000-08-14 Daniel Egger <egger@suse.de>
14172 * sheets/UML.sheet: Changed one German translation as
14173 suggested by Heribert Schuetz <hs@heribert-schuetz.de>.
14175 2000-08-10 Fredrik Hallenberg <hallon@lysator.liu.se>
14177 * app/diapagelayout.c:
14178 * lib/diagramdata.c:
14179 * lib/diagramdata.h:
14182 * lib/paper.h: honour PAPERCONF env variable and /etc/papersize when
14183 selecting paper size for a new diagram. TODO: Use libpaper if
14184 available and use gnome_paper-stuff if using GNOME.
14186 * sheets/Electric.sheet: fixed typo.
14188 2000-08-08 James Henstridge <james@daa.com.au>
14190 * po/README: added a readme file to tell translators to translate
14191 the .sheet files as well.
14193 * app/commands.c (help_about_callback): fix small bug where we tried
14194 to gdk_bitmap_unref() the mask for the about box image, even though
14195 it was NULL. Now check for a NULL mask.
14197 2000-08-07 Daniel Egger <egger@suse.de>
14199 * sheets/*.sheet: Added translations for the name
14200 in the toolbar tab. Brushed up some descriptions
14201 and some translations a bit.
14203 2000-08-06 James Henstridge <james@daa.com.au>
14205 * plug-ins/svg/render_svg.c (new_svg_renderer): update public
14206 identifier and dtd url for SVG output.
14207 (new_svg_renderer): fix the output of the viewBox output. The
14208 second two numbers are the width and height -- not the right
14209 and bottom sides of the box.
14211 * shapes/*/*.shape: update svg namespace URI.
14213 * objects/custom/shape_info.c (load_shape_info): change the
14214 namespace URI for custom shapes yet again to match the Candidate
14215 Recommedation. It looks like this one will probably be the final
14218 * app/display.c (new_display): remove the code that sets ic and
14219 ic_attr members to NULL, as one of the previous function calls
14220 causes the display to be realised. This means that the ic gets
14221 lost. Thanks to Yukihiro Nakai <ynakai@redhat.com> for finding
14224 2000-08-06 James Henstridge <james@daa.com.au>
14226 * shapes/Makefile.am (SUBDIRS): add Civil back to list.
14228 * NEWS: fixed date in NEWS file, as I will release today.
14230 * README: updated the README a little. Added note that Dia is now
14233 * dia.spec: fix up spec file.
14235 * plug-ins/wpg/wpg.c: changed DIAG_NOTE stuff here as well.
14237 * plug-ins/hpgl/hpgl.c: change Hans's DIAG_NOTE stuff so that we don't
14238 get heaps of warnings when you turn off debugging.
14239 Also made a few other warning fixes.
14241 2000-08-02 James Henstridge <james@daa.com.au>
14243 * plug-ins/svg/Makefile.am (INCLUDES): add XML_CFLAGS to INCLUDES.
14245 * configure.in: update version number.
14247 2000-08-01 James Henstridge <james@daa.com.au>
14249 * app/commands.c (help_about_callback): add Hans to about dialog.
14251 * doc/shape.dtd: dtd for shape file format.
14253 * doc/custom-shapes: update doc file about creating custom shapes.
14255 * shapes/*/*.shape: change namespace URI for the SVG portion to the
14256 one for the latest draft.
14258 * shapes/*/*.shape: fix up rect definitions.
14260 * objects/custom/shape_info.c (load_shape_info): recognise newer
14261 namespace tag for SVG.
14262 (parse_svg_node): the rect element should take attributes x, y, width
14263 and height -- not x1,y1,x2,y2.
14265 * plug-ins/svg/render_svg.c (new_svg_renderer): updated doctype
14266 output to use the newest draft DTD.
14268 * plug-ins/svg/svg.c: initialisation code for plugin.
14270 * plug-ins/svg/render_svg.c: move svg export code to a plugin.
14272 * plug-ins/svg/Makefile.am: makefile for svg plugin.
14274 * app/app_procs.c (internal_plugin_init): don't register the svg
14275 export filter here.
14277 * app/Makefile.am (dia_core_files): don't compile in render_svg.[ch]
14279 2000-07-31 James Henstridge <james@daa.com.au>
14281 * objects/standard/textobj.c (textobj_get_defaults):
14282 * objects/standard/polygon.c (polygon_get_defaults):
14283 * objects/standard/image.c (image_get_defaults):
14284 * objects/standard/ellipse.c (ellipse_get_defaults):
14285 * objects/standard/box.c (box_get_defaults):
14286 * objects/standard/beziergon.c (beziergon_get_defaults):
14287 * objects/flowchart/parallelogram.c (pgram_get_defaults):
14288 * objects/flowchart/ellipse.c (ellipse_get_defaults):
14289 * objects/flowchart/diamond.c (diamond_get_defaults):
14290 * objects/flowchart/box.c (box_get_defaults):
14291 * objects/custom/custom_object.c (custom_get_defaults):
14292 * objects/FS/flow.c (flow_get_defaults):
14293 * objects/FS/flow-poly.c (flow_get_defaults):
14294 * objects/FS/flow-ortho.c (orthflow_get_defaults): ref and sink the
14297 * app/defaults.c (defaults_show): don't keep on ref'ing the defaults
14298 widgets for various object types.
14299 (create_dialog): ref and sink the no_defaults_dialog.
14301 * app/preferences.c (prefs_create_dialog): change
14302 gtk_container_border_width call to gtk_container_set_border_width.
14304 2000-07-29 James Henstridge <james@daa.com.au>
14306 * app/commands.c (view_aa_callback): show a warning dialog if
14309 * app/interface.c (fill_sheet_menu): don't add a menu item for
14312 2000-07-26 James Henstridge <james@daa.com.au>
14314 * plug-ins/dxf/dxf-export.c: updates from Steffen to fix bug #18677
14316 * app/menus.c: remove edit grid menu item.
14318 * app/commands.[ch] (view_edit_grid_callback): removed.
14320 * app/display.c (new_display): don't initialise removed Grid members.
14322 * app/grid.c: remove unused functions.
14324 * app/grid.h: remove dialog related stuff from Grid structure.
14325 Remove prototypes for dialog functions.
14327 * app/menus.c: add to menus
14329 * app/commands.[ch] (view_diagram_properties_callback): new command
14330 for showing the diagram properties dialog.
14332 * app/dia-props.[ch]: a new diagram properties dialog. To replace
14333 the edit grid dialog.
14335 2000-07-25 James Henstridge <james@daa.com.au>
14337 * app/grid.c (grid_x_update):
14338 (grid_y_update): as the grid setting is stored with the diagram,
14339 update all displays when a change is made.
14341 * app/modify_tool.c (modify_motion): use new snap_to_grid sig.
14343 * app/create_object.c (create_object_button_press):
14344 (create_object_motion): use new snap_to_grid signature.
14346 * app/grid.c (grid_draw): use the grid settings in the DiagramData,
14347 and handle invisible grid lines.
14348 (snap_to_grid): use new grid settings. Also changed signature to
14349 take a DDisplay rather than Grid pointer.
14350 (grid_show_dialog): get the defaults from the correct place.
14352 * app/display.c (new_display): do not set ddisp->grid.width_[xy].
14354 * app/diagram.c (new_diagram): set the grid size defaults from the
14357 * app/load_save.c (diagram_data_save): save grid and guide info to
14359 (diagram_data_load): add guide and grid load support.
14361 * lib/diagramdata.c (new_diagram_data): set the new DiagramData
14364 * lib/diagramdata.h: add members to DiagramData for grid and guide
14367 * configure.in (BONOBO_LIBS): update configure scripts
14369 * app/dia.oafinfo: oafinfo file for dia embeddables.
14371 * app/dia_embedd.c: add OAF support.
14373 2000-07-24 James Henstridge <james@daa.com.au>
14375 * plug-ins/wpg/Makefile.am:
14376 * plug-ins/pstricks/Makefile.am:
14377 * plug-ins/hpgl/Makefile.am:
14378 * plug-ins/dxf/Makefile.am: same here.
14380 * plug-ins/cgm/Makefile.am: remove LIBADD. Dia already links with
14381 the required libraries, and the link line was causing libtool not
14382 to build a shared library on some systems :(
14384 * plug-ins/cgm/cgm.c (write_real): the initial if statement should
14385 be checking x, not n.
14387 2000-07-23 James Henstridge <james@daa.com.au>
14389 * app/preferences.c (prefs_data): set the "reset tools after
14390 create" preference to true by default. That seems to be what most
14393 * app/interface.c (create_sheets): instead of a notebook, use an
14394 option menu that updates the sheet tools. The notebook tabs were
14395 getting a bit unwieldly, so the option menu should fix that. This
14396 also reduces the number of widgets in the tools radio button
14397 group, which should make the UI a little more responsive.
14399 2000-07-19 Fatih Demir <kabalak@gmx.net>
14401 * configure.in: Added tr to ALL_LINGUAS.
14402 [ Yeah, we're now having a Turkish translation,
14405 * dia.desktop: Added the Turkish entries.
14407 2000-07-02 Fredrik Hallenberg <hallon@lysator.liu.se>
14409 * doc/diagram.dtd: changed string-element so it conforms to the
14412 2000-06-30 Fredrik Hallenberg <hallon@lysator.liu.se>
14414 * configure.in: added chinese.
14415 Use AM_PROG_LIBTOOL instead of AC_PROG_LIBTOOL.
14423 objects/custom/shape_info.c:
14424 shapes/Circuit/npn.shape:
14425 shapes/Circuit/pnp.shape:
14426 sheets/*.sheet: dia now works with libxml2.
14427 Libxml2 is a bit more picky when parsing xml and reported errors on all
14428 sheet files because they use non ascii characters (added
14429 encoding="iso-8859-1"). Also "xml:lang=en@layman" is not proper xml so
14430 I commented out these.
14432 2000-06-30 Christopher R. Gabriel <cgabriel@linux.it>
14434 * configure.in (ALL_LINGUAS): added Italian
14436 2000-06-27 Sung-Hyun Nam <namsh@lgic.co.kr>
14438 * configure.in (ALL_LINGUAS): added Korean
14440 2000-06-25 James Henstridge <james@daa.com.au>
14442 * objects/flowchart/parallelogram.c (pgram_create): use default font
14443 and add properties interface support.
14445 * objects/flowchart/ellipse.c (ellipse_create): use default font and
14446 add properties interface support.
14448 * objects/flowchart/diamond.c (diamond_create): use default font and
14449 add properties interface code.
14451 * objects/flowchart/box.c (box_create): use default font.
14453 * objects/custom/custom_object.c (custom_create): use default font
14456 * objects/standard/textobj.c (textobj_create): update to use default
14459 * lib/attributes.c: add implementations.
14461 * lib/attributes.h (attributes_[gs]et_default_font): add function
14462 prototypes for setting/getting a default font.
14464 2000-06-24 James Henstridge <james@daa.com.au>
14466 * app/paginate_gnomeprint.h: updated prototype.
14468 * app/paginate_gnomeprint.c (paginate_gnomeprint): update to use
14469 diagram page settings.
14471 * objects/standard/beziergon.c (beziergon_copy): same here.
14473 * objects/standard/polygon.c (polygon_copy): copy the fill colour
14477 * app/tool.h (tool_options_dialog_show):
14478 * app/scroll_tool.h (free_scroll_tool):
14479 * app/render_svg.h:
14480 * app/render_libart.h (renderer_libart_copy_to_window):
14481 * app/render_gdk.h (renderer_gdk_copy_to_window):
14482 * app/properties.h (properties_hide_if_shown):
14483 * app/preferences.h (prefs_load):
14484 * app/object_ops.h:
14485 * app/modify_tool.h (free_modify_tool):
14486 * app/magnify.h (free_magnify_tool):
14487 * app/linewidth_area.h (linewidth_area_create):
14488 * app/layer_dialog.h:
14489 * app/handle_ops.h (handle_is_clicked):
14491 * app/grid.h (grid_destroy_dialog):
14492 * app/defaults.h (defaults_show):
14493 * app/cut_n_paste.h (cnp_exist_stored_objects):
14494 * app/create_object.h (free_create_object_tool):
14495 * app/connectionpoint_ops.h (diagram_unconnect_selected):
14497 * app/color_area.h (color_area_create):
14498 * app/app_procs.h (app_is_embedded): remove extern keyword from
14499 function prototypes.
14502 * lib/sheet.h (load_all_sheets):
14503 * lib/render_store.h:
14504 * lib/render_object.h (render_object_load):
14505 * lib/polyshape.h (polyshape_closest_segment):
14506 * lib/poly_conn.h (polyconn_closest_segment):
14509 * lib/objchange.h (new_object_state_change):
14510 * lib/neworth_conn.h (neworthconn_add_segment):
14511 * lib/message.h (message_error):
14514 * lib/font.h (font_descent):
14515 * lib/focus.h (remove_focus):
14517 * lib/diagramdata.h:
14518 * lib/dia_xml.h (data_add_composite):
14520 * lib/connpoint_line.h:
14521 * lib/connection.h (connection_move_handle):
14523 * lib/attributes.h (attributes_set_default_line_style):
14524 * lib/arrows.h (arrow_draw): remove extern keyword from function
14525 definitions. It is not required for functions.
14527 * plug-ins/dxf/Makefile.am (INCLUDES):
14528 * plug-ins/pstricks/Makefile.am (INCLUDES):
14529 * plug-ins/cgm/Makefile.am (INCLUDES):
14530 * objects/SADT/Makefile.am (INCLUDES):
14531 * objects/chronogram/Makefile.am (INCLUDES):
14532 * objects/GRAFCET/Makefile.am (INCLUDES):
14533 * objects/flowchart/Makefile.am (INCLUDES):
14534 * objects/sybase/Makefile.am (INCLUDES):
14535 * objects/FS/Makefile.am (INCLUDES):
14536 * objects/standard/Makefile.am (INCLUDES):
14537 * objects/network/Makefile.am (INCLUDES):
14538 * objects/UML/Makefile.am (INCLUDES): same here.
14540 * objects/ER/Makefile.am: changed inclusion of some macros to
14543 * lib/plug-ins.c (dia_register_plugins_in_dir): use a few defines to
14544 handle the plug in extension, rather than have all the #ifdef's in
14547 * plug-ins/Makefile.am: add renderer.inc to dist.
14549 * plug-ins/dxf/dxf-import.c: Updates from Steffen Macke.
14551 2000-06-11 Asbjorn Pettersen <asbjornP@dualog.no>
14553 * lib/plug-ins.c: Handle OS/2 dll's too.
14555 2000-06-07 James Henstridge <james@daa.com.au>
14557 * app/plugin-manager.c (get_plugin_manager): set some table
14558 packing options to make it look a little nicer.
14560 * plug-ins/hpgl/Makefile.am, plug-ins/wpg/Makefile.am: added
14561 makefiles for these plug-ins.
14563 * plug-ins/{hpgl,wmf,wpg}/*: removed dos style cariage returns.
14565 * configure.in: added hpgl and wpg directories to build. Added
14566 note about whether gnome-print support was enabled, and noted that
14567 it is not recommended.
14569 2000-06-06 James Henstridge <james@daa.com.au>
14571 * plug-ins/{hpgl,wmf,wpg}/*: Hans Breuer's plug-ins. They still need
14572 a little work, but I am checking them in so I don't lose them.
14574 2000-06-01 James Henstridge <james@daa.com.au>
14576 * objects/standard/arc.c: added extra properties.
14578 * lib/beziershape.c (beziershape_closest_handle): fix a bug where I
14579 was using the wrong index into the handles array. This gets corner
14580 type changing working correctly.
14582 * lib/properties.[ch]: add support for BezPoint's and BezPoint arrays
14583 to properties code (no editing or loading yet though). Also added
14584 support for point array manipulation through the offsets interfaces.
14586 * lib/Makefile.am (INCLUDES): added include of gdk-pixbuf
14588 * app/interface.c (origin_button_press): changes so the origin
14589 button doesn't grab the pointer when we pop up the menu.
14591 * app/commands.c (help_about_callback): fix small memory leak in
14594 * app/menus.c (menus_init): fixed breakage I introduced in the non
14595 gnome menus when I was doing the menu changes. The tearoffs work
14596 really nicely in plain gtk mode as well.
14598 * objects/standard/beziergon.c (beziergon_create): changed the
14599 returned handles to match the handle numbering changes. Now
14600 segment addition and removal works correctly with undo!
14602 * lib/beziershape.c: various changes to the code. Changed the
14603 numbering of handles, and fixed the segment removal code.
14605 2000-05-31 James Henstridge <james@daa.com.au>
14607 * objects/standard/beziergon.c: remove connection point handling.
14608 There is still a bit of work to be done to get adding and removing
14609 of segments working correctly.
14611 * lib/beziershape.c: add connection point handling to beziershape.
14612 I set it for two connection points per segment.
14614 2000-05-30 James Henstridge <james@daa.com.au>
14616 * objects/standard/polygon.c: don't do connectionpoint handling.
14618 * lib/polyshape.c: changed to handle connection points internally.
14619 Also, don't worry about connections to handles on polyshape, as
14620 all handles are non connectable.
14622 2000-05-30 Ville Hautamaki <villeh@cs.joensuu.fi>
14624 * configure.in: Added finnish
14626 2000-05-30 James Henstridge <james@daa.com.au>
14628 * sheets/*.sheet: translation updates to the .sheet files.
14630 * po/fr.po: updated po file from Christophe Merlet.
14632 * menus.h: removed prototypes for functions which have been removed.
14634 2000-05-29 James Henstridge <james@daa.com.au>
14636 * app/layer_dialog.c (layer_dialog_set_diagram): set the selected
14637 item in the option menu when changing selected diagram.
14639 * app/dia_embedd.c (view_factory): fix up function to work with new
14642 * app/disp_callbacks.c (ddisplay_realize): remove call to
14643 display_set_active from here.
14644 (ddisplay_canvas_events): move call here. This gets rid of all the
14645 warnings, as the renderer has been fully set up correctly at this
14648 * app/menus.c (menus_init): add the tearoff item to the start of the
14651 * app/app_procs.c (create_user_dirs): we don't need to create the
14652 menus directory anymore.
14654 * app/disp_callbacks.c (ddisplay_popup_menu): it should not be
14655 necessary to update the menu state here, as it was done when the
14656 active display was set.
14658 * app/display.c (display_set_active): update the menu state when
14659 changing active displays.
14661 * app/interface.c (origin_button_press): set the display as active
14662 when a click is made on the menu button.
14664 * app/menus.c (menus_init): set up a quit function to save the accels
14666 Add tearoff items for the non GNOME menus, add accelerators for
14667 several GNOME menus.
14669 * app/disp_callbacks.c (ddisplay_popup_menu): get the menu with
14670 menus_get_image_menu().
14672 * app/menus.c (menus_get_item_from_path): use display_menus here
14673 rather than ddisp->popup.
14675 * app/display.h: remove the popup member in the DDisplay structure.
14677 * app/interface.c: remove option of not using wrap box.
14678 (create_toolbox): change to always use menus_get_toolbox_menubar
14679 even when using gnome menus.
14680 (create_display_shell): use menus_get_image_menu to load accelerators
14681 only -- not the actual popup menu.
14683 * app/menus.c (menus_init): new function to create the menus.
14684 (menus_get_toolbox_menubar): use this function whether gnome is
14685 in use or not. Changed to use menus_init.
14686 (menus_get_image_menu): same here. Also, now this function always
14687 returns the same menu, rather than a new one each time.
14688 (menus_init): read a menurc file to load accelerators here.
14690 2000-05-28 James Henstridge <james@daa.com.au>
14692 * app/display.c (ddisplay_really_destroy): unset active display if
14693 active display is destroyed.
14694 (ddisplay_active): simplify function to return active_display as set
14695 by display_set_active. This allows using a pinned menu with any
14696 display -- not just the one it was popped up from.
14697 (display_set_active): notify the layer dialog of change of diagrams
14698 when active diagram changes.
14700 * app/disp_callbacks.c (ddisplay_canvas_events): set active display
14701 on button and key presses.
14702 (ddisplay_realize): set active display on realize.
14704 * app/display.c (display_set_active): simple implementation of this
14707 * app/display.h (display_set_active): add prototype for setting
14708 the active display.
14710 * app/interface.c (create_display_shell): don't give focus to the
14713 * app/menus.c: fix up menus for Beziergon.
14715 * app/interface.c (create_display_shell): make the widget in the
14716 top left corner a button that can be used to pop up the right click
14717 menu, like in gimp and sketch.
14719 * app/disp_callbacks.c (ddisplay_popup_menu): new function to popup
14722 * objects/standard/beziergon.c (beziergon_set_corner_type_callback):
14723 add code to set corner types for beziergon.
14725 * lib/beziershape.c (beziershape_set_corner_type): fix up corner type
14727 (beziershape_move_handle): use the previous corner type for right
14730 * app/interface.c (tool_data): add beziergon to toolbox.
14732 * objects/standard/standard.c (dia_plugin_init): initialise the new
14733 Beziergon object type.
14735 * objects/standard/beziergon.c: an object based on BezierShape.
14737 * lib/dummy_dep.h (dummy_dep): added to dummy_dep.
14739 * lib/beziershape.[ch]: new files implementing a bezier shape.
14741 2000-05-26 James Henstridge <james@daa.com.au>
14743 * lib/text.c (text_key_event): handle multibyte inserts.
14744 (text_key_event): also add home and end keybindings.
14746 * app/interface.c (create_display_shell): connect handlers for
14747 focus_in_event, focus_out_event, realize and unrealize signals.
14749 * app/display.[ch] (new_display): initialise input context members.
14751 * app/disp_callbacks.[ch]: added XIM support here.
14753 * lib/font.c (suck_font): the black and white pixel values should be
14754 taken from a 1 bit colormap rather than the default colormap.
14756 Hans Breuer's Windows patches ...
14758 * lib/font.c: use Courier New for fixed width font on windows
14761 * lib/dia_image.h: change to "struct _DiaImage".
14763 * lib/dia_image.c: change "struct DiaImage" to "struct _DiaImage"
14765 * app/disp_callbacks.c (ddisplay_canvas_events): allow ctrl+right
14766 mouse button for object menu. This will make two button mouse owners
14769 2000-05-25 James Henstridge <james@daa.com.au>
14771 * app/filedlg.c (file_open_ok_callback): use diagram_load here.
14773 * app/app_procs.c (app_init): add extra NULL argument to call of
14776 * app/load_save.h: remove prototype.
14778 * app/load_save.c: remove diagram_data function here.
14780 * app/diagram.h: added prototype.
14782 * app/diagram.c (diagram_load): new function here, which uses import
14785 * plug-ins/dxf/dxf.c: register the import filter as well.
14787 * plug-ins/dxf/dxf-import.c: added (unfinished) DXF import filter from
14788 Steffen Macke <macke@heini.fbbwu.fh-lueneburg.de>
14790 * objects/standard/line.c: add start_point and end_point properties
14791 to standard line object.
14793 2000-05-21 James Henstridge <james@daa.com.au>
14795 * app/paginate_psprint.c: added missing include of locale.h.
14797 * objects/custom/custom_object.c (custom_draw): use fabs rather than
14798 abs for scaling factors.
14799 (custom_distance_from): same here.
14801 * dia.spec: make sure rpm doesn't bomb out when LINGUAS isn't set.
14803 2000-05-18 James Henstridge <james@daa.com.au>
14805 * po/POTFILES.in: updated POTFILES.in.
14807 * dia.spec: incremented version number in spec file.
14809 * NEWS: added (lots of) news items for the 0.85 release.
14811 * app/preferences.c (prefs_save): set LC_NUMERIC to C while writing
14814 * configure.in: updated version number here.
14816 * app/Makefile.am (run_dia.sh): include plug-ins in the lib path.
14818 2000-05-17 James Henstridge <james@daa.com.au>
14820 * app/app_procs.c (internal_plugin_init): register the native import
14823 * app/load_save.c (diagram_data_load, diagram_load): split this
14824 function into two -- one that does all the work on the DiagramData
14825 structure, and the other that provides compatibility with the old
14827 (dia_import_filter): use diagram_data_load to define an import
14830 * app/diagram.h (new_diagram): added const to prototype.
14832 * app/filedlg.c (file_open_callback): change to use new import filter
14835 * lib/filter.c: added import filter management functions.
14837 * lib/filter.h: added prototypes for import filter interface.
14839 * app/commands.c (help_about_callback): updated about dialog to
14840 contain a few more names.
14842 2000-05-16 James Henstridge <james@daa.com.au>
14844 * configure.in (Configuration): added a status message to the end of
14845 the configure script to give the user some idea of what was
14848 * plug-ins/dxf/Makefile.am: Makefile for new plugin.
14850 * plug-ins/dxf/dxf.c (dia_plugin_init): added file to initialise the
14853 * plug-ins/dxf/dxf-export.c: new file -- Steffen Macke's DXF export
14856 * configure.in (AM_PATH_LIBART): use the check function provided
14857 with libart rather than our own code. It is more reliable, and
14858 it only requires that people who build out of CVS have libart.m4
14859 installed (not necessarily all of libart).
14860 (AM_PATH_GDK_PIXBUF): same here for gdk-pixbuf.
14862 2000-05-12 Andreas Hyden <a.hyden@cyberpoint.se>
14864 * dia.desktop: Added Swedish translation.
14866 2000-05-09 James Henstridge <james@daa.com.au>
14868 * lib/dia_xml.c: you can't free a const pointer, so remove const
14869 from variable definitions.
14871 Explicitely set LC_NUMERIC where needed, as sometimes it isn't
14872 initialised correctly.
14874 * app/render_svg.c (export_svg): set locale to C.
14876 * app/paginate_psprint.c (paginate_psprint): set locale to C.
14878 * app/render_eps.c (export_eps): set locale to C for EPS export.
14880 * lib/dia_xml.c (data_add_real): change to C locale for snprintf call.
14881 (data_add_point): same here.
14882 (data_add_rectangle): same here.
14883 (data_real): use g_strtod to convert strings to real numbers, so that
14884 locales are taken into account.
14885 (data_point): same here.
14886 (data_rectangle): same here.
14888 * AUTHORS: added Henk and Jacek to authors file.
14890 Daniel Egger's code cleanups.
14892 * app/select.c (select_invert_callback): remove unused variable.
14894 * app/plugin-manager.c (get_plugin_manager): fix typo.
14896 * app/load_save.c (read_connections, write_objects):
14897 (write_connections): made some functions static.
14899 * app/interface.c (toolbox_delete, toolbox_destroy): made some
14902 * app/filedlg.c (file_export_callback): remove unused variable.
14904 * app/app_procs.c: various warning fixes.
14906 Integrating Jacek Pliszka's pstricks export filter.
14908 * plug-ins/pstricks/pstricks.c: code to initialise the plugin.
14910 * plug-ins/pstricks/render_pstricks.[ch]: Jacek Pliszka's pstricks
14911 renderer (with a few small modifications by me).
14913 * plug-ins/pstricks/Makefile.am: new makefile for pstricks plug-in.
14915 * plug-ins/Makefile.am (SUBDIRS): add pstricks subdirectory.
14917 2000-05-07 Alexander Larsson <alla@lysator.liu.se>
14920 * sheets/Makefile.am:
14921 * shapes/Makefile.am:
14922 * shapes/Civil/Makefile.am:
14923 * sheets/civil.sheet:
14925 Added civil/hydraulic/structural engineering objects from
14926 sdteffen <macke@heini.fbbwu.fh-lueneburg.de>.
14928 2000-05-07 Alexander Larsson <alla@lysator.liu.se>
14930 * objects/FS/flow-poly.c:
14931 * objects/FS/flow.c:
14932 Fix division by zero in point_normalize().
14933 Patch by David Thompson <dcthomp@mail.utexas.edu>
14935 2000-04-27 Lars Clausen <lrclause@cs.uiuc.edu>
14938 * lib/bezier_conn.c:
14939 * lib/connpoint_line.c:
14940 Added checks for zero-length lines before calls to point_normalize.
14942 2000-04-24 Lars Clausen <lrclause@shasta.cs.uiuc.edu>
14944 * app/preferences.c (prefs_data): Changed
14945 reversed_dragging_intersects to not make the dialog ridiculously
14948 2000-04-22 James Henstridge <james@daa.com.au>
14950 Hans's win32 patches:
14952 * app/export_png.c: include message.h
14953 * app/interface.c: include dia_dirs.h
14954 * app/linewidth_area.c: check for rint
14955 * app/main.c: include interface.h
14956 * app/paginate_psprint.c: remove unused variable.
14957 * app/preferences.c: include message.h
14958 * app/render_svg.c: include stdlib.h
14959 * app/select.c: include object_ops.h
14960 * lib/dia_dirs.c: miscelaneous fixes for win32.
14961 * lib/dia_image.c: include string.h
14962 * lib/plug-ins.c: look for .dll files rather than .la files on win32.
14963 * lib/properties.c: include stdlib.h
14964 * lib/properties.h: define extra data for standard properties as
14965 static variables on win32 (to get around dynamic linker problems).
14966 * objects/standard/polygon.c: polygon_create_change missing return
14969 2000-04-18 Pablo Saratxaga <pablo@mandrakesoft.com>
14971 * configure.in (ALL_LINGUAS): added Catalan
14973 2000-04-18 James Henstridge <james@daa.com.au>
14975 * objects/standard/bezier.c (bezierline_get_object_menu): add a
14976 separator to the object menu between the add/remove segment items
14977 and the corner type items.
14978 (bezierline_get_object_menu): add code to disable the menu item for
14979 the current corner type. Really just a cosmetic change.
14981 * app/disp_callbacks.c (create_object_menu): handle DiaMenuItems with
14982 a NULL for the label or with no associated callback.
14984 * objects/standard/bezier.c (bezierline_menu_items): use the
14985 enumeration values rather than numeric values for the corner types.
14987 * lib/bezier_conn.[ch]: added a corner_types member to the BezierConn
14988 structure, and add code to handle it. Also, don't save the corner
14989 types inline in the bez_points node. The way it is conditionally
14990 including the element just feels like it will break.
14992 * lib/geometry.h (BezPoint): removed the corner_type stuff from
14993 BezPoint. The corner type stuff is a user interface level idea rather
14994 than something required by the renderer, so should be taken care of
14995 at the object level.
14997 2000-04-17 Lars Clausen <lrclause@shasta.cs.uiuc.edu>
14999 * configure.in: Fixed some problems with the gdk-pixbuf/imlib
15000 checks. Weren't able to reproduce original bug, tough.
15002 2000-04-16 Cyrille Chepelov <chepelov@calixo.net>
15004 * sheets/Electric.sheet:
15005 * sheets/Contact.sheet:
15006 * sheets/Pneumatic.sheet:
15007 * sheets/Circuit.sheet: sprayed some <br/>'s around.
15008 (added a few French translations in the last file)
15010 2000-04-16 Lars Clausen <lrclause@shasta.cs.uiuc.edu>
15013 * lib/bezier_conn.h:
15014 * objects/standard/bezier.c:
15015 * lib/bezier_conn.c: Support for cuspy, smooth and symmetric
15016 bezier points. Only one minor problem known: Menus are active
15017 for endpoints minor handles.
15018 11:28: Save and load now works, too.
15019 (bezierconn_closest_major_handle): 12:03: New function to get the
15020 non-control point handle associated with the nearest control
15022 Also fixed the menu activation problem, and made remove_segment
15023 not remove the endpoint.
15025 2000-04-15 Lars Clausen <lrclause@shasta.cs.uiuc.edu>
15027 * configure.in: Added check for gdk-pixbuf being >= 0.7.0 since
15030 2000-04-15 Asbjorn Pettersen <asbjornP@dualog.no>
15032 * lib/plug-ins.c: Added <sys/types.h> and moved <fcntl.h> below
15033 <sys/stat.h>. OS/2 patch.
15035 2000-04-15 James Henstridge <james@daa.com.au>
15037 * objects/FS/flow-ortho.c, objects/FS/function.c: Applied David
15038 Thompson's patch that adds undo support to the function structure
15041 2000-04-14 James Henstridge <james@daa.com.au>
15043 * objects/custom/custom_object.c (custom_distance_from): new
15044 implementation of distance algorithm that actually takes the
15045 display list into account when calculating the distance. Much nicer
15046 than a simple bounding box.
15048 2000-04-13 Lars Clausen <lrclause@cs.uiuc.edu>>
15050 * lib/geometry.c (line_crosses_ray): Fixed division by zero bug
15052 2000-04-12 Lars Clausen <lrclause@shasta.cs.uiuc.edu>
15054 * objects/standard/polygon.c: Start of polygons own changes (for
15055 connectionpoints). Need to do seperate changes in polyshape, too,
15056 rather than reuse the bezier changes.
15058 2000-04-13 James Henstridge <james@daa.com.au>
15060 * lib/dia_image.c (dia_image_draw): use the new enumeration values
15061 from after the gdk-pixbuf cleanup.
15063 * lib/geometry.c (bez_point_distance_and_ray_crosses): fix up limit
15064 on for loop. Last set of coefficients were not beeing calculated,
15065 which caused a bit of breakage.
15067 * lib/bezier_conn.c (bezierconn_closest_segment): use the new
15068 functions in geometry.c for calculating the closest segment.
15069 (bezierconn_distance_from): use distance_bez_line_point to calculate
15072 * lib/geometry.c (distance_bez_line_point): new function to calculate
15073 the distance from an open bezier line to a point.
15074 (distance_bez_shape_point): new function to calculate the distance
15075 from a closed bezier shape.
15076 (distance_ellipse_point): new function to calculate the distance from
15077 a filled ellipse to a point.
15079 * lib/geometry.h (BezPoint): moved this structure here from render.h
15081 2000-04-12 James Henstridge <james@daa.com.au>
15083 * lib/geometry.c (distance_bez_seg_point): new function to calculate
15084 the distance from a bezier segment.
15086 * lib/polyshape.c (polyshape_distance_from): use distance_polygon_point
15087 to calculate the distance from the object.
15089 * lib/geometry.c (distance_polygon_point): function for calculating
15090 the distance from a polygon to a point.
15092 2000-04-12 Cyrille Chepelov <chepelov@calixo.net>
15095 * lib/sheet.[ch]: added a <br/> tag in sheet files, so that line
15096 breaks can be inserted in the tool box.
15098 * doc/sheet.dtd: updated the DTD
15099 * sheets/GRAFCET.sheet: tried <br/> on that sheet (more to come).
15101 2000-04-12 James Henstridge <james@daa.com.au>
15103 * app/plugin-manager.c (get_plugin_manager): use the GTK_DIALOG
15104 macro if the dialog is a GtkDialog :(
15106 2000-04-11 Lars Clausen <lrclause@shasta.cs.uiuc.edu>
15108 * objects/standard/polygon.c: Connectionpoints now properly
15109 managed in a GList. As far as I can tell, this will not dieturb
15110 the order (but I have the nagging doubt...)
15112 * lib/polyshape.c: No longer knows about connectionpoints.
15114 2000-04-11 James Henstridge <james@daa.com.au>
15116 * app/Makefile.am: fix makefile for bonobo build.
15118 * configure.in: fix checks for bonobo.
15120 * app/menus.c: added entries for the plugin manager.
15122 * app/Makefile.am (dia_core_files): added plugin manager to files
15125 * app/plugin-manager.[ch]: the plugin manager dialog.
15127 * app/display.c (display_update_menu_state): set the antialiased
15128 menu entry to the correct value.
15130 2000-04-11 Cyrille Chepelov <chepelov@calixo.net>
15132 * objects/custom/custom_object.c: not all renderers like ellipses with
15133 negative dimensions. This could cause ellipses to disappear when using
15134 the flip_h and flip_v functions.
15136 * samples/grafcet.dia: fixed speling and correctness.
15138 2000-04-11 James Henstridge <james@daa.com.au>
15140 * lib/plug-ins.[ch]: added more accessors for use by a plugins dialog.
15141 exposed the dia_plugin_load and dia_plugin_unload functions.
15143 * lib/plug-ins.c (plugin_load): change plugin_load to work on an
15144 already created PluginInfo structure.
15146 * app/app_procs.c (app_exit): call dia_pluginrc_write() to write
15149 * lib/sheet.c: fix up call to dia_config_filename.
15151 * lib/plug-ins.[ch]: started writing code for handling a pluginrc
15152 file. This would save information such as which plugins not to
15153 load during startup.
15155 2000-04-09 James Henstridge <james@daa.com.au>
15157 * lib/sheet.c: use dia_config_filename to resolve file in ~/.dia.
15159 2000-04-10 Alexander Larsson <alla@lysator.liu.se>
15161 * lib/plug-ins.c (dia_register_plugins):
15162 Don't free the value returned from g_getenv.
15164 2000-04-09 Anders Carlsson <andersca@gnu.org>
15166 * app/preferences.h: Add reverse_rubberbanding_intersects preference variable.
15168 * app/preferences.c (prefs_data): Add reverse_rubberbanding_intersects preference data.
15170 * app/modify_tool.c (modify_button_release): If rubberbanding is done from
15171 right to left, select objects that intersect the rubberbanding rectangle
15172 instead of selecting objects that are in the rectangle.
15174 * lib/diagramdata.c (layer_find_objects_intersecting_rectangle): Add function.
15176 * lib/diagramdata.h: Likewise.
15179 2000-04-09 James Henstridge <james@daa.com.au>
15181 * lib/plug-ins.[ch]: add copyright messages to files.
15183 * plug-ins/cgm/cgm.c (dia_plugin_init): convert plugin over to new
15186 * objects/sybase/sybase.c (dia_plugin_init):
15187 * objects/network/network.c (dia_plugin_init):
15188 * objects/flowchart/flowchart.c (dia_plugin_init):
15189 * objects/custom/custom.c (dia_plugin_init):
15190 * objects/chronogram/chronogram.c (dia_plugin_init):
15191 * objects/UML/uml.c (dia_plugin_init):
15192 * objects/SADT/sadt.c (dia_plugin_init):
15193 * objects/GRAFCET/grafcet.c (dia_plugin_init):
15194 * objects/FS/fs.c (dia_plugin_init):
15195 * objects/ER/er.c (dia_plugin_init): updated plugin load code for
15198 * objects/standard/standard.c (dia_plugin_init): change over to new
15201 * lib/plug-ins.h (DIA_PLUGIN_CHECK_INIT): added a macro to define
15202 the version checker for plugins.
15204 * app/app_procs.c: remove plugin loading code from here, and use
15205 code from plug-ins.[ch]. Also move registration of internal
15206 objects/filters to a `builtin' plugin.
15208 * lib/Makefile.am (libdia_a_SOURCES): added plug-ins.[ch] to library.
15210 * configure.in: use AC_PROG_LIBTOOL rather than AM_PROG_LIBTOOL.
15212 * app/Makefile.am (EXTRA_DIST): you can't include a conditionally
15213 defined variable in EXTRA_DIST.
15215 * app/preferences.h: removed dia_config_filename from header.
15217 * app/preferences.c: removed dia_config_filename function.
15219 * lib/dia_dirs.c (dia_config_filename): moved function over to this
15220 file. Also changed implementation slightly so that it should work
15221 on the win32 port correctly (and use NT home directories).
15223 * lib/dia_dirs.h (dia_config_filename): move dia_config_filename where
15224 it should have been.
15226 * lib/plug-ins.[ch]: new plugin loading code.
15228 2000-04-08 Lars Clausen <lrclause@shasta.cs.uiuc.edu>
15230 * objects/standard/polygon.c: Fixed startup crash bug (do'h!).
15232 * lib/polyshape.c: Fix closest segment finding, exposes deeper
15233 bugs in adding corners to 'wraparound' segment.
15235 * objects/standard/polygon.c: Added connection points (fixed so
15236 far), set menu sensitivity.
15238 * lib/polyshape.c: Changed to box-style handles, fixed for start
15239 and ends not being special, added initial connections,
15241 * lib/dummy_dep.h: Added polyshape (gotcha!)
15243 * objects/standard/pixmaps/ellipse.xpm:
15244 * objects/standard/pixmaps/box.xpm:
15245 Filled element pixmaps with white.
15248 * objects/standard/polygon.c:
15250 * objects/standard/standard.c:
15251 * objects/standard/Makefile.am (libstandard_objects_la_SOURCES):
15252 * lib/Makefile.am (libdia_a_SOURCES):
15254 * app/interface.c (tool_data):
15255 Added Standard/Polygon object and PolyShape lib object. Still
15256 needs inside grab and connection points.
15258 * app/commands.c (help_about_callback): Now uses gdk-pixbuf if
15261 * configure.in: Made imlib a fallback if gdk-pixbuf is absent or
15264 * app/app_procs.c (app_init): Moved gtk_init outside #ifdef, moved
15265 if (argv) outside ifdefs.
15267 2000-04-04 Lars Clausen <lrclause@shasta.cs.uiuc.edu>
15269 * objects/standard/image.c (image_set_props):
15270 Aspect ratio is back in town.
15272 * app/Makefile.am (dia_LDADD):
15275 Check for gdk_pixbuf (by default disabled, for now)
15277 * app/render_eps.c (draw_image):
15278 * app/render_libart.c (draw_image):
15279 * app/render_gnomeprint.c (draw_image):
15280 Support for alpha mask in rendering. Color postscript, too.
15284 Support for gdk_pixbuf and proper masking for exports.
15286 2000-04-01 Kjartan Maraas <kmaraas@online.no>
15288 * sheets/*.sheets: Updated Norwegian translations.
15290 2000-03-30 Lars Clausen <lrclause@shasta.cs.uiuc.edu>
15292 * lib/text.c (text_insert_char):
15293 * lib/render_store.c (add_data):
15294 Made realloc double the alloced space rather than add
15295 a fixed amount, to reduce memory stress.
15297 * app/select.c: Added new select method 'Transitive'
15298 that select every reachable (by connections) object.
15300 2000-03-27 Kjartan Maraas <kmaraas@online.no>
15302 * dia.desktop: Added Norwegian translation.
15304 2000-03-26 Alexander Larsson <alla@lysator.liu.se>
15306 * app/render_eps.c:
15307 * app/render_svg.c:
15308 Don't dereference NULL pointer if the renderer
15309 couldn't open the file. Fix by Lars Clausen.
15310 Bug reported by Martin Chisholm <b1mt@unb.ca>
15312 2000-03-26 Alexander Larsson <alla@lysator.liu.se>
15316 Updated pt translation from Pedro Morais <pmmm@rnl.ist.utl.pt>
15318 2000-03-25 Alexander Larsson <alla@lysator.liu.se>
15320 * app/dia.gnorba (location_info):
15321 Changed to correct executable name.
15323 2000-03-25 Alexander Larsson <alla@lysator.liu.se>
15326 Don't do any argument parsing or initialization
15329 * app/dia_embedd.c:
15330 Call init_server_factroy before app_init.
15331 Call app_init with argv==NULL
15332 Now we don't get any critical error on startup.
15335 Add Electric and Pneumatic to makefile list.
15337 2000-03-24 Cyrille Chepelov <chepelov@calixo.net>
15339 * shapes/Electric/*:
15340 * sheets/Electric.sheet:
15341 Add some Electric circuit shapes.
15343 * shapes/Pneumatic/*:
15344 * sheets/Pneumatic.sheet:
15345 Add some Pneumatic & Hydraulic circuit shapes
15346 (both sheets are still incomplete, though feature enough
15347 things for basic circuits).
15349 * shapes/Contact/l_*.(xpm|shape):
15350 * sheets/Contact.sheet
15351 * shapes/Contact/Makefile.am
15352 made the older electric circuit shapes in Contact obsolete (disabled
15353 them in the sheet, made that sheet Ladder only). Fixed the makefile
15354 for forgotten items.
15356 2000-03-24 Alexander Larsson <alla@lysator.liu.se>
15359 Add support for Dia bonobo component.
15360 Currently a bit raw, so it's commented out.
15362 * app/dia_embedd.c:
15364 New files for embedding dia.
15365 The menu disabling hack is a bit gross. Esp. for GNOME.
15368 Add new function app_is_embedded();
15371 Don't destroy diagram when last display is destroyed if embedded.
15374 Change initialization of display so it works with embedding.
15377 Clarify comment about display destruction.
15379 * app/interface.[ch]:
15380 Added top_level_window argument to create_display_shell.
15381 Don't open a top-level window if embedding.
15382 Don't quit app if trying to close toolbox window when embedding.
15383 Add toolbox_show() and toolbox_hide().
15386 Added app_is_embedded() function (just returns false).
15387 Added toolbox_show() call in main().
15390 Added code for getting toolbox menus. This is used to
15391 hide some menu items when running embedded.
15394 Include sheet.h to remove warning.
15396 * objects/UML/association.c:
15397 Clarify association direction text.
15399 2000-03-16 Fredrik Hallenberg <hallon@lysator.liu.se>
15402 Fixed man page so whatis parsing works.
15404 2000-03-12 Alexander Larsson <alla@lysator.liu.se>
15406 * app/render_libart.c (new_libart_renderer):
15407 Fix from segg <segg@infonet.ca> to compile without libart.
15408 I forgot to change the stub for new_libart_renderer when doing
15409 the interactive renderer stuff for libart.
15411 2000-03-11 Alastair McKinstry <mckinstry@computer.org>
15413 * dia.desktop: Added Irish translation.
15415 * configure.in (ALL_LINGUAS): Added Irish (ga) translation.
15417 2000-03-07 Asbjorn Pettersen <asbjornP@dualog.no>
15419 * app/load_save.c (fchmod): OS/2 defines only.
15421 2000-03-07 James Henstridge <james@daa.com.au>
15423 * lib/properties.c (prop_get_widget): set the position in the option
15426 2000-03-06 Alexander Larsson <alla@lysator.liu.se>
15429 * app/export_png.c:
15430 * app/render_libart.[ch]:
15431 Don't export png:s with an interactive libart renderer.
15433 2000-03-03 Asbjorn Pettersen <asbjornP@dualog.no>
15435 * lib/arrows.c (finite): define finite(d) isfinite(d) for OS/2
15437 2000-03-02 James Henstridge <james@daa.com.au>
15439 * dia.spec (%build): unset LINGUAS before running configure. This
15440 ensures that all translations get included in the RPM.
15442 * lib/properties.c (object_create_props_dialog): put in a check for
15443 a NULL return from the describe_props() object method.
15444 (prop_desc_lists_union): make sure that the returned array is not
15446 (prop_desc_lists_intersection): same here.
15448 2000-02-29 Alexander Larsson <alla@lysator.liu.se>
15450 * objects/ER/Makefile.am:
15451 * objects/FS/Makefile.am:
15452 * objects/UML/Makefile.am:
15453 Don't link object libs with gtk.
15455 2000-02-29 James Henstridge <james@daa.com.au>
15457 * app/preferences.c (prefs_save): check to see if the file could
15458 be opened before writing the prefs.
15460 * app/disp_callbacks.c (popup_object_menu): pass the button event
15461 to gtk_menu_popup. This allows you to click and release to open
15463 (ddisplay_canvas_events): same here.
15464 (create_object_menu): set the object type menu item in the object
15465 menu to be insensitive.
15467 * app/render_svg.c (draw_string): call xmlEncodeEntitiesReentrant,
15468 as we are now requiring a new version of libxml.
15470 * dia.spec: updated version number. Added requirement for
15473 * configure.in: incremented version number to 0.84.
15474 Added check for libxml >= 1.8.5. This will prevent some of the
15475 problems people have had with broken libxml versions.
15477 * NEWS: added news items.
15479 * app/interface.c (create_color_area): removed call to realize parent
15480 widget. Segg <segg@infonet.ca> reported that it caused a warning,
15481 but I haven't seen it on my copy of dia.
15483 2000-02-28 James Henstridge <james@daa.com.au>
15485 * app/export_png.c: added copyright notice, and made the band height
15488 2000-02-27 Alexander Larsson <alla@lysator.liu.se>
15490 * lib/font.c (suck_font):
15491 Fixed off-by one bug in font pixmap height.
15492 Fixes the problem with garbage at the bottom of some text in aa mode
15493 and in png exported files.
15495 2000-02-27 James Henstridge <james@daa.com.au>
15497 * app/app_procs.c: add the png export filter if it was compiled in.
15499 * app/export_png.c (export_png): new PNG export filter. This requires
15500 the libart renderer to work as it needs a renderer that renders to a
15503 * configure.in: add check for libpng.
15505 * lib/message.c (message_internal): use a GNOME dialog here as well.
15507 * app/display.c (ddisplay_close): use a GNOME dialog here.
15509 * app/render_eps.c (create_eps_renderer): use diagram scaling factor
15510 when exporting to EPS. This is because some people said the EPS
15511 output was too large
15513 2000-02-26 James Henstridge <james@daa.com.au>
15515 * app/defaults.c (create_dialog): use a GNOME dialog for the defaults
15518 * app/app_procs.c (app_exit): use a GNOME dialog here.
15520 * app/preferences.c (prefs_create_dialog): if GNOME support is
15521 enabled, show a GNOME dialog.
15523 * app/grid.c (grid_draw): use preferences when drawing page break
15526 * app/preferences.c: add page break preferences to dialog.
15528 * app/preferences.h: added page break preferences.
15530 2000-02-25 James Henstridge <james@daa.com.au>
15532 * sheets/UML.sheet: added new objects.
15534 * objects/UML/uml.c: link in the two new objects.
15536 * objects/UML/node.c:
15537 * objects/UML/branch.c: new UML objects from Stfan Seefeld
15538 <seefelds@magellan.umontreal.ca>.
15540 2000-02-24 James Henstridge <james@daa.com.au>
15542 * objects/custom/custom_object.c: converted to use the properties
15543 interface. In the future, it would be nice to add support for
15544 defining custom properties for custom objects, but that can wait.
15546 2000-02-22 James Henstridge <james@daa.com.au>
15548 * sheets/Circuit.sheet: added new circuit shapes to sheet.
15550 * plug-ins/cgm/cgm.c: cgm plugin updates from Henk Jan Priester
15551 <hj@justcroft.com>. Fixes number encoding, colour encoding, fonts
15552 and adds a few new features.
15554 2000-02-21 Daniel Egger <egger@suse.de>
15556 * sheets/*.sheets: Added German translations and made some
15557 corrections to the others.
15559 2000-02-21 James Henstridge <james@daa.com.au>
15561 * shapes/Circuit/Makefile.am (SHAPES): added new shapes to list.
15563 * shapes/Circuit/...: added new shapes from Erik Janssens.
15565 2000-02-20 James Henstridge <james@daa.com.au>
15567 * app/interface.c (create_color_area): realize the parent window
15570 * objects/standard/image.c: properties patch for standard image
15571 object, from Lars Clausen.
15573 * lib/properties.c: support for PROP_TYPE_FILE from Lars Clausen.
15575 * lib/properties.h (PropType): added file property type.
15577 * shapes/Circuit/speaker_de.xpm: changed size of pixmap to match
15580 * app/interface.c: use wrap box for toolbox.
15582 * app/Makefile.am: added new files.
15584 * app/gtk*wrapbox.[ch]: added wrap box widget.
15586 2000-02-19 James Henstridge <james@daa.com.au>
15588 * sheets/network.sheet: added extra shapes to networks sheet.
15590 * configure.in (AC_OUTPUT): added shapes/network/Makefile
15592 * shapes/network/*: added shapes that were posted to the list a while
15595 * shapes/Makefile.am (SUBDIRS): added network subdirectory
15597 * app/menus.c (toolbox_menu_items): don't right justify help menu for
15598 gtk+ version of menus.
15600 * app/properties.c (create_dialog): use a GnomeDialog if we happen
15603 2000-02-18 James Henstridge <james@daa.com.au>
15605 * objects/flowchart/box.c: set extra data for corner radius and text
15606 padding properties.
15608 * objects/standard/box.c: set extra data for corner radius property.
15610 * lib/properties.h: set extra data in some standard properties.
15612 * lib/properties.c (prop_get_widget): look at the extra data for
15613 int, real and enum property types. They now use GtkSpinButton and
15614 GtkOptionMenu respectively.
15616 * lib/properties.h: extra data members for creating property setting
15619 2000-02-17 James Henstridge <james@daa.com.au>
15621 * objects/flowchart/box.c: reverted load/save functions back to
15622 previous implementations. Made box use standard property names.
15624 * plug-ins/cgm/cgm.c (set_linestyle): was missing a */
15626 * app/grid.c: add more digits to the grid edit dialog. This patch
15627 was also from Lars Clausen.
15629 * objects/standard/zigzagline.c:
15630 * objects/standard/textobj.c:
15631 * objects/standard/polyline.c:
15632 * objects/standard/line.c:
15633 * objects/standard/ellipse.c:
15634 * objects/standard/box.c:
15635 * objects/standard/bezier.c:
15636 * objects/standard/arc.c: patches to add properties code to standard
15637 objects. Based on patches from Lars Clausen. I have also removed
15638 some dead code from the files.
15640 * lib/properties.h (PROP_STD_*): define a number of standard
15641 properties. Where appropriate, objects should include these
15642 properties in their PropDescription list. This way, the intersection
15643 of properties of two different shapes will be greater.
15645 2000-02-14 James Henstridge <james@daa.com.au>
15647 * objects/flowchart/box.c (box_load, box_save): use property save
15648 routines. Make sure that any props not handled by object_load_props
15649 are loaded before calling object_load_props, or we get errors because
15650 update_data is called.
15652 * lib/properties.c (object_get_props_from_offsets): fixed an indexing
15653 error that could cause properties to be loaded incorrectly.
15654 (object_set_props_from_offsets): similar here.
15656 * lib/properties.[ch] (prop_{load,save}): functions for loading
15657 or saving a property in Dia's XML file format.
15658 (object_{load,save}_props): load or save some properties of an
15659 object. These functions should help simplify the load/save methods
15660 of objects that implement the properties interface.
15662 2000-02-13 James Henstridge <james@daa.com.au>
15664 * objects/flowchart/box.c: use offset code to simplify property
15667 * lib/element.h (ELEMENT_COMMON_PROPERTIES): standard element
15669 (ELEMENT_COMMON_PROPERTIES_OFFSETS): offsets.
15671 * lib/object.h (OBJECT_COMMON_PROPERTIES): list of standard object
15673 (OBJECT_COMMON_PROPERTIES_OFFSETS): the offsets of the properties.
15675 * lib/properties.[ch] (object_{get,set}_props_from_offsets): new
15678 2000-02-12 Alexander Larsson <alla@lysator.liu.se>
15681 Add the custom object to DIA_LIB_PATH in run_dia.sh
15683 2000-02-10 Cyrille Chepelov <chepelov@calixo.net>
15685 * sheets/Circuit.sheet:
15686 * shapes/l_sout* (NEW):
15687 * shapes/l_outj.* (NEW): added new outputs : jump, and the power-saved
15688 variants of simple, inverted, set and reset outputs.
15689 Still to do: all Schneider/Telemecanique TSX *7 function blocks ;
15690 probably a split of Contact and Ladder sheets. And then a major
15691 revamping of the Contact sheet.
15693 2000-02-10 James Henstridge <james@daa.com.au>
15695 * app/Makefile.am (dia_LDADD): don't link with libcustom_objects.
15697 * app/app_procs.c (register_all_objects): don't explicitely
15698 register the custom objects library -- let it be loaded by the
15699 normal plugin loading methods.
15701 * lib/Makefile.am (libdia_a_SOURCES): don't include custom.h here.
15703 * objects/custom/Makefile.am: build libcustom_objects as a shared
15706 * objects/custom/shape_info.[ch]: don't read the description field
15707 of custom shapes. It makes more sense to have these in the sheet
15708 file to localise the parts of dia that translators have to deal
15711 * objects/custom/custom_object.c (custom_object_new): do not
15712 create the sheet object for the new custom shape -- this is
15713 handled by the custom sheet code.
15715 * objects/custom/custom.c: change over to being a normal plug-in
15716 rather than being linked with the main dia executable.
15718 2000-02-09 James Henstridge <james@daa.com.au>
15720 * sheets/Circuit.sheet:
15721 * sheets/Flowchart.sheet:
15722 * sheets/Contact.sheet: fixed up sheets.
15724 * objects/custom/custom_object.c (custom_object_new): set the
15725 extra ObjectType fields.
15727 * lib/sheet.c: use extra ObjectType fields when creating sheet
15728 objects. Give a warning if <shape> tags are found in a sheet
15729 file. Now the custom sheet code does not know about custom
15730 shapes -- they look like any other object type.
15732 * lib/object.h (ObjectType): added extra members
15734 2000-02-08 Alexander Larsson <alla@lysator.liu.se>
15736 * app/linewidth_area.c:
15737 Added code to set arbitrary line width.
15738 Patch by Lars Clausen <lrclause@cs.uiuc.edu>
15740 2000-02-08 Alexander Larsson <alla@lysator.liu.se>
15742 * app/linewidth_area.c:
15744 Add support for font-sucking.
15745 Implementation borrowed from gnome-canvas.
15747 * app/render_libart.[ch]:
15748 Implement text rendering.
15750 2000-02-07 Alexander Larsson <alla@lysator.liu.se>
15752 * app/properties.c (create_dialog):
15753 ref and sink no_properties_dialog.
15755 2000-02-07 James Henstridge <james@daa.com.au>
15757 * app/group.c (group_describe_props): new function. Return the
15758 intersection of the properties of the contained objects that
15759 implement the describe_props interface.
15760 (group_get_props): implement by iterating through contained objects
15761 and calling their get_props method until all properties have been
15762 set. Maybe this should go through all objects all the time??
15763 (group_set_props): implement by calling set_props method on all
15765 (group_ops): use standard props dialog creation routines.
15767 * lib/properties.c (prop_desc_lists_intersection): fix implementation
15768 of intersection -- I was using i++ instead of i-- in a for loop :(
15770 * objects/custom/custom.c (custom_register_objects): fix usage
15771 of dia_get_data_directory again.
15773 * lib/sheet.c: fix up use of dia_get_data_directory, so that we
15774 actually read the sheets.
15776 2000-02-06 Alexander Larsson <alla@lysator.liu.se>
15778 Win32 port by Hans Breuer <Hans@Breuer.org>
15781 Remove DATADIR and LIBDIR defines.
15784 Add dia_dirs.c and dia_dirs.h
15785 Added DATADIR and LIBDIR defines.
15787 * lib/dia_dirs.[ch]:
15788 New files for handling special directories.
15793 * objects/custom/custom.c:
15794 Fix warnings. Use directory functions.
15797 Add prototype for diagram_redraw_all.
15799 * app/diaunitspinner.c:
15802 * app/preferences.c:
15806 Win32 doesn't have mkstemp and fchmod.
15808 * app/paginate_psprint.c:
15809 Win32 calls popen _popen and pclose _pclose.
15812 Win32 calls finite _finite.
15815 Win32 needs to dllexport the color vars.
15817 * objects/GRAFCET/step.c:
15818 * objects/chronogram/chronoref.c:
15819 snprintf -> g_snprintf
15821 2000-02-05 James Henstridge <james@daa.com.au>
15823 * lib/properties.c: more fixes so that it doesn't crash when using
15824 properties. The undo/redo stuff also works!!
15826 * objects/flowchart/box.c (box_{describe, get, set}_props): test
15827 object where I have implemented the new properties interface
15828 complete with automatic properties dialog generation.
15830 * lib/properties.c (object_apply_props): fixed stupid error when
15831 creating the old_props array. Also, it no longer frees the props
15832 array -- you will have to do that yourself.
15834 2000-02-04 James Henstridge <james@daa.com.au>
15836 * app/properties.c (properties_apply): pass object_part to
15839 * lib/object.h (ApplyPropertiesFunc): added widget argument.
15841 * lib/lazyprops.h (PROPDLG_CREATE): ref and sink properties dialogs
15842 created this way as well.
15844 * objects/*/*.c: ref and sink the properties dialog window for each
15845 widget. It can't rely on ref count being incremented by
15846 properties_show anymore.
15848 * app/properties.c (properties_show): don't ref the widget before
15849 removing it, or its ref count will increase each time you open the
15850 properties dialog. Don't unparent the widget, as container_remove
15853 * lib/object.h: fixed up prototypes for new object methods.
15855 * lib/properties.[ch]: added functions for automatically creating
15856 a properties dialog from the output of describe_props, get_props and
15858 (object_apply_props): apply properties and return an ObjectChange
15859 structure that can be used for undo.
15861 2000-02-03 Cyrille Chepelov <chepelov@calixo.net>
15863 * objects/GRAFCET/transition.c: minor leak plugged.
15865 * sheets/GRAFCET.sheet:
15866 * objects/GRAFCET/pixmaps/condition.xpm: (NEW)
15867 * objects/GRAFCET/condition.c: (NEW) added a new object type, action
15869 * objects/GRAFCET/Makefile.am: fixed incorrect dependencies, added
15870 new ones (for condition.c).
15871 * objects/GRAFCET/action.c: added connection points for the conditions.
15872 * samples/grafcet.dia: updated the sample to improve conformance to
15873 IEC 848 and take advantage of dia's new features.
15875 * lib/geometry.h: (point_get_normed) fixed a typo.
15877 2000-02-02 James Henstridge <james@daa.com.au>
15879 * lib/object.h: added object functions describe_props, get_props and
15880 set_props. Do type definitions so that object.h doesn't need to
15881 include properties.h, since properties.h includes object.h.
15883 * lib/properties.[ch]: more hacking.
15885 * po/de.po: updated po file.
15887 2000-01-30 James Henstridge <james@daa.com.au>
15889 * configure.in: don't add flags to CFLAGS unconditionally. Instead,
15890 check to see if the C compiler accepts the flag beforehand.
15892 * lib/properties.[ch]: start of properties code.
15894 * shapes/Contact/Makefile.am (SHAPES): fix up makefile.
15896 2000-01-30 Cyrille Chepelov <chepelov@calixo.net>
15898 * sheets/GRAFCET.sheet:
15899 * sheets/GRAFCET/etapemc.xpm: (NEW)
15900 * sheets/GRAFCET/etapesp.xpm: (NEW)
15901 * objects/GRAFCET/step.c: Added the macro and
15902 sub-program call step types.
15904 * objects/GRAFCET/receptivity.[ch]: renamed to
15905 objects/GRAFCET/boolequation.[ch].
15906 * objects/GRAFCET/transition.c: changed (Receptivity *) to
15909 * lib/connpoint_line.[ch]:
15910 * objects/chronogram/chronoline.c:
15911 * objects/chronogram/chronoref.c:
15912 * objects/GRAFCET/vergent.c:
15913 * objects/standard/line.c:
15914 * objects/SADT/box.c: Minor CPL interface changes, factored out the
15915 point count adjustment code into the CPL object.
15917 2000-01-29 Alexander Larsson <alla@lysator.liu.se>
15919 * app/render_libart.c:
15920 Added support for images and bezier curves.
15921 Only text/fonts missing now.
15923 * app/render_gdk.c:
15924 Removed old erronous comment.
15926 2000-01-29 Cyrille Chepelov <chepelov@calixo.net>
15928 * objects/chronogram/chronoline_event.c: removed references to
15929 lround(). Please don't insist, I'm already red of shame.
15931 2000-01-29 Alexander Larsson <alla@lysator.liu.se>
15933 * app/render_libart.[ch]:
15935 Non-finished libart renderer.
15938 Added HAVE_LIBART flag
15944 Call gdk_rbg_init().
15946 * app/connectionpoint_ops.c:
15947 * app/disp_callbacks.c:
15949 * app/handle_ops.c:
15951 * app/modify_tool.c:
15952 Change ddisp->renderer type from RendererGdk * to Renderer *
15953 Draw zoom and select rects in ddisp->canvas->window instead
15954 of ddisp->renderer->renderer->pixmap.
15956 * app/display.[ch]:
15957 Add aa_renderer to DDisplay, and support for it.
15958 New function ddisplay_set_renderer() for changing renderer.
15959 Add ddisplay_transform_coords_double() function, used by aa renderer.
15960 Change ddisp->renderer type from RendererGdk * to Renderer *
15963 Add antialias to menu.
15965 * app/commands.[ch]:
15966 add view_aa_callback function
15967 Change ddisp->renderer type from RendererGdk * to Renderer *
15969 * lib/geometry.[ch]:
15970 Added IntRectangle and int_rectangle_union.
15972 2000-01-28 James Henstridge <james@daa.com.au>
15974 * app/commands.h: removed prototypes.
15976 * app/commands.c: removed the functions that have been moved to
15979 * app/filedlg.h: added new prototypes.
15981 * app/filedlg.c (file_open_callback): move open dialog to this
15982 file. This implementation should remember the current directory
15983 between file loads.
15984 (file_save_as_callback): moved this dialog as well.
15985 (file_save_callback): moved this function here.
15987 * app/paginate_psprint.c (paginate_psprint): if not in fit to mode,
15988 align page boundaries to the origin.
15990 * app/diagram.c (diagram_update_extents): redraw the diagram if the
15991 scaling factor changes while updating the extents. This is so the
15992 page breaks get redrawn correctly.
15994 * app/pagesetup.c (pagesetup_apply): added diagram_flush call when
15997 * app/grid.c (grid_draw): draw page breaks as well as grid lines.
15998 For normal mode, use (0,0) as the origin. For `fit to' mode, use
15999 the corner of the bounding box.
16001 * app/pagesetup.c (create_page_setup_dlg): load new paper attributes
16002 into page setup dialog.
16003 (pagesetup_apply): apply new `fit to' attributes to the diagram.
16005 * app/load_save.c (diagram_load): load new paper `fit to' attributes.
16006 (diagram_data_save): save `fit to' data.
16008 * lib/diagramdata.c (new_diagram_data): initialise `fit to' members.
16009 (data_update_extents): when in `fit to' mode, update scale factor
16010 when we update the extents.
16012 * lib/diagramdata.h (PaperInfo): added `fit to' members to PaperInfo
16015 * .../.cvsignore: added some cvsignore files to quieten cvs.
16017 * app/pagesetup.c (pagesetup_changed): added code to change the
16018 scaling/fit to values as you change the options in the page setup
16019 dialog. I haven't added code so that the fit to options are saved
16022 * app/diapagelayout.[ch]: changed the scaling portion of the widget
16023 to make it easier to set a `fit to' style scaling factor.
16025 2000-01-27 Cyrille Chepelov <chepelov@calixo.net>
16026 * lib/neworth_conn.[ch]: (NEW) Temporary (hopefully) fork of orth_conn,
16027 but connpoint_line-based, so that there's a connection point at the
16028 middle of each segment. Currently only the SADT arrow uses this.
16030 * objects/SADT/* (NEW): SADT (both idf0 and idf1) support.
16032 2000-01-26 Cyrille Chepelov <chepelov@calixo.net>
16033 * lib/lazyprops.[ch]:(NEW) Added a bunch of macros for loading,
16034 saving and editing of properties (and default properties).
16035 See the new objects (GRAFCET, SADT, chonograms) for examples.
16036 For already too hairy stuff, see objects/chronogram/chronoline.c.
16038 * lib/connpoint_line.[ch] (NEW): This subobject manages a line of
16039 evenly spaced connection points, which the user can add or remove at
16040 will. An object can own several connection point lines. See the SADT
16041 Box, or the GRAFCET vergents for examples.
16043 * lib/dummy_dep.h: added dependencies to new files. Told gcc to keep
16044 quiet about unused stuff.
16046 * objects/GRAFCET (NEW):
16047 * samples/grafcet.dia (NEW):
16048 Added support for GRAFCET charts.
16050 * objects/chronogram (NEW):
16051 * samples/chronograms.dia (NEW):
16052 Added support for chronograms (feature requested by Ronald L. Chichest;
16053 I found I'd use it often, too).
16055 * objects/standard/line.c: Replace the middle connectionpoint by
16056 a whole connection point line, which defaults to one point (hint,
16057 hint). New Line object menu to take advantage of this.
16058 "Bothwards" compatibility is preserved (although you may loose
16059 connections if you load a newer file in a older dia).
16061 * app/lineprops_area.c:
16063 * lib/widgets.c: Added hollow and filled ellipse arrow head type.
16064 (feature requested by Benjamin Kahn).
16065 Merged in Steffen Macke's slashed arrow head type.
16067 * app/Makefile.am (app/run_dia.sh actually):
16068 Added $DEBUGGER in front of dia's invocation, so that
16069 you can call "DEBUGGER=ddd app/run_dia.sh" (maybe naive, but useful).
16070 Added $(EFENCE) to app/dia's LDFLAGS, so that you can do
16071 "EFENCE=-lefence" to link with Electric Fence.
16073 * configure.in: Made gcc do more aggressive optimisations on i386, and
16076 2000-01-24 James Henstridge <james@daa.com.au>
16078 * lib/geometry.[ch]: added inline versions of functions. Used
16079 glib's G_INLINE_FUNC stuff, so it should still work on systems
16080 without inline funcs.
16082 * plug-ins/cgm/cgm.c (draw_ellipse, fill_ellipse): fixed up so that
16083 it outputs the correct element id for the ellipse objects.
16085 2000-01-24 Cyrille Chepelov <chepelov@calixo.net>
16087 * lib/object.[ch]: added object_add_connectionpoint_at, similar to
16088 object_add_handle_at. Message typo fixed.
16090 * lib/sheet.c (load_register_sheet):
16091 potential bug fixed (warning hunt).
16093 * objects/custom/custom.c (custom_object_load): disabled an assertion
16094 which made dia abort upon failure to load a shape file. Fixed a
16097 * objects/custom/shape_info.c (load_shape_info): Made the custom
16098 shape load code ignore XML comments between <?xml ...?> and the
16099 root object (mostly useful to put the emacs magic comments).
16101 * app/load_save.c: Made dia do backup copies of files when saving,
16102 and complain in case of failure.
16104 2000-01-24 Cyrille Chepelov <chepelov@calixo.net>
16106 * AUTHORS: fixed my address (ISP thought it was a great idea to change
16111 * shapes/Contact/*:
16112 * sheets/Contact.sheet:
16113 * sheets/Makefile.am:
16114 Added support for Contact and LADDER charts.
16116 * dia.desktop: Added a French translation.
16118 2000-01-23 James Henstridge <james@daa.com.au>
16120 * app/commands.c (help_about_callback): don't die if can't load
16123 * app/render_gdk.c (bezier_add_lines): sanity check to try to weed
16124 out NaN's when performing bezier curve subdivision.
16126 * objects/custom/custom_object.c: initialise memory of Custom structs
16129 * app/render_svg.c (draw_image): added image support to the XML
16130 output filter. The image is just referenced, rather than being
16131 included inline, so if you copy the SVG file somewhere else, you
16132 may need to move the images or fix up the links.
16134 * plug-ins/cgm/cgm.c (draw_string): output a text colour element,
16135 so the text is not just displayed in black all the time.
16137 2000-01-15 Fredrik Hallenberg <hallon@lysator.liu.se>
16139 * configure.in: fixed libpopt test so we wont try to build with
16142 1999-12-18 Yuri Syrota <rasta@renome.rovno.ua>
16144 * configure.in: Added "uk" to ALL_LINGUAS.
16146 1999-12-24 James Henstridge <james@daa.com.au>
16148 * po/ru.po: updated russian translation from Valek Filippov.
16150 * app/render_svg.c (new_svg_renderer): make output use 19991203
16151 version of SVG DTD. Use viewBox to set the extents of the view.
16153 * INSTALL (FONTS): updated locations of gnome-xml and imlib. List
16154 ftp.gnome.org as the download.
16156 * TODO (TODO): weeded out completed todo items and added a few extra.
16158 * Makefile.am (EXTRA_DIST): added documentation to EXTRA_DIST.
16160 * doc/sheet.dtd: first stab at a DTD for the sheet files. It would
16161 be good to get rid of the object/shape distinction and separate
16162 the custom shape code out from the main application.
16164 * objects/custom/README, diagram.dtd: moved to new doc directory.
16165 Renamed the custom shapes README to custom-shapes. Also updated
16166 custom shape docs a bit and removed the section on sheet files, as
16167 that has changed a bit.
16169 * plug-ins/cgm/cgm.c (draw_image): give an error if the row length
16170 of the image data is larger than the maximum cell array. I should
16171 add code to break scan lines down further in this case, but for now
16172 an error message is better than an infinite loop.
16174 * app/filedlg.c (file_export_ok_callback): show a dialog if we
16175 couldn't determine the export filter to use.
16177 * app/commands.c (help_about_callback): fixed up about box logo
16178 expose bug. Now just use a GtkPixmap widget rather than a
16179 GtkDrawingArea and calling gdk_imlib_paste_image.
16181 * app/Makefile.am (EXTRA_DIST): added print stuff to extra dist,
16182 because automake does not always get things right.
16184 * configure.in: updated version number to 0.83.
16186 * app/preferences.c (prefs_save):
16187 * app/render_svg.c (new_svg_renderer): "wt" is not a valid flag string
16188 for fopen. Text is the default file mode anyway.
16190 * app/commands.c (file_save_as_dialog_ok_callback, file_new_callback):
16191 * app/grid.c (grid_x_update, grid_y_update, grid_show_dialog):
16192 * app/load_save.c (write_objects, write_connections):
16193 * app/filedlg.c (file_export_ok_callback):
16194 * lib/dia_xml.c (data_add_int, data_add_enum, data_add_real):
16195 * lib/dia_xml.c (data_add_point, data_add_rectangle):
16196 * lib/font.c (init_x11_font, font_get_gdkfont): changed calls to
16197 snprintf to calls to g_snprintf.
16199 * plug-ins/cgm/cgm.c (export_cgm): write the original dia file name
16200 as the picture name.
16202 1999-12-23 James Henstridge <james@daa.com.au>
16204 * plug-ins/cgm/cgm.c (write_int32, write_int16): fixed up output of
16205 negative numbers. This fixes the upside down text problem I was
16207 (draw_image): implemented the image code. It will try to split the
16208 image data up into bands if it is too big to fit into a single
16209 cgm cell array element. It will have problems if you try to insert
16210 an image wider than about 10,000 pixels though.
16212 * Makefile.am: use gnomedatadir for the files that need to be
16213 installed in gnome's datadir. This is mainly to help people doing
16214 packages for weird setups.
16216 1999-12-22 James Henstridge <james@daa.com.au>
16218 * plug-ins/cgm/cgm.c: added support for text. Now only images and
16219 beziers are left to do. The text seems to be the wrong way up
16220 still. This is probably a problem with character orientation
16221 element, but I have used what the settings given in the standard.
16222 Other than this, the CGMs dia produces are readable (and displayable)
16223 by ralcgm and corel draw.
16224 (draw_string): subtract from the X coord rather than the Y coord for
16225 center and right aligned text.
16227 * plug-ins/cgm/cgm.c: a few fixups for the output. Use REALSIZE as
16228 the size of a real number, and changed name of write_double to
16229 write_real. Consider changing to fixed real encoding. Also, now
16230 all element headers are correct. Once the real number encoding is
16231 fixed, only text, beziers and images are left to do.
16233 1999-12-21 James Henstridge <james@daa.com.au>
16235 * Makefile.am (SUBDIRS): recurse into plug-ins.
16237 * configure.in: add plug-ins directory makefiles to list.
16239 * plug-ins/cgm/cgm.c: start of cgm export filter. Beziers and text
16240 not done yet. Also, the output files are not quite correct.
16242 * app/render_eps.c (print_reencode_font): don't reencode the Symbol
16243 font. It doesn't work if you do.
16245 1999-12-20 James Henstridge <james@daa.com.au>
16247 * app/app_procs.c (app_init): don't use diagram_export_to_eps to
16248 export the files. Instead, use filter_guess_export_filter to
16249 guess the correct format to save in and use the appropriate filter.
16250 It defaults to postscript for compatibility.
16252 * app/diagram.[ch] (diagram_export_to_eps): removed export to eps
16255 * app/commands.[ch]: removed export to eps functions.
16257 * app/menus.c: removed export to eps menu items.
16259 * app/app_procs.c: register new export filters.
16261 * app/load_save.[ch]: define dia native export filter.
16263 * app/render_eps.[ch]: define eps export filter.
16265 * lib/filter.h: added diafilename argument to the DiaExportFunc
16266 prototype. This is useful for putting the source of the diagram
16267 into the output file for instance.
16269 * app/app_procs.c (app_init): register the SVG export filter. Have
16270 to get EPS code converted to this API, and maybe also allow saving in
16271 DIA's native format from the export dialog. In fact, it is now
16272 possible to load an export filter from a shared library and it will
16273 integrate into the interface correctly.
16275 * app/menus.c: removed references to the SVG renderer.
16277 * app/commands.[ch]: removed svg stuff.
16279 * app/diagram.[ch]: removed diagram_export_to_svg function.
16281 * app/render_svg.[ch]: added a DiaExportFilter structure for this
16284 * app/filedlg.[ch]: code for the new export diagram dialog. Will
16285 probably move the open/save dialogs to this file as well.
16287 1999-12-19 James Henstridge <james@daa.com.au>
16289 * lib/filter.[ch]: start of interface for generalised handling of
16290 filters. I have only done code for export filters so far. I still
16291 need to do the gui for this, and convert the current SVG and EPS
16292 filters to the new API.
16294 * lib/bezier_conn.c (bezierconn_copy): fix up copy operation. We
16295 weren't setting the last handle correctly. It was actually assigning
16296 to the wrong position in the handles array, so the last handle was
16297 left as NULL, which caused the segfault.
16299 * objects/standard/image.c (image_copy): modified routine so that
16300 it just adds a reference to the DiaImage structure in the new image
16301 object. This seems to have cleared up the problems with copying
16304 * dia.spec: spec file additions from John Gotts.
16306 1999-12-12 James Henstridge <james@daa.com.au>
16308 * configure.in (GNOME_LIBS): updated version number to 0.82. 0.82
16309 has not been released yet though.
16311 * Makefile.am (EXTRA_DIST): distribute diagram.dtd.
16314 The following based on a patch from Lars Clausen:
16316 * objects/standard/bezier.c (bezierline_move_handle): when performing
16317 the initial drag of the bezierline, move the control points to keep
16320 * lib/bezier_conn.c (bezierconn_add_segment): when adding a segment,
16321 make the new control points a bit closer to the major point.
16323 * app/create_object.c (create_object_motion): use HANDLE_MOVE_CREATE
16324 as the reason for the move.
16325 (create_object_button_release): use HANDLE_MOVE_CREATE_FINAL as the
16328 * lib/handle.h: new handle move reasons.
16330 1999-12-09 James Henstridge <james@daa.com.au>
16332 * dia.spec: include the new files in RPMs.
16334 * Makefile.am: install these new files.
16336 * dia.keys.in: file describing actions and icon for dia diagrams for
16337 use in the gnome file manager.
16339 * dia.mime: a file defining the application/x-dia-diagram mime type.
16341 * dia-diagram.png: an icon for dia diagrams.
16343 1999-12-08 James Henstridge <james@daa.com.au>
16345 * plug-ins/python/pydia-diagram.c: added heaps of new methods.
16347 * plug-ins/python/pydia-display.[ch]: wrapper for display.
16349 * objects/standard/ellipse.c: applied Lars's patch to optionally not
16350 draw the background of the ellipse.
16352 * app/load_save.c (read_connections): do some sanity checking on the
16353 handle and connection point numbers before performing the object
16356 * lib/bezier_conn.c (bezierconn_load): give the correct number of
16357 handles when loading a BezierConn.
16359 1999-12-07 Kjartan Maraas <kmaraas@online.no>
16361 * sheets/*.sheet: Finished Norwegian translations.
16363 1999-12-07 James Henstridge <james@daa.com.au>
16365 * plug-ins/python/diamodule.c (PyDia_Load): load diagram function.
16366 (PyDia_GetObjectType): find object type function.
16368 * plug-ins/python/pydia-diagram.c (PyDiaDiagram_Save): added a save
16369 method for diagrams.
16371 * plug-ins/python/pydia-object.c: added methods for DiaObject and
16374 * AUTHORS: added Lars and Cyrille to the authors file.
16376 * objects/standard/bezier.c (bezierline_add_segment_callback): place
16377 new point correctly.
16379 * lib/bezier_conn.h (bezierconn_closest_segment): fixed prototype.
16381 * lib/bezier_conn.c: applied Lars's patch for placement of the new
16382 point when adding a segment to a BezierConn.
16384 1999-12-06 James Henstridge <james@daa.com.au>
16386 * plug-ins/python/test.py: test script for the python plug-in.
16388 * plug-ins/python/python.c: this file contains the plug-in startup
16389 code for the python plugin. Right now, it just initialises the
16390 dia module and executes a script.
16392 * objects/standard/polyline.c (polyline_draw): fix start arrow size.
16394 * objects/standard/bezier.c (bezierline_draw): draw control lines for
16395 bezier curve if we are using an interactive renderer (ie. only if
16396 displaying to the screen).
16398 * lib/bezier_conn.[ch] (bezierconn_draw_control_lines): function
16399 to draw control lines on to a bezier curve. Based on implementation
16402 * objects/standard/bezier.c (bezierline_delete_segment_callback):
16403 calculate segment number using closest_segment rather than
16404 closest_handle. Sometimes the closest handle is part of a different
16406 (bezierline_draw): use correct size for start arrow.
16408 The next few entries are from Peter Moulder <reiter@netspace.net.au>:
16409 * lib/geometry.c (distance_line_point): added notes to documentation
16411 * app/object_ops.c (object_list_align_v):
16412 (object_list_align_h): fix of by one error when calculating free space
16413 for equal distance alignment.
16414 * app/menus.c (objects_align_h, objects_align_v): include align
16415 adjacent menu items in the gnome version of the menus.
16416 * app/diagram.c (diagram_update_menu_sensitivity): set sensitivity on
16417 align adjacent menu items correctly.
16420 * lib/dummy_dep.h (dummy_dep): added bezierconn to dummy dependency
16423 * objects/standard/bezier.c: converted bezierline to use BezierConn.
16424 Still a few bugs. It crashes on deleting line segments.
16426 * lib/Makefile.am (libdia_a_SOURCES): added BezierConn to libdia.
16428 1999-12-05 James Henstridge <james@daa.com.au>
16430 * lib/bezier_conn.[ch]: start of BezierConn object
16432 * app/interface.c: add bezierline to toolbox.
16434 * objects/standard/standard.c: initialise bezierline.
16436 * objects/standard/bezier.c: new object from Lars R. Clausen. I have
16437 made a few modifications to get it working nicely. It still needs
16438 a bit of work though. Maybe create a BezierConn object in lib.
16440 1999-12-02 James Henstridge <james@daa.com.au>
16442 * plug-ins/python/pydia-*.c: fixed compile errors in these files.
16444 * plug-ins/python/Makefile.am: tried building everything. It is
16445 building as a library at the moment. I will have to convert it
16446 to a libtool library and add some initialisation code.
16448 * plug-ins/python/diamodule.c: start of the dia module, using the
16449 other object wrappers. Not complete.
16451 1999-12-01 James Henstridge <james@daa.com.au>
16453 * plug-ins/python/pydia-object.c (PyDiaObject_GetAttr): implement
16454 the handles and connections attributes.
16456 * plug-ins/python/pydia-layer.c: added functions that use
16459 * plug-ins/python/pydia-handle.[ch]: wrapper for Handle's.
16461 * plug-ins/python/pydia-cpoint.[ch]: wrapper for ConnectionPoint's.
16463 * plug-ins/python/pydia-*.[ch]: starts of python scripting plug-in.
16464 I am currently wrapping the basic elements in the diagram in python
16465 objects -- nothing to see or play with yet.
16467 1999-11-30 Alexander Larsson <alla@lysator.liu.se>
16471 James Henstridge <james@daa.com.au> is now the maintainer of Dia.
16473 1999-11-29 Alexander Larsson <alla@lysator.liu.se>
16477 Added russian translation from Valek Filippov <frob@df.ru>
16479 1999-11-24 James Henstridge <james@daa.com.au>
16482 * sheet/ER/*: moved extra sheet pixmaps back to separate dirs as
16483 discussed with Alex. Also added extra makefiles so that make install
16486 1999-11-23 Alexander Larsson <alla@lysator.liu.se>
16488 * app/preferences.[ch]:
16490 Added snap to grid preference.
16491 Patch from Michael Leslie <mles@springboardwireless.com>
16493 1999-11-21 Alexander Larsson <alla@lysator.liu.se>
16499 * objects/custom/shape_info.c:
16500 All strings returned by libxml must be freed with free, not
16501 g_free, or there will be problems if you use memory debugging
16504 1999-11-21 Alexander Larsson <alla@lysator.liu.se>
16506 * app/create_object.[ch]:
16509 * app/commands.[ch]:
16511 * app/interface.[ch]:
16512 Reverted the tool menu patch. It has some 'issues'.
16513 I liked it though, so it'll probably return.
16515 1999-11-21 Alexander Larsson <alla@lysator.liu.se>
16517 Fixed a lot of memory leaks. Thanks to Bruce Mitchener
16518 <bruce@cybersight.com> for some purify runs and analysis.
16519 Also a great thank you to Owen Taylor for creating MemProf, a
16520 free memory leak detector that was used to find and verify a
16521 lot of these fixes.
16524 * app/paginate_psprint.c:
16525 * app/render_eps.[ch]:
16526 * app/render_svg.[ch]:
16530 Don't add a reference to ddisp->shell. Why was this done in
16537 Free all strings returned from xmlGetProp
16539 * app/modify_tool.c:
16542 * objects/custom/custom.c:
16543 Use closedir() after opendir().
16545 * objects/custom/shape_info.c:
16546 User g_free() instead of "if (tmp) free(tmp)".
16549 Add newline at end of file.
16552 1999-11-20 Alexander Larsson <alla@lysator.liu.se>
16554 Based on patch from Patrick Reynolds <reynolds@cs.duke.edu>
16555 Adds tool menu and keyboard shortcuts.
16557 * app/create_object.[ch]:
16558 Use tool_set() instead of tool_reset().
16559 create_create_object_tool() takes extra type argument
16565 Moved tool_data here, export it.
16566 Add separate tool type for all create objects tools.
16567 new functions tool_set().
16570 New callback tool_set_callback.
16573 Moved some pixmaps to interface.c.
16576 Remove tool_data array (moved to tool.c).
16577 Use the tool_data from tool.c.
16578 Remove modify_tool_button global var.
16580 1999-11-20 Alexander Larsson <alla@lysator.liu.se>
16582 Patch from Patrick Reynolds <reynolds@cs.duke.edu>
16585 Interprets command-line arguments as files to open even when
16586 HAVE_POPT is not defined.
16589 Shift-clicking when zooming zooms out, like the Gimp.
16592 Has hotkeys for zoom-100% and snap-to-grid.
16594 1999-11-17 James Henstridge <james@daa.com.au>
16596 * app/scroll_tool.c (scroll_motion): fixed shift style scrolling so
16597 that it is not jumpy.
16599 * app/Makefile.am (EXTRA_DIST): added extra files to extra dist list.
16601 * app/scroll_tool.c (scroll_motion): added `grabbing hand' type
16602 scrolling by pressing the shift key when using the scroll tool.
16604 * sheets/Makefile.am: fixed makefile so that install actually works
16605 if the directories $(pkgdatadir)/sheets/UML and $(pkgdatadir)/sheets/ER
16607 (SHEETS): install Circuit.sheet
16609 1999-11-15 Alexander Larsson <alla@lysator.liu.se>
16610 Patch from Cyrille Chepelov <chepelov@rmcnet.fr>
16612 * sheets/Circuit.sheet:
16615 * sheets/Flowchart.sheet:
16616 * sheets/UML.sheet:
16617 * sheets/network.sheet:
16618 * sheets/sybase.sheet:
16621 * sheets/Circuit.sheet:
16622 added some missing French translations
16625 killed the temporary sheet namespace
16627 * objects/custom/custom.c:
16628 obsolete comment cleaned up
16630 1999-11-12 Alexander Larsson <alla@lysator.liu.se>
16634 Added portugese translation from Pedro Morais
16635 <pmmm@rnl.ist.utl.pt>
16637 1999-11-11 Alexander Larsson <alla@lysator.liu.se>
16639 Changed all sheets to be specified in xml.
16640 All sheet objects removed from the C code.
16641 Patch from Cyrille Chepelov <chepelov@rmcnet.fr>
16646 Updated version to 0.81cvs.
16649 Update run_dia.sh with sheet-dir.
16652 Load all sheets on startup.
16653 Create sheet directory first time.
16654 Don't call custom_register_sheets().
16657 Add sheetdir define
16660 Remove custom_register_sheets().
16663 Add sheet loading code.
16665 * sheet/Circuit.sheet:
16668 * sheet/Flowchart.sheet:
16670 * sheet/network.sheet:
16671 * sheet/sybase.sheet:
16674 * sheet/ER/weakentity.xpm:
16675 * sheet/UML/aggregation.xpm
16676 * sheet/UML/umlclass_template.xpm
16677 Added sheet pixmaps.
16678 These are moved from their old places.
16680 * sheet/.cvsignore:
16684 Removed sheet objects and sheet registration.
16686 * objects/ER/Makefile.am:
16687 * objects/ER/pixmaps/weakentity.xpm:
16688 * objects/UML/Makefile.am:
16689 * objects/UML/pixmaps/aggregation.xpm:
16690 * objects/UML/pixmaps/umlclass_template.xpm:
16691 Removed alternative pixmaps. (Moved to sheet).
16693 * objects/custom/Makefile.am:
16694 * objects/custom/load_sheet.[ch]:
16695 Removed old sheet loading code.
16697 * objects/custom/custom.c:
16698 Load all shapes instead of sheets.
16699 Removed custom_register_sheets().
16701 * objects/custom/custom_object.c:
16704 * objects/custom/shape_info.[ch]:
16705 Added shape_info_getbyname().
16707 * objects/flowchart/Makefile.am:
16708 * objects/flowchart/collate.shape
16709 * objects/flowchart/delay.shape
16710 * objects/flowchart/display.shape
16711 * objects/flowchart/document.shape
16712 * objects/flowchart/extract.shape
16713 * objects/flowchart/flowchart.c
16714 * objects/flowchart/intstorage.shape
16715 * objects/flowchart/magdisk.shape
16716 * objects/flowchart/magdrum.shape
16717 * objects/flowchart/magtape.shape
16718 * objects/flowchart/manualinput.shape
16719 * objects/flowchart/manualop.shape
16720 * objects/flowchart/merge.shape
16721 * objects/flowchart/offlinestore.shape
16722 * objects/flowchart/offpageconn.shape
16723 * objects/flowchart/or.shape
16724 * objects/flowchart/predefdproc.shape
16725 * objects/flowchart/preparation.shape
16726 * objects/flowchart/punchedcard.shape
16727 * objects/flowchart/punchedtape.shape
16728 * objects/flowchart/sort.shape
16729 * objects/flowchart/sumjunction.shape
16730 * objects/flowchart/terminal.shape
16731 * objects/flowchart/transaction.shape
16732 * objects/flowchart/transmittape.shape
16733 * objects/flowchart/pixmaps/collate.xpm
16734 * objects/flowchart/pixmaps/delay.xpm
16735 * objects/flowchart/pixmaps/display.xpm
16736 * objects/flowchart/pixmaps/document.xpm
16737 * objects/flowchart/pixmaps/extract.xpm
16738 * objects/flowchart/pixmaps/intstorage.xpm
16739 * objects/flowchart/pixmaps/magdisk.xpm
16740 * objects/flowchart/pixmaps/magdrum.xpm
16741 * objects/flowchart/pixmaps/magtape.xpm
16742 * objects/flowchart/pixmaps/manualinput.xpm
16743 * objects/flowchart/pixmaps/manualop.xpm
16744 * objects/flowchart/pixmaps/merge.xpm
16745 * objects/flowchart/pixmaps/offlinestore.xpm
16746 * objects/flowchart/pixmaps/offpageconn.xpm
16747 * objects/flowchart/pixmaps/or.xpm
16748 * objects/flowchart/pixmaps/predefdproc.xpm
16749 * objects/flowchart/pixmaps/preparation.xpm
16750 * objects/flowchart/pixmaps/punchedcard.xpm
16751 * objects/flowchart/pixmaps/punchedtape.xpm
16752 * objects/flowchart/pixmaps/sort.xpm
16753 * objects/flowchart/pixmaps/sumjunction.xpm
16754 * objects/flowchart/pixmaps/terminal.xpm
16755 * objects/flowchart/pixmaps/transaction.xpm
16756 * objects/flowchart/pixmaps/transmittape.xpm
16757 Moved shapes and their pixmaps to shapes/flowchart
16759 * shapes/Circuit/Makefile.am:
16760 * shapes/Circuit/index.sheet:
16761 Removed index.sheet.
16763 * shapes/Makefile.am:
16764 * shapes/flowchart/Makefile.am:
16765 * shapes/flowchart/*.shape:
16766 * shapes/flowchart/*.xpm:
16767 Added flowchart shapes. (Moved from objects/flowchart)
16770 1999-11-07 Fredrik Hallenberg <hallon@lysator.liu.se>
16772 * app/app_procs.c: Fixed popt stuff.
16774 1999-11-01 James Henstridge <james@daa.com.au>
16776 * shapes/Circuit/[hv]led_de.{shape,xpm}: new circuit shapes from
16779 1999-10-31 Alexander Larsson <alla@lysator.liu.se>
16783 Update version to 0.81.
16786 Update with news for 0.81.
16788 * shapes/Circuit/*:
16789 * shapes/Circuit_eu/*:
16790 Moved european circuit objects to Circuit sheet.
16792 1999-10-31 Alexander Larsson <alla@lysator.liu.se>
16794 * lib/diagramdata.[ch]:
16795 Added layer_set_object_list() function.
16798 Added support for undo of reordered objects.
16799 Fix the undo of delete to keep the right order on undo.
16802 changed loop to object_add_updates_list() calls.
16803 Added undo support to bring to front/back.
16805 * app/disp_callbacks.c:
16806 * app/paginate_psprint.c:
16809 1999-10-30 Alexander Larsson <alla@lysator.liu.se>
16811 This plugs some leaks. Thanks to
16812 Bruce Mitchener <bruce@cybersight.com> for running
16813 Dia through purify for me.
16816 Free displays and diagrams on exit.
16818 * app/modify_tool.c:
16819 Free gc when freeing tool.
16821 * lib/diagramdata.c:
16825 Free update and display lists when destroying display.
16827 * lib/diagramdata.c:
16828 Don't leak layer name.
16830 * objects/custom/load_sheet.c:
16831 * objects/custom/shape_info.c:
16832 Free loaded xml documents.
16834 1999-10-28 Alexander Larsson <alla@lysator.liu.se>
16837 * app/object_ops.[ch]:
16838 Add undo handling to alignment ops.
16839 Based partially on patch by Dan Cohn <dan@internap.com>.
16841 * objects/standard/image.c (image_move_handle):
16842 Don't divide by zero for small images.
16843 Patch by Dan Cohn <dan@internap.com>.
16845 * objects/UML/class.c (umlclass_destroy):
16846 * objects/custom/custom_object.c (custom_destroy):
16847 Don't free connectionpoints before calling element_destroy
16848 which unconnects them.
16850 1999-10-26 Alexander Larsson <alla@lysator.liu.se>
16852 * objects/custom/custom_object.c:
16853 Load and save padding too. Fixes strange load crashes.
16855 * app/group.c (group_destroy):
16856 Don't unconnect already freed connectionpoints when
16857 destroying group. Probably fixes bug reported by
16858 Elliot Lee <sopwith@redhat.com>.
16860 * app/render_gdk.c:
16861 Don't crash on zero-size (broken) bezier curves.
16862 Different sort of fix. This should work on closed bezier curves
16865 * objects/standard/textobj.c:
16866 Activate default properties dialog for Text objects.
16868 * app/render_eps.c:
16870 * app/preferences.c:
16871 * app/render_svg.c:
16872 fopen files in binary or text mode.
16874 1999-10-26 Alexander Larsson <alex@cendio.se>
16876 * app/render_gdk.c (bezier_add_lines):
16877 Don't crash on zero-size (broken) bezier curves.
16878 Fixes a crashing bug.
16880 1999-10-25 James Henstridge <james@daa.com.au>
16882 * app/Makefile.am (run_dia.sh): allow dia to find internal shape files
16883 before it is installed.
16885 * objects/flowchart/flowchart.c: use relative paths to find shapes.
16887 * objects/custom/custom.c (custom_object_load): take file names
16888 relative to $(pkgdatadir)/shape-internal, and check an environment
16889 variable for an alternative directory.
16891 * app/...: added copyright messages to the top of my new code.
16893 * app/paginate_psprint.c: some general clean ups. Also, give an error
16894 dialog if we can't open the command or output file for writing.
16896 * app/diapagelayout.c (dia_page_layout_set_orientation): fixed
16897 function so it would set orientation to landscape correctly.
16899 * app/paginate_psprint.c: use the paper settings that come with
16900 the diagram. Also implemented landscape printing.
16902 * app/render_eps.c (new_psprint_renderer): use diagram paper metrics
16905 * app/commands.[ch] (file_pagesetup_callback): added callback for
16906 the page setup dialog.
16908 * app/menus.c: added page setup menu item.
16910 * app/pagesetup.[ch]: implementation of the page setup dialog.
16912 * app/diapagelayout.[ch]: added accessors for the scaling factor.
16914 * app/load_save.c (diagram_load): load paper information from save
16916 (diagram_save): save the paper info.
16918 * lib/diagramdata.c (new_diagram_data): initialise paper info section
16919 of DiagramData structure.
16920 (diagram_data_destroy): free the paper name.
16922 * lib/diagramdata.h: added a paper member to the DiagramData structure
16923 that holds the page layout info for a diagram.
16925 1999-10-21 Alexander Larsson <alla@lysator.liu.se>
16927 * objects/flowchart/box.c:
16928 * objects/flowchart/ellipse.c:
16929 * objects/flowchart/diamond.c:
16930 * objects/flowchart/parallelogram.c:
16931 Load and save padding too. Fixes strange load crashes.
16933 1999-10-21 Alexander Larsson <alla@lysator.liu.se>
16935 * app/app_procs.c (name_is_lib):
16936 .dll, .sl and .so.0.0.0 are also libraries.
16938 1999-10-20 James Henstridge <james@daa.com.au>
16940 * configure.in: added extra makefile.
16942 * shapes/Circuit_eu/*: a new set of european circuit shapes from
16943 Andreas Scherf <scherfa@fh-trier.de>. Made a few small modifications
16944 (added fuses to makefile, fill the area of some of the components).
16946 1999-10-19 Alexander Larsson <alla@lysator.liu.se>
16950 Add GDK_IMLIB_CFLAGS to includes.
16951 Changed --export-dynamic to -export-dynamic
16954 * objects/UML/message.c:
16955 Removed c++ comment.
16957 * lib/render_store.[ch]:
16958 Don't use empty structure. That is not Ansi C.
16960 1999-10-19 James Henstridge <james@daa.com.au>
16962 * app/diapagelayout.c (dia_page_layout_init): use DiaUnitSpinner's for
16963 the margin entries, as they allow interpretation of units.
16964 (paper_size_change): display the current page dimensions.
16966 * app/diaunitspinner.[ch]: a widget derived from the standard
16967 GtkSpinButton that tries to take units into account. So if you enter
16968 "1in" into the entry, it will convert it to 2.54cm.
16970 1999-10-18 Alexander Larsson <alla@lysator.liu.se>
16973 Removed include of dlfcn.h
16975 1999-10-18 James Henstridge <james@daa.com.au>
16977 * app/diapagelayout.c (paper_size_change, orient_changed): set upper
16978 bound on margin widths. It is set to the paper width/height.
16980 * objects/flowchart/diamond.c (diamond_distance_from): fixed distance
16981 routine for the diamond. This bug was found and fixed by Daniel Wang
16982 <danwang@CS.Princeton.EDU>
16984 Sun Oct 17 19:46:36 1999 ape@gandalf.spacetec.no (Asbjorn Pettersen)
16986 * app/commands.c: Add <sys/types.h> before <sys/stat.h> to
16987 remove warning (OS/2 version).
16989 1999-10-17 Alexander Larsson <alla@lysator.liu.se>
16992 Put a pointer to objects/custom/README.
16994 1999-10-17 Alexander Larsson <alla@lysator.liu.se>
16997 Updated version to 0.80
17000 Updated version to 0.80cvs
17002 1999-04-08 Alexander Larsson <alla@lysator.liu.se>
17004 * Released Dia 0.80
17005 Tag called DIA_0_80
17007 1999-10-17 Fredrik Hallenberg <hallon@lysator.liu.se>
17011 * objects/UML/Makefile.am
17012 * objects/ER/Makefile.am
17013 * objects/network/Makefile.am
17014 * objects/standard/Makefile.am
17015 * objects/FS/Makefile.am
17016 * objects/sybase/Makefile.am
17017 * objects/flowchart/Makefile.am
17018 * objects/custom/Makefile.am
17019 Added -I$(top_srcdir)/intl which is needed for
17020 --with-included-gettext.
17026 Updated swedish translation.
17028 1999-10-16 Alexander Larsson <alla@lysator.liu.se>
17031 Updated version number to 0.80.
17037 Updated. Moved bugs to KNOWN_BUGS.
17040 Updated with 0.80 release notes.
17042 1999-10-16 Alexander Larsson <alla@lysator.liu.se>
17045 For backwards compatibility, make sure handle 0 and 1 are the
17046 first and last handle. Fixes compatibility with 0.41, breaks
17047 compatibility with cvs version.
17048 Fixed bug in undo/redo of adding deleting endpoint segments
17049 when the endpoint was connected.
17050 Start OrthConn objects with three segments.
17052 1999-10-16 James Henstridge <james@daa.com.au>
17054 * objects/custom/custom_object.c (custom_update_data): changed
17055 resizing behaviour a bit so that shapes don't grow huge when you try
17056 to resize them to smaller than the size required by the text box.
17057 Also, now shapes will not grow with fixed aspect ratio when you enter
17058 text into them unless the shape has the fixed aspect ratio flag set.
17060 1999-10-15 James Henstridge <james@daa.com.au>
17062 * objects/flowchart/flowchart.c: add new shapes to flowchart sheet.
17064 * object/flowchart/pixmaps/...: corresponding pixmaps for new shapes.
17066 * objects/flowchart/magdrum.shape:
17067 * objects/flowchart/offlinestore.shape:
17068 * objects/flowchart/punchedtape.shape:
17069 * objects/flowchart/transmittape.shape:
17070 * objects/flowchart/punchedcard.shape: new shapes.
17072 * objects/flowchart/flowchart.c: add new shapes to flowchart sheet.
17074 * object/flowchart/pixmaps/...: corresponding pixmaps for new shapes.
17076 * objects/flowchart/collate.shape:
17077 * objects/flowchart/delay.shape:
17078 * objects/flowchart/extract.shape:
17079 * objects/flowchart/intstorage.shape:
17080 * objects/flowchart/magdisk.shape:
17081 * objects/flowchart/magtape.shape:
17082 * objects/flowchart/merge.shape:
17083 * objects/flowchart/or.shape:
17084 * objects/flowchart/sort.shape:
17085 * objects/flowchart/sumjunction.shape: new shapes.
17087 1999-10-15 Alexander Larsson <alla@lysator.liu.se>
17091 Entering an erronous command as print command
17094 * app/paginate_psprint.c:
17095 Save all print dialog values for next time.
17098 Remove custom lib from DIA_LIB_PATH.
17100 1999-10-14 James Henstridge <james@daa.com.au>
17102 * objects/flowchart/flowchart.c: add new shapes to flowchart sheet.
17104 * object/flowchart/pixmaps/...: corresponding pixmaps for new shapes.
17106 * objects/flowchart/offpageconn.shape:
17107 * objects/flowchart/manualop.shape:
17108 * objects/flowchart/preparation.shape:
17109 * objects/flowchart/manualinput.shape:
17110 * objects/flowchart/predefdproc.shape:
17111 * objects/flowchart/terminal.shape: new shapes in the flowchart sheet.
17113 1999-10-13 James Henstridge <james@daa.com.au>
17115 * app/diapagelayout.[ch]: added accessors to paper information. The
17116 widget should be just about complete now.
17118 * app/diapagelayout.[ch]: fleshed out the page setup widget a bit more.
17119 It actually does something now.
17121 1999-10-12 James Henstridge <james@daa.com.au>
17123 * app/pixmaps/portrait.xpm, app/pixmaps/landscape.xpm: support pixmaps
17124 for the page layout widget.
17126 * app/diapagelayout.[ch]: start of page layout widget. Not actually
17127 built yet as it is not complete.
17129 * objects/flowchart/flowchart.c: added new shapes to sheet.
17131 * objects/flowchart/display.shape:
17132 * objects/flowchart/transaction.shape: new shapes.
17134 * AUTHORS: added my name to the spec file.
17136 * dia.spec: include the dia desktop entry to the spec file.
17138 * Makefile.am: install the dia.desktop file.
17140 * dia.desktop: added a gnome desktop entry so you can start dia
17141 from the gnome panel menu.
17143 1999-10-11 James Henstridge <james@daa.com.au>
17145 * objects/custom/custom_object.c:
17146 * objects/custom/shape_info.c: warning fixes.
17148 * objects/flowchart/document.shape: a shape file for the `document'
17151 * lib/custom.h: new header with the custom shape prototypes.
17153 * app/app_procs.c: register custom objects as well.
17154 (register_objects_in): close shared libraries if they don't load
17155 correctly, and call g_module_make_resident on libraries that load
17158 * app/Makefile.am (dia_LDADD): added libcustom_objects.a to link list.
17160 * objects/custom/custom.c: removed get_version, added custom_ prefix
17161 to register_objects and register_sheets.
17163 * objects/custom/Makefile.am: converted to a normal library.
17165 1999-10-10 Alexander Larsson <alla@lysator.liu.se>
17167 * app/lineprops_area.c:
17168 * app/render_svg.c:
17170 * objects/custom/shape_info.c:
17171 * objects/flowchart/box.c:
17172 * objects/flowchart/diamond.c:
17173 * objects/flowchart/ellipse.c:
17174 * objects/flowchart/parallelogram.c:
17175 * objects/network/flash.c:
17176 * objects/network/scead-plug.c:
17177 * objects/sybase/client.c:
17178 Removed -Wall warnings.
17180 * objects/network/bus.c:
17181 Removed unused functions.
17183 * objects/FS/flow-ortho.c:
17184 * objects/FS/flow-poly.c:
17185 * objects/FS/flow.c:
17186 * objects/FS/function.c:
17188 Implemented "non-implemented" undo for FS objects.
17189 Now at least it won't crash.
17191 1999-10-10 Alexander Larsson <alla@lysator.liu.se>
17193 * objects/network/bus.c:
17195 Handles are now added and removed using the object menu.
17196 Default to 6 handles instead of 10.
17197 Changed name from "Standard - Bus" to "Network - Bus". Kept old
17198 name for backwards compatibility.
17200 * objects/network/network.c:
17201 Changed name from "Standard - Bus" to "Network - Bus". Kept old
17202 name for backwards compatibility.
17204 * app/properties.[ch]:
17206 Update properties in properties dialog if the shown object
17207 is part of and ObjectChange (undo or redo).
17210 Remove old known bugs list.
17212 * objects/UML/class_dialog.c:
17213 Removed debug printf's.
17215 1999-10-10 James Henstridge <james@daa.com.au>
17217 * objects/custom/custom.c (custom_object_load): new function that
17218 provides a nice entry point to the custom shape code for when it
17219 gets used by other libraries.
17221 * configure.in: removed 11 makefiles from AC_OUTPUT list. This
17222 speeds builds up a bit.
17224 * */Makefile.am (EXTRA_DIST): include pixmaps in distribution.
17225 (SUBDIRS): do not descend into pixmaps subdirs.
17227 * */pixmaps/Makefile.am: removed -- incorporate into parent makefiles.
17228 This speeds up build process.
17230 * objects/custom/custom.c (sheets): made variable static.
17232 * objects/custom/custom_util.[ch] (custom_get_relative_filename):
17235 * objects/custom/load_sheet.[ch] (custom_sheet_load): renamed function.
17237 * objects/custom/custom.c: look in ~/.shapes instead of
17238 ~/.dia_shapes as the per-user shapes directory.
17240 * app/preferences.c (prefs_save): save config to ~/.diarc.
17241 (prefs_load): load configuration from ~/.diarc. If the file
17242 does not exist, fallback on the old ~/.diarc location.
17244 * app/app_procs.c (create_user_dirs): create the ~/.dia directory
17246 (register_all_objects): look for user specific objects in
17247 ~/.objects rather than ~/.dia_libs.
17249 1999-10-10 Fredrik Hallenberg <hallon@lysator.liu.se>
17253 * objects/flowchart/box.c
17254 * objects/flowchart/ellipse.c
17255 * objects/flowchart/flowchart.c
17256 Use gmodule for dynamic linking. As gmodule is using
17257 RTLD_GLOBAL i had to change flowchart box and ellipse
17258 so the typenames doesn't conflict with the standard
17263 Use button box to make dialogs look better.
17265 1999-10-09 Alexander Larsson <alla@lysator.liu.se>
17267 * objects/UML/class_dialog.c:
17268 * objects/UML/class.h:
17269 Implemented undo for "UML - Class" objects.
17270 Not 100% tested yet.
17272 * objects/UML/classicon.c:
17273 * objects/UML/constraint.c:
17274 * objects/UML/dependency.c:
17275 * objects/UML/generalization.c:
17276 * objects/UML/implements.c:
17277 * objects/UML/large_package.c:
17278 * objects/UML/lifeline.c:
17279 * objects/UML/message.c:
17280 * objects/UML/object.c:
17281 * objects/UML/realizes.c:
17282 * objects/UML/state.c:
17283 * objects/UML/usecase.c:
17286 * lib/connectionpoint.h:
17289 1999-10-09 James Henstridge <james@daa.com.au>
17291 * objects/custom/*.[ch]: added copyright notices to custom object
17294 * shapes/Circuit/hdiode.shape:
17295 * shapes/Circuit/hzener.shape:
17296 * shapes/Circuit/opamp.shape:
17297 * shapes/Circuit/vdiode.shape:
17298 * shapes/Circuit/vzener.shape: made adjustments to make the circuit
17299 shapes look nice after the custom shape code changes.
17301 * objects/custom/README: updated docs to cover changes to drawing
17304 * objects/custom/custom_object.c (custom_draw): honour the line
17305 properties when drawing the shape.
17307 * objects/custom/shape_info.[ch]: added support for setting line
17308 properties for individual drawing elements in a custom shape. You
17309 can set the dash style, dash length, cap style and join style.
17311 1999-10-07 James Henstridge <james@daa.com.au>
17313 * objects/custom/shape_info.c (parse_style): added a few extra synonyms
17314 for foreground and background.
17316 * objects/custom/custom_object.c (custom_draw): use the new style
17317 information when drawing the object.
17319 * objects/custom/shape_info.[ch]: store all shape style info in the
17320 GraphicStyle structure. This makes adding support for extra CSS
17321 attributes easier -- we don't have to keep adding extra arguments to
17322 a lot of functions.
17324 1999-10-05 James Henstridge <james@daa.com.au>
17326 * lib/intl.c (unalias_lang): merged in changes from the i18n code
17327 swiped from gnome-libs.
17329 1999-10-03 Alexander Larsson <alla@lysator.liu.se>
17331 * objects/standard/image.c (get_directory):
17332 Fix memleak. Found by Kjartan Maraas <kmaraas@online.no>
17334 1999-09-28 Alexander Larsson <alla@lysator.liu.se>
17336 * lib/poly_conn.c (polyconn_destroy):
17337 Fix bug. Access of freed memory.
17338 Rememeber, you can't free the handles of an object
17339 before calling object_destroy(), as it unconnects the handles
17340 therefore referencing them.
17342 1999-09-28 Alexander Larsson <alla@lysator.liu.se>
17345 undo_clear() didn't set stack->depth to zero.
17346 This made other undo functions crash after this had been called
17350 Slightly modified by Chris Love <clove@exactis.com>
17352 1999-09-19 Alexander Larsson <alla@lysator.liu.se>
17354 * objects/UML/class.h:
17355 * objects/UML/class_dialog.c:
17356 Retrun NULL ObjectChange on class property change.
17357 This means no crashes, but "UML - Class" doesn't support undo yet.
17359 1999-09-19 Alexander Larsson <alla@lysator.liu.se>
17364 * objects/UML/classicon.c:
17365 * objects/UML/dependency.c:
17366 * objects/UML/generalization.c:
17367 * objects/UML/implements.c:
17368 * objects/UML/large_package.c:
17369 * objects/UML/lifeline.c:
17370 * objects/UML/message.c:
17371 * objects/UML/object.c:
17372 * objects/UML/realizes.c:
17373 * objects/UML/state.c:
17374 * objects/UML/usecase.c:
17375 Update to new undo (w. get/set_state).
17376 Add object menu to add/delete segments.
17378 1999-09-17 Alexander Larsson <alla@lysator.liu.se>
17381 Add equal distance alignment.
17383 * app/object_ops.c:
17384 Add equal distance alignment.
17385 Fix bug in adjacent alignment.
17387 1999-09-16 Alexander Larsson <alla@lysator.liu.se>
17389 * objects/UML/constraint.c:
17390 Update to new undo (w. get/set_state).
17392 1999-09-15 Alexander Larsson <alla@lysator.liu.se>
17394 * app/paginate_psprint.c:
17395 Save (parts, more todo) of the info in the print dialog to the
17396 next time it's opened.
17397 Patch from Yo Ric Dude <ricdude@toad.net>
17399 1999-09-14 Alexander Larsson <alla@lysator.liu.se>
17402 Updated version string to 0.41cvs.
17404 * objects/UML/assocition.c:
17405 Update to new undo (w. get/set_state).
17406 Add object menu to add/delete segments.
17409 Added function debug_break() and called it after all
17410 objects and sheets are loaded. Place a breakpoint here if you
17411 want to debug objects. All symbols should be loaded.
17413 1999-09-12 James Henstridge <james@daa.com.au>
17415 * app/menus.c (display_menu_items): added print menu item.
17416 (filemenu): always add print menu item -- even if gnome-print is
17419 * app/commands.h, app/commands.c (file_print_callback): the print
17420 menu item is now available for both gnome-print and non gnome-print
17423 * app/paginate_psprint.c (diagram_print_ps): show a dialog to let you
17424 print with the non gnome-print driver.
17426 1999-09-11 James Henstridge <james@daa.com.au>
17428 * app/paginate_gnomeprint.c (diagram_print_gnome): moved the gnome
17429 printer dialog code out of commands.c.
17431 * app/paginate_psprint.c: new file containing the pagination code for
17434 * app/render_eps.c: made a few modifications so as well as producing
17435 EPS files, this renderer can be set up to do postscript printing.
17436 This basically entailed adding an extra function to create a RenderEPS
17437 renderer which did not bother setting the viewport for the document.
17438 That was left for the pagination code.
17440 1999-09-10 James Henstridge <james@daa.com.au>
17442 * app/render_gnomeprint.c (draw_ellipse, fill_ellipse): since
17443 gnome-print does not support elliptic arcs at the moment, approximate
17444 the ellipse with eight bezier curves. This gives a pretty good
17445 match to a true ellipse.
17447 1999-09-09 James Henstridge <james@daa.com.au>
17449 * app/commands.c (file_gnome_print_callback): added support for
17450 scaling the diagram. Also fixed a few other bugs.
17452 * app/paginate_gnomeprint.c (print_page): added ability to scale
17453 document. Fixed up test to see if the page has no objects on it.
17454 This should prevent some blank pages being printed. Non square
17455 objects such as lines could still cause problems.
17457 1999-09-08 James Henstridge <james@daa.com.au>
17459 * app/commands.c (file_gnome_print_callback): changed from using the
17460 standard printer selection dialog to one that also has a paper size
17463 * commands.[ch]: added callbacks for the print menu item. Currently
17464 it only does A4 output. I will make it configurable soon.
17466 * app/menus.c: add a print diagram menu item if gnome-print support
17469 * app/paginate_gnomeprint.c, app/paginate_gnomeprint.h: this is a
17470 bit higher level than the gnome-print renderer. It splits the
17471 diagram into page size chunks and then renders them. For each
17472 page, it only renders the objects whose bounding box intersects
17473 the page, and it sets the clip mask so that the diagram does not
17474 overlap the margins.
17476 * app/render_gnomeprint.c, app/render_gnomeprint.h: added a renderer
17477 that uses gnome-print as its back end.
17479 * configure.in: added a check for gnome-print. It is disabled by
17480 default because the code is not really working correctly yet.
17482 * app/menus.c: the delete object menu item was missing from the
17483 GnomeUIInfo style menus.
17485 1999-09-07 Fredrik Hallenberg <hallon@lysator.liu.se>
17488 Added japanese to ALL_LINGUAS.
17489 Fix for Linux on Alpha.
17491 1999-09-07 Alexander Larsson <alla@lysator.liu.se>
17493 * app/create_object.c (create_object_button_press):
17494 Always initialize tool->obj. Otherwise we store a null
17495 in the undo Change.
17498 Set linestyle before drawing cursor.
17499 Fix undo of backwards delete.
17501 1999-09-05 James Henstridge <james@daa.com.au>
17503 * dia.spec: updated spec file to distribute $(prefix)/share/dia.
17505 * app/render_svg.c (draw_image): some fixes so that the appropriate
17506 style attributes are set. Before it was setting line styles on
17507 fill_* functions. Now it only does this for the draw_* variants.
17509 * app/Makefile.am (run_dia.sh): set the DIA_SHAPE_PATH environment
17510 variable so that custom shapes can be loaded.
17512 * shapes/: new directory for custom shapes. The Circuit sheet has
17515 1999-09-02 James Henstridge <james@daa.com.au>
17517 * TODO: removed a few todo items that have been implemented.
17519 * app/interface.c (create_sheets): enabled the popup page menu to the
17520 notebook. This can make it easier to select different sheets.
17522 * object/custom/Circuit/: added diode, zener diode, ground point and
17523 operational amplifier shapes.
17525 * objects/custom/Makefile.am: added a note about adding DEBUG_CUSTOM
17526 if you want the output.
17528 * objects/custom/shape_info.c (parse_path): same here.
17530 * objects/custom/load_sheet.c (load_with_readdir): don't print so
17531 much debugging output. To get the previous level of output, define
17534 * objects/custom/shape_info.c (parse_svg_node): polygons were being
17535 recorded as polylines in the ShapeInfo structure.
17537 * objects/custom/README: some notes on writing new custom shapes.
17539 1999-09-01 James Henstridge <james@daa.com.au>
17541 * objects/custom/Circuit/hinductor.*:
17542 * objects/custom/Circuit/vinductor.*: added inductor shapes that
17543 also test out the bezier curve and SVG path support.
17545 * objects/custom/custom_object.c (custom_draw): added support for
17546 drawing bezier paths and filled shapes.
17548 * objects/custom/shape_info.c (parse_path): new function to parse
17549 SVG path elements. It does not do quadratic beziers or elliptic
17550 arcs though. Only moves, lines and cubic beziers.
17551 (*): added support for paths.
17553 1999-08-31 James Henstridge <james@daa.com.au>
17555 * objects/sybase/ltm.c (render_to_store): use the newer bezier API.
17557 * app/render_svg.c (draw_bezier, fill_bezier): updated renderer
17560 * app/render_eps.c (draw_bezier, fill_bezier): updated renderer
17563 * app/render_gdk.c (draw_bezier, fill_bezier): updated renderer
17566 * lib/render_store.[ch]: use newer bezier functions.
17568 * lib/render.h: changed the bezier drawing functions to use an array
17569 of BezPoint structures instead of normal Point structures to allow
17570 lineto's mixed in with the curveto's.
17572 * objects/custom/Circuit/pnp.*: added pnp transistor shape.
17574 * objects/custom/Circuit/Makefile.am (SHAPES): added index.sheet and
17575 xpm images for different shapes to Makefile.
17577 * objects/custom/custom_object.c (custom_object_new): set the icon
17578 for the sheet button if there is one. Otherwise fall back on the
17579 default custom object icon.
17581 * objects/custom/shape_info.c (load_shape_info): read the sheet
17582 icon name from the shape file.
17584 * app/interface.c (create_sheet_page): if sheet_obj->pixmap == NULL,
17585 check the pixmap_file field for the name of a pixmap file to load
17588 * lib/sheet.h (SheetObj): added pixmap_file field to structure. It is
17589 at the end of the structure, and it isn't used if the pixmap field
17590 is non NULL, so it should not break binary compatibility.
17592 * objects/custom/load_sheet.[ch]: moved sheet loading code here. Also
17593 added support for the use of an index.sheet file so you can specify
17594 the ordering of the shapes in the sheet, and also internationalise
17595 the sheet name and actually be able to give a description. The old
17596 readdir based sheet loading code acts as a fallback if an index.sheet
17597 file can not be found.
17599 * objects/custom/custom_util.[ch]: new file containing useful routines
17600 needed by the custom object code. Currently only contains a simple
17601 routine for resolving relative paths.
17603 * objects/custom/custom_object.c (custom_draw): fixed problem with
17604 drawing rectangles if the shape has been flipped.
17606 1999-08-30 James Henstridge <james@daa.com.au>
17608 * objects/custom/custom_object.c (custom_get_object_menu): allow
17609 flipping of custom shapes. This uses the miggle click object
17612 * objects/custom/Circuit/npn.shape: fix aspect ratio.
17614 * objects/custom/custom_object.c (custom_update_data): honour the
17615 aspect ratio constraints.
17617 * objects/custom/shape_info.c (load_shape_info): updated aspect ratio
17618 tag parsing, so you can specify a free, fixed or a range for aspect
17619 ratios for the shape.
17621 1999-08-29 James Henstridge <james@daa.com.au>
17623 * objects/custom/test.xml, objects/custom/Circuit/*.shape: fixed
17624 up shape namespace tag.
17626 * objects/custom/shape_info.c (load_shape_info): check xml:lang
17627 attribute on <description> elements to support i18n for custom
17628 shape descriptions.
17629 Also changed the shape namespace for custom shapes to something
17630 a little more sensible.
17632 * lib/dummy_dep.h (dummy_dep): added extra dummy dependency.
17634 * lib/intl.c: new file containing some functions for i18n stuff.
17636 * app/layer_dialog.c (create_button_box): fixed a warning.
17638 * objects/custom/custom_object.c: use current line style. Save dash
17641 * objects/flowchart/diamond.c: use current line style. Save dash
17644 * objects/flowchart/parallelogram.c: use current line style. Save
17647 * objects/flowchart/ellipse.c: use current line style. Save dash
17650 * objects/flowchart/box.c: use current line style. Save dash length.
17652 * objects/standard/ellipse.c: make ellipse use current line style.
17654 * objects/standard/box.c: use the line style set in the toolbox for
17655 new boxes, and remember the dash length.
17657 * app/commands.c (view_toggle_rulers_callback): fix reshowing of
17660 1999-08-24 James Henstridge <james@daa.com.au>
17662 * objects/flowchart/ellipse.c (ellipse_update_data): made some changes
17663 to try to stop ellipse to get infinite width/height when we resize,
17664 while trying to keep the text inside the ellipse.
17666 * objects/flowchart/box.c, objects/flowchart/parallelogram.c,
17667 * objects/flowchart/diamond.c, objects/flowchart/ellipse.c: fixed
17668 resizing behaviour, so that you can't push objects round the screen
17669 with the resize handles.
17671 * app/lineprops_area.c (dia_arrow_chooser_init, dia_line_chooser_init):
17672 get the OK buttons in the dialogs to take default clicks.
17674 * objects/custom/custom_object.c: added code so that resizing the
17675 shape does not end up pushing it round the screen.
17677 1999-08-23 Alexander Larsson <alla@lysator.liu.se>
17679 * app/display.[ch]:
17680 Generate rectangle with the union of the damaged regions.
17681 This is used to optimize the grid paint and the object rendering.
17682 display_render_pixmap passes this info to grid_draw() and data_render().
17685 grid_draw doesn't draw grid lines outside of damaged rectangle.
17686 Sets dashlength when drawing non-solid grid.
17688 * lib/diagramdata.[ch]:
17689 data_render() and layer_render() takes an optional damaged rectangle
17690 argument. No objects not intersecting this are drawn.
17694 Call data_render with NULL update rectangle.
17696 1999-08-23 James Henstridge <james@daa.com.au>
17698 * objects/custom/custom_object.c (custom_update_data): if the aspect
17699 ratio is fixed, make sure the shape is not distorted.
17701 * object/custom/shape_info.h, objects/custom/shape_info.c: notice if
17702 a <fixaspectratio/> tag is given in the shape file.
17704 * objects/custom/shape_info.[ch], objects/custom/custom_object.c:
17705 added support for stroke-width, stroke and fill CSS attributes
17706 specified in style attributes of the SVG elements. The line width
17707 is relative to the user specified line width. The stroke and fill
17708 attributes can only be used to swap the foreground/background
17711 * lib/widgets.c (dia_line_style_selector_set_linestyle): set the
17712 sensitivity on the dash length selector when this function is called.
17714 * objects/standard/arc.c: same. Also handle dash length.
17715 * objects/standard/zigzagline.c: same.
17716 * objects/standard/polyline.c: same. Also handle dash length.
17717 * objects/standard/line.c: use default arrow/line styles.
17719 * app/interface.c: added callbacks to set the default attributes.
17721 * lib/attributes.c: added implementations of these functions.
17723 * lib/attributes.h: added extra prototypes for the new line properties
17724 area in the toolbox.
17726 * app/interface.c (create_lineprops_area): added line properties
17727 area to bottom of toolbox.
17729 * app/lineprops_area.h: a header exporting a few routines of the
17730 line properties area widgets.
17732 * app/lineprops_area.c: new file containing a selector for arrows
17733 and line styles to go in the main toolbox.
17735 1999-08-22 Alexander Larsson <alla@lysator.liu.se>
17738 Update Gtk+ 1.0.5 comment to 1.2.0.
17747 Make sure we don't propagate -ldl and -lpopt to all LIBS
17748 by adding new var APP_LIBS that only app/dia links with.
17751 Update run_dia.sh to load custom and flowchart objects.
17753 * objects/ER/Makefile.am:
17754 * objects/FS/Makefile.am:
17755 * objects/UML/Makefile.am:
17756 * objects/network/Makefile.am:
17757 * objects/standard/Makefile.am:
17758 * objects/sybase/Makefile.am:
17759 Don't build versioned libs.
17761 1999-08-22 James Henstridge <james@daa.com.au>
17763 * configure.in: added objects/custom/Circuit/Makefile to AC_OUTPUT
17766 * objects/Makefile.am (SUBDIRS): added custom to subdir list -- it
17767 should actually work a bit now.
17769 * objects/custom/Circuit/*: a test sheet for the custom shape code.
17770 It is a small collection of circuit elements.
17772 * objects/custom/shape_info.c: fixed up loading of polylines and
17773 polygons. Before it was removing negative signs :(
17775 * objects/custom/pixmaps/custom.xpm: drew the custom shape icon. A
17776 placeholder was here before. I still need to work out how to set
17777 icons for individual custom shapes.
17779 * objects/custom/custom.c: added code to load the shapes into sheets
17780 properly. The shape files should be arranged into directories, and
17781 each directory represents a different sheet in the toolbox. This
17782 will make it very easy to distribute a collection of dia shapes as
17783 a tarball. I still need to work out internationalisation, and maybe
17784 also shape ordering in the sheet.
17786 * objects/custom/custom_object.c: fixed up dialogs for these objects.
17787 (custom_create): fix for objects without text areas.
17789 * objects/custom/shape_info.h, objects/custom/custom_object.c: loading
17790 and saving of custom object works correctly now.
17792 1999-08-21 James Henstridge <james@daa.com.au>
17794 * objects/flowchart/ellipse.c:
17795 * objects/flowchart/diamond.c:
17796 * objects/flowchart/parallelogram.c:
17797 * objects/flowchart/box.c: Fixed up a few bugs in these objects when
17798 copying or loading these object types. Not all the connection
17799 points would be initialised correctly.
17801 * objects/flowchart/Makefile.am (libflowchart_objects_la_LDFLAGS):
17804 * objects/custom/Makefile.am (libcustom_objects_la_LDFLAGS): do not
17805 build a versioned library. It will only ever be dlopen'd, so this
17808 * objects/custom/custom_object.c (custom_distance_from): allow
17809 selecting the object by clicking on the text. This fixes problems
17810 where the text box is outside the graphic.
17812 * objects/custom/shape_info.c (load_shape_info): fixed up reading
17813 of connections points. It should be possible to add connections
17814 to custom objects now.
17816 * objects/custom/custom_object.c (custom_update_data): fixed resizing
17817 due to changes to text.
17819 * configure.in: added extra makefiles.
17821 * objects/custom/shape_info.[ch]:
17822 * objects/custom/custom_object.c:
17823 * objects/custom/custom.c: the starts of custom shape support in dia.
17824 This is not built by default at the moment, since it is not quite
17825 complete. When it is, it will let you create more shapes for dia
17826 without writing a line of C. Its implementation includes buzzwords
17827 such as XML and SVG, so it must be good :)
17829 1999-08-19 Karsten Weiss <karsten@addx.au.s.shuttle.de>
17831 * app/app_procs.c (app_exit): Use button labels "Quit" and
17832 "Cancel" instead of "Yes" and "No".
17833 Set default action to "Cancel" instead of "Quit".
17835 1999-08-19 James Henstridge <james@daa.com.au>
17837 * objects/flowchart/flowchart.c: added ellipse object.
17839 * objects/flowchart/ellipse.c: a new shape for the flowchart toolbox.
17841 1999-08-18 James Henstridge <james@daa.com.au>d
17843 * app/color_area.c (color_area_edit): small fix to prevent dia from
17844 segfaulting when you try to change the default foreground/background.
17846 1999-08-17 Alexander Larsson <alla@lysator.liu.se>
17848 * app/diagram.[ch] (diagram_redraw_all):
17849 Added function that redraws all diagrams.
17851 * app/preferences.c (prefs_apply):
17852 Call diagram_redraw_all when prefs are changed.
17854 * app/render_svg.c:
17855 Don't use xmlEncodeEntitiesReentrant(). It doesn't exist on
17856 older libxml's, and the old version works good enought here.
17858 1999-08-17 James Henstridge <james@daa.com.au>
17860 * lib/widgets.c: changed handlers that were connected to the GtkButton
17861 "pressed" signal to connect to the "clicked" signal. This removes the
17862 problem where dialogs are inactive until you click a mouse button
17863 after using a colour selector.
17865 * configure.in: added extra makefiles to AC_OUTPUT list.
17867 * objects/Makefile.am (SUBDIRS): added flowchart module
17869 * objects/flowchart/*: a collection of shapes for use in flowcharts.
17871 * app/color_area.c (color_area_events): similar here.
17873 * app/linewidth_area.c (linewidth_area_events): sometimes a configure
17874 event is recieved with event->width == 0, which causes a warning if we
17875 try to create a pixmap of that width.
17877 * app/preferences.c, app/preferences.h, app/grid.c: added code to
17878 allow you to configure the colour of the grid, and also lets you
17879 set the grid to use dotted lines instead of solid ones.
17881 * app/commands.c, app/commands.h, app/diagram.c, app/diagram.h,
17882 app/menus.c, app/Makefile.am: added menu entry for exporting SVG files.
17884 * app/render_svg.h, app/render_svg.c: an SVG (Scalable Vector Graphics)
17885 export filter. It is not quite complete, but for most shapes it
17886 works as expected. Fonts still need a bit of work.
17888 1999-08-11 Robert Brady <rwb197@ecs.soton.ac.uk>
17890 * configure.in: Added "en_GB" to ALL_LINGUAS.
17892 1999-08-04 Fredrik Hallenberg <hallon@lysator.liu.se>
17895 Added Undo and Redo to GNOME menus.
17897 * objects/ER/attribute.c:
17898 * objects/ER/entity.c:
17899 * objects/ER/participation.c:
17900 * objects/ER/relationship.c:
17901 Added get/set_state functions.
17903 * objects/ER/participation.c:
17904 Added add/delete segment.
17907 Updated Swedish translation.
17909 1999-07-25 Alexander Larsson <alla@lysator.liu.se>
17911 * app/preferences.[hc]:
17912 Added undo_depth pref.
17915 Never grow stack larger than pref.undo_depth.
17916 undo_depth == 0 means unlimited.
17917 Converted printfs to conditionally compiled DEBUG_PRINTFs.
17919 1999-07-25 Alexander Larsson <alla@lysator.liu.se>
17924 * lib/render_object.c:
17925 * objects/ER/attribute.c:
17926 * objects/ER/entity.c:
17927 * objects/ER/participation.c:
17928 * objects/ER/relationship.c:
17929 * objects/FS/flow-ortho.c:
17930 * objects/FS/flow-poly.c:
17931 * objects/FS/flow.c:
17932 * objects/FS/function.c:
17933 * objects/UML/actor.c:
17934 * objects/UML/association.c:
17935 * objects/UML/class.c:
17936 * objects/UML/classicon.c:
17937 * objects/UML/component.c:
17938 * objects/UML/constraint.c:
17939 * objects/UML/dependency.c:
17940 * objects/UML/generalization.c:
17941 * objects/UML/implements.c:
17942 * objects/UML/large_package.c:
17943 * objects/UML/lifeline.c:
17944 * objects/UML/message.c:
17945 * objects/UML/note.c:
17946 * objects/UML/object.c:
17947 * objects/UML/realizes.c:
17948 * objects/UML/small_package.c:
17949 * objects/UML/state.c:
17950 * objects/UML/usecase.c:
17951 * objects/network/bus.c:
17952 * objects/standard/arc.c:
17953 * objects/standard/box.c:
17954 * objects/standard/ellipse.c:
17955 * objects/standard/image.c:
17956 * objects/standard/line.c:
17957 * objects/standard/polyline.c:
17958 * objects/standard/textobj.c:
17959 * objects/standard/zigzagline.c:
17960 Removed all traces of is_empty(). It doesn't work in an
17963 1999-07-25 Alexander Larsson <alla@lysator.liu.se>
17968 Undoable grouping and ungrouping.
17970 * app/layer_dialog.c:
17971 * lib/diagramdata.[ch]:
17972 Undoable layer ops.
17974 * app/modify_tool.c:
17975 Undoable unconnect on handle move.
17977 * lib/orth_conn.[ch]:
17978 Working undoable add/remove segment.
17979 Removed endpoint_handles from OrthConn, renamed
17980 midpoint_handles to handles and put the endpoint
17983 * objects/standard/zigzagline.c:
17984 * objects/ER/participation.c:
17985 * objects/UML/association.c:
17986 * objects/UML/dependency.c:
17987 * objects/UML/generalization.c:
17988 * objects/UML/realizes.c:
17989 Update for the changes in OrthConn
17991 1999-07-23 Karsten Weiss <karsten@addx.au.s.shuttle.de>
17993 * configure.in: Added "de" to ALL_LINGUAS.
17995 1999-07-17 Alexander Larsson <alla@lysator.liu.se>
18007 Don't have the <Display> etc part of the menu strings
18008 i18n:ed. Patch from Fabrice.Bellet@imag.fr.
18011 Don't have the <Display> etc part of the menu strings
18012 i18n:ed. Patch from Fabrice.Bellet@imag.fr.
18013 Don't remove is_empty() objects, that don't work with undo.
18015 * lib/objchange.[ch]:
18017 Definition of ObjectChange. This is essentially an Change
18018 exported to the object libs. It encapsulates a change made
18019 to an objects internals. It can be applied, reverted and freed.
18020 There are also utility functions for doing ObjectChanges that
18021 only get/set the whole state of an object to store the change.
18022 This cannot be used when the object change deletes or adds a
18023 object which has references from other objects, eg. Handles which
18024 might be connected.
18027 Added objchange.c and objchange.h.
18030 Return NULL when loading fails.
18033 Menu callbacks return an ObjectChange.
18036 Reference objchange.o
18039 Key events return ObjectChange if they modify the object.
18043 Added object_add_handle_at() function.
18044 Apply properties returns an ObjectChange.
18045 Remove ObjectState and the get/set state functions, these
18046 don't always work. Use the new ObjectChange instead.
18049 Added object_add_handle_at() function implementation.
18051 * lib/orth_conn.[ch]:
18052 Use ObjectChange. Not finished yet.
18053 Removed get/set/free state functions
18055 * lib/poly_conn.[ch]:
18057 Don't remove segments that are small.
18058 Removed get/set/free state functions
18062 Added functions to get/set all text attributes.
18064 * objects/standard/arc.c:
18065 * objects/standard/box.c:
18066 * objects/standard/ellipse.c:
18067 * objects/standard/image.c:
18068 * objects/standard/line.c:
18069 * objects/standard/polyline.c:
18070 * objects/standard/textobj.c:
18071 * objects/standard/zigzagline.c:
18073 fixed bug in image_set_state.
18074 zigzagline.c not finished yet.
18076 * app/disp_callbacks.c:
18077 Use ObjectChange that are returned from menu callbacks and
18078 key_events for undo.
18080 * app/properties.c:
18081 Use ObjectChange that are returned from properties apply
18086 New undo type: ObjectChangeChange. This wraps a change to the
18087 internals of an object (and ObjectChange) in code that does
18088 app specific stuff (object_add_updates etc.)
18090 1999-07-11 Alexander Larsson <alla@lysator.liu.se>
18092 * lib/orth_conn.[ch]:
18093 Added code for add/delete segment.
18095 * objects/standard/zigzagline.c:
18096 Use the new orth_conn code.
18099 1999-07-08 Fredrik Hallenberg <hallon@lysator.liu.se>
18101 * objects/FS/Makefile.am
18102 Removed fs.h from sources.
18108 1999-07-07 Alexander Larsson <alla@lysator.liu.se>
18110 * app/disp_callbacks.c (ddisplay_canvas_events):
18111 Fix for bug. Every other arrow-key press got lost.
18112 patch from Mr. Data Esq. <data@r47h102.res.gatech.edu>
18115 change automake.sh to autogen.sh
18117 1999-06-24 Alexander Larsson <alla@lysator.liu.se>
18120 Don't remove 'empty' objects.
18121 This violent destruction of objects won't work
18122 with the new undo framework.
18124 * app/disp_callbacks.c:
18125 Save undo info for object menu calls and key_events.
18127 * app/properties.c:
18128 Save undo info on properties apply.
18130 * lib/dia_image.[ch]:
18131 Add refcounting for images.
18133 * app/render_eps.c:
18134 * app/render_gdk.c:
18136 DiaImage * -> DiaImage
18139 Add undo functions for object state changes.
18143 change of semntics for focus->key_event.
18144 Now returns TRUE if the object recieving the event
18150 * lib/orth_conn.[ch]:
18151 Don't automatically create and delete segments when
18152 handles are moved. This is incompatible with undo.
18153 Added state get, set and free functions.
18155 * lib/orth_conn.[ch]:
18156 Added state get, set and free functions.
18158 * objects/UML/object.c:
18159 * objects/UML/uml.c:
18160 Fixed typo "UML - Objet" -> "UML - Object".
18161 Saved old for backwards compatibility.
18163 * objects/standard/arc.c:
18164 * objects/standard/box.c:
18165 * objects/standard/ellipse.c:
18166 * objects/standard/image.c:
18167 * objects/standard/line.c:
18168 * objects/standard/polyline.c:
18169 * objects/standard/textobj.c:
18170 * objects/standard/zigzagline.c:
18171 Added get/set state functions.
18172 Textobj has a redo crash-bug.
18173 Zigzagline needs object menus to add segments.
18176 1999-06-20 Alexander Larsson <alla@lysator.liu.se>
18178 * app/render_eps.c (set_dashlength):
18179 Don't generate eps files with zero dash-length.
18181 1999-06-16 Alexander Larsson <alla@lysator.liu.se>
18184 * app/create_object.c:
18186 Finished undo for create and paste.
18189 Started properties undo.
18191 1999-06-14 Alexander Larsson <alla@lysator.liu.se>
18194 Added resizeable groups.
18197 Removed unused variable.
18201 Undo/redo for cut/delete done.
18203 * app/create_object.c:
18204 * app/modify_tool.c:
18205 * lib/diagramdata.[ch]:
18206 * app/diagram.[ch]:
18207 renamed diagram_add_selected -> diagram_select
18208 renamed diagram_remove_selected -> diagram_unselect
18210 * app/properties.[ch]:
18211 Added properties_hide_if_shown() function.
18213 1999-06-13 Alexander Larsson <alla@lysator.liu.se>
18219 * app/commands.[ch]
18220 * app/modify_tool.[ch]
18221 * app/object_ops.[ch]
18222 * app/connectionpoint_ops.c
18224 Use undo functions.
18225 WARNING: Not finished. Will break.
18226 Finished: move object, move handle.
18229 Added diagram_selected_break_external() function.
18230 It removes all connections between selected objects
18232 Add undo stack to Diagram.
18234 * lib/diagramdata.[ch]
18235 Added layer_remove_objects() function
18237 1999-06-11 Fredrik Hallenberg <hallon@lysator.liu.se>
18239 * objects/FS/Makefile.am
18240 * objects/sybase/Makefile.am
18241 Now uses GNOME_CFLAGS.
18244 Now compiles with GNOME even if popt.h isn't available.
18246 1999-06-10 Alexander Larsson <alla@lysator.liu.se>
18249 * objects/Makefile.am
18251 First version of sybase objects from
18252 Brian Bruns <camber@umcc.ais.org>
18254 1999-06-10 Fredrik Hallenberg <hallon@lysator.liu.se>
18257 Added fr to ALL_LINGUAS
18259 1999-06-09 Fredrik Hallenberg <hallon@lysator.liu.se>
18263 Popt-code is activated if popt is available.
18265 1999-06-08 Alexander Larsson <alla@lysator.liu.se>
18267 This is a patch from David Thompson <dcthomp@mail.utexas.edu>
18269 * lib/orth_conn.[ch]:
18270 Added orthconn_get_middle_handle()
18273 Added text_set_cursor_at_end()
18276 Added first version of functions structure diagrams.
18278 1999-05-24 Alexander Larsson <alla@lysator.liu.se>
18280 * app/modify_tool.c:
18281 Include math.h to remove warning.
18283 * app/commands.c (dialogs_properties_callback):
18284 Bring up correct properties dialog when selected
18286 From Dan Cohn <dan@internap.com>
18288 1999-05-20 Alexander Larsson <alla@lysator.liu.se>
18290 Patch from Lars R. Clausen
18292 * app/modify_tool.c:
18293 Changed abs to fabs.
18295 1999-05-19 Alexander Larsson <alla@lysator.liu.se>
18301 1999-05-18 Alexander Larsson <alla@lysator.liu.se>
18303 Patches from Dan Cohn <dan@internap.com>
18305 * app/commands.[ch]:
18306 * app/display.[ch]:
18308 * app/preferences.[ch]:
18309 Implements ability to turn on/off connection points in
18310 current drawing and in global prefs.
18312 1999-05-18 Alexander Larsson <alla@lysator.liu.se>
18314 * lib/widgets.c (dia_line_style_selector_init):
18317 * lib/diagramdata.c (layer_update_extents):
18318 Fixed uninitialized variable error.
18320 1999-05-17 Alexander Larsson <alla@lysator.liu.se>
18323 Made some changes to the gdk_imlib visual+colormap setup.
18325 1999-05-17 Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
18327 * objects/UML/usecase.c:
18328 * objects/UML/lifeline.c
18331 * objects/UML/object.c:
18332 * objects/UML/message.c:
18333 Changed font from Courier to Helvetica.
18337 Added dash lenth to the LineStyle widget.
18339 * objects/standard/ellipse.c :
18340 * objects/standard/zigzagline.c:
18341 * objects/standard/line.c:
18342 Added dash lenght property.
18344 1999-05-16 Alexander Larsson <alla@lysator.liu.se>
18346 * app/render_eps.c:
18347 First shot at latin1 encoded eps files.
18348 Works, but the eps files get a bit large.
18350 1999-05-16 Alexander Larsson <alla@lysator.liu.se>
18352 * objects/UML/class.[ch]:
18353 * objects/UML/uml.[ch]:
18354 Reverted the line wrap changes.
18355 Some day this might return, but it has to be selectable and
18356 default to off for loaded objects, otherwise it breaks file
18357 format compatibility.
18358 There was also some complains about how it looked, so a making it
18359 selectable is good for this too.
18361 1999-05-15 Alexander Larsson <alla@lysator.liu.se>
18363 * objects/UML/class.[ch]:
18364 Some indentation cleanup.
18365 Added wrap_lines variable to class.
18366 I'll fix the line break stuff tomorrow.
18368 1999-05-13 Alexander Larsson <alla@lysator.liu.se>
18371 Added ref to poly_conn.o.
18373 * objects/standard/polyline.c (polyline_draw):
18374 * objects/standard/zigzagline.c (zigzagline_draw):
18375 * objects/standard/arc.c (arc_draw):
18376 * objects/standard/line.c (line_draw):
18377 Draw lines before arrows. This makes hollow arrows not
18380 1999-05-13 Alexander Larsson <alla@lysator.liu.se>
18382 Changes from Kim Peasley <kpeasley@ior.com>
18384 * objects/UML/class.c:
18385 Break lines with long operations so classes won't be
18388 * objects/UML/uml.[ch]:
18389 Helperfunctions for the above.
18391 * objects/UML/objects.c:
18392 Fix bug that duplicated the text in the attributes
18393 textwidget each time the object was selected.
18395 1999-05-12 Alexander Larsson <alla@lysator.liu.se>
18397 Changes from Lars R. Clausen <lrclause@cs.uiuc.edu>
18399 * app/modify_tool.c:
18400 * app/modify_tool.h:
18401 Control-drag is restricted to vertical/horizontal movement
18404 ModifierKeys argument added to object_move_handle
18406 * app/connectionpoint_ops.c:
18407 * app/create_object.c:
18408 * app/object_ops.c:
18409 * objects/ER/attribute.c:
18410 * objects/ER/entity.c:
18411 * objects/ER/participation.c:
18412 * objects/ER/relationship.c:
18413 * objects/UML/actor.c:
18414 * objects/UML/association.c:
18415 * objects/UML/class.c:
18416 * objects/UML/classicon.c:
18417 * objects/UML/component.c:
18418 * objects/UML/constraint.c:
18419 * objects/UML/dependency.c:
18420 * objects/UML/generalization.c:
18421 * objects/UML/implements.c:
18422 * objects/UML/large_package.c:
18423 * objects/UML/lifeline.c:
18424 * objects/UML/message.c:
18425 * objects/UML/note.c:
18426 * objects/UML/object.c:
18427 * objects/UML/realizes.c:
18428 * objects/UML/small_package.c:
18429 * objects/UML/state.c:
18430 * objects/UML/usecase.c:
18431 * objects/network/bus.c:
18432 * objects/standard/arc.c:
18433 * objects/standard/box.c:
18434 * objects/standard/ellipse.c:
18435 * objects/standard/image.c:
18436 * objects/standard/line.c:
18437 * objects/standard/polyline.c:
18438 * objects/standard/textobj.c:
18439 * objects/standard/zigzagline.c:
18440 Changed calls to move_handle to pass the new argument.
18444 Default line width, color etc #define'd
18447 Updates of danish menus
18449 1999-05-08 Fredrik Hallenberg <hallon@lysator.liu.se>
18452 * dia_gnome_icon.png
18453 * dia_gnome_menu_icon.png
18455 Graphics by Toussaint Frédéric <ftoussin@club-internet.fr>.
18458 About dialog shows dia_logo.png. Removed the GNOME about dialog.
18461 Distribute the icons and install logo in pkgdatadir.
18464 Added DATADIR-define.
18466 1999-04-28 Alexander Larsson <alla@lysator.liu.se>
18467 Patches from Enrico Scholz <enrico.scholz@wirtschaft.tu-chemnitz.de>
18470 Updated version number, made setup quiet, can build from cvs,
18471 --enable-gnome, now using automake 1.4 DESTDIR feature, install-strip
18474 * objects/ER/Makefile.am
18475 * objects/UML/Makefile.am
18476 * objects/network/Makefile.am
18477 * objects/standard/Makefile.am
18478 now builds better with gnome
18480 * objects/UML/class_dialog.c
18481 Fixed typo -> po files must be updated too!!
18483 1999-04-28 Alexander Larsson <alla@lysator.liu.se>
18486 Added reference so that widgets.o gets linked to the app.
18488 1999-04-23 Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
18490 * objects/UML/classicon.c:
18493 * objects/UML/actor.c:
18494 Changed position of 'snap-to-grid' so connection points are
18497 1999-04-22 Alexander Larsson <alla@lysator.liu.se>
18499 * objects/UML/classicon.c:
18500 Changed position of 'snap-to-grid'.
18501 By Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
18503 1999-04-22 Alexander Larsson <alla@lysator.liu.se>
18505 * objects/network/antenna.c
18506 * objects/network/flash.c
18507 * objects/network/hub.c
18508 * objects/network/modem.c
18509 * objects/network/modularswitch.c
18510 * objects/network/rj45plug.c
18511 * objects/network/scead-plug.c
18512 * objects/network/network.c
18513 * objects/network/Makefile.am
18514 * objects/network/pixmaps/antenna.xpm
18515 * objects/network/pixmaps/flash.xpm
18516 * objects/network/pixmaps/hub.xpm
18517 * objects/network/pixmaps/modem.xpm
18518 * objects/network/pixmaps/modularswitch.xpm
18519 * objects/network/pixmaps/rj45plug.xpm
18520 * objects/network/pixmaps/sceadplug.xpm
18521 * objects/network/pixmaps/Makefile.am
18522 Lots of new network objects from
18523 Roland Steinbach <roland@support-system.com>.
18525 1999-04-15 Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
18527 * objects/UML/classicon.c:
18528 Fixed connection positions, saved type as int (it has 3 states),
18529 and other small fixes.
18531 1999-04-14 Alexander Larsson <alla@lysator.liu.se>
18533 * app/preferences.c:
18535 Added preference compress_save. It lets dia save uncompressed
18538 * objects/UML/class.c:
18539 Fixed bug with size calculation on methods that had class scope.
18541 1999-04-13 Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
18543 * objects/UML/usecase.c:
18544 Added collaboration mode
18545 Fixed connection points with text > ellipse bug and other
18548 * objects/UML/state.c:
18549 Fixed bug of bad position of text after being either end
18550 or begin, moved and returned to text
18552 1999-04-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
18554 * app/preferences.c: Add prototype declaration for prefs_apply.
18556 1999-04-11 Alexander Larsson <alla@lysator.liu.se>
18558 * app/preferences.c:
18560 Apply don't hide window.
18562 * app/properties.c:
18565 * objects/UML/object.c:
18566 * objdcts/UML/state.c:
18567 Some data was not copied on copy.
18570 Ben Hochstedler <benh@eeyore.moneng.mei.com>
18572 1999-04-09 Alexander Larsson <alla@lysator.liu.se>
18575 Changed link order between X and libxml.
18576 Some people had problems with an old libz in their
18579 1999-04-09 Kjartan Maraas <kmaraas@online.no>
18581 * po/no.po: updated translation.
18583 1999-04-08 Lars R. Clausen <lrclause@cs.uiuc.edu>
18585 * lib/message.c (message_error):
18588 * app/commands.[ch]:
18589 * app/diagram.[ch]:
18590 Added begining of xfig importing
18592 1999-04-08 Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
18594 * objects/UML/pixmaps/state.xpm:
18595 * objects/UML/state.c:
18596 New UML object state machine.
18598 * objects/UML/uml.c:
18599 * objects/UML/Makefile.am:
18600 * objects/UML/pixmaps/Makefile.am:
18601 Added the state object.
18603 1999-04-08 Alejandro Aguilar Sierra <ale@bucefalo>
18605 * objects/UML/usecase.c:
18606 Added dialog to allow move text outside the ellipse.
18608 1999-04-08 Alexander Larsson <alla@lysator.liu.se>
18610 * Released Dia 0.41
18611 Tag called DIA_0_41
18616 1999-04-08 Alexander Larsson <alla@lysator.liu.se>
18619 Updated version number to 0.41
18624 1999-04-04 Fredrik Hallenberg <hallon@lysator.liu.se>
18627 Changed errormessage for --export-to-ps. Removed call to
18628 g_log_set_always_fatal().
18631 * app/disp_callbacks.c
18633 (i18n) Removed gettext from some debugmessages.
18636 Small fix in GNOME-menus. Added warning that will help track
18637 problems with translations.
18640 (i18n) Updated swedish translation.
18642 1999-04-02 Alexander Larsson <alla@lysator.liu.se>
18647 1999-04-01 Alexander Larsson <alla@lysator.liu.se>
18653 1999-04-01 Alexander Larsson <alla@lysator.liu.se>
18656 (i18n) Updated the danish translation.
18657 From Lars R. Clausen.
18659 1999-04-01 Fredrik Hallenberg <hallon@lysator.liu.se>
18662 (i18n) The popup menu is translated now.
18665 (i18n) Updated swedish translation.
18667 1999-03-29 Alexander Larsson <alla@lysator.liu.se>
18669 * Released Dia 0.40
18670 Tag called DIA_0_40
18673 Updated for new release
18675 1999-03-29 Alexander Larsson <alla@lysator.liu.se>
18677 * objects/network/bus.c:
18678 Added initialization of properties dialog to NULL.
18680 * app/commands.c (edit_cut_callback):
18681 Update menu sensitivity when cut object.
18683 * app/modify_tool.c (click_select_object):
18684 * app/modify_tool.c (modify_button_release):
18685 Call diagram_update_menu_sensitivity() when
18686 selecting objects to update stuff that depends
18687 on selected/not selected.
18689 1999-03-29 Alexander Larsson <alla@lysator.liu.se>
18692 Change order of subdir so that libintl.a builds.
18693 Now passed make distcheck.
18695 1999-03-28 Alexander Larsson <alla@lysator.liu.se>
18697 * lib/font.c (init_x11_font):
18700 1999-03-28 Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
18702 * objects/UML/pixmaps/classicon.xpm:
18703 * objects/UML/classicon.c:
18704 * objects/UML/uml.c:
18705 Added the class stereotype icon objects.
18708 Changed default ps extension from .ps to .eps.
18710 1999-03-28 Alexander Larsson <alla@lysator.liu.se>
18713 Added diamenu.h and intl.h
18718 * objects/UML/pixmaps/Makefile.am:
18721 * objects/standard/pixmaps/Makefile.am:
18724 1999-03-28 Alexander Larsson <alla@lysator.liu.se>
18727 Use a scalable font before fixed when real font not found.
18732 * objects/standard/image.c:
18733 Better handling of loading/saving of images.
18736 Added some text about cvs, fonts and rewrote some parts.
18739 Updated with new stuff.
18742 Bump up version number to 0.40.
18744 1999-03-28 Alexander Larsson <alla@lysator.liu.se>
18747 Moved diagram_add_ddisplay() call into new_display().
18748 Fixed new_display to not use uninitialized variables
18749 causing loaded files to show up as black (or garbage).
18753 Removed unneeded calls to diagram_add_ddisplay().
18755 1999-03-28 Alexander Larsson <alla@lysator.liu.se>
18757 * objects/UML/lifeline.c:
18759 Patch from Andreas Jaeger <aj@arthur.rhein-neckar.de>.
18761 * objects/UML/message.c:
18762 Fixed bug loading messages with null-text.
18763 Patch from Andreas Jaeger <aj@arthur.rhein-neckar.de>.
18765 1999-03-27 Fredrik Hallenberg <hallon@lysator.liu.se>
18768 Updated swedish translation.
18771 (GNOME) Removed help-browser from help menu. Fixed typo.
18774 (GNOME) Accelerators in diagrams should work now.
18776 1999-03-25 Fredrik Hallenberg <hallon@lysator.liu.se>
18781 * app/disp_callbacks.c
18785 * app/preferences.c
18787 * lib/diagramdata.c
18793 * objects/network/*.c
18794 * objects/standard/*.c
18795 * po/update_pofiles_in.sh
18797 More i18n. All strings (expect rare debug messages) can be
18798 translated now. Moved intl.h from app to lib. Updated
18799 update_pofiles_in.sh to check all .c-files.
18801 1999-03-23 Alexander Larsson <alla@lysator.liu.se>
18803 * app/disp_callbacks.c (ddisplay_canvas_events):
18804 Don't drop keys while num-lock, scroll-lock etc is on.
18806 1999-03-22 Alexander Larsson <alla@lysator.liu.se>
18808 * app/render_eps.c (draw_image):
18809 Fixed exporting of images.
18810 Still not perfect, but not outright buggy.
18812 1999-03-22 Alexander Larsson <alla@lysator.liu.se>
18816 Added hungarian translation. By Shooby Ban <bansz@szif.hu>.
18819 Added $* to the dia call in run_dia.sh
18821 1999-03-22 Lars Clausen <lrclause@shasta.cs.uiuc.edu>
18824 Added color_equals() call.
18826 * objects/standard/arc.c:
18827 * objects/standard/line.c:
18828 Don't save unneccesary data.
18830 * objects/standard/box.c:
18831 * objects/standard/ellipse.c:
18832 * objects/standard/image.c:
18833 * objects/standard/polyline.c:
18834 * objects/standard/zigzagline.c:
18835 Share properties dialog.
18836 Don't save unneccesary data.
18838 1999-03-22 Seth Alves <alves@hungry.com>
18843 small changes so that gnome menus aren't broken
18845 1999-03-22 Alexander Larsson <alla@lysator.liu.se>
18848 Added danish translation from lrclause@cs.uiuc.edu.
18853 * po/update_pofiles_in.sh:
18854 Added script that updates POFILES.in.
18855 This should probably be run automatically from somewhere.
18857 1999-03-19 Alexander Larsson <alla@lysator.liu.se>
18859 * app/diagram.[ch]:
18860 Added function diagram_update_menu_sensitivity() which
18861 sets the sensitivity of some menu items. This function
18862 is called at each diagram state change (from diagram_modified()).
18863 This is needed because otherwise the keyboard accelerators
18864 don't work correctly.
18866 * app/display.[ch]:
18867 Changed display_set_menu_sensitivity() to display_update_menu_state().
18868 Moved lots of code to diagram_update_menu_sensitivity() in
18869 diagram.c. Optimized to only look up menu-items from path:s once.
18871 * app/disp_callbacks.c:
18873 When we get a GDK_FOCUS_CHANGE, update menu sensitivity.
18874 Need to set GDK_FOCUS_CHANGE_MASK.
18876 * app/create_object.c:
18877 Call diagram_modified when an object has been created and
18878 selected so that the menu sensitivity is updated.
18881 removed menus_set_sensitive() and menus_set_state(). Exported
18882 renamed function menus_get_item_from_path().
18884 1999-03-15 Alexander Larsson <alla@lysator.liu.se>
18886 * app/disp_callbacks.c:
18887 Show (empty) object menus on object that has none.
18888 Show title on object menus.
18891 Set zoom factor correctly when opening new displays.
18892 Better setting of scrollbars.
18896 Some reformating cleanup.
18899 Added title to object menus.
18902 Added object menu method (NULL-valued) to all objects.
18904 * objects/standard/polyline.c:
18905 Added title to object menu.
18907 1999-03-14 Alexander Larsson <alla@lysator.liu.se>
18909 * app/preferences.[ch]:
18910 New files. Implements the preferences dialog and
18911 loading/saving of ~/.diarc.
18914 Added preferences.[ch].
18917 Load preferences on startup.
18919 * app/commands.[ch]:
18920 Added file_preferences_callback to show the preferences dialog.
18922 * app/create_object.c:
18923 Update extents when creating object.
18924 Use the reset_tools_after_create preferences setting.
18927 Use preferences when creating new display.
18930 Add preferences to menu.
18933 * app/layer_dialog.c:
18934 * app/properties.c:
18935 Don't allow shrinking of dialog.
18936 Add i18n of some strings.
18938 1999-03-11 Kjartan Maraas <kmaraas@fib.hl.no>
18940 Norwegian translation added.
18942 1999-03-11 Alexander Larsson <alla@lysator.liu.se>
18944 * objects/standard/line.c:
18945 * objects/standard/arc.c:
18946 * objects/standard/polyline.c:
18947 * objects/standard/zigzagline.c:
18948 Loading of arrow data fixed.
18950 1999-03-09 Alexander Larsson <alla@lysator.liu.se>
18953 Update extents when saving and exporting to postscript.
18954 Fixes a bug with postscript bounding-box being wrong.
18957 Changed border width from 5 to 2.
18960 Move grouped objects by the move-point of the first object.
18961 Fixes bug that made all objects in the group be off-grid
18962 when moving the group, even though all objects was on-grid.
18964 * app/layer_dialog.c:
18965 Update extents when changing layer.
18967 1999-03-08 Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
18969 * objects/UML/uml.c:
18970 * objects/UML/component.c:
18971 * objects/UML/pixmaps/component.xpm:
18972 Added the UML component object
18974 1999-03-04 Seth Alves <alves@hungry.com>
18976 * objects/UML/generalization.c (generalization_create): avoid
18977 math on uninitialized genlz->text_width (NaN causes sigfpe)
18979 * objects/UML/realizes.c (realizes_create): same
18981 * objects/UML/dependency.c (dependency_create): same
18983 1999-03-01 Seth Alves <alves@hungry.com>
18985 * app/display.c (ddisplay_active): don't fly a warning panel
18986 if ddisplay_active is called when no views are open.
18988 * app/commands.c (set_default_file_selection_directory): set
18989 file selector's default directory if there is already
18992 1999-02-28 Alexander Larsson <alla@lysator.liu.se>
18995 New info about imlib requirements.
18998 Added lib/pixmaps/Makefile to created makefiles.
19002 Change from obsoleted to newer gtk calls.
19005 Pass filename of the diagram when loading and saving.
19006 This creates better oportunities to handle filename saving.
19009 Pass filenames to load and save methods.
19011 * lib/dia_image.[ch]:
19012 Added dia_image_get_broken() call that returns a image which
19013 is used for 'broken' images.
19015 * lib/pixmaps/.cvsignore:
19016 * lib/pixmaps/Makefile.am:
19017 * lib/pixmaps/broken.xpm:
19018 New files for the broken image bitmap.
19021 Fixed bug with double destroyed filedialog.
19024 Updated load and save prototypes to use the new filename argument.
19027 Render broken image instead of line when got no image.
19028 Use the new filename in load and save to save (if possible)
19029 relative pathnames and to better try to find loaded images.
19031 1999-02-28 Alexander Larsson <alla@lysator.liu.se>
19034 Some updates to the todo file.
19038 Place over/place over => sent to back/bring to front.
19039 Added some keyboard shortcuts to menus.
19041 1999-02-28 Alexander Larsson <alla@lysator.liu.se>
19044 Changed string saving/loading to a new method. This should
19045 be much better att handling &,<,> and whitespaces.
19046 Loading strings of the old kind is still supported for backwards
19049 * samples/ER-demo.dia:
19050 * samples/UML-demo.dia:
19051 Updated to use the new strings.
19054 statusbar modified update fix.
19056 1999-02-27 Seth Alves <alves@hungry.com>
19058 * app/app_procs.c (app_init): added a --export-to-ps option
19059 which will cause dia to load a dia file and save it as ps
19060 and then exit. this is a little bogus, because it still
19061 pops up a window. this option only shows up if --enable-gnome
19064 * app/display.c (display_set_menu_sensitivity): no Edit/Delete
19065 menu when built with --enable-gnome
19067 * app/interface.c (create_display_shell): build status bar
19068 even if --enable-gnome is used
19070 * app/menus.c: menu fixes for --enable-gnome
19072 * app/commands.c (file_open_dialog_ok_callback): fixed up
19073 menus when --enable-gnome is used
19074 (file_export_to_eps_callback): set a default file name
19075 when dialog is created
19077 1999-02-27 Alexander Larsson <alex@c125.ryd.student.liu.se>
19079 * objects/UML/association.c (association_create):
19080 Fixed usage of not initialized variable.
19081 Pointed out by Seth Alves <alves@hungry.com>.
19083 1999-02-24 Alexander Larsson <alex@c125.ryd.student.liu.se>
19086 Fixed detection of gnome-xml.
19087 From Valtteri Vuorikoski <vuori@k.notcom.org>.
19090 Fixed error detection on dlsym calls.
19091 From Valtteri Vuorikoski <vuori@k.notcom.org>.
19093 1999-02-23 Alexander Larsson <alla@lysator.liu.se>
19095 * objects/UML/message.c (fill_in_dialog):
19098 1999-02-22 Lars Clausen <lrclause@shasta.cs.uiuc.edu>
19100 * objects/standard/zigzagline.c:
19101 * objects/standard/polyline.c:
19102 * objects/standard/line.c:
19103 * objects/standard/arc.c:
19107 Support for sizeable arrows.
19109 * objects/standard/box.c:
19110 * objects/standard/ellipse.c:
19111 * objects/standard/image.c:
19112 Changed creation handle to lower-right.
19113 Transparent box/ellipse.
19115 * objects/standard/image.c:
19116 Better layout of properties boxes.
19118 1999-02-20 Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
19120 * objects/UML/message.c (fill_in_dialog):
19121 Fixed dialog fill in. Common dialog for all messages.
19123 * objects/UML/object.c:
19124 Added multiple instance. Dialog related bugs fixed.
19125 Common dialog for all instances. Completed copy and destroy.
19127 * objects/UML/lifeline.c (lifeline_load):
19128 Conn initialization bug fixed and few bad loading prevention flags.
19129 Common dialog for all lifeline objects.
19131 1999-02-15 Alexander Larsson <alla@lysator.liu.se>
19133 * lib/dia_image.[ch]:
19134 More work on the DiaImage abstraction.
19137 * app/render_eps.c:
19138 * app/render_gdk.c:
19139 * objects/standard/image.c:
19140 Use the new DiaImage calls.
19142 1999-02-15 Alexander Larsson <alla@lysator.liu.se>
19146 Reversed the meaning of align horizontal/vertical.
19148 1999-02-15 Alexander Larsson <alla@lysator.liu.se>
19150 * app/load_save.c (diagram_load):
19151 Statusbar update fix.
19153 1999-02-15 Alexander Larsson <alla@lysator.liu.se>
19155 * app/interface.c (create_display_shell):
19156 Fixed status bar size.
19158 1999-02-15 Alexander Larsson <alla@lysator.liu.se>
19160 * lib/dia_image.[ch]:
19161 Added extern declaration for dia_image_release.
19162 Removed dia_image_draw, as it's not neseccary.
19164 1999-02-14 Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
19166 * app/object_ops.c:
19168 Added equal distance alignment both vertical and horizontal.
19170 * objects/UML/object.c:
19171 Added a couple of attributes to load/read that were missing.
19173 * objects/UML/lifeline.c:
19174 Better handling of handles. Fixed another bug I forgot to add
19177 1999-02-13 Alexander Larsson <alla@lysator.liu.se>
19179 Patch from Lars Clausen <lrclause@shasta.cs.uiuc.edu>
19181 * lib/dia_image.[ch]:
19183 New files. DiaImage wraps the GdkImlibImage.
19186 * app/render_eps.c:
19187 * app/render_gdk.c:
19188 * lib/render_store.[ch]:
19189 * objects/standard/image.c:
19190 Use the new DiaImagetype.
19193 Removed unused variable to eliminate warning.
19195 1999-02-11 Alexander Larsson <alla@lysator.liu.se>
19197 * objects/standard/box.c:
19198 Added rounded corners on the box object.
19200 * lib/widgets.[ch]:
19201 Updated the DiaFileSelector widget.
19203 1999-02-09 Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
19205 * objects/UML/object.c (objet_draw):
19206 Completed underlining of all object name lines.
19208 * objects/UML/message.c (fill_in_dialog):
19209 Fixed a bug that filled incorrectly the message's dialog.
19211 * objects/UML/lifeline.c (lifeline_load):
19212 Some cleanning and fixed a couple of bugs that caused
19213 crashes after reading diagrams with lifelines.
19216 Added flags to prevent crash with void strings
19218 1999-02-07 Matthias Köster <Matthias.Koester@Informatik.Uni-Oldenburg.DE>
19219 * app/display.[ch]:
19220 Added statusbar to the display widget. Currently shows the zoom
19221 factor and modified flag of the viewed diagram. The statusbar is
19222 updated upon calls to ddisplay_zoom and ddisplay_update_statusbar.
19223 This caused the following additions:
19225 * app/diagram.[ch]:
19226 Added function diagram_set_modified. Calls
19227 ddisplay_update_statusbar for all displays showing the modified diagram.
19228 Changed diagram_modified to call diagram_set_modified.
19231 Added the creation of the statusbar.
19234 diagram_save now calls diagram_set_modified instead of setting
19235 dia->modified. Needed to force call to display_update_statusbar
19238 Changed the way view_show_all works. Now calls ddisplay_zoom
19239 instead of directly setting the zoom_factor, so the zoom factor is
19240 correctly shown in the statusbar.
19243 Fixed rubberband zoom to use ddisplay_zoom().
19245 1999-02-07 Fredrik Hallenberg <hallon@lysator.liu.se>
19248 Rudimentary GNOME session management.
19250 * app/disp_callbacks.c
19254 GNOME menus. Problems:
19255 Callbacks doesn't get user_data.
19256 Weird warnings when creating popup menus.
19257 menus_set_sensitive(), menus_set_state() doesn't work.
19259 1999-02-05 Lars Clausen <lrclause@shasta.cs.uiuc.edu>
19262 Add AM_PATH_GDK_IMLIB() call.
19265 Add gdk_imlib to linking flags.
19269 Print library-loading error messages on stdout too.
19272 Add standard image to toolbox.
19274 * app/render_eps.c:
19275 Set a more reasonable dot length. Fixed
19276 missing initialization of dot length.
19277 Added draw_image methods.
19279 * app/render_gdk.c (new_gdk_renderer):
19280 Dot a bit wider. Looks good in normal mode now.
19282 * objects/standard/image.c:
19283 * objects/standard/pixmaps/image.xpm:
19284 New files. Standard object for images.
19286 * app/render_eps.c (set_linestyle):
19287 * app/render_gdk.c (set_linestyle):
19288 * lib/widgets.c (dia_line_style_selector_init):
19290 New line style DOTTED.
19293 * lib/render_store.c:
19294 Change DrawImage call to use gdk_imlib.
19296 * lib/widgets.[ch]:
19297 Added widgets for selecting files.
19298 Added dotted to the linestyle selector.
19300 1999-02-06 Alexander Larsson <alla@lysator.liu.se>
19302 * objects/network/printer.c:
19303 * objects/network/network.c:
19304 * objects/network/pixmaps/printer.xpm:
19305 * objects/network/.cvsignore:
19306 * objects/network/Makefile.am:
19307 * objects/network/pixmaps/Makefile.am:
19308 New printer object in network.
19309 From Martin Hawlisch <hawlisch@roxi.rz.fh-mannheim.de>
19312 Added known XML bug.
19314 1999-02-06 Alexander Larsson <alla@lysator.liu.se>
19318 Reverted back from #include <gnome-xml/tree.h> to
19319 #include <tree.h> as this is fixed by the xml-config program.
19320 The former way broke for some people.
19321 Reported by blizzard@redhat.com.
19323 * objects/UML/lifeline.c:
19324 * objects/UML/message.c:
19325 * objects/UML/object.c:
19326 Removed some warnings.
19328 1999-02-04 Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
19330 * objects/UML/lifeline.c:
19331 Fixed connection points over the life line when the focus of
19332 control is not drawn.
19334 * objects/UML/message.c:
19335 Now a recursive message can be freely resized using the handles.
19337 1999-02-02 Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
19339 * objects/UML/lifeline.c:
19340 Added connection points.
19341 Added properties dialog with the option to draw/hide focus of control
19342 box and destruction mark.
19344 * objects/UML/object.c:
19345 Added properties dialog and stereotype, explicit state and attributes.
19346 It's also possible to mark the object as active.
19348 * objects/UML/pixmaps/object.xpm:
19351 * objects/UML/message.c:
19352 Added "recursive" message type (was not necessary to use OrthConn).
19354 1999-02-02 Alexander Larsson <alla@lysator.liu.se>
19356 * objects/standard/arc.c:
19357 Removed old debug code. Fixes a visual bug. From lrclause@cs.uiuc.edu.
19359 1999-02-01 Alexander Larsson <alla@lysator.liu.se>
19361 Patch from Lars R. Clausen <lrclause@cs.uiuc.edu>
19365 Update xml includes to gnome-xml/*.h.
19367 * objects/standard/arc.c:
19368 Only one property dialog per type.
19369 Fix arrows directions.
19371 * objects/standard/box.c:
19372 * objects/standard/ellipse.c:
19373 * objects/standard/textobj.c
19374 Added default properties dialog.
19377 1999-01-31 Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
19379 * objects/UML/Makefile.am:
19380 * objects/UML/uml.c:
19381 * objects/UML/lifeline.c:
19382 * objects/UML/object.c:
19383 * objects/UML/message.c:
19384 * objects/UML/pixmaps/lifeline.xpm:
19385 * objects/UML/pixmaps/object.xpm:
19386 * objects/UML/pixmaps/message.xpm:
19387 Added 3 new UML objects for dynamic modeling. To avoid internal
19388 conflicts, the name "objet" is used for object "object".
19391 Added ARROW_HALF_HEAD arrow type to allow drawing asynchronous
19394 1999-01-30 Alexander Larsson <alla@lysator.liu.se>
19396 * app/display.[ch]:
19397 * app/modify_tool.c:
19398 Added autoscrolling while doing rubber-band select.
19399 This patch from Matthias Köster
19400 (Matthias.Koester@Informatik.Uni-Oldenburg.DE)
19403 1999-01-28 Alexander Larsson <alla@lysator.liu.se>
19405 * app/defaults.[ch]:
19406 New files, deals with default properties dialog.
19409 New file. Contains definitions for the new object menu.
19411 * lib/poly_conn.[ch]:
19412 New file. Base class for poly-line like objects.
19414 * objects/standard/polyline.c:
19415 * objects/standard/pixmaps/polyline.xpm:
19416 New files. Polyline object.
19419 Fixed bug with infinite loop when registering sheets.
19422 Removed unneccesary stuff.
19424 * app/disp_callbacks.c:
19425 Support for object menus.
19428 Added polyline to toolbox.
19429 Added call to tool_options_dialog_show() when double clicking on
19433 New function tool_options_dialog_show() for tool properties.
19439 Added ObjectType methods for handling object default dialogs.
19440 Added Object method for handling object_menu.
19441 Added unused methods to ObjectTypeOps for future binary
19444 * lib/widgets.[ch]:
19445 Added DiaArrowTypeSelector widget.
19447 * objects/standard/arc.c:
19448 * objects/standard/zigzagline.c:
19449 Added support for default properties.
19451 * objects/standard/line.c:
19452 Added support for default properties.
19453 Just use one properties dialog for all line objects. NOTE: This
19454 seems to have a bug. We're working on it.
19456 * standard/standard.c:
19457 Add the polyline object.
19459 1999-01-27 Alexander Larsson <alla@lysator.liu.se>
19461 * app/modify_tool.c:
19462 Commented out buggy transitive select function. It wasn't really
19463 meant to go into cvs.
19466 1999-01-25 Fredrik Hallenberg <hallon@lysator.liu.se>
19478 Swedish translation. Not completed.
19482 Added possibility to enable GNOME specific code with configure.
19485 Added possibility to set debug level with configure.
19488 Added about dialog.
19494 Added some GNOME specific code. Not ready for use.
19496 1999-01-24 Alexander Larsson <alla@lysator.liu.se>
19499 Added text about needing gtk 1.1.13 and gnome-xml.
19502 Described changes since last version (0.20).
19504 Released version 0.30, tagged DIA_0_30.
19506 1999-01-22 Alexander Larsson <alla@lysator.liu.se>
19508 * app/magnify.c (magnify_button_release):
19509 Fixed a problem when zooming in on a very small box would
19510 not release the grabbed pointer-focus.
19512 1999-01-21 Alexander Larsson <alla@lysator.liu.se>
19514 * app/load_save.c (diagram_load):
19515 Be somewhat more robust when loading files that
19518 1999-01-21 Alexander Larsson <alla@lysator.liu.se>
19522 * objects/UML/uml.c:
19523 * objects/network/network.c:
19524 * objects/standard/standard.c:
19525 Added versioning of object libraries.
19527 * app/create_object.c:
19528 Don't change tool when an object is created.
19530 * objects/network/network.c:
19535 1999-01-19 Alexander Larsson <alla@lysator.liu.se>
19538 Updated gtk requirement to Gtk+ 1.1.13.
19541 Always add one screenful of scrolling space on
19542 each side of a diagram window.
19544 1999-01-19 Jeff Garzik <jgarzik@pobox.com>
19547 Tell automake to auto-install missing files.
19550 Renamed deprecated Gtk+ function.
19552 1999-01-16 Alexander Larsson <alla@lysator.liu.se>
19556 * samples/Makefile.am:
19557 * samples/ER-demo.dia:
19558 * samples/UML-demo.dia:
19559 Added samples directory.
19560 Added samples for ER and UML.
19563 * app/disp_callbacks.c:
19565 Zoom is done by sqrt(2) instead of 2.
19566 Lots of more zoom options in the menu.
19568 * objects/ER/relationship.c:
19569 Relationships have 8 connectionpoints instead of 4.
19571 * objects/UML/class.c:
19572 UML class name font a bit smaller.
19573 Fixed stupid bug in the copy operation.
19576 Displays are opened at 500x400 instead of 256x256.
19579 Fixup of internal error message.
19581 * app/color_area.c:
19583 * app/modify_tool.c:
19585 Removed debug printf's.
19588 Added new known bug.
19590 1999-01-16 Alexander Larsson <alla@lysator.liu.se>
19594 Fixed so accelerator groups work in all windows.
19595 Updated to new gtk function names.
19601 Updated to new gtk function names.
19602 Set sensitivity of the align menu items.
19604 * objects/ER/pixmaps/Makefile.am:
19605 * objects/UML/pixmaps/Makefile.am:
19606 * objects/network/pixmaps/Makefile.am:
19607 Fix so that make dist works.
19610 * app/color_area.c:
19614 * app/layer_dialog.c:
19616 * app/object_ops.c:
19617 * app/properties.c:
19618 * lib/diagramdata.[ch]:
19620 * lib/objects/ER/attribute.c:
19621 * lib/objects/ER/entity.c:
19622 * lib/objects/ER/participation.c:
19623 * lib/objects/ER/relationship.c:
19624 * lib/objects/ER/.c:
19625 * objects/UML/actor.c:
19626 * objects/UML/association.c:
19627 * objects/UML/class_dialog.c:
19628 * objects/UML/dependency.c:
19629 * objects/UML/generalization.c:
19630 * objects/UML/large_package.c:
19631 * objects/UML/realizes.c:
19634 Updated to new gtk function names.
19637 1999-01-15 Alexander Larsson <alla@lysator.liu.se>
19643 Fixed loading of diagrams specified as arguments.
19645 * objects/ER/attribute.c:
19646 * objects/ER/entity.c:
19648 * objects/ER/participation.c:
19649 * objects/ER/relationship.c:
19650 Updated the ER objects.
19653 1999-01-14 Alexander Larsson <alla@lysator.liu.se>
19657 * objects/Makefile.am:
19658 * objects/ER/attribute.c:
19659 * objects/ER/entity.c:
19661 * objects/ER/participation.c:
19662 * objects/ER/relationship.c:
19663 * objects/ER/pixmaps/Makefile.am:
19664 * objects/ER/pixmaps/attribute.xpm:
19665 * objects/ER/pixmaps/entity.xpm:
19666 * objects/ER/pixmaps/participation.xpm:
19667 * objects/ER/pixmaps/relationship.xpm:
19668 * objects/ER/pixmaps/weakentity.xpm:
19669 First commit of entity relationship objects.
19670 These were done by hallon@lysator.liu.se.
19671 There are still stuff to do on these.
19673 1999-01-14 Alexander Larsson <alla@lysator.liu.se>
19678 * app/diagram.[ch]:
19679 Change diagram_remove_all_selected to take new argument
19680 delete_empty. Empty objects are deleted only if it is TRUE.
19681 Removed call to close_eps_renderer. This is now done in end_render
19682 in the eps renderer.
19684 * app/create_object.c:
19685 * app/layer_dialog.c:
19686 Update calls to diagram_remove_all_selected.
19689 Update calls to diagram_remove_all_selected.
19690 Some code reformating.
19691 Changed order of adding updates i align_h and align_v.
19693 * app/modify_tool.c:
19694 Update calls to diagram_remove_all_selected.
19695 Added pointer grab when doing rubber-band selection, this fixes
19696 the bug when draging the box over to another window.
19698 * app/connectionpoint_ops.[ch]:
19699 diagram_update_connections_object changed to take an argument
19700 update_nonmoved. This lets connections that has not moved, but
19701 the stuff they're connected to has been moved work.
19702 Update calls to the new diagram_update_connections_object.
19704 * app/properties.c:
19705 Update calls to the new diagram_update_connections_object.
19706 Update extents when properties are applied.
19708 * app/disp_callbacks.c:
19709 Added support for zooming with the '+' and '-' keys.
19712 Removed old keyboard shortcuts for zoom.
19715 Added calls begin_render and end_render to renderer.
19716 These can be used for setup and cleanup.
19718 * lib/diagramdata.c:
19719 Added calls to begin_render and end_render in data_render.
19721 * app/render_gdk.c:
19722 Added begin_render and end_render.
19724 * app/render_eps.[ch]:
19725 Added begin_render and end_render.
19726 Moved close_eps_renderer code to end_render.
19727 Various fixes to the generated eps code. This fixes importing
19728 generated eps into LYX.
19730 1999-01-12 Alexander Larsson <alla@lysator.liu.se>
19736 Menus for alignment updated.
19738 * app/object_ops.[ch]:
19739 Functions for object alignment updated.
19741 * app/commands.[ch]:
19742 Object alignment callbacks updated.
19743 New diagrams are called Untitled-<nr>.
19745 * app/layer_dialog.c:
19746 Active layer selected when showing layers from new
19750 Compress xml files when saving.
19751 Use xml namespace 'dia'.
19754 Minor comment update.
19756 * objects/UML/class_dialog.c:
19757 Cleanup of the gkt_list_item moving code.
19758 Fixed bug with update of operation when moving parameters.
19760 1999-01-10 Alexander Larsson <alla@lysator.liu.se>
19762 * app/layer_dialog.[ch]:
19763 Fixed the rest of the layers dialog.
19766 Added call to redo layer dialogs diagram list when changing
19769 * lib/diagramdata.[ch]:
19770 Added data_raise_layer and data_lower_layer functions for
19771 raising/lowering layers. Added data_add_layer_at for adding a
19772 layer at a specified index.
19774 1999-01-05 Alexander Larsson <alla@lysator.liu.se>
19776 This is the asierra-990105 patch done by asierra@servidor.unam.mx.
19779 Added support for reading diagrams from the command line.
19781 1998-12-21 Alexander Larsson <alla@lysator.liu.se>
19783 This is the asierra-981220 patch done by asierra@servidor.unam.mx.
19785 * app/commands.[ch]:
19786 Added objects_align_callback().
19789 Added align objects to menu.
19791 * app/object_ops.[ch]:
19792 Add object_list_align().
19794 1998-12-17 Alexander Larsson <alla@lysator.liu.se>
19795 * app/layer_dialog.[ch]:
19796 New files. Handles the layers dialog. Needs a bugfix for glib to
19797 work. Sent patch to gtk-list.
19799 * app/pixmaps/new.xpm:
19800 * app/pixmaps/eye.xbm:
19801 * app/pixmaps/lower.xpm:
19802 * app/pixmaps/raise.xpm:
19803 * app/pixmaps/delete.xpm:
19804 New files. Images for the layer dialog buttons.
19806 * lib/diagramdata.h
19807 * lib/diagramdata.c
19808 New files for the DiagramData and Layer structures and functions.
19811 Added call to create_layer_dialog() on startup.
19813 * app/commands.[ch]:
19814 New callbacks for showing the properties and layout dialog.
19815 Changes for the new DiagramData structure.
19817 * app/connectionpoint_ops.c:
19818 * app/cut_n_paste.c:
19819 * app/diagram.[ch]:
19820 * app/display.[ch]:
19822 * app/modify_tool.c:
19823 * app/object_ops.[ch]:
19824 * app/render_eps.c:
19826 Changes for the new DiagramData structure.
19829 * app/properties.c:
19830 Set correct wmclasses.
19833 Fix load and save of layers.
19836 Update DTD for layers.
19839 New menus for dialogs.
19845 1998-12-06 Alexander Larsson <alla@lysator.liu.se>
19848 Removed the gtk 1.1.5 stuff.
19851 Updated gtk check to version 1.1.5.
19852 Updated version from 0.20 to 0.30
19854 * app/commands.[ch]:
19855 Updated some callbacks to be of type GtkItemFactoryCallback1.
19856 Not all are done yet, but it works anyway.
19859 Removed Gtk 1.0.0 GtkAcceleratorTable references.
19863 Update to Gtk 1.1.x functions.
19864 Use ItemFactory instead of MenuFactory.
19866 * app/render_gdk.c:
19867 Removed Gtk 1.0.0 references.
19869 * objects/UML/class_dialog.c:
19870 Scrolled window updates for Gtk 1.1.5.
19873 Removed ugly fix for gnome-xml bug. Make sure you get the
19874 newest version of gnome-xml from CVS.
19876 1998-12-05 Alexander Larsson <alla@lysator.liu.se>
19879 Removed the xml load/save line.
19885 Removed building of files.c
19888 * lib/connection.c:
19892 * lib/render_object.c:
19893 * objects/UML/actor.c:
19894 * objects/UML/association.c:
19895 * objects/UML/class.c:
19896 * objects/UML/constraint.c:
19897 * objects/UML/dependency.c:
19898 * objects/UML/generalization.c:
19899 * objects/UML/implements.c:
19900 * objects/UML/large_package.c:
19901 * objects/UML/note.c:
19902 * objects/UML/realizes.c:
19903 * objects/UML/small_package.c:
19904 * objects/UML/uml.c:
19905 * objects/UML/usecase.c:
19906 * objects/network/bus.c:
19907 * objects/standard/arc.c:
19908 * objects/standard/box.c:
19909 * objects/standard/ellipse.c:
19910 * objects/standard/line.c:
19911 * objects/standard/textobj.c:
19912 * objects/standard/zigzagline.c:
19913 Removed all includes of files.h
19916 1998-12-05 Alexander Larsson <alla@lysator.liu.se>
19919 Made the val property of string be implied.
19920 This makes it possible to save strings that
19921 are NULL. Just leave out val.
19923 * objects/lib/dia_xml.c:
19924 Fixed string so that it is possible to save strings
19925 that are NULL. Also made an ugly workaround of a
19926 bug in gnome-xml which removes empty properties.
19928 * objects/lib/orth_conn.c:
19929 Fixed a bug in saving. Forgot to step through the
19932 * objects/UML/association.c:
19933 * objects/UML/class.c:
19934 * objects/UML/constraint.c:
19935 * objects/UML/dependency.c:
19936 * objects/UML/generalization.c:
19937 * objects/UML/implements.c:
19938 * objects/UML/large_package.c:
19939 * objects/UML/note.c:
19940 * objects/UML/small_package.c:
19941 * objects/UML/realizes.c:
19942 * objects/UML/usecase.c:
19943 * objects/UML/actor.c:
19944 Fixed UML objects to save as xml.
19945 The last two were done by asierra@servidor.unam.mx (asierra-981204)
19947 * objects/UML/uml.[ch]:
19948 Updated *_write() and *_read() functions to use xml.
19950 * objects/network/bus.c:
19951 * objects/network/computer.c:
19952 * objects/network/disc.c:
19953 * objects/network/monitor.c:
19954 Updated network diagrams to use xml.
19956 1998-12-02 Alexander Larsson <alla@lysator.liu.se>
19959 New file. DTD that describes the xml file format
19962 * lib/dia_xml.[ch]:
19963 New files. Support for saving object to xml files.
19968 Added check for and usage of gnome-xml library.
19971 Major chages. Now saves/loads diagrams as xml.
19974 * lib/element.[ch]:
19975 * lib/connection.[ch]:
19976 * lib/orth_conn.[ch]:
19977 * lib/render_object.[ch]:
19979 Updated object support load/save functions for xml:
19981 * object/standard/arc.c:
19982 * object/standard/box.c:
19983 * object/standard/ellipse.c:
19984 * object/standard/line.c:
19985 * object/standard/textobj.c:
19986 * object/standard/zigzagline.c:
19987 Updated all standard objects to use xml.
19990 Only the standard objects are converted right now, don't
19991 save or load uml or network diagrams yet. Also, since this
19992 is new code it is deemed a bit unstable.
19997 1998-12-01 Alexander Larsson <alla@lysator.liu.se>
19999 * objects/UML/class.c:
20000 Changed classname font to Helvetica.
20001 Added more space above the classname
20003 * objects/UML/usecase.c:
20004 Correct placements of connectionpoints on ellipse.
20005 Better algorithm for deciding aspect ration on
20008 These changes were made by Alejandro Aguilar Sierra
20009 <asierra@servidor.unam.mx>. (asierra-981201)
20011 1998-11-30 Alexander Larsson <alla@lysator.liu.se>
20013 * objects/UML/actor.c:
20014 Changed the extents and alignment of the element
20017 * objects/UML/.cvsignore:
20018 Added usecase.lo and actor.lo.
20020 1998-11-30 Alexander Larsson <alla@lysator.liu.se>
20022 * objects/UML/actor.c:
20023 * objects/UML/usecase.c:
20024 * objects/UML/pixmaps/actor.xpm:
20025 * objects/UML/pixmaps/case.xpm:
20026 New files. Implements usecase and actor UML objects.
20027 These objects are done by Alejandro Aguilar Sierra
20028 <asierra@servidor.unam.mx>.
20030 * objects/UML/Makefile.am:
20031 * objects/UML/pixmaps/Makefile.am:
20032 Added usecase and actor to makefile.
20035 Added Alejandro and Jerome to autors list.
20037 1998-11-25 Alexander Larsson <alla@lysator.liu.se>
20039 * objects/UML/class.c (umlclass_load):
20040 Fixed typo. Reported by Jerome.Abela@solsoft.fr
20042 1998-11-24 Alexander Larsson <alla@lysator.liu.se>
20044 * app/properties.c:
20045 Update connections when doing apply in the properties window.
20047 * objects/UML/uml.[ch]:
20048 * objects/UML/class.[ch]:
20049 * objects/UML/class_dialog.c:
20050 Added connection points on both sides of attributes and
20051 operations in UML classes.
20052 Based on idea from Jerome.Abela@solsoft.fr
20054 1998-11-24 Alexander Larsson <alla@lysator.liu.se>
20057 Some new documentation about handles and connectionpoints.
20060 Added functions object_add_connectionpoint and
20061 object_remove_connectionpoint for handling a dynamic
20062 number of connectionpoints.
20064 * objects/UML/class.c:
20065 Only reserve space for stereotype when it is shown.
20067 These changes are from Jerome Abela <Jerome.Abela@solsoft.fr>
20069 1998-11-08 Alexander Larsson <alla@lysator.liu.se>
20071 * app/connectionpoint_ops.c:
20073 * app/disp_callbacks.c:
20074 * app/display.[ch]:
20076 * app/handle_ops.c:
20078 * app/modify_tool.c:
20079 * app/render_gdk.[ch]:
20081 Huge cleanup of internal rendering system.
20082 Moved a lot of data (pixmap, width, height & gc) into the GdkRenderer.
20083 This gives a few new methods for Interactive Renderers for setting
20084 clipping regions and drawing pixel based lines and rects.
20085 Updated the rest of the code to use the new stuff.
20087 * app/render_eps.c:
20091 * objects/standard/zigzagline.c
20092 Fixed unused variable warnings.
20095 Fixedbug with stringwidth where width==0.
20100 1998-11-02 Alexander Larsson <alla@lysator.liu.se>
20102 * lib/widgets.[ch]:
20103 Added suppot for setting the font of a
20104 DiaFontSelector widget.
20105 Also fixed some typos in the header.
20108 Added a comment about the GetPRoperties method call.
20109 You have to make sure to update widget state when
20110 this method is called. (Not all objects do this yet,
20116 1998-11-01 Alexander Larsson <alla@lysator.liu.se>
20119 Fixed problem with height of ascent and descent for fonts.
20120 It didn't use the whole height (==ascent+descent) when calculatine
20121 ascent_ratio and descent_ratio.
20123 * objects/standard/textobj.c:
20124 * objects/standard/box.c:
20125 * objects/standard/ellipse.c:
20126 * objects/standard/line.c:
20127 * objects/standard/arc.c:
20128 Updated and added property dialogs for these objects.
20129 Also added line width/color/style to those objects
20130 that didn't have it.
20131 This change breaks fileformat compatibility for these objects.
20133 * objects/standard/zigzagline.c:
20134 Changed zigzagline to be based on OrthConn, much nicer.
20135 Also added line style and color to properties.
20136 This change breaks fileformat compatibility for zigzagline.
20139 Fixed bug in message(). Forgot a pair of '&'.
20141 1998-10-29 Alexander Larsson <alla@lysator.liu.se>
20143 * lib/widgets.[ch]:
20144 Added DiaColorSelector widget.
20145 This is a colored button that pops up a color selection
20146 dialog when pressed.
20148 1998-10-28 Alexander Larsson <alla@lysator.liu.se>
20150 * lib/widgets.[ch]:
20152 New files, added widgets for selecting fonts, alignment
20153 and line-style. Will be used later.
20155 1998-10-12 Alexander Larsson <alla@lysator.liu.se>
20159 * objects/UML/Makefile.am:
20160 * objects/network/Makefile.am:
20161 * objects/standard/Makefile.am:
20162 Changed "CFLAGS = -Wall -g" to "CFLAGS = @CFLAGS@"
20163 in all Makefile.am.
20165 1998-10-03 Alexander Larsson <alla@lysator.liu.se>
20167 * app/handle_ops.c (handle_draw):
20168 connected HANDLE_MINOR_CONTROL also becomes red.
20170 1998-10-02 Alexander Larsson <alla@lysator.liu.se>
20173 removed -ldl from linking. This is added if needed by configure.
20176 Open dlls with RTLD_LAZY if it is defined.
20177 Some cleanups: char *error -> const char *error
20178 Added fprintf()'s to where we exited because of errors.
20181 Include <sys/types.h>
20183 1998-10-01 Alexander Larsson <alla@lysator.liu.se>
20188 Detect dlopen better.
20189 Detect wether dlopen needs an underscore in the identifier.
20190 This code was mostly borrowed from guile.
20194 * objects/standard/standard.c:
20195 * objects/network/network.c:
20196 * objects/UML/uml.c:
20198 Changed the way sheets reference objects to use just the
20199 name. Changed module loading to a two stage model:
20200 First register_objects() is called for all modules.
20201 Then register_sheets() is called. This means that
20202 sheets can safely include objects from other modules.
20205 1998-09-30 Alexander Larsson <alla@lysator.liu.se>
20207 * objects/network/bus.c:
20208 * objects/network/network.c:
20209 * objects/network/Makefile.am:
20210 New file bus.c. Added new object: Ethernet bus.
20212 * objects/standard/box.c:
20213 Added call to gtk_spin_button_set_numeric for linewidth spinner
20214 in property dialog.
20216 1998-09-30 Alexander Larsson <alla@lysator.liu.se>
20218 * app/connectionpoint_ops.c:
20219 * app/create_object.c:
20221 * app/handle_ops.c:
20222 * app/modify_tool.c:
20223 * lib/connection.c:
20228 * loads of objects:
20229 Changed handle->connectable to handle->connect_type.
20230 Now handles can be HANDLE_CONNECTABLE_NOBREAK, which means
20231 that their connections don't break when moving objects.
20234 Always select the last handle in an object that has
20235 the closest distance.
20237 * lib/geometry.[ch]:
20238 Added rectangle_add_point function.
20241 1998-09-27 Alexander Larsson <alla@lysator.liu.se>
20243 * app/properties.[ch]: New files. Handles the new properties
20246 * app/modify_tool.c: Changed to use new properties dialog.
20248 * app/object_ops.[ch]: Removed object_changed_callback, as it's
20249 not needed anymore. This is now handled differently in
20253 Changed the properties ops for objects. Removed typedefs
20254 ChangedObjectTime and ObjectChangedFunc needed for the old way.
20255 Added object_return_null function.
20258 * lib/render_object.c:
20260 Changed objects to use the new properties dialog.
20263 1998-09-14 Nuno Ferreira <nmrf@rnl.ist.utl.pt>
20265 * */Makefile.am (INCLUDES): Changes to work with srcdir !=
20268 * autogen.sh: New file. Copied from gtk and added a call to
20269 libtoolize. Anyone knows why this isn't done in gtk?
20271 * Removed autogenerated files.
20273 1998-09-12 Alexander Larsson <alla@lysator.liu.se>
20275 * Added call setlocale(LC_NUMERIC, "C") so that formating of
20276 floating-point numbers in postscript output will be correct.
20277 * Did some cleanup of generated postscript files.