2005-12-27 Hans Breuer <hans@breuer.org>
[dia.git] / ChangeLog
blob677d70d9d594f8793f8c8da6e6182013ca1ffd2b
1 2005-12-27  Hans Breuer  <hans@breuer.org>
3         * app/diapsft2renderer.c(draw_bezier_outline) : only call
4         FT_Outline_Decompose() when FT_GLYPH_FORMAT_OUTLINE.
5         Prefers no text output over crashing for bug #144212
7         * app/interface.c : removed superfluous call to dia_canvas_set_size().
8         Suggested by Roland Stigge, fixes bug #148149.
10         * plug-ins/dxf/dxf-import.c : don't complain too loud on Binary
11         DXF. It is not supported at all. Fixes bug #322101
13         * lib/geometry.c : removed the ifdefed GLIB_CHECK_VERSION(2,7,0)
14         define G_IMPLEMENT_INLINES. It breaks again with glib-2-8
17 2005-12-27  Hans Breuer  <hans@breuer.org>
19         * app/navigation.c : protect on_da_button_release_event() against being
20         called twice. Also only popdown the navigation window after the first 
21         draw (reusing nav->is_first_expose). Fixes bug #151696
22         
23         * app/interface.c(create_display_shell): don't clip width on screen height, 
24         but height
26         * lib/plug-ins.c : fixed typo in comment
27         
28         * lib/libdia.def : updated externals
29         * lib/makefile.msc : build debug.obj
31         * plug-ins/makefile.msc : building pgf in the right alphabetical order
32         * plug-ins/pgf/render_pgf.c : include <glib/gprintf.h>
33         
34 2005-12-08  Lars Clausen  <lars@raeder.dk>
36         * app/authors.h: 
37         * plug-ins/pgf/pgf.c: 
38         * plug-ins/pgf/render_pgf.[ch]: 
39         * plug-ins/pgf/Makefile.am: 
40         * plug-ins/Makefile.msc: 
41         * plug-ins/Makefile.am (SUBDIRS): 
42         * configure.in: Patch from Moritz Kirmse <momomaniac@gmail.com>: Add
43         support for PGF output for including in (La)TeX documents that
44         allows PDF generation.
46         * samples/render-test.dia: Added samples of text in different
47         sizes, standard fonts and styles with size markers.
49 2005-12-04  Lars Clausen  <lars@raeder.dk>
51         * lib/Makefile.am (gen_sources): Mark marshal files as generated.
52         (BUILT_SOURCES): Added marshal files.
54 2005-12-03  Lars Clausen  <lars@raeder.dk>
56         * lib/Makefile.am (diamarshal.c): Fix marshal rules to not talk
57         about $(srcdir) and confusing everybody.
59         * app/undo.c:
60         * lib/diagramdata.c:
61         * lib/diagramdata.h:
62         * lib/diamarshal.list:
63         * plug-ins/python/pydia-diagram.c:
64         * plug-ins/python/pydia-diagramdata.c:
65         * plug-ins/python/python-startup.py: Patch from David Johansson
66         <david.lgj@gmail.com>: Add signals emitted when objects are
67         inserted or removed.
69 2005-11-13  Lars Clausen  <lars@raeder.dk>
71         * app/display.c (update_zoom_status): Fix of bug #321387: Avoid
72         (small) buffer overflow by using g_strdup_printf instead of sprintf.
74 2005-11-09  Lars Clausen  <lars@raeder.dk>
76         * app/app_procs.c: 
77         * plug-ins/dxf/dxf-import.c (import_dxf): Don't use g_error except
78         when reaching the statement is a bug.  Using g_critical and exit() for
79         fatally wrong inputs.
81         * objects/UML/uml.c: 
82         * objects/UML/class.c: Patch from dklotzbach@foxvalley.net (dave
83         Klotzbach): Fixes template rendering and converts home-brew inline
84         doc format to javadoc.  Doesn't yet fix bug #320934, but turns it
85         into a dup.
87 2005-11-07  Lars Clausen  <lars@raeder.dk>
89         * lib/object.[ch]: Add 'enclosing box' as opposed to 'bounding
90         box' since several objects have problems of using bounding box in
91         different ways (see bug #300055).  For now, enclosing box ==
92         bounding box, but over time objects will learn to expand the
93         bounding box to include things only rendered interactively.
95         * app/modify_tool.c (modify_motion): Make sure highlight is reset
96         when moving between overlapping objects.
98         * app/interface.c (interface_toggle_mainpoint_magnetism): Redraw
99         diagram after toggling to make red X's come and go.
101         * lib/font.c: #ifdef'd out layout cache for bug #307320.  Define
102         it if you need faster rendering and aren't afraid of crashbugs:)
104         * lib/objchange.c: Bugfix from dklotzbach@foxvalley.net
105         (dave Klotzbach):  Fixes null pointer problems in free function.
107         * objects/UML/class.c
108         * objects/UML/class.h
109         * objects/UML/class_dialog.c: Patch from dklotzbach@foxvalley.net
110         (dave Klotzbach): Make UML comments conform to UML 1.0 standard
111         and allow multi-line comments. Ugly as hell, but standard.  Time
112         for a 'Strict UML' option?  Fixes bug #303744.
113         
114         * objects/UML/state.c: Patch from Peter Allin <peter@peca.dk>: Add
115         entry, exit and do descriptions to a state object.  Fixes bug #65434.
117 2005-11-03  Lars Clausen  <lars@raeder.dk>
119         * lib/arrows.c:
120         * lib/attributes.c:
121         * lib/autoroute.c:
122         * lib/bezier_conn.c:
123         * lib/boundingbox.c:
124         * lib/color.c:
125         * lib/connection.c:
126         * lib/connectionpoint.c:
127         * lib/dia_dirs.c:
128         * lib/dia_image.c:
129         * lib/dia_svg.c:
130         * lib/dia_xml.c:
131         * lib/diaarrowchooser.c:
132         * lib/diaerror.c:
133         * lib/diagdkrenderer.c:
134         * lib/diagramdata.c:
135         * lib/element.c:
136         * lib/object.c:
137         * lib/object.h:
138         * lib/parent.c:
139         Added documentation java-doc style.  Also a few trivial cleanups.
140         
141 >>>>>>> 1.1816
142 2005-10-13  Lars Clausen  <lars@raeder.dk>
144         * lib/connectionpoint.h (DIR_ALL): Parentheses around operations
145         in macros.
147         * plug-ins/hpgl/hpgl.c (export_data): Correct error message.
149         * lib/Makefile.am:
150         * lib/debug.[ch]:
151         * lib/object.[ch]: 
152         * objects/UML/class.[ch]: 
153         * objects/UML/uml.h: 
154         * objects/UML/umlattribute.c: 
155         * objects/UML/umloperation.c: 
156         * objects/UML/class_dialog.c: 
157         Rework of the UML class attribute/operation handling.  Now doesn't
158         copy connection points into the dialog data, but only the "flat"
159         data.  As part of debugging made sanity check functionality.
160         Currently still dies when deleting an attribute/operation that has
161         a connection to it.
163 2005-10-09  Hans Breuer  <hans@breuer.org>
165         * lib/properties.h : prefer american spelling of colo(u)r for
166         user visible strings - i.e. to be translated ones.
167         * objects/UML/uml.c : it is Implementation. Together fixes bug #313929
168                                         ^
169         * po/*.po : updated (by 'make distcheck')
171 2005-10-09  Hans Breuer  <hans@breuer.org>
173         * app/display.c : allow !"toolbox on top" without restart.
174         (Chris Hellberg, bug #310702)
176 2005-10-09  Hans Breuer  <hans@breuer.org>
178         * lib/arrows.c : patch from Radek Krahl fixing the blanking
179         of two arrowheads, bug #310157
181 2005-10-08  Hans Breuer  <hans@breuer.org>
183         * plug-ins/python/group_props.py : show a descriptive text instead of an 
184         empty table if there are no common properties to change. Fixes bug #314432
186 2005-10-08  Hans Breuer  <hans@breuer.org>
188         * objects/UML/transition.c : inverted default direction of
189         the direction. Patch from Peter Allin, fixes bug #318049
190         [You possibly need to 'rm ~/.dia/defaults.dia' to have an effect]
192 2005-10-08  Hans Breuer  <hans@breuer.org>
194         * app/Makefile.am objects/standard/Makefile.am : match the
195         referenced icons to the needed. Make 'make distcheck' pass
196         and thus fixes bug #312152
198         * objects/standard/textobj.c : no C++ comments please!
200 2005-10-08  Hans Breuer  <hans@breuer.org>
202         * objects/standard/textobj.c : preserve the position set on create
203         [makes e.g. text positioning of diasvg_import.py work]
205         * plug-ins/python/diasvg_import.py : restrict what eval() can do
206         with strings from svg files. Fixes the arbitrary code execution from 
207         bug #317637
208         
209         * app/pixmaps/mainpoints-(on|off).png : new icons to toggle center point
210         magnetism. At least they are distinguishable from grid snapping.
211         * app/makefile.msc app/Makefile.am : use them
212         
213         * lib/focus.c(reset_foci) : also remove_focus(). This fixes bug #172851
214         I also can't reproduce bug #309044 anymore (on win32).
215         
216 2005-10-01  Lars Clausen  <lars@raeder.dk>
218         * lib/connectionpoint.h (DIR_ALL): Parentheses around | expressions.
220         * plug-ins/hpgl/hpgl.c (export_data): Listen to warnings and don't
221         pass FILE * as gchar *.
223         * lib/debug.[ch] (dia_assert_true): Debugging aids.
225 2005-09-29  Lars Clausen  <lars@raeder.dk>
227         * objects/UML/class.h: Enabling mainpoints for UML.
229         * objects/UML/class.c (umlclass_set_props): Make sure to always
230         realloc connection point list.
232 2005-09-26  Ahmad Riza H Nst  <rizahnst@id.gnome.org>
234         * configure.in: Added "id" in ALL_LINGUAS line.
236 2005-09-14  Lars Clausen  <lars@raeder.dk>
238         * objects/UML/class.c (umlclass_load): Set mainpoint obj upon
239         loading.  Fixes bug #315427.
241 2005-09-11  Hans Breuer  <hans@breuer.org>
243         * objects/standard/arc.c objects/standard/textobj.c : fix
244         C99isms, Dia is supposed to compile with C89 like msvc
246         * app/makefile.msc : use the wrong center-point-magnetism
247         icons for the win32 build, too.
249         * plug-ins/python/pydia-error.c : dont crash on C escape
250         sequences in the error string
251         * plug-ins/python/pydia-render.c : dont free filename twice
253         * plug-ins/python/dot.py : start of an exporter to DOT language
254         which can be processed by www.graphviz.org tools
256 2005-09-05  Iñaki Larrañaga  <dooteo@euskalgnu.org>
258         * configure.in: Added "doc/eu/Makefile" for Basque documentation.
260 2005-09-04  Iñaki Larrañaga  <dooteo@euskalgnu.org>
262         * configure.in: Added "eu" to ALL_LINGUAS.
264 2005-09-04  Lars Clausen  <lars@raeder.dk>
266         * lib/element.h (ELEMENT_COMMON_PROPERTIES): Remove object
267         dimensions frame to make ext_attributes work again.
269         * app/grid.c (snap_to_grid): Bugfix from Zhang Lin-bo
270         <zlb@lsec.cc.ac.cn>: Use dynamic grid setting from diagram, not
271         global prefs.
273         * objects/standard/textobj.c: Applied patch from Grégoire Dooms
274         <dooms info ucl ac be>: Add vertical alignment for standard text
275         object.  This should really be moved into lib/text.c and apply to
276         all text objects.
278 2005-09-03  Lars Clausen  <lars@raeder.dk>
280         * app/connectionpoint_ops.c (connectionpoint_draw): Only draw
281         mainpoint when snap-to-objects is not on.
283         * app/Makefile.am (ICON_PNG_PAIRS): 
284         Fake icons for snap-to-objects.
286         * app/commands.[ch]: 
287         * app/menus.c (menus_get_image_menubar): 
288         * app/display.[ch]: 
289         * app/interface.c (create_display_shell): 
290         * app/create_object.c (create_object_button_release): 
291         * app/disp_callbacks.c (ddisplay_drop_object): 
292         * app/object_ops.[ch]: 
293         * app/connectionpoint_ops.c (ddisplay_connect_selected): 
294         * app/modify_tool.c (modify_button_release): 
295         * app/display.[ch]: 
296         Togglable snap-to-objects, also doesn't snap when moving entire
297         object.  This should be more reasonable in practical use, and can
298         be turned off when you want to place your arrows more precisely.
300 2005-08-06  Hans Breuer  <hans@breuer.org>
302         * plug-ins/cairo/diacairo.c : increased #ifdef MESS:
303         With Gtk+-2.7.x cairo must be available so the HAVE_CAIRO case
304         becomes even more ugly when the user has choosen *not* to build 
305         the diacairo plug-in. If noone can come up with a very convincing 
306         reason why it has to be done this way I'll probably go back to 
307         my original dont-build-at-all approach when this breaks the 
308         next time.
310 2005-08-02  Lars Clausen  <lars@raeder.dk>
312         * objects/standard/arc.c: Patch from Grégoire Dooms
313         <dooms@info.ucl.ac.be>: An almost perfect arc autogap
314         implementation.  "There is still a small bug when the non
315         connected end of the arc is very close to the border of the
316         connected object. I think this is due to rounding errors in the
317         code for SHIFT-move handle which is reused to trim the arc in
318         autogap. Also it is not yet possible to have a startgap and an
319         endgap from/to the same central CP."
321 2005-07-31  Hans Breuer  <hans@breuer.org>
323         * plug-ins/cairo/diacairo.c congigure.in : dont wait any 
324         longer for distributions official packages - depend 
325         on cairo 0.6.0 - fixes bug #307144
327 2005-07-20  Hans Breuer  <hans@breuer.org>
329         * lib/element.h : remove stray NULL in ELEMENT_COMMON_PROPERTIES
330         which must match PropDescription, that is make it at least compile.
332 2005-07-19  Hans Breuer  <hans@breuer.org>
334         * app/diagram.c(new_diagram) : what comes from g_object_new()
335         MUST NOT be g_free()'d 
337         * lib/message.h : added dia_message_filename() here as well.
338         Mainly to not touch all files using. They *all* where using
339         lib/message.h already! Maybe the implemantation should be moved
340         to message.c as well cause the function has *nothing* to do
341         with dynamic filename resolving. It is a wrapper around
342         g_display_filename() mostly (only?) used for messages ...
343         * lib/dia_dirs.c(dia_message_filename) : fix C99ism
345 2005-07-18  Lars Clausen  <larsrc@raeder.dk>
347         * objects/EML/instantiation.c (instantiation_load): 
348         * objects/EML/interaction-ortho.c (interaction_ortho_type) 
349         * objects/ER/participation.c (participation_type): 
350         * objects/FS/flow-ortho.c (orthflow_type): 
351         * objects/GRAFCET/vector.c (arc_load): 
352         * objects/standard/zigzagline.c (zigzagline_type): 
353         * objects/UML/transition.c (transition_load): 
354         * objects/UML/realizes.c (realizes_load): 
355         * objects/UML/dependency.c (dependency_load): 
356         * objects/UML/generalization.c (generalization_type): 
357         * objects/UML/association.c (association_type): 
358         * objects/UML/component_feature.c (compfeat_load): 
359         Make autorouting deafult on except for old diagrams.
361         * plug-ins/cairo/diacairo.c (export_data): 
362         * plug-ins/cgm/cgm.c (export_cgm): 
363         * plug-ins/dxf/dxf-export.c (export_dxf): 
364         * plug-ins/dxf/dxf-import.c: 
365         * plug-ins/hpgl/hpgl.c (export_data): 
366         * plug-ins/metapost/render_metapost.c: 
367         * plug-ins/pixbuf/pixbuf.c: 
368         * plug-ins/pstricks/render_pstricks.c: 
369         * plug-ins/python/pydia-render.c: 
370         * plug-ins/shape/shape-export.c: 
371         * plug-ins/svg/render_svg.c: 
372         * plug-ins/svg/svg-import.c: 
373         * plug-ins/wpg/wpg.c 
374         * plug-ins/xfig/xfig-export.c: 
375         * plug-ins/xfig/xfig-import.c: 
376         * plug-ins/xslt/xslt.c: Use dia_message_filename to ensure legal
377         UTF-8 in message boxes.
379 2005-07-18  Lars Clausen  <lars@raeder.dk>
381         * lib/element.h (ELEMENT_COMMON_PROPERTIES): Allow Element objects
382         to have their dimensions specified in properties.  Still needs to
383         have proper update when setting properties cause constraint changes.
385         * app/preferences.c (update_floating_toolbox): Allow
386         toolbox_on_top setting to happen at once.
388         * app/diagram.c
389         * app/filedlg.c
390         * app/load_save.c
391         * app/render_eps.c
392         * app/sheets_dialog_callbacks.c
393         * lib/dia_dirs.c
394         * lib/dia_dirs.h
395         * lib/dia_xml.c
396         * lib/diarenderer.c
397         * lib/element.h
398         * lib/object_defaults.c:
399         Patch from lav@altlinux.ru (Vitaly Lipatov): Make filenames safe
400         for displaying in messages - better than crashing!  Mostly fixes
401         #310087.
402         
403         * objects/UML/class.c:  Save normal_font_height under the same
404         name it gets loaded as.  Fixes bug #310515.
406         * doc/en/authors.xml
407         * doc/en/usage-customization.xml
408         * doc/en/usage-objects-special.xml
409         * doc/en/usage-objects.xml: Some documentation fixes.  Fixes bug
410         #308315.
412 2005-07-17  Lars Clausen  <lars@raeder.dk>
414         * doc/en/usage-customization.xml: 
415         * doc/en/usage-objects.xml: 
416         * doc/en/authors.xml: 
417         * doc/en/usage-objects-special.xml: Applied patch from
418         stigge@antcom.de (Roland Stigge):  Diverse typos and
419         misencodings.  Fixes bug #308315.
421         * objects/UML/class.c (umlclass_save): Patch from
422         i.pilcher@comcast.net: Save normal font height under correct name
423         to reload it.  Fixes bug #310515.
425 2005-07-10  Hans Breuer  <hans@breuer.org>
427         * app/connectionpoint_ops.c app/object_ops.c : make the
428         'whole object' connection point only center point again. 
429         That is: it is visible and far less magnetic. Only the
430         line gap handling make it special. For me this probably
431         fixes bug #303301
433         * lib/neworth_conn.c : apply the same as for bug #173031.
434         This OrthConn fork got broken as well. Fixes bug #309381
436         * app/makefile.msc objects/makefile.msc : adapt to icon changes
438         * app/interface.c app/diagram_tree.c : a char** is still not 
439         a char* and the win32 build is configured to error on 
440         sloppiness like this
442         * plug-ins/wmf/wmf.cpp : fix typo in preprocessor condition
444 2005-07-10  Hans Breuer  <hans@breuer.org>
446         [
447           Take part in the toolbox icon redesign context! If you want to 
448           make them really prettier, please keep the following in mind :
449           - the size *must* be 22x22 otherwise button reflow will get broken.
450             Or you need to change about 800 icons at once.
451           - one important part of Dia are control points, so maybe the icons
452             should reflect that. (IMO gathering random icons form other 
453             apps wont work)
454           - the icons should at least look consistent in their group
455         ]
457         * app/Makefile.am : use 22x22 variants mostly lent from The GIMP
458         * app/pixmaps/*.png : added arrow-22.png scroll-22.png zoom-22.png
460         * objects/standard/*.c : get rid of xpm includes to avoid mixing icon sets
461         * objects/standard/pixmap/* : added arc.png beziergon.png 
462         bezierline.png box.png ellipse.png image.png line.png polygon.png 
463         polyline.png text.png zigzagline.png
464         * objects/standard/Makefile.am : use the new icon set including
465         text and arc ...
467         * app/interface.c : remove the "will probably crash" debug spew
469 2005-07-09  Lars Clausen  <lars@raeder.dk>
471         * objects/standard/pixmaps/*.png:
472         * objects/standard/Makefile.am:
473         * objects/standard/*.c:
474         * app/interface.c: 
475         * app/diagram_tree.c (create_object_pixmap): Fix icon loading. use
476         new icons. [Slightly belated entry]
478 2005-07-03  Hans Breuer  <hans@breuer.org>
480         * app/diagram_tree.c : dont leak display name
481         * app/app_procs.c : dont leak GOptionContext
482         * app/prop_widgets.c(frame_beginprop_get_widget) : 
483         Gtk api still not eating strings ...
485         * objects/UML/class.c() : don't load properties once more 
486         which are already loaded by StdProps. In case of strings 
487         (data_string) it has even produced leaks.
489         * app/paginate_psprint.c app/diagram.[hc] : the last
490         of the related dialogs is gone and with it the 
491         misconception of destroying widgets from 
492         diagram::finalize()
493         * app/display.c : ensure the diagram is still threre
494         when we remove the display from it's list
496 2005-07-01  Hans Breuer  <hans@breuer.org>
498         * lib/widgets.c(dia_color_selector_more_callback): dont 
499         free old_color twice
501         * plug-ins/wmf/wmf.cpp : finally added enahnced meta file
502         option. Thus linestyles can be preserved on export - at 
503         least on NT based systems.
505         * NEWS : clarify the wmf outside of windows issue
507         * app/modify_too.c : fix C99ism
509         * objects/standard/arc.c : debug spew optional at compile time
511 2005-06-26  Hans Breuer  <hans@breuer.org>
513         [ Cyrille would call it: warningectomy :-]
515         * lib/font.c app/create_object.c : `...' might be used uninitialized
516         in this function. Yes they were.
517         * app/modify_tool.c : modify_tool.c:610: warning: `obj' might be used 
518         uninitialized in this function. Yes it was with textedit_activate_object()
519         Also some static correctness.
520         * lib/diarenderer.c:678: warning: no previous prototype for 
521         `calculate_min_radius'. Made static.
522         * lib/dia_svg.c : ptr is a gchar *
523         * dia_xml.c(data_point,data_rectangle) : gchar *str for parsing
524         * lib/prop_text.c(multistringprop_get_widget) : use G_CALLBACK
525         * app/app_procs.c : confirm warning and make dump_dependencies() static
526         * app/autosave.c : #if 0'd old stuff
527         * app/display.c : GTK_CHECK_MENU_ITEM() for snap_to_grid
528         * 
529         * lib/text.c lib/font.c objects/standard/line.c object/UML/class.c
530           objects/Istar/goal.c objects/standard/bezier.c objects/standard/beziergon.c
531           plug-ins/cgm/cgm.c plug-ins/cairo/diacairo.c plug-ins/hpgl/hpgl.c
532           plug-ins/wpg/wpg.c plug-ins/svg/svg-import.c plug-ins/shape/shape-export.c
533           plug-ins/dxf/dxf-export.c plug-ins/gprint/diagnomeprintrenderer.c
534           plug-ins/gprint/diagnomeprint.c  plug-ins/xfig/xfig-export.c
535           app/diagram_tree_menu_callbacks.c app/recent_files.c app/undo.c app/menus.c
536           app/diapsrenderer.c app/diagram.c app/disp_callback.c : 
537         removed unused variables and functions
538         * objects/UML/umlattribute.c objects/UML/umloperation.c 
539           objects/UML/umlparameter.c objects/UML/umlformalparameter.c : 
540         neither 'missing braces around initializer' nor 'initialization from 
541         incompatible pointer type'
542         * objects/UML/class_dialog.c : more static
543         * app/interface.c : static and almost const correctness and some
544         less unitialized variables.
545         * app/diapsft2renderer.c : use (int) casts like the original 
546         (http://imagic.weizmann.ac.il/~dov/freesw/paps/ v0.4) does
547         * app/render_gdk.c: stop assignment from incompatible pointer type,
548         make member functions match the prototype.
549         * app/render_libart.c : Dito. Also stop caching the copy_gc in
550         a static variable. Otherwise it finally leaks and also may cause 
551         BadMatch with changing windows
552         => warning count down from about 250 to about 60, one or two hand full 
553            crash bugs less.
555 2005-06-26  Hans Breuer  <hans@breuer.org>
557         * lib/libdia.def : added dia_font_get_description, missing
558         from my last commit
560         * app/app_procs.c : use png_get_header_ver(NULL), that is:
561         prefer function call over exported variable to get the 
562         runtime version of libpng
564 2005-06-19  Hans Breuer  <hans@breuer.org>
566         * plug-ins/python/Makefile.am : added codegen.py to EXTRA_DIST
567         as suggested by Roland Stigge, bug #308310
569 2005-06-19  Hans Breuer  <hans@breuer.org>
571         * app/filedlg.c(file_export_callback) : oops, gtk_widget_show() wasn't 
572         called anymore
574 2005-06-18  Hans Breuer  <hans@breuer.org>
576         * NEWS : mention new file dialog
578         [plugged remaining leaks from bug #142669]
579         * lib/prop_attr.c(fontprop_free) : not only unref the font
580         but free the property itself, too. 
581         * app/diagram_tree.c(create_diagram_children): remember the
582         original list start to not only free the last element 
584         * lib/prop_sdarray.c:64: warning: `arrayprop_free' defined 
585         but not used. Here it meant a potentially huge leak.
587 2005-06-18  Hans Breuer  <hans@breuer.org>
589         * po/POTFILES.in : removed app/diaconv.c which isn't referenced 
590         by app/Makefile.am anymore either. Should finally fix 'make distcheck' 
591         for others, too. ( Roland Stigge, bug #144527 )
593 2005-06-18  Hans Breuer  <hans@breuer.org>
595         * plug-ins/wmf/Makefile.am : prevent installation. It 
596         doesn't do anything useful on *NIX and even seems to be
597         linked wrong by gcc (or me;). Fixes bug #172830 
599 2005-06-18  Hans Breuer  <hans@breuer.org>
601         * app/textedit.[hc] lib/arrows.[hc] plug-ins/xslt/xslt.h
602           plug-ins/xslt/xsltdialog.c plug-ins/xslt/xslt.c : fix for sloppiness
603         in function declarations. 'f();' for a function without parameters is
604         a C++ism. Though I can't get any of my compilers to warn about it.
605         Finally fixes bug #142663.
607 2005-06-18  Hans Breuer  <hans@breuer.org>
609         * app/textedit.[hc] lib/arrows.[hc] plug-ins/xslt/xslt.h
610           plug-ins/xslt/xsltdialog.c plug-ins/xslt/xslt.c : fix for sloppiness
611         in function declarations. 'f();' for a function without parameters is
612         a C++ism. Though I can't get any of my compilers to warn about it.
613         Finally fixes the rest of bug #142663.
615 2005-06-18  Hans Breuer  <hans@breuer.org>
617         * lib/font.h lib/font.c : _DiaFont is now private to prepare bigger 
618         changes but doesn't hurt anyway. See bug #162034 
619         * app/diapsft2renderer.c app/modify_tool.c 
620           plug-ins/gprint/diagnomeprintrenderer.c : use dia_font_get_description() 
621         instead of messing with internals
622         * app/display.c : give interactive renderers more begin/end render. 
623         It is guaranteed that the scale wont change between these.
625 2005-06-18  Hans Breuer  <hans@breuer.org>
627         * app/app_procs.c : const correctness for stderr_message_internal
628         * app/dia-props.c : gtk_toggle_*() functions want GTK_TOGGLE_BUTTON 
629         not GTK_CHECK_BUTTON, also some G_CALLBACK casts
630         * app/disp_callbacks.c : don't dereference the to the function call
631         when the function pointer in meant to be checked against 0
632         * app/interface.c : warning fixes by using correct types
633         * app/modify_tool.c : describe_props() members returns const pointer
634         * app/render_libart.c : removed most of the render function again.
635         They happily live in lib/dialibartrenderer.c since almost 3 years
636         http://cvs.gnome.org/viewcvs/dia/app/render_libart.c?r1=1.31&r2=1.32
637         * lib/dia_dirs.c : dia_get_canonical_path() const correctness
638         * lib/dia_svg.c lib/dia_xml.c : some char to xmlChar changes
639         * lib/dialibartrenderer.c(set_line_join): actually set the join_style
640         instead of the cap_style. Don't initialize Art* enums with GDK_* constants.
641         Both mentioned in bug #159814 and not warned by most other compilers.
642         * lib/diagtkfontsel.c : at least the watcom compiler did not like the
643         trailing colon in the GtkTypeInfo initialization
644         * lib/properties.c : avoid redefinition of LIBDIA_COMPILATION
645         * lib/dialinechooser.c lib/diagdkrenderer.c : there may be a difference 
646         between char and gint8
647         * plug-ins/metapost/render_metapost.c : replace invalid escape \% with %%
648         * plug-ins/wpg/wpg.c : consitently use guint8
649         * config.h.win32 : change HAVE_* defines to 1 not empty, avoids 
650         redefinition warnings for python and xslt plug-ins
652 2005-06-18  Hans Breuer  <hans@breuer.org>
654         * lib/diagramdata.c : really get rid of diagram_data_destroy 
655         and new_diagram_data [ no previous prototype for `...' is either
656         a sign of missing static or of a function to vanish :-]
658         * lib/geometry.c : apparently the G_INLINE stuff was working only
659         with particular GLib version(s), glib-2.6.4 does not. Conditionally
660         reverting to the old mecanics.
662 2005-06-17  Hans Breuer  <hans@breuer.org>
664         * plug-ins/python/pydia-*.c : include order tweaking to 
665         get rid of redefinition warnings. Ensure to include <Python.h> 
666         before any 'system' header, some dragged in by glib.h
667         * plug-ins/python/pydia-diagramdata.c(PyDiaDiagramData_Str)
668           pydia-properties.c(PyDiaProperties_Str)
669           plug-ins/python/pydia-property.c(PyDiaProperty_Str) : 
670         use %p to format pointers
671         * plug-ins/python/pydia-geometry.c(PyDiaArrow_Str) : 
672         dont cast to float for %d
673         * plug-ins/python/pydia-handle.c(PyDiaHandle_Connect) : 
674         use correct pointer type
675         * plug-ins/python/pydia-image.c(PyDiaImage_Str) :
676         dont discard qualifier aka dont free const strings
677         * plug-ins/python/pydia-properties.c : casts to PyCFunction
678         * plug-ins/python/pydia-property.c : removed unused function,
679         make ensure_quarks() static
680         * plug-ins/python/pydia-render.c : removed unused vars, use
681         the correct signature for begin_render
682         (dia_py_renderer_finalize): pluged a leak
683         => except -fno-strict-aliasing there is no warning left in 
684            all of PyDia
686 2005-06-12  Hans Breuer  <hans@breuer.org>
688         * app/filedlg.c : really fix the file extension mismatch on export dialog
689         by working around some gtk+-2.6 behaviour (bug #307378). Fixes bug #305850
691 2005-06-11  Hans Breuer  <hans@breuer.org>
693         * configure.in config.h.win32.h : mark as +cvs (should have been 
694         done directly after the 0.94 release)
695         * NEWS : attempt to summarize 2/3 year of development
697         [ 
698           WANT_AUTOMAKE=1.7 ./autogen.sh && ./conifugre  --enable-maintatiner-mode && make distcheck
699           finally passes again
700         ]
701         * app/app_procs.c : force use of POPT for the GNOME case, otherwise
702         app/run_dia.sh --credits > THANKS => Segmentation fault
703         * app/pixmaps/Makefile.am : added group.png and ungroup.png
704         * Makefile.am : work around scrollkeeper bug
705         * doc/en/Makefile.am : explicit list DISTCLEANFILES = dia.1
707         * po/*.po : 'noise' produced by make dist
709 2005-06-10  Hans Breuer  <hans@breuer.org>
711         * lib/properties.h : define PROP_STD_SHOW_BACKGROUND_OPTIONAL ...
712         * objects/custom/custom_object.c : ... and use it to avoid 
713         complains about missing attribute "show_background". It is 
714         safe to leave this uninitialized. Same for flip_* and "text",
715         the latter with comment cause it usually is *not* safe to do 
716         it for the general case. Fixes remaining issues with bug #169006
717         which where caused by an incompatible change in the shape file.
719         * app/commands.c : use "gnome-open" instead of "netscape" as
720         fallback for $BROWSER not set. Still not optimal but better
721         to try some common desktop tool than an obsolete browser;)
722         Fixes bug #307142. Also some whitespace changes.
724         * app/interface.c(toolbox_delete): avoid random return value.
725         Patch from Stanislav Brabec, fixes bug #307143
727         * shapes/Cisco/Makefile.am : added a bunch of new shapes/pngs.
728         Patch from Torben H. Nielsen (bugzilla is still the preferred way)
729         http://mail.gnome.org/archives/dia-list/2005-June/msg00015.html
731 2005-06-06  Lars Clausen  <lars@raeder.dk>
733         * app/diagram.c: 
734         * app/modify_tool.c:
735         * app/textedit.[ch]:
736         Better support for text edit highlight.
738         * app/connectionpoint_ops.c (connectionpoint_draw): Stop making
739         the mainpoint extra visible.
741 2005-06-02  Lars Clausen  <lars@raeder.dk>
743         * objects/UML/class_dialog.c:
744         * objects/UML/class.[ch]:
745         The final fixes for mainpoint on UML Class.
747         * sheets/cisco*.in, shapes/Cisco/*: New set of Cisco icons from
748         Ian Redfern, now in color and with mainpoints!  Very pretty!
750 2005-06-02  Hans Breuer  <hans@breuer.org>
752         * objects/UML/class_dialog.c : the memory managment with respect to
753         attribute/operation connections was/is a mess. But it should work again ;)
755         * samples/UMLPackages.dia samples/Composite-Action.dia : some diagrams
756         directly from the UML Specification - to show the power of Dia and 
757         some weakness. Watch the bug reports following ;)
759 2005-06-01  Hans Breuer  <hans@breuer.org>
761         * app/dia.def : export diagram_update_connections_object
762         * plug-ins/python/pydia-diagram.c : wrap diagram_update_connections_object
763         Patch from Paolo Bernardi, together with the property setting closes bug #300572
765 2005-06-01  Hans Breuer  <hans@breuer.org>
767         * plug-ins/python/pydia-property.c : complete refactoring of property 
768         setting, now also supports setting of property arrays
769         * plug-ins/python/pydia-*.c plug-ins/python/diamodule.c : adapt to 
770         Python namespacing conventions
771         * plug-ins/python/pydiadoc.py : use the stuff above to produce more 
772         complete UML Classes with attributes and operations
773         * plug-ins/python/otypes.py : now also show the properties of the objects
775         * objects/UML/class.c(umlclass_set_props) : need to update object::connections
776         (pointers), they might be changed with attributes and opertions changing
778         * plug-ins/python/pydia-property.c : PointArray and BezPointArray property getters
779         were broken. Apparently noone used them before.
781         * plug-ins/python/pydia-diagram.c plug-ins/python/pydia-diagramdata.c : moved methods
782         which only operate on the DiagramData to the latter file. To get on the DiagramData
783         object of a Diagram use diagram.data. [In C the Diagram is a subclass of DiagramData, 
784         but I don't know how to reflect that in the bindings. And for backward compatibility 
785         there also is the 'data' member.]
787         * objects/UML/uml.c objects/UML/umlattribute.c objects/UML/umloperation.c 
788           objects/UML/umlparameter.c : describe enums with PropEnumData
790         * app/commands.c(view_show_all_callback) : if there is something selected show 
791         that instead of all exisiting objects. If there is noting or all selcted it 
792         "Show all" shows the old behaviour.
794         * lib/parent.[hc] lib/object.c app/disp_callbacks.c app/diagram.c : plug some memory 
795         leaks and use less allocations caused by misguided API. Also some adaption to common 
796         coding style
798         * objects/UML/class.h : add some comment about the brokeness of UML_MAINPOINT
800         * app/makefile.msc : added new icons and build as console app while 
801         not releaseing to the general public
803         * objects/custom/shape_info.c : use g_strdup("") for a field to be g_free()'d
804         and keep a refernce when storing the a font from style="" in s.font. This should
805         finally allow to have shapes with fully predefined text (and no 'random' crashes)
807         * plug-ins/gprint/diagnomeprint.c : disable GNOME_SVG until I've found a program
808         capable to interpret it's output
810 2005-05-31  Lars Clausen  <lars@raeder.dk>
812         * sheets/ER.sheet.in: No more xpms referenced in sheets. Fixes bug #151811.
814 2005-05-30  Pawan Chitrakar  <pawan@nplinux.org>
816         * configure.in: Added ne in ALL_LINGUAS
818 2005-05-24  Lars Clausen  <lars@raeder.dk>
820         * lib/font.c: Change to make DIA_FONT_ITALIC turn into -Oblique PS
821         fonts for legacy fonts.  They don't have DIA_FONT_OBLIQUE setting
822         anyway. 
824 2005-05-23  Lars Clausen  <lars@raeder.dk>
826         * lib/paper.c: Added Ledger size paper.  Fixes bug #305254.
828 2005-05-21  Lars Clausen  <lars@raeder.dk>
830         * lib/diaarrowchooser.c: 
831         * lib/arrows.[ch]: Patch from Radek Krahl <ptasz3k@o2.pl>: Add
832         'infinite' line (three dots) arrowhead.  Fix line length in arrow
833         preview.  And fix typo.  Fixes bug #303904. 
835 2005-05-20  Hans Breuer  <hans@breuer.org>
837         * lib/text.c : advice from valgrind and data_string() review:
838         neither g_free() memory on the stack
839         * objects/GRAFCET/boolequation.c : ... nor const strings 
840         * objects/UML/association.c:934 : definitely lost. Even g_strdup("")
841         wants to be freed
843         * app/diagram.c : a g_object_ref() following g_object_new() is almost
844         always wrong. Why would we need two refernces?
845         * app/app_procs.c : same here.If it crashes later on someone is dropping
846         refernces he does not own, and *that* needs to be fixed. This is reverting
847         "Remember to ref g_object_new'd object" (bug #170972) below, which 
848         causes more harm (leaking, hiding bugs elsewhere) than good.
850         * app/app_procs.c lib/diagramdata.[ch] lib/libdia.def : get rid of
851         diagramdata_destroy() which was only a wrapper to g_object_unref()
853         * app/display.c(selection_changed) : don't g_strdup_printf() without
854         g_free() later /or/ a C++ comment of me mostly denotes an error
856         * app/diagram.c : diagram_parent_sort_cb make signature match GCompareFunc
858         * lib/widget.c : dia_dynamic_menu_select_entry() cleanup. If it takes a
859         const gchar* entry it must not eat memory, added a lot of g_free() and
860         some const. Fixed a bunch - i.e. *all* - warnings.
861         * lib/widget.h : removed unused/deleted functions
863         * app/layer_dialog.c(dia_layer_widget_connectable_toggled) : trying to
864         avoid 'Invalid write of size 4', no luck yet
866 2005-05-19  Lars Clausen  <lars@raeder.dk>
868         * objects/UML/class.c: 
869         * objects/UML/class.h: 
870         * objects/UML/class_dialog.c: Work on getting a proper mainpoint
871         for uml class object.  #ifdef'd out right now.
873 2005-05-18  Lars Clausen  <lars@raeder.dk>
875         * objects/standard/line.c: Make line adjust its actual endpoints
876         for autogap -- looks and feels better.
878         * objects/standard/arc.c: 
879         * lib/geometry.h: 
880         * app/modify_tool.c: Patch from Grégoire Dooms
881         <dooms@info.ucl.ac.be>:  First stab at autogap for arcs, and
882         shifted arc angle movement.
884 2005-05-16  Hans Breuer  <hans@breuer.org>
886         * lib/widget.c : variable declarations need to be at the start of a block,
887         at least as we are not using C++ or C99
889         * plug-ins/python/pydia-property.c : implment the read part for Property
890         arrays - aka. umlclass.properties["operations"], umlclass.properties["attributes"]
891         They are working quite well as can be seen with export-object.py
893         * plug-ins/python/codegen.py : prove it once more with the generation of C++
894         or Python code from an UML Diagram. Simply save as .py or .cxx ...
895         * plug-ins/python/Makefile.am : install it
897 2005-05-16  Lars Clausen  <lars@raeder.dk>
899         * app/pixmaps/{un}group.png: 
900         * app/Makefile.am (ICON_PNG_PAIRS): 
901         * app/menus.c (display_menu_items): 
902         New icons for grou/ungroup finally added, closing bug #105519.
904         * app/Makefile.am: Dependencies for pixmaps.
906         * app/pixmaps/connectable.png: An icon that actually makes sense
907         for switching connectability.
909 2005-05-15  Hans Breuer  <hans@breuer.org>
911         * lib/group.c object/UML/classicon.c : fixed leftovers of
912         'Adding connectionpoint to _move_handle
914         * lib/widgets.c : gtk+ *NEVER* eats strings, so gtk_something(widget, g_strdup())
915         is *ALWAYS* a memory leak. Plug some more.
917         [
918          In preparation to make UML operations/attributes/parameters setable by Python
919          UML class became more StdProp conformant. A nice experience to be the first 
920          to use the PROP_TYPE_DARRAY stuff about four years after it was written ;-)  
921         ]
922         * objects/UML/umlattribute.c objects/UML/umloperation.c 
923           objects/UML/umlparameter.c objects/UML/umlformalparameter.c : (new files) 
924         split from objects/UML/uml.c and made StdProp aware
925         * objects/UML/class.c : finally make "attributes", "operations", "templates"
926         <template parameters> first class StdProps citizens.
927         (umlclass_load) : removed hand-written parsing for the above, it is all done
928         by object_load_props() now. The old write code is still in place, so be very
929         careful when changing something - at the moment load/save it is 100% compatible 
930         as it needs to be.
931         * objects/UML/uml.c : now just type registration here, as it is supposed to be
932         * objects/UML/Makefile.am objects/makefile.msc : build the new files
934         * lib/properties.h(PropDescCommonAreaExtra) : need a place to store the 
935         in-record offsets
936         * lib/prop_sdarray.c : made the DARRAY case work, SARRAY still untested
937         (darray_prop_adjust_object_records) : don't loop forever
938         (whole file) : use the new (working) way to get on the second level offsets.
939         Also resolved some abbreviations, it is complicated enough without them ;)
940         * lib/proplist.c : even complete list contents may be optional
942 2005-05-15  Hans Breuer  <hans@breuer.org>
944         * lib/bezier_conn.c(remove_handles) : don't try to remove 
945         non-exisitng handles (patch from Radek Krahl, bug #302273)
947 2005-05-15  Hans Breuer  <hans@breuer.org>
949         * plug-ins/metapost/render_metapost.c : locale independent output
950         (Radek Krahl, bug #301866)
952 2005-05-12  Lars Clausen  <lars@raeder.dk>
954         * shapes/Cisco/*.{shape,png}:
955         * sheets/cisco*.sheet.in:
956         Updated with color icons from Ian Redfern, closing bug #303889.
957         Added automatic midpoints, not attempt at adjusting them.
959 2005-05-11  Lars Clausen  <lars@raeder.dk>
961         * many shapes:  Use mid of bounding box for midpoint, better than
962         mid of connection points generally.
964 2005-05-10  Lars Clausen  <lars@raeder.dk>
966         * lib/widgets.c: Decided on one way for the ratio thing in arrow
967         size selector:  Fixed ratio is on by default and keeps the sizes
968         at the given ratio, but doesn't clamp them to be the same.  Fixes
969         bug #302861.
971         * lib/font.c: Fix for bug #303695: Allow more than one entry of
972         each legacy name, thereby correctly encoding bold and italic of
973         the three main fonts.  Also use | rather than || to combine slant
974         and weight, so matching works.  Had to remove binary search for
975         new font name, but the list is short enough it's not a problem.
977 2005-05-09  Lars Clausen  <lars@raeder.dk>
979         * lib/autoroute.c (autoroute_layout_orthconn): Remove debugging info.
981 2005-05-08  Hans Breuer  <hans@breuer.org>
983         * objects/UML/class.c : Reverted to have no center point.
984         At first it looked as if there was only the bug to not increase
985         class.h:UMLCLASS_CONNECTIONPOINTS. But the UMLClass has 
986         potentially much more dynamic connection points (to the left
987         and right of every attribute/operation). Now simply adding one
988         between see static and dynamic will screw up any existing diagram
989         which makes use of the dynamic connection points. The would all
990         be connected with an off-by-one error. I have no idea how to
991         code around that. But breaking backward compatibility is no 
992         option here. Does not completely fix bug #303301 ...
993         
994         * lib/widget.c(dia_font_selector_set_font): actually set the options 
995         menu state. So we are not any longer resetting the font style on Apply.
996         Use "UML - Class" dialog as stress text example.
998         * app/command.c : some people insist to close diagrams already
999         closed using tear-off menus. Maybe we should add a dialog 
1000         "Do you want to call Dr. Watson now?". If there is no diagram
1001         to close anymore just do nothing, fixes bug #303221
1002         * app/display.c(ddisplay_close) : use g_return_if_fail(ddisp != NULL);
1003         Calling this with no display to close is a pathological case.
1005         * app/diagram.[hc] : moved object.h and other DiaObject stuff
1006         to the implementation in preparation of Big Things(tm)
1008         * app/interface.c : less warnings and make it compile. strncmp()
1009         does not take a char**, neither does gdk_pixbuf_new_from_inline().
1011         * objects/makefile.msc plug-ins/makefile.msc : less output
1013 2005-05-08  Lars Clausen  <lars@raeder.dk>
1015         * lib/orth_conn.c (orthconn_init): The right place to set the
1016         default autorouting value.  Fixes bug #303291.
1018         * app/display.c (ddisplay_close): Patch from Radek Krahl
1019         (ptasz3k@o2.pl):  Fix crash when using from detached menu
1020         (#303221)
1021         
1022 2005-05-07  Lars Clausen  <lars@raeder.dk>
1024         * lib/orth_conn.c (orthconn_load): Autorouting should default to
1025         off in diagrams that don't have it explicitly.  All diagrams
1026         should be explicit about it.
1028 2005-05-06  Hans Breuer  <hans@breuer.org>
1030         * app/samples/Self/*.dia : some UML diagrams describing Dia's
1031         inner working (or it's future;)
1033 2005-04-26  Lars Clausen  <lars@raeder.dk>
1035         * app/connectionpoint_ops.c (connectionpoint_draw): Temporary
1036         change to display of mainpoint to be easier to debug autogenerated
1037         ones. 
1039 2005-04-23  Hans Breuer  <hans@breuer.org>
1041         * plug-ins/python/diamodule.c plug-ins/python/pydia-object.h
1042           plug-ins/python/pydia-properties.h : use lib/ prefix for
1043         Dia internal headers with too common names (fixes bug #173061)
1045         * app/display.c : stop special casing the first display of
1046         a diagram. Every display now has it's own refernce. The initial
1047         reference gets dropped when there is no display anymore. See
1048         diagram_remove_ddisplay(). Fixes bug #300744.
1050         * app/diapsft2renderer.c : locale independent output
1051         (Radek Krahl, bug #300847)
1052         * app/paginate_psprint.c :  fixing use of setlocale() calls
1053         (Radek Krahl, bug #300886)
1054         * plug-ins/shape/shape-export.c : fixing use of setlocale() calls
1055         (Radek Krahl, bug #300889)
1057         * objects/UML/class.c : fix another crash with the line 
1058         wrapping code (Gabor Simon, bug #160865)
1060         * plug-ins/cairo/diacairo.c : image rendering had an endianess 
1061         issue (or is this working around a libpixman bug?;)
1063 2005-04-21  Lars Clausen  <lars@raeder.dk>
1065         * lib/polyshape.c (polyshape_update_data): Fixed numpoint off-by-one.
1067         * shapes/**/*.shape: All shapes now have midpoints.
1069 2005-04-20  Lars Clausen  <lars@raeder.dk>
1071         * lib/orth_conn.c (orthconn_update_data): Patch from ptasz3k@o2.pl
1072         (Radek Krahl): Make sure there's enough handles for the line.
1073         Fixes bug #173031.
1075         * objects/UML/node.c (node_draw): Better drawing method avoids
1076         garbage after moving.  Fixes bug #301032.
1078 2005-04-17  Hans Breuer  <hans@breuer.org>
1080         * plug-ins/cairo/diacairo.c : again adapt to Cairo API 
1081         changes (whould compile with current cvs and 0.(3|4).0
1083 2005-04-11  Lars Clausen  <lars@raeder.dk>
1085         * xmldocs.make (all): Fix to put installed docs in right place
1086         under disable-gnome.
1088         * doc/en/Makefile.am: Use xml_files var for xml files, EXTRA_DIST
1089         only for dia.dbk.
1091         * app/commands.c (help_manual_callback): Patch from p@kapcoweb.com
1092         (Leonardo Boshell): Use standard gnome help if called with Gnome.
1094         * app/diapsrenderer.c: Patch from ptasz3k@o2.pl (Radek Krahl): Fix
1095         locale issues for eps output.  Fixes bug #173135.
1097 2005-04-10  Hans Breuer  <hans@breuer.org>
1099         * plug-ins/cairo/diacairo.c : adapt to Cairo PNG API 
1100         changes (somewhat broken)
1101         
1102         * plug-ins/pstricks/render_pstricks.c : still C89 ...
1103         * objects/custom/shape_info.c : ... but with prototypes
1104         
1105 2005-04-07  Lars Clausen  <lars@raeder.dk>
1107         * lib/dia_xml.c: 
1108         * plug-ins/svg/render_svg.c: 
1109         * lib/diasvgrenderer.c: Patches from ptasz3k@o2.pl (Radek Krahl):
1110         Make decimal separators be correct in save file formats
1111         (non-localized).  Fixes bugs #172529 and 172531.
1113 2005-04-06  Lars Clausen  <lars@raeder.dk>
1115         * app/create_object.c (create_object_button_release): 
1116         * app/modify_tool.c (modify_button_release): Correct activations
1117         of text edits.
1119 2005-04-05  Simon Kågström  <ska@bth.se>
1121         * app/app_procs.c: the --show-layers option can now handle numeric
1122         ranges of layers.
1124 2005-04-05  Lars Clausen  <lars@raeder.dk>
1126         * lib/diagdkrenderer.c (draw_string): Patch from tomkast@yahoo.com
1127         (Tom Kast): Avoid blockiness caused by bad updates.
1129 2005-04-03  Lars Clausen  <lars@raeder.dk>
1131         * lib/polyshape.c: 
1132         * lib/beziershape.c: Main points.  A crude solution, having the
1133         center in the middle of the bb.  Shows a bug in the distance_from
1134         code for polyshape when a side is horizontal.
1136 2005-04-02  Lars Clausen  <lars@raeder.dk>
1138         * plug-ins/pstricks/render_pstricks.c: 
1139         * plug-ins/xfig/xfig-export.c: Patch from Radek
1140         Krahl <ptasz3k@o2.pl>: Fix decimal point problems. Fixes bugs 
1142 2005-04-02  Hans Breuer  <hans@breuer.org>
1144         * lib/dia_image.c(dia_image_filename) : return the path 
1145         again. (bug #172416, Radek Krahl)
1146         
1147 2005-04-01  Steve Murphy  <murf@e-tools.com>
1149         * configure.in: Added "rw" to ALL_LINGUAS.
1151 2005-03-31  Lars Clausen  <lars@raeder.dk>
1153         * lib/neworth_conn.c (neworthconn_update_data): Handle autogap.
1155         * lib/orth_conn.c (orthconn_update_data): Handle autogap while not
1156         autorouting.  
1158         * objects/network/basestation.c: Main points.
1160 2005-03-27  Hans Breuer  <hans@breuer.org>
1162         * app/Makefile.am : removed some pixmap/*.xpm from EXTRA_DIST
1163         * app/pixmaps.h : removed arrow.xpm
1164         * lib/Makefile.am : added diamarshal
1165         * plug-ins/python/Makefile.am : added makefile.msc to EXTRA_DIST
1166         => makes 'make dist' pass and produce a useable package
1168         * po/*.po : 'noise' profuced by make dist
1170 2005-03-24  Lars Clausen  <lars@raeder.dk>
1172         * objects/flowchart/parallelogram.c (pgram_update_data): 
1173         * objects/flowchart/ellipse.c (ellipse_update_data): 
1174         * objects/flowchart/diamond.c (diamond_update_data): 
1175         * objects/flowchart/box.c (box_update_data): Main points.
1177         * objects/custom/custom_object.c (custom_create): 
1178         * objects/custom/shape_info.h: 
1179         * shapes/Assorted/square.shape: 
1180         * objects/custom/shape_info.c (load_shape_info): 
1181         * doc/shape.dtd: Added main point support to shapes, and an
1182         example of how to use it.
1184 2005-03-21  Lars Clausen  <lars@raeder.dk>
1186         * lib/autoroute.c (autoroute_layout_orthconn): Remember to
1187         unnormalize from same point as you normalize, or else!
1189 2005-03-20  Lars Clausen  <lars@raeder.dk>
1191         * app/app_procs.c (do_convert): Patch from crux@gorodmasterov.com:
1192         Remember to ref g_object_new'd object.
1194 2005-03-19  Hans Breuer  <hans@breuer.org>
1196         * plug-ins/xslt/xslt.c : don't crash if both places ($SHARE, $HOME)
1197         have configurations, fixes bug #170962
1199         * objects/UML/state.c : ("UML - State")::type is PROP_FLAG_OPTIONAL,
1200         or better not used any longer. Fixes bug #169142.
1202         * lib/element.c(element_update_connections_rectangle): don't initialize 
1203         the eighth point twice but instead the nineth once
1205         * objects/standard/bezier.c : no C++ comments *please*
1207         * lib/plug-ins.h : increment DIA_PLUGIN_API_VERSION
1209         * lib/dia_image.[ch] : dia_image_filename() returns a string not to be freed ...
1210         * plug-ins/python/pydia-image.c : ... so, don't do it!
1212         * lib/dia_svg.c : refactor color parsing and support the "rgb(127,255,0)" form,
1213         also named colors via pango_color_parse()
1215         * lib/prop_text.c : don't try to g_strdelimit(NULL), fixes bug #169367
1217         * lib/libdia.def : updated externals
1219         * app/object_ops.c : still not C99 everywhere
1221 2005-03-19  Hans Breuer  <hans@breuer.org>
1223         * lib/autoroute.c : at least it should compile ;)
1224         
1225 2005-03-19  Lars Clausen  <lars@raeder.dk>
1227         * lib/autoroute.c: Orthconns now do autogap.
1229 2005-03-17  Lars Clausen  <lars@raeder.dk>
1231         * app/authors.h: Added Gregoire Dooms for gap stuff.
1233         * objects/standard/polyline.c: Patch from Grégoire Dooms
1234         <dooms@info.ucl.ac.be>: Autogap and absolute gap for polyline.
1235         
1236         * objects/standard/bezier.c: Patch from Grégoire Dooms
1237         <dooms@info.ucl.ac.be>: Fixes two bugs.  Also autogap no longer a
1238         property. 
1239         
1241         * objects/UML/state_term.c: 
1242         * objects/UML/large_package.c: 
1243         * objects/UML/node.c: 
1244         * objects/UML/object.c: 
1245         * objects/UML/small_package.c: 
1246         * objects/UML/state.c: 
1247         * objects/UML/usecase.c: 
1248         * objects/UML/note.c: 
1249         * objects/UML/actor.c: 
1250         * objects/UML/classicon.c: 
1251         * objects/UML/component.c: 
1252         * objects/Misc/analog_clock.c: 
1253         * objects/Jackson/requirement.c: 
1254         * objects/Istar/goal.c: 
1255         * objects/Istar/actor.c: 
1256         * objects/FS/function.c: 
1257         * object/standard/box.c:
1258         * objects/ER/entity.c: 
1259         * objects/ER/relationship.c: 
1260         * objects/ER/attribute.c: Main points added.   Distance_from fixed
1261         in attribute, broken in relationship, I* goal, Jackson
1262         requirement, analog_clock, all non-rectangular UML elements, 
1264         * lib/libdia.def: 
1265         * lib/element.[ch]: New method to help update connection points.
1267         * app/menus.c: Change Help/Manual to Help/Contents to follow
1268         standard.
1269         
1270         * objects/standard/line.c:
1271         * lib/geometry.[ch]: 
1272         * objects/standard/bezier.c: Patch from Grégoire Dooms
1273         <dooms@info.ucl.ac.be>: Add absolute gap and autogap for line and
1274         bezier objects.   Autogap nowchanged to be a function of the
1275         connpoints.
1277         * lib/libdia.def: 
1278         * lib/connectionpoint.[ch]: New function to ask if a connpoint has the
1279         autogap flag.
1281         * app/connectionpoint_ops.c (connectionpoint_draw): Don't draw
1282         CP_FLAG_ANYPLACE connpoints.
1284 2005-03-16  Lars Clausen  <lars@raeder.dk>
1286         * app/interface.c (create_tools): Removed debug printf.
1288 2005-03-15  Lars Clausen  <lars@raeder.dk>
1290         * lib/widgets.[ch]: Constification.
1292         * app/interface.c: Work on using gdk-pixbuf-csource'd data, not
1293         working yet.
1295         * objects/standard/ellipse.c: Use CP_FLAG_MAIN for central CP.
1297         * lib/connectionpoint.h: Flags for connection points.
1299         * app/create_object.c (create_object_motion): 
1300         * app/modify_tool.c (modify_motion): Minor refactoring.
1302         * app/object_ops.c (object_find_connectpoint_display): Extend with
1303         finding connpoints that cover entire objects.
1305         * app/layer_dialog.c (dia_layer_widget_init): Get rid of warnings.
1307         * objects/custom/custom_object.c (custom_setup_properties): Avoid
1308         uninitialized use.
1310 2005-03-13  Hans Breuer  <hans@breuer.org>
1312         * plug-ins/svg/svg-import.c : handle the <circle/> tag as well
1314 2005-03-13  Hans Breuer  <hans@breuer.org>
1316         * lib/dia_svg.[hc] objects/custom/shape_info.[hc] plug-ins/svg/svg-import.c :
1317         s/DiaSvgGraphicStyle/DiaSvgStyle/, added and use convenience functions 
1318         dia_svg_style_copy(), dia_svg_style_init()
1320         * objects/custom/shape_info.c : use dia_svg_parse_path() from lib/ (it got
1321         moved out of this)
1323         * lib/dia_svg.c(dia_svg_parse_path) : also handle style properties which are
1324         not wrapped in the style attribute
1326         * plug-ins/svg/svg-import.c : implement nested group handling and style
1327         'style inheritance'. Still no transformations, no <image/>, no <style/> 
1328         <defs/>...
1330         * plug-ins/svg/svg-import.c(import_svg) : use message_warning instead of g_warning,
1331         the latter is for programmers.
1332         Also be more tolerant if the document root namespace is not 'svg'. If the svg 
1333         namespace is defined in the file search for the top node including svg. This
1334         allows us to re-read the svg part of our own shape format.
1336         * lib/libdia.def : there is no give_focus_to_object
1337         * app/textedit.c : still no C99,  aka. error C2275: 'Focus' : illegal use of this 
1338         type as an expression
1340         * lib/geometry. c : use G_IMPLEMENT_INLINES
1341         * lib/libdia.def : export point_get_perp (used by xfig plug-in)
1343         * app/textedit.c(textedit_end_edit) : don't crash if the display is already
1344         gone when trying to remove the focus
1346         * plug-ins/cairo/diacairo.c : CAIRO_HAS_WIN32_SURFACE does not any longer mean
1347         it has *my* Cairo Win32 Backend. [The official one isn't useful for the use
1348         case of this plug-in, i.e. producing output files]
1350 2005-03-13  Lars Clausen  <lars@raeder.dk>
1352         * lib/Makefile.am (BUILT_SOURCES): 
1353         * app/Makefile.am (BUILT_SOURCES): Use the Right Way[tm] to force
1354         the building of the icons header files.
1355         * app/dia-lib-icons.h: Out of CVS now that it's correctly generated.
1357 2005-03-13  Hans Breuer  <hans@breuer.org>
1359         * configure.in : require Cairo 0.3.0
1360           plug-ins/cairo/diacairo.c : changed to match ;-)
1362         * app/app_procs.c() : new function dump_dependencies()
1363         which gets called by: dia --version --verbose
1364         and may help to track version dependent problems in
1365         our dependencies
1367         * lib/font.c : reverted to previous version cause using
1368         not implemented Pango API did not improve the issue.
1369         See: http://bugzilla.gnome.org/show_bug.cgi?id=162034
1370         for more information.
1372         * lib/dialinechooser.c : a little shrinking of the 
1373         initial size (to work around line wrappjing the right 
1374         arrow control)
1376 2005-03-11  Lars Clausen  <lars@raeder.dk>
1378         * app/textedit.c: Concentrate start/end editing in single functions.
1380 2005-03-10  Lars Clausen  <lars@raeder.dk>
1382         * lib/text.h: 
1383         * lib/object.h: Added new object function to allow the object to
1384         be notified when its text is being edited.
1386         * lib/libdia.def: 
1387         * app/modify_tool.c: 
1388         * app/commands.c: 
1389         * app/textedit.c: 
1390         * lib/focus.c: Remove sideeffects from focus objects, add getter
1391         for focus->obj.
1393 2005-03-09  Lars Clausen  <lars@raeder.dk>
1395         * lib/Makefile.am (dia-lib-icons.h): 
1396         * app/Makefile.am: Minor cleanup.
1398 2005-03-06  Hans Breuer  <hans@breuer.org>
1400         * app/app_procs.c : avoid "assignment within conditional expression"
1401         and handle -L for the GOption case as well.
1403         * lib/widget.c : strchr() does not return -1 on not found but NULL;
1404         avoids widgets.c(307) : error C4047: '!=' : 'char *' differs in levels of 
1405         indirection from 'const int '
1407         * lib/diasvgenderer.c(draw_arc|fill_arc) : finally correct sweep and 
1408         large_arc, thus produce correct arc output (like diasvg.py does;),
1409         fixes bug #144401
1411         * lib/dia_svg.[hc](dia_svg_parse_path) : new function copied and adapted 
1412         from objects/custom/shape_info.c to be shared with object/custom and
1413         plug-in/svg -> finally the C based svg-import reads pathes again.
1414         Added arc parsing while I was there, which fixes bug #169191
1415         * objects/custom/shape_info.c(parse_path) : 
1416         * plug-ins/svg/svg-import : reuse above function
1417         Also fix the "root element was 'svg' -- expecting 'svg'" bug #108502.
1418         But in general this does only support a small subset of what is 
1419         possible in SVG.
1421 2005-03-06  Lars Clausen  <lars@raeder.dk>
1423         * objects/UML/association.c: Patch from Dave Klotzbach applied:
1424         Add visibility to association arrow.  Fixes bug #157012.
1426         * app/grid.c: Patch from Lawrence Withers fixes grid messiness,
1427         closing bug #161040.
1429         * app/layer_dialog.c (create_button_box): Use stock icons instead
1430         of homemade onces.  Gets us rid of four more XPMs.
1432 2005-03-05  Sampo Kellomaki <sampo@iki.fi>
1434         * app/app_procs.c: Implemented --show-layers=LAYER,LAYER,... option
1435         This option permits command line control of which layers are visible.
1436         Useful when automatically exporting multiple versions of the same
1437         diagram, e.g. slides with overlays. Added-n switch parsing without POPT.
1438       * app/app_procs.h: moved prototype of do_convert() to app/app_procs.c
1439         and made it static since its only used in that file.
1440         * app/authors.h: added myself
1441         * doc/en/dia.1: documented the switch
1442         * doc/en/usage-layers.xml: ditto
1443         
1444 2005-03-05  Alan Horkan <horkana@tcd.ie>
1446         * app/interface.c Change Horizontal scroll policy to NEVER for sheets
1447         this restores how Dia behaved before the GTK2 port and seems to help 
1448         allow the toolbox to be more easily resized.  Bug #108891.
1450 2005-03-05  Lars Clausen  <lars@raeder.dk>
1452         * Civil/civil_motor.shape:
1453         * Civil/civil_rotor.shape:
1454         * Logic/and.shape:
1455         * Logic/buffer.shape:
1456         * Logic/connector.shape:
1457         * Logic/inverter.shape:
1458         * Logic/nand.shape:
1459         * Logic/nor.shape:
1460         * Logic/not.shape:
1461         * Logic/or.shape:
1462         * Logic/xor.shape:
1463         * shapes/Assorted/arrow-left-up.shape: 
1464         * shapes/Assorted/heptagon.shape: 
1465         * shapes/Assorted/star5.shape: 
1466         * shapes/Assorted/trapezoid.shape: 
1467         * shapes/Assorted/triangle-rightangle.shape: Fixed bad use of
1468         defaults, see bug #169143.
1470         * sheets/Assorted.sheet.in: Fixed typo patch applied, bug #169114.
1472         * configure.in: 
1473         * doc/en/Makefile.am: Finally figured out the right way to ask for
1474         the manpage xslt.  Closes bug #144539.
1476 2005-03-01  Lars Clausen  <lars@raeder.dk>
1478         * lib/Makefile.am (nodist_include_HEADERS): 
1479         * app/Makefile.am: Correctly generate these files from PNGs with
1480         automake.
1482         * lib/widgets.h: 
1483         * lib/libdia.def:
1484         * lib/widgets.c: Refactor toggle button factory to allow inline
1485         data.
1487         * lib/pixmaps/Makefile.am: Unify lib pixmaps.
1489         * app/makefile.msc (ICON_PNG_PAIRS): 
1490         * app/dia-app-icons.h: Updated with more icons.
1492         * lib/Makefile.am: 
1493         * app/Makefile.am: Use gdk_pixbuf_csource to create inline data
1494         from pngs.
1496         * app/interface.c (create_display_shell): 
1497         * app/layer_dialog.c (dia_layer_widget_init): 
1498         * lib/dia_image.c (dia_image_get_broken): Use inlined data
1499         generated from png.
1501         * app/display.c (ddisplay_close): Removed unused includes.
1503 2005-03-01  Lars Clausen  <lars@raeder.dk>
1505         * app/sheets.c (create_object_pixmap): Create a placeholder image
1506         for when the real image is missing.  Better than crashing:)
1507         Closes bug #166786.
1509 2005-02-25  Hans Breuer  <hans@breuer.org>
1511         * app/app_procs.c : don't requets to open a default display with
1512         g_option_context_add_group (crux@gorodmasterov.com, bug #168523)
1514 2005-02-22  Lars Clausen  <lars@raeder.dk>
1516         * plug-ins/gprint/diagnomeprint.c (export_data): GNOME, not Gome.
1517         Fixes bug #168125.
1519 2005-02-19  Lars Clausen  <lars@raeder.dk>
1521         * app/menus.c (display_menu_items): Applied patch from bug #94019:
1522         Menu cleanup and addition of icons.  Also a few additional stock
1523         icons. 
1525         * app/layer_dialog.c (create_layer_dialog): Bug #159598: Clean up
1526         the layers dialog.
1528 2005-02-14  Lars Clausen  <lars@raeder.dk>
1530         * INSTALL (ftp): Fixed Pango release typo (bug #153007)
1532 2005-02-13  Lars Clausen  <lars@raeder.dk>
1534         * lib/font.c: First stab at using Gtk 2.4 functions for fixing
1535         width.  Seems to work.  Once tested some more, needs old code
1536         removed. 
1538         * lib/widgets.c (dia_font_selector_create_string_item): Avoid
1539         warning by escaping & properly.
1541 2005-02-06  Lars Clausen  <lars@raeder.dk>
1543         * app/filedlg.c (file_export_callback): Set correct extension as
1544         soon every time the dialog is shown.  Fixes bug #162535.
1546         * app/display.c (ddisplay_set_origo): Use more standard
1547         transformations.
1549         * app/modify_tool.c (modify_motion): 
1550         * app/create_object.c (create_object_motion): Put coordinates of
1551         handle/object in status bar while moving. Fixes bug #163164.
1553 2005-02-03  Lars Clausen  <lars@raeder.dk>
1555         * lib/.cvsignore: Added generated files diamarshal.[ch]
1557 2005-02-02  Lars Clausen  <lars@raeder.dk>
1559         * configure.in: Add GLIB_GENMARSHAL def as suggested in
1560         http://ignore-your.tv/software/libgtcpsocket/docs/client-subclassing.html.
1561         Now compiles on Linux.
1563 2005-02-01  Lars Clausen  <lars@raeder.dk>
1565         * app/sheets.c (sheet_object_mod_get_type_string): We don't really
1566         need to translate the empty string.  Especially not after
1567         g_assert_not_reached().  Fixes bug #165966.
1569 2005-01-07  Tim Olsen  <tolsen@alum.mit.edu>
1571         * objects/UML/activity.c : add fill- and line-colour properties
1572         [applied by Hans Breuer, fixes bug #163260]
1574 2004-01-28  Hans Breuer  <hans@breuer.org>
1576         * doc/en/*.xml doc/en/dia.dbk app/authors.h : documentation
1577         update provided by Alan Horkan (fixes bug #159592)
1579 2004-01-28  Hans Breuer  <hans@breuer.org>
1581         [Extented version for UML to C++ conversion by Dave Klotzbach, bug #155255]
1582         * plug-ins/xslt/dia-uml2cpp.xsl : (new file) ... handles associataions,
1583         generalization, dependancies, parameterized classes ...
1584         * plug-ins/xslt/styleshetts.xml : refernce it
1585         * plug-ins/xslt/dia-uml.xsl : handle more UML types uesd above
1587 2004-01-28  Hans Breuer  <hans@breuer.org>
1589         * objects/UML/transition.c : fill out the extra_spacing struct 
1590         in the OrtConn member, in order to avoid artifacts when draggin 
1591         the transition. (patch by Peter Allin, bug #144956)
1593 2004-01-15  Hans Breuer  <hans@breuer.org>
1595         * plug-ins/cairo/diacairo.c : initialized the renderers default dash_length
1596         to something differnt than 0. Apparently there are case where Dia misses
1597         to appropriately set it before requesting a dashed line (simple line with
1598         arrow as described in bug #151716)
1600         * lib/dia_dirs.c : special casing for drive letters which I broke with
1601         the previous change
1603 2005-01-13  Hans Breuer  <hans@breuer.org>
1605         * app/interface.c(create_sheet_page) : remved dead long time code
1607         * lib/propdialogs.c : removed pdtpp_is_visible_no_standard() prototype,
1608         it is availbale via header - which is the better style anyway
1610 2004-12-31  Hans Breuer  <hans@breuer.org>
1612         * lib/dia_dirs.c(dia_get_canonical_path) : complete
1613         rewrite to handle something like /mnt/some/where/../else
1614         too. Workaround for bug #162637.
1615         * app/filedlg.c : call gtk_file_chooser_set_current_name()
1616         to workaround gtk_file_chooser_set_filename() not setting
1617         it if the file does not exist
1619         * sheets/Jackson.sheet.in app/menus.c : fixed typos
1620         (Frank Arnold, bug #161676)
1622 2004-12-31  Steffen Macke <sdteffen@gmail.com>
1624         * doc/pl/*.xml: Added XML prolog
1625         * makefile.msc: Added libxslt, fixed libxml, libart
1627 2004-10-29  Alexander Shopov  <ash@contact.bg>
1629         * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
1631 2004-12-29  Lars Clausen  <lars@raeder.dk>
1633         * configure.in: Make gnomeprint be truly off by default (typo) and
1634         show optional compilation correctly.
1635         * plug-ins/gprint/Makefile.am: Exclude gnomeprint if not optioned in.
1637 2004-12-22  Hans Breuer  <hans@breuer.org>
1639         * lib/widgets.c : destroy handlers can be called more than once, 
1640         see http://developer.gnome.org/doc/API/2.0/gtk/gtk-changes-2-0.html
1642         * app/app_procs.c : #ifdef GLIB(2.6.0) but GTK(2.4.x)
1643         
1644         * app/display.c : temporary debug code showing the
1645         timing the rendering
1647         * app/dialibartrenderer.c(draw_string) : removed dead
1648         code loading and leaking font and face
1650 2004-12-15  Hans Breuer  <hans@breuer.org>
1652         * app/display.c : actually use the selction-changed signal for something
1653         useful. Show selections representation on statusbar.
1654         * lib/object.h lib/prop_text.c lib/libdia.def : provide objet_get_displayname() 
1655         * app/diagram_tree.c : use new function (as in app/display.c) and only
1656         poke into property internals at one place
1657         * app/diagram.c : use g_signal_handlers_block_by_func to avoid has-no-handler-
1658         complains
1660 2004-12-12  Hans Breuer  <hans@breuer.org>
1662         * lib/libdia.def app/dia.def : updated externals
1664         * objects/custom/custom_object.c : custom_destroy is called per object. 
1665         It _must not_ destroy class stuff (ShapeInfo) cause it does not hold a 
1666         reference to it. Fixes e.g. bug #158288, #160550, ...
1668         * objects/UML/association.c(association_draw) : completed porting to
1669         draw_polyline_with_arrows()
1670         (association_update_data_end) : fixed typo in point compare
1671         (association_update_data) : for name placement take degenerated 
1672         segements into account. Together this fixes bug #143891
1674 2004-12-11  Hans Breuer  <hans@breuer.org>
1676         * lib/widgets.c(set_size_sensitivity) : revert inverted
1677         logic for arrorw size selections, fixes bug #160527
1679 2004-12-11  Hans Breuer  <hans@breuer.org>
1681         * lib/widgets.c(dia_font_selector_set_font) : initialize
1682         the font style widget, too. Gets rid of empty font
1683         style and thus default broken font style, e.g. UML::class_name
1685         * lib/widgets.c(dia_color_selector_more_callback) : fill
1686         the color palette from dynamic menu entries and also
1687         preselect the current color to the last select entry
1688         
1689         * plug-ins/python/pydia-diagramdata.c : hold a reference
1690         to the underlying GObject
1691         
1692         * app/Makefile.am app/diagrid.h : new file containing the 
1693         grid 'class' moved from DiagramData to Diagram. 
1694         Also moved pagebreak_color and guides cause they are only 
1695         used for visual appearance not 'data'.
1696         * lib/diagramdata.[ch] app/diagram.h app/dia-props.c app/grid.c
1697           app/load_save.c plug-ins/python/pydia-diagramdata.c : reflect 
1698         the above change
1700         * lib/diagramdata.[ch] app/app_procs.c app/diagram.c 
1701           lib/libdia.def : get rid of new_diagram_data() 
1702         Diagram _is_ DiagramData (and does not have one any longer,
1703         just a compatibility pointer)
1704         
1705         * lib/diarenderer.h : a small doc improvement
1707 2004-12-11  Hans Breuer  <hans@breuer.org>
1709         * objects/UML/class.c : line wrapping code buffer
1710         overrun fixed by Gabor Simon, bug #160865
1712 2004-12-11  Hans Breuer  <hans@breuer.org>
1714         * plug-ins/python/pydia-diagram.c : hold a reference
1715         to the diagram in PyDiaDiagram, avoids bug #159080
1716         [another way to avoid is to detroy the dialog by
1717         clsoing it. But now there is still a diagram to
1718         apply the changes to, even if it's thrwon away just
1719         afterwards]
1721 2004-12-10  Hans Breuer  <hans@breuer.org>
1723         * **/*.c : fixed a bunch of warnings, not only for -ansi
1724         (still too many of them, but -ansi works)
1725         lib/
1726         prop_geomtypes.h prop_geomtypes.c:306: warning: static 
1727         declaration for `fontsizeprop_reset_widget' follows non-static
1728         dia_dirs.c:196: warning: return discards qualifiers from 
1729         pointer target type
1731         objects/custom/
1732         shape_info.c:121: warning: static declaration for `parse_path' 
1733         follows non-static
1735         objects/SADT/
1736         arrow.c:228: warning: `draw_arrowhead' declared `static' but never defined
1737         arrow.c:244: warning: unused variable `i'
1738         arrow.c:245: warning: unused variable `p'
1739         arrow.c:246: warning: unused variable `zzr'
1740         
1741         object/Istar/*.c object/Jackson/*.c  object/KAOS/*.c : 
1742         finally removed c++ comments
1743         
1744         objects/Istar/goal.c : initialize connections::directions
1745         while I was there - helps autorouting
1747         * objects/KAOS/metaandorrel.c objects/Istar/link.c 
1748           objects/KAOS/metabinrel.c : removed struct _DiaImage hack
1749         (it would be quite simple to add image-from-memory support
1750         to lib/ if needed)
1752         * pydia-*.h : warning: no newline at end of file
1753         
1754         * plug-ins/gprint/diagnomeprint.c : allow to unregister
1755         and follow new unique name naming convention
1756         * plug-ins/gprint/diagnomeprintrenderer.c : no c++ comments
1757         here either
1759 2004-12-07  Hans Breuer  <hans@breuer.org>
1761         * objects/UML/message.c : better default for initial text placement
1762         a suggested in bug #154306, Henning Mersch
1763         * objects/UML/constraint.c : doing the same
1765         * app/filedlg.c : include persistence.h for persistence_get_integer
1766         * lib/libdia.def export it
1768 2004-12-05  Hans Breuer  <hans@breuer.org>
1770         * app/grid.c : respect dynamic grid during snap-to, fixes 
1771         bug #135124, Dmitriy Morozov. Added some additional magic
1772         to make the grid size more useable.
1774 2004-12-05  Hans Breuer  <hans@breuer.org>
1776         * app/app_procs.c : make it compile for the HAVE_POPT and
1777         G_LIB_CHECK_VERSION(2,5,5) case, minor formating
1778         
1779         * lib/plug-ins.c : don't pass non exiting files to xmlDiaParseFile()
1780         * app/app_procs.c : only dia_pluginrc_write() and create_user_dirs()
1781         when interactive. Fixes bug #119329
1782           
1783         * plug-ins/cairo/diacairo.c : adapt to new type naming
1784         scheme (introduced by accident;-) for pixbuf-*
1785         * app/app_procs.c : reflect both type name changes
1787 2004-12-04  Hans Breuer  <hans@breuer.org>
1789         * objects/standard/image.c : fix the correct warning
1790         `image_file_name' might be used uninitialized
1791         
1792         * app/filedlg.c : near complete rewrite
1793         - removed 'related dialog', GtkOptionMenu, most global vars,
1794         also don't hide the dialog but let it go.
1795         - added: filter view by extension, hopefully working diagram
1796         referencing, GtkComboBox usage
1797         
1798         * plug-in/pixbuf/pixbuf.c : switched to dynamic generation
1799         of im/export filter entries. So the user interface reflects
1800         the dynamic nature of pixbuf loaders
1802         * lib/filter.[ch] : implement filter_unregister_*port
1803           lib/libdia.def : added new functions
1804           plug-ins/cgm/cgm.c plug-ins/dxf/dxf.c
1805           plug-ins/hpgl/hpgl.c plug-ins/metapost/metapost.c
1806           plug-ins/pstricks/pstricks.c plug-ins/svg/svg.c
1807           plug-ins/wpg/wpg.c plug-ins/xfig/xfig.c
1808           plug-ins/cairo/cairo.c plug-ins/pixbuf/pixbuf.c :
1809         use them in _plugin_unload () thus all these plug-ins
1810         can be loaded used and unloaded during Dia's runtime
1812 2004-12-04  Lars Clausen  <lars@raeder.dk>
1814         * lib/diagramdata.h: Access methods for units defined per diagram.
1816         * lib/font.c (dia_font_new_from_style): More proper object creation.
1818         * lib/properties.h: Refactored the PROP_STD_* macros to allow
1819         different options.
1821         * app/diagram.c (diagram_init): Force filename to be absolute
1822         path, easing the job for load/save.
1824 2004-12-03  Hans Breuer  <hans@breuer.org>
1826         * lib/libdia.def : removed dia_marshal_*, they are implemented as macros.
1827         added dia_font_set_height, dia_font_copy (note to self: don't try to
1828         maintain these from the *NIX side ;)
1830         * lib/widgets.h : removed DiaColorSelector::col, it is not maintained by
1831         the new color selection anymore
1832         * objects/UML/class_dialog.c : with the above change it would have been more 
1833         easy to fix the color loss bug #156996 which had nothing to do with 'a pointer
1834         problem' but only was an unfinished usage of dia_color_slector(get|set)_color
1836         *  objects/UML/class_dialog.c  objects/UML/class.[ch] : uml_apply_properties
1837         (used in object vtable) and make its prototype match
1839         * lib/widgets.c : made all the GtkTypeInfo 'static const'. I can't directly
1840         correlate any of these strange crashing bug with it, but assume bad things to 
1841         happen when one passes stack allocated stuff to gtk_type_unique()
1843         * lib/widgets.c(dia_font_selector_get_font) : don't access menuitem if it is
1844         not there. Fixes most of the warnings from bug #156996
1846         * lib/makefile.msc : rules to generate diamarshal.[ch]
1848 2004-11-29  Hans Breuer  <hans@breuer.org>
1850         * app/disp_callbacks.c : reenable so-called preedit
1851         as described in bug #158859, Etsushi Kato
1852         Also fixed some compiler warnings while there.
1853         
1854         * objects/standard/image.c(get_directory) : make
1855         the documentation match the implementation.
1856         (image_save) : don't write a leading slash on 
1857         relative filenames 
1859         * plug-ins/gprint/diagnomeprintrenderer.c :
1860         switched to gnome-print-pango usage
1861         
1862         * app/app_procs.c configure.in : although Dia
1863         is not threaded it appears as if we have to
1864         g_thread_init() to avoid crashing in some
1865         libraries which are thread enabled
1867         * lib/diamarshal.list lib/Makefile.am : start of
1868         using GSignal to clean up some object relations
1869         * lib/libdia.def : export marshallers
1870         * app/diagram.[ch] : emit signals when REMOVED,
1871         SELECTION_CHANGED
1872         * app/display.c : added a connection to 
1873         SELECTION_CHANGED to test the new signal stuff
1874         
1875         * app/diagram.c : fixed diagram_finalize while I
1876         was there.
1878 2004-11-28  Hans Breuer  <hans@breuer.org>
1880         * plug-ins/wmf/wmf.cpp(draw_string) : write the widechar version of 
1881         the text if conversion to current locale fails. [This is actually
1882         using code written four years ago;]
1883         * plug-ins/wmf/wmf_gdi.(h|cpp) : added TextOutW (no real implemantation)
1885         * objects/standard/image.c(image_load) : be more robust against 
1886         filenames which seem to be absolute
1888 2004-11-27  Hans Breuer  <hans@breuer.org>
1890         * app/filedlg.c(file_save_callback) : convert to
1891         filename encoding before passing to diagram_save()
1892         Fixes bug #158381, thanks to Robert Ögren
1894 2004-11-27  Hans Breuer  <hans@breuer.org>
1896         * lib/dialibartrenderer.c : sometimes its good to read
1897         compiler warnings. Not only define renderer_finalize
1898         but actually *use* it. Should plug a potential huge
1899         memory leak.
1901         * configure.in plug-ins/Makefile.am 
1902           plug-ins/gprint/Makefile.am : build the experimental
1903         gnomeprint plug-in on *NIX, too.
1904         * plug-ins/gprint/diagnomeprint.c : don't include
1905         specific (private) backend headers but instead select
1906         the desired backend via config key setting
1908         * lib/diagdkrenderer.c : add 1 to size of filled arc 
1909         to be rendered by gdk. Fixes bug #150896.
1911         * plug-ins/gprint/diagnomeprint.c 
1912           plug-ins/gprint/diagnomeprintrenderer.c : added magic
1913         to better match page and dash sizes
1915 2004-11-27  Hans Breuer  <hans@breuer.org>
1917         * plug-ins/shape/shape-export.c : it's g_strdup_printf
1919 2004-11-27  Hans Breuer  <hans@breuer.org>
1921         * app/app_procs.c : mention eps-builtin aka. "using
1922         latin1", does not fix the eps-pango issues but #150571
1924 2004-11-27  Hans Breuer  <hans@breuer.org>
1926         * sheets/Cybernetics.sheet.in : changed encoding to 
1927         utf-8, patch from Takeshi AIHANA, fixes #149580
1929 2004-11-27  Hans Breuer  <hans@breuer.org>
1931         * objects/custom/custom_object.c : many existing shapes
1932         rely on a square default size, revert to it although
1933         it originally was by a typo. Fixes bug #148527.
1935 2004-11-27  Hans Breuer  <hans@breuer.org>
1937         * app/load_save.c(dia_cleanup_autosave) 
1938           app/diagram.c : don't use dia->filename if already 
1939         freed and dont use printf at all.
1941         * app/paginate_psprint.c : not only set the renderer::paper
1942         but also renderer::is_portrait. Should fix bug #142524
1944 2004-11-26  Hans Breuer  <hans@breuer.org>
1946         * dia.desktop.in : added Bug Buddy headers (as seen
1947         in planner). Hopefully the automatically filling of
1948         bugs is more meaningful by this.
1949         
1950         * objects/custom/custom_util.c objects/standard/image.c
1951           lib/plug-ins.c : getting rid of deprecated g_dirname,
1952         fixes some more memory bugs : AddrAddress 0x3586C010 is 24 
1953         bytes inside a block of size 44 free'd
1954         
1955         * lib/persistence.c(persistence_load_list) : don't
1956         leak string
1957         
1958         * lib/diaerror.[ch] : (new file) start of better error handling
1959         * lib/Makefile.am lib/makefile.msc lib/libdia.def: 
1960         added new files/funcs
1961         * lib/proplist.c lib/propinternals.h (prop_list_load) : 
1962         allow to propagate error to caller. Also set PXP_NOTSET
1963         to avoid applying unset properties, fixes bug #155255
1964         * lib/propobject.c lib/prop_sdarray.c : still spewing
1965         g_warnings but now with context information
1966         
1967         * app/filedlg.c : more absolute filenames where required
1968         and strip them where we need the filename only
1969         Also explicit DONT choose gnome-vfs backend cause its
1970         threading appears to crash Dia - at least in GNOME build,
1971         see bug #159558
1973 2004-11-26  Hans Breuer  <hans@breuer.org>
1975         * app/filedlg.c : don't use relative filenames for
1976         gtk_file_chooser_set_filename(), GtkFileChooserDialog is very
1977         pedantic about it.
1978         (export_set_extension) : if we don't have a filename don't
1979         use it in strrchr() to avoid crashing
1980         
1981 2004-11-23  Hans Breuer  <hans@breuer.org>
1983         * app/app_procs.c : fixed build for the GNOME case
1984         (let's rip out POPT and depend on glib-2.6, please ;-)
1986 2004-11-23  Hans Breuer  <hans@breuer.org>
1988         * app/app_procs.c : fixed typo which broke the
1989         build for HAVE_POPT case
1990         
1991 2004-11-21  Hans Breuer  <hans@breuer.org>
1993         * app/app_procs.c : some more #if-mess, but one day
1994         we should rely on GLib's 2.6 Option Parser alone
1995         
1996         * plug-ins/wmf/wmf.cpp : use SC() when scaling width
1997         and height for RoundRect() - otherwise size depends on offset,
1998         shorten the unique name
1999         
2000         * plug-ins/python/diamodule.c : provide a unique name
2001         for python filters as well
2003         * lib/dialibartrenderer.c : fix the drawing of Gdk based text
2004         by using the right colors (need black background cause we
2005         are tinitng it with the real color later)
2007         * lib/dia_dirs.c(dia_get_canonical_path) : use G_DIR_SEPARATOR_S
2008         instead of hardcoded slahes, improved portability 
2010         * app/paginate_gdiprint.cpp : use the right filter name to find wmf
2011         plug-in. Also added some more error reporting (e.g. no printer driver)
2013         * plug-ins/gprint/diagnomeprintrenderer.[hc] plug-ins/gprint/diagnomeprint.c
2014           plug-ins/makefile.msc : resurrection of the gnome print renderer. 
2015         Kinda works (alpha quality) for export but does not print yet. 
2016         With bug #158972 resolved this does even work on win32 :-)
2018 2004-11-07  Hans Breuer  <hans@breuer.org>
2020         * doc/diagram.dtd : <composite> can have <composite/>,
2021         <font/> has two 'optional' atributes 'style' and 'family',
2022         these are used to store new (since 0.91) font info.
2023         With this changes non of the issues in bug #147431 remains.
2025         * plug-ins/python/otypes.py : starting to implement an
2026         'create all known object' file as ne stress test source
2027         for the dtd and Dia in general.
2029 2004-11-06  Hans Breuer  <hans@breuer.org>
2031         * app/diapsrenderer.c : don't convert to locale but to 
2032         "LATIN1", fixes bug #146641
2034 2004-11-06  Hans Breuer  <hans@breuer.org>
2036         * app/diagram_tree.c : still no C99 everwhere ...
2037         * lib/libdia.def : update externals
2038         * plug-ins/pstricks/render_pstricks.c : #include <locale.h>
2040         * app/app_procs.[hc] : declare, use ...
2041            app/winmain.c : ... and implement dia_redirect_console().
2042         Even though newer Gtk version don't popup a console window
2043         anymore redirecting the error messages to a file in $TEMP appears
2044         to be much more reasonable than just ignoring it. Fixes bug #150777
2045         based on a patch from Steffen Macke
2047 2004-11-06  Hans Breuer  <hans@breuer.org>
2049         * plug-ins/wmf/wmf.cpp plug-ins/wmf/wmf_gdi.* : added/used
2050         RoundRect() for high level renderer api implementation thus
2051         fixing bug #138744 reported by Lars Clausen
2053 2004-11-06  Hans Breuer  <hans@breuer.org>
2055         * app/prefernces.c : applied patch to make showing the diagram 
2056         menubar the default (advanced users know how to switch it off)
2057         Fixes bug #150706, Steffen Macke
2059 2004-11-06  Hans Breuer  <hans@breuer.org>
2061         * app/commands.c app/commands.h : added view_fullscreen_callback()
2062           view_unfullscreen()
2063           app/menus.c : use it (/View/Fullscreen) thus fixing bug #94090
2064         * app/disp_callbacks.c : use view_unfullscreen() for GDK_Escape
2065         ALso modified to allow handling of unmodified keys again (aren't
2066         there plenty of bug reports for this?
2068 2004-11-06  Hans Breuer  <hans@breuer.org>
2070         * objects/UML/class_dialog.c : fixed casts for usage
2071         of dia_color_selector_set_color()
2072         
2073         * app/filedlg.c : pass a valid filenames to 
2074         gtk_file_chooser_set_filename(), if we don't have a name
2075         don't call it at all. Gets rid of "libgnomevfs-CRITICAL **: 
2076         file gnome-vfs-utils.c: line 749 (gnome_vfs_get_uri_from_local_path): 
2077         assertion `local_full_path[0] == '/'' failed"
2078         
2079 2004-11-06  Lars Clausen  <lars@raeder.dk>
2081         * app/properties.c (create_dialog): 
2082         * app/diagram_tree_window.h: 
2083         * app/diagram_tree.h (HIDDEN_TYPES_NAME): 
2084         * app/diagram_tree_menu_callbacks.c: 
2085         * app/diagram_tree_window.c: 
2086         * app/diagram_tree_menu.c: 
2087         * app/diagram_tree.c: Changed to use persistence instead of
2088         strange hacks in preferences.
2090         * lib/persistence.h:
2091         * lib/persistence.c (persistent_list_get_glist): Don't deref null
2092         pointer.  New function persistent_list_remove_all, and
2093         fixed persistent_list_remove to ... work!
2095 2004-11-05  Lars Clausen  <lars@raeder.dk>
2097         * app/paginate_psprint.c (diagram_print_ps): Call
2098         diagram_print_destroy on destroy rather than delete_event.  That
2099         way the gtk_widget_destroy() calls cleans up properly.  Fixes bug
2100         #154898. 
2102 2004-11-02  Lars Clausen  <lars@raeder.dk>
2104         * objects/UML/class.c (umlclass_load): Actually load the saved
2105         fonts and font sizes. Fixes bug #157016
2107         * configure.in: Require at least GTK+ 2.4.
2109         * app/filedlg.c: Changed to use 2.4 file dialog!  Finally,
2110         finally, finally.  Not quite bulletproof yet, and I need to figure
2111         out a minimum version of Gtk that doesn't spew warnings all over.
2113         * app/diagram.[ch]: diagram_set_filename with const filename.
2115         * app/sheets_dialog_callbacks.c
2116         (on_sheets_dialog_button_apply_clicked): Sheet menu now almost
2117         correctly recreated.  Still something fishy with the sheet menu in
2118         the dialog after adding a new sheet.  Probably the sheet name
2119         being stomped.
2121 2004-11-01  Lars Clausen  <lars@raeder.dk>
2123         * lib/widgets.[ch] (dia_dynamic_menu_reset): Harden against memory
2124         stmping.  Now requires g_free here and there.
2126         * app/preferences.[ch] (prefs_data): Got rid of hidden prefs value
2127         for remembering last sheet, better off as persistent string.  Must
2128         hunt down other things like that.
2130         * app/interface.c (create_sheets): Now remembers last sheet
2131         selected again. Fixes bug #157036.
2133 2004-11-01  Hans Breuer  <hans@breuer.org>
2135         * plug-ins(tex_escape_string) : fixed it [g_utf8_next_char
2136         will never become NULL but only point to the next char
2137         which might indeed be \0]
2138         Use tex_escape_string() to avoid writing invalid tex,
2139         fixes bug #112377
2141         * **/* : a bunch of changes caused by trying 'make distcheck'
2142         which still fails, see Bug #144527
2144 2004-10-31  Lars Clausen  <lars@raeder.dk>
2146         * plug-ins/pstricks/render_pstricks.c (export_pstricks): Avoid
2147         floating point numbers being printed with commas.  Fixes bug
2148         #156148.
2149         
2150         * app/interface.c (create_sheet_dropdown_menu): New function to
2151         create the sheet menu, and also allow recreation.  Still buggy and
2152         slightly prone to magic.
2154         * objects/UML/class_dialog.c
2155         (attributes_list_selection_changed_callback): Don't try to update
2156         the widgets after they're destroyed.  Fixes bug #156706 (I think).
2158         * lib/widgets.c (dia_unit_spinner_new): Avoid crash on NULL
2159         adjustement.  Fixes bug #154637
2161         * sheets/ER/Makefile.am (PIX): 
2162         * sheets/GRAFCET/Makefile.am (PIX): 
2163         * sheets/Jackson/Makefile.am (PIX): 
2164         * sheets/Istar/Makefile.am (PIX): 
2165         * sheets/KAOS/Makefile.am (PIX): Actually install PNG instead of
2166         XPM.  Why these have their pictures in sheets rather than shapes I
2167         don't know.  Fixes bug #152142.
2169 2004-10-31  Hans Breuer  <hans@breuer.org>
2171         * plug-ins/pixbuf/pixbuf.c : when running non interactive
2172         Dia won't call color_init() as it assumes no display. If
2173         we have one as tested ourselve we can as well color_init()
2174         to avoid g_warnings() and produce the right collors.
2175         Fixes bug #155495.
2176     
2177         * app/app-procs.c : try to be a little more helpful
2178         and correct with regard to the command line options.
2179         Renamed --export-to-format to --export-filter and some
2180         other string changes
2182 2004-10-31  Hans Breuer  <hans@breuer.org>
2184         * plug-ins/wmf/wmf_gdi.cpp plug-ins/wmf/wmf_gdi.h :
2185         added GetDeviceCaps() dummy implementation to make 
2186        'wmf' compile on Linux, too.
2188 2004-10-31  Hans Breuer  <hans@breuer.org>
2190         * plug-ins/wmf/wmf.cpp : patch from Robert Ögren <gtk@roboros.com>
2191         to finally fix the long lasting clipping issue, bug #85831
2192         Also fixed the line style issue for printing on XP and don't 
2193         miss to ReleaseDC()
2195         * plug-ins/wmf/wmf_gdi.[hc] : added ReleaseDC()
2197         * plug-ins/python/diasvg.py : filter illegal characters from <text/> section
2198         (e.g. &lt; instead of <), fixes bug #155697 (Duncan Palmer)
2200         * plug-ins/python/pydia-error.[hc] : improvede exception handling to transfer 
2201         some info from the console (soon gone on windoze) to message_error()
2202         * plug-ins/python/pydia-render.c plug-ins/python/diamodule.c : use it.
2203         Also some setlocale() hack to let Python behave as expected for LC_NUMERIC
2205         plug-ins/python/diasvg_import.py : re.compile() only once per expression
2206         and some more playing with scaling
2208         * plug-ins/python/makefile.msc : updated
2210 2004-10-30  Hans Breuer  <hans@breuer.org>
2212         * shapes/Civil/civil_arrow_right.shape : removed
2213         <aspectratio type="fixed" /> thus allowing to change
2214         width and height independently, fixes #154897 
2215         (Serge Robinson) by making it consistent with the
2216         up arrow
2218 2004-10-30  Hans Breuer  <hans@breuer.org>
2220         * plug-ins/xfig-xfig-export.c(hasArrow) : don't crash
2221         on arrow being NULL, fixes bug #143063
2223 2004-10-30  Hans Breuer  <hans@breuer.org>
2225         * lib/diagramdata.c app/diagram.c app/disp_callbacks.c
2226           plug-ins/python/pydia-diagram.c plug-ins/python/pydia-diagramdata.c :
2227         removed use of chached variable DiagramData::selected_count
2228         * lib/diagramdata.h : renamed to selected_count_private
2229         (kept for binary compatibility and sanity checks)
2230         * lib/diagramdata.c : more checks on a screwed up selection list
2232         * app/diagram.c(diagram_group_selected) : don't screw up the
2233         DiagramData::selected list, was assignment of parent_list_affected(),
2234         * lib/diagramdata.c (data_select, data_unselect) : protect against
2235         multiple selections of the same object and removement of a not selected
2236         object (apparently caused by the recently added group undo stuff)
2237         together with the above this finally fixes bug #153525
2239         * app/Makefile.am : fix ./autogen.sh ->
2240         app/Makefile.am:171: blank line following trailing backslash
2242         * app/commands.c(objects_group_callback,objects_ungroup_callback) :
2243         ddisplay_do_update_menu_sensitivity() here as well
2245         * configure.in : make the experimental state of the cairo plug-in
2246         more visible
2247         
2248         * app/dia-props.c(diagram_properties_update_sensitivity) : don't
2249         try to update anything if we can't find an active diagram
2250         Additionally set static dialog pointer to NULL by gtk_widget_destroyed
2251         
2252         * configure.in : another attempt to fix bug #156116. If there is
2253         anyone with autotools knowledge reading this - help appreciated ;-)
2255 2004-10-30  Hans Breuer  <hans@breuer.org>
2257         * objects/makefile.msc objects/UML/Makefile.am
2258           objects/UML/uml.c objects/UML/transition.c 
2259           objects/UML/pixmaps/transition.xpm sheets/uml.sheet.in : 
2260         Patch from Peter Allin adds statechart transitions to the UML sheet -
2261         bug #144956 - modified to not print("%s", NULL) which crashes on
2262         newer glib versions. Also added pixmap/transition.xpm to Makefile.am
2264 2004-10-30  Hans Breuer  <hans@breuer.org>
2266         * doc/sheet.dtd doc/diagram.dtd : the namespace does *not* 
2267         match the website anymore, i.e. sould remain unchanged. 
2268         See below and lib/dia_xml.h for the reasoning
2270         * lib/libdia.def : removed dia_color_selector_get_type
2272         * lib/dia_image.c(dia_image_load) : check for pixbuf warnings
2273         (like broken PNG) and g_warning if appropriate
2275         * app/interface.c : #include "message.h"
2277         * app/diaunitspinner.hc : replaced the superfluous #if-0-juggling,
2278         used #error "Moved to lib/widgets.[hc]" instead (IMO it would be
2279         better to just move diaunitspinner to lib/ instead of polluting
2280         widgets.[hc] even more ;)
2281         * app/makefile.msc lib/libdia.def : updated
2283         * app/filedlg.c : patch from gtk@roboros.com, fixes #156224
2284         * app/app_procs.c : patch from gtk@roboros.com, fixes #156088
2286         * config.h.win32 : #define HAVE_CAIRO to let the Cairo plug-in
2287         do something useful when compiled
2289         * plug-ins/cairo/diacairo.c : added 'PNG with alpha' rendering.
2290         Also some more #ifdefed backends usage.
2292 2004-10-10  Lars Clausen  <lars@raeder.dk>
2294         * lib/widgets.c: Better labels for color selector menu.
2296         * app/dia-props.c (diagram_properties_respond): 
2297         * app/preferences.c (prefs_get_value_from_widget): Don't assume
2298         that a dia color selector is of type DiaColorSelector:)
2300         * lib/widgets.[ch]: Color selector changed to dynamic menu.
2302         * lib/prop_attr.c (colorprop_set_from_widget): Don't assume
2303         DiaColorSelector. 
2305 2004-10-09  Lars Clausen  <lars@raeder.dk>
2307         * lib/diaarrowchooser.c (dia_arrow_preview_init): Slightly wider
2308         arrow preview to avoid long arrow heads flipping.
2310         * lib/arrows.[ch]: Support for getting from name to arrow type,
2311         and for listing all arrow names.
2312         
2313         * lib/widgets.[ch]: Changed arrow selector to use dynamic menu.
2315         * lib/libdia.def: Added new global functions.
2317         * lib/persistence.[ch]: Two of the persistent_list functions to
2318         return whether the item was found in the list.
2320         * app/interface.c (create_sheets): Use DiaDynamicMenu to handle
2321         the growing number of sheets.
2323         * lib/widgets.[ch]: Add DiaDynamicMenu as a generalization of the
2324         font menu.
2326 2004-10-05  Lars Clausen  <lars@raeder.dk>
2328         * objects/UML/association.c: Patch from Harvey Thompson
2329         <harveyandsu@yahoo.com>:  Better placement of association texts.
2331 2004-10-03  Lars Clausen  <lars@raeder.dk>
2333         * lib/widgets.c (dia_font_selector_add_menu_item): Make font menu
2334         use the fonts in question.  Can't set tooltips with the name since
2335         lib objects don't know the tool_tips thing, which is rather
2336         app-related.
2338 2004-09-19  Hans Breuer  <hans@breuer.org>
2340         * plug-ins/xslt/*.xsl : s/apply-templates match/apply-templates select/
2341         fixes bug #148278, carlosrp@idea.com.py (Carlos Ra�l Perasso)
2343 2004-09-19  Hans Breuer  <hans@breuer.org>
2345         * dia.desktop.in : string changes as proposed in bug #151822
2346         
2347         * lib/Makefile.am : remove -module from libdia_la_LDFLAGS,
2348         appearts not to be needed on Linux and breaks the build 
2349         on OSX. Fixes bug #152970
2350         
2351 2004-09-18  Lars Clausen  <lars@raeder.dk>
2353         * app/commands.c (view_show_all_callback): Add a bit of border
2354         around Ctrl-E'd diagram, for easier select and better view of edges.
2356 2004-09-19  Hans Breuer  <hans@breuer.org>
2358         * app/Makefile.am : trying to fix the fix from 2004-02-15
2359         Overwriting AM_LDFLAGS still gave a automake warning and it 
2360         also appeard to break linking against gtklibs in a differnt 
2361         prefix. Use dia_LDFLAGS instead.
2363         * plug-ins/svg/svg-import.c : initialize 'end' before usage
2364         patch from dcbw@redhat.com (Dan Williams), fixes bug #150548
2365         
2366         * lib/diarenderer.c : don't try to draw lines which are so much 
2367         degenerated that their point count became negative, fixes bug #148139
2368         
2369         * lib/font.c(layout_cache_equals) : don't crash on nonexisting 
2370         strings (NULL from g_strdup()) 
2372 2004-09-10  Steffen Macke <sdteffen@web.de>
2374         * lib/libdia.def: added color_new_rgb(), focus_previous(),focus_next(),
2375         give_focus(),give_focus_to_object(),remove_focus(),reset_foci()
2376         * app/create_object.c:
2377         * app/diaunitspinner.c:
2378         * app/disp_callbacks.c:
2379         * app/makefile.msc:
2380         * app/modify_tool.c:
2381         * lib/prop_geomtypes.c:
2382         * lib/prop_geomtypes.h: made compile with msvc
2384 2004-09-10  Lars Clausen  <lars@raeder.dk>
2386         * lib/widgets.c: Insulate conversion from outside API by adding
2387         internal function to set value.  Adjustment not appropriate for
2388         units yet.
2390         * lib/prop_geomtypes.c (lengthprop_get_widget): Remove debug info
2392 2004-09-07  Lars Clausen  <lars@raeder.dk>
2394         * app/diapagelayout.c: Include from widgets.c rather than
2395         diaunitspinner.
2397 2004-09-03  Lars Clausen  <lars@raeder.dk>
2399         * objects/standard/box.c: Use PROP_TYPE_LENGTH for corner_radius
2400         as unit-based property testbed.
2402         * lib/prop_geomtypes.c (lengthprop_reset_widget): Implement length
2403         and fontsize widgets. 
2405         * app/Makefile.am (dia_core_files):
2406         * app/diaunitspinner.h: 
2407         * app/diaunitspinner.c: 
2408         * lib/widgets.h: 
2409         * lib/widgets.c (dia_unit_spinner_update): Move diaunitspinner to
2410         lib/widgets.[ch], as it's used in the properties code now.
2412 2004-08-31  Steffen Macke <sdteffen@web.de>
2414         * doc/en/usage-objects-basic.xml: Mentioning supported image formats.
2416 2004-08-30  Lars Clausen  <lars@raeder.dk>
2418         * app/textedit.c: 
2419         * app/diagram.c (diagram_remove_all_selected): Remove debugging
2420         information. 
2422         * lib/color.[ch]: 
2423         * app/undo.c: 
2424         * app/disp_callbacks.c: 
2425         * app/Makefile.am: 
2426         * app/create_object.c: 
2427         * app/textedit.[ch]: 
2428         * app/modify_tool.c: 
2429         * app/diagram.c: 
2430         * lib/text.c: 
2431         * lib/focus.[ch]: Change in focus mechanism to allow highlight of
2432         current input object, multiple inputs per object, and tabbing
2433         between objects.
2435 2004-08-28  Steffen Macke <sdteffen@web.de>
2437         * makefile.msc: added bs to ALL_LINGUAS; adjusted .mo file creation to
2438         allow separate installer component "Translations"
2440 2004-08-27  Akagic Amila  <bono@linux.org.ba>
2442         * configure.in: Added 'bs' to ALL_LINGUAS.
2444 2004-08-26  Steffen Macke <sdteffen@web.de>
2446         * app/makefile.msc: using /subsystem:windows again
2447         * makefile.msc: updated ALL_LINGUAS
2449 2004-08-21  Kjartan Maraas  <kmaraas@gnome.org>
2451         * configure.in: Add «nb» to ALL_LINGUAS.
2453 2004-08-21  Steffen Macke <sdteffen@web.de>
2455         * plug-ins/dxf/dxf-export.c: Patch from 
2456         Takeshi Hamasaki <hma@syd.odn.ne.jp>, fixes text alignment
2458 2004-08-17  Lars Clausen  <lars@raeder.dk>
2460         * config.h.win32: 
2461         * dia.spec (Release): 
2462         * doc/pl/dia.xml: 
2463         * doc/en/dia.xml: 
2464         * NEWS: 
2465         * configure.in: 
2467 2004-08-13  Ankit Patel <ankit@redhat.com>
2469         * configure.in: Added "gu" in ALL_LINGUAS.
2471 2004-08-07  Lars Clausen  <lars@raeder.dk>
2473         * configure.in:
2474         * config.h.win32: 
2475         * doc/pl/dia.xml: 
2476         * doc/en/dia.xml: 
2477         * dia.spec (Release): 
2478         * NEWS: New release 0.94-pre6
2480 2004-08-07  Lars Clausen  <lars@raeder.dk>
2482         * app/highlight.c (highlight_reset_objects): Unhighlight inside
2483         groups as well.
2485         * app/load_save.c: 
2486         * plug-ins/shape/shape-export.c: String capitalization fix from
2487         Alan Horkan <horkana@tcd.ie>
2489         * objects/UML/class.c (umlclass_show_comments_callback): Make UML
2490         Class object menu kinda work, rather than blow up.  Doesn't do a
2491         proper undoable change yet.
2493 2004-08-06  Lars Clausen  <lars@raeder.dk>
2495         * app/filedlg.c (file_save_as_callback): Don't remove related
2496         dialogs from the NULL diagram.
2498 2004-08-02  Lars Clausen  <lars@raeder.dk>
2500         * config.h.win32: 
2501         * doc/pl/dia.xml: 
2502         * doc/en/dia.xml: 
2503         * dia.spec (Release): 
2504         * NEWS: Pre5 with leak fix.
2506         * lib/font.c (dia_font_build_layout): Don't try to save an
2507         allocation of LayoutCacheItem if it breaks layout cache hash.
2508         Also make hash function correct, remove explicit height entry
2509         (it's in pfd), and make sure things are correctly unreffed.
2510         Finally fixes #148141.
2512         * lib/text.c (text_set_attributes, text_set_font): Safely unref
2513         when changing font, and actually set the new font in
2514         text_set_font(!).
2515         (text_get_attributes): Ref copied font.
2517 2004-08-01  Lars Clausen  <lars@raeder.dk>
2519         * NEWS: 
2520         * configure.in: 
2521         * dia.spec (Release): 
2522         * config.h.win32: 
2523         * doc/pl/dia.xml: 
2524         * doc/en/dia.xml: Prerelease 4.
2526         * lib/font.c (dia_font_build_layout): Better comparision and
2527         freeing of font cache.
2529 2004-07-31  Lars Clausen  <lars@raeder.dk>
2531         * lib/font.c (dia_font_build_layout): Faster update to avoid
2532         memory leaks.
2534         * app/app_procs.c: Fix from Tom Parker <palfrey@bits.bris.ac.uk>:
2535         Correctly initialize export filter variable.
2537 2004-07-25  Lars Clausen  <lars@raeder.dk>
2539         * dia.spec (Release): 
2540         * configure.in: 
2541         * NEWS: 
2542         * config.h.win32: 
2543         * doc/en/dia.xml: 
2544         * doc/pl/dia.xml: Pre3 coming out.
2546         * lib/diarenderer.c (draw_polygon): 
2547         * plug-ins/dxf/dxf-export.c (export_dxf): Two fixes by Takeshi
2548         Hamasaki <hma@syd.odn.ne.jp>: Correct header to be a 0 (zero)
2549         rather than O (letter), and assert num_points > 1 rather than the
2550         other way around.
2552         * app/recent_files.c: 
2553         * app/filedlg.c: 
2554         * app/diagram.c: 
2555         * app/app_procs.c: Patch from Vitaly Lipatov <lav@altlinux.ru>:
2556         Make filenames conform to filesystem encoding.
2558         * RDP/.cvsignore: Added standard ignore.
2559         
2560         * shapes/network/Makefile.am (SHAPES): Use PNG instead of XPM for
2561         last entry patch-panel, too.
2563         * app/*.png:
2564         * shapes/Circuit/*.png:
2565         * shapes/Civil/*.png:
2566         * shapes/Contact/*.png:
2567         * shapes/Electric/*.png:
2568         * shapes/MSE/*.png:
2569         * shapes/Pneumatic/*.png:
2570         * shapes/SDL/*.png:
2571         * shapes/flowchart/*.png:
2572         * shapes/jigsaw/*.png:
2573         * shapes/network/*.png:
2574         * shapes/sybase/*.png:
2575         * samples/dia*.png:
2576         * dia_gnome_icon_large.png:
2577         * doc/pl/graphics/*.png: Set -kb for PNGs.
2578         
2579         * sheets/{ER,GRAFCET,Istar,Jackson,KAOS}: Added .png files.
2581 2004-07-22  Lars Clausen  <lars@raeder.dk>
2583         * NEWS: 
2584         * config.h.win32: 
2585         * doc/en/dia.xml: 
2586         * doc/pl/dia.xml: 
2587         * dia.spec (Release): 
2588         * configure.in: Update to version 0.94-pre2.
2590         * app/load_save.c (diagram_data_write_doc): Use new namespace
2591         here, too.
2593         * lib/object.h (OBJECT_COMMON_PROPERTIES): Remove 'Dia' from
2594         hidden objects properties.
2596         * objects/standard/line.c: Remove halffinished line gap box from
2597         properties list.
2599         * app/paginate_psprint.c: 
2600         * app/filedlg.c: Patch from kimmidi@novell.com (Kiran Kumar
2601         Immidi): Close export and print dialog with diagram as well.
2602         (#129520)
2603         
2604         * lib/diaarrowchooser.[ch]: Patch from pborelli@katamail.com (paolo
2605         borelli):  Remove deprecated stuff (#137693)
2607         * app/dia-props.c (create_diagram_properties_dialog): Patch from
2608         kimmidi@novell.com (Kiran Kumar Immidi):  Close properties dialog
2609         on destroy.
2611 2004-07-21  Ray Strode  <rstrode@redhat.com>
2613         * dia/dia.desktop.in: Add MimeType line to desktop file
2614         new mime sytem.
2616 2004-07-18  Hans Breuer  <hans@breuer.org>
2618         * shapes/(Circuit|Contatct|MSE|network|Pneumatic|SDL|sybase)/Makefile.am 
2619           sheets/UML/*.png : icons in png format
2620         Partial fixup of stuff broken with the following comment:
2621         "7 days : xpm->png, namespace fix, first rotation bits."
2623         * app/load_save.c(read_objects) : don't add objects to the layer.
2624         This function is called recursively and only the topmost objects
2625         belong in the layers object list. Fixes bug #145417 and is the
2626         the real fix for bug #142480
2627         
2628         * app/app_procs.c : make the --size hack even uglier, but work again
2629         
2630         * lib/dia_dirs.c(dia_get_absolute_filename) : must not free()
2631         but g_free() what is returned by g_build_filename()
2632         
2633         * objects/custom/custom_object.c(custom_destroy) : handle all enum
2634         values in switch to get rid of the warning
2635         
2636         * objects/custom/shape_info.c : use g_ascii_strtod(), get rid 
2637         of setlocale()/strtod()
2638         * lib/dia_svg.c : dito
2639         * lib/dia_xml.c : almost
2641         * plug-ins/python/group_props.py : use the string representation of 
2642         value to ensure "unique values". If the strings would not be different
2643         the user cann't see the difference either
2645 2004-07-17  Lars Clausen  <lars@raeder.dk>
2647         * lib/persistence.h: Have "void" in prototypes (#142663)
2649         * lib/widgets.c (dia_font_selector_init): Better string handling
2650         (#142663) 
2652         * lib/persistence.c (persistence_save_type): Small fixes (#142663)
2654         * objects/standard/image.c (image_load): Use path of diagram
2655         rather than running directory as base for image file place.
2657         * doc/{diagram,sheet}.dtd: Move DTD namespace to new site, and
2658         syntactic fixes. 
2659         
2660         * app/disp_callbacks.c (ddisplay_canvas_events): Patch from
2661         Ambrose Li <a.c.li@ieee.org>:  Better IM context handling.
2663         * Re-added new sample diagrams binarily.
2665 2004-07-17 Sagar Rastogi <rastogi@students.iiit.net>
2667         * app/disp_callbacks.c: Fixed #144962 (also in KNOWN_BUGS),
2668         Disabled keyboard accels when dragging an object.       
2670 2004-07-14  Lars Clausen  <lars@raeder.dk>
2672         * app/grid.c (snap_to_grid): Use diagrams grid setting to
2673         determine hex grid snap.
2675         * doc/pl/Makefile.am: Avoid error based on backslash in comment.
2676         
2677         * app/interface.h: Avoid multiply defined symbols (#147396)
2679 2004-07-10  Lars Clausen  <lars@raeder.dk>
2681         * app/sheets_dialog_callbacks.c (write_user_sheet): 
2682         * lib/sheet.c (load_register_sheet): Don't introduce double
2683         slashes in namespace.
2685         * lib/dia_xml.h (DIA_XML_NAME_SPACE_BASE): Keep consistent with
2686         old diagrams, or XSLT will barf all over.
2687         
2688         * shapes/RDP/place.shape: 
2689         * shapes/RDP/transition.shape: 
2690         * shapes/RDP/Makefile.am: Added .png entries to SHAPES and changed
2691         shapes to use those.
2693 2004-07-07  Lars Clausen <lars@raeder.dk>
2695         * config.h.win32: 
2696         * doc/{en,pl}/dia.xml: 
2697         * dia.spec: 
2698         * configure.in: 
2699         * NEWS: First prerelease of version 0.94.  Now with release
2700         versions in a branch and main devel in the trunk.
2702 2004-07-05  Hans Breuer  <hans@breuer.org>
2704         * */*.[hc] */*/*.c : a bunch of changes to make Dia compile with
2705         -std=c89. Mostly //-comments and M_PI -> G_PI
2706         [Istar, Jackson, KAOS were removed from build cause they
2707         simply have *too* much C++ comments ;]
2708         * object/UML/association.c : use g_strdup() not plain strdup()
2709         * app/paginate_psprint.c : avoid storage size of `pipe_action' 
2710         isn't known with more portable signal code
2711         
2712         * app/app_procs.c : don't call gtk_init() if just --version
2713         is requested (bug #144321, Vladimir Kondratiev)
2714         
2715         * lib/prop_attr.c(fontprop_set_from_offset) : only unref 
2716         DiaFont* if not NULL
2717         * objects/UML/class.c : moved fill_in_fontdata() to 
2718         umlclass_load() to avoid such trouble, though unsure if
2719         this really is an improvement...
2720         
2721         * shapes/network/makefile.am : patch-panel added here too
2723 2004-07-04  Hans Breuer  <hans@breuer.org>
2725         * sheets/network.sheet.in shapes/network/patch-panel.xpm
2726           shapes/network/patch-panel.xpm : added 24-Port-Patch-Panel
2727         fixes bug #136629, James McDonald
2729 2004-07-04  Hans Breuer  <hans@breuer.org>
2731         * lib/persistence.c app/load_save.c app/sheet_dialog_callbacks.c
2732           lib/object_defaults.c : revert changing of Dia's XML namespace
2733         * lib/dia_xml.h : #define DIA_XML_NAME_SPACE_BASE with a comment
2734         about its purpose and relation to real world urls.
2736         * lib/plug-ins.h : increment DIA_PLUGIN_API_VERSION and 
2737         added comment about when to do so
2738         [Should have been long time ago and probably multiple times
2739         to avoid crashing on older plug-ins]
2740         * RELEASE-PROCESS : mention DIA_PLUGIN_API_VERSION
2741         * plug-ins/xslt/xslt.c : use DIA_PLUGIN_CHECK_INIT
2743         * lib/object.c objects/UML/class.c : there are still compilers not 
2744         supporting C99 and other GCCISMs like allocating dynamic sized arrays 
2745         on the stack
2746         * objects/UML/class.h : there is a differnce between a list pointer
2747         and a list pointer pointer. We and GLib want the former.
2749         * plug-ins/pixbuf/pixbuf.c : don't use app_is_interactive () to detect
2750         if Gtk is initialized. Using gdk_display_get_default () avoids the
2751         app/* dependency and is also closer to the requirements of the
2752         plug-ins working.
2754         * plug-ins/cairo/diacairo.c : initialize "unique name" field. Also
2755         some #ifdefed support for Cairo backends not public available yet.
2757         * plug-ins/wmf/wmf.cpp : finally do extended linestyles if the
2758         windoze platform supports them. This should fix bug #109818, at
2759         least for the majority running NT or above ...
2760         * plug-ins/wmf/wmf_gdi.[hc] : portability stuff for the above
2762         * objects/makefile.msc : build Istar, Jackson and Kaos
2764         * objects/UML/class.c(umlclass_load) : don't wrap by default to 
2765         keep old diagrams as they were - instead of this nice new effect ;-)
2766         Also make "wrap_operations" PROP_TYPE_BOOL in PropDescriptions
2768         * objects/UML/class.c : mark for translation _("Wrap ...
2770         * objects/UML/class.c : more correct types, also some default properties
2771         dialog pages adjustment (triggering a bug in lib/prop_widgets.c ?;)
2773         * objects/UML/activity.c : removed a leftover from the 
2774         use-localization-for-font-substitution-hack
2776         * shapes/ChemEng shapes/Cybernetic shapes/Map/Isometric :
2777         'cvs admin -kb *.png' PNG files should already be *added* as binary,
2778         otherwise they are not readable on line-end-converting-platforms
2780         * plug-ins/python/use g_new0(Dia<Im|Ex>portFiler), avoids crashing 
2781         filter_get_by_name()
2783         * plug-ins/python/pydia-property.c : some more g_warnings for
2784         not implemented conversions
2786         * plug-ins/python/group_props.py : ensure unique property values
2787         at the right place. Now something like :
2788         - load an old UML class diagram
2789         - change one of the classes to wrap operations
2790         - select all classes (/Select/Same Type)
2791         - /Dialogs/Group Properties : check wrap_operations, select '1'
2792         - Ok, works like a charm :-)
2794 2004-07-04  Lars Clausen  <lars@raeder.dk>
2796         * lib/diagdkrenderer.c (draw_string): Don't unref NULL
2797         pixbuf. (#145362)
2798         
2799 2004-07-03  Lars Clausen  <lars@raeder.dk>
2801         * app/app_procs.c (do_convert): Two patches from Vitaly Lipatov
2802         <LAV@VL3143.spb.edu>: Fixes console output problems and some
2803         interactiveness problems.
2805 2004-07-02  Lars Clausen  <lars@reader.dk>
2807         * plug-ins/pixbuf/pixbuf.c (dia_plugin_init): Don't load if the
2808         app isn't interactive.
2810 2004-07-01  Lars Clausen  <lars@raeder.dk>
2812         * plug-ins/cairo/diacairo.c: Add init of last field of filter
2813         struct to remove crash.
2815         * sheets/Makefile.am (sheet_in_files): 
2816         * shapes/Makefile.am: 
2817         * sheets/ChemEng.sheet.in: 
2818         * shapes/ChemEng/Makefile.am: 
2819         * configure.in: 
2820         New sheet from "Federico Zenith" <zenith@chemeng.ntnu.no>:
2821         Chemical engineering shapes.
2822         
2823         * app/Makefile.am (run_dia.sh$(EXEEXT)): Changed $* to $@ to allow
2824         multiple arguments when using devel script.
2826         * app/display.c (new_display): 
2827         * app/dia-props.c: 
2828         * lib/diagramdata.c (new_diagram_data): 
2829         * lib/diagramdata.h: 
2830         * app/preferences.h: 
2831         * app/preferences.c: 
2832         * app/grid.c: 
2833         * app/diagram.c: 
2834         * lib/diagramdata.c (new_diagram_data): Patch from Peter Poulsen
2835         <peter_poulsen@stofanet.dk>: Add hexagonal grid!
2837         * HACKING: 
2838         * doc/pl/authors.xml: 
2839         * doc/en/authors.xml: 
2840         * lib/object_defaults.c (dia_object_defaults_save): 
2841         * readme.win32 (BTW): 
2842         * lib/persistence.c (persistence_save): 
2843         * app/load_save.c (diagram_data_write_doc): 
2844         * app/commands.c (help_about_callback): 
2845         * README: Fix links to home page.
2847         * lib/font.c: 
2848         * app/load_save.c (diagram_data_load): 
2849         * lib/prop_text.c (stringprop_load): Avoid NULL strings when
2850         loading, and guard against them when fonting.
2852         * lib/diarenderer.c (draw_rounded_polyline): Patch from
2853         anthonym@overture.com:  Make limited rounding a corner-specific
2854         rendering-only thing.
2856 2004-06-30  Lars Clausen  <lars@raeder.dk>
2858         * lib/font.c (dia_font_build_layout): Return to 0.93.1 font size
2859         adjustment: If you can't fix it, at least don't change it.
2861         * objects/SADT/arrow.c (sadtarrow_draw): Use new rounded arrow
2862         code instead of individual code in here.
2864 2004-06-29  Lars Clausen  <lars@raeder.dk>
2866         * objects/UML/association.c: Patch from Kiran
2867         Kumar Immidi <kimmidi@novell.com>:  Fix bounding box for line end
2868         text. 
2870         * lib/geometry.c: 
2871         * lib/geometry.h: 
2872         * lib/diarenderer.c (draw_rounded_polyline): 
2873         * objects/standard/polyline.c (polyline_draw): 
2874         * objects/standard/zigzagline.c (zigzagline_draw): 
2875         Patch from anthonym@overture.com:  Add rounded polylines.
2877 2004-06-27  Lars Clausen  <lars@raeder.dk>
2879         * lib/font.c (dia_font_new_from_style): Initialize legacy name.
2881         * lib/widgets.c (dia_font_selector_get_family_from_name): Don't
2882         free family list before taking out the pointer we need. Also set
2883         the entry_nr correctly so we get the menu set up right.
2885 2004-06-23  Lars Clausen  <lars@raeder.dk>
2887         * lib/widgets.c (dia_toggle_button_new_with_images): Sink the
2888         images at the right place.
2890         * objects/Istar/actor.c
2891         * objects/Istar/goal.c
2892         * objects/Istar/istar.c
2893         * objects/Istar/istar.h
2894         * objects/Istar/link.c
2895         * objects/Istar/other.c
2896         * objects/Jackson/domain.c
2897         * objects/Jackson/jackson.c
2898         * objects/Jackson/jackson.h
2899         * objects/Jackson/phenomenon.c
2900         * objects/Jackson/requirement.c
2901         * objects/KAOS/goal.c
2902         * objects/KAOS/kaos.c
2903         * objects/KAOS/kaos.h
2904         * objects/KAOS/metaandorrel.c
2905         * objects/KAOS/metabinrel.c
2906         * objects/KAOS/other.c: Patch from Patch from Christophe Ponsard
2907         <cp@cetic.be>: Fix instability issues caused by not returning NULL
2908         in *_move_handle and *_move.  Also improved the headers with
2909         correct (c) information.
2911 2004-06-22  Lars Clausen  <lars@raeder.dk>
2913         * objects/KAOS/goal.c:
2914         * objects/KAOS/other.c:
2915         * objects/Istar/actor.c:
2916         * objects/Istar/goal.c:
2917         * objects/Istar/other.c:
2918         * objects/Jackson/domain.c:
2919         * objects/Jackson/phenomenon.c: Patch from Christophe Ponsard
2920         <cp@cetic.be>: Fix resize issues.
2922         * app/filedlg.c (file_dialog_hide): Patch from Kiran
2923         Kumar Immidi <kimmidi@novell.com>: Check for null when removing
2924         related dialog. #129520.
2926         * app/dia-props.c (diagram_properties_show): Patch from Kiran
2927         Kumar Immidi <kimmidi@novell.com>: Make sure properties dialog is
2928         a child of its diagram. #129520.
2930         * objects/UML/association.c (association_load): Patch from Kiran
2931         Kumar Immidi <kimmidi@novell.com>: Update positions properly for
2932         text placement. #118313.
2934 2004-06-17  Lars Clausen  <lars@raeder.dk>
2936         * objects/KAOS/Makefile.am: Add pixmaps/goal.xpm to EXTRA_DIST
2938         * Makefile.am: Make THANKS only be generated by maintainers.
2940         * doc/pl/Makefile.am: Removed usage+objects+basic.xml from
2941         Makefile, too.
2943         * configure.in: Added three missing Makefiles.
2945         * app/diagram.[ch]: 
2946         * app/filedlg.c:
2947         Patch from shuveb@yahoo.com (Shuveb Hussain): Remove
2948         diagram-related (save) dialog when closing diagram.  To be
2949         extended to other dialogs.
2951         * doc/pl/dia.xml: Removed reference to objects-basic. (#144527)
2953         * samples/Istar.dia:
2954         * samples/Jackson.dia:
2955         * samples/KAOS.dia:
2956         * sheets/Istar.sheet.in:
2957         * sheets/Jackson.sheet.in:
2958         * sheets/KAOS.sheet.in:
2959         * sheets/Istar/*:
2960         * sheets/Jackson/*:
2961         * sheets/KAOS/*:
2962         * objects/Istar/*:
2963         * objects/Jackson/*:
2964         * objects/KAOS/*:
2965         * configure.in: 
2966         * objects/Makefile.am (SUBDIRS): 
2967         * sheets/Makefile.am (SUBDIRS): 
2968         * samples/Makefile.am: Additions from Christophe Ponsard
2969         <cp@cetic.be>: Jackson, I* and KAOS diagram support.  Needs a bit
2970         of hacking still.
2972 2004-06-12  Lars Clausen  <lars@raeder.dk>
2974         * lib/properties.h: 
2975         * lib/prop_geomtypes.[ch]: Preparation for selectable units.
2977         * lib/font.h: Toning down comments a bit:)
2979         * lib/font.c (dia_font_build_layout): Playing around with DPI 
2981         * objects/UML/association.c (association_load): Avoid crashes on
2982         strcmp with NULL.
2984         * objects/UML/association.c: Patch from kimmidi@novell.com:
2985         Improve placement of labels when vertical.  Part fix of #118313
2987         * lib/object.c (dia_object_is_selected): Grouped objects are not
2988         selected, only the group itself.  Thus, don't crash when grouping
2989         beziers. #143681
2991         * objects/UML/association.c: Patch from kimmidi@novell.com:  Agree
2992         on how to represent empty strings.  Fixes #143639.
2994         * lib/object.c (dia_object_is_selected): Added comment answer.
2996 2004-06-12  Hans Breuer  <hans@breuer.org>
2998         * lib/diagramdata.c lib/object.c : deal with grouped objects
2999         not knowing their parent_layer, i.e. avoid crashing in 
3000         dia_object_is_selected() via group_draw() [ Triggered by
3001         playing with the Visio generated svg from bug #143455 ]
3003         * plug-ins/python/diasvg_import.py : started to implement
3004         transformation="translate(...)" and <style/> handling. Also
3005         use some other completely bogus values for em/ex scaling
3006         
3007 2004-06-08  Lars Clausen  <lars@raeder.dk>
3009         * plug-ins/cairo/.cvsignore: CVS-ignore generated makefiles.
3011 2004-06-07  Lars Clausen  <lars@raeder.dk>
3013         * app/layer_dialog.c (layer_dialog_set_diagram): 
3014         * app/display.c: Layer widget crash more properly dealt with in
3015         layer dialog code.
3016         
3017         * app/display.c (ddisplay_flush): Fixed crash when closing:  Layer
3018         widget deselect was called during destroy, but called
3019         ddisplay_flush, leading to a new display timeout after renderer
3020         was dead.
3022         * lib/widgets.c (dia_toggle_button_destroy): 
3023         * app/recent_files.c (recent_file_menuitem_create): 
3024         * lib/persistence.c (persistence_save_list): 
3025         * app/commands.c (edit_delete_callback): 
3026         * lib/object_defaults.c (dia_object_defaults_save): 
3027         * lib/parent.c (parent_list_affected_hierarchy): Killed leaks
3028         (#142669)
3029         
3030         * lib/widgets.c (dia_toggle_button_new_with_images): Remove
3031         debugging info.
3033         * lib/diagramdata.c (new_layer): Initialize connectibility.
3035         * app/display.c (ddisplay_obj_render): 
3036         * app/diagram.c (diagram_find_closest_connectionpoint): Take
3037         connectibility into account.
3039         * app/layer_dialog.h (struct _DiaLayerWidget): 
3040         * app/layer_dialog.c:
3041         Connectible toggle updates, now works fairly well.
3043         * app/select.c (select_transitive_callback): Make sure we're only
3044         selecting in the same layer.
3046 2004-06-04  Lars Clausen  <lars@raeder.dk>
3048         * app/pixmaps/Makefile.am: Also install connectable images.
3049         
3050         * app/layer_dialog.c (dia_layer_update_from_layer): Initially set
3051         layer toggles from layer itself.  Also update diagram correctly
3052         for visibility.  Still need updates for connectivity behaviour.
3054 2004-06-03  Hans Breuer  <hans@breuer.org>
3056         * plug-ins/wpg/wpg.c(draw_image) : take rowstride into account
3058         * lib/diagdkrenderer.c(set_linejoin) : actually set
3059         join_style not cap_style
3060         (set_dashes): with the correct number of dashes
3062 2004-06-03  Lars Clausen  <lars@raeder.dk>
3064         * app/modify_tool.c (click_select_object): 
3065         * lib/text.c (text_set_cursor): 
3066         * app/disp_callbacks.c (ddisplay_canvas_events): Turn off text stuff.
3068 2004-05-31  Hans Breuer  <hans@breuer.org>
3070         * lib/object_defaults.c : don't 'failed to load external 
3071         entity "NULL"' when the defaults file does not exist, 
3072         bug #108764 [again: somehow this got lost]
3074         * app/paginate_gdiprint.cpp : don guess the WMF export 
3075         filter used for printing but find it by unique name.
3076         Also update for export_func renaming
3077         * plug-ins/wmf/wmf.cpp plug-ins/cairo/diacairo.c
3078         provide some unique names
3080         * app/commands.c app/disp_callbacks.c app/paginate_psprint.c 
3081           app/select.c : fix bug #140789 by always checking if there
3082         still is an active diagram before accessing it
3084         * app/defaults.c app/properties.c : user visible string should 
3085         not read DiaObject but stay as "Object defaults/properties"
3087         * app/app_procs.c : reduce the hack to pass --size to the
3088         export via user_data to the only filter supporting it. Other
3089         filters would crash on it or do worse ;(
3091         * plug-ins/wpg/wpg.c : not every 'Object' is a DiaObject ...
3093 2004-05-31  Lars Clausen  <lars@raeder.dk>
3095         * lib/widgets.h: 
3096         * lib/widgets.c: Use GtkType rather than guint for
3097         dia_size_selector_get_type. 
3099 2004-05-29  Lars Clausen  <lars@raeder.dk>
3101         * app/diapsrenderer.c (fill_bezier): Use even-odd winding rule so
3102         that it matches the screen output for selfoverlapping polygons and
3103         beziers. 
3105 2004-05-28  Hans Breuer  <hans@breuer.org>
3107         * app/load_save.c : ignore empty groups on load and don't
3108         write empty groups while saving
3109         * lib/group.h (group_update_data): there is no first object
3110         in empty groups and they probably don't need an update at 
3111         all. Maybe the shold just not exist ?
3113         * plug-ins/cairo/diacairo.c : fixed arc drawing, right aligned
3114         text positioning as well as drawing of images with alpha
3116         * plug-ins/wmf/wmf.cpp : include windows.h if eiher
3117         HAVE_WINDOWS_H or G_OS_WIN32 is defined
3119 2004-05-28  Lars Clausen  <lars@raeder.dk>
3121         * app/pixmaps/Makefile.am (imagedir): 
3122         * app/pixmaps/visible.png:
3123         * app/pixmaps/visible-empty.png: New images for the visibility
3124         button in the layer dialog.
3126         * lib/widgets.c (dia_toggle_button_new_with_images): Remove even
3127         more border around the button.  Still some left when hovering the
3128         mouse or selecting, and the grey background is annoying.
3130         * app/layer_dialog.c (dia_layer_widget_init): Use real buttons for
3131         visibility connector.
3133 2004-05-26  Lars Clausen  <lars@raeder.dk>
3135         * configure.in (DB2MAN): Better check for db2man docbook place.
3136         Need something even better.
3138         * doc/en/Makefile.am (dia.1): Conditional on having DB2MAN.
3140         * lib/widgets.c (dia_toggle_button_new_with_images): Remove
3141         extraeneous borders.
3143         * dia_logo.png:
3144         * dia_gnome_icon.png:
3145         * samples/render-test.dia: Rendering test from Hans.
3147 2004-05-24  Hans Breuer  <hans@breuer.org>
3149         * lib/filter.h : renamed DiaExportFilter::export to
3150         _DiaExportFilter::export_func (should not use c++ 
3151         keywords (g++ specifc ?) in headers. Same for import
3152         out of pure symmetry reasons
3153         * plug-ins/shape/shape-export.c plug-ins/python/diamodule.c
3154           app/diagram.c app/filedlg.c : reflect functions renaming
3156         * plug-ins/wmf/Makefile.am : finally compile the wmf plug-in
3157         under *NIX, too. [If you want something done, do it yourself ;-]
3158         * plug-ins/wmf/wmf_gdi.[hc] : some more stuff to catch up
3159         with wmf.cpp's GDI usage
3160         * plug-ins/wmf/wmf.cpp : compile even without HAVE_WINDOWS_H,
3161         [For the moment it does not much more than compiling, i.e. 
3162         the produced WMF files are invalid, if not created on windoze.]
3164         * configure.in : check for C++ to compile plug-in/wmf
3165         
3166         * objects/GRAFCET/boolequation.c : looks like fixing 
3167         another leak (untested)
3169 2004-05-23  Hans Breuer  <hans@breuer.org>
3171         * acinclude.m4 : another attempt to fix 
3172         bug #142032 (still not sure it's the right one,
3173         but works for me(tm), which the other does not ;)
3174         
3175         * plug-ins/cairo/Makefile.am
3176           plug-ins/Makefile.am 
3177           configure.in : support building the new cairo
3178         plug-in, if given --with-cairo and the cairo
3179         packages are found, see http://cairographics.org
3180         and also http://hans.breuer.org/dia/dia-cairo.htm
3182         * plug-ins/cairo/diacairo.c : make it compile
3183         with DEBUG_CAIRO defined, too.
3185 2004-05-23  Hans Breuer  <hans@breuer.org>
3187         * plug-ins/cairo/Makefile.am : initial attempt
3189         * plug-ins/cairo/diacairo.c : a new exporter based on
3190         Cairo http://cairographics.org rendering api. Currently
3191         it just can export PNG and PS but one day it might get
3192         PDF and more almost for free. [It is not yet included
3193         in the *NIX build system due to lack of auto* magic.]
3195         * plug-ins/pixbuf/pixbuf.c : always register the export
3196         filter part. If the user does not want it it can be 
3197         disabled by File/Plugins or explicit selected the other
3198         one in the Export Formats List
3200 2004-05-23  Hans Breuer  <hans@breuer.org>
3202         * lib/dia_dirs.c : #include "message.h"
3203           lib/widgets.c : #include "persistence.h"
3204           lib/widgets.c(dia_font_selector_init) : still not C99
3205           lib/persitence.h : removed unimplemented prototype
3206           lib/persitence.c(persistence_load_list) : still not C99
3207           app/create_object.c : #include "highlight.h"
3208           app/layer_dialog.c : #include "widgets.h"
3209           app/modify_tool.c : prototype functions before usage
3210           lib/object.c : if there is G_END_DECLS there _must_ be G_BEGIN_DECLS
3211         [otherwise one will have a hard time to make C++ compile ;]
3212           lib/dia_dirs.c : #include "message.h"
3213           lib/font.c : #include <gtk/gtk.h> /* just for gtk_get_default_language() */
3214           lib/
3216         * plug-ins/xfig/xfig-import.c : dont initialize an int with
3217         a string pointer
3219         * lib/dia_image.[hc](dia_image_rgba_data) : make it work
3220         as documented, i.e. _not_ copying. Plugs a memory leak in
3221         lib/dialibartrenderer.c
3223         * lib/diarenderer.c(*_rounded_rect) : renamed parameter rounding
3224         to radius to more of a clue what it is representing
3226         * */makefile.msc lib/libdia.def : updated
3228         ChangeLog : fixed some date copy&paste bug
3230 2004-05-21  Lars Clausen <lars@raeder.dk>
3232         * NEWS: Release tag.
3234         * config.h.win32: Now 0.93+cvs
3236         * RELEASE-PROCESS: Update with new info about release branches.
3237         
3238         * Many files:  Moved devel branch back into main trunk.  Should
3239         have been done in the opposite way, with release in a branch.  
3240         
3241 2004-05-20  Hans Breuer  <hans@breuer.org>
3243         * acinclude.m4 : disable setting of PYTHON_PREFIX
3244         and PYTHON_EXEC_PREFIX from prefix and exec_prefix
3245         as workaround for bug #142032 (the real fix would 
3246         involve some auto* knowledge which I don't have
3247         either;)
3248         
3249         * plug-ins/python/Makefile.am : more python 
3250         plug-ins to be installed (especially svg import,
3251         but also 'simple scale' should be useable 
3252         sometimes)
3253         
3254         * plug-ins/python/scascale.py : update display
3255         after modifying selected objects
3256         
3257         * plug-ins/python/diasvg_import.py : initialize
3258         stroke to none
3259         
3260 2004-05-18  Lars Clausen  <lars@raeder.dk>
3262         * app/diagram_tree.c (select_node): Use
3263         diagram_remove_all_selected to kill selected list.
3265         * lib/font.c: Set language when using a different context.
3267         * plug-ins/svg/svg-import.c: Changed isdigit to g_ascii_isdigit
3268         and removed ctype include (#142661).
3270         * lib/paper.c (get_default_paper): Changed isalnum to
3271         g_ascii_isalnum and removed ctype include. (#142661)
3273         * objects/custom/shape_info.c: 
3274         * lib/dia_svg.c: 
3275         * app/diaunitspinner.c: Removed unrequired ctype.h include. (#142661)
3277 2004-05-17  Hans Breuer  <hans@breuer.org>
3279         * lib/object_defaults.c : don't 'failed to load external 
3280         entity "NULL"' when the defaults file does not exist, 
3281         bug #108764
3283         * lib/widgets.c : fixed possible menu leak
3284         * lib/dialinechooser.c lib/diaarrowchooser.c : finally
3285         avoid finalization of floating references, bug #142307
3287 2004-05-15  Lars Clausen  <lars@raeder.dk>
3289         * plug-ins/xfig/xfig-import.c: Handle default fonts and illegal
3290         fonts better (#138655)
3291         
3292         * doc/pl/Makefile.am (EXTRA_DIST): Also include all xml files here.
3294         * doc/en/Makefile.am (EXTRA_DIST): Including all required files in
3295         dist, xml, dbk and man.  Also the sub-xml files. (#142098)
3297         * Makefile.am (CLEANFILES): 
3298         * sheets/Makefile.am (EXTRA_DIST): Not distributing the
3299         translation-reports, they are generated automagically.  THANKS
3300         file not considered locally generated, so is not locally
3301         cleaned. (#133735) 
3303         * lib/widgets.[ch]: Changing dia_arrow_selector to be a gobject.
3305         * lib/diaarrowchooser.c: 
3306         * lib/prop_attr.c: Fixing naming for arrowselector.
3308         * objects/UML/object.c (objet_type): Oops, little too aggressive
3309         with the DiaObject thing here:)
3311         * objects/custom/shape_info.c (parse_svg_node): Use
3312         g_ascii_isdigit instead of isdigit.
3314         * app/diaunitspinner.c (dia_unit_spinner_update): 
3315         * lib/dia_svg.c (dia_svg_parse_style): Using g_ascii_isspace
3316         instead of isspace avoids char subscript issues (#142467).
3318         * lib/persistence.c (persistence_get_string): Fixed 0/NULL/FALSE
3319         return value conflict.
3321         * app/display.c (ddisplay_update_handler): Fixed 0/FALSE return
3322         value conflict.  Also improved signature. (#142466)
3324         * app/load_save.c (diagram_data_load): Don't overwrite the list in
3325         the layer, but instead free the returned list (#142480)
3327         * app/pixmaps/Makefile.am (IMAGES): Added png's to be installed
3328         for the grid widget.
3330         * doc/en/Makefile.am (dia.1): Make proper rule for making dia.1
3332         * configure.in (DB2MAN): Currently just check for two known
3333         positions for the docbook xsl.  Don't know a generic way to find
3334         this info.  Ought to add an option for it, but then it's really
3335         only required for maintainers, I think.  Maybe.
3337         * app/display.c (update_snap_grid_status): Remove nasty image
3338         toggling code not require for grid toggle button anymore. (#142475)
3340         * app/interface.c (create_display_shell): Use
3341         dia_toggle_button_new_with_images to create grid toggle button.
3342         Much nicer. (#142475)
3344         * app/menus.c (menus_initialize_updatable_items): Free the string
3345         along with the GString. (#142475)
3347         * lib/intl.c (free_alias_table): Free hash table entries in a
3348         proper way, avoiding duplicate frees. (#142475)
3350         * lib/object_defaults.c (_obj_store): Only free layer_name if it's
3351         not put in the hash (avoid reading freed memory). (#142476)
3353         * lib/widgets.c (dia_font_selector_set_styles): Stop leaking
3354         faces. (#142484)
3355         (dia_font_selector_get_family_from_name): Stop leaking
3356         families. (#142482) 
3358 2004-05-14  Lars Clausen  <lars@raeder.dk>
3360         * Transfer of fixes from release branch.  Not the prettiest way to
3361         do it, this should be done during release, not afterwards.
3363         Tomasz Kłoczko <kloczek@pld.org.pl>:
3365         * acinclude.m4: minor fixes (added missing [] quotation).
3367         Lars Clausen  <lars@raeder.dk>:
3369         * app/interface.c (toolbox_delete): 
3370         * app/app_procs.[ch] (app_exit): Stop the delete event if the user
3371         cancels quit due to modified diagrams.
3373         Samúel Jón Gunnarsson  <sammi@techattack.nu>:
3375         * is.po: Added "is" to ALL_LINGUAS.
3377         Lars Clausen  <lars@raeder.dk>:
3379         * dia.spec: Updated as per mail from Zhang Lin-bo <zlb@lsec.cc.ac.cn>
3381         Hans Breuer  <hans@breuer.org>:
3383         * lib/makefile.msc : removed -DGTK_DISABLE_DEPRECATED; the 
3384         burden should be shared and not be win32 only ;) [this time 
3385         build was broken by adding GtkType to widget.h]
3387         * objects/standard/box.c objects/standard/ellipse.c :
3388         for code clarification compare (obj->aspect != FREE_ASPECT)
3389         and not (obj->aspect); no binary effect.
3391         * app/paginate_psprint.c : don't leak printcmd
3393         * objects/standard/box.c objects/standard/ellipse.c : fix gccisms :
3394         standard C requires variables to be declared at the beginning of 
3395         a block, also there is no fabsf() with msvc
3396         
3397         * app/win32print.[ch] : make win32_printer_close() return an
3398         error code, it's used as pclose replacement
3400         Lars Clausen  <lars@raeder.dk>:
3402         * RELEASE-PROCESS: Mention PATCH keyword in release process.
3404 2004-05-06  Lars Clausen  <lars@raeder.dk>
3406         * lib/widgets.[ch]: Utility function to make a widget with two
3407         images (selected and non-selected).
3409         * lib/diagramdata.h: Renamed selectable to connectable.
3410         Selectable will come later.
3412         * configure.in: 
3413         * app/pixmaps/Makefile.am (imagedir): 
3414         * app/pixmaps/connectable.png:
3415         * app/pixmaps/connectable-empty.png: New images for the
3416         selectability widget.  Proper installation, too.
3418         * app/layer_dialog.[ch]: Adding new button showing connectability
3419         status.  Much cleaner way of doing the button, but some problems
3420         with the item getting selected
3422         * lib/widgets.h: Reminder of how to install images for use by
3423         dia_get_image_from_file.
3425 2004-05-05  Lars Clausen  <lars@raeder.dk>
3427         * objects/network/Makefile.am: 
3428         * objects/network/pixmaps/radiocell.xpm: 
3429         * objects/network/pixmaps/basestation.xpm: 
3430         * objects/network/network.c: 
3431         * objects/network/basestation.c: 
3432         * objects/network/radiocell.c: 
3433         Patch from W. Borgert <debacle@debian.org>: Radio cell and base
3434         station objects.
3436         * lib/arrows.[ch]: Patch from Anthony <anthonym@overture.com>:
3437         Backslash arrow head. 
3439         * app/pagesetup.c (pagesetup_respond): Do not free ps twice.
3440         Notify takes care.  Should maybe use that more.
3442         * lib/diagramdata.[ch]: 
3443         * app/filedlg.c (file_export_ok_callback): 
3444         * app/diagram.c (diagram_finalize): DiagramData now a GObject.
3446         * app/dia-props.c (diagram_properties_respond): 
3447         * app/diagram.c (diagram_set_modified): 
3448         * app/undo.c: 
3449         * app/disp_callbacks.c: 
3450         * app/commands.c: 
3451         * app/load_save.c (diagram_save): 
3452         Better handling of undo and modified status -- only diagram
3453         properties and page setup explicitly set modified status, all
3454         other important changes should be done through the undo stack
3455         now.
3457 2004-05-04  Lars Clausen  <lars@raeder.dk>
3459         * app/app_procs.c (app_init): Consistently open a new diagram if
3460         none specified, with standard name Diagram1.dia.
3462         * app/layer_dialog.c: 
3463         * app/diagram.c (diagram_finalize): 
3464         * app/commands.c (dialogs_layers_callback): 
3465         * app/filedlg.c (file_export_ok_callback): 
3466         * app/app_procs.c (app_exit): 
3467         * app/display.c (display_set_active): 
3468         * app/interface.c (dia_dnd_file_drag_data_received): 
3469         * app/recent_files.c: 
3470         Undone attempt at unifying the multi-diagram windows (like
3471         layers).  It broke the layers and didn't make much sense for the
3472         diagram properties dialog anyway.
3474         * lib/group.c: 
3475         * lib/diatypes.h: 
3476         * lib/diagramdata.c: 
3477         * lib/object.h: 
3478         * lib/object.c: Undone attempts at GObject'ifying DiaObject -- too
3479         many subclasses have to be fixed.  Fixed remaining
3480         Object/ObjectType renaming issues.
3482 2004-05-02  Lars Clausen  <lars@raeder.dk>
3484         * lib/object.[ch]: Making DiaObject a GObject.  Now can I avoid
3485           having to make all the children objects conform to
3486           GObject style at once?  Warning!  Does not compile right now.
3488         * many, many files: Rename Object to DiaObject in preparation for
3489           making it a GObject.
3490         
3491         * app/diagram.[ch]: Turn diagram into a real GObject.
3493         * app/pagesetup.c: 
3494         * app/filedlg.c: Correctly ref and unref diagram. 
3496         * lib/diagramdata.h: Starting to turn it into a GObject as well.
3498 2004-05-02  Lars Clausen  <lars@raeder.dk>
3500         * lib/object.[ch]: Starting to convert Object to DiaObject, son of
3501         GObject. 
3503         * app/dia-props.c: Undo the attempt at making it really
3504         multi-diagram, now going for a one-diagram dialog.
3506 2004-04-30  Lars Clausen  <lars@raeder.dk>
3508         * app/undo.c: Undoing broken undo stuff for diagram properties and
3509         page setup.  Shouldn't be mixed into undo at all.
3511         * app/render_gdk.c (draw_pixel_line): Use the dash-setting
3512         function to avoid in particular the grid crawling.
3514         * lib/diagdkrenderer.[ch] (dia_gdk_renderer_set_dashes): Function
3515         to allow aligning dashes, so they don't crawl.
3517 2004-04-28  Lars Clausen  <lars@raeder.dk>
3519         * app/Makefile.am: New files diacanvas.[ch]
3521         * app/interface.c (create_display_shell): Use new diacanvas that
3522         allows placing widgets on canvas, for text edit.
3524         * lib/object.h: 
3525         Early work towards rotation.  No implementation yet.
3527         * app/layer_dialog.c (undo_layer): 
3528         * objects/network/bus.c (bus_create_change): 
3529         * objects/standard/box.c (aspect_create_change): 
3530         * objects/standard/ellipse.c (aspect_create_change): 
3531         Use g_new0 for change struct.
3533         * app/undo.c (diagram_change_apply_or_revert): 
3534         Support for undo of diagram properties and page setup.
3536         * app/disp_callbacks.c (ddisplay_canvas_events): 
3537         * lib/text.h: 
3538         * lib/diagramdata.h: 
3539         * app/modify_tool.c (click_select_object): 
3540         * lib/text.c (text_register_editable): 
3541         Starting work on new text editing model.  Guarded by #ifdef so
3542         far. 
3544 2004-04-07  Lars Clausen  <lars@raeder.dk>
3546         * app/recent_files.c (open_recent_file_callback): 
3547         * app/interface.c (origin_button_press): 
3548         * app/filedlg.c (file_open_ok_callback): 
3549         * app/display.c: 
3550         * app/diagram.[ch]: 
3551         * app/commands.c (dialogs_layers_callback): Using new
3552         diagram_set_current() function to ensure auxilliary windows are
3553         updated. 
3555         * app/layer_dialog.c: Trying to unify with dia-props.  Diagram
3556         menu now borken.  *sniff*
3558         * app/dia-props.c: Diagram properties window attempted
3559         persistentified.  Trying to make more like layer dialog (since it
3560         already changes when the diagram changes), but some things still
3561         borken. 
3563 2004-04-06  Lars Clausen  <lars@raeder.dk>
3565         * lib/dialinechooser.[ch] (dia_line_chooser_set_line_style): 
3566         * lib/attributes.c (attributes_set_default_line_style): 
3567         * app/interface.c (create_lineprops_area): 
3568         Make line style persistent as well.  Added function to directly
3569         set the style and dashlength of a dialinechooser. 
3571 2004-04-03  Lars Clausen  <lars@raeder.dk>
3573         * objects/standard/ellipse.c (ellipse_move_handle, ellipse_copy):
3574         Copy the ellipse extra handle correctly.
3576         * objects/standard/box.c (box_move_handle): Move definitions
3577         according to bug #138925.
3579 2004-04-02  Lars Clausen  <lars@raeder.dk>
3581         * app/recent_files.c: Use absolute name for recent files list.
3583         * lib/attributes.c: Set start and end arrow types, correctly.
3585         * lib/widgets.c (dia_arrow_selector_set_arrow): Use new function
3586         to get arrow index.
3588         * lib/diaarrowchooser.[ch]: Support for setting arrow info.
3590         * app/interface.c (create_lineprops_area): Set persistently stored
3591         arrow info.
3593         * lib/arrows.[ch]: New function to get arrow index (in arrow_types)
3594         from arrow type.
3596         * lib/dia_dirs.c: dia_get_absolute_path now creates a canonical
3597         path (i.e. without '.' or '..').  Not tuned for Win32 yet.
3599         * plug-ins/xfig/xfig-import.c: Redone ordering of import to comply
3600         with what xfig does.  Text now converted from latin-1 to utf-8
3601         (latin-1, since that's what xfig seems to use.  Would like to see
3602         examples of non-latin-1 figs).  String case problems fixed.
3604 2004-04-01  Lars Clausen  <lars@raeder.dk>
3606         * lib/attributes.c: 
3607         * app/interface.c: Default arrows now stored persistently, too.
3609         * lib/arrows.[ch]: New function to get arrow type from name.
3611         * app/color_area.c (color_area_create): 
3612         * lib/attributes.c: 
3613         * app/linewidth_area.c: Also persistent colors and line width.
3614         That was easy.  Arrows and line style will take a bit more work,
3615         but not much.
3617 2004-04-01  Lars Clausen  <lars@raeder.dk>
3619         * app/preferences.c:   All preferences are now
3620         handled by persistence, old prefs load and store code is gone.
3622         * lib/persistence.[ch]: Added string and color persistents.  This is
3623         a different string from the one used in the printer dialog, that
3624         one has a GtkEntry attached -- may want to make that one an
3625         encapsulation of this one or something.
3627 2004-03-31  Lars Clausen  <lars@raeder.dk>
3629         * app/app_procs.c: Do persistence before prefs.  Prefs are to be
3630         phased out anyway.
3631         
3632         * lib/persistence.[ch]: 
3633         * app/preferences.c: Adding persistence for integers, reals,
3634         booleans.  Fixed stupid list bug.  Test persistence for prefs.
3636 2004-03-30  Lars Clausen  <lars@raeder.dk>
3638         * app/recent_files.c: 
3639         Debugging of deallocation.
3640         
3641         * lib/widgets.c: 
3642         Font menu now uses persistence.  Ordering needs fixing, or it must
3643         be sorted.
3645         * lib/libdia.def: 
3646         * lib/Makefile.am (libdia_la_SOURCES): 
3647         * app/Makefile.am (dia_core_files): 
3648         * app/persistence.[ch]: 
3649         * lib/persistence.[ch]: Moved to lib as widgets need it.  Also a
3650         number of fixes, including multiple entries now being read
3651         properly.  Still some oddity about the persistent list having the
3652         role as first entry (which makes the font menu crash after a few
3653         iterations). 
3655 2004-03-26  Lars Clausen  <lars@raeder.dk>
3657         * app/persistence.c:
3658         * app/recent_files.[ch]: Redoing the recent-files list using
3659         persistence, reducing code by about 50%.  Still a problem when
3660         selecting an item from the menu -- possibly it doesn't like the
3661         menu being destroyed while in the callback?
3663 2004-03-25  Lars Clausen  <lars@raeder.dk>
3665         * app/persistence.c (persistence_load_string): Missing semicolon?!?
3667 2004-03-24  Lars Clausen  <lars@raeder.dk>
3669         * RELEASE-PROCESS: 
3671         * app/persistence.[ch]: 
3672         * app/paginate_psprint.c (diagram_print_ps): New type of data can
3673         be stored persistently:  Strings.  Only the printer command/file
3674         go in here now, but things like creator, organization, diagram
3675         comments etc could also be handled this way.
3677         * objects/standard/beziergon.c (beziergon_draw): Avoid control
3678         lines when the object is not selected.
3680 2004-03-23  Lars Clausen  <lars@raeder.dk>
3682         * lib/connectionpoint.h: 
3683         * app/load_save.c: Allow connection points to have names, and
3684         handle that in load/store.
3686         * lib/dialibartrenderer.c: Better highlighting for text.
3688         * lib/diagdkrenderer.h (struct _DiaGdkRenderer): 
3689         * lib/diagdkrenderer.c: Better highlighting for all, using same
3690         principles as libart highlighter.
3692 2004-03-22  Lars Clausen  <lars@raeder.dk>
3694         * lib/dialibartrenderer.[ch]: 
3695         * lib/diagdkrenderer.c: 
3696         * lib/object.h: 
3697         * app/object_ops.c:
3698         * app/diagram.[ch]:
3699         * app/display.[ch]:
3700         * app/Makefile.am: 
3701         * app/modify_tool.c: 
3702         * app/create_object.c: 
3703         * app/highlight.[ch]: 
3704         Added simple object highlighting.  In GDK rendering, highlights
3705         the bbox, in libart highlights the outline of the object (except
3706         for texts).
3708 2004-03-22  Lars Clausen  <lars@raeder.dk>
3710         * RELEASE-PROCESS: Added info on how to do a branch for
3711         development during release process.
3713 2004-03-20  Lars Clausen  <lars@raeder.dk>
3715         * RELEASE-PROCESS: Mention PATCH keyword in release process.
3717 2004-03-19  Lars Clausen  <lars@raeder.dk>
3719         * xmldocs.make: Fixed apparent uninstall error.
3721         * config.h.win32: 
3722         * doc/en/dia-manual.xml: 
3723         * doc/pl/dia-manual.xml: 
3724         * dia.spec: 
3725         * configure.in: 
3726         * NEWS: Version 0.93-pre1.
3728         * lib/dialinechooser.[ch]: Patch from pborelli@katamail.com (paolo
3729         borelli):  Remove some deprecated stuff.
3731 2004-03-18  Lars Clausen  <lars@raeder.dk>
3733         * Makefile.am: Try better uninstall thing for scrollkeeper.
3735         * objects/ER/entity.c: 
3736         * lib/arrows.[ch]: Patch from Georg Lothar Thimm
3737         <MGEORG@ntu.edu.sg>: Adds new ER arrows 1 or many, 0 or many, 0 or
3738         1, 1 exactly, as well as associative ER entities.
3740 2004-03-17  Lars Clausen  <lars@raeder.dk>
3742         * Makefile.am: Make distcheck not complain about scrollkeeper
3743         problems (as per advice from James Henstridge).
3745         * doc/pl/*.{xml,sgml}: Converted SGML manuals to XML to get better
3746         standard installation.
3748         * objects/standard/ellipse.c: Better strings for object menu.
3750         * app/sheets_dialog_callbacks.c: Fixed crashes from broken caching
3751         of dialogs (shame on you, glade!)
3753         * objects/custom/custom_object.c (custom_setup_properties):
3754         Removed debugging output
3756         * app/paginate_psprint.c (diagram_print_ps): Slightly more
3757         readable printer error messages.
3759         * xmldocs.make: 
3760         * omf.make: 
3761         * doc/en/Makefile.am: 
3762         * doc/pl/Makefile.am: 
3763         New more standard way to install the XML-based manuals.  
3765 2004-03-15  Lars Clausen  <lars@raeder.dk>
3767         * objects/standard/box.c (box_move_handle): More intuitive fixed
3768         aspect behaviour.
3770         * objects/standard/ellipse.c: 
3771         * objects/standard/box.c: 
3773         * lib/widgets.[ch]:
3774         * app/layer_dialog.[ch]:
3775         Patch from Steve Langasek <vorlon@debian.org>:
3776         Fixes startup crash on Alpha (bug #137169)
3777         
3778         * objects/standard/box.c: Aspect fixing like ellipses.
3780         * app/Makefile.am (dia_core_files): Include dia-app-icons.h
3782         * lib/pixmaps/Makefile.am (imagedir): Better Makefile.am for
3783         pixmaps, now can uninstall properly.
3785         * objects/standard/ellipse.c: Patch from dooms@info.ucl.ac.be:
3786         Fixed and circle aspect ratios for ellipses.  Bug #137156, #87966,
3787         #93940. 
3788         Added object menu access.
3790 2004-03-07  Hans Breuer  <hans@breuer.org>
3792         * lib/diaarrowchooser.c lib/dialinechooser.c : #undef
3793         GTK_DISABLE_DEPRECATED (I'd rather like if these widgets
3794         would not use deprecated apis, but it's much simpler this way)
3796         * lib/makefile.msc : build the above new widgets and render_pixmap
3797         * lib/libdia.def app/dia.def app/makefile.msc : updated
3799         * app/disp_callbacks.c : fix gccisms (without being able to make much sense of 
3800         what I saw, i.e. how big is an empty array supposed to be ? ;-). 
3801         Previously it gave :
3802         disp_callbacks.c(188) : error C2059: syntax error : '}'
3803         disp_callbacks.c(191) : warning C4034: sizeof returns 0
3805         * app/interface.c : #include "dialinechooser.h"
3807         * lib/diagdkrender.c : make the !HAVE_FREETYPE case compile again
3808         [one more reason not to use it here : it's quite slow compared to
3809          the native win32 font renderer ;]
3811         * app/app_procs.c app/filedlg.c : gtk_widget_destroy does not take
3812         a GtkDialog*, removed unneeded cast
3814         * app/render_eps.c : avoid assignment warning for void* user_data
3815         not being an int 
3817 2004-03-06  Steffen Macke sdteffen@web.de>
3819         * shapes/Map/Isometric/Makefile.am: added Makfile for Isometric
3820         shapes
3822 2004-03-06  Lars Clausen  <lars@raeder.dk>
3824         * lib/arrows.h (DEFAULT_ARROW_SIZE): Downed default arrow size to
3825         0.5, as per poll.
3827         * lib/font.c: Simple cleanup system for layout cache removes any
3828         layout that hasn't been used for 10 minutes, but only during idle
3829         time. 
3831 2004-03-05  Lars Clausen  <lars@raeder.dk>
3833         * sheets/Electric.sheet.in: Added patch from padro@lsi.upc.es
3834         (lluis padro) (#130887): Extended Electric shapes with vertical
3835         versions. 
3837         * sheets/Cybernetics.sheet.in: Normalize shape descriptions (never
3838         start with "Create a" or "A", always capitalize first word).
3840         * objects/standard/ellipse.c: Patch from Grégoire Dooms
3841         <dooms@info.ucl.ac.be>: Add extra connection point in center of
3842         ellipse.  Additionally added a handle in the center, and resize is
3843         now around the center.
3845         * configure.in: 
3846         * sheets/Makefile.am (SUBDIRS): 
3847         * sheets/IsometricMap.sheet.in: 
3848         * shapes/Map/Isometric/*
3849         * shapes/Makefile.am (SUBDIRS): Added Isometric shapes.
3851 2004-03-04  Lars Clausen  <lars@raeder.dk>
3853         * lib/Makefile.am: 
3854         * lib/pixmaps/Makefile.am: 
3855         * configure.in: 
3856         Better installation handling of pixmaps.
3857         
3858         * lib/diagdkrenderer.c: 
3859         * lib/diagtkfontsel.h (struct _DiaGtkFontSelectionClass): 
3860         * lib/diagtkfontsel.c (dia_gtk_font_selection_show_available_fonts): 
3861         Constness fixes.
3863 2004-03-03  Lars Clausen  <lars@raeder.dk>
3865         * lib/diagtkfontsel.h (struct _DiaGtkFontSelection): 
3866         * lib/diagdkrenderer.c: 
3867         * lib/diasvgrenderer.c:
3868         * lib/dialibartrenderer.c:
3869         * lib/diainteractiverenderer.c: 
3870         * lib/prop_text.c (multistringprop_handle_key): 
3871         * lib/dia_dirs.c: 
3872         * lib/dia_image.c (dia_image_rgba_data): 
3873         * lib/widgets.c: 
3874         * lib/diagramdata.c (layer_set_object_list): 
3875         * lib/font.h: 
3876         * lib/font.c: 
3877         Getting rid of compile warnings.
3879         * lib/widgets.c: Handle destroy properly, i.e. unref the two extra
3880         images.  Also remove unused decls.
3882 2004-03-02  Lars Clausen  <lars@raeder.dk>
3884         * lib/widgets.h: 
3885         * lib/widgets.c (dia_size_selector_init): Add images to the size
3886         selector chain widget.  Also new function to load installed images
3887         from files (better than from included XPM, IMHO).
3889 2004-03-02  Lars Clausen  <lars@raeder.dk>
3891         * lib/libdia.def: 
3892         * lib/pixmaps/[un]broken-chain.xpm: Icons stolen from GIMP for the
3893         size selector.
3895         * lib/Makefile.am: 
3896         * lib/widgets.c (dia_size_selector_init): Work
3897         on getting proper icon onto the size selector.  Need simple image
3898         load mechanism in utils.
3900         * lib/text.c: 
3901         * app/display.[ch]:
3902         * app/disp_callbacks.c: Patch from kou@cozmixng.org: Show preedit
3903         strings, handle utf8 strlen properly.  Bug #135930.
3905 2004-03-01  Lars Clausen  <lars@raeder.dk>
3907         * shapes/Cybernetics/*:
3908         * sheets/Cybernetics.sheet.in:
3909         * sheets/Makefile.am:
3910         * shapes/Makefile.am: 
3911         * configure.in: Patch from charly.meyer@t-online.de (Thorsten
3912         Roggendorf): Cybernetic shapes (#95553).
3914 2004-03-01  Lars Clausen  <lars@raeder.dk>
3916         * app/Makefile.am: Fixed $(EXEEXT) warning from automake.
3918         * lib/diatypes.h: New type DiaSizeSelector.
3920         * lib/widgets.[ch]: New size selector widgets that selects two
3921         values (width and height, nominally) optionally linked to keep
3922         aspect ratio.
3924 2004-03-01  Hubert Figuiere  <hfiguiere@teaser.fr>
3926         * plug-ins/svg/render_svg.c (new_svg_renderer): Add DTD declaration
3927         in front of file. Bug #128600.
3929         * app/Makefile.am:
3930         * app/interface.h:
3931         * app/lineprops_area.[ch]:
3932         * lib/Makefile.am:
3933         * lib/dialinechooser.[ch]:
3934         * lib/widgets.c (dia_line_style_selector_init): use line preview 
3935         instead of text labels. This involve moving away line_chooser to lib
3936         from app.
3938         * lib/diaarrowchooser.[ch] (close_and_hide): Make static to avoid
3939         symbol conflicts.
3941         * app/Makefile.am (dia_core_files): 
3942         * app/interface.c (create_lineprops_area):
3943         * app/render_pixmap.[ch]:
3944         * lib/Makefile.am:
3945         * lib/diaarrowchooser.[ch]:
3946         * lib/libdia.def:
3947         * lib/prop_attr.c:
3948         * lib/propdialogs.c:
3949         * lib/render_pixmap.[ch]:
3950         * lib/widgets.c (dia_arrow_fill_menu): Use arrow preview instead
3951         of text labels. This involve moving away arrow_chooser to lib from
3952         app.
3954 2004-02-29  Lars Clausen  <lars@raeder.dk>
3956         * objects/UML/class.[ch]: Puny kludge to avoid GtkList objects
3957         being updated half-way through destruction.  To be removed when
3958         the lists are replaced by something better.
3960         * objects/UML/class_dialog.c: Patch from luc@handhelds.org:
3961         Accelerators for class dialog.  Bug #130995.
3962         Patch from luc@handhelds.org: Better aligning of widgets.  Bug #130994.
3964         * app/dia-props.c:
3965         * app/preferences.c:
3966         * lib/properties.c:
3967         * objects/GRAFCET/step.c:
3968         * objects/Misc/analog_clock.c:
3969         * objects/chronogram/chronoline.c:
3970         * objects/chronogram/chronoref.c:
3971         Change to american spelling (color, not colour) to ease
3972         translators job.  Note that a number of translations may need an
3973         update now.  Bug #120466.
3975 2004-02-29  Lars Clausen  <lars@raeder.dk>
3977         * plug-ins/xfig/xfig-export.c: Patch from solworth@cs.uic.edu:
3978         Better arrow handling for missing arrows.
3980         * plug-ins/metapost/render_metapost.[ch]: Patch from
3981         phred@cs.berkeley.edu (Fred Reiss): Add font faces and font
3982         size. See bug #135363.
3984         * app/app_procs.c (app_init): If non-interactive, or if
3985         --log-to-stderr used, send all messages to stderr.  This should
3986         mean that old diaconv == dia --export-to-format=FOO BAR
3988 2004-02-29  Hubert Figuiere  <hfiguiere@teaser.fr>
3990         * app/menus.c: Get rid of GNOME menus. Deprecated APIs in GNOME 2.
3992 2004-02-28  Lars Clausen  <lars@raeder.dk>
3994         * lib/text.c (text_key_event): Patch from Kouhei Sutou
3995         <kou@cozmixng.org>: Fix wrong utf8 strlen handling.
3997 2004-02-27  Lars Clausen  <lars@raeder.dk>
3999         * KNOWN_BUGS: Added info on most commonly reported bugs, with
4000         BugZilla numbers.
4001         
4002         * app/disp_callbacks.c (popup_object_menu): Unified properties
4003         entry, fixes bug #105080.
4005         * app/diagram.c (diagram_update_menu_sensitivity): 
4006         * app/menus.h (struct _UpdatableMenuItems): 
4007         * app/menus.c (menus_initialize_updatable_items): Menu items
4008         changed around, align menus flattened, properties entry ghosted,
4009         dialogs menu removed, more shortcuts added.  Closing bugs #94018,
4010         #117495, #135125.
4011         Also taking out Gnome menus for now.  They don't allow shortcuts,
4012         so what are they good for?
4014 2004-02-27  Lars Clausen  <lars@raeder.dk>
4016         * app/menus.c (display_menu_items): 
4017         * app/commands.[ch]: Added duplicate menu item from Alan Horkan
4018         (bug #95546).
4020 2004-02-24  Adam Weinberger  <adamw@FreeBSD.org>
4022         * configure.in: Added 'en_CA' (Canadian English) to ALL_LINGUAS.
4024 2004-02-23  Lars Clausen  <lars@raeder.dk>
4026         * app/app_procs.c (app_init): Comments for translators.
4028 2004-02-22  Hubert Figuiere  <hfiguiere@teaser.fr>
4030         * app/preferences.c (prefs_create_dialog): Change packing policy
4031         for widget to expand.
4033         * app/Makefile.am (run_dia.sh): Fixed a typo in wrapper that prevented
4034         running with a debugger.
4036 2004-02-19  Lars Clausen  <lars@raeder.dk>
4038         * app/undo.[ch]: Adding last-saved information to undo to allow a
4039         diagram with all changes since last save undo to be marked as
4040         nonmodified.  Still needs integration with actual undo
4041         apply/revert calls.
4043         * app/diagram.h: 
4044         * app/diagram_tree.c (diagram_tree_update): 
4045         * app/diagram.c: 
4046         * app/display.c (update_modified_status): 
4047         * plug-ins/python/pydia-diagram.c (PyDiaDiagram_GetAttr): 
4048         * app/autosave.c (autosave_check_autosave): Encapsulate modifed
4049         test. 
4051         * app/render_eps.[c]: Restructure to better handle PS vs. EPS
4052         vs. EPSI, comment out EPSI until preview is in there.
4054         * lib/render.c: 
4055         * lib/diarenderer.c: Removing debugging printfs.
4057         * app/diapsrenderer.[ch]: Preparations for proper EPSI rendering
4058         (with preview)
4060         * objects/standard/arc.c (arc_update_handles): Check to avoid
4061         crash when start and end points are the same.
4063 2004-02-19  Lars Clausen  <lars@raeder.dk>
4065         * objects/standard/bezier.c: 
4066         * objects/standard/line.c (line_load): 
4067         * objects/standard/polyline.c (polyline_load): 
4068         * objects/standard/zigzagline.c (zigzagline_load): 
4069         * objects/standard/arc.c (arc_load): 
4070         * lib/widgets.h (DEFAULT_ARROW_WIDTH): Use DEFAULT_ARROW_SIZE
4071         instead of hardcoding.
4073 2004-02-18  Hubert Figuiere  <hfiguiere@teaser.fr>
4075         * app/disp_callbacks.c (popup_object_menu): append a menu item to 
4076         display properties.
4078 2004-02-17  Hubert Figuiere  <hfiguiere@teaser.fr>
4080         * app/app_procs.c: declare rc properly with the proper #ifdef
4082 2004-02-17  Lars Clausen  <lars@raeder.dk>
4084         * plug-ins/xfig/xfig-import.c: Correct ordering of imported FIG
4085         objects (which seemingly FIG itself breaks, or else there is no
4086         ordering).
4088 2004-02-16  Lars Clausen  <lrclause@cs.uiuc.edu>
4090         * plug-ins/xfig/xfig-export.c (figLineWidth): Check for minimum
4091         width renderable in xfig.  Helps on bug #133637, but does not
4092         quite fix it -- something about depth is wrong.
4094         * plug-ins/xslt/xslt.[ch]: Patch #133913 from phenning@lanl.gov:
4095         Extern definitions for Mac compilation.
4097         * app/app_procs.c: Patch #131159 from J. H. M. Dassen
4098         (jdassen@debian.org): Include fix.
4100         * app/interface.c: Patch #130100 from luc@handhelds.org:  Make
4101         sure the initial diagram size is correct.
4103 2004-02-15  Lars Clausen  <lrclause@cs.uiuc.edu>
4105         * lib/Makefile.am (AM_CPPFLAGS): Override AM_CPPFLAGS instead of
4106         CPPFLAGS, as per automake warning.
4107         * app/Makefile.am (AM_LDFLAGS): Override AM_LDFLAGS instead of
4108         LDFLAGS, as per automake warning.
4109         (run_dia.sh): More robust creation, and more easily moved.
4111         * app/undo.c (group_objects_revert): Don't double-free the objects
4112         list.  (#129221) Call object_add_updates on grouped objects.
4113         (ungroup_objects_revert): Call object_add_updates on grouped objects.
4115         * lib/diagramdata.c: Internal
4116         documentation. 
4118         * lib/polyshape.c (polyshape_update_data): Correctly calculate
4119         directions for polyshape corners (thanks, Valgrind!)
4121         * lib/attributes.c: 
4122         * lib/prop_attr.c (arrowprop_load): Use default arrow size.
4124         * lib/arrows.h: Default arrow size defined.  After all are using
4125         this, may lower to 0.4 or so.
4127         * app/lineprops_area.[ch]: New function to set the arrow type for an
4128         arrow chooser.
4130         * app/interface.c (create_lineprops_area): Set default line to
4131         have an arrow (fairly likely to be what's wanted, plus it shows
4132         the user where arrows are set).
4134         * app/app_procs.c: #ifdef HAVE_POPT popt args to process_opt
4136 2004-02-14  Lars Clausen  <lrclause@cs.uiuc.edu>
4138         * plug-ins/metapost/render_metapost.c (draw_with_linestyle):
4139         Dotted lines should use dot_length, not dash_length.
4141 2004-02-06  Hans Breuer  <hans@breuer.org>
4143         * app/interface.c : don't use gtk_drawing_area_size() to avoid
4144         the defaut size being also the minimum size. Instead use
4145         gtk_window_set_default_size() on the display shell. Fixes #130982.
4147         [fixing #131210, but umlauts in the 'main' filename still not really 
4148          supported on systems where filesystem encoding != utf8
4149         (Problems with recent file menu and window title)]
4150         * lib/dia_xml.[hc] : add data_filename() and data_add_filename()
4151         to deal with possible differnces in filename encodings, see
4152         g_filename_<to|from>_utf8()
4153         * objects/standard/image.c : use them.
4155         * lib/widgets.c : handle possible encoding difference here, too.
4156         Also get rid of most warnings by using const and GTK casts where 
4157         appropriate; one wrong cast (probably causing a crash) was found/fixed 
4158         by this - the remaining give a hint on finally leaking FontSelectorEntry.
4160         * lib/widgets.[hc] : hide _DiaFileSelector and *Class in .c. Modified
4161         dia_file_selector_<get|set>_file to behave like the respective Gtk 
4162         functions do : encoding- and const-wise ;-)
4164 2004-02-01  Robert Sedak  <robert.sedak@sk.htnet.hr>
4166         * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
4168 2004-01-19  Hans Breuer  <hans@breuer.org>
4170         * app/app_procs.c app/diaconv : 
4171         only call bind_textdomain_codeset when available, what's good 
4172         for The Gimp (bug #131215) can't be wrong for Dia : bug #125926
4173         * config.h.win32 : define HAVE_BIND_TEXTDOMAIN_CODESET
4175 2004-01-19  Steffen Macke <sdteffen@web.de>
4177         * makefile.msc: updated for new GAIM-like installer build; sync'ed
4178         ALL_LINGUAS with configure.in
4180 2004-01-18  Hans Breuer  <hans@breuer.org>
4182         * app/app_procs.c (myXmlErrorReporting) : avoid possible crash 
4183         by not passing NULL to g_print()
4185         * app/interface.c (create_toolbox) : actually use
4186         persitence_register_window() to restore toolbox window size
4188         * app/makefile.msc lib/makefile.msc : allow to deselect
4189         building with Freetype by command line to nmake like :
4190                 nmake -f makefile.msc "NOFT2=1"
4192         * plug-ins/python/diasvg_import.py : handle 'stroke-array' as
4193         far as possible with Dia's limited line style
4194         * plug-ins/python/pydia-property.c : allow to get and set
4195         Linestyle, style and dash(length)
4197         * lib/object.h : removed typedef for ObjectId not use anywhere
4199 2004-01-17  Hans Breuer  <hans@breuer.org>
4201         * objects/custom/shape_info.[hc] objects/custom/custom_object.c
4202           doc/shape.dtd doc/custom-shapes : 
4203         support for images in custom shapes, also removed some long-time
4204         dead code
4206         * doc/en/*.xml : fixed crippled line ends which get created
4207         when windoze line ends are checkin from the unix side
4209 2004-01-13  Laurent Dhima  <laurenti@alblinux.net>
4211         * configure.in: Added "sq" to ALL_LINGUAS.
4213 2004-01-11  Hans Breuer  <hans@breuer.org>
4215         [more less leaks ;-]
4216         
4217         * objects/SADT/annotation.c : use text_destroy() not g_free()
4218         
4219         * objects/chronogram/chronoline.c : neither leak chronoline::events
4220         nor chronoline::name
4222         * objects/wpg/wpg.c : don't g_free() but g_object_unref(renderer);
4224 2004-01-11  Hans Breuer  <hans@breuer.org>
4226         * lib/properties.h :
4227         * objects/custom/custom_object.c : more properties optional
4228         to be backward compatible for older diagrams not having them 
4229         set. (Try to load samples/all_objects.dia)
4230         
4231         [less memory leaks thanks valgrind ;-]
4232         
4233         * app/recent_files.c (recent_file_history_write) : 
4234         g_free(history_filename);
4235         (recent_file_menu_item) : use g_path_get_basename() 
4236         which already strdups, free result of g_strescape()
4237         
4238         * app/filedlg.c (create_export_menu) : return of
4239         filter_get_export_filter_label() must be g_free()'d
4240         (create_open_menu) : same for import
4241         
4242         * app/export_png.c (export_png_ok) : destroy info ptr
4243         with png_destroy_write_struct()
4244         
4245         * app/app_procs.c (app_init) : g_free(export_format_string);
4246         
4247         * lib/font.c (dia_font_finalize) : finalize parent_class, too
4248         (dia_font_new_from_style) : stop leaking almost all DiaFont by not
4249         refing it a second time, g_type_create_from_instance() is enough
4250         
4251         * lib/object_defaults.c (_obj_store) : don't mess with names
4252         len 0 (should avoid 'Invalid read of size 1, but doesn't ;)
4253         
4254 2004-01-11  Steffen Macke <sdteffen@web.de>
4256         * app/diapsftrenderer.c: including ftoutln.h
4257         * app/makefile.msc: updated for freetype build
4258         * lib/libdia.def: added dia_font_get_context()
4259         * lib/dialibartrenderer.c (draw_string): added cast
4260         
4261 2004-01-10  Hans Breuer  <hans@breuer.org>
4263         * lib/diagdkrenderer.c (draw_string) : gdk_draw_line with
4264         transformed coordinates, fixes bug 130804
4266 2004-01-10  Hans Breuer  <hans@breuer.org>
4268         * app/filedlg.c app/app_procs.c : don't try to destroy 
4269         'gtk_dialog_run'-dialogs dialogs by connecting to the "response"
4270         signal but simply by gtk_widget_destroy() after gtk_dialog_run()
4271         returns. Fixes 'has no handler' bugs like #121019
4273 2004-01-10  Hans Breuer  <hans@breuer.org>
4275         * objects/UML/class.c objects/UML/class_dialog.c : 
4276         handle umlclass->name being empty to avoid, i.e. fix #127968
4278         [plugging memleaks, thanks valgrind :-]
4279         
4280         * lib/dia_xml.c (data_string) : don't leak return value
4281         of xmlNodeListGetString()
4282         
4283         * lib/dia_xml.c (xml_file_check_encoding) : g_free(buf)
4284         before returning, maybe alloca() would be the better 
4285         choice but anyway ;)
4287         * objects/custom/custom_object.c:306 : adde xmlFree(str) below
4288         
4289         * lib/font.c (dia_font_build_layout) : don't leak result
4290         of g_utf8_strdown()
4291         
4292         * lib/diagdkrenderer.c (draw_string) : don't leak rgba
4293         (this is the one which got me started using valgrind, see #130816)
4294         
4295 2004-01-07  Sanlig Badral  <badral@openmn.org>
4297         * configure.in: Added "mn" to ALL_LINGUAS.
4299 2004-01-04  Hans Breuer  <hans@breuer.org>
4301         * lib/diagdkrenderer.c : replace rendering of really small (height
4302         less than 2 pixels) with a simple dashed line, you wont notice the 
4303         differnce beside it being much faster. This allows ...
4304         * lib/diagdkrenderer.h : ... to remove gboolean rendertext ...
4305         * app/navigation.c : ... and lets you see an read rendered text even 
4306         in the nice navigation popup.
4308         * lib/dialibartrenderer.c : FONT_SCALE defined as 1.0 for G_OS_WIN32, too. 
4309         (draw_string) : don't leak temporary image
4311 2004-01-04  Hans Breuer  <hans@breuer.org>
4313         * app/dia-app-icons.h : TODO : to be removed when autogenerated on *NIX, too.
4314         * app/interface.c : use dia-app-icons.h to give Dia window icons
4316         * lib/dia_image.c lib/color.c : _never_ call functions implemented
4317         in app/ from lib/. It is not portable and broken from design
4318         * app/app_procs.c : call color_init() and dia_image_init() conditional,
4319         i.e. only if running interactive.
4321         * lib/font.h : #include <time.h>
4323         * lib/libdia.def : updated externals
4325         * objects/UML/actor.c 
4326             objects/UML/association.c (todo)
4327           objects/UML/branch.c
4328           objects/UML/class.[hc] objects/UML/class_dialog.c
4329           objects/UML/classicon.c
4330           objects/UML/component.c 
4331           objects/UML/constraint.c
4332           objects/UML/dependency.c
4333           objects/UML/generalization.c
4334           objects/UML/implements.c
4335           objects/UML/large_package.c
4336           objects/UML/lifeline.c
4337           objects/UML/message.c
4338           objects/UML/node.c
4339           objects/UML/object.c
4340           objects/UML/realizes.c
4341           objects/UML/small_package.c
4342           objects/UML/state.c
4343           objects/UML/usecase.c
4344           objects/UML/
4345         : ported coloring of most UML objects (bug #97517, orginal
4346           work Mathias Hasselmann)
4348         * lib/properties.h : add _OPTIONAL variants for 
4349         PROP_STD_(LINE|FILL|TEXT)_COLOUR which allows to load old -
4350         i.e. default colored - UML diagrams without complaining
4351         * lib/proplist.c lib/propoffsets.c : avoid setting _OPTIONAL,
4352         not set properties with the help of PXP_NOTSET. Otherwise 
4353         optional attributes would lead to wrong initialization. 
4355         * lib/widgets.[hc] : moved _DiaFontSelector from .h to .c
4356         to hide details and restict #undef GTK_DISABLE_DEPRECATED to .c
4357         Same for most other selectors which probably should be rewritten
4358         to the combo box with tree model from Gtk+ 2.4
4360 2004-01-04  Lars Clausen  <lrclause@cs.uiuc.edu>
4362         * INSTALL (PLATFORM NOTES): Mention the Gnu gettext and iconv as
4363         being the Right Thing(tm) to use on Solaris.
4365         * objects/standard/bezier.c (bezierline_draw): Don't draw
4366         guidelines if not selected.
4368         * lib/object.[ch] (dia_object_is_selected): Function to check whether
4369         a given object is selected. O(n), where n is # selected objects.
4370         
4372 2004-01-03  Lars Clausen  <lrclause@cs.uiuc.edu>
4374         * lib/widgets.[ch]: Make sure old font is re-chosen when the Other
4375         Fonts dialog is closed without pressing Ok (bug #128646).
4377 2004-01-02  Lars Clausen  <lrclause@cs.uiuc.edu>
4379         * app/Makefile.am: Quote arguments correctly for run_dia.sh (bug
4380         #130099). 
4382 2004-01-01  Lars Clausen  <lrclause@cs.uiuc.edu>
4384         * INSTALL: Updated list of requirements (bug #129653)
4386         * doc/en/dia.dia: Beginning class diagram for Dia from Luc
4387         Pionchon <luc@handhelds.org>.
4389 2003-12-31  Lars Clausen  <lrclause@cs.uiuc.edu>
4391         * lib/diagdkrenderer.c (draw_string): Don't attempt to render
4392         empty or NULL strings (bug #130097).
4394 2003-12-31  Chris Sperandio <sperandi@eng.usf.edu>
4395         
4396         * plug-ins/metapost/render_metapost.c: Fixed string colorization.
4397         Added checks against color_black.
4399 2003-12-31  Lars Clausen  <lrclause@cs.uiuc.edu>
4401         * plug-ins/xfig/xfig-export.c (figArrow): Output nothing for
4402         ARROW_TYPE_NONE.  Thanks to Jon A. Solworth for showing that this
4403         can happen.
4405         * objects/UML/component_feature.c: Patch from W. Borgert
4406         <debacle@debian.org>:  Add handle to component feature text.
4408         * lib/diagdkrenderer.c (draw_string): Remove poorly placed caching.
4410         * lib/font.c: Caching PangoLayout for better rendering speed.
4412 2003-12-30  Lars Clausen  <lars@raeder.dk>
4414         * lib/dia_dirs.[ch] (dia_get_absolute_filename): New function to
4415         get absolute file name from relative.
4416         * app/recent_files.c (recent_file_history_add): Use absolute
4417         filenames for recent files menu so that files can be found when
4418         Dia is invoked from other places.  
4420         * app/app_procs.c (handle_all_diagrams): Fix for 1/3 of 130098:
4421         Actually load different diagrams if such are requested on command
4422         line.  
4424         * objects/UML/class_dialog.c (class_create_page): Fix from Luc
4425         Pionchon <luc@handhelds.org>: Correctly align labels for colors.
4427         * lib/diagdkrenderer.[ch]: From Luc: New option to GdkRenderer to
4428         remove text rendering.  May be turned into greeking at some later
4429         stage.
4431         * app/interface.c: 
4432         * app/Makefile.am (dia_core_files): 
4433         * app/navigation.[ch]: Patch from Luc Pionchon <luc@handhelds.org>:
4434         Adds navigation window a la Gimp, though without text being
4435         rendered at all.
4437 2003-12-27  Luc Pionchon <luc@handhelds.org>
4439         * app/navigation.h: (new file)
4440         * app/navigation.c: (new file) creates a navigation window with a
4441         thumbnail view of the whole diagram.
4442         * app/Makefile.am (dia_core_files): added new files.
4444         * app/interface.c (create_display_shell): added a button between
4445         the scrollbars to popup a navigation window.
4447         * lib/diagdkrenderer.h (struct_DiaGdkRenderer): added rendertext
4448         boolean
4449         * lib/diagdkrenderer.c (renderer_init): set rendertext TRUE by default
4450         * lib/diagdkrenderer.c (draw_string): returns if the renderer do
4451         not want text rendering.        
4453 2003-12-14  Lars Clausen  <lrclause@cs.uiuc.edu>
4455         * shapes/Circuit/hresistor.shape: Uses new extra attribute thing.
4457         * objects/custom/shape_info.[ch]: Cleanup.
4459         * objects/custom/custom_object.[ch]: Changed to use new props
4460         interface.
4462         * lib/properties.h: 
4463         * lib/prop_text.c: 
4464         * lib/prop_inttypes.c: 
4465         * lib/prop_geomtypes.c: Added *prop_get_data_size.
4467         * lib/libdia.def: Added object_load_props.
4469         * configure.in: Better FT2 version test, from bug #129225.
4471         * dia.spec (BuildRequires): Changed to match makefile (bug #129131)
4473         * plug-ins/xslt/dia-uml2python.xsl: Added Python sheet from Holger
4474         Lehmann <holger.lehmann@catworkx.de>.
4476         * plug-ins/xslt/Makefile.am: 
4477         * plug-ins/xslt/stylesheets.xml: Added Python, Component List,
4478         and OWL XSLT sheets.
4480 2003-12-13  Lars Clausen  <lrclause@cs.uiuc.edu>
4482         * lib/diagdkrenderer.c: Add implementation so text is still
4483         rendered.  May be improved later.
4485         * lib/dia_image.c: 
4486         * app/main.c: 
4487         * app/export_png.c: 
4488         * app/diagram.c: 
4489         * app/app_procs.c: Patch from W. Borgert <debacle@debian.org>:
4490         Allow running without a $DISPLAY!
4492         * lib/color.c: Remove warnings for non-interactive run.
4494         * doc/en/dia.dbk: 
4495         * app/export_png.c: 
4496         * app/diaconv.c: 
4497         * app/app_procs.[ch]: 
4498         Patch from W. Borgert <debacle@debian.org>: Allow a --size argument
4499         to specify size for PNG output.
4501         * app/lineprops_area.c (dia_arrow_preview_expose): Make arrows
4502         render a little smaller, so as to fit the big ones.
4504         * lib/arrows.[ch]: New arrow type from W. Borgert
4505         <debacle@debian.org>: Filled Dot and Triangle.
4507 2003-12-02  Lars Clausen  <lrclause@cs.uiuc.edu>
4509         * doc/pl/Makefile.am (install-data-hook): Fixed installation bug
4510         for gif images.
4512         * plug-ins/xslt/dia-uml2owl.xsl: Added OWL XSLT from Dan Connolly.
4514         * acinclude.m4: Better Python configure code patch (can't find
4515         author, author please speak up!)
4517 2003-12-01  Lars Clausen  <lrclause@cs.uiuc.edu>
4519         * lib/diagdkrenderer.c (get_cached_text): Stupid bugs replaced by
4520         smarter ones.
4522 2003-11-30  Hans Breuer  <hans@breuer.org>
4524         * plug-ins/python/diasvg.py : initialize self.dash_length
4525         in constructor to avoid crashing if the renderer user
4526         does not set it before first usage.
4528 2003-11-30  Lars Clausen  <lrclause@cs.uiuc.edu>
4530         * lib/diagdkrenderer.c: Start of cache GDK text renderer -- not
4531         active yet.
4533         * configure.in: 
4534         * config.h.win32: Set version number to 0.92.2+cvs to distinguish
4535         development and stable versions.
4537         * lib/text.c (text_draw): Use new renderer function to draw the
4538         text.
4540         * lib/diarenderer.h: 
4541         * lib/diarenderer.c: New renderer function "draw_text" with
4542         default implementation.  This function should eventually be the
4543         main interface, as it will be able to handle width and caching of
4544         rendering internally.  All users of draw_string should convert to
4545         use Text objects and call either renderer->draw_text or text_draw,
4546         the latter if the text can be edited in-place (as should be the
4547         goal, eventually).
4549 2003-11-29  Lars Clausen  <lrclause@cs.uiuc.edu>
4551         * shapes/Circuit/hresistor.shape: First example of extra
4552         attributes. 
4554 2003-11-28  Lars Clausen  <lrclause@cs.uiuc.edu>
4556         * plug-ins/shape/shape-export.c: 
4557         * lib/diasvgrenderer.h: 
4558         * lib/diasvgrenderer.c: 
4559         * plug-ins/svg/render_svg.c (new_svg_renderer): 
4560         Actually store the font size, using DiaRenderer's font fields.
4562 2003-11-27  Lars Clausen  <lrclause@cs.uiuc.edu>
4564         * objects/custom/shape_info.[ch]: 
4565         * objects/custom/custom_object.[ch]: 
4566         Support for extra attributes in custom objects.
4567         
4568 2003-11-23  Lars Clausen  <lrclause@cs.uiuc.edu>
4570         * app/diagram.c (diagram_update_menu_sensitivity): More
4571         intelligent checks for menu sensitivity.  Might be slow on huge
4572         diagrams, but I think other things outweigh it by a lot.
4574         * app/menus.[ch]: Make "Bring Forwards"
4575         and "Send Backwards" updateable.
4577 2003-11-22  Steffen Macke <sdteffen@web.de>
4579         * shapes/Assorted/arrow-turn-up.shape:
4580         * shapes/Assorted/arrow-turn-up.png:
4581         * sheets/Assorted/Makefile.am:
4582         * sheets/Assorted.sheet.in: Added new arrow
4584 2003-11-17  Lars Clausen  <lrclause@cs.uiuc.edu>
4586         * app/app_procs.c
4587         * app/color_area.c
4588         * app/commands.c
4589         * app/defaults.c
4590         * app/dia_embedd.c
4591         * app/diagram.c
4592         * app/diagram_tree.c
4593         * app/diagram_tree_menu.c
4594         * app/diagram_tree_window.c
4595         * app/diapagelayout.c
4596         * app/diaunitspinner.c
4597         * app/export_png.c
4598         * app/filedlg.c
4599         * app/interface.c
4600         * app/layer_dialog.c
4601         * app/lineprops_area.c
4602         * app/linewidth_area.c
4603         * app/menus.c
4604         * app/pagesetup.c
4605         * app/paginate_psprint.c
4606         * app/persistence.c
4607         * app/plugin-manager.c
4608         * app/preferences.c
4609         * app/properties.c
4610         * app/recent_files.c
4611         * app/sheets.c
4612         * app/sheets_dialog.c
4613         * app/sheets_dialog_callbacks.c
4614         * app/tool.c: Patch from Sebastien Tricaud <toady@gscore.org>:
4615         GTK-2 compatibility update, mostly gtk_foo -> g_foo.
4617         * TODO: Updated, note on EPS transparency.
4619 2003-11-07  Lars Clausen  <lrclause@cs.uiuc.edu>
4621         * objects/UML/class.c (umlclass_draw): Allow classes with no name
4622         without crashing.
4624 2003-11-01  Lars Clausen  <lrclause@cs.uiuc.edu>
4626         * config.h.win32: 
4627         * doc/en/dia-manual.xml: 
4628         * dia.spec: 
4629         * configure.in: 
4630         * NEWS: Another Brown Bag release for parenting problems,
4631         including a crash bug fix.
4633         * app/connectionpoint_ops.c (diagram_update_connections_object):
4634         Also update connections when moving children.  This can cause
4635         move_handle to be called twice, so it must be idempotent.
4637         * app/load_save.c: Loading and saving of children totally redone.
4638         Now doesn't violate assumption that all objects in a layer are
4639         placed in order in XML file.
4641         * objects/UML/branch.c (branch_create): Don't lie about being
4642         resizable. 
4644         * objects/UML/node.c (node_create): 
4645         * objects/UML/large_package.c (largepackage_create): Drag with
4646         lower right-hand handle at creation like all other objects.
4648 2003-10-28  Lars Clausen  <lrclause@cs.uiuc.edu>
4650         * app/disp_callbacks.c (ddisplay_drop_object): Change initial
4651         parenting drop to behave like a move inside, i.e. constrain place
4652         instead of trying to resize.  'Cause, resizing cannot be done for
4653         all objects (e.g. UML Class). Also simplified the algorithm a lot
4654         at the same time.
4656         * app/load_save.c: Saving and loading of connection points for
4657         children added.  Prototypes for static functions added.
4659         * lib/dynamic_obj.c: Removed debugging output.
4661 2003-10-26  Lars Clausen  <lrclause@cs.uiuc.edu>
4663         * doc/en/dia-manual.xml: 
4664         * doc/pl/dia-manual.sgml: 
4665         * dia.spec: 
4666         * config.h.win32: 
4667         * configure.in: 
4668         * NEWS: Brown Bag release 0.92.1
4670         * lib/dynamic_obj.c: Fixed embarassing dynamic object removal bug.
4672 2003-10-25  Lars Clausen  <lrclause@cs.uiuc.edu>
4674         * app/app_procs.c (app_init): Rearrangement for translators.
4676 2003-10-24  Steffen Macke <sdteffen@web.de>
4678         * lib/text.c(text_key_event): enforcing the inserted text length now,
4679         fix for bug #125348
4681 2003-10-22  Lars Clausen  <lrclause@cs.uiuc.edu>
4683         * MAINTAINERS: Change Debian maintainer to be the default address.
4685         * objects/Misc/analog_clock.c (analog_clock_move_handle): Reorder
4686         args to match prototype, thus removing crashbug #125159.
4688         * RELEASE-PROCESS: Note to self.
4690 2003-10-22  Steffen Macke <sdteffen@web.de>
4692         * doc/en/dia-manual.xml: removed superfluous external references
4693         
4694 2003-10-21  Steffen Macke <sdteffen@web.de>
4696         * lib/libdia.def: added filter_get_by_name
4697         * app/render_eps.c: moved extensions definition outside #ifdef
4699 2003-10-19  Lars Clausen  <lrclause@cs.uiuc.edu>
4701         * Makefile.am: 
4702         * dia.1:
4703         Removed old Dia manual, put new one in doc/en/.  Translations
4704         should go in doc/??/.
4706         * doc/en/dia-manual.xml: 
4707         * doc/pl/dia-manual.sgml: 
4708         * dia.spec (Release): 
4709         * config.h.win32: 
4710         * configure.in: 
4711         * NEWS: 0.92 is here!
4713         * doc/en/dia.dbk: 
4714         * doc/en/dia.1: 
4715         * doc/en/Makefile.am (man_MANS): Added man page, thanks to Fredrik
4716         HallenBerg, W. Borgert.  Not currently autogenerated from dia.dbk,
4717         but it shall be.
4719         * doc/en/usage-objects.xml: Fixed lower-case PNG tags.
4721         * doc/en/usage-objects-selecting.xml: Commented out empty note.
4723 2003-10-14  Lars Clausen  <lrclause@cs.uiuc.edu>
4725         * doc/pl/dia-manual.sgml: 
4726         * doc/en/dia-manual.xml: 
4727         * config.h.win32: 
4728         * NEWS: 
4729         * configure.in: 
4730         * dia.spec (Release): Pre7.
4732         * app/diapsrenderer.c (draw_string): Convert string to print based
4733         on current locale.  If conversion fails, fall back to UTF-8 (which
4734         is almost certain to be messy).
4736 2003-10-13  Lars Clausen  <lrclause@cs.uiuc.edu>
4738         * doc/pl/dia-manual.sgml: 
4739         * dia.spec (Release): 
4740         * configure.in: 
4741         * NEWS: 
4742         * config.h.win32: 
4743         * doc/en/dia-manual.xml: Pre6.
4745         * plug-ins/pstricks/render_pstricks.c (draw_string): Don't escape
4746         TeX chars in strings -- must be possible to use TeX text in there.
4747         Also avoids infinite loop bug (#124464) Will get option for this
4748         later.
4750 2003-10-11  Lars Clausen  <lrclause@cs.uiuc.edu>
4752         * shapes/Cisco/Makefile.am: Cisco shapes now install correctly.
4754         * doc/en/dia-manual.xml: 
4755         * doc/pl/dia-manual.sgml: 
4756         * dia.spec (Release): 
4757         * configure.in: 
4758         * config.h.win32: 
4759         * NEWS: pre5.
4761         * app/authors.h: Removed duplicate of M. C. Nelson.
4763         * plug-ins/pixbuf/pixbuf.c: Unique name for pixbuf export: gdkpixbuf.
4765         * app/export_png.c: Unique name for libart PNG export: png-libart.
4767         * app/render_eps.c: Unique names for the two eps export methods:
4768         eps-builtin, eps-pango.
4770         * lib/filter.h: Binary compatibility change: 
4771         Added unique name to export filters.  Can be NULL.
4772         * lib/filter.c (filter_get_by_name): Finding a filter by
4773         non-extension name.
4775         * app/app_procs.h: Changed prototype for do_convert.
4776         * app/app_procs.c (app_init): Support for non-extension file
4777         format selection for export.  Also allow extension to differ from
4778         that specified by the filters.  A bit of refactoring, too.
4780 2003-09-28  Steffen Macke <sdteffen@web.de>
4782         * makefile.msc: added target po to update the translations
4784 2003-09-27  Lars Clausen  <lrclause@cs.uiuc.edu>
4786         * config.h.win32: 
4787         * dia.spec (Release): 
4788         * NEWS: 
4789         * doc/pl/dia-manual.sgml: 
4790         * doc/en/dia-manual.xml: 
4791         Pre4 is given a short try.
4792         
4793         * configure.in: Give all necessary libs to PNG test.
4795         * lib/font.c: Added legacy entries for sans, serif and monospace.
4797         * app/app_procs.c (internal_plugin_init): 
4798         * app/render_eps.h: 
4799         * app/render_eps.c: 
4800         Added PS fonts output for Unix.
4802         * app/diapsrenderer.c (set_font): Adjusted height by the magic .7
4803         factor to make PS fonts stay in boxes.
4804         
4805 2003-08-03  Hans Breuer  <hans@breuer.org>
4807         * config.h.win32 : close the version string
4809         * lib/libdia.def : with color_white, color_black being static
4810         on win32 they can not be exported anymore either
4812         * lib/dialibartrenderer.c : text rendering is back on win32,
4813         only by Gdk though; almost a year seems to be enough to
4814         wait for my patch at bug #94791 to be accepted ...
4816 2003-09-23  Lars Clausen  <lrclause@cs.uiuc.edu>
4818         * shapes/network/{digitizing_board.png,plotter.png,
4819         laptop.png,telephone.png}: 22x22 icons.
4821 2003-09-22  Lars Clausen  <lrclause@cs.uiuc.edu>
4823         * doc/pl/dia-manual.sgml: 
4824         * doc/en/dia-manual.xml: 
4825         * dia.spec (Release): 
4826         * configure.in: 
4827         * config.h.win32: 
4828         * NEWS: 
4829         pre3 improves font rendering speed.
4831         * app/app_procs.c (app_init): Don't do pango init here, it's done
4832         on demand in font.c now.
4834         * lib/font.c: Load pango context on demand rather than during
4835         init/all the time strikes a better balance between working font
4836         size and speed.  Still need to cache width calculations.
4838 2003-09-18  Lars Clausen  <lrclause@cs.uiuc.edu>
4840         * lib/dia_xml.c: Enable pretty printing.  Should have been added
4841         on 8/12. 
4843 2003-09-11  Lars Clausen  <lrclause@cs.uiuc.edu>
4845         * lib/arrows.c (calculate_arrow_point): Adjust arrow line
4846         adjustment a bit for half diamond and open round.
4848         * RELEASE-PROCESS: Added note about notifying translators and
4849         maintainers. 
4851         * doc/pl/dia-manual.sgml: 
4852         * doc/en/dia-manual.xml: 
4853         * dia.spec (Release): 
4854         * configure.in: 
4855         * config.h.win32: 
4856         * NEWS:
4857         Update to 0.92-pre2.
4858         
4859 2003-09-10  Lars Clausen  <lrclause@cs.uiuc.edu>
4861         * lib/arrows.c (calculate_arrow_point): Some fixing-up of arrow
4862         calculation for half diamond and open round.
4864         * lib/arrows.c: 
4865         * objects/UML/component_feature.c: 
4866         * lib/arrows.h: Patch from W. Borgert <debacle@debian.org>: Use
4867         arrows instead of specific little hacks.  Much nicer, but damn
4868         there's a lot of arrows.
4870         * lib/dialibartrenderer.c (begin_render): 
4871         * app/render_libart.c (begin_render): Use correct DPI for screen
4872         (well, actually the default DPI of 75 for now).
4874         * app/display.h: Informative notes on the DDISPLAY_*_ZOOM macros.
4876         * lib/diagdkrenderer.c (draw_string): Some reformatting.
4878         * app/app_procs.c (app_init): Note on what should be done for the
4879         pango context now, only it doesn't work:(
4881         * lib/font.c (dia_font_new): Make sure to load fonts that are
4882         used, using a reasonable pango_context.  Also a comment on the
4883         global_zoom_factor, 
4885 2003-09-09  Lars Clausen  <lrclause@cs.uiuc.edu>
4887         * doc/pl/graphics/*.png:
4888         * doc/pl/Makefile.am: Added graphics to distro, avoiding empty
4889         loop (bug #121817).  PL translator may want to change the
4890         home_network png to be in Polish.  If the docs get translated into
4891         more languages, we'll want to find out how to share these things.
4893 2003-09-08  Lars Clausen  <lrclause@cs.uiuc.edu>
4895         * app/splash.c (app_splash_init): Patch from Sébastien Tricaud
4896         <stricaud@mwsp.net>: Use g_signal_* instead of gtk_signal_* in
4897         splash.
4899         * app/filedlg.c (file_save_as_callback): Put filename setting
4900         together.  (Preparation for allowing default save dir.)
4902         * app/paginate_psprint.c (diagram_print_ps): Use $PRINTER
4903         correctly this time:)
4905         * app/dia-props.c (diagram_properties_show): 
4906         * app/properties.c (properties_show): Make sure the
4907         dialogs are transient for the correct diagram.
4909 2003-09-07  Lars Clausen  <lrclause@cs.uiuc.edu>
4911         * configure.in: Make sure -lz -lm is passed into second png test
4912         as well (stupid AC_LINK_IFELSE can't take it as an argument).
4914         * plug-ins/xfig/xfig-import.c: Skip XFig comments to make certain
4915         comment-filled files readable.  Once we have a 'generic data'
4916         system, we can put comments in there.
4918 2003-09-06  Steffen Macke <sdteffen@web.de>
4920         * plug-ins/pstricks/render_pstricks.c(tex_escape_string): using
4921         g_string_sized_new() instead of g_string_new() to make it compile
4922         * app/Makefile.am: including dia.ico and dia.rc in the tarball
4923         * plug-ins/wmf/wmf.cpp (set_linestyle): In WMF maximum linewidth is 1 
4924         for non-solid linestyles - otherwise custom linestyles have to be used.
4926 2003-09-02  Steffen Macke <sdteffen@web.de>
4928         * app/commands.c(help_manual_callback): using dia-manual.chm instead of 
4929         dia.chm
4931 2003-09-02  Christian Neumair  <chris@gnome-de.org>
4933         * sheets/Pneumatic.sheet.in: Slight unification fix.
4935 2003-09-02  Lars Clausen  <lrclause@cs.uiuc.edu>
4937         * config.h.win32: 
4938         * configure.in: 
4939         * dia.spec (Release): 
4940         * doc/en/dia-manual.xml: 
4941         * doc/pl/dia-manual.sgml: 
4942         * NEWS: Update to 0.92-pre1.
4944         * app/properties.c (properties_key_event): Removing Esc/Enter
4945         handling for now, interferes to much with regular dialog usage.
4947         * plug-ins/pstricks/render_pstricks.c (tex_escape_string):
4948         Function to escape special TeX characters.  Not in use yet, as
4949         PSTricks output by default is TeX strings.  Should get a save-time
4950         selector. 
4952 2008-09-01  Steffen Macke <sdteffen@web.de>
4954         * lib/paper.h: explanatory comment on width and height
4956 2003-08-30  Steffen Macke <sdteffen@web.de>
4958         * lib/color.c:
4959         * lib/color.h: made color_white, color_black static on win32
4961 2003-08-28  Lars Clausen  <lrclause@cs.uiuc.edu>
4963         * configure.in (PNG_LIBS): Something in the png tests added an
4964         extra -lpng to $LIBS.  Saving old $LIBS to avoid that.
4966 2003-08-27  Lars Clausen  <lrclause@cs.uiuc.edu>
4968         * configure.in: Quote correctly for temporarily adding freetype
4969         cflags to CPPFLAGS.
4971         * app/preferences.c (prefs_save): Remove debugging g_print.
4973 2003-08-26  Lars Clausen  <lrclause@cs.uiuc.edu>
4975         * objects/flowchart/parallelogram.c (pgram_update_data):
4976         Directions for connections, better system for placing
4977         connectionpoints. 
4979 2003-08-25  Lars Clausen  <lrclause@cs.uiuc.edu>
4981         * lib/diagramdata.c (layer_find_closest_object_except): Look all
4982         the way through the object list, so the foremost object is selected.
4984         * lib/diagramdata.h: Removing dynamic_obj.h, it should only be
4985         included for diagramdata.c.
4987         * lib/prop_text.c (multistringprop_handle_key): Attempt at making
4988         newline in multistringprop not close the dialog.  Failed so far.
4990 2003-08-25  Steffen Macke <sdteffen@web.de>
4992         * app/commands.c: using CHM instead of HTML on win32 if available
4993         * lib/diagramdata.h: including dynamic_obj.h
4995 2003-08-25  Lars Clausen  <lrclause@cs.uiuc.edu>
4997         * app/properties.c (properties_key_event): Make Enter = Ok for
4998         properties dialogs.  Still some problems with this and Esc for
4999         Cancel, for instances escaping out of a menu closes the dialog.
5001         * objects/UML/association.c (association_get_properties): 
5002         * objects/UML/class_dialog.c (class_create_page): Grab appropriate
5003         focus. 
5005         * app/diapsft2renderer.c (draw_string): Use
5006         dia_font_scaled_build_layout to ensure similarity of text.
5008         * lib/diagramdata.c: Remove obj from dynobj list when removing
5009         from layer to avoid nasty race conditions.
5011         * app/undo.c (group_objects_revert): Make sure to unparent and
5012         remove from dynobj list when changing layers objects.
5014 2003-08-23  Steffen Macke <sdteffen@web.de>
5016         * plug-ins/wmf/wmf.cpp (draw_image): replaced BitBlt() with 
5017         StretchBlt(); fixes #92249
5018         
5019 2003-08-23  Lars Clausen  <lrclause@cs.uiuc.edu>
5021         * app/filedlg.c (file_save_as_callback): 
5022         * app/preferences.h: 
5023         * app/preferences.c (prefs_data): 
5024         * lib/diagramdata.h: 
5025         * lib/diagramdata.c (new_diagram_data): 
5026         * app/load_save.c (diagram_data_load): 
5027         Let the document remember whether it was compressed.  The user can
5028         still override this in the Save As... dialog, and that will still
5029         be remembered as the default for new diagrams.
5031 2003-08-23  Steffen Macke <sdteffen@web.de>
5033         * plug-ins/xslt/Makefile.am: added dia-uml2componentlist.xsl
5035 2003-08-22  Steffen Macke <sdteffen@web.de>
5037         * plug-ins/xslt/dia-uml.xsl:
5038         * plug-ins/xslt/dia-uml2componentlist.xsl: generate a HTML file with a
5039         table containing a list of components grouped by stereotype
5041 2003-08-21  Steffen Macke <sdteffen@web.de>
5043         * lib/makefile.msc: added connectionpoint.obj
5044         * lib/libdia.def: added connpoint_update, find_slope_directions
5045         * app/disp_callbacks.c: including scroll_tool.h
5046         * obj/makefile.msc: added component_feature.obj
5047         * app/paginate_gdiprint.c: fixed loop initialization in 
5048         paginate_gdiprint(); partial fix for bug #85831 - the scaling is still
5049         wrong
5051 2003-08-21  Lars Clausen  <lrclause@cs.uiuc.edu>
5053         * plug-ins/python/pydia-object.c (PyDiaObject_MoveHandle): Fix
5054         move_handle call.
5056         * lib/diagramdata.h: Colors added to prefs.
5057         * lib/diagramdata.c (new_diagram_data): Set diagram colors from prefs.
5058         New field for pagebreak color, which should
5059         behave the same as grid color and be settable for a diagram.
5061         * app/diagram.c (diagram_init): Update diagram pagebreak color
5062         from prefs. 
5064         * app/grid.c (pagebreak_draw): Draw using diagrams pagebreak
5065         colors. 
5067         * app/preferences.[ch]: Default diagram colors now #defines, so
5068         loading can use it.  Also, colors are now in NewDiagramData, so
5069         are passed nicely into new diagrams directly from prefs.  Yum.
5071         * app/load_save.c (diagram_data_write_doc, diagram_data_load): 
5072         Support for loading and saving grid and pagebreak colors with the
5073         diagram.  I'm inclined to make all the three Colors in diagram
5074         Color*s instead, so we can tell if they're specified for the
5075         diagram or merely the default setting.  There'd be no way for the
5076         user to tell if the color of a diagram is default, though, unless
5077         we add a 'reset to default' button to prefs.
5079         * app/dia-props.c: Adding widgets for dynamic grid, grid colour,
5080         pagebreak color.  Unsensitizing grid size when dynamic.
5082         * objects/UML/component.c: Patch from Krzysztof Foltman
5083         <kfoltman@onet.pl>: Add two new connectionpoints and adjust a
5084         third.  Makes the left side connections actually be on the line
5085         (gasp!). 
5087 2003-08-20  Steffen Macke <sdteffen@web.de>
5089         * lib/libdia.def: added layer_find_closest_object_except
5090         * lib/diagramdata.c: added ; after GOTO to make MSVC compile 
5092 2003-08-20  Lars Clausen  <lrclause@cs.uiuc.edu>
5094         * app/tool.h: 
5095         * app/tool.c: 
5096         * app/scroll_tool.c: 
5097         * app/interface.c: 
5098         * app/disp_callbacks.c: 
5099         * app/create_object.h: 
5100         * app/create_object.c: Patch from Krzysztof Foltman
5101         <kfoltman@onet.pl>: Middle button can scroll transiently when
5102         menu-bar-mode is on, and mouse wheels (hopefully) can scroll in
5103         various ways.
5105         * app/authors.h: 
5106         * sheets/UML.sheet.in: 
5107         * sheets/UML/receptacle.xpm: 
5108         * sheets/UML/Makefile.am: 
5109         * sheets/UML/eventsource.xpm: 
5110         * sheets/UML/eventsink.xpm: 
5111         * objects/UML/pixmaps/facet.xpm: 
5112         * objects/UML/uml.c (dia_plugin_init): 
5113         * objects/UML/Makefile.am (libuml_objects_la_SOURCES): 
5114         * objects/UML/component_feature.c: 
5115         Patch from W. Borgert <debacle@debian.org>:  Add event sources and
5116         event sinks.
5117         
5118 2003-08-19  Lars Clausen  <lrclause@cs.uiuc.edu>
5120         * lib/object.h: Turning some comments into doxygen style.
5122         * lib/object_defaults.c (dia_object_defaults_load)
5123         (dia_object_default_get, dia_object_default_create): 
5124         Fixing up existing documentation.
5126         * lib/object.h: Doxygen style documentation begun.
5128         * app/create_object.c: 
5129         * app/undo.c: 
5130         * app/connectionpoint_ops.c: 
5131         * app/disp_callbacks.c: 
5132         * app/modify_tool.c: 
5134         * objects/network/wanlink.c (wanlink_move_handle): 
5135         * objects/network/bus.c (bus_move_handle): 
5137         * objects/flowchart/parallelogram.c (pgram_move_handle): 
5138         * objects/flowchart/ellipse.c (ellipse_move_handle): 
5139         * objects/flowchart/diamond.c (diamond_move_handle): 
5140         * objects/flowchart/box.c (box_move_handle): 
5142         * objects/custom/custom_object.c (custom_move_handle): 
5144         * objects/chronogram/chronoref.c (chronoref_move_handle): 
5145         * objects/chronogram/chronoline.c (chronoline_move_handle): 
5147         * objects/SADT/box.c (sadtbox_move_handle): 
5148         * objects/SADT/arrow.c (sadtarrow_move_handle): 
5149         * objects/SADT/annotation.c (annotation_move_handle): 
5151         * objects/Misc/analog_clock.c (analog_clock_move_handle): 
5153         * objects/GRAFCET/vergent.c (vergent_move_handle): 
5154         * objects/GRAFCET/vector.c (arc_move_handle): 
5155         * objects/GRAFCET/transition.c (transition_move_handle): 
5156         * objects/GRAFCET/step.c (step_move_handle): 
5157         * objects/GRAFCET/condition.c (condition_move_handle): 
5158         * objects/GRAFCET/action.c (action_move_handle): 
5160         * objects/FS/function.c: 
5161         * objects/FS/flow.c: 
5162         * objects/FS/flow-ortho.c (orthflow_move_handle): 
5163         * objects/FS/flow-poly.c (flow_move_handle): 
5165         * objects/UML/usecase.c (usecase_move_handle): 
5166         * objects/UML/state_term.c (state_move_handle): 
5167         * objects/UML/state.c (state_move_handle): 
5168         * objects/UML/small_package.c (smallpackage_move_handle): 
5169         * objects/UML/realizes.c (realizes_move_handle): 
5170         * objects/UML/object.c (objet_move_handle): 
5171         * objects/UML/note.c (note_move_handle): 
5172         * objects/UML/node.c (node_move_handle): 
5173         * objects/UML/message.c (message_move_handle): 
5174         * objects/UML/lifeline.c (lifeline_move_handle): 
5175         * objects/UML/large_package.c (largepackage_move_handle): 
5176         * objects/UML/implements.c (implements_move_handle): 
5177         * objects/UML/generalization.c (generalization_move_handle): 
5178         * objects/UML/fork.c (fork_move_handle): 
5179         * objects/UML/dependency.c (dependency_move_handle): 
5180         * objects/UML/constraint.c (constraint_move_handle): 
5181         * objects/UML/compprop.c (compprop_move_handle): 
5182         * objects/UML/component.c (component_move_handle): 
5183         * objects/UML/branch.c (branch_move_handle): 
5184         * objects/UML/association.c (association_move_handle): 
5185         * objects/UML/actor.c (actor_move_handle): 
5186         * objects/UML/activity.c (state_move_handle): 
5187         * objects/UML/class.c (umlclass_move_handle): 
5189         * objects/standard/ellipse.c (ellipse_move_handle): 
5190         * objects/standard/zigzagline.c (zigzagline_move_handle): 
5191         * objects/standard/textobj.c (textobj_move_handle): 
5192         * objects/standard/polyline.c (polyline_move_handle): 
5193         * objects/standard/polygon.c (polygon_move_handle): 
5194         * objects/standard/line.c (line_move_handle): 
5195         * objects/standard/image.c (image_move_handle): 
5196         * objects/standard/bezier.c (bezierline_move_handle): 
5197         * objects/standard/arc.c (arc_move_handle): 
5198         * objects/standard/beziergon.c (beziergon_move_handle): 
5199         * objects/standard/box.c (box_move_handle): 
5200         
5201         * objects/ER/relationship.c (relationship_move_handle): 
5202         * objects/ER/participation.c (participation_move_handle): 
5203         * objects/ER/entity.c (entity_move_handle): 
5204         * objects/ER/attribute.c (attribute_move_handle): 
5205         
5206         * lib/polyshape.c (polyshape_move_handle): 
5207         * lib/polyshape.h: 
5208         * lib/orth_conn.c (orthconn_move_handle): 
5209         * lib/orth_conn.h: 
5210         * lib/neworth_conn.c (neworthconn_move_handle): 
5211         * lib/neworth_conn.h: 
5212         * lib/element.c (element_move_handle): 
5213         * lib/element.h: 
5214         * lib/connection.c (connection_move_handle): 
5215         * lib/connection.h: 
5216         * lib/beziershape.c (beziershape_move_handle): 
5217         * lib/beziershape.h: 
5218         * lib/bezier_conn.c (bezierconn_move_handle): 
5219         * lib/bezier_conn.h: 
5220         *BINARY COMPATIBILITY CHANGE*
5221         Update prototype for *_move_handle() to include connectionpoint,
5222         and also pass on modifiers.  Pass in connectionpoint where
5223         applicable. 
5224         
5225         * lib/dummy_dep.h (dummy_dep): Adding dummy dependencies for new
5226         file connectionpoint.c.
5228 2003-08-17  Danilo Šegan  <dsegan@gmx.net>
5230         * configure.in: Added "sr" and "sr@Latn" to ALL_LINGUAS.
5232 2003-08-15  Lars Clausen  <lrclause@cs.uiuc.edu>
5234         * lib/object.c (object_copy): Use g_malloc0 instead of g_malloc.
5236         * lib/beziershape.c (beziershape_update_data): Autoroute
5237         directions for beziershapes!
5239         * lib/connectionpoint.c (find_slope_directions): 
5240         * lib/connectionpoint.h: Function for finding the available
5241         directions on a slope.
5243         * lib/polyshape.c: Reasonable directions for
5244         connectionpoints.       
5246 2003-08-14  Lars Clausen  <lrclause@cs.uiuc.edu>
5248         * objects/Misc/analog_clock.c (analog_clock_update_arrow_tips): 
5249         * objects/GRAFCET/vergent.c (vergent_update_data): 
5250         * objects/GRAFCET/transition.c (transition_update_data): 
5251         * objects/GRAFCET/action.c (action_update_data): 
5252         * objects/GRAFCET/step.c (step_update_data): 
5253         * objects/FS/function.c (function_update_data): 
5254         * lib/connpoint_line.c (connpointline_putonaline): 
5255         * objects/ER/attribute.c (attribute_update_data): 
5256         * objects/ER/entity.c (entity_update_data): 
5257         * objects/ER/relationship.c (relationship_update_data): 
5258         * objects/chronogram/chronoline.c (chronoline_update_data): Set
5259         directions for connection points.
5261         * objects/UML/component.c (component_create): Set to allow
5262         parenting. 
5264         * app/create_object.c (create_object_button_press): 
5265         * app/diagram.[ch] (diagram_find_clicked_object_except): 
5266         * lib/diagramdata.[ch] (layer_find_closest_object_except): 
5267         Avoid parenting to objects you're connecting to (otherwise you
5268         couldn't make a connection out of a parenting object).  To do
5269         this, added functions to find the nearest object except a given
5270         list of objects.
5271         
5272         * app/render_libart.c: Rearrange libart include to avoid multiple
5273         include program (and put libart includes inside #ifdef!)
5275 2003-08-13  Lars Clausen  <lrclause@cs.uiuc.edu>
5277         * lib/dialibartrenderer.c: Don't include art_config.h if others
5278         also do, as it isn't #ifdef'd.
5280         * objects/flowchart/ellipse.c (ellipse_update_data): Add
5281         directions for connection points.
5283 2003-08-12  Lars Clausen  <lrclause@cs.uiuc.edu>
5285         * objects/flowchart/box.c (box_update_data): Add directions, use
5286         connpoint_update. 
5287         (box_load): Use g_malloc0.
5289         * lib/Makefile.am (libdia_la_SOURCES):
5290         * lib/connectionpoint.c (connpoint_update): 
5291         Function to call to update a connection point info in _update_data().
5292         
5293         * lib/connectionpoint.h: Convenience DIR_ macros.
5295         * app/preferences.c (prefs_data): Make pretty formatted XML the
5296         default.
5298         * lib/dialibartrenderer.c: 
5299         * app/render_libart.c: Make sure art_config.h is included, cause
5300         some libart headers are broken.
5302         * configure.in (HAVE_FREETYPE): Restore CPPFLAGS to old value
5303         after test.  Add freetype-config cflags to cflags variable.
5305 2003-08-11  Lars Clausen  <lrclause@cs.uiuc.edu>
5307         * app/authors.h: Credits for Krzysztof.
5309         * sheets/Flowchart.sheet.in: Updated descriptions from Krzysztof
5310         Foltman <kfoltman@onet.pl>.  It occurs to me that the name (rather
5311         than the description) is visible in the title of the properties
5312         dialog.  That ought to be a short description (translatable),
5313         though we still want long descriptions for the tooltips.  Hmmm...
5315         * configure.in: Updated to use AC_LINK_IFELSE instead of
5316         AC_TRY_COMPILE, also force to link to check libs on Solaris.
5318         * objects/ER/entity.c (entity_load): 
5319         * objects/ER/attribute.c (attribute_load): 
5320         * lib/attributes.c (attributes_set_default_font): 
5321         Check if font is non-null before unreffing.
5322         
5323 2003-08-08  Lars Clausen  <lrclause@cs.uiuc.edu>
5325         * app/diagram.c (diagram_ungroup_selected) 
5326         (diagram_group_selected): Use the undo apply to make sure grouping
5327         and ungrouping is done in consistent manners.  This removes a fair
5328         amount of duplicated code from diagram.c.
5330         * app/undo.c (ungroup_objects_revert, ungroup_objects_apply) 
5331         (group_objects_revert, group_objects_apply): Working undo/redo for
5332         diagram tree updates.  The initial actions still don't quite work.
5334 2003-08-07  Lars Clausen  <lrclause@cs.uiuc.edu>
5336         * app/create_object.c (create_object_button_press): 
5337         * app/undo.[ch]: 
5338         * app/diagram.c: Undo support for parenting.  Uses apply/revert in
5339         undo only for manipulating the parent/child relationships.  Things
5340         like removing an object doesn't use the undo functions for
5341         parenting, so any updates to come (like to diagramtree) should be
5342         done in those, too.
5344 2003-08-03  Hans Breuer  <hans@breuer.org>
5346         * app/create_object.c : minor formating and g_new0 for
5347         tool creation
5349         * lib/bezier_conn.[hc] lib/beziershape.[hc]
5350           lib/prop_geomtypes.c (prop_geomtypes_register)
5351           objects/standard/bezier.c objects/standard/beziergon.c :
5352         ability to set bezpoints via StdProp api
5354         * plug-ins/python/pydia-property.c : convert list of tuples
5355         to BEZPOINTARRAY
5357         *  plug-ins/python/diasvg_import.py : use it to
5358         implement part of path parsing. Also minor improvements
5359         like inheritance of group attributes to members,
5360         whitespace, title and style:text/css ignoring ;-)
5362 2003-08-02  Hans Breuer  <hans@breuer.org>
5364         * lib/connections.c (connection_move_handle): return
5365         something to make it compile
5366         * lib/object.c(190) : error C4033: 'object_list_move_delta_r' 
5367         must return a value -> dito
5368         [Is there a warnings-as-errors switch we could use with gcc 
5369          to avoid such in future ?]
5371         * plug-ins/python/pydia-object.h : define *_Check macros
5372         * plug-ins/python/diamodule.c : provide dia.group_create()
5373         * plug-ins/python/pydia-diagramdata.c : add 
5374         DiaDiagramData.add_layer()
5375         * plug-ins/python/pydia-property.c : allow to set color by
5376         tuple of doubles
5378         *  plug-ins/python/diasvg_import.py : based on the above
5379         implement a) group support, b) rgb(1,2,3) color handling,
5380         and somewhat fishy data:image/png;base64 support (create
5381         temporary files from inline image data)
5382         d) dump the import errors as text into an 'Error' layer
5384         *  plug-ins/python/diasvg.py : add xmlns:xlink, removed a
5385         stray " in draw_rect and corrected error message formating 
5387         * plug-ins/pydia/pydia-geometry.c : removed ## to make it
5388         compile with gcc 3.3, fixes bug #117204. Thanks to Daniel 
5389         Jacobowitz.
5390         
5391 2003-08-01  Hubert Figuiere  <hfiguiere@teaser.fr>
5393         * app/magnify.c (create_magnify_tool): allocate with g_new0()
5395         * app/preferences.c (prefs_create_dialog): use checkboxes for boolean 
5396         preferences values (see bug 118570). Also group items into a GtkFrame.
5398 2003-07-31  Lars Clausen  <lrclause@cs.uiuc.edu>
5400         * app/menus.c:
5401         * app/menus.h:
5402         * app/commands.h: 
5403         * app/commands.c (objects_unparent_children_callback): 
5404         * app/diagram.h: 
5405         * app/diagram.c (diagram_unparent_selected,
5406         (diagram_update_menu_sensitivity): 
5407         Added unparenting of single children.
5409         * lib/bezier_conn.c:
5410         * lib/bezier_conn.h:
5411         * lib/beziershape.c:
5412         * lib/beziershape.h:
5413         * lib/connection.c:
5414         * lib/connection.h:
5415         * lib/element.c:
5416         * lib/element.h:
5417         * lib/group.c:
5418         * lib/neworth_conn.c:
5419         * lib/neworth_conn.h:
5420         * lib/object.h:
5421         * lib/orth_conn.h:
5422         * lib/poly_conn.c:
5423         * lib/poly_conn.h:
5424         * lib/polyshape.c:
5425         * lib/polyshape.h:
5426         * objects/EML/instantiation.c:
5427         * objects/EML/interaction-ortho.c:
5428         * objects/EML/interaction.c:
5429         * objects/EML/process.c:
5430         * objects/ER/attribute.c:
5431         * objects/ER/entity.c:
5432         * objects/ER/participation.c:
5433         * objects/ER/relationship.c:
5434         * objects/FS/flow-ortho.c:
5435         * objects/FS/flow-poly.c:
5436         * objects/FS/flow.c:
5437         * objects/FS/function.c:
5438         * objects/GRAFCET/action.c:
5439         * objects/GRAFCET/condition.c:
5440         * objects/GRAFCET/step.c:
5441         * objects/GRAFCET/transition.c:
5442         * objects/GRAFCET/vector.c:
5443         * objects/GRAFCET/vergent.c:
5444         * objects/Misc/analog_clock.c:
5445         * objects/SADT/annotation.c:
5446         * objects/SADT/arrow.c:
5447         * objects/SADT/box.c:
5448         * objects/UML/activity.c:
5449         * objects/UML/actor.c:
5450         * objects/UML/association.c:
5451         * objects/UML/branch.c:
5452         * objects/UML/class.c:
5453         * objects/UML/classicon.c:
5454         * objects/UML/component.c:
5455         * objects/UML/constraint.c:
5456         * objects/UML/dependency.c:
5457         * objects/UML/fork.c:
5458         * objects/UML/generalization.c:
5459         * objects/UML/implements.c:
5460         * objects/UML/large_package.c:
5461         * objects/UML/lifeline.c:
5462         * objects/UML/message.c:
5463         * objects/UML/node.c:
5464         * objects/UML/note.c:
5465         * objects/UML/object.c:
5466         * objects/UML/realizes.c:
5467         * objects/UML/small_package.c:
5468         * objects/UML/state.c:
5469         * objects/UML/state_term.c:
5470         * objects/UML/usecase.c:
5471         * objects/chronogram/chronoline.c:
5472         * objects/chronogram/chronoref.c:
5473         * objects/custom/custom_object.c:
5474         * objects/flowchart/box.c:
5475         * objects/flowchart/diamond.c:
5476         * objects/flowchart/ellipse.c:
5477         * objects/flowchart/parallelogram.c:
5478         * objects/network/bus.c:
5479         * objects/network/wanlink.c:
5480         * objects/standard/arc.c:
5481         * objects/standard/bezier.c:
5482         * objects/standard/beziergon.c:
5483         * objects/standard/box.c:
5484         * objects/standard/ellipse.c:
5485         * objects/standard/image.c:
5486         * objects/standard/line.c:
5487         * objects/standard/polygon.c:
5488         * objects/standard/polyline.c:
5489         * objects/standard/textobj.c:
5490         * objects/standard/zigzagline.c:
5491         Binary compatibility update:  Added return value for foo_move() and
5492         foo_move_handle().  Orthconn derivatives also returns change from
5493         orthconn_move_handle().
5494         
5495         * lib/orth_conn.c: Undo support for autorouting.  Neworthconn
5496         doesn't support it yet.
5498         * lib/object.c (object_list_move_delta_r, object_list_move_delta):
5499         Add returning ObjectChange from object moves.  Needs to handle
5500         multiple object moves.
5502         * app/modify_tool.c (modify_motion, modify_release): Add
5503         ObjectChange from move & move_handle to undo stack.
5505         * objects/EML/instantiation.c (instantiation_move): Removing
5506         duplicate move & update.
5508 2003-07-30  Lars Clausen  <lrclause@cs.uiuc.edu>
5510         * plug-ins/xfig/xfig-export.c: Added support for arrow head
5511         export.  Many arrow types not supported by XFig, replacing those
5512         with standard arrows.  Not sure whether it'd be better to render
5513         them as a group of lines instead.  You'd lose the arrow-ness for
5514         further editing, but preserve the actual shape of it.  Also added
5515         support for dash length.
5517         * plug-ins/xfig/xfig-import.c: Added support for dash length settings.
5519         * plug-ins/xfig/fig-format-3.2: Added copy of Fig format
5520         description for version 3.2, for reference.
5522         * plug-ins/xfig/xfig-import.c: Added import of arrows.
5524         * app/menus.c: Removed prefs item from Gnome diagram menu.  Made
5525         Align Vertical Adjacent call _v rather than _h.
5527 2003-07-29  Hubert Figuiere  <hfiguiere@teaser.fr>
5529         * app/scroll_tool.c (create_scroll_tool): 
5530         * app/modify_tool.c (create_modify_tool): use g_new0() to
5531         initialize the tool
5533 2003-07-29  Lars Clausen  <lrclause@cs.uiuc.edu>
5535         * configure.in: Added proper settings for XSLT_LIBS and XSLT_CFLAGS.
5537 2003-07-24  Pablo Saratxaga  <pablo@mandrakesoft.com>
5539         * configure.in: Added Macedonian (mk) to ALL_LINGUAS
5541 2003-07-23  Dmitry G. Mastrukov  <dmitry@taurussoft.org>
5543         * configure.in: Added Belarusian to ALL_LINGUAS.
5545 2003-07-19  Hans Breuer  <hans@breuer.org>
5547         [
5548          Make the xslt plug-in work on win32, too. It appears
5549          to require a quite recent version of libxml and libxslt,
5550          otherwise windoze pathes aren't translated correctly
5551          during file processing
5552         ]
5554         * plug-ins/xslt/xslt.h : #include <glib.h> before 
5555         using G_OS_WIN32
5557         * plug-ins/xslt/xslt.c : plugged some memory leaks and do
5558         the 'script' file finding similar to how it is done
5559         with the python scripts (no need for hardcoded pathes,
5560         removed the 'plugin' part from the path)
5562         * plug-ins/xslt/stylesheets.xml : added again. It does
5563         not have any path but only the pure filename again
5565         * plug-ins/xslt/stylesheets.xml.in : removed
5567         * plug-ins/xslt/Makefile.am : removed 'plugin' and the
5568         rule to process stylesheets.xml.in
5570         * plug-ins/makefile.msc : added xslt
5572 2003-07-19  Hans Breuer  <hans@breuer.org>
5574         Finally Dia learned to remember the recent selected sheet
5576         * app/preferences.[hc] : added prefs.recent_sheet
5577         * app/interface.c : restore and remember the sheet-option-menu
5578         history, but only if the respective number is stiil available.
5579         This additional adds robustness against running Dia without
5580         any sheet (e.g. installation problems)
5581         * app/app_procs.c : call prefs_safe() in app_exit() to remember
5582         changes which are not done by the prefernces dialog
5584         * app/diagram_tree_menu.c app/diagram_tree_menu_callbacks.c :
5585         removed every call (especially the conditional ones) to prefs_safe().
5586         Before prefs_safe() was called _many_ times during Dia startup
5588 2003-07-18  Hans Breuer  <hans@breuer.org>
5590         * app/makefile.msc lib/makefile.msc lib/libdia.def :
5591         updated win32 build
5593         * lib/color.c : use gtk_widget_get_default_visual();
5594         as suggested in #114536
5596         * app/interface.c app/disp_callbacks.c :
5597         moved round_up () to the latter file where it is used
5599         * app/linewidth_area.c : #include "interface.h" for
5600         interface_get_toolbox_shell()
5602 2003-07-18  Hubert Figuiere  <hfiguiere@teaser.fr>
5604         * plug-ins/pixbuf/.cvsignore
5605         * shapes/Cisco/.cvsignore: 
5606         added cvsignore
5608 2003-07-17  Lars Clausen  <lrclause@cs.uiuc.edu>
5610         * app/dia-props.c (diagram_properties_retrieve): Use
5611         diagram_get_name() to add the diagram name to the diagram
5612         properties dialog.
5614         * app/diagram.h: 
5615         * app/diagram.c (diagram_get_name): New function to get a
5616         reasonable diagram name.
5618         * lib/diagramdata.h: Added major_lines, dynamic and colour to grid
5619         info.  Still need to be able to set dynamic grid.  Also ought to
5620         follow Gnome style and have instant apply.
5622         * app/preferences.h: 
5623         * app/preferences.c (prefs_data): Remove option to use stippled
5624         grid, add option for major line offset.  Default to 5 minor lines
5625         per major line.
5626         Add option for dynamically sized grid.
5628         * app/display.c (ddisplay_render_pixmap): Call pagebreak_draw as well.
5630         * app/grid.c: Pagebreak drawing separated out.  Grid drawing using
5631         stippled/solid to display minor/major grid lines.  Line drawing in
5632         separate functions away from calculating line distance.
5634         * app/grid.h: Split page break drawing out of grid_draw.
5636         * app/layer_dialog.c (layer_dialog_show): Patch from Hubert
5637         Figuiere <hfiguiere@teaser.fr>:  Layer dialog show go to front
5638         when menu item is selected.
5640 2003-07-15  Lars Clausen  <lrclause@cs.uiuc.edu>
5642         * configure.in: Removed -Winline flag to make way for important
5643         warnings. 
5645         * samples/UML-demo.dia: Adjusted for 0.91 font size, saved as
5646         non-compressed.  Should fix bug #117381, also look prettier.
5647         
5648         * Makefile.am: 
5649         * dia.desktop.in: Patch from Mark McLoughlin <mark@skynet.ie>:
5650         Set up desktop info more properly.
5652 2003-07-13  Lars Clausen  <lrclause@cs.uiuc.edu>
5654         * activity.c:
5655         * actor.c:
5656         * branch.c:
5657         * class.c:
5658         * classicon.c:
5659         * component.c:
5660         * large_package.c:
5661         * lifeline.c:
5662         * node.c:
5663         * note.c:
5664         * object.c:
5665         * small_package.c:
5666         * state.c:
5667         * state_term.c:
5668         * usecase.c: 
5669         Autorouting directions patch from Krzysztof Foltman
5670         <kfoltman@onet.pl>.
5672         * app/menus.c: Wrong GNOME paren fixed.  Correct callbacks for
5673         GNOME parent menu items.
5674         
5675         * app/authors.h: Added Vadim to contributors list.
5677 2003-07-12  Lars Clausen  <lrclause@cs.uiuc.edu>
5679         * app/commands.[ch]: 
5680         * app/create_object.c: 
5681         * app/disp_callbacks.[ch]: 
5682         * app/diagram.[ch]: 
5683         * app/interface.c: 
5684         * app/load_save.c: 
5685         * app/menus.[ch]:
5686         * app/modify_tool.c
5687         * app/undo.[ch]:
5688         * lib/Makefile.am:
5689         * lib/group.c: 
5690         * lib/object.[ch]: 
5691         * lib/parent.[ch]:
5692         * objects/UML/large_package.c: Patch from Vadim Berezniker
5693         <vadim@berezniker.com>: 
5694         Objects may "parent" other objects, i.e. contain them within
5695         themselves, restrain them and move them along.  Some more stuff is
5696         needed, such as selection and individual unparenting.  This adds
5697         parenting to UML - Large Package rather than Box.
5699 2003-07-11  Lars Clausen  <lrclause@cs.uiuc.edu>
5701         * app/linewidth_area.c: Patch from Krzysztof Foltman
5702         <kfoltman@onet.pl>: Make linewidth dialog conform to HIG (well,
5703         conform more, at least:).
5705         * plug-ins/metapost/render_metapost.[ch] : Applied patch from
5706         Chris Sperandio <sperandi@eng.usf.edu>:  Fixed linewidths and
5707         arcs.  Implemented images (though there is some pixelization and
5708         banding in the output).  Changed output file format to be a little
5709         more readable.  
5711         * app/app_procs.c (app_exit): Added message for double exit, which
5712         shouldn't happen any more.  Also preventing strange g_object_unref
5713         messages by having a printf after gtk_main_quit.  This is really
5714         weird.
5716         * app/interface.c (toolbox_delete): Avoid double app_exit call by
5717         removing handler for destroy when delete is called.
5719 2003-07-07  Lars Clausen  <lrclause@cs.uiuc.edu>
5721         * app/display.h: 
5722         * app/display.c (ddisplay_scroll_to_object,
5723         ddisplay_scroll_center_point):  New function for easy scrolling to
5724         object or point.
5726 2003-07-06  Lars Clausen  <lrclause@cs.uiuc.edu>
5728         * plug-ins/xslt/Makefile.am: Patch from Hubert Figuiere:  Add
5729         $(srcdir) on stylesheets.xml.
5731         * app/menus.c: Patch from Hubert Figuiere: Adds help menu to
5732         diagram menus (since they're at the top by default now).  Also
5733         move the Properties... menu item from Dialogs to Objects.  Dialogs
5734         menu should disappear at some point.
5736         * autogen.sh: Patch from Hubert Figuiere: Don't automatically call
5737         ./configure from ./autogen.sh, as configure may need to be run
5738         from a different directory.  (Also more standard this way.)
5740         * app/app_procs.c (app_init): 
5741         * app/Makefile.am (INCLUDES): Gnome standardization patch from
5742         Alex. 
5744 2003-07-03  Lars Clausen  <lrclause@cs.uiuc.edu>
5746         * objects/flowchart/parallelogram.c (pgram_update_data):
5747         Left/right alignment for parallelograms.  Doesn't use all
5748         available space, but then pgrams also ignore their shear value.
5749         This thing needs a loving hand.
5751 2003-07-01  Hans Breuer  <hans@breuer.org>
5753         * lib/properties.h : introduce PROP_FLAG_OPTIONAL
5754         * lib/proplist.c : don't complain if optional attr is missing
5755         * lib/orth_conn.h : make "orth_autoroute" optional to
5756         stop complaining with older files.
5758 2003-06-13  Guntupalli Karunakar  <karunakar@freedomink.org>
5760         * configure.in: Added "ml" for Malayalam in ALL_LINGUAS.
5762 2003-06-05  Andrew Halper  <ashalper@cox.net>
5764         * app/diagram_tree.c : add scrolling of drawing area
5765         to desired object on "Locate".  Patch modified to use new ddisplay
5766         function ddisplay_scroll_to_object().
5768 2003-06-11  Lars Clausen  <lars@raeder.dk>
5770         * lib/diagramdata.h: Added major_lines, dynamic and colour to grid
5771         info.  Before next version, the grid dialog (view dialog, really)
5772         must be redone to allow a) instant apply, b) apply to all
5773         diagrams, and c) setting colour, dynamic, major lines.
5775         * app/preferences.h: 
5776         * app/preferences.c (prefs_data): Remove option to use stippled
5777         grid, add option for major line offset.  Default to 5 minor lines
5778         per major line.
5779         Add option for dynamically sized grid.
5781         * app/display.c (ddisplay_render_pixmap): Call pagebreak_draw as well.
5783         * app/grid.c: Pagebreak drawing separated out.  Grid drawing using
5784         stippled/solid to display minor/major grid lines.  Line drawing in
5785         separate function away from calculating line distance.
5787         * app/grid.h: Split page break drawing out of grid_draw.
5789 2003-05-15  Hans Breuer  <hans@breuer.org>
5791         * plug-ins/python/diasvg.py : add xlink definition,
5792         also avoid to put spaces into attribute values. At least
5793         Sodipodi doesn't like them in width/height attributes
5795         * plug-ins/python/diasvg_import.py : add simple scaling.
5796         Some (more) handling for <svg>, <desc>, <circle>        
5798         * plug-ins/python/scascale.py : (new file) which does
5799         some experimental scaling via StdProp api
5801         * plug-ins/python/pydia-cpoint.c 
5802           plug-ins/python/pydia-handle.c : return PyDiaPoint for
5803         obj.pos not simple tuples. PyDiaPoint has a tuple interface
5804         so this may even be api compatible ...
5806 2003-05-11  Hans Breuer  <hans@breuer.org>
5808         * app/line_area.c : add window position persitence
5810         * lib/poly_conn.[hc] lib/polyshape.[hc] : allow to set 
5811         'poly_points' via StdProp api
5812         * lib/neworth_conn.h : don't rely on OrthConn and 
5813         NewOrtConn having the same struct offsets
5815         * lib/properties.h : introduce PROP_FLAG_WIDGET_ONLY
5816         to help separating 'useful' properies - in terms of
5817         the PyDia access
5819         * objects/custom/custom_object.c
5820           objects/UML/*.c
5821         add the missing prop_desc_list_calculate_quarks to
5822         all the *_describe_props()
5824         * objects/standard/beziergon.c objects/standard/bezier.c :
5825         explicit initializtion of default_user_data
5826         * objects/standard/polygon.c objects/standard/polyline.c :
5827         Same here. Also use POLY<CONN|SHAPE>_COMMON_PROPERTIES
5829         * plug-ins/python/diamodule.c : implement dia.register_import
5831         * plug-ins/python/makefile.msc : need to link with Pango
5832         for pango_color_parse()
5834         * plug-ins/python/pydia-property.c : add a bunch of type
5835         conversions to PyDiaProperty_ApllyToObject()
5837         * plug-ins/python/diasvg_import.py : (new file) which currently
5838         is mainly a stress test for PyDia but for some files already
5839         produces better results than svg-import.c
5841 2003-05-06  Lars Clausen  <lrclause@cs.uiuc.edu>
5843         * objects/UML/uml.c (uml_get_operation_string): Avoid ':' on
5844         type-less operations.
5846 003-05-03  Hasbullah Bin Pit  <sebol@ikhlas.com>
5848         * configure.in(ALL_LINGUAS): Added "ms".
5850 2003-05-01  Lars Clausen  <lrclause@cs.uiuc.edu>
5852         * plug-ins/xslt/xslt.c (xslt_ok): 
5853         * plug-ins/shape/shape-export.c (new_shape_renderer): 
5854         * plug-ins/svg/render_svg.c (new_svg_renderer): 
5855         * plug-ins/hpgl/hpgl.c (export_data): 
5856         * plug-ins/dxf/dxf-export.c (export_dxf): 
5857         * plug-ins/metapost/render_metapost.c (export_metapost): 
5858         * plug-ins/pstricks/render_pstricks.c (export_pstricks): 
5859         * plug-ins/xfig/xfig-export.c (export_fig): 
5860         * plug-ins/wpg/wpg.c (export_data): 
5861         * plug-ins/cgm/cgm.c (export_cgm): 
5862         * app/render_eps.c (export_eps): 
5863         * app/export_png.c (export_png_ok): 
5864         * app/load_save.c (diagram_data_save): Adding and standardizing
5865         output file error messages to include fopen error message.
5867 2003-05-01  Steffen Macke <sdteffen@web.de>
5869         * app/persistence.c: do not use unistd.h for MSVC build
5871 2003-04-30  Lars Clausen  <lrclause@cs.uiuc.edu>
5873         * sheets/Assorted.sheet.in
5874         * sheets/Circuit.sheet.in
5875         * sheets/Contact.sheet.in
5876         * sheets/EML.sheet.in
5877         * sheets/ER.sheet.in
5878         * sheets/Electric.sheet.in
5879         * sheets/FS.sheet.in
5880         * sheets/Flowchart.sheet.in
5881         * sheets/GRAFCET.sheet.in
5882         * sheets/Logic.sheet.in
5883         * sheets/MSE.sheet.in
5884         * sheets/Misc.sheet.in
5885         * sheets/Pneumatic.sheet.in
5886         * sheets/SADT.sheet.in
5887         * sheets/SDL.sheet.in
5888         * sheets/UML.sheet.in
5889         * sheets/chronogram.sheet.in
5890         * sheets/ciscohub.sheet.in
5891         * sheets/ciscomisc.sheet.in
5892         * sheets/cisconetwork.sheet.in
5893         * sheets/ciscorouter.sheet.in
5894         * sheets/civil.sheet.in
5895         * sheets/network.sheet.in
5896         * sheets/sybase.sheet.in:
5897         Patch from Jan-Willem Harmanny <jwharmanny@zeelandnet.nl>
5898         standardizes shape descriptions to use no articles, no 'create
5899         ...'.
5900         
5901         * app/interface.c (tool_data): Standard objects follow same
5902         standard as sheets.
5904 2003-04-29  Lars Clausen  <lrclause@cs.uiuc.edu>
5906         * app/color_area.c (color_area_edit): More informative title on
5907         color selection dialog.
5909         * app/disp_callbacks.c (ddisplay_drop_object): Update menu
5910         sensitivity when dropping object in.  Also reset tool to pointer.
5912         * objects/flowchart/diamond.c (diamond_update_data): 
5913         * objects/flowchart/parallelogram.c (pgram_update_data): Added
5914         left and right alignment options.
5916 2003-04-28  Lars Clausen  <lrclause@cs.uiuc.edu>
5918         * objects/flowchart/box.c: Added left and right alignment options.
5920 2003-04-26  Lars Clausen  <lrclause@cs.uiuc.edu>
5922         * app/persistence.c (persistence_load): Test existence of
5923         persistence file before trying to open it.
5925 2003-04-25  Lars Clausen  <lrclause@cs.uiuc.edu>
5927         * app/properties.c: Escape now closes properties dialogs.
5929 2003-04-25  Hans Breuer  <hans@breuer.org>
5931         * app/config.h.win32 : bump version to 0.91+cvs
5933         * app/makefile.msc lib/makefile.msc lib/libdia.def : updated
5935         * lib/dia_dirs.c : G_OS_WIN32: #define mkdir(s,a) _mkdir(s)
5937         * app/commands.c : don't leak "netscape" if getenv("BROWSER")
5938         returns NULL
5940         * app/presistence.c : need to #include "dia_xml_libxml.h"
5941         for xmlDiaParseFile
5943         * app/layer_dialog.c : make delayed creation work by protecting
5944         all non static layer_dialog_*() with :
5945            if (layer_dialog == NULL || layer_dialog->dialog == NULL)
5946              create_layer_dialog();
5947         * app/app_procs.c : removed /* create_layer_dialog(); */
5949         * objects/uml/association.c : give it a minimal StdProp
5950         implementation to fix bug #108896
5951         * lib/object_defaults.c : don't try to copy props if there
5952         is no obj->ops->describe_props
5954 2003-04-24  Lars Clausen  <lrclause@cs.uiuc.edu>
5956         * objects/standard/image.c (image_create): 
5957         * objects/standard/ellipse.c (ellipse_create): 
5958         * objects/standard/box.c (box_create): 
5959         * objects/flowchart/ellipse.c (ellipse_create): 
5960         * objects/flowchart/diamond.c (diamond_create): 
5961         * objects/flowchart/box.c (box_create): 
5962         * objects/custom/custom_object.c (custom_create): 
5963         * objects/ER/relationship.c (relationship_create): 
5964         * objects/ER/entity.c (entity_create): 
5965         * objects/ER/attribute.c (attribute_create): Initialize
5966         elem->height to DEFAULT_HEIGHT instead of DEFAULT_WIDTH.
5968         * lib/dia_svg.c (dia_svg_parse_style): Added case to set center
5969         alignment. 
5971         * configure.in: 
5972         * plug-ins/Makefile.am: 
5973         * plug-ins/xslt/Makefile.am: 
5974         * plug-ins/xslt/xslt.c (dia_plugin_init): 
5975         Patch from Götz Waschk <waschk@informatik.uni-rostock.de> uses
5976         automake-style if to only include xslt dir when needed.  Works
5977         with automake 1.4 and up, at least.
5979 2003-04-22  Lars Clausen  <lrclause@cs.uiuc.edu>
5981         * lib/diasvgrenderer.c (draw_string): 
5982         * lib/dia_svg.c (dia_svg_parse_style): Use
5983         text-anchor:(start|middle|end).
5985         * lib/diasvgrenderer.c (draw_polygon, fill_polygon): Use svg
5986         polygon rather than polyline & avoid missing line pieces.
5987         (get_draw_style): Set fill-opacity to 0 on draw_style to avoid
5988         black-filled things.
5990 2003-04-21  Lars Clausen  <lrclause@cs.uiuc.edu>
5992         * app/persistence.c (persistence_load): Check that persistence
5993         file exists before trying to read it.
5994         (persistence_update_window): Removed printf.
5996         * objects/GRAFCET/step.c: Don't copy defaults for name and id.
5998         * lib/autoroute.c: Take badness into the layouters again, as some
5999         of them know they can do things that are pretty but would be
6000         counted as ugly by the default calculation.
6002         * objects/UML/large_package.c: Shrink package name box when no
6003         stereotype is present.
6005         * lib/orth_conn.h (ORTHCONN_COMMON_MENUS): 
6006         * lib/orth_conn.c: Added object menu item for autorouting.
6008         * objects/FS/flow-ortho.c (orthflow_get_object_menu): 
6009         Autorouting, plus set initial dragging handle to be the end, not
6010         the middle.
6011         (orthflow_draw): Flipped arrow place to be at the end, as
6012         originally intended (got lost in arrow update).
6014         * objects/standard/zigzagline.c (zigzagline_get_object_menu): 
6015         * objects/UML/dependency.c (dependency_get_object_menu): 
6016         * objects/UML/association.c (association_get_object_menu): 
6017         * objects/UML/realizes.c (realizes_get_object_menu): 
6018         * objects/SADT/arrow.c (sadtarrow_get_object_menu): 
6019         * objects/GRAFCET/vector.c (arc_get_object_menu): 
6020         * objects/ER/participation.c (participation_get_object_menu): 
6021         * objects/EML/instantiation.c (instantiation_get_object_menu): 
6022         * objects/UML/generalization.c (generalization_get_object_menu): 
6023         * objects/EML/interaction-ortho.c (interaction_ortho_get_object_menu): 
6024         Autorouting setup (currently disabled for SADT/arrow).
6025         
6026 2003-04-19  Lars Clausen  <lrclause@cs.uiuc.edu>
6028         * lib/autoroute.c: Removed printfs.
6030         * lib/orth_conn.c: 
6031         * lib/autoroute.[ch] (autoroute_layout_orthconn): Handle
6032         non-connected orthconns too.
6034 2003-04-18  Lars Clausen  <lrclause@cs.uiuc.edu>
6036         * lib/orth_conn.h: 
6037         * lib/orth_conn.c: Function to set autorouting on/off, use
6038         autorouting in move_handle (turns off when a middle handle is
6039         moved), added to standard orthconn props. 
6041         * app/disp_callbacks.c (create_object_menu, popup_object_menu):
6042         Stopped signal emission for check menu items being set to on/off.
6044         * objects/standard/zigzagline.c: Added autorouting object menu item.
6046         * lib/autoroute.c: Added last cases of autoroute layout, fixed
6047         floating point comparison bug, cleaned up layouters, tweaked
6048         badness to allow kinks. 
6050 2003-04-17  Lars Clausen  <lrclause@cs.uiuc.edu>
6052         * lib/connectionpoint.h: Changed DIR_* macros to go around the
6053         clock. 
6055         * lib/orth_conn.[ch] (orthconn_set_points): New function to set all
6056         points at once.
6057         * objects/standard/zigzagline.c (zigzagline_move_handle): Removed
6058         old cruft, added call to autoroute (currently cannot be turned
6059         off).  Need to check what undo thinks about this.
6060         * lib/autoroute.[ch]: Fairly working simple layout.
6062         * lib/Makefile.am (libdia_la_SOURCES): Added autoroute files.
6063         * lib/autoroute.[ch]: Start of proper autorouting functionality.
6065 2003-04-10  Lars Clausen  <lrclause@cs.uiuc.edu>
6067         * lib/prop_widgets.c: Show labels on ListProp.
6069 2003-04-11  Steffen Macke <sdteffen@web.de>
6071         * doc/en/dia-manual.xml: removed reference of non-existing authors 
6072         note.
6073         * doc/en/usage-objects-selecting: commented out misleading section
6074         references.
6076 2003-04-10  Lars Clausen  <lrclause@cs.uiuc.edu>
6078         * app/app_procs.c (app_init): Layer window now opened at startup
6079         only if needed.
6081         * lib/prop_widgets.c: Show labels on ListProp.
6083 2003-04-09  Steffen Macke <sdteffen@web.de>
6085         * doc/en/*.sgml: removed files
6086         * doc/en/*.xml: added files
6087         * doc/en/Makefile.am: switched to XML DocBook
6089 2003-04-09  Lars Clausen  <lrclause@cs.uiuc.edu>
6091         * plug-ins/xslt/xslt.c (dia_plugin_init): 
6092         * configure.in: Added --with-xslt-prefix to allow other XSLT
6093         placements than /usr/lib.
6095 2003-04-09  Steffen Macke <sdteffen@web.de>
6097         * lib/makefile.mingw: updated to include latest files, including 
6098         and linking libintl
6099         * lib/geometry.h: don't define isinf and finite for mingw gcc build
6101 2003-04-08  Lars Clausen  <lrclause@cs.uiuc.edu>
6103         * app/persistence.h:
6104         * app/persistence.c (persistence_register_window_create): 
6105         * app/app_procs.c (app_init): 
6106         Register window function that doesn't create the window unless it
6107         should be open.  Other windows should move to this, so startup
6108         speed can be reduced.
6109         
6110         * app/persistence.h: Removed call prototype for update_window, now
6111         done internally.
6112         * app/persistence.c (persistence_register_window): A number of
6113         fixes.  Doesn't forget position when window is closed.  Now
6114         actually loads prefs.
6116         * app/layer_dialog.c (create_layer_dialog): Removed extraneous
6117         event connect.
6119         * app/preferences.c (prefs_data): 
6120         * app/diagram_tree_window.h: 
6121         * app/diagram_tree_window.c: Added persistence registering.
6122         Removed prefs items storing size and openness. 
6124         * app/sheets_dialog.c (create_sheets_main_dialog): Added
6125         persistence registering.  
6127         * app/Makefile.am (dia_core_files): Added persistence files.
6129         * lib/dia_dirs.h: 
6130         * lib/dia_dirs.c (dia_config_ensure_dir): New function to ensure
6131         that dirs are present.
6133         * app/app_procs.c (app_init): Loads persistent values on startup.
6134         (app_exit): Saves persistent values on exit.
6136         * app/layer_dialog.c (create_layer_dialog): Registers the layer
6137         window for persistence.
6139         * app/persistence.[ch]: New files handling various kinds of
6140         persistence.
6142 2003-04-04  Lars Clausen  <lrclause@cs.uiuc.edu>
6144         * lib/arrows.c: Adjusted arrow head spacing, more systematic arrow
6145         head spacing calculations.  Added half-circle arrow from Matthieu
6146         Sozeau <mattam@netcourrier.com> 
6148 2003-04-03  Lars Clausen  <lrclause@cs.uiuc.edu>
6150         * app/app_procs.c (app_init): Moved layer dialog init to allow
6151         tooltips to be initialized.
6153         * app/interface.c (create_display_shell): More tooltips.
6155         * app/linewidth_area.c (linewidth_area_create) 
6156         (linewidth_area_events): 
6157         * app/color_area.c (color_area_events, color_area_create): 
6158         Made tooltips work by embedding drawing_area in event_box.
6160         * app/interface.c (create_display_shell,
6161         (create_lineprops_area, create_color_area): Added a few tooltips.
6163 2003-04-01  Lars Clausen  <lrclause@cs.uiuc.edu>
6165         * app/pixmaps/off-grid.xpm: 
6166         * app/pixmaps/on-grid.xpm: 
6167         * app/Makefile.am (EXTRA_DIST): Added snap to grid icons.
6169         * app/display.h: 
6170         * app/commands.c (view_snap_to_grid_callback): 
6171         * app/display.c (ddisplay_set_snap_to_grid) 
6172         (update_snap_grid_status): 
6173         * app/interface.c (create_display_shell, grid_toggle_snap): 
6174         Added snap-to-grid status button.
6176 2003-03-31  Lars Clausen  <lrclause@cs.uiuc.edu>
6178         * app/app_procs.c (app_init): Create a new diagram if a file on
6179         the command line isn't found.
6181 2003-03-17  Lars Clausen  <lrclause@cs.uiuc.edu>
6183         * lib/dialibartrenderer.c (draw_string): Correct color handling
6184         for AA.
6186 2003-03-14  Lars Clausen  <lrclause@cs.uiuc.edu>
6188         * NEWS: 
6189         * doc/en/dia-manual.sgml: 
6190         * doc/pl/dia-manual.sgml: 
6191         * configure.in: 
6192         * dia.spec (Release): 
6193         Version 0.91 is here!
6195 2003-02-10  Steffen Macke <sdteffen@web.de>
6197         * plug-ins/wmf/wmf.cpp: patch from Ken Tsukahara 
6198         <ken.tsukahara@tmt-d.co.jp>, fixes windows printing and WMF export of
6199         non-ANSI characters, closes #107980
6201 2003-03-04  Lars Clausen  <lrclause@cs.uiuc.edu>
6203         * configure.in: 
6204         * NEWS: 
6205         * dia.spec (Release): 
6206         * doc/en/dia-manual.sgml: Upping to pre6.
6208         * configure.in: Missing comma broke HAVE_IEEEFP_H test.
6210         * app/lineprops_area.c (dia_arrow_chooser_new): Fixing bug
6211         #107511:  Make arrow selector for correct arrow type.
6213 2003-03-03  Lars Clausen  <lrclause@cs.uiuc.edu>
6215         * shapes/Circuit/Makefile.am (SHAPES): Added hjumper.png to
6216         EXTRA_DIST.
6218 2003-03-02  Lars Clausen  <lrclause@cs.uiuc.edu>
6220         * doc/en/dia-manual.sgml: 
6221         * configure.in: 
6222         * NEWS: 
6223         * dia.spec (Release): Upping to pre5.
6225         * configure.in: Add freetype-config derived libs to the
6226         AC_CHECK_LIB statement for freetype.
6228 2003-02-28  Hans Breuer  <hans@breuer.org>
6230         [fix for bug #107203]
6232         * lib/diarenderer.c : add warning 'implementation'
6233         for fill_rect to avoid crashing with a renderer
6234         which does not implement this required function.
6236         * plug-ins/dxf/dxf-export.c : provide - still empty -
6237         'implementations' for fill_rect and fill_polygon 
6238         to suppress the above warnings. Now it works like
6239         in version 0.90 
6241 2003-02-28  Steffen Macke <sdteffen@web.de>
6243         * samples/all_objects.dia: New sheet containing all dia shapes
6244         and objects; one layer per sheet
6245         
6246 2003-02-28  Lars Clausen  <lrclause@cs.uiuc.edu>
6248         * lib/prop_text.c (multistringprop_get_widget,
6249         multistringprop_reset_widget, multistringprop_set_from_widget): 
6250         Now uses GtkTextView instead of deprecated stuff, and also works:)
6252         * configure.in: Slightly more informative error message for isinf.
6254         * dia.spec (Requires): Require libxml2 rather than libxml.
6256 2003-02-28  Steffen Macke <sdteffen@web.de>
6258         * shapes/Circuit/hjumper.png:
6259         * shapes/Circuit/hjumper.shape: added missing icon for horizontal
6260         jumper shape
6261         
6262 2003-02-26  Lars Clausen  <lrclause@cs.uiuc.edu>
6264         * doc/en/dia-manual.sgml: 
6265         * configure.in: 
6266         * dia.spec (Release):
6267         * NEWS: New prerelease 0.91pre4, two important fixes.
6269 2003-02-25  Lars Clausen  <lrclause@cs.uiuc.edu>
6271         * plug-ins/xslt/Makefile.am (EXTRA_DIST): Also dist
6272         stylesheets.xml.in 
6274         * app/commands.c (help_manual_callback): More correct URL for help
6275         page (include file://, was broken on Dillo without it).
6277 2003-02-24  Lars Clausen  <lrclause@cs.uiuc.edu>
6279         * app/disp_callbacks.c: Set modifed when text is changed.
6281         * app/modify_tool.c (modify_button_release): Allow undo for moving
6282         objects.
6284 2003-02-16  Lars Clausen  <lrclause@cs.uiuc.edu>
6286         * dia.spec: 
6287         * doc/en/dia-manual.sgml: 
6288         * NEWS: 
6289         * configure.in: New prerelease with important bugfix.
6290         * shapes/network/digitizing_board.png:
6291         * shapes/network/plotter.png: Re-adding with -kb.
6292         
6293 2003-02-17  Abel Cheung  <maddog@linux.org.hk>
6295         * app/app_procs.c (app_init): Add comment for translators.
6297 2003-02-16  Lars Clausen  <lrclause@cs.uiuc.edu>
6299         * lib/filter.c (filter_register_import, filter_register_export):
6300         Don't accept filters with NULL description.
6302         * lib/plug-ins.c (dia_plugin_load): Fail if there's no description
6303         (as we assume the description is available in other places).
6305 2003-02-15  Lars Clausen  <lrclause@cs.uiuc.edu>
6306         
6307         * app/disp_callbacks.c (ddisplay_vsb_update, ddisplay_hsb_update): 
6308         * app/display.c (ddisplay_resize_canvas): Use
6309         ddisplay_add_update_all().
6310         (ddisplay_add_update_all): Free display and update lists when
6311         doing update_all, as they'll be regenerated immediately to cover
6312         all visible area.  Fixes bug #106165, crash when resizing.  This
6313         appears to be the original AA crash bug, believed long extinct.
6315 2003-02-13  Lars Clausen  <lrclause@cs.uiuc.edu>
6317         * app/commands.c (help_manual_callback): Use file: protocol for
6318         help. 
6320         * plug-ins/xslt/.cvsignore: Ignore .o files, please.
6322         * plug-ins/xslt/stylesheets: Removed old-style config file.
6323         
6324         * plug-ins/xslt/stylesheets.xml.in: New XML-based config file.
6326         * plug-ins/xslt/Makefile.am: 
6327         * plug-ins/xslt/xslt.c: Applied patch from Matthieu, improved path
6328         handling (no more DIA_PLUGIN_PATH).
6330 2003-02-11  Lars Clausen  <lrclause@cs.uiuc.edu>
6332         * plug-ins/svg/render_svg.c: 
6333         * lib/diasvgrenderer.c: Fixed numeric localized output issues.
6335 2003-02-10  Lars Clausen  <lrclause@cs.uiuc.edu>
6337         * objects/SADT/arrow.c (sadtarrow_draw): Clamp cosa, cosb to 
6338         [-1.0, 1.0].  Shouldn't be necessary, but in some cases the
6339         side of the triangle is longer than the hypotenuse.  Rounding
6340         error suspected.
6342 2003-02-09  Lars Clausen  <lrclause@cs.uiuc.edu>
6344         * NEWS: 
6345         * configure.in: 
6346         * doc/en/dia-manual.sgml: Update for pre2.
6348         * app/menus.c (display_menu_items): Fixed wrongly place separators.
6350         * objects/flowchart/box.c (box_update_data): Applied patch from
6351         Eivind Tagseth <eivind-gnome@multinet.no> to allow resize (with
6352         comment). 
6354         * app/paginate_psprint.c (print_page): Set paper name, so it
6355         convinces ps printers to use to right size.
6357 2003-02-07  Lars Clausen  <lrclause@cs.uiuc.edu>
6359         * app/properties.c (properties_show): Hide the dialog if the
6360         object is NULL (get rid of 'no properties' randomly popping up).
6362 2003-02-06  Lars Clausen  <lrclause@cs.uiuc.edu>
6364         * plug-ins/pixbuf/pixbuf.c (export_data): Adjust width and height
6365         for diagrams not starting at origo.
6367 2003-02-05  Lars Clausen  <lrclause@cs.uiuc.edu>
6369         * dia.spec (BuildRequires): Use libxml2-devel.
6371         * plug-ins/pixbuf/Makefile.am: Added to CVS.
6373         * RELEASE-PROCESS: Note on RPM version numbers.
6375         * app/interface.c (create_display_shell): Don't set as toolbar
6376         under Unix, either.  Especially not the diagram shell.  It removes
6377         it from the taskbar and makes it unresizable, always-on-top with
6378         OpenBox.  TOOLBAR != TOOLBOX.  Setting toolbox to the only
6379         appropriate thing, UTILITY, is not good either, you lose resizing
6380         and minimizing/maximizing under OpenBox.
6382         * app/menus.c (display_menu_items): Set delete item to use Delete.
6384 2003-02-04  Lars Clausen  <lrclause@cs.uiuc.edu>
6386         * dia.spec (BuildRequires, Requires): Updated for Gtk2
6387         requirements.
6389         * app/disp_callbacks.c (ddisplay_canvas_events): Only add a
6390         display flush when getting focus in, or we may get an update after
6391         the diagram has been destroyed in some cases.  Fixes bug #105221.
6393         * plug-ins/xfig/xfig-import.c: Notes on the splines used by XFig.
6395         * lib/diarenderer.c: Notes on the basis matrix for our beziers.
6397         * app/app_procs.c (app_init): Fixed missing popt context for Gnome
6398         - gnome-compiled Dia will now read files specified on the command line.
6400 2003-02-03  Lars Clausen  <lrclause@cs.uiuc.edu>
6402         * INSTALL (REQUIREMENTS): Updated requirements section.
6404         * configure.in: Better finite() check from Mårten Svantesson
6405         <f95-msv@nada.kth.se>.  Doesn't seem to generate strange dangly
6406         if's. 
6407         
6408 2003-02-03  Lars Clausen  <lrclause@cs.uiuc.edu>
6410         * plug-ins/xfig/xfig-import.c: Notes on spline conversions.
6412         * app/app_procs.c (debug_break): Added some code to avoid
6413         over-eager optimizations removing the call.  Surely there's a
6414         nicer way, but I'm not sure how.
6416         * app/diapsft2renderer.c (draw_bezier_outline): Removed paps relic
6417         that set text to black.
6419 2003-02-02  Lars Clausen  <lrclause@cs.uiuc.edu>
6421         * NEWS: Mention of Twiki as doc source for Python.
6423         * plug-ins/pixbuf/pixbuf.c: Export with pixbuf if
6424         libart/libpng is not available.  Later when we have a way of
6425         letting the user pick options in the file select dialog we shall
6426         allow the choice when applicable.
6428 2003-02-02  Steffen Macke <sdteffen@web.de>
6430         * doc/en/usage-loadsave.sgml:
6431         * doc/en/usage-objects.sgml: patch from
6432         James K. Lowden <jklowden@schemamania.org> to fix
6433         some docbook errors
6434         
6435 2003-02-01  Lars Clausen  <lrclause@cs.uiuc.edu>
6437         * plug-ins/Makefile.am (SUBDIRS): 
6438         * plug-ins/pixbuf/pixbuf.c: 
6439         * plug-ins/pixbuf/Makefile.am: 
6440         * configure.in: 
6441         Added pixbuf plugin to Makefile.am, but for import only.  PNG
6442         export handled by libart, which is better. JPG export is
6443         discouraged.  BMP is not much used on Unix.  Next release will
6444         integrate libart to allow all outputs.
6446 2003-02-01  Hans Breuer  <hans@breuer.org>
6448         * app/preferences.c :
6449         * app/pagesetup.c :
6450         the last two dialogs with 'old' button order finally
6451         are converted to gtk2, no GnomeDialog in all of Dia 
6452         anymore :-) 
6454 2003-02-01  Hans Breuer  <hans@breuer.org>
6456         * app/filedlg.c : don't try to use a button as
6457         'overwrite-file-dialog'-parent, use the FileSelDialog
6458         instead
6460         * plug-ins/pixbuf/pixbuf.c : make it work with 
6461         system-visual-depth < 24. Remove 'bmp' from output
6462         format extensions, it just was wishful thinking.
6464         * plug-ins/python/Makefile.am : added the four new python 
6465         plug-ins mentioned below to pyplugin_DATA and EXTRA_DIST
6467 2003-02-01  Hans Breuer  <hans@breuer.org>
6469         * NEWS : updated content beside dependencies
6471 2003-02-01  Hans Breuer  <hans@breuer.org>
6473         * lib/arrow.h : arrow_types needs to be declared as DIAVAR
6474         to make it useable across DLL boundaries
6475         * app/lineprops_area.c : same code to access arrow_types
6476         on all platforms
6478         * objects/UML/class.c : the non empty string is e.g.
6479         comment != NULL && comment[0] != '\0'
6480         * objects/UML/uml.c : same here, don't bother with
6481         empty operation stereotypes
6483 2003-02-01  Steffen Macke <sdteffen@web.de>
6485         * app/lineprops_area.c: latest changes do not work on
6486         windows, using old code without tooltips
6487         * makefile.msc: fixed copying of wmf.dll
6488         * plug-ins/makefile.msc: 
6489         * app/makefile.msc:
6490         * lib/makefile.msc: now linking libintl
6491         * config.h.win32: enabling native language support
6493 2003-01-31  Lars Clausen  <lrclause@cs.uiuc.edu>
6495         * plug-ins/xslt/Makefile.am (libxslt_filter_la_LDFLAGS): Removed
6496         -ldl and -lglib.  May or may not work on windows...awaiting verdict.
6498 2003-01-31  Daniel Yacob  <locales@geez.org>
6500         * configure.in: Added am (Amharic) to ALL_LINGUAS.
6502 2003-01-31  Steffen Macke <sdteffen@web.de>
6504         * objects/UML/class.c (umlclass_calculate_data): fixed crash
6505         when comments were visible, no class comment available and
6506         a attribute comment
6507          
6508 2003-01-31  Lars Clausen  <lrclause@cs.uiuc.edu>
6510         * RELEASE-PROCESS: Updated to fit new install-module syntax.
6511         * Prerelease 0.91-pre1 released on a suspecting public.  Tagging
6512         with DIA_0_91_PRE1.
6514 2003-01-30  Lars Clausen  <lrclause@cs.uiuc.edu>
6516         * config.h.win32: 
6517         * NEWS: 
6518         * configure.in:
6519         * dia.spec:
6520         Prerelease version changes, version 0.91-pre1.
6522         * app/sheets_dialog_callbacks.h: 
6523         * app/sheets_dialog_callbacks.c: 
6524         * app/sheets_dialog.c (create_sheets_main_dialog): 
6525         * app/sheets.c (sheets_dialog_create): More destroy stuff.  Trying
6526         to handle destruction of main dialog cleanly, but it's a mess.
6528         * configure.in: Downgraded ieeefp test to make it not produce
6529         illegal shell code.
6531         * lib/widgets.c (dia_arrow_selector_set_arrow): 
6532         (dia_line_style_selector_set_linestyle): Select menu dot
6533         correctly set.
6535         * lib/arrows.c (calculate_arrow_point): Fix of wrong arrow
6536         adjustment for diamondheads.
6538         * lib/plug-ins.c (dia_plugin_load): Fixed typo.
6540         * app/properties.c (create_dialog): Destroy properties dialog and
6541         box correctly.
6543         * app/sheets_dialog_callbacks.c
6544         (on_sheets_dialog_button_edit_clicked): Only create a new dialog
6545         if the old one is destroyed.
6547 2003-01-29  Lars Clausen  <lrclause@cs.uiuc.edu>
6549         * app/export_png.c (export_png_ok): Added info on resolution.
6550         Should (next release) improve export dialog to allow setting
6551         resolution instead of pixels.
6553         * app/lineprops_area.c (dia_arrow_chooser_new): Use menudesc list
6554         to generate arrowheads as well as tooltips.
6556         * lib/arrows.c: Added hollow diamond to menudesc list.
6558         * lib/arrows.[ch]: 
6559         * lib/widgets.[ch]: Moved arrow name list into arrows.[ch] to
6560         unify with rendered menu.
6562         * lib/diarenderer.c (draw_line_with_arrows)
6563         (draw_polyline_with_arrows, draw_arc_with_arrows)
6564         (draw_bezier_with_arrows): Fixed linestyle change bug (#104488)
6565         without changing renderer API.  Thanks to David Scherba for
6566         providing inspiration.
6568 2003-01-28  Lars Clausen  <lrclause@cs.uiuc.edu>
6570         * app/interface.c (create_display_shell):
6571         * app/display.h: Patching from Hubert Figuiere
6572         <hfiguiere@teaser.fr>:  Better types for menu bar widgets, and
6573         correct menu items.
6575 2003-01-26  Lars Clausen  <lrclause@cs.uiuc.edu>
6577         * app/defaults.c (defaults_show): Fixed defaults closing bug.
6578         Thanks to Hans for pointing it out.
6580 2003-01-25  Hans Breuer  <hans@breuer.org>
6582         * app/commands.c : don't warn about crashing libart renderer
6583         on win32. It simply doesn't render text anymore :-(
6585         * app/filedlg.c : use GtkMessageDialog for 'file overwrite'
6587         * objects/UML/class.c : don't access umlclass->properties_dialog
6588         after calling gtk_widget_destroy(umlclass->properties_dialog->dialog)
6589         which sets the former to NULL by destroy_properties_dialog() callback.
6591         * plug-ins/wmf/wmf.cpp : use dia_image_rowstride()
6593         * plug-ins/python/pydia-font.c : fix PyDiaFont_GetAttr()
6595         * plug-ins/python/pydia-image.c : add image.uri member
6596         not only useful for SVG rendering
6598         * plug-ins/python/diasvg.py : (new file) a more advanced
6599         example. A full blown SVG Renderer, currently only
6600         registered for .svgz
6602         * plug-ins/python/export-object.py : write text props
6604         * plug-ins/python/debug_objects.py : write prop.type and
6605         prop.visible 
6607 2003-01-25  Lars Clausen  <lrclause@cs.uiuc.edu>
6609         * objects/UML/association.c (association_update_data): Better
6610         bounding box for assoc with arrows.
6612         * lib/properties.h: New flag for properties with multiple values
6613         in groups.
6615         * app/lineprops_area.c (dia_arrow_chooser_dialog_show): Correct
6616         arrow updating in dialog.  Was broken due to changes from destroy
6617         fix:(
6619         * app/commands.c (view_aa_callback): AA warning only for Windows
6620         -- I trust the Unix side well enough.
6622         * app/render_libart.c (get_text_width): 
6623         * lib/dialibartrenderer.h (struct _DiaLibartRenderer): Font and
6624         font height can be taken from parent instance.
6626         * lib/dialibartrenderer.c (dia_libart_renderer_class_init) 
6627         (get_text_width): Proper cursor positioning for libart renderer.
6628         Ought to have a DiaInteractiveRenderer that these two can inherit
6629         from, that knows about transform.
6631 2003-01-25  Steffen Macke <sdteffen@web.de>
6633         * plug-ins/xslt/xslt.h: don't use dlfcn.h on win32. XSLT
6634         plug-in still not working on win32
6635         
6636 2003-01-24  Lars Clausen  <lrclause@cs.uiuc.edu>
6638         * app/disp_callbacks.c (ddisplay_canvas_events): Moved
6639         gdk_window_get_pointer to avoid destroy crash.  Simpler than I
6640         thought.
6642 2003-01-23  Lars Clausen  <lrclause@cs.uiuc.edu>
6644         * app/app_procs.c (app_init): Run gtk_init before popt so we don't
6645         bail out on gtk options.
6647         * lib/message.c (gtk_message_internal): Better handling of destroy
6648         event.
6650 2003-01-22  Lars Clausen  <lrclause@cs.uiuc.edu>
6652         * app/color_area.c (color_area_edit): 
6653         * lib/widgets.c (dia_file_selector_browse_pressed) 
6654         (dia_color_selector_pressed): 
6655         * app/plugin-manager.c (get_plugin_manager): 
6656         * app/filedlg.c (file_open_callback, file_save_as_callback) 
6657         (file_export_callback):
6658         * app/diagram_tree_window.c (diagram_tree_window_new): Correct
6659         handling of destroy event.
6661 2003-01-22  Alan Horkan <horkana@tcd.ie>
6663         * app/commands.c (file_new_callback): Changed Untitled to Diagram
6664         for default name.
6666 2003-01-21  Lars Clausen  <lrclause@cs.uiuc.edu>
6668         * app/preferences.c (prefs_create_dialog): 
6669         * app/linewidth_area.c (linewidth_create_dialog): 
6670         * app/lineprops_area.c (dia_arrow_chooser_dialog_show): 
6671         * app/layer_dialog.c (create_layer_dialog)
6672         (layer_dialog_edit_layer): Correct handling of destroy signal. 
6674         * app/diapsft2renderer.c (set_font): Adjust silly random factor
6675         for change in font.c
6677         * lib/widgets.c: Avoid warning when font menu file doesn't exist.
6679         * lib/font.c (dia_font_build_layout): Let's all use the same weird
6680         factor here.
6682         * app/lineprops_area.c (dia_arrow_chooser_dialog_show): 
6683         * app/layer_dialog.c (create_layer_dialog) 
6684         (layer_dialog_edit_layer): 
6685         * app/filedlg.c (file_open_callback, file_save_as_callback) 
6686         (file_export_callback): 
6687         * app/dia-props.c (create_diagram_properties_dialog): 
6688         * app/defaults.c (defaults_dialog_destroyed): 
6689         * app/color_area.c (color_area_edit): Dialog destroy event handling.
6691 2003-01-19  Lars Clausen  <lrclause@cs.uiuc.edu>
6693         * app/defaults.c (defaults_dialog_destroyed): Reset cache when
6694         defaults dialog destroyed.
6696 2003-01-19  Steffen Macke <sdteffen@web.de>
6698         * objects/makefile.msc: added bondgraph
6699         * plug-ins/makefile.msc: added GDK_PIXBUF_LIBS in order
6700         to compile pixbuf.dll
6701         * makefile.msc: copying all objects and dlls now
6702         
6703 2003-01-19  Hans Breuer  <hans@breuer.org>
6705         * app/diagram.[hc] : provide dia_open_diagrams(), make
6706         open_diagrams variable static
6707         * app/dia.def : export it (to be used by PyDia)
6708         * app/app_procs.c app/autosave.c app/diagram_tree_window.c
6709           app/display.c app/dynamic_refresh.c app/layer_dialog.c
6710           app/load_save.c : make use of dia_open_diagrams()
6712         * app/interface.c : don't set GDK_WINDOW_TYPE_HINT_TOOLBAR
6713         on win32. It removes the diagram window from the taskbar and
6714         shrinks it's window title to toolbar style (newest gtk2.2 cvs)
6716         * app/menus.c : add '...' to menu entries where a dialog 
6717         gets invoked
6718         * app/recent_files.c app/dia_embedd.c : reflect the above in 
6719         menus_get_item_from_path() calls
6721         * lib/libdia.def : add dia_image_rgba_data
6723         * lib/properties.h lib/prop_text.[hc] : add new property
6724         type StringList
6725         * objects/UML/class.[hc] object/UML/class_dialog.c : use
6726         StringList for attributes_strings and operations_strings to
6727         make this calculated data accessible via the Property API
6729         * plug-ins/python/diamodule.c : use dia_open_diagrams() and
6730         provide dia.new() to create a new diagram, dia.registered_types()
6731         to get on Dia's type registry, dia.message() for simple dialogs
6733         * plug-ins/python/pydia-diagram.c : implement DiaDiagram.display()
6734         to create a new display from a diagram. Let diagram.extents and
6735         diagram.bg_color return the same types as in diagramdata.*
6737         * plug-ins/python/pydia-geometry.c : add a read-only 
6738         'sequence interface' to DiaPoint and DiaRectangle
6740         * plug-ins/python/pydia-property.c : allow to get on StringList
6741         from Python
6743         * plug-ins/python/pydia-render.c : fix typo to make it compile
6745         * plug-ins/python/python-startup.py : removed 'import pygtk'
6746         again. This file does not need any gtk UI, and some python
6747         plug-ins don't do either
6749         * plug-ins/python/gtkcons.py : ported to GTK2 interface, now
6750         it should actually work as intended again
6752         * plug-ins/python/group_props.py : (new file) a prototype for
6753         one the most requested features: Change properties of selected
6754         objects in one step. Requires pygtk.
6756         * plug-ins/python/select_by.py : (new file) select objects by 
6757         common properties. Requires pygtk.
6759         [Start of 'PyDia Self Documentation Series']
6761         * plug-ins/python/pydiadoc.py : (new file) generates a new 
6762         diagram which contains all objects of dir(dia)
6763         
6764         * plug-ins/python/otypes.py : (new file) generates a new diagram 
6765         which contains all the currently registered object types sorted 
6766         by their containing package
6768 2003-01-18  Lars Clausen  <lrclause@cs.uiuc.edu>
6770         * configure.in: Added check for Pango >= 1.1.5, which appears to
6771         be enough to have text work.
6772         (INTLOBJS): Added dummy subst cause gettext doesn't always seem to
6773         do it.  AC_SUBST should be idempotent, though.
6775 2003-01-17  Lars Clausen  <lrclause@cs.uiuc.edu>
6777         * configure.in (HAVE_FREETYPE): Better test for freetype version
6778         using neat macro.
6779         Now actually sets HAVE_IEEEFP_H, needed for Solaris.
6781         * lib/font.c: Renamed global_size_one to global_zoom_factor to
6782         avoid confusion, and added comment.  Set scale factor in
6783         dia_font_build_layout to 1.0 for Unix side.  This fixes at least
6784         my weird scaling problems.  Fonts are now of the expectable size,
6785         i.e. the space between lines at size 1.0 is 1.0.  If we want a
6786         compatibility fix, we should scale fonts by about 1/0.75 from 0.90
6787         diagrams, though there will always be differences.
6789 2003-01-15  Lars Clausen  <lrclause@cs.uiuc.edu>
6791         * plug-ins/python/python-startup.py: 
6792         * plug-ins/python/gtkcons.py: Require gtk 2.0 for pygtk
6794         * plug-ins/python/python.c (dia_plugin_init): Added warning
6795         message for missing startup file.
6797         * lib/dialibartrenderer.c (draw_image): Alpha rendering!  Yay!
6798         
6799         * lib/dia_image.c (dia_image_rgb_data): 
6800         * app/diapsrenderer.c (draw_image): Fixed rowstride problems
6801         involving EPS.  Can't do transparency in EPS yet.
6803         * lib/dia_image.h: 
6804         * lib/dia_image.c (dia_image_rgba_data): New function to get RGBA
6805         data as one chunk.  Documentation for the RGB data getting funcs.
6806         (dia_image_rgb_data): Added comment.
6808         * lib/dialibartrenderer.c (draw_image): Correct rowstride handling
6809         (bug #103565)
6811 2003-01-13  Steffen Macke <sdteffen@web.de>
6813         * lib/dia_image.c: dia_image_rgb_data() is working for
6814         non-alpha images now. Fixes #93762
6815         * Makefile.am: added makefile.msc to EXTRA_DIST
6816         
6817 2003-01-10  Steffen Macke <sdteffen@web.de>
6819         * app/paginate_psprint.c: Closing print dialog when file
6820         could not be written. Fixes #84746
6821         
6822 2003-01-04  Steffen Macke <sdteffen@web.de>
6824         * doc/custom-shapes: incomplete description of <svg:text>
6826 2003-01-03  Steffen Macke <sdteffen@web.de>
6828         * makefile.msc(new): new makefile to create file
6829         structure suitable for running dia win32 under
6830         $(TOP)/dia/build/win32
6831         
6832 2003-01-02  Steffen Macke <sdteffen@web.de>
6833         
6834         * lib/dia_svg.c: including stdlib.h
6835         * lib/makefile.msc: added gdk_pixbuf libs to linker
6836         * app/makefile.msc: added gdk_pixbuf libs, made libart
6837         libs compatible with gnuwin32 package
6838         
6839 2003-01-01  Hans Breuer  <hans@breuer.org>
6841         * lib/font.c : more comment about global_size_one
6843         * app/menus.c : <control>[<shift>]A for plain gtk build too.
6845         * plug-ins/wmf/wmf.cpp : some type juggling to make 
6846         msvc7 happy
6848 2002-12-31  Steffen Macke <sdteffen@web.de>
6850         * app/makefile.msc: added hint on how to enable console output
6851         
6852 2002-12-17  Lars Clausen  <lrclause@cs.uiuc.edu>
6854         * objects/standard/textobj.c (textobj_load): Get the handle type
6855         right, at least to be the same as when created.
6857 2002-12-12  Lars Clausen  <lrclause@cs.uiuc.edu>
6859         * lib/dialibartrenderer.c (draw_string): Removed extra 'is'.
6861 2002-12-08  Hans Breuer  <hans@breuer.org>
6863         * app/commands.c : fixed bug #85315 'give diagram properties, 
6864         instead of no object selected error' almost a one-liner
6866         * app/splash.c : don't make having the logo pixmap
6867         mandatory. Fixes bug #96068. 
6869         * app/defaults.c : avoid crashing from open-dialog,esc,open-dialog
6870         sequence by connecting to the "delete_event"
6871         * app/objects/uml/class_dialog.c : handle "destroy" for 
6872         the same reason.
6874         * lib/libdia.def : remove diaXmlNewChild again
6876         * app/paginate_gdiprint.cpp : reflect Dia's page setting
6877         portrait/landscape in the windoze print dialog
6879         * objects/makefile.msc : only UML needs to link against
6880         $(GTK2_LIBS) and only custom against $(LIBXML2_LIBS)
6882 2002-12-08  Lars Clausen  <lrclause@cs.uiuc.edu>
6884         * objects/standard/ellipse.c (ellipse_distance_from): 
6885         * lib/geometry.c (distance_ellipse_point): Ellipse now uses the
6886         correct distance function.  Could be faster, but it's not really
6887         essential. 
6889 2002-12-07  Lars Clausen <lrclause@cs.uiuc.edu>
6891         * lib/font.c: Changed global_size_one to more correct 28.35.
6892         Looks better, too.
6894         * app/load_save.c:
6895         * lib/dia_xml.h: 
6896         * lib/dia_xml.c: Removed pretty print hack, the libxml thing works
6897         after all.
6899 2002-12-07  Hans Breuer  <hans@breuer.org>
6901         * lib/widgets.c : g_file_get_contents() silently assumes
6902         a binary file. Reflect when creating the font_menu file
6903         to get rid of junk in font menus
6905 2002-12-06  Hans Breuer  <hans@breuer.org>
6907         * app/diapsrenderer.[hc] app/diapsft2renderer.[hc] :
6908         removed 0xD 0xD 0xA line ends which get created by
6909         cvs if windoze line ends 0xD 0xA are checked in from
6910         *nix and checked out on win32.
6912         * app/preferences.c : changed toolbox_on_top default to
6913         false. It is currently not possible to change the behaviour
6914         at runtime, at least not on win32.
6916         * lib/dialibartrenderer.c : bug #94791 'rendering to 
6917         bitmap without PangoFt2' got delayed to milestone future 
6918         so wrap libart text rendering into PANGO_WIN32_FUTURE. 
6919         It is not available without my Pango patch in bugzilla.
6921         * lib/font.c : added comment to global_size_one and adapt
6922         the arbitrary size scaling in dia_font_build_layout() for
6923         win32, too. This is needed to get an acceptable font size 
6924         approximation for Dia 0.90 and earlier files.
6925         Also #include "message.h".
6927         * app/makfile.msc app/dia.def lib/makefile.msc lib/libdia.def :
6928         reflect movement of group.[hc]
6929         * lib/group.h : export group_type which gets used by app/*
6931         * lib/diagtkfontsel.c : added #undef GTK_DISABLE_DEPRECATED
6932         to get the GtkTypeInfo definition
6934         * plug-ins/makefile.msc : dxf and xfig don't need to link
6935         against app/ anymore now that group is moved to lib/
6937         * plug-ins/python/pydia-render.c : remove massive leaking
6938         of self, i.e. PyDiaRenderer
6940         *  plug-ins/python/makefile.msc : remove linking against
6941         GTK libs
6943 2002-12-06  Lars Clausen  <lrclause@cs.uiuc.edu>
6945         * objects/standard/line.c: Removed properties options for gaps,
6946         until release is done.
6948         * configure.in: Check for freetype version.
6950         * lib/text.c (text_insert_char): Fixed small buffer overflow for
6951         length = 0.
6953         * lib/dialibartrenderer.c (draw_string): Removed debugging printf.
6955         * app/diapsft2renderer.h: 
6956         * app/diapsft2renderer.c: 
6957         * app/diapsrenderer.h: 
6958         * app/diapsrenderer.c: Split ps rendering into standard and freetype.
6960         * app/render_eps.c (export_eps, new_psprint_renderer): Using
6961         PS_FT2 renderer when available.  Old render stuff killed.  Yay!
6963         * lib/properties.h: Fixed bad frame end def.
6965         * app/Makefile.am (dia_core_files): Added diapsft2renderer.[ch].
6967         * lib/dia_xml.c (data_add_string): Avoid #-less strings.
6968         
6969         * objects/bondgraph/Makefile.am: Removed unneeded EXTRA_DIST.
6971 2002-12-05  Lars Clausen  <lrclause@cs.uiuc.edu>
6973         * lib/font.c: Now checking for the proper dia-style standard fonts.
6975         * lib/Makefile.am: 
6976         * app/Makefile.am: Moving group.[ch]
6978         * plug-ins/dxf/dxf-import.c: 
6979         * plug-ins/xfig/xfig-import.c: 
6980         * plug-ins/xfig/xfig-export.c: Now can refer directly to group.h.
6982         * app/object_ops.c: 
6983         * app/object_ops.h: 
6984         * lib/object.c (object_list_move_delta, object_copy_list): 
6985         * lib/object.h: Moved some object-related functions from
6986         object_ops to object to assist moving group.c.
6988         * lib/diatypes.h: Added Group typedef.
6990         * lib/group.h: 
6991         * lib/group.c: Moved from app to lib to a) resolve plug-ins
6992         references, and b) make groups more "real" objects.
6994         * lib/Makefile.am (libdia_la_SOURCES): Added diatyps.h
6996 2002-12-03  Lars Clausen <lrclause@cs.uiuc.edu>
6998         * lib/font.c (dia_font_init): Added check that the three standard
6999         fonts exist.
7001 2002-12-02  Lars Clausen  <lrclause@cs.uiuc.edu>
7003         * lib/dia_xml.[ch]:
7004         * app/load_save.c: Linebreaks in dia files, no indentation.
7005         Should help text tools.  xmlNewChild wrapped in diaXmlNewChild for
7006         this. 
7007         
7008         * objects/standard/line.c: Small but important fixes to the line
7009         gap code.
7011         * lib/dia_xml.h: 
7012         * lib/dia_xml.c (diaXmlNewChild): 
7013         * app/load_save.c (diagram_data_write_doc, write_objects): Simple
7014         XML prettyprinting wrapper.
7016 2002-12-03  Steffen Macke <sdteffen@web.de>
7018         * shapes/Cisco/Makefile.am:
7019         * shapes/Cisco/*.shape: finished conversion of Cisco icons
7020         to *.png
7021         
7022 2002-12-02  Steffen Macke <sdteffen@web.de>
7024         * doc/en/Makefile.am:
7025         * doc/en/usage-objects.sgml:
7026         * doc/en/graphics/line_icon.png: (new) added line icon
7027         
7028 2002-12-02  Lars Clausen  <lrclause@cs.uiuc.edu>
7030         * objects/standard/line.c: Binary search object edge line gap.
7032 2002-12-01  Lars Clausen  <lrclause@cs.uiuc.edu>
7034         * configure.in: Added Cisco makefile, sorted Makefiles list.
7036         * shapes/Makefile.am (SUBDIRS): Added Cisco dir
7038         * configure.in: Now checks for availability of PangoFT2 and
7039         FreeType, raising an error if not found.
7041         * app/Makefile.am (dia_core_files): Adding diapsft2renderer from
7042         Hans.
7044 2002-12-01  Steffen Macke <sdteffen@web.de>
7045         
7046         * doc/en/usage-loadsave.sgml: updated information on import
7047         and export formats
7048         
7049 2002-11-28  Lars Clausen  <lrclause@cs.uiuc.edu>
7051         * app/commands.c (edit_copy_callback): Freeing copy_list.
7053 2002-11-28  Steffen Macke <sdteffen@web.de>
7054         
7055         * app/render_libart.c: art_config.h was included twice
7057 2002-11-27  Lars Clausen  <lrclause@cs.uiuc.edu>
7059         * sheets/.cvsignore: More ignorance.
7061         * lib/diagdkrenderer.c (draw_string): Removed silly #ifdef 1.
7063         * lib/prop_widgets.h: Two (currently unused) settings for frame
7064         foldability.
7066         * lib/prop_widgets.c (frame_beginprop_get_widget): Frames are now
7067         (by default) foldable. 
7069         * lib/propinternals.h: 
7070         * lib/propdialogs.c (prop_dialog_add_raw_with_flags): Way to add
7071         widgets in a more controlled manner.
7073         * objects/standard/line.c (line_update_data): Line gap things
7074         inserted.  Can do xeyes now:)
7076 2002-11-26  Christian Neumair  <chris@gnome-de.org>
7078         * .cvsignore: Changed.
7079         * objects/bondgraph/.cvsignore, plug-ins/metapost/.cvsignore,
7080         plug-ins/xslt/.cvsignore, shapes/Assorted/.cvsignore, shapes/Misc/.cvsignore:
7081         Added.
7083 2002-11-26  Lars Clausen  <lrclause@cs.uiuc.edu>
7085         * app/pixmaps/delete.xpm: Trashcan stolen from Gimp.
7087         * lib/widgets.c (dia_font_selector_get_font): Fixed wrong name
7088         passing to font hash.
7090         * app/filedlg.c (file_save_as_ok_callback): Check that filename is
7091         utf-8 or locale-convertible before adding to dialog text.  This
7092         probably needs done in a number of places where we get text from
7093         the environment and send it to GTK to display.
7095         * lib/widgets.c: Fixed case problems for font menu entries.
7097         * objects/SADT/annotation.c: Don't run the event test (but leave
7098         it here for inspiration).
7100         * lib/widgets.c: 
7101         * lib/widgets.h: Allowing setting preview text for fonts.
7103 2002-11-26  Lars Clausen  <lrclause@cs.uiuc.edu>
7105         * objects/bondgraph/Makefile.am: 
7106         * objects/bondgraph/bondgraph.c: 
7107         * configure.in: 
7108         * objects/Makefile.am: Added bond graph dir.
7110 2002-11-26  Lars Clausen  <lrclause@cs.uiuc.edu>
7112         * lib/text.c (text_calc_boundingbox, text_draw): Better cursor size.
7114 2002-11-25  Lars Clausen  <lrclause@cs.uiuc.edu>
7116         * lib/text.c (text_calc_boundingbox, text_draw): Better cursor
7117         positioning. 
7119         * app/diapsrenderer.c: Freetype rendering is back in force.
7121         * app/disp_callbacks.c: Added missing updates for pre-text-change.
7123 2002-11-25  David Hoover <jazzdaq@yahoo.com>
7125         * app/render_libart.c: Added missing #include line for libart.
7127         * lib/geometry.h:
7128         * lib/geometry.c: Added point_convex function.  This computes
7129         points inside a line segment (0 <= alpha <= 1) or outside the
7130         line segment (alpha < 0 | alpha > 1).
7132         * objects/standard/line.c: Line now has additional code/attributes
7133         which permit the line to extend past the line anchors (gap < 0) or
7134         leave a gap without reaching the anchor (gap > 0).  If no gap is
7135         specified, the default gap of 0 will result in identical line
7136         behavior as before.  If the 'fractional' attributes are TRUE, the
7137         gap length is not fixed, but a percentage of the line length.  I
7138         did not know how create the GTK widgets so the gap code currently
7139         cannot be used without adding XML attributes by hand.
7141 2002-11-25  Lars Clausen  <lrclause@cs.uiuc.edu>
7143         * lib/diagdkrenderer.c (draw_string): Removed timing bits.
7145         * lib/Makefile.am (libdia_la_SOURCES): Added fontsel files to SOURCES.
7147 2002-11-24  Lars Clausen  <lrclause@cs.uiuc.edu>
7149         * lib/font.c: Debugging functionality in separate functions.
7151         * lib/widgets.c: Using fontsel with context.
7153         * lib/diagtkfontsel.[ch]: Context-aware copy of the GTK fontsel.
7155         * objects/custom/custom_object.c: Orientation handling for shapes,
7156         patch thanks to Martin Hans <opfinder@gmx.net>.
7158         * objects/standard/zigzagline.c (zigzagline_move_handle): Starting
7159         work on even better orientation handling.
7161         * app/menus.c (menus_get_item_from_path): Fixed sily warnings from
7162         casting NULL pointers.  Should be unnecessary in an upcoming GTK
7163         release. 
7165 2002-11-18  Lars Clausen  <lrclause@cs.uiuc.edu>
7167         * lib/font.h:
7168         * lib/font.c:
7169         * lib/widgets.c: Now uses correct context to get font families.
7171         * lib/diagdkrenderer.c (get_text_width, draw_string): 
7172         * lib/dialibartrenderer.c (draw_string): 
7173         * lib/font.h: 
7174         * lib/font.c (dia_font_init): Removed old kludgy font name compare.
7175         (dia_font_build_layout): Unified the twiddle factors into a use of
7176         global_size_one.  But I deeply distrust Pango for seeming to
7177         change size of fonts every time I turn my back.
7179         * app/display.c: 
7180         * app/diagram.c: 
7181         * app/menus.c:
7182         * app/menus.h: Updated some more methods to also be more specific
7183         on the types.
7185         * app/menus.h:
7186         * app/recent_files.c: 
7187         Changed to return most specific type, to avoid run-time type errors.
7189         * app/menus.c (menus_get_item_from_path): Non-gnome version now
7190         gets menu_item rather than widget, which works better.
7192 2002-11-17  Cyrille Chépélov  <cyrille@chepelov.org>
7194         * app/display.c: (new_display):
7195         * app/menus.c: (menus_get_item_from_path):
7196         Relying on the tearoff to locate the input methods menu wasn't a
7197         good idea: tearoffs seem to be an endangered species nowadays.
7198         Anyway, the IM menu seems to be working now.
7200         * app/interface.c: hinted the window manager that the toolbox window
7201         is a toolbox window. Not that my (fairly default configuration)
7202         sawfish cares, but other NETWM compliant WMs may.
7204         * app/commands.c: 
7205         * app/defaults.c: 
7206         * app/dia-props.c:
7207         * app/filedlg.c: 
7208         * app/interface.c: 
7209         * app/layer_dialog.c: 
7210         * app/linewidth_area.c: 
7211         * app/properties.c: 
7212         * app/sheets_dialog.c: 
7213         * app/splash.c: 
7215         The GTK doc says to avoir gtk_window_set_wmclass() and 
7216         gtk_window_set_policy(), and use gtk_window_set_role() and
7217         gtk_window_set_resizable(), respectively.
7218         
7219         * app/preferences.c: (prefs_create_dialog):
7220         * app/preferences.h:
7221         * app/display.c: (display_set_active):
7222         Added a preference to have the toolbox hover over diagram windows.
7223                 
7224 2002-11-12  Lars Clausen  <lrclause@cs.uiuc.edu>
7226         * lib/diagdkrenderer.c (get_text_width, draw_string):
7227         Freetype-based string drawing now works.  Not very fast, though.
7228         I wish I could use the graphics card for this:(  I'm doing three
7229         bitmap loops where I should be doing one.  The size is not correct
7230         either, despite having get_text_width give the right thing.
7232 2002-10-21  Lars Clausen  <lrclause@cs.uiuc.edu>
7234         * app/connectionpoint_ops.c (diagram_update_connections_object):
7235         Allows more than one connectionpoint on an object to be moved at a
7236         time (bug #96306).
7238 2002-10-18  Stanislav Brabec  <sbrabec@suse.cz>
7240         * configure.in: Added cs to ALL_LINGUAS.
7242 2002-10-17  Lars Clausen  <lrclause@cs.uiuc.edu>
7244         * app/paginate_psprint.c: Removed unnecessary decl of autosave
7245         stuff.
7247         * app/display.c (ddisplay_set_renderer): Calls to begin/end render.
7249         * app/export_png.c (export_png_ok): Saving more variables from the
7250         evil setjmp.
7252 2002-10-16  Lars Clausen  <lrclause@cs.uiuc.edu>
7254         * lib/dialibartrenderer.c (begin_render):
7255         (end_render): Correct pushing and popping of font contexts.
7256         (draw_string): Double zooming eliminated, strange twiddle factor
7257         introduced (grumble).  Close to working now, but there are still
7258         strange differences from font to font.  In particular, some fonts
7259         really mess with the cursor and extents.
7261         * app/render_eps.c (export_eps): 
7262         * app/diapsrenderer.c (dia_ps_renderer_finalize): 
7263         Fixed file closing confusion, no longer dependent on PS/EPS.
7265         * app/diagram.c (diagram_place_down_selected) 
7266         (diagram_place_up_selected): Now implemented.
7268         * lib/font.c (dia_font_init): 
7269         * lib/font.h: 
7270         Redesigned the font init/context pushing code.  Start of fix for
7271         font name differences.
7272         
7273 2002-10-15  Kjartan Maraas  <kmaraas@gnome.org>
7275         * app/sheets_dialog_callbacks.c: Fix a typo.
7276         
7277 2002-10-15  Hans Breuer  <hans@breuer.org>
7279         * app/diapsrenderer.[hc] : (new files, old content :-)
7280         simple base class for post script rendering. Does neither 
7281         use Pango/FT2 nor does it handle non latin1 characters. 
7282         The fancy stuff which nowadays appears to be needed should 
7283         probably be done in derived class(es)
7285         * app/makefile.msc app/Makefile.am : added new files
7287         * app/paginate_psrint.c : re-enabled and used as test
7288         for the simple ps renderer above.
7290         * app/render_eps.[hc] : ripped out common ps code and
7291         moved to DiaPsRenderer. The rest of the file is mostly
7292         disabled. And I don't understand enough of it to 
7293         change port it.
7295         * app/diaepsrenderer.h : short lived, removed.
7297 2002-10-15  Lars Clausen  <lrclause@cs.uiuc.edu>
7299         * lib/plug-ins.c (dia_register_plugin): Don't try to load libdia
7300         as a plugin (thanks to Torben Nielsen).
7302 2002-10-14  Lars Clausen  <lrclause@cs.uiuc.edu>
7304         * app/diaepsrenderer.h: 
7305         * app/render_eps.h: 
7306         * app/paginate_psprint.c: 
7307         #ifdef'd out enough ps stuff to allow compile.  Now we just need
7308         to convert it.
7309         
7310 2002-10-12  Hans Breuer  <hans@breuer.org>
7312         [last plug-in ported]
7314         * plug-ins/xfig/xfig-export.c : ported to new renderer api
7316         * plug-ins/xfig/xfig-import.c(fig_create_object) : need to
7317         scale color values to [0..1.0] to properly reconstruct
7318         user colors
7320         * plug-ins/xfig/xfig-common.c : some cleaning
7322 2002-10-12  Hans Breuer  <hans@breuer.org>
7324         [decrease inter-plug-in-dependencies]
7326         * objects/custom/shape_info.[hc] : move parse_style()
7327         to lib/dia_svg.[hc] as dia_svg_parse_style(); Namespace
7328         the related structs and constants.
7329         * objects/custom/custom_object.c : reflect namespace
7330         changes
7332         * lib/dia_svg.[hc] : new files
7333         * lib/makefile.msc lib/Makefile.am : add new files
7334         * lib/libdia.def : updated externals
7336         * plug-ins/svg/svg-import.c : use dia_svg_parse_style()
7338         * plug-ins/svg/svg.c : enable svg import for win32 (and
7339         probably for other non ELF builds)
7341         * plug-ins/makefile.msc : enable svg import
7343 2002-10-11  Hans Breuer  <hans@breuer.org>
7345         * plug-ins/metapost/render_metapost.[hc] : ported
7347         * plug-ins/pstricks/render_pstricks.[hc] : dito
7349 2002-10-11  Hans Breuer  <hans@breuer.org>
7351         * plug-ins/cgm/cgm.c : ported, appears to work as before,
7352         but graphic apps available to me can't import the generated 
7353         files (the could not with Dia-0.90 cgm as well) ...
7355         * plug-ins/dxf/dxf-export.c : Ported to new renderer api.
7356         Removed all those function which did emulate 'complex' 
7357         drawing ops with basic ones (e.g. rect by line) cause this
7358         stuff is already provided by the base class
7359         * plug-ins/dxf/dxf-import.c : removed render.h include
7361         * plug-ins/python/pydia-font.[hc]
7362           plug-ins/python/pydia-text.c : finally ported to new font api
7364         * plug-ins/python/pydia-layer.c : add extra parameter
7365         to layer_find_closest_connectionpoint()
7367         * plug-ins/python/pydia-render.c : ported to DiaRenderer api
7369         * plug-ins/python/python.c : added missing copyright notice
7371         * plug-ins/hpg/hpgl.c plug-ins/wpg/wpg.c plug-ins/wmf/wmf.cpp : 
7372         actually use the renderers set_font implementation
7374         * plug-ins/renderer.inc : unused now, removed
7375         * plug-ins/Makefile.am : reflect it
7377 2002-10-08  Hans Breuer  <hans@breuer.org>
7379         * app/render_gdk.c : don't add the InteractiveRenderer
7380         interface multiple times (it's added to the type, not
7381         the object)
7382         * app/render_libart.c : dito. It's currently added
7383         unconditional cause eport_png uses it, but claims
7384         to be non-interactive. Probably set_size should be moved
7385         to the DiaRenderer interface.
7387         * lib/dialibartrenderer.c : add implementations for
7388         get_<width|height>_pixels. Libart rendering works again.
7389         DiaLibartRenderer::draw_image : use dia_image_rowstride()
7390         instead of width*3
7392         * lib/diatransform.c(dia_transform_coords_double) :
7393         don't ROUND() the returned values
7395         * plug-ins/pixbuf/pixbuf.c : added import function. It
7396         simply creates a wrapping "Standard - Image" object.
7398         * plug-ins/shape/shape-export.c : use the more direct
7399         method to call base class methods
7401 2002-10-07  Lars Clausen  <lrclause@cs.uiuc.edu>
7403         * lib/font.c (dia_font_init): Changed dia_font_init to return old
7404         pango context, to allow stacked contexts (for printing while
7405         antialiased).
7406         
7407         * lib/arrows.h
7408         * lib/bezier_conn.h
7409         * lib/beziershape.h
7410         * lib/boundingbox.h
7411         * lib/color.h
7412         * lib/connection.h
7413         * lib/connectionpoint.h
7414         * lib/create.h
7415         * lib/dia_image.h
7416         * lib/diagdkrenderer.h
7417         * lib/diagramdata.h
7418         * lib/dialibartrenderer.h
7419         * lib/diamenu.h
7420         * lib/diarenderer.h
7421         * lib/diasvgrenderer.h
7422         * lib/diatransform.h
7423         * lib/element.h
7424         * lib/filter.h
7425         * lib/focus.h
7426         * lib/font.h
7427         * lib/geometry.h
7428         * lib/handle.h
7429         * lib/neworth_conn.h
7430         * lib/objchange.h
7431         * lib/object.h
7432         * lib/orth_conn.h
7433         * lib/paper.h
7434         * lib/plug-ins.h
7435         * lib/poly_conn.h
7436         * lib/polyshape.h
7437         * lib/properties.h
7438         * lib/ps-utf8.h
7439         * lib/sheet.h
7440         * lib/text.h
7441         * lib/textattr.h
7442         * lib/widgets.h
7443         * lib/diatypes.h
7444         Moved all externally visible struct typedefs into diatypes.h, as
7445         per Hans' suggestions.
7447 2002-10-07  Steffen Macke <sdteffen@web.de>
7449         * lib/Makefile.am: removed a '\' causing problems
7451 2002-10-07  Hans Breuer  <hans@breuer.org>
7453         [Libart Renderer resurrected; almost it's compiling but
7454          almost instantly crashing :-]
7456         * lib/dialibartrenderer.[hc] : new files, ported to DiaRenderer
7457         * app/render_libart.[hc] : ported to DiaInteractiveRenderer
7458         * lib/diatransform.[hc] : added dia_transform_coords_double()
7460         * app/display.c : the right parameters for new_renderer_libart()
7461         * app/export_png.c : ported, removed the blind Display hack
7463         * app/makefile.msc lib/makefile.msc 
7464           lib/Makefile.am : updated
7466         * lib/dia<|gdk|interactive>renderer.c : properly copyrighted
7468 2002-10-06  Hans Breuer  <hans@breuer.org>
7470         * plug-ins/pixbuf/pixbuf.c : (new file)
7471         there is a new export plug-in called 'Pixbuf' which uses 
7472         DiaGdkRenderer to export to gdk-pixbuf supported bitmap
7473         formats (currently only PNG and JPEG).
7475 2002-10-06  Hans Breuer  <hans@breuer.org>
7477         See also: 
7478         http://mail.gnome.org/archives/dia-list/2002-October/msg00027.html
7480         * lib/dia-enums.h lib/diatransform.[hc]
7481           lib/diarenderer.[hc] lib/diainteractiverenderer.c
7482           lib/diagdkrenderer.[hc] lib/diasvgrenderer.[hc]
7483         : new files 
7485         * lib/makefile.msc lib/makefile.am : added new files
7487         * lib/plug-ins.c : g_module_error() returns a locale
7488         string, convert to utf8 before further usage 
7490         * lib/render.h : #error out. Everything including this
7491         needs porting
7492         * lib/*.[hc] : ported to new renderer api
7494         * app/diaepsrenderer.h : unfinished DiaEpsRenderer interface
7495         just to make the rest compile
7496         * app/render_eps.c : temporary disabled all of this
7497         * app/render_eps.h : removed RendererEPS
7499         * app/render_gdk.[hc] : a small wrapper around the new
7500         DiaGdkRenderer form lib/*
7502         * app/render_libart.h : removed RenderLibart definition
7503         * app/render_libart.c : not yet ported to new DiaRenderer
7504         but having an implementation to untie form FT2 dependency
7505         at least on win32. It is using new Pango api form bug #94791
7507         * app/render_pixmap.[hc] : a small wrapper around the new
7508         DiaGdkRenderer form lib/*
7510         * app/display.h : removed render_*.h includes
7511         * app/display.c : the only place where specific 
7512         renderers need to be known
7514         * app/connectionpoint_ops.c app/grid.c app/handle_ops.c
7515         use new DiaInteractiveRenderer interface
7517         * app/*.c : ported to new renderer api
7518         * object/*/*.c : ported to new renderer api
7519         s/render.h/diarenderer.h/
7520         s/Renderer/DiaRenderer/
7521         s/renderer->ops/renderer_ops/
7522         add in every draw method:
7523         DiaRendererClass *renderer_ops = DIA_RENDERER_GET_CLASS (renderer);
7525         * plug-ins/hpgl/hpgl.c : 
7526           plug-ins/wmf/wmf.cpp 
7527           plug-ins/wpg/wpg.c : ported to be DiaRenderer based
7528         * plug-ins/shape/shape-export.c
7529           plug-ins/svg/render_svg.c : ported to be DiaSvgRenderer based
7530           (nice how small these files became :-)
7532 2002-09-28  Hans Breuer  <hans@breuer.org>
7534         * */makefile.msc : updated
7536         * app/defaults.c : don't gdk_invalidate_rect(NULL)
7537         * app/disp_callbacks.c : 
7538         can't cast GtkWindow to GdkWindow, use shell->window
7539         (ddisplay_unrealize) don't use already unrefed im_context
7540         * app/display.c :
7541         can't cast from GtkMenu to GtkMenuItem
7542         (ddisp_destroy) : mark im_context as unrefed
7544         * lib/dia_xml (data_font) : prefer new font format over old one
7545         (data_add_font) : write the legacy name to allow file exchange
7546         with pre Pango versions of Dia, which would otherwise crash 
7547         on missing font 'name' attribute.
7548         * lib/font.c (dia_font_get_legacy_name) : improved implementation
7549         to get a better match.
7551         * lib/libdia.def : updated
7553         * lib/messages.c : don't gdk_widget_show(NULL)
7555         * lib/prop_text.c : don't gtk_entry_set_text() with NULL string 
7557         [make Dia compile, link _and_ work with mingw/gcc3.2]
7559         * config.h.win32 : #define LIBXML, this gets defined from libxml
7560         header but only for _MSC_VER. The mingw build did access an 
7561         unitialized function pointer for xmlFree.
7563         * */makefile.mingw : updated (some plug-ins have build issues)
7564         
7565         * lib/handle.h lib/object.h :   there appears to be no 
7566         forward declaration of the form 
7567                 typedef enum _HandleId HandleId 
7568         (at least not with GCC 3.2 for C++) ../lib/handle.h:22: 
7569         use of enum `_HandleId' without previous declaration
7571         * app/paginate_gdiprint.cpp : added a hack to avoid g++
7572         naming conflict on 'export'
7574         * app/paginate_gdiprint.h : forward declare Diagram
7576         * objects/SADT/annotaion.c : use g_random_double()
7578 2002-09-26  Lars Clausen  <lrclause@cs.uiuc.edu>
7580         * app/modify_tool.c: Made motion not happen until sufficiently
7581         large or past double-click interval, to avoid accidental moving
7582         when doubleclicking.  Got the double-click time right, and fixed
7583         some issues with release.  There are some corner cases that may
7584         exhibit strange behaviour, will look at those later.  Nah, let's
7585         not care about those, they are rare and not dangerous.
7587 2002-09-26  Cyrille Chépélov  <cyrille@chepelov.org>
7589         * app/layer_dialog.c: 
7590         * app/load_save.c: 
7591         * plug-ins/dxf/dxf-import.c: 
7592         * plug-ins/python/pydia-diagram.c: 
7593         * lib/diagramdata.c:
7594         * lib/diagramdata.h:
7595         Improved the consistency of the obj->parent_layer backlinks (esp.
7596         during reloads)
7598         * lib/Makefile.am:
7599         * lib/dummy_dep.h:
7600         * lib/dynamic_obj.[ch] (NEW):
7601         * app/Makefile.am:
7602         * app/app_procs.c: 
7603         * app/dynamic_refresh.[ch] (NEW):
7604         * objects/Misc/analog_clock.c: 
7605         Added support for dynamic refresh (animated objects).
7606                 
7607 2002-09-25  Cyrille Chépélov  <cyrille@chepelov.org>
7609         Patch from Owen Taylor <otaylor@redhat.com>:    
7610         * doc/en/Makefile.am:
7611         * doc/en/dia-manual.sgml:
7612         * doc/en/usage-objects.sgml:
7613         * doc/en/usage-quickstart.sgml:
7614         * doc/pl/Makefile.am:
7615         * doc/pl/dia-manual.sgml:
7616         * doc/pl/usage-objects.sgml:
7617         * doc/pl/usage-quickstart.sgml:
7619         - Change the DTD declration from an outdated GNOME one to a
7620         standard DTD.
7621         
7622         - Remove close tags for <graphics> which aren't allowed for
7623         docbook SGML
7624         
7625         - A hacky fix for a problem where some versions of db2html don't
7626         create *.css files. (If *.css doesn't match anything, then you get
7627         the global explicitely.)
7629         (Closes: #92061)
7630         
7631 2002-09-24  Cyrille Chépélov  <cyrille@chepelov.org>
7633         * objects/custom/custom_object.c: 
7634         * objects/custom/shape_info.[ch]: GE_TEXT display lists elements 
7635         were never properly prepared for use when reloading a shape with
7636         <svg:text> elements. Thanks to Scott Frazer <frazer@nc.rr.com> for
7637         reporting the problem and coming up with a fix! (Closes: #93974)
7639         * app/menus.c: patch from Alan Horkan <horkana@tcd.ie>: review
7640         the menu shortcuts towards better GNOME HIG compliance (Closes: #87157)
7642         * app/menus.c:
7643         * app/display.c: updated menu item paths Alan's patch had moved.
7644         
7645         * app/interface.c: Fixed a crash when gdk-pixbuf doesn't want to
7646         load the sheet-provided icon (libpng versions mismatch, grrr.).
7647         
7648         * configure.in:
7649         * objects/Makefile.am:
7650         * objects/Misc/Makefile.am (NEW):
7651         * objects/Misc/libmisc.c (NEW):
7652         * objects/Misc/analog_clock.c (NEW):
7653         * objects/Misc/pixmaps/analog_clock.xpm (NEW):
7654         * sheets/Misc.sheet.in: just a little experiment...
7656 2002-09-23  Cyrille Chepelov  <cyrille@chepelov.org>
7658         * plug-ins/xlst/Makefile.am: found a way to silence automake while
7659         not forcing everyone to build using libxslt.
7661         * lib/font.c: 
7662         * lib/message.c:
7663         * lib/object_defaults.c:
7664         * lib/intl.[ch]:
7665         * lib/render.c:
7666         * lib/properties.[ch]:
7667         * lib/propobject.c:
7668         * objects/standard/box.c: 
7669         * objects/UML/state_term.c:
7670         * objects/FS/box.c:
7671         * objects/FS/flow-ortho.c:
7672         * app/app_procs.c:
7673         * app/autosave.c:       
7674         * app/commands.c:
7675         * app/diagram_tree.c:
7676         * app/display.c:
7677         * app/disp_callbacks.c:
7678         * app/export_png.c:
7679         * app/filedlg.c:
7680         * app/lineprops_area.c:
7681         * app/menus.c:  
7682         * app/preferences.c:
7683         * app/render_eps.c:     
7684         * app/sheets.c:
7685         * app/sheets_dialog_callbacks.c:
7686         * plug-ins/xslt/xslt.c:
7687         * plug-ins/metapost/render_metapost.c:
7688         * plug-ins/xfig/xfig-export.c:
7689         * plug-ins/shape/shape-export.c:
7690         
7691         Killed most gcc-3.2 warnings (const-correctness and derived warnings, 
7692         unused variables, mostly)
7694         * app/display.c:
7695         * app/menus.c: enabled GTK Input Methods (thanks Lars!)
7697         * app/Makefile.am: modified run_dia.sh so that we recover the
7698         ability to run a debugger despite libtool's hacks.
7700         * plug-ins/dxf/Makefile.am: 
7701         * app/Makefile.am
7702         "make distcheck" fixes.
7703         
7704 2002-09-19  Lars Clausen  <lrclause@cs.uiuc.edu>
7706         * objects/UML/uml.c (uml_get_operation_string): Patch from Mauf
7707         <mfranzoni@madd.it>:  Check for the type being NULL.
7709 2002-09-16  Lars Clausen  <lrclause@cs.uiuc.edu>
7711         * app/render_eps.c (set_font): Re-tweaked font size for printing.
7713 2002-09-12  Cyrille Chepelov  <cyrille@chepelov.org>
7715         Patch from Angus Ainslie <angusa@deltatee.com>:
7716         * plug-ins/dxf/dxf-import.c:
7717         * plug-ins/dxf/autocad_pal.h: Import from visio 2002 improvements.
7719         (plus a couple extra fixes by me, such as the removal of printf's,
7720         adapting for recent changes, and killed a couple warnings) 
7722         * app/authors.h: a 60K patch isn't insignificant, is it?
7723         
7724 2002-09-09  Tor Lillqvist  <tml@iki.fi>
7726         * configure.in: Check for both pangoft2 (using PKG_CHECK_MODULES,
7727         as before) and -lfreetype (using AC_CHECK_LIB). At least on
7728         Solaris with Sun's compiler (Forte C), you need to link also the
7729         dia application with -lfreetype, even if it is implicitly linked
7730         to by -lpangoft2. Rename FREETYPE_CFLAGS and _LIBS to PANGOFT2_*,
7731         which is what they actually mean. Use FREETYPE_LIBS for
7732         -lfreetype.
7734         Don't look for libsunmath if isinf() is not found in math.h (as on
7735         Solaris). The sunmath library is part of Forte C and not present
7736         on all machines. Besides, even if isinf was found in libsunmath,
7737         we didn't use it in the Makefile.am.
7738         
7739         Fix a couple of bashisms.
7741         AC_SUBST also Z_LIBS, need to link the dia application to -lz,
7742         too, on Solaris with Forte C.
7744         Don't try to use the gcc flags with other compilers.
7745         DIA_CHECK_CFLAG gives a false indication that Forte C understands
7746         the gcc -f switches, but in fact they get interpreted meaning
7747         something completely different.
7749         Define the automake conditional HAVE_CGC.
7750         
7751         * app/Makefile.am (dia_LDADD): Add Z_LIBS and FREETYPE_LIBS.
7753         Use -export-dynamic only with gcc.
7755         * */Makefile.am
7756         * */*/Makefile.am: Modify according to the FREETYPE_CFLAGS -> 
7757         PANGOFT2_CFLAGS rename.
7759         * lib/geometry.h: Drop HAVE_SUNMATH_H and <sunmath.h> per above.
7760         
7761         * lib/dia_xml.c: Include geometry.h for the isinf() stuff on
7762         Solaris.
7764         * lib/paper.c: Workaround for gccism: Can't use inline this way with
7765         Forte C, either.
7767 2002-09-08  Cyrille Chepelov  <cyrille@chepelov.org>
7769         * lib/text.c(set_string): fixed a memory leak (char* ain't no
7770         std::auto_ptr<char> !).
7772         * app/display.[ch]:
7773         * app/interface.[ch]:
7774         * app/ddisp_callbacks.[ch]: Added some basic support for input 
7775         methods (GtkIMContext-based)
7777         * lib/Makefile.am:
7778         * app/Makefile.am: made libdia a shared object (per Tor
7779         Lillqvist's suggestion/request), to cope for platforms with a less
7780         than par dynamic library loader.
7782         * app/display.c: disabled the input method menu (I really don't
7783         see where and how to put them. Blame Frozen Bubble )
7784         
7785 2002-09-06  Lars Clausen  <lrclause@cs.uiuc.edu>
7787         * objects/flowchart/box.c (box_update_data): Made resizing
7788         possible again (only set width & height when resized too small).
7790         Patch from Soeren Sandmann <sandmann@daimi.au.dk>:
7792         * app/disp_callbacks.c (ddisplay_canvas_events): Handle
7793         GdkScrollEvents.
7794         
7795 2002-09-05  Cyrille Chepelov  <cyrille@chepelov.org>
7797         * app/authors.h: now showing Akira TAGOH's name in the native script.
7799 2002-09-01  Lars Clausen  <lrclause@cs.uiuc.edu>
7801         * plug-ins/xslt/xslt.c: Removed glib warning for unset
7802         DIA_PLUGIN_PATH.
7804 2002-09-01  Cyrille Chepelov  <cyrille@chepelov.org>
7806         * plug-ins/svg/render_svg.c: Applied (reversed...) patch from
7807         Mike Sowka <msowka@rogers.com>. This fixes a problem with the
7808         sweep flag in arcs.
7810 2002-08-31  Lars Clausen  <lrclause@cs.uiuc.edu>
7812         * objects/UML/class.c: Fixed showing of empty stereotypes and got
7813         the string placed correctly.
7815 2002-08-30  Hans Breuer  <hans@breuer.org>
7817         * lib/font.c (dia_font_get_style) : don't shift already
7818         shifted DIA_FONT values.
7820         * lib/libdia.def : updated externals
7822         * app/disp_callbacks.c : on win32 GdkEventKey::string already
7823         is in UTF-8. (Longterm this probably should be handled on the
7824         gtk api level)
7826         * app/command.[hc] app/display.[hc] app/menus.c : add code to 
7827         switch display renderers again. The libart renderer is very 
7828         useful for win9x with it's limited GDI.
7830         * app/render_gdk.c : use g_warning instead of printf which gets
7831         nowhere on win32 (non console apps)
7833         * app/render_libart.c : make it compile without FREETYPE
7835         * objects/makefile.msc plug-ins/makefile.msc : added clean target
7837 2002-08-29  Lars Clausen  <lrclause@cs.uiuc.edu>
7839         * app/render_eps.c (postscript_draw_contour): Debugging statement
7840         that allowed me to figure out font problems.
7842         * lib/widgets.c (dia_font_selector_set_styles): Use radio menu
7843         items for font styles.
7845         * objects/FS/flow-poly.c: 
7846         * objects/FS/flow-ortho.c: 
7847         * objects/FS/flow.c: Further conversion away from GTK dialogs.
7848         Can't set a default label right now:(
7850         * app/interface.c (fill_sheet_wbox): Added initialization for mask.
7852 2002-08-27  Cyrille Chepelov  <cyrille@chepelov.org>
7853         Patch from Andrew Ferrier  <andrew@new-destiny.co.uk>:
7855         * Makefile.am: rules relating to AUTHORS and THANKS
7856         altered.
7857         * AUTHORS: file content changed to more accurately
7858         reflect guideline requirements.
7859         * TODO: warning added about Gnome BTS.
7860         * KNOWN_BUGS: warning added about Gnome BTS.
7862         ---
7864         * AUTHORS: added full copyright info.
7865         * mkauthors-placeholder: (removed) 
7866         
7867 2002-08-27  Lars Clausen  <lrclause@cs.uiuc.edu>
7869         * app/paginate_psprint.c (print_page): Fixed text printing after
7870         tip from Dov Grobgeld.
7872 2002-08-26  Lars Clausen  <lrclause@cs.uiuc.edu>
7874         * app/paginate_psprint.c (print_page): Fixed color of clip
7875         region.
7877 2002-08-26  Cyrille Chepelov  <cyrille@chepelov.org>
7879         * sheets/Makefile.am: enabled intltool-merge translation cache for
7880         sheets.
7882         * Makefile.am:
7883         * mkauthors-placeholder:
7884         * AUTHORS: revived that file (in a placeholder form) so that
7885         automake stops yelling.
7886         (derived from a patch by Andrew Ferrier <andrew@new-destiny.co.uk>) 
7887         (Closes: #91144)
7889         Heh, by the way, thanks Christophe. I feel better now.
7890         
7891 2002-08-25  Christophe Merlet  <christophe@merlet.net>
7893         * app/command.c: Removed invalid multibyte sequence in Chepelov.
7895 2002-08-24  Lars Clausen  <lrclause@cs.uiuc.edu>
7897         * lib/dia_image.c (dia_image_rgb_data): 
7898         Bugfixes in image data retrieval.
7899         
7900         * app/render_eps.c: Refactoring of new_*_renderer.
7902 2002-08-23  Lars Clausen  <lrclause@cs.uiuc.edu>
7904         * app/render_eps.c: 
7905         * lib/dia_image.h: 
7906         * lib/dia_image.c: Support for rowstride != width (odd width images)
7908 2002-08-20  Lars Clausen  <lrclause@cs.uiuc.edu>
7910         * lib/paper.c (get_paper_info): Fixed NULL prefs problem.
7911         * plug-ins/xfig/xfig-import.c: Removed assertion.
7913 2002-08-18  Lars Clausen  <lrclause@cs.uiuc.edu>
7915         * lib/paper.c: Removed app/preferences.h reference.
7917 2002-08-14  Lars Clausen  <lrclause@cs.uiuc.edu>
7919         * plug-ins/svg/svg-import.c: 
7920         * plug-ins/xfig/xfig-import.c: 
7921         * lib/Makefile.am (libdia_a_SOURCES): 
7922         * objects/standard/Makefile.am (libstandard_objects_la_SOURCES): 
7923         * lib/create.h:
7924         * objects/standard/create.h:
7925         * objects/standard/polygon.c (polygon_create): 
7926         * objects/standard/polyline.c (polyline_create): 
7927         * objects/standard/beziergon.c (beziergon_create): 
7928         * objects/standard/bezier.c (bezierline_create): 
7929         Moving create.h into lib.
7931 2002-08-13  Lars Clausen  <lrclause@cs.uiuc.edu>
7933         * app/render_libart.[ch]: Work on PNG font export.  Something's
7934         still fishy with the scaling, I don't get it.
7936         * app/display.c: 
7937         * app/interface.c: Replaced broken zoom combo with entry+menu.
7938         Now works beautifully.  Removed WITHOUT_ZOOM_COMBO stuff.
7940         * app/render_gdk.c (get_text_width): Checks for validity of text.
7941         Temporary help while debugging input -- should only activate on
7942         invalid input.
7944         * objects/SADT/annotation.c: 
7945         * objects/GRAFCET/transition.c: 
7946         * objects/FS/function.c: Removal of gtk.h include.
7948         * objects/UML/state.c (state_load): Warnings about using State
7949         object for initial/final states.
7951         * plug-ins/cgm/cgm.c (init_fonts): Proper Pango interfacing.
7953 2002-08-12  Lars Clausen  <lrclause@cs.uiuc.edu>
7955         * app/render_eps.c: Text rendering that scales correctly.  Too bad
7956         the standard fonts don't get selected right.
7958 2002-08-09  Lars Clausen  <lrclause@cs.uiuc.edu>
7960         * lib/diagramdata.h: 
7961         * lib/paper.c (get_paper_info): 
7962         * lib/paper.h: 
7963         * plug-ins/xfig/xfig-import.c: 
7964         Committed before testing.  I am so embarrased.  This compiles, now
7965         that the includes are in the right order.
7966         
7967         * app/diagram.c (diagram_init): 
7968         * app/app_procs.c (do_convert): 
7969         * app/preferences.h: 
7970         * lib/diagramdata.h: 
7971         * lib/diagramdata.c (new_diagram_data): 
7972         * lib/paper.h: 
7973         * lib/paper.c (get_paper_info): 
7974         Moved new_diagram part of prefs into lib/diagramdata.h.  More
7975         could be done in new_diagram_data() now.
7977 2002-08-08  Lars Clausen  <lrclause@cs.uiuc.edu>
7979         * app/render_eps.c: Better scaling of fonts at non-normal zoom.
7981 2002-08-07  Cyrille Chepelov <cyrille@chepelov.org>
7983         * configure.in: removed silly user-visible comment
7985         (actually, this is a dummy entry before I manually run nemo; for
7986         some dist-upgrade related reason, this morning's run aborted before
7987         the snapshots were created)
7988         
7989 2002-08-06  Lars Clausen  <lrclause@cs.uiuc.edu>
7991         * objects/network/wanlink.c: 
7992         * objects/network/bus.c: 
7993         stdprop compliance!
7995         * objects/custom/custom_object.c: 
7996         * objects/network/wanlink.c: 
7997         * objects/flowchart/parallelogram.c: 
7998         * objects/flowchart/ellipse.c: 
7999         * objects/flowchart/diamond.c: 
8000         * objects/flowchart/box.c: 
8001         Removed GTK defaults stuff.
8002         
8003         * objects/UML/fork.c: 
8004         * objects/UML/object.c: 
8005         * objects/UML/lifeline.c: 
8006         * objects/UML/branch.c: 
8007         * objects/GRAFCET/transition.c: 
8008         * objects/FS/function.c: Removed GTK include.
8010         * objects/FS/flow-ortho.c: 
8011         * objects/FS/flow.c: Made the label behave again.
8012         Also removed GTK defaults stuff.
8014 2002-08-06  Hans Breuer  <hans@breuer.org>
8016         * app/autosave.c : ported to GDir which is the improved
8017         cross platform replacement for <dirent.h>
8019         * app/makefile.msc : build autosave.obj
8021         * app/font.c : some (bad?) code calls 
8022         dia_font_scaled_decent() not only with empty string but 
8023         with NULL. Handle it gracefully.
8025         * lib/paper.c : don't depend on ../app. Although IMO
8026         this shouldn't be allowed on any platform it is only
8027         disabled for win32, where it simply doesn't work
8028         this way
8030         * lib/widget.c (strcase_equal) : pass char* to g_strcasecmp()
8032         * objects/fs/flow.c : conditionalize debug spew, disabled
8033         and 'ported' to use g_print. Simple printf won't work with
8034         standard win32 gui apps, may even crash them.
8036         * plug-ins/makefile.msc : DISABLED svg-import cause it
8037         depends on ../objects/custom. This not only break the
8038         build for all non ELF systems but IMO also isn't acceptable
8039         from a design point of view. See dia-list mail on subject.
8041         * plug-ins/python/makefile.msc :
8042           plug-ins/python/python.c : remove all references to dirent    
8044 2002-08-05  Cyrille Chepelov  <cyrille@chepelov.org>
8046         * configure.in: added ro to ALL_LINGUAS
8048         * po-checktrans:
8049         * po-checktrans.py:
8050         * ../translation-graphs/transgraph.py: added support for fuzzy
8051         translations. Enlarged the graphs.
8053 2002-08-05  Lars Clausen  <lrclause@cs.uiuc.edu>
8055         * app/disp_callbacks.c (ddisplay_canvas_events): Now translates
8056         key events according to locale.  No clue if this works for
8057         advanced stuff.
8059 2002-08-04  Lars Clausen  <lrclause@cs.uiuc.edu>
8061         * lib/text.c: Various UTF8 related fixes, in particular in
8062         deleting.  Text_insert_char is fine, far as I can tell.
8064         * app/interface.c (create_display_shell): 
8065         * app/commands.c: Now uses gtk_clipboard functions, for they are
8066         much simpler.  Also handles Win32 clipboard.  Non-ascii chars
8067         don't seem to get handled correctly by text_insert_char in
8068         lib/text.c.
8069         
8070         * app/commands.c (received_selection_handler): Got utf8 handling
8071         on paste, and individual char handling out of commands.c.  Pasting
8072         non-ASCII is still broken, somehow.  It's all lib/text.c's fault.
8074         * lib/message.c (gtk_message_internal): Message dialog re-shown
8075         when new message appears.  Maybe it should even move to top?
8077         * lib/font.c: 
8078         * lib/widgets.c: 
8079         * app/render_eps.c (create_eps_renderer): Fonts now lowercase
8080         (again) and case-insensitive.
8082         * objects/GRAFCET/condition.c (CONDITION_FONT): Changed to
8083         BASIC_SANS_FONT. 
8085 2002-08-02  Lars Clausen  <lrclause@cs.uiuc.edu>
8087         * app/commands.c (edit_cut_text_callback): 
8088         * lib/text.c (text_delete_all): Now functioning undo for text cut.
8089         
8090         * app/commands.c (edit_cut_text_callback): Now removes text.
8091         Undo is broken, though.
8093 2002-08-01  Lars Clausen  <lrclause@cs.uiuc.edu>
8095         * app/diagram.c (diagram_update_menu_sensitivity): 
8096         Making cut_text active.
8097         
8098         * app/commands.h: 
8099         * app/commands.c: Using PROP_TYPE_TEXT to find text to copy to
8100         clipboard.  Also removed AA callback.   
8102 2002-08-01  Lars Clausen  <lrclause@cs.uiuc.edu>
8104         * objects/chronogram/chronoref.c: 
8105         * objects/chronogram/chronoline.c: 
8106         * objects/SADT/annotation.c: 
8107         * objects/SADT/arrow.c: 
8108         * objects/SADT/box.c: 
8109         * objects/GRAFCET/vergent.c: 
8110         * objects/GRAFCET/vector.c: 
8111         * objects/GRAFCET/step.c: 
8112         * objects/GRAFCET/condition.c: 
8113         * objects/GRAFCET/action.c: 
8114         * objects/ER/participation.c: 
8115         * objects/ER/relationship.c: 
8116         * objects/ER/entity.c: 
8117         * objects/ER/attribute.c: 
8118         Removing unnecessary GTK references.
8120 2002-07-31  Lars Clausen  <lrclause@cs.uiuc.edu>
8122         * objects/standard/image.c: 
8123         * objects/standard/textobj.c: 
8124         * objects/standard/ellipse.c: 
8125         * objects/standard/polygon.c: 
8126         * objects/standard/beziergon.c:
8127         * objects/standard/box.c: 
8128         Making default default properties.
8129         
8130         * objects/standard/image.c: 
8131         * objects/standard/arc.c: 
8132         * objects/standard/box.c: 
8133         * objects/standard/zigzagline.c: 
8134         * objects/standard/polyline.c: 
8135         * objects/standard/line.c: 
8136         * objects/standard/ellipse.c: 
8137         * objects/standard/polygon.c: 
8138         * objects/standard/beziergon.c: Removing vestigal GTK stuff.
8140         * lib/object_defaults.c (dia_object_default_create): 
8141         * lib/proplist.c: 
8142         * lib/properties.h: 
8143         * lib/object.c (object_copy_using_properties): 
8144         * lib/propdialogs.c: 
8145         * lib/propinternals.h: 
8146         * lib/propobject.c (object_create_props_dialog)
8147         (object_copy_props): 
8148         Removing the standard (toolbox) properties from defaults dialogs.
8150 2002-07-30  Lars Clausen  <lrclause@cs.uiuc.edu>
8152         * lib/font.c (dia_font_scaled_string_width) 
8153         (dia_font_scaled_ascent, dia_font_scaled_descent): Account for
8154         zoom factor.
8155         * lib/text.c (text_calc_boundingbox): Take descent into account.
8157         * objects/standard/bezier.c (bezierline_draw): 
8158         * lib/render.c (draw_bezier_with_arrows): 
8159         Better arrow drawing for beziers.  Doesn't change the mouse-click
8160         area either.
8162         * lib/arrows.h: Some const-ness.
8164         * lib/arrows.c (calculate_arrow_point): Initialize zero-length moves.
8166         * lib/render.c (draw_arc_with_arrows): 
8167         * objects/standard/arc.c (arc_draw): Better arrow drawing for
8168         arcs.  Doesn't change the mouse-click area yet.
8170         * app/menus.c: Forgotten fix:  Redraw menu item for non-Gnome.
8172         * lib/render.h: 
8173         * lib/render.c: 
8174         Arc arrow prework.
8176 2002-07-29  Lars Clausen  <lrclause@cs.uiuc.edu>
8178         * app/group.c (group_draw): Forgotten commit: Groups to draw as
8179         objects (using default routines).
8181         * app/object_ops.h: 
8182         * app/diagram.h: 
8183         * lib/diagramdata.h: 
8184         * lib/diagramdata.c (layer_find_closest_connectionpoint): 
8185         * objects/standard/zigzagline.c (zigzagline_move_handle): 
8186         * app/diagram.c (diagram_find_closest_connectionpoint): 
8187         * plug-ins/python/pydia-diagram.c
8188         (PyDiaDiagram_FindClosestConnectionPoint):
8189         * app/object_ops.c (object_connect_display) 
8190         (object_find_connectpoint_display) 
8191         * app/create_object.c (create_object_button_press) 
8192         (create_object_motion): 
8193         * app/modify_tool.c (modify_motion): 
8194         Adding object param to allow connectionpoint and handle coinciding.
8196         * objects/standard/zigzagline.c (zigzagline_check_orientation): 
8197         Fixing minor problems.
8199         * objects/standard/ellipse.c (ellipse_update_data): 
8200         Added direction hints.
8202         * lib/diagramdata.c: 
8203         * lib/object.c: 
8204         * lib/object.h: 
8205         * lib/diagramdata.h: 
8206         * objects/standard/zigzagline.c: 
8207         First working example of zigzagline hints, currently only between
8208         Box and Zigzagline.
8210 2002-07-27  Steffen Macke <sdteffen@web.de>
8212         * plug-ins/svg/render_svg.c: added support for rounded
8213         rectangles (fixes #69053 if compile with
8214         -DNEW_RENDER_OPS)
8215         * object/custom/shape_info.[c|h]: made parse_style and
8216         parse_path accessible for svg plug-in
8217         * plug-ins/svg/Makefile.am:
8218         * plug-ins/svg/svg.c:
8219         * plug-ins/svg/svg-import.c(new): added SVG import filter
8221 2002-07-27  Lars Clausen  <lrclause@cs.uiuc.edu>
8223         * objects/standard/box.c: 
8224         * objects/standard/zigzagline.c (zigzagline_move): 
8225         More work on zigzagline hints.
8227 2002-07-26  Lars Clausen  <lrclause@cs.uiuc.edu>
8228         * lib/connectionpoint.h: 
8229         Hints for zigzaglines.
8231         * app/properties.c (properties_show): 
8232         * app/defaults.c (defaults_show): 
8233         * lib/properties.h: 
8234         * lib/propobject.c (object_create_props_dialog): 
8235         * lib/object.h: 
8236         * objects/FS/flow-poly.c: 
8237         * objects/network/wanlink.c: 
8238         * objects/network/bus.c: 
8239         * objects/UML/class.h: 
8240         * objects/UML/class_dialog.c: 
8241         * objects/UML/association.c: 
8242         Start of removing toolbox props from props dialogs.
8243         
8244         * lib/widgets.c: 
8245         * lib/arrows.h: 
8246         * app/lineprops_area.c (dia_arrow_chooser_new): 
8247         * lib/arrows.c: Two new arrows: Concave, filled and blanked.
8249         * app/create_object.c: 
8250         * app/modify_tool.c: 
8251         * app/cursor.h: 
8252         * app/cursor.c: 
8253         More cursor change.
8255 2002-07-25  Lars Clausen  <lrclause@cs.uiuc.edu>
8257         * app/preferences.c: 
8258         * lib/paper.c: 
8259         * app/diapagelayout.c: 
8260         New prefs selector kind PREF_CHOICE chooses between a list of
8261         strings.  Used for picking default paper.
8262         
8263         * app/preferences.c (prefs_data): 
8264         * lib/paper.c (get_paper_info): Added prefs setting for
8265         is_portrait.
8267         * lib/render.c (draw_polyline_with_arrows): Handles degenerate
8268         line segments at the ends (bug #86603).
8270 2002-07-25  Lars Clausen  <lrclause@cs.uiuc.edu>
8272         * objects/standard/zigzagline.c (zigzagline_copy): Fix for bug
8273         #60324: Now calls update_data after copy.
8275         * app/interface.c (fill_sheet_wbox): Better fix for bug #88601:
8276         Now doesn't steal selection from non-object tools.
8278 2002-07-24  Lars Clausen  <lrclause@cs.uiuc.edu>
8280         * app/commands.c (help_manual_callback): Uses BROWSER environment
8281         variable when available.
8283 2002-07-23  Lars Clausen  <lrclause@cs.uiuc.edu>
8285         * app/interface.c (fill_sheet_wbox): Fix for bug #88601: Select an
8286         object from the new sheet when changing.
8288         * app/app_procs.c (app_init): Uses more standard size icon, from
8289         patch #56433.  Keeping old icon as dia_gnome_icon_large.png.
8291 2002-07-22  Lars Clausen  <lrclause@cs.uiuc.edu>
8293         * objects/UML/implements.c (implements_update_data): 
8294         * objects/UML/realizes.c (realizes_update_data): 
8295         * objects/UML/dependency.c (dependency_update_data): 
8296         Test for null strings before calling on ascent.
8298         * objects/UML/realizes.c (realizes_draw): 
8299         * objects/UML/message.c (message_draw): 
8300         * objects/UML/generalization.c (generalization_draw): 
8301         * objects/UML/dependency.c (dependency_draw) 
8302         * objects/UML/constraint.c (constraint_draw): 
8303         * objects/GRAFCET/condition.c (condition_draw): 
8304         * objects/UML/association.c (association_draw): 
8305         * objects/FS/flow-ortho.c (orthflow_draw): 
8306         * objects/FS/flow.c (flow_draw): Change to use
8307         draw_foo_with_arrows.  Pretty pretty arrows.  Yay me!
8309         * lib/render.h: 
8310         * lib/arrows.c (calculate_arrow_point): 
8311         * lib/arrows.h: 
8312         * lib/render.c: 
8313         * objects/standard/zigzagline.c:
8314         * objects/standard/polyline.c:
8315         * objects/standard/line.c: Work towards better arrow drawing.
8317 2002-07-21  Lars Clausen  <lrclause@cs.uiuc.edu>
8319         * objects/UML/state.c: Starting phase-out of State object as
8320         initial/final state (which never worked right).
8322         * app/app_procs.c (app_init): --version command line option for
8323         non-Gnome.
8325         * configure.in: Slight improvement in GETTEXT_PACKAGE handling.
8327 2002-07-19  Lars Clausen  <lrclause@cs.uiuc.edu>
8329         * app/render_eps.c: Removed debugging info.
8331         * lib/font.c (dia_font_scaled_ascent, dia_font_scaled_descent):
8332         Kludge to make ascent and descent work for empty strings.  Won't
8333         work when using non-ASCII fonts.  Better would be to get a
8334         PangoFont and ask directly.
8336         * configure.in: Simple define of GETTEXT_PACKAGE, and some updates
8337         of the init stuff.
8339         * app/render_gdk.c (get_text_width): Fixed use of wrong string.
8340         Cursor now better.
8342 2002-07-18  Lars Clausen  <lrclause@cs.uiuc.edu>
8344         * plug-ins/xfig/xfig-export.c: First use of draw_object render
8345         function: All shapes are now groups in XFig export.
8347         * lib/diagramdata.c (normal_render): 
8348         * lib/render.c: 
8349         * lib/render.h: 
8350         * app/display.c (ddisplay_obj_render): 
8351         New render function for drawing objects, allows renderers to group
8352         or otherwise specially handle objects.  We may want to reconsider
8353         calling it in app/display.c, as we 'know' the object draw function
8354         is the default one there.
8356         * lib/Makefile.am: Removed extra \ that broke stuff.
8358         * plug-ins/xfig/xfig-import.c: 
8359         Spline import for xfig.  Not perfect.
8361         * objects/standard/create.h: 
8362         * objects/standard/bezier.c (bezierline_create): 
8363         * lib/bezier_conn.c: 
8364         * lib/beziershape.c (beziershape_set_points): 
8365         * lib/bezier_conn.h: 
8366         * lib/beziershape.h: 
8367         Support for creating beziers non-interactively.
8369 2002-07-17  Lars Clausen  <lrclause@cs.uiuc.edu>
8371         * plug-ins/xfig/xfig-import.c: Support for polygons and
8372         polylines.  Special warning handling system removed.
8374         * lib/message.c (gtk_message_internal): Fixed bug involving
8375         closing message window and then getting repeated message.
8377         * Makefile.am: 
8378         * autogen.sh: 
8379         * configure.in (GETTEXT_PACKAGE): 
8380         Update based on bug #88199.  Hopefully this doesn't break too much
8381         intl stuff.
8383         * dia.desktop.in (_Comment): Changed after suggestion from
8384         calum.benson@ireland.sun.com (bug 88345)
8386         * app/sheets_dialog_callbacks.c: Fix from Dolores Alia de Saravia
8387         <loli@unsa.edu.ar> that makes user/system distinction better.
8389 2002-07-16  Lars Clausen  <lrclause@cs.uiuc.edu>
8391         * app/render_libart.c: Got the context right, removed crashes.
8393         * app/commands.c: 
8394         * app/commands.h: 
8395         Redraw menu item.
8397         * app/display.c: 
8398         * app/display.h: 
8399         * app/interface.c: 
8400         * app/menus.c: 
8401         Remove libart #defines from most places (still around for png export).
8403         * app/render_libart.h: 
8404         * app/render_libart.c: 
8405         * configure.in (HAVE_LIBART): 
8406         Starting on update of libart stuff for png export (without X).
8408         * app/autosave.h (autosave_check_autosave): 
8409         * app/load_save.h: 
8410         * app/diagram.h: 
8411         * app/Makefile.am (dia_core_files): 
8412         * app/load_save.c: 
8413         * app/diagram.c (diagram_set_modified): 
8414         * app/autosave.c: 
8415         * app/app_procs.c (app_init): 
8416         Autosave support.  No automatic restore yet.
8418 2002-07-16  Lars Clausen  <lrclause@cs.uiuc.edu>
8420         * app/render_eps.c (create_eps_renderer): #ifdef'd a scale
8421         assignment. 
8422         
8423 2002-07-15  Lars Clausen  <lrclause@cs.uiuc.edu>
8425         * app/interface.c (fill_sheet_menu): Tear-off for sheets menu.
8427 2002-07-15  Andrew Ferrier  <andrew@new-destiny.co.uk>
8429         * Fix for 'make dist' etc. --- problem caused by
8430         previous AUTHORS patch.
8432 2002-07-14  Lars Clausen  <lrclause@cs.uiuc.edu>
8434         * plug-ins/cgm/cgm.c (init_fonts): Changed pango_font_map to
8435         pango_context. 
8436         (set_font): NULL check.
8437         
8438 2002-07-12  Lars Clausen  <lrclause@cs.uiuc.edu>
8440         * app/disp_callbacks.c: 
8441         * lib/diamenu.h: 
8442         Addition to the object menus allows check menu items.
8444 2002-07-11  Andrew Ferrier  <andrew@new-destiny.co.uk>
8446         * HACKING: completely changed to bring up-to-date.
8447         * AUTHORS: file needs REMOVING from CVS as now
8448           dynamically generated.
8449         * app/authors.h: split into subcategories for original
8450           authors, maintainers, etc.
8451         * app/app_procs.c: --credits rewritten to support new
8452           app/authors.h
8453         * app/commands.c: no changes to about box code, comment
8454           added though.
8455         * Makefile.am: added rule for AUTHORS. I'm still
8456           inexperienced with automake, it seems to work, but
8457           for AUTHORS-related bugs, look at this change first.
8459 2002-07-10  Lars Clausen  <lrclause@cs.uiuc.edu>
8461         * plug-ins/Makefile.am (SUBDIRS): Just realized why my hack didn't
8462         work.  Back to including xslt dir always.
8464         * objects/UML/uml.c: 
8465         * objects/UML/class.h: 
8466         * objects/UML/class_dialog.c: 
8467         * objects/UML/class.c: Patch from
8468         <mattam@netcourrier.com>:  Adds comment visibility switch, also
8469         fixes various bugs.
8471         Big patch from Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
8472         for state/fork/activity stuff.
8473         * objects/UML/state.c: Removed old draw_rounded_rectangle code.
8474         * objects/UML/Makefile.am:
8475         * objects/UML/uml.c:
8476         * sheets/UML.sheet.in: Added new objects activity, fork,
8477           state_term.
8478         * objects/UML/pixmaps/state_term.xpm:
8479         * objects/UML/state_term.c: New, only initial/final states.
8480         * objects/UML/pixmaps/activity.xpm:
8481         * objects/UML/activity.c: New, activity state.
8482         * objects/UML/pixmaps/fork.xpm:
8483         * objects/UML/fork.c: New, fork/join bar.
8484         * objects/UML/pixmaps/state.xpm: state icon.
8486         
8487         * doc/diagram.dtd: 
8488         * doc/shape.dtd: Patch from "Dolores Alia de Saravia"
8489         <loli@unsa.edu.ar> to add dia: to diagram.dtd elements and add
8490         svg:text to shape.
8492 2002-07-07  Lars Clausen  <lrclause@cs.uiuc.edu>
8494         * plug-ins/Makefile.am (SUBDIRS): Made the XSLT dir depend on
8495         detecting XSLT
8497         * app/Makefile.am: Commented out the diaconv parts while it's not
8498         used anyway.  To come back later.
8500         * configure.in (HAVE_FREETYPE): 
8501         * app/app_procs.c: 
8502         * app/render_eps.h: 
8503         * app/render_eps.c: Support for printing with freetype, better
8504         encapsulated now.  Renders the text nicely, but ignores font
8505         setting.  Requires pangoft2 to get the font outline, but non-text
8506         objects can still be rendered without it.
8508         * app/commands.h: 
8509         * app/commands.c (objects_place_up_callback) 
8510         (objects_place_down_callback): 
8511         * app/diagram.h: 
8512         * app/diagram.c (diagram_place_down_selected) 
8513         (diagram_place_up_selected): Starting support for moving objects
8514         one level up/down.
8516         * app/menus.c: Removed character/numeral shortcuts.
8518 2002-07-06  Hans Breuer  <hans@breuer.org>
8520         * makefile.am app/makefile.am lib/makefile.am
8521           objects/makefile.am plug-ins/makefile.am 
8522           plug-ins/python/makefile.am :
8523         added required files for win32 build to EXTRA_DIST
8525         * app/paginate_psprint.c app/render_eps.c 
8526           app/app_procs.c :
8527         wrap (E)PS Renderer into HAVE_FREETYPE, no FreeType
8528         on Pango as currently is on win32 => no PostScript 
8529         anymore.
8531         * lib/widgets.c : undef GTK_DISABLE_DEPRECATED;
8532         use '/* noop */;' for empty case labels; replace
8533         debug spew printf with g_print which is guaranteed 
8534         to work on win32, too.
8536         * lib/font.c (dia_pfd_set_weight) : set 'intermediate' values 
8537         for DIA_FONT_MEDIUM and DIA_FONT_DEMIBOLD as explicit allowed 
8538         in the pango_font_description_set_weight() api documentation
8539         Take care for them in dia_font_get_style() too.
8541         * lib/font.[hc] lib/widget.c objects/custom/shape_info.c
8542           plug-ins/shape/shape-export.c plug-ins/svg/render_svg.c :
8543         rename Obliquity to Slant which appears to be the usual name,
8544         also rename dia_font_get_style_string -> dia_font_get_slant_string
8546         * plug-ins/wmf/wmf.cpp : finally ported to new font api
8548         * lib/prop_attr.c app/render_gdk.c : dont *_unref if NULL
8550         * objects/uml/association.c class.c large_package.c message.c
8551         if g_free() is used g_strdup needs to be used.
8552         * objects/custom/shape_info.c
8553           objects/ER/attribute.c entity.c
8554           objects/standard/image.c 
8555           app/sheets_dialog_callbacks.c : more strdup cleaning
8557 2002-07-05  Lars Clausen  <lrclause@cs.uiuc.edu>
8559         * app/render_eps.c: Non-crashing printing (made the right
8560         context).  Font output still fscked up.
8562 2002-07-05  Andrew Ferrier  <andrew@new-destiny.co.uk>
8564         * app/authors.h: Added file --- now master
8565         location for contributors data.
8566         * app/app_procs.c: Added --credits option.
8567         * app/commands.c: Modified about box to use
8568         app/authors.h.
8570 2002-07-05  Lars Clausen  <lrclause@cs.uiuc.edu>
8572         * app/render_eps.c: First stab at EPS rendering using the contour
8573         code from PAPS.  Crashes.
8575 2002-06-30  Lars Clausen  <lrclause@cs.uiuc.edu>
8577         * app/recent_files.c (recent_file_history_remove): 
8578         Fixed call to g_list_delete_link discarding return value.
8579         
8580         * lib/widgets.c (dia_font_selector_set_styles): 
8581         * lib/font.h (DiaFontWeight): 
8582         * lib/font.c (dia_font_get_style): Revert to DIA_FONT_NORMAL==0
8584 2002-06-30  Cyrille Chepelov  <cyrille@chepelov.org>
8586         Contribution from Alan Horkan <horkana@tcd.ie>: 
8587         
8588         * shapes/Assorted/*
8589         * sheets/Assorted.sheet:
8590         A set of 40 assorted geometric shapes.
8592         * sheets/Assorted.sheet.in:
8593         * sheets/Makefile.am
8594         * shapes/Assorted/Makefile.am:
8595         * shapes/Makefile.am:
8596         * po/POTFILES.in:
8597         * configure.in:
8598         Done the integration job of Alan's shapes. (Translators: have fun!)
8600         * po/dia.pot: refreshed the main potfile.
8601         
8602 2002-06-28  Cyrille Chepelov  <cyrille@chepelov.org>
8604         Patch from Tim Ellis <Tim.Ellis@gamet.com>:
8605         
8606         * objects/UML/class.[ch]:
8607         * objects/UML/class_dialog.c:
8608         changed the number of connection points from a hardcoded value of
8609         8 to a #defined constant
8611         (I changed the constant back from 20 to 8, until we better know
8612         how we'll handle more connection points on the UML class in the
8613         future -- but Tim's patch is a welcome clean-up).
8615 2002-06-26  Cyrille Chepelov  <cyrille@chepelov.org>
8617         * shapes/MSE/demultiplexer.xpm:
8618         * shapes/MSE/node_center.xpm:
8619         * shapes/MSE/multiplexer.xpm:
8620         * shapes/MSE/tacsat.xpm: updated MSE icons (transparency) by Alan
8621         Horkan <horkana@tcd.ie>
8623 2002-06-25  Lars Clausen  <lrclause@cs.uiuc.edu>
8625         * lib/widgets.c: Total rehash of font selector, with font dialog
8626         option, expanding list (not LRU yet), and stuff.
8628 2002-06-25  Cyrille Chépélov  <cyrille@chepelov.org>
8630         * lib/font.h:
8631         * lib/font.c: 
8632         Added a set of new setter/getters, some of them more specially for
8633         the SVG-ish I/O.
8634         
8635         * plug-ins/shape/shape-export.c: (new_shape_renderer),
8636         (destroy_shape_renderer), (set_font), (draw_string):
8637         * plug-ins/svg/render_svg.c: (new_svg_renderer),
8638         (destroy_svg_renderer), (set_font), (draw_string):
8640         Actually exported the font face, style, weight and size (sodipodi
8641         agrees with dia on how a small sample should look like (a sample
8642         0.90 would not even display anyways). Yay !)
8644         Patch from Matthieu Sozeau <mattam@netcourrier.com>:
8646         * plug-ins/xslt/Makefile.am: repaired the mess Cyrille put there.
8648         (end of ChangeLog-less patch)
8650         * objects/custom/shape_info.c (parse_style): now understands the
8651         font-style and font-weight attributes as well. Does not use
8652         anymore dia_font_new_from_legacy_name().
8653         
8654 2002-06-24  Lars Clausen  <lrclause@cs.uiuc.edu>
8656         * objects/standard/textobj.c: Now uses stdprops for defaults.
8658         * lib/font.h: Changed order of DiaFontWeight entries.  Sorry.
8659         * lib/font.c (dia_font_get_style): Style now linear and conversion
8660         simple. 
8662         * lib/widgets.c (dia_font_selector_set_styles): Fixed the style
8663         selector. 
8665 2002-06-24  Cyrille Chepelov  <cyrille@chepelov.org>
8667         * plug-ins/dxf/dxf-import.c:
8668         using dia_font_new_from_style()
8670         Patch from Matthieu Sozeau  <mattam@netcourrier.com>:
8672         * objects/UML/class.[ch]: Added a comment field to class
8673         * objects/UML/uml.[ch]: Added a comment field to attributes,
8674         operations and parameters.
8675         * objects/UML/class_dialog.c: Added code for the new comment
8676         fields.
8677         * plug-ins/xslt/*.xsl: Added some code to handle comments.
8678         * plug-ins/xslt/xslt*.c: Clean up based on Cyrille comments.
8679         Added a $directory parameter for stylesheets so the output is 
8680         in the good place (not in the $PWD).
8682         (end of Patch)
8684         * AUTHORS: added contributors, updated maintainers. Removed the
8685         specific areas of action.
8687         * Patch from Andrew Ferrier <andrew@new-destiny.co.uk>, derived
8688         from a patch by Xing Wang <quixon@gnuchina.org>:
8690         * app/commands.c: help_about_callback now supports
8691         new-style GNOME about box as well as old GTK style. 
8692         code also tidied (Closes: #85726)
8694         (end of Patch)
8696         * app/commands.c: fixed the copyright (it's not all FSF), and
8697         maintainers. Synced contributors list with AUTHORS.
8698                 
8699 2002-06-24  Lars Clausen  <lrclause@cs.uiuc.edu>
8701         * lib/message.c: More work on repeating messages, now with
8702         togglable view.
8704 2002-06-24  Hans Breuer  <hans@breuer.org>
8706         * lib/widget.c : some more bits in place, at least
8707         it does something useful instead of crashing. Much
8708         better - but not all ok :-)
8710 2002-06-23  Lars Clausen  <lrclause@cs.uiuc.edu>
8712         * lib/message.c (gtk_message_internal): First stab at repeating
8713         message dialog.
8715 2002-06-23  Cyrille Chepelov  <cyrille@chepelov.org>
8717         * objects/FS/*.c:
8718         * objects/GRAFCET/*.c:
8719         * objects/SADT/*.c:
8720         * objects/UML/association.c: (one instance forgotten)
8721         * objects/UML/large_package.c: 
8722         * objects/standard/textobj.c:
8723         * lib/attributes.c:
8724         * lib/text.c:
8725         using dia_font_new_from_style()
8727 2002-06-23  Hans Breuer  <hans@breuer.org>
8729         * lib/font.c : giving some love to
8730         dia_font_new_from_legacy_name() that is making
8731         import of old files as painless as possible and
8732         provide an almost exact match where possible.
8733         It does not yet fully work because it interfers
8734         with the Style to DiaStyle conversion which comes
8735         next ...
8737         [Changing these files is only allowed with Dia-0.90]
8738         * broken-files/fonts-0.90.dia : including the
8739         common hard-coded fonts from Dia-0.90. It also
8740         has drawn bounding-boxes for win32 as they were calculated
8741         from the former version (they were all too big).
8742         * broken-files/fonts-0.90-full.dia : all hardcoded
8743         fonts including the asian versions. On my machine
8744         this gives _a lot_ complaining about missing fonts
8745         and a finally a broken file display. Anyone having
8746         all these fonts ?
8747         
8748 2002-06-23  Cyrille Chepelov  <cyrille@chepelov.org>
8750         * objects/chronogram/*.c: 
8751         * objects/custom/custom_object.c:
8752         * objects/ER/*.c:
8753         using dia_font_new_from_style()
8755 2002-06-23  Lars Clausen  <lrclause@cs.uiuc.edu>
8757         * lib/widgets.c (dia_font_selector_set_styles): Improvements to
8758         font selector (stability, insensitivity).
8760         * lib/font.c (dia_font_scaled_build_layout): Removed unworkable
8761         stretching scheme for tweaking, and made scaling scheme faster
8762         (but less precise).
8763         (dia_font_dia_style_to_pango): Oops, % != /.
8765 2002-06-23  Cyrille Chepelov  <cyrille@chepelov.org>
8767         
8768         * patch from Matthieu Sozeau  <mattam@netcourrier.com>:
8770         * plug-ins/xslt : Added an XSLT plugin to export dia files using
8771         XML Stylesheets. The plug-in requires DIA_PLUGIN_PATH to be set.
8772         It includes a small config file to tell it what stylesheets to use.
8774         (end of patch)
8775         
8776         * plug-ins/xslt/xsltdialog.c: modified the dialog to be more 
8777         GTK2.0/HIG compliant (the labels could be slightly more verbose,
8778         perhaps). Added back a couple forgotten _(). Removed //-style
8779         comments.
8780         
8781 2002-06-23  Hans Breuer  <hans@breuer.org>
8783         * lib/plug-ins.c
8784         (dia_plugin_get_name) : don't crash plugin_manager
8785         on name being NULL 
8786         (dia_plugin_load) : reuse the description field to
8787         store the error string if loading fails.
8789         * lib/font.[hc] : starting to beautify the new
8790         font api: proper namespacing, adding convenience
8791         functions like dia_font_new_from_style(), ...
8793         * objects/uml/*.c : use the new convenience functions.
8795         [Next thing I plan to do is changing the other font
8796          functions to take DiaStyle and make Style and 
8797          BASIC_*_FONT vanish. As well as giving some love to
8798          dia_font_new_from_legacy_name().
8799          If anyone want's to help on converting the other
8800          objects to the new api during that, I would highly 
8801          appreciate it.]
8803 2002-06-23  Hans Breuer  <hans@breuer.org>
8805         * lib/font.c : made it compile and small indent fixes.
8806         Is there a code-has-no-effect-so-needs-not-be-valid
8807         with GCC?       
8809         * lib/widgets.c : use g_strcasecmp
8811 2002-06-22  Lars Clausen  <lrclause@cs.uiuc.edu>
8813         * lib/font.c: 
8814         * lib/font.h: 
8815         * lib/widgets.c: Font names sorted, style selector widget
8816         reappeared.  Doesn't select the old style yet.
8818 2002-06-22  Cyrille Chepelov  <cyrille@chepelov.org>
8820         * lib/font.c: one who expects a text's font to be changed shall 
8821         actually request the attributes to apply to the whole range of the
8822         said text... D'oh! 
8824         * lib/font.c: extents computation was wrong.
8826         * lib/font.c: dia_font_get_legacy_name(); g_strconcat works better
8827         if a last NULL parameter is added...
8829         * lib/font.c: extents computation was completely wrong. This looks
8830         much better this time.
8832         * objects/UML/class.c: fixed the various strings positions.
8834         * lib/font.h, and **/*.[ch] (all callers of dia_font_new): used
8835         macros to get the hardcoded base fonts.
8837         * objects/ER/relationship.c: wasn't converted to DiaFont*
8838         
8839 2002-06-22  Hans Breuer  <hans@breuer.org>
8841         * lib/widget.c : dont use backend specific functions
8842         to get on the font_families. Including it would mean
8843         including <windows.h> which breaks due to namespace
8844         pollutions ...
8846         * lib/libdia.def : updated externals
8848         * app/makefile.msc : temporary disabled: -DHAVE_LIBART
8850         * lib/font.c : added empty dia_font_init_instance function,
8851         reformatting of dia_fon_unref to allow to set breakpoint,
8852         dia_fon_build_layout() : dont crash on string==NULL
8854         * lib/text.c (text_set_attributes) : don't unref the wrong font
8856         * lib/widgets.c (dia_fon_selector_set_font) : our hashtable
8857         stores lowercased font names, but dia_font_get_family()
8858         returns mixed case      
8860 2002-06-22  Lars Clausen  <lrclause@cs.uiuc.edu>
8862         * lib/widgets.c: 
8863         * app/render_gdk.c: Patch from Hans Breuer.
8865         * app/Makefile.am (dia_core_files): diaconv commented out for now.
8866         
8867 2002-06-22  Cyrille Chepelov  <cyrille@chepelov.org>
8869         * lib/all files touched yesterday: took into account some of Hans
8870         Breuer's remarks in
8871         http://mail.gnome.org/archives/dia-list/2002-June/msg00257.html
8873         * objects/chronogram/*: 
8874         * objects/custom/*:
8875         * objects/ER/*:
8876         * objects/flowchart/*:
8877         * objects/FS/*:
8878         * objects/GRAFCET/*:
8879         * objects/SADT/*:
8880         * objects/standard/textobj.?:
8881         * objects/UML/*:
8882         converted to the new DiaFonts.
8884         * plug-ins/cgm/*:
8885         * plug-ins/pstricks/*:
8886         * plug-ins/wpg/*:
8887         * plug-ins/dxf/*:
8888         * plug-ins/xfig/*:
8889         Made minimalistic conversions so that they'd at least compile.
8891         * app/render_gdk.c:
8892         * app/render_pixmap.c:
8893         Converted to the new DiaFonts.
8895         * app/app_procs.c
8896         * app/diaconv.c:
8897         * app/render_eps.c:
8898         made the minimal changes so that it would at least build.       
8900         *** At this point, the thing builds on my machine, but segfaults
8901         right away. ***
8902         
8903 2002-06-21  Cyrille Chepelov  <cyrille@chepelov.org>
8905         * configure.in: removed the backend-specific pango pkg_modules
8906         (trivial to add back if needed, when actually needed)
8908         * app/Makefile.am:
8909         * app/*gnomeprint.[ch]: (removed): removed the GNOME-print
8910         renderer. The APIs will have completely changed when we get around
8911         to redo a renderer for it, anyways.
8913         * font.[ch]: rewrote everything from scratch, with a Pango
8914         implementation. Normally, only backend-neutral things should go in
8915         there.
8917         **WARNING**: new rules for managing DiaFont* pointers: these are
8918         reference-counted GObjects. One >must< diafont_ref() and
8919         diafont_unref() as appropriate. I wish I could overload operator=()...
8921         lib/plug-ins.h: bumped up the plug-in API.
8922         
8923         lib/attributes.c: 
8924         lib/dia_xml.c: 
8925         lib/dummy_dep.h
8926         lib/object_defaults:
8927         lib/prop_attr.c: Adapted to the new DiaFont API. This'll change
8928         again tomorrow with GObject.
8929         
8930         lib/widgets.c: Adapted to the new DiaFont API and to Pango.
8932         **** The rest of the tree should be updated as well ****
8933         
8934 2002-06-21  Lars Clausen  <lrclause@cs.uiuc.edu>
8936         * app/render_gdk.h: 
8937         * app/render_gdk.c: 
8938         * app/render_pixmap.c: 
8939         * app/render_pixmap.h: 
8940         * app/render_libart.h: 
8941         * app/render_libart.c: 
8942         * lib/font.h: 
8943         * lib/font.c: Removed freetype stuff (still around in
8944         lib/widgets.c 'cause we might want the font selector widget).
8946 2002-06-20  Cyrille Chepelov  <cyrille@chepelov.org>
8948         * shapes/network/laptop.(xml|shape):
8949         * sheets/network.sheet.in: added Laptop (notebook) PC shape,
8950         contributed by Alan Horkan <horkana@tcd.ie>. (Closes: #82643)
8952 2002-06-17  Hans Breuer  <hans@breuer.org>
8954         * lib/object_defaults.c : #include <libxml/tree.h> not
8955         <tree.h> pointed out by Xing Wang
8957 2002-06-17  Lars Clausen  <lrclause@cs.uiuc.edu>
8959         * lib/color.h (GDK_COLOR_TO_DIA, DIA_COLOR_TO_GDK): 
8960         * lib/widgets.c: 
8961         * app/color_area.c: Update to
8962         gtk_color_selection_*_current_color() fixed bad crash issues, plus
8963         updated color conversions.
8965         * sheets/ER/weakentity.xpm: Accepted patch from
8966         quixon@gnuchina.org to make icon match actual appearance.
8968         * app/recent_files.c: Fixed GNOME recent file problem, thanks to
8969         quixon@gnuchina.org.
8971 2002-06-16  Hans Breuer  <hans@breuer.org>
8973         * lib/plug-in.[hc] : make PlugInInfo opaque again in the 
8974         good tradition of information hiding. Add new function
8975         dia_plugin_get_symbol()
8976         * app/sheets.c app/sheets_dialog_callbacks.c : use it
8978         * app/sheets.c : stop complaining about object_get_type() 
8979         returning NULL. This is a consequence of e.g. disabling 
8980         plug-ins at runtime _and_ it was and is gracefully handled. 
8981         Spitting out g_warning for it isn't appropriate. 
8983         * lib/object.[ch] : removed dead code
8985         * app/plugin-mangager.c : almost complete rewrite for gtk2
8986         using GtkListStore/GtkTreeView
8988         * lib/libdia.def : updated externals
8990         * todo.gtk2 : updated, that is removed already done steps
8992 2002-06-15  Hans Breuer  <hans@breuer.org>
8994         * objects/uml/class_dialog.c : clean some left-over
8995         utf8-mess, return 0 from "focus_out_event" handlers
8996         to avoid asserting in gtk (#78305). Reconstruct 
8997         stereotype/NULL behaviour to avoid rendering empty
8998         stereotypes on classes and member functions
9000         [#56109 - Provide object defaults for StdProp objects,
9001          some remaining issues are discussed in bugzilla]
9003         * lib/object_defaults.c : (new file) manage default properties 
9004         of dia objects. The serialization is done with standard
9005         object methods in a diagram compatible format.
9007         * lib/object.c : add object_registry_foreach() which allows
9008         to iterate over all registered object types
9010         * lib/object.h : added prototypes object_default*() and
9011         object_registry_foreach()
9013         * lib/makefile.am lib/makefile.msc : add new file to build
9015         * lib/libdia.def : export new functions
9017         * app/defaults.c : provide StdProp based defaults if the
9018         ObjectType doesn't implement it's own default functions
9020         * app/create_object.c : through dia_object_default_create()
9021         * app/disp_callbacks.c : same here
9023 2002-06-12  Lars Clausen  <lrclause@cs.uiuc.edu>
9025         * objects/FS/flow-ortho.c (orthflow_get_object_menu): Menu
9026         sensitivity for deleting segments.
9028 2002-06-12  Cyrille Chépélov  <cyrille@chepelov.org>
9030         * app/color_area.c: (color_area_events):
9031         * app/diagram.c: (diagram_destroy):
9032         * app/interface.c: (zoom_activate_callback), (fill_sheet_wbox),
9033         (fill_sheet_menu):
9034         * app/load_save.c: (diagram_data_load):
9035         * app/menus.c: (menus_get_item_from_path):
9036         * app/preferences.c: (prefs_load):
9037         * app/render_gdk.c: (get_text_width):
9038         * lib/arrows.h:
9039         * lib/color.c: (color_convert):
9040         * lib/dia_dirs.c: (dia_config_filename):
9041         * lib/dia_xml.c: (xmlDiaParseFile), (data_type):
9042         * lib/intl.c: (intl_get_language_list):
9043         * lib/message.c: (message):
9044         * lib/message.h:
9045         * lib/paper.c: (get_default_paper):
9046         * lib/plug-ins.c: (this_is_a_plugin), (dia_register_plugins):
9047         * lib/widgets.c: (dia_file_selector_get_file):
9048         * lib/widgets.h:
9049         * objects/standard/image.c: (get_directory):
9051         warningectomy.
9052         
9053 2002-06-12  Lars Clausen  <lrclause@cs.uiuc.edu>
9055         * ChangeLog: Fixed bad UTF-8 mess.  Apologies.
9057 2002-06-11  Lars Clausen  <lrclause@cs.uiuc.edu>
9059         * app/interface.c: sscanf now returns EOF on empty string, so
9060         handle no match for zoom factor better => correct zoom at start.
9062         * app/sheets.c (create_object_pixmap): Tried to display empty error.
9063         (sheets_optionmenu_create): Died when not finding specified
9064         sheet.  Don't think it should.
9066         * objects/UML/association.c: Added patch from osamyn@ulb.ac.be
9067         (bug #84367) to place the text better.
9069 2002-06-11  Cyrille Chepelov  <cyrille@chepelov.org>
9071         * configure.in: Added forgotten libgnomeui-2.0 when --enable-gnome
9072                         
9073         * app/commands.c: Removed unnecessary gnome include. Removed
9074         GNOME-Print support.
9076         * app/menus.h: Removed now unnecessary gnome include.
9077         
9078         * app/sheets_dialog.c: Used Gtk 2.0 stock buttons instead of
9079         GNOME-specific stock buttons
9080         
9081 2002-06-09  Hans Breuer  <hans@breuer.org>
9083         * app/app_procs.c : convert 'Modified diagrams exits'
9084         dialog to use GtkMessageDialog. That gives us:
9085         - icons without Gnome dependency
9086         - much less code, also cross platform
9087         - improved useability ?
9089         * app/color_area.c : the Color Selection Widget looked
9090         quite wrong (alpha problems). Fix it by merging in required
9091         changes stolen from The Gimp cvs
9092         * app/color_area.h : to get the right appearance the maskes
9093         needed to be taken into account
9094         * app/interface.c : adapt to color_area_create changes.
9095         Also remove some dead code and finally remove cvs autexpansion, 
9096         I was bothered enough by irrelevant differences :-)
9098         * app/defaults.c app/properties.c app/dia-props.c : use improved GtkDialog
9099         api, i.e stocks and response to make the GnomeDialog usage
9100         obsolete. Also fixed the issue with closing the 'parent'
9101         before closing the dialog
9103         * app/display.[ch] : removed some dead code and conversion
9104         to new GtkDialog api. Also trying to conform to new HIG
9105         standard http://developer.gnome.org/projects/gup/hig/
9107 2002-06-09  Hans Breuer  <hans@breuer.org>
9109         * lib/makefile.msc : define GTK_DISABLE_DEPRECATED,
9110         build ps-utf8.c
9112         * lib/dia_image.c : gtk_widget_set_default_visual()
9113         remove. It does nothing with Gtk2.
9115         * lib/libdia.def : added ps_unicoder exports
9117         * lib/message.c : remove #GNOME use GtkMessageDialog.
9118         Yeah, Dia gets dialogs wit icons cross-platform.
9120         * lib/prop_geomtypes.c : gtk_spin_button_get_value_as_float()
9121         to gtk_spin_button_get_value()
9123         * lib/prop_inttypes.c : gtk_label_set() -> gtk_label_set_text()
9125         add #undef GTK_DISABLE_DEPRECATED to still use ...
9126         * lib/prop_text.c :  ... GtkText
9127         * lib/prop_widgets.c : ... GtkList
9128         * lib/prop_dialogs.c : ... gtk_signal_connect and more
9129         * lib/widgets.c : ... (too much to list here)
9131         * lib/ps-utf8.c : #include <string.h>
9133 2002-06-08  Cyrille Chepelov  <cyrille@chepelov.org>
9135         * configure.in:
9136         * Makefile.am:  Adapted for gtk2.
9137         Removed dependencies on libunicode, on iconv(), on langinfo().
9139         * acconfig.h: removed (now obsolete)
9141         * lib/charconv.[ch]: removed (superceded by glib)
9142         * lib/ps-utf8.[ch]: removed dependency on charconv.[ch]
9144         * **/*.[ch]: removed (utfchar *), (unichar) and other charconv or
9145         libunicode types for their glib counterparts. Fixed the include
9146         paths for libxml2. Removed all traces of libxml1 or non-UTF8
9147         support (there were remains in objects/uml).
9149         
9150 2002-06-08  Hans Breuer  <hans@breuer.org>
9152         */*.c */*/*.c : remove all the #ifdef *_UTF8_* hell,
9153         only keep the utf-8 clean code cause Dia+Gtk2 now talk it.
9154         Also use g_strdup()'s handling of NULL by returning NULL
9155         again at all places I found (remove unnecessary if's)
9157         * todo.gtk2 : new file to keep notes about gtk2 porting,
9158         further issues and thoughts and some status information.
9159         Also sent to dia-list ('Dia goes Gtk2 ...').
9160         
9161         [make it compile with GTK+ 2.0]
9163         * config.h.win32 : #undef GTK_TALKS_UTF8_WE_DONT,
9164         removed definition of S_ISDIR, S_ISREG and getlogin
9166         * */makefile.msc : Use GTK2 and libxml2
9167         BEWARE: makefile.am, configure.in not yet ported !
9169         * app/app_procs.c app/diagram.c : remove 
9170         gtk_item_factory_dump_rc code, (it wasn't read in again anyway) 
9171         but set use gtk_menu_set_accel_path() on menu creation
9173         * app/color_area.c lib/widgets.c : 
9174         make use of gtk_color_selection_set_has_palette ()
9176         * app/commands.c : gdk_pixbuf_new_from_file wants an 
9177         extra argument. Convert from DIR to GDir usage.
9179         * app/diagram_tree.c(button_press_callback) : need to return 
9180         FALSE in the signal handler to let gtk process it further.
9181         (get_object_name) : don't leak 'prop'
9182         
9183         * app/diapagelayout.c : adapt to GtkTypeInfo changes and handle 
9184         dia_page_layout_destroy() getting called more than once
9186         * app/diaunitspinner.c : GtkEditable -> GtkEntry, 
9187         GtkTypeInfo changes
9189         * app/disp_callbacks.c : gtk_menu_append() -> gtk_menu_shell_append()
9191         * app/display.h : wrap input contexts declarations into #ifdef USE_XIM.
9192         IIRC this code will not compile unchanged when USE_XIM is defined ...
9194         * app/gtk[hv]wrapbox.[hc] : use already ported version from The GIMP 1.3.x
9196         * app/interface.c : there is no widget->klass anymore in Gtk, 
9197         use GTK_WIDGET_GET_CLASS instead. gdk_pixbuf_new_from_file() extra
9198         parameter. Some tweaking of GtkWrapBox usage to get four tools in
9199         a row again.
9200         switch off GTK's double buffering on Dia's canvas. Otherwise we would 
9201         get triple buffering and flicker.
9202         Replace call to GTK private function _gtk_accel_group_attach()
9203         with public gtk_window_add_accel_group()
9205         * app/layer_dialog.c : adapt to GtkTypeInfo changes
9207         * app/load_save.c lib/plug-ins.c lib/sheet.c 
9208           objects/custom/custom.c : 
9209         simplified by using g_file_test()
9211         * app/menus.c : convert from gtk_item_factory_<dump|parse>_rc 
9212         to gtk_accel_map_<save|load>. Also added common stock-icons
9213         to the menu.
9214         
9215         * app/preferences.c : use gtk_button_set_label() instead
9216         of button->child which is gone. Also removed GLIB_CHECK_VERSION.
9218         * app/preferences.c lib/dia_xml.c lib/plug-ins.c :
9219         #ifdef G_OS_WIN32 #include <io.h>, this was formerly done
9220         in config.h.win32
9222         * app/recent_files.c : removed GLIB_CHECK_VERSION
9224         * app/render_eps.c 
9225           plug-ins/metapost/render_metapost.c
9226           plug-ins/pstricks/render_pstricks.c
9227           plug-ins/svg/render_svg.c :
9228         replace getlogin() with g_get_user_name() which always
9229         returns non NULL
9231         * app/render_gdk.c : gdk_region_union_with_rect() modifies
9232         inplace now and returns nothing, also less #hell
9234         * app/render_libart.c : some initial #hell cleaning, SuckFont
9235         still needs to vanish
9237         * app/splash.c : gdk_pixbuf_new_from_file() second arg and
9238         GTK_WINDOW_DIALOG -> GTK_WINDOW_TOPLEVEL
9240         * app/render_pixbuf.c app/sheets.c : plain #hell cleaning
9241         * app/sheets_dialog_callbacks.c : some #hell and adaptions
9242         needed to GtkWrapBox api changes
9245         * lib/charconv.[hc] : removed from build
9246         [changed appropriate]
9247         * lib/prop_inttypes.c lib/prop_text.c : 
9248         all utf-8 cleaning 
9249         * lib/text.c : ported from HEAD but keep original indent
9250         intact. Original was done by Akira TAGOH.
9252         * lib/color.c : GdkColorContext is gone, use GdkColormap instead.
9254         * lib/dia_image.c : gdk_pixbuf_new_from_file() second arg
9256         * lib/dia_xml.c : remove #ifdef GLIB_CHECK_VERSION, it's the
9257         same on all platforms now!
9259         * lib/font.c : still using SuckFont which was an IMPERATIVE FIXME!
9261         * lib/message.c : remove "charconv.h"
9263         * lib/prop_text.c : #define GTK_ENABLE_BROKEN to use GtkText
9265         * lib/plug-in.c :
9266         * lib/sheet.c : convert from DIR to GDir usage
9268         * lib/widgets.c : gtk_menu_(shell_)append and GtkTypeInfo
9270         * lib/widgets.h : include gtk<label|colorseldialog>.h
9273         * objects/fs/flow.c :
9274         * objects/fs/flow-ortho.c : GTK_ENABLE_BROKEN to use GtkText
9276         * objects/custom/custom.c : convert from DIR to GDir usage
9279         * plug-ins/python/makefile.msc : updated for GTK2/Python2.2
9282 2002-05-03  Hans Breuer  <hans@breuer.org>
9284         * lib/dia_xml.c : make the well formed utf8 check
9285         actually work for &#251; (non 7-bit ascii encoding)
9286         and fixed the file re-writing if the check fails.
9287         Thanks to Vitaly Lipatov for noticing the misbehaviour.
9289         * lib/font.c : synchronize #ifdef G_OS_WIN32 with
9290         comment on last ressort font. Thanks to Maxim Sobolev.
9292 2002-06-03  Cyrille Chepelov  <cyrille@chepelov.org>
9294         * sheets/network.sheet.in: corrected a typo in plotter invocation.
9296 2002-06-03  Steffen Macke  <sdteffen@web.de>
9298         * shapes/network/digitizing_board.png:
9299         * shapes/network/digitizing_board.shape:
9300         * shapes/network/plotter.png:
9301         * shapes/network/plotter.shape:
9302         * shapes/network/Makefile.am
9303         * sheets/network.sheet.in: added new plotter and digitizing
9304         board shapes
9305         
9306 2002-06-02  Cyrille Chepelov  <cyrille@chepelov.org>
9308         * lib/font.c: made a symptomatic fix to a segfault reported by 
9309         Jan Keirse <jan.keirse@pandora.be> on a SuSE 7.3 system. This
9310         won't prevent dia from terminating, but should give more
9311         user-friendly information about why did it terminate.
9313         Two patches from <robert.young@dsto.defence.gov.au>:
9314         
9315         * app/display.c: fix the size of the canvas area which gets
9316         redrawn. There was an off-by one error (Closes #83659)
9318         * app/display.c: make sure we redraw all screen only when we
9319         really have to (some update_areas were mistakenly ignored) (Closes
9320         #83496). 
9322         * NEWS: added a new entry for the future. Put there a reminder to
9323         update the dependencies.
9325         * configure.in: put in notes about what will change shortly.
9326         upped the version to 0.90+cvs (did also in config.h.win32)
9327         upped the minimum version for intltools (now 0.21)
9328         
9329 2002-06-01  Cyrille Chepelov  <cyrille@chepelov.org>
9331         * dia.spec:
9332         * configure.in:
9333         * NEWS:
9334         * config.h.win32:
9335         bumped up version number to 0.90. Yay!
9337 2002-05-30  Cyrille Chepelov  <cyrille@chepelov.org>
9339         * doc/pl/Makefile.am:
9340         * doc/en/Makefile.am: fixed a "make install" problem when db2html
9341         is not present (Reported by Andrew Ferrier
9342         <andrew.junk@new-destiny.co.uk>). Fixed another "make distclean"
9343         problem which prevented me from ever seeing the problem in doc/en...
9344         
9345         * Makefile.am: added autogen.sh to the EXTRA_DIST clause.
9346         
9347         * lib/font.c: patch from <robert.young@dsto.defence.gov.au>; add a
9348         way to read the font path from the XFS configuration files in
9349         order to enable FreeType (fixes #83098).
9351         * POTFILES.(in,skip): now skips objects/sybase/sybase.c, which is not
9352         shipped nowadays.
9353                 
9354         * dia.spec:
9355         * configure.in:
9356         * NEWS:
9357         * config.h.win32:
9358         bumped up version number to 0.90.RC3
9360 2002-05-29  Zbigniew Chyla  <cyba@gnome.pl>
9362         * configure.in, doc/Makefile.am, doc/pl/Makefile.am,
9363         doc/pl/authors.sgml, doc/pl/dia-manual.sgml, doc/pl/dia-pl.omf,
9364         doc/pl/intro.sgml, doc/pl/license.sgml, doc/pl/topic.dat
9365         doc/pl/usage-canvas.sgml, doc/pl/usage-customization.sgml,
9366         doc/pl/usage-layers.sgml, doc/pl/usage-loadsave.sgml
9367         doc/pl/usage-objects-selecting.sgml, doc/pl/usage-objects-special.sgml,
9368         doc/pl/usage-objects.sgml, doc/pl/usage-quickstart.sgml:
9369         Added Polish documentation.
9371 2002-05-27  Cyrille Cheeplov  <cyrille@chepelov.org>
9373         * objects/UML/state.c: there was a (gratuitous?) change of on-XML
9374         format for the UML State object. Now there's a hack to reload
9375         older files, and get them converted on the fly. 
9376         Justyna BiaÅ?a <nell@poczta.gazeta.pl> reported this. Thanks!
9378         * lib/properties.h:
9379         * lib/propobject.c:
9380         * lib/proplist.c: Added a new property flag, PROP_FLAG_LOAD_ONLY,
9381         and adapter the proplist predicates. A LOAD_ONLY property is for
9382         when you have legacy to support but can't resist moving your
9383         fields around... (was needed to support the above state.c fix).
9385         If the in-core of your object changes and you need a LOAD_ONLY
9386         property for the old format, you must keep some spare room in your
9387         object's struct to accomodate for the potential old-style
9388         attributes. Then in foo_load(), after having called
9389         object_load_using_properties(), you must inspect the old-style
9390         fields and act accordingly. Don't ever change the on-disk formats...
9392         * objects/UML/object.c:
9393         * objects/UML/small_package.c: added a check against empty
9394         stereotypes still consuming space. Reported by Dolores Alia de
9395         Saravia <loli@unsa.edu.ar>. Thanks!     
9396         
9397 2002-05-26  Cyrille Chepelov  <cyrille@chepelov.org>
9399         * INSTALL: added platform notes from MÃ¥rten Svantesson, for when
9400         using libtool on an AFS partition.
9402         * po/update_potfiles_in.sh: now simply calls the recent intltools 
9403         features; they work better than hand-crafted half-ignorant
9404         scripts. Thanks to Kenneth Rohde Christiansen <kenneth@gnu.org>
9405         for the tip.
9407         * po/POTFILES.in: added back two files update_potfiles_in.sh
9408         didn't take into account. Now this file is not automatically
9409         generated anymore!      
9410         * po/POTFILES.skip: told `intltool-update -m` what files to ignore
9411         (the usual suspects, in fact).
9413         * configure.in: improved the isinf() / isfinite() detection on
9414         Solaris (MÃ¥rten Svantesson)
9415         
9416 2002-05-25  Cyrille Chepelov  <cyrille@chepelov.org>
9418         * configure.in: one expression was replacing $CFLAGS, removing
9419         whatever was previously in.
9420         Added more checks for isinf() and finite() on Solaris.
9422         * lib/geometry.h: added a macro defintion for isinf() if not
9423         HAVE_ISINF. (Hans, you may want to #define HAVE_ISINF if relevant
9424         on Win32)
9426         * app/commands.c: "cut" did not set the 'modified' bit (paste has
9427         been for a little while). Fixes #82994.
9429         * Makefile.am: added more stuff to distclean-local. This should make
9430         "make distcheck" pass! Thanks to the author of
9431         http://mail.gnome.org/archives/gnome-2-0-list/2001-August/msg00212.html
9432         ... I wonder who this Henstridge guy is ... ;-)
9433         Darn. Still doesn't pass. I give up for tonight.
9434         
9435         * po/update_potfiles_in.sh: updated to take care of sheet files,
9436         and to filter out the EML plug-in.
9437         * po/POTFILES.in: updated with all .c and all .sheet.in files 
9439         * po/dia.pot, po/*.po: again updated all .po files with all
9440         strings (with the updated POTFILES). Now with the up-to-date
9441         POTFILES, just all languages have some fuzzy or untranslated
9442         strings (not that the 100% team was that large beforehand...)
9444         * po-checktrans: removed the comment about .po files not holding
9445         all translatable stuff, since now they do.
9446         
9447 2002-05-24  Cyrille Chepelov  <cyrille@chepelov.org>
9449         * dia.spec:
9450         * configure.in:
9451         * NEWS:
9452         * config.h.win32:
9453         bumped up version number to 0.90.RC2
9455 2002-05-20  Hans Breuer  <hans@breuer.org>
9457         * app/load_save.c : starting to increase
9458         Dias tolerance on incomplete/broken files. The 
9459         corresponding bug is #56233. But the patch there does
9460         neither apply anymore nor does it really fix the problem
9461         but only delays it, e.g. even if it would be allowed
9462         to read a file without any layers, the later code can't
9463         handle it.
9464         * lib/dia_xml.c : attribute_<num|first>_data(), data_type()
9465         handle passing in NULL for the node gracefully.
9467         * shapes/network/printer.shape : added two more connection
9468         points - one at each side - to fix bug #60359
9470         * app/commands.c (edit_copy_callback) : 
9471         add ddisplay_do_update_menu_sensitivity() to make 
9472         sequence select-copy-paste work.
9474 2002-05-20  Hans Breuer  <hans@breuer.org>
9476         * app/create_object.c (create_object_button_press) :
9477         added a call to ddisplay_do_update_menu_sensitivity()
9478         to make Ctrl^D etc work after object creation. 
9479         Fixes #80983.
9481 2002-05-18  Lars Clausen  <lrclause@cs.uiuc.edu>
9483         * objects/ER/entity.c: 
9484         * objects/ER/attribute.c: 
9485         * objects/ER/relationship.c: Patch to allow text size change from
9486         Celso Tetsuo Nagase Suzuki.
9488 2002-05-18  Steffen Macke <sdteffen@web.de>
9490         * app/app_procs.c: #ifdef'd xmlerror.h (comes with 
9491         libxml2)
9492         * doc/en/graphics/greendots.png:
9493         * doc/en/home_network.png:
9494         * doc/en/line_props.png: 
9495         * dia-diagram.png:
9496         * dia_gnome_icon.png:
9497         * dia_gnome_menu_icon.png:
9498         * dia_logo.png:
9499         * shapes/network/telephone.png:
9500         * shapes/Logic/and.png:
9501         * shapes/Logic/buffer.png:
9502         * shapes/Logic/connector.png:
9503         * shapes/Logic/inverter.png:
9504         * shapes/Logic/nand.png:
9505         * shapes/Logic/nor.png:
9506         * shapes/Logic/not.png:
9507         * shapes/Logic/or.png:
9508         * shapes/logic/xor.png:
9509         * samples/ER-demo.dia:
9510         * samples/SADT.dia:
9511         * samples/UML-demo.dia:
9512         * samples/chronograms.dia:
9513         * samples/grafcet.dia: re-added as binary files
9515 2002-05-17  Hans Breuer  <hans@breuer.org>
9517         * lib/libdia.def : reflect removing of render_store.[ch]
9519         * */makefile.mingw : remove VERSION definition it's
9520         done in config.h.win32. Dia still doesn't work if
9521         build with mingw ...
9523         * RELEASE-PROCESS : removed */makefile.mingw
9525         * app/sheets_dialog_callbacks.c : if we use those
9526         ugly charconv_gtk_* functions lib/charconv.h needs to
9527         be #included ...
9528         * lib/charconv.h : ... and needs to contain the 
9529         necesseray prototypes _and_ #defines
9531         * plug-ins/shape/shape-export.c : with libxml2 xmlNewGlobalNs
9532         is deprecated and does nothing but spit a warning. This broke
9533         the shape format writing. Fixed.
9534         Also with libxml2 pretty formatted xml isn't the default
9535         anymore, but needs to be enabled explicit: It is done now 
9536         for shape files, which almost always needed to be edited by
9537         hand ... 
9539         * app/app_procs.c : #if G_OS_WIN32 redirect xmlErrorReporting
9540         from stderr - which is invalid on Dia/win32 - to g_print -
9541         which opens up a console window if necessary. This way
9542         a xml-deprecation-error shouldn't stay unnoticed next time
9544 2002-05-17  Steffen Macke <sdteffen@web.de>
9546         * shapes/Misc/folder.png:
9547         * shapes/Misc/file.png: re-added as binary files
9548         
9549 2002-05-16  Lars Clausen  <lrclause@cs.uiuc.edu>
9551         * lib/font.c: Fixed segfault for fonts without family_name.
9553 2002-05-17  Cyrille Chepelov  <cyrille@chepelov.org>
9555         * po/POTFILES.in: added app/sheets_dialog_callbacks.c
9557         * app/sheets_dialog_callbacks.c: While reviewing UTF-8isation upon
9558         Lars' request, minor cosmetic stuff (mostly _() of human-readable
9559         XML comments in .sheet files; one translator booby-trap disarmed).
9561         * lib/charconv.c: moved #hell inside the body of the new
9562         charconv_*gtk* functions (otherwise the Win32 or gtk2.0 linker
9563         will yell)
9564         
9565 2002-05-16  Lars Clausen  <lrclause@cs.uiuc.edu>
9567         * plug-ins/wpg/Makefile.am (INCLUDES): 
9568         * plug-ins/shape/Makefile.am (INCLUDES): 
9569         * plug-ins/svg/Makefile.am (INCLUDES): 
9570         * plug-ins/pstricks/Makefile.am (INCLUDES): 
9571         * plug-ins/metapost/Makefile.am (INCLUDES): Added UNICODE_CFLAGS
9572         and DEBUG_CFLAGS in some missing places.
9574         * MAINTAINERS: New file containing list of known package
9575         maintainers. 
9577         * lib/charconv.h: 
9578         * lib/charconv.c: Charconv versions of some common gtk calls.
9580         * app/sheets_dialog_callbacks.c
9581         (on_sheets_new_dialog_button_ok_clicked),
9582         (on_sheets_dialog_button_edit_clicked),
9583         (on_sheets_dialog_button_remove_clicked),
9584         (on_sheets_edit_dialog_button_ok_clicked):
9585         * app/sheets.c (sheets_optionmenu_create),
9586         (sheets_optionmenu_create): Added utf8 translations.
9588         * app/sheets_dialog.c: 
9589         * app/sheets.c: 
9590         * app/sheets_dialog_callbacks.c: Added some missing _()'s.
9592 2002-05-16  Cyrille Chepelov  <cyrille@chepelov.org>
9594         * po/POTFILES.in: added app/sheets_dialog.c
9596 2002-05-15  Cyrille Chépélov  <cyrille@chepelov.org>
9598         * lib/charconv.c: (charconv_local8_to_utf8),
9599         (charconv_utf8_to_local8): tweaked the warnings to get more 
9600         informations
9601         * lib/font.c: (font_get_suckfont): handled a potential case of
9602         uninitialised data being used (just paranoid)
9603         
9604         * objects/GRAFCET/boolequation.c: (opstring),
9605         (opblock_get_boundingbox), (opblock_draw),
9606         (boolequation_calc_boundingbox): some extra hoops needed now dia
9607         talks UTF8 (but gtk doesn't). More #hell. Beeek. Basically, the
9608         symbols can't yet be used with their proper Unicode cells, since
9609         gtk will demand them in the Symbol font, expressed in the local
9610         8-bit encoding.
9611         
9612         * samples/grafcet.dia: re-saved, now with a fixed bounding box (by
9613         the fix just above).
9615 2002-05-14  Lars Clausen  <lrclause@cs.uiuc.edu>
9617         * app/diagram_tree.c (get_object_name): Check that name property
9618         doesn't have null string.
9620 2002-05-13  Lars Clausen  <lrclause@cs.uiuc.edu>
9622         * autogen.sh (DIE): Added conditional --force to gettextize.
9624         * app/pagesetup.c (pagesetup_ok): Commented out missing Gnome
9625         function call.
9627 2002-05-13  Cyrille Chepelov  <cyrille@chepelov.org>
9629         * RELEASE-PROCESS: added James' notes on how to properly make the
9630         tarball.
9632         * configure.in: removed macro nesting related to libpng.h, which
9633         was causing some problems on some systems (like mine, which made
9634         the snapshots bad).
9636         Made --enable-unicode, previously an option, the mandatory case.
9638         * app/Makefile.am: updated EXTRA_DIST
9639         
9640         * NEWS:
9641         * app/makefile.mingw:
9642         * dia.spec:
9643         * doc/en/dia-manual.sgml:
9644         * plug-ins/makefile.mingw:
9645         * configure.in: bumped up the version number to 0.90.RC1
9647         * lib/render_objects.[ch]:
9648         * po/POTFILES.in: removed render_objects from the build.
9650         * plug-ins/Makefile.am:
9651         * plug-ins/wmf/Makefile.am (new): EXTRA_DIST'ed the WMF plug-in,
9652         so we keep its source in the tarball.
9654         * objects/network/*.c, Makefile.am:
9655         * objects/sybase/*.c, Makefile.am:
9656         * po/POTFILES.in: cleaned up the non-existent files from the po
9657         build process.
9659         * plug-ins/Makefile.am: re-enabled metapost plug-in.
9660         
9661 2002-05-13  Steffen Macke <sdteffen@web.de>
9663         * AUTHORS:
9664         * app/command.c: added M. C. Nelson to the Authors
9665         * sheets/Circuit/Makefile.am: added firewall shape to build
9666         * sheets/network/Makefile.am: added telephone and microphone
9667           shapes to build
9669 2002-05-13  Lars Clausen  <lrclause@cs.uiuc.edu>
9671         * RELEASE-PROCESS: Added list of files that contain the release
9672         number or should otherwise be changed at each release.
9674 2002-05-12  Lars Clausen  <lrclause@cs.uiuc.edu>
9676         * objects/UML/uml.c (uml_operation_read): Forgot to commit this
9677         (reported fixed) bug: POLYMORPHIC -> LEAF for default.
9679 2002-05-12  Hans Breuer  <hans@breuer.org>
9681         * config.h.win32 : changed VERSION to 0.90.RC1
9683         * app/makefile.msc lib/makefile.msc : use renamed
9684         gdk-pixbuf version (same content but renamed because
9685         all the other gtk+ dlls are renamed) to avoid trouble
9686         mixing gtk versions (of which one would not 
9687         be initialized ...
9689         * app/app_procs.c : removed recently unneeded
9690         inclusion of "sheets.h"
9692         * app/render_gdk.c : removed my own debug spew
9693         which should never made it to cvs
9695         * lib/render_object.[hc] : added
9696         #error "File not used anymore."
9698         * lib/libdia.def : updated externals
9700         * app/interface.c : dropped filenames need to be
9701         converted from uri with Gtk+2.0
9703 2002-05-12  Cyrille Chepelov  <cyrille@chepelov.org>
9705         * RELEASE-PROCESS (new): a draft document about how to release. To
9706         be discussed. (already with some input from Hans Breuer)
9708 2002-05-12  Steffen Macke <sdteffen@web.de>
9710         * sheets/Makefile.am: re-added Misc sheet to make process
9711         
9712 2002-05-12  Lars Clausen  <lrclause@cs.uiuc.edu>
9714         * objects/FS/function.c: Added comments to humungous list of menu
9715         items, to aid translators.
9717 2002-05-11  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
9719         * app/menus.c (display_menu_items): Added a few shortcuts for zooms.
9721         * app/menus.c (display_menu_items): Added a few shortcuts for zooms.
9723         * app/interface.c (create_toolbox): Disallow shrinking beyond
9724         requested size.  Fixes bug #59439, and confirms to GTK guidelines
9725         (see gtk_window_set_policy).
9726         (create_sheets): Removed now unnecessary set_usize call.
9728 2002-05-10  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
9730         * lib/beziershape.c (remove_handles): Fixing removal of last
9731         segment.  Undo of removal still hokey.
9733 2002-05-10  Lars Clausen  <lrclause@cs.uiuc.edu>
9735         * lib/bezier_conn.c (remove_handles): Proper offset for fixing
9736         handles. 
9737         * lib/beziershape.c (beziershape_init): Removed early call to
9738         beziershape_update_data where points aren't set yet.
9739         (beziershape_add_segment): Use segment 0 instead of overflowing
9740         points array with segment+1.
9741         (beziershape_remove_segment): Proper offset for fixing
9742         connectionpoints. 
9743         (remove_handles): Proper offset.
9745 2002-05-08  Lars Clausen  <lrclause@cs.uiuc.edu>
9747         * objects/GRAFCET/action.c (action_update_data): Init x value of
9748         click point for call to connpointlist_adjust_count.
9750         * app/modify_tool.c (create_modify_tool): Init tool->auto_scrolled
9752         * app/render_pixmap.c (new_pixmap_renderer): Moved first linestyle
9753         setting to where values are inited.
9755         * lib/polyshape.c (polyshape_init): Removed call to
9756         polyshape_update_data that tried to use uninitialized data.
9758 2002-05-06  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
9760         * app/sheets_dialog.c: Mass removal of //-style comments.  The
9761         Irix compiler doesn't like them:(  I do...
9763 2002-05-06  Lars Clausen  <lrclause@cs.uiuc.edu>
9765         * app/render_libart.c (draw_string): Bail out when no GDK font is
9766         found.
9767         (set_font): Give error when font not found.
9768         (set_fillstyle): Intlized error msg.
9770         * app/pagesetup.c (pagesetup_ok, pagesetup_apply): Sets diagram
9771         modified when applied (and ok only does apply if apply is set
9772         sensitive).  Fixes bug #75623.
9774 2002-05-06  Pablo Saratxaga  <pablo@mandrakesoft.com>
9776         * configure.in: Added Vietnamese (vi) to ALL_LINGUAS
9778 2002-05-05  Steffen Macke <sdteffen@web.de>
9780         * app/Makefile.am: added $(UNICODE_CFLAGS)
9781         
9782 2002-05-02  Lars Clausen  <lrclause@cs.uiuc.edu>
9784         * app/commands.c (help_manual_callback): Check return value of
9785         opendir.
9787         * plug-ins/xfig/Makefile.am (INCLUDES): Added DEBUG_FLAGS
9789         * plug-ins/xfig/xfig-import.c: Fixed misspelled Poly_L_ine, added
9790         checks for errors.
9792 2002-04-30  Lars Clausen  <lrclause@cs.uiuc.edu>
9794         * app/render_gdk.c (draw_string): Extra free killed.  Thanks valgrind!
9796         * objects/UML/uml.c (uml_operation_read): Fix of UML default
9797         inheritance. 
9799 2002-04-30  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
9801         * app/filedlg.c (file_save_as_callback, file_save_as_ok_callback):
9802         Added button to toggle diagram compression.
9804 2002-04-29  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
9806         * lib/font.c: Support for loading extra kerning files, plus got
9807         rid of rounding errors.  Bounding box mostly perfect for freetype
9808         fonts.
9809         (font_string_width): Fudge factor to get around nonlinearity of
9810         font scaling.
9812 2002-04-29  Lars Clausen  <lrclause@cs.uiuc.edu>
9814         * lib/font.c (font_string_width): YA font calculation scheme, with
9815         comments.
9817         * objects/UML/class.c (umlclass_calculate_data): Uses the same
9818         font for drawing and calculating now.
9820         * configure.in: Added utime.h check.
9822         * app/render_gdk.c (draw_string): Uses gdk_draw_text_wc when in
9823         GTK_DOESNT_TALK_UTF8_WE_DO.  Thus it matches the string width calc.
9825 2002-04-26  Hans Breuer  <hans@breuer.org>
9827         [ Instead of fixing about 70 occurances in 20 files
9828           where GTK_TALKS_UTF8_WE_DONT needed to be handled
9829           Dia on win32 from now on uses glib-2.0 and not 
9830           only talks utf-8 with gtk-1.3 but also internally.
9831           GTK_TALKS_UTF8_WE_DONT isn't supported/needed
9832           anymore. ]
9834         * config.h.win32 : #define UNICODE_WORK_IN_PROGRESS
9835         #undef GTK_TALKS_UTF8_WE_DONT
9837         * */makefile.msc : changes to use glib-2.0 (still
9838         using gtk+1.3(win32-production)
9840         * app/disp_callbacks.c : remove GTK_TALKS_UTF8_WE_DONT,
9841         adapt kevent->string handling, add <string.h>
9842         * app/render_gdk.c (get_text_width) : the length given
9843         is in chars, gdk_text_width() needs bytes
9845         * app/render_libart.c : 
9846         * app/render_pixmap.c : remove GTK_TALKS_UTF8_WE_DONT
9847         (could simplify the same way as done in render_gdk.c)
9849         * app/diagram_tree.c app/paginate_gdiprint.cpp
9850           app/sheets.c :
9851         * lib/prop_basic.c lib/prop_geomtypes.c 
9852           lib/propdialgs.c lib/propobject.c :
9853         added <string.h> which is now removed from charconv.h
9855         * lib/charconv.h : optional use infrastructure from
9856         glib-2.0 -> only five direct function mapping left
9858         * lib/charconv.c : avoid to build this with glib-2.0
9860         * lib/font.c : no string conversion needed anymore      
9861         when Dia and Gtk talk utf-8, also code adaptions
9862         for GLIB_CHECK_VERSION(2,0,0)
9864         * lib/libdia.def : removed charconv functions
9866         * lib/prop_inttypes.c : removed GTK_TALKS_UTF8_WE_DONT,
9867         replace charconv_unichar_to_utf8() with g_unichar_to_utf8()
9869         * lib/prop_text.c lib/prop_widgets.c lib/font.c : 
9870         removed GTK_TALKS_UTF8_WE_DONT
9872         * lib/text.c : finally(?) fixed cursor <place|move>ment 
9873         for Umlauts. Also fixed char insertion, still wondering
9874         how this could ever work. Does realloc on Linux 
9875         initialize the memory with zeros ?
9877         * objects/chronogram/chronoline_event.c
9878           objects/grafcet/boolequation.c :
9879         there is no uni_get_utf8 when building for glib-2.0.
9880         Replace with g_utf8_get_char() and g_utf8_next_char().
9882         * objects/uml/stereotype.c (bracketted_to_string) : 
9883         simplify while adding code for glib-2.0 build
9885 2002-04-27  Lars Clausen  <lrclause@cs.uiuc.edu>
9887         * app/diagram.h: Autosave field
9888         * app/diagram.c (diagram_set_modified): Sets autosave field.
9889         
9890         * objects/UML/usecase.c (usecase_update_data): 
9891         * objects/flowchart/ellipse.c (ellipse_update_data): 
9892         * objects/flowchart/parallelogram.c (pgram_update_data): 
9893         * objects/flowchart/diamond.c (diamond_update_data): 
9894         * objects/custom/custom_object.c (custom_update_data): 
9895         * objects/UML/state.c (state_update_data): 
9896         * objects/UML/small_package.c (smallpackage_update_data): 
9897         * objects/UML/object.c (objet_update_data): 
9898         * objects/UML/note.c (note_update_data): 
9899         * objects/UML/node.c (node_update_data): 
9900         * objects/UML/component.c (component_update_data): 
9901         * objects/UML/classicon.c (classicon_update_data): 
9902         * objects/UML/actor.c (actor_update_data): 
9903         * objects/SADT/box.c (sadtbox_update_data): 
9904         * objects/FS/function.c (function_update_data): 
9905         All now update text boundaries from update_data.
9906         
9907         * lib/widgets.c (dia_font_selector_set_styles): Made the style set
9908         correctly. 
9910 2002-04-26  Hans Breuer  <hans@breuer.org>
9912         * config.h.win32 : added VERSION definition here
9913         (and removed from makefile.msc's)
9915         * app/makefile.msc : added new files
9917         * app/app_procs.c (app_init): remove sheets_dialog_create()
9918         from start-up and ... 
9920         * app/sheet.c (sheets_dialog_show_callback) : ... lazy create
9921         sheet_dialog here when it is really needed.
9922         #include "../lib/message.h", make sheets_dialog_create() 
9923         return it's success or failing on (!custom_type_symbol). 
9924         Although editing shapes is nice IMHO it isn't crucial enough 
9925         to abort() Dia if       it isn't possible.
9927         * app/sheet.h : adapt create_sheet_dialog() prototype
9929         * app/sheets_dialog.c : add #ifdef HAVE_UNISTD_H
9931         * app/sheets_dialog_callbacks.c : #ifdef HAVE_UNISTD_H and
9932         #ifdef HAVE_UTIME_H. Otherwise #include <sys/utime.h> and
9933         name space corrections for utime() and utim_buf #ifdef
9934         G_OS_WIN32
9936         * lib/libdia.def : export new sheet functions
9938         * lib/makefile.msc : added new files
9940         * lib/render.c : don't put draw_bezier_with_arrows() in
9941         the DrawLineWithArrowsFunc slot
9943         * objects/custom/custom_object.c : #include <gmodule.h>
9944         and export 'custom_type' via G_MODULE_EXPORT
9946         * objects/uml/class_dialog.c : removed 'incompatible 
9947         types' warnings. Some refactoring while making it fit
9948         on screen with 800x600 again.
9950         * plug-ins/python/pydia-cpoint.h : add PyDiaConnectionPoint_Check
9952         * plug-ins/python/pydia-handle.h : extra parameter to
9953         PyDiaHandle_New to store the owner of the handle
9954         * plug-ins/python/pydia-handle.c : store handle owner
9955         on construction and use it in new method .connect()
9956         * plug-ins/python/pydia-object.c plug-ins/python/pydia-diagram.c : 
9957         adapt to changed prototype
9959 2002-04-24  Lars Clausen  <lrclause@cs.uiuc.edu>
9961         * lib/text.c (text_calc_boundingbox): Will now return early if box
9962         passed is NULL.
9964         * objects/flowchart/box.c (box_update_data): Now updates text
9965         width info from update_data.
9967 2002-04-23  Steffen Macke <sdteffen@web.de>
9969         * plug-ins/xfig/xfig-import.c: fixed text import
9970         
9971 2002-04-22  Lars Clausen  <lrclause@cs.uiuc.edu>
9973         * app/export_png.c: Moved dialog functions to their own file.
9974         * app/dialogs.[ch]: New files with standard functions for creating
9975         small, transient dialogs (e.g. export options).
9976         * app/Makefile.am: Added dialogs.[ch]
9978 2002-04-19  Steffen Macke <sdteffen@web.de>
9980         * shapes/Misc/folder.*:
9981         * shapes/Misc/file.*:
9982         * shapes/Misc/Makefile.am:
9983         * shapes/Makefile.am:
9984         * sheets/Misc.sheet.in:
9985         * sheets/Makefile.am:
9986         * configure.in: added new Misc sheet containing filesystem shapes
9987         
9988 2002-04-18  Lars Clausen  <lrclause@cs.uiuc.edu>
9990         * app/lineprops_area.c: Arrow selector in toolbox changed to use
9991         standard arrowdraw code.  Line is thinner to make some arrowheads
9992         distinguishable. 
9994 2002-04-18  Steffen Macke <sdteffen@web.de>
9996         * sheets/network.sheet.in:
9997         * shapes/network/telephone.shape:
9998         * shapes/network/Makefile.am: added telephone shape
9999         
10000 2002-04-16  Steffen Macke <sdteffen@web.de>
10002         * sheets/EML.sheet.in: commented out unavailable shapes
10003         
10004 2002-04-15  M.C. Nelson <mcn@kobayashimaru.org>
10006         * app/sheets_dialog_callbacks.c:  Fixed segfault caused by mis-ordered
10007           variable assignment.
10008         
10009 2002-04-15  Steffen Macke <sdteffen@web.de>
10011         * plug-ins/dxf/dxf-import.c: text import works again
10012         * shapes/Pneumatic/Makefile.am: added compush shape
10013         * sheets/Pneumatic.sheet.in: commented out unavailable shapes dist33
10014         and dist53
10015         
10016 2002-04-11  M.C. Nelson <mcn@kobayashimaru.org>
10018         * All these modifications are for the 'Sheets and Objects' dialog
10019           (new feature):
10021         * app/pixmaps/line_break.xpm: new icon representing a line break.
10022         
10023         * app/pixmaps/n_a.xpm: new empty icon representing not available.
10025         * app/Makefile.am: added sheets_*.[ch] files to compile list.
10026         
10027         * app/menus.c: added GNOME and gtk menu items for 'Sheets and Objects'
10028         
10029         * app/sheets_dialog.c: [new file] definition of 'Sheets & Objects' dlgs
10031         * app/sheets_dialog.h: [new file] support for Sheets & Objects dlgs 
10032         
10033         * app/app_procs.c: added call to sheets_dialog_create() in app_init()
10034         
10035         * app/sheets_dialog_callbacks.c: [new file] callbacks for S & O dialogs
10037         * app/sheets_dialog_callbacks.h: [new file] support for " " "
10039         * app/interface.c: added 'interface_current_sheet_name' global to 
10040           fill_sheet_wbox(); made fill_sheet_menu() non-static
10042         * app/interface.h: added extern declaration for aboves.
10044         * app/sheets.c: [new file] instantiation and other funcs for S & O dlgs
10046         * app/sheets.h: [new file] declarations for backing store structures
10048         * lib/sheet.c: modification of new_sheet() parameters; introduction
10049           of USER and SYSTEM scope for sheets; procedure for sorting sheets;
10050           changes to load_register_sheet().
10052         * lib/sheet.h: added 'user_data_type' field to SheetObject structure;
10053           added 'has_icon_on_sheet' flag to SheetObject structure; added 
10054           'filename', 'scope', 'shadowing' fields to Sheet structure.
10056         * lib/plug-ins.c: moved _PluginInfo declaration to header file where
10057           it belongs.
10059         * lib/plug-isn.h: see above.
10061         * lib/object.c: added 'sheet.h' to include list; added several 
10062           functions
10063           to detect objects which are not found on any sheet (for future use)
10064           object_type_detect_nosheet_callback(), object_types_detect_nosheet(),
10065           object_type_get_sheet_name(), object_type_strip_sheet_from_name().
10067         * lib/object.h: added public declarations for above functions where
10068           necessary.
10070         * objects/custom/custom.c: made custom_object_load() non-static so we
10071           can load and interpret .shape files from the Sheets & Objects dialog
10073         * objects/custom/custom_object.c: made 'custom_type' non-static so 
10074           we can differentiate between SVG shapes and other types.a
10076 2002-04-07  Hans Breuer  <hans@breuer.org>
10078         * app/object_ops.c (object_list_align_v): Fix the 'Leak fix'
10079         from 2002-01-22 to not destroy diagram->data->selected. 
10080         Avoids to crash on Objects/Align/Vertical/Top
10082         * app/render_eps.c (draw_string) : un-const buffer
10083         It isn't at all const (g_malloc(), assignment, g_free()).
10084         Doesn't gcc catch such ?
10086         * lib/arrows.h : prototype calculate_arrow_point()
10088         * lib/font.c (font_get_suckfont) : no need to
10089         special case gdk_draw_string() with GTK_TALKS_UTF8,
10090         cause all the parameter differences are handled above
10092         * lib/libdia.def : updated externals
10094         * lib/makefile.msc : removed string_prerenderer, added render
10096         * lib/render.c (draw_rect) : don't pass a Point** if a Point*
10097         is expected. [Sometimes it's good to read compiler warnings.]
10099         * objects/standard/image.c : simplified by use of g_strconcat()
10101         * plug-ins/python/makefile.msc : updated for Python 2.2
10103 2002-04-03  Lars Clausen  <lrclause@cs.uiuc.edu>
10105         * objects/standard/zigzagline.c (zigzagline_draw): Fixed
10106         directionality problem for zero-length line segments.
10108 2002-03-28  Lars Clausen  <lrclause@cs.uiuc.edu>
10110         * app/diagram.c (diagram_ungroup_selected) 
10111         (diagram_update_menu_sensitivity): Now allows ungrouping of
10112         several groups at once.
10114 2002-03-15  Lars Clausen  <lrclause@cs.uiuc.edu>
10116         * lib/render.c, all renderers: Binary incompatibility, change to
10117         expandable renderops structure.
10119 2002-03-15  Steffen Macke <sdteffen@yahoo.com>
10121         * objects/standard/Makefile.am:
10122         * objects/network/Makefile.am:
10123         * objects/UML/Makefile.am:
10124         * objects/ER/Makefile.am:
10125         * objects/FS/Makefile.am:
10126         * objects/flowchart/Makefile.am:
10127         * objects/custom/Makefile.am:
10128         * objects/GRAFCET/Makefile.am:
10129         * objects/chronogram/Makefile.am:
10130         * objects/SADT/Makefile.am:
10131         * plug-ins/cgm/Makefile.am:
10132         * plug-ins/pstricks/Makefile.am:
10133         * plug-ins/hpgl/Makefile.am:
10134         * plug-ins/wpg/Makefile.am:
10135         * plug-ins/svg/Makefile.am:
10136         * plug-ins/shape/Makefile.am: added $(UNICODE_CFLAGS)
10137         
10138 2002-03-13  Lars Clausen  <lrclause@cs.uiuc.edu>
10140         * app/render_eps.c: Support for dumping TrueType fonts (taken from
10141         ttfps).
10143 2002-03-12  Lars Clausen  <lrclause@cs.uiuc.edu>
10145         * lib/render.c: New abstract super class for renderers.
10147 2002-03-07  Akira TAGOH  <tagoh@redhat.com>
10149         * objects/ER/attribute.c (attribute_save): save a font property.
10150         (attribute_load): load a font property, and if can't load it, it's
10151         initialized.
10153         * objects/ER/entity.c (entity_save): save a font property.
10154         (entity_load): load a font property, and if can't load it, it's
10155         initialized.
10157         * objects/ER/relationship.c (relationship_save): save a font property.
10158         (relationship_load): load a font property, and if can't load it, it's
10159         initialized.
10161         * objects/UML/class.c (fill_in_fontdata): don't replace if it already
10162         has a vaule.
10163         (umlclass_save): save the font and the font size properties.
10164         (umlclass_load): load the font and the font size properties.
10166 2002-03-05  Cyrille Chepelov  <cyrille@chepelov.org>
10168         * lib/string_prerenderer.[ch] (REMOVED):
10169         * lib/render.h:
10170         * lib/diagramdata.c:
10171         * lib/Makefile.am:
10172         * app/render_eps.c: got rid of the string-specific string
10173         prerenderer, transitioned its functionality towards Lars'
10174         two-phase rendering
10176 2002-03-05  Lars Clausen  <lrclause@cs.uiuc.edu>
10178         * configure.in: Using Freetypes own check for ver >= 1.0.5.  You
10179         may need to rerun aclocal.
10181 2002-03-04  Lars Clausen  <lrclause@cs.uiuc.edu>
10183         * lib/font.c: First attempt at Unicodeness for Freetype.
10185 2002-03-02  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
10187         * lib/font.c (font_string_width): Fixed font_string_width for
10188         freetype.  BB is now almost right.
10190 2002-03-01  Lars Clausen  <lrclause@cs.uiuc.edu>
10192         * app/render_eps.h: 
10193         * app/paginate_psprint.c (paginate_psprint): 
10194         * lib/font.c: 
10195         * app/render_eps.c: Support for dumping postscript fonts into
10196         postscript files with freetype.  Fairly primitive, but works.
10197         Unicode version may have problems.
10199 2002-02-28  Akira TAGOH  <tagoh@redhat.com>
10201         * objects/UML/class_dialog.c (class_read_from_dialog)
10202         (class_fill_in_dialog), (class_create_page): add the font selector and
10203         the font size selector.
10205         * objects/UML/class.c (umlclass_draw): uses each font_height.
10206         (umlclass_calculate_data): ditto.
10207         (fill_in_fontdata): add initial value of new font_height.
10208         (umlclass_copy): add new font_height.
10210 2002-02-27  Cyrille Chepelov  <chepelov@calixo.net>
10212         Patch from Geoff Gerrietts <ggerrietts@yahoo.com>:
10213         
10214         * lib/font.c: calculate font metrics properly and stop guessing at
10215         string widths.
10217 2002-02-28  Akira TAGOH  <tagoh@redhat.com>
10219         * configure.in: changed gtk_advancement value to dia_talks_utf8.
10220         right now Dia is working with UTF-8 internally. it means Dia probably
10221         support most languages also including the languages which heretofore
10222         didn't work correctly.
10224 2002-02-26  Akira TAGOH  <tagoh@redhat.com>
10226         * objects/FS/function.c: add related text properties.
10227         (function_get_props), (function_set_props): add handling attribute.
10229         * objects/FS/flow.c: add related text properties.
10230         (flow_get_props), (flow_set_props): add handling attribute.
10232         * objects/FS/flow-ortho.c: add related text properties.
10233         (orthflow_set_props), (orthflow_get_props): add handling attribute.
10235         * objects/ER/relationship.c: add PROP_STD_TEXT_FONT to property.
10237         * objects/ER/entity.c: ditto.
10239         * objects/ER/attribute.c: ditto.
10241 2002-02-26  Cyrille Chepelov  <cyrille@chepelov.org>
10243         Patch contributed by Geoff Gerrietts <ggerrietts@yahoo.com>:
10244         
10245         * autogen.sh: add a check for missing intltoolize.
10247 2002-02-20  Akira TAGOH  <tagoh@redhat.com>
10249         * lib/ps-utf8.c (unicode_to_ps_name): if this function calls with same
10250         charcode, it was registered the duplicate item to HashTable. fix.
10252         * app/render_gnomeprint.c (get_width_string): add new function.
10253         (draw_string): fix non-multibyte specific code.
10255 2002-02-19  Cyrille Chepelov  <cyrille@chepelov.org>
10257         Patch contributed by Matthieu Sozeau <mattam@netcourrier.com>:
10258         
10259         * lib/font.c: do not try to search paths that do not begin with
10260         '/', like X Font Server addresses.
10261         
10262         * objects/UML/message.c (message_draw): free mname when not 
10263         message->text but CREATE or DESTROY.
10264         
10265         * objects/UML/uml.h:
10266         * objects/UML/uml.c:
10267         * objects/UML/class_dialog.c: added code to handle a stereotype 
10268         attribute for operations.
10270 2002-02-19  Akira TAGOH  <tagoh@redhat.com>
10272         * lib/Makefile.am: add LIBART_CFLAGS.
10274 2002-02-15  Hans Breuer  <hans@breuer.org>
10276         * lib/font.c (font_get_suck_font): the black and white pixel values 
10277         need to be taken from a 1 bit colormap rather than the default colormap.
10278         (fixed again, last time was 2000-05-26)
10280         Also handle the case where GTK_TALKS_UTF8 and expects all strings
10281         passed in to be in this encoding.
10283         * lib/libdia.def : export suck_font_free()
10285         * lib/text.c (text_draw) : avoid circular dependency to ../app
10286         at least for the !USE_XIM case, where it is unnecessary.
10288 2002-02-15  Cyrille Chepelov  <cyrille@chepelov.org>
10290         Changes contributed by Matts Kivik <kivik@firstlinux.net>:
10291         
10292         * shapes/Circuit/microphone_de.(shape|xpm) (NEW):
10293         * sheets/Circuit.sheet.in: added new shape microphone
10294         * shapes/Circuit/speaker_de.shape: Added a connection point.
10295         
10296 2002-02-13  Akira TAGOH  <tagoh@redhat.com>
10298         * app/render_libart.c (draw_string): fixed build issue for Win32.
10300         * lib/font.c (font_get_suckfont): fixed typo. it could't build under
10301         Win32.
10303         * configure.in: fixed testing gtk_advancement.
10305         * app/render_gnomeprint.c (draw_string): uses utfchar instead of char.
10307 2002-02-12  Akira TAGOH  <tagoh@redhat.com>
10309         * lib/text.c (text_draw): fixed XIM position, when menubar is shown for
10310         diagram window.
10312 2002-02-11  Lars Clausen  <lrclause@cs.uiuc.edu>
10314         * app/group.c (group_copy): Made new object properly initialized
10315         before copy.
10317 2002-02-11  Steffen Macke <sdteffen@yahoo.com>
10319         * app/Makefile.am: added plug-ins to DIA_LIB_PATH in run_dia.sh
10320         
10321 2002-02-10  Akira TAGOH  <tagoh@redhat.com>
10323         * lib/text.c (text_draw): fixed XIM transaction.
10325         * app/interface.c (create_display_shell): add signal for
10326         size_allocate.
10328         * app/disp_callbacks.c (ddisplay_size_allocate): add new function for
10329         XIM transaction.
10330         (set_input_dialog): remove.
10331         (ddisplay_canvas_events): remove XIM transaction. it can't transact
10332         correctly on this function.
10334 2002-02-10  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
10336         * app/app_procs.c:
10337         * app/export_png.c: Added checks for interactivity (maybe this
10338         should be a hook after all?).
10340         * app/filedlg.c (file_export_callback): Made export dialog add
10341         suffix when reopened.
10343         * app/export_png.c: Added dialog asking for export size.
10345 2002-02-09  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
10347         * lib/widgets.c: Fixed font reselection problem and first font
10348         bogus warning.
10350         * objects/UML/actor.c (actor_update_data): Changed to have
10351         connection points below text.
10353 2002-02-08  Akira TAGOH  <tagoh@redhat.com>
10355         * lib/text.c (text_split_line): use g_strndup() instead of g_malloc()
10356         and memcpy().
10358 2002-02-07  Akira TAGOH  <tagoh@redhat.com>
10360         * lib/font.c (font_get_suckfont): rewrited. generating suckfont from
10361         strings which is given.
10362         (suck_font): remove. it's any longer needed.
10364         * app/render_libart.c (set_font): don't get suckfont.
10365         (draw_string): get suckfont only which is needed for now.
10367 2002-02-05  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
10369         * lib/text.c: Fixes for misunderstood width functions.
10371 2002-02-05  Hans Breuer  <hans@breuer.org>
10373         * lib/dia_xml.c : use g_strconcat() instead of 
10374         malloc, strcpy, strcat dance
10375         * app/properties.c : same here and plug memory leak
10376         (gtk functions don't eat strings)
10378         * objects/UML/message.c : there is no g_sprintf()
10379         use g_strdup_printf() instead ...
10381 2002-02-05  Akira TAGOH  <tagoh@redhat.com>
10383         * lib/message.c (gtk_message_internal): doesn't need to convert to
10384         UTF-8.
10386         * app/render_libart.c (draw_string): fixed transaction for UTF-8
10387         support.
10388         (get_text_width): ditto.
10390         * app/Makefile.am (EXTRA_DIST):
10391         s/paginate_gdiprint.c/paginate_gdiprint.cpp/
10393         * app/render_gdk.c (gdk_freetype_copy_glyph): fixed build issue.
10394         This function needs ifdef HAVE_FREETYPE because don't use it for
10395         --disable-freetype
10397 2002-02-04  Cyrille Chepelov  <cyrille@chepelov.org>
10399         * NEWS: updated with the new dependencies.
10400         
10401         Patch from Matthieu Sozeau <mattam@netcourrier.com>:
10403         * objects/UML/class.h:
10404         * objects/UML/class.c:  
10405         * objects/UML/class_dialog.c: added code to handle the UMLParameterKind
10406         property using a GtkMenu. Options are Undefined, In, Out, In & Out
10408 2002-02-04  Lars Clausen  <lrclause@cs.uiuc.edu>
10410         * app/render_libart.c: Slow but working libart freetype renderer,
10411         with color!
10413 2002-02-03  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
10415         * app/render_gdk.c (draw_string): Fixed gc_function bug.
10417         * lib/widgets.c (dia_font_selector_init): Sorts the font list.
10419         * lib/font.c (freetype_render_string): 
10420         * lib/font.h:
10421         * app/render_gdk.c:
10422         * app/render_gdk.h: Changed freetype_render_string to use
10423         callback.  Rendering is broken.
10425 2002-02-03  Cyrille Chepelov  <cyrille@chepelov.org>
10427         Patch from Matthieu Sozeau <mattam@netcourrier.com>:
10429         * objects/UML/uml.h:    
10430         * objects/UML/uml.c: added UMLInheritanceType and isQuery
10431         (constant) UML Operation attributes. UMLInheritanceType is either
10432         UML_ABSTRACT or UML_POLYMORPHIC  or UML_LEAF.
10434         * objects/UML/class.h:
10435         * objects/UML/class.c:  
10436         * objetcs/UML/class_dialog.c: added code to handle new
10437         UMLOperation attributes via a GtkMenu and a checkbox.
10439 2002-02-03  Akira TAGOH  <tagoh@redhat.com>
10441         * app/disp_callbacks.c (ddisplay_realize): fixed XIM issue.
10442         several client doesn't work with previous codes.
10444 2002-02-01  Lars Clausen  <lrclause@cs.uiuc.edu>
10446         * lib/font.c (freetype_render_string): Kerning.  Very few fonts
10447         seem to use it.
10449 2002-02-02  Akira TAGOH  <tagoh@redhat.com>
10451         * app/disp_callbacks.c (ddisplay_canvas_events): fixed crashes,
10452         when doing the operation like invert the objects after active view is
10453         destroyed. when changes focus, it needs to set active_display.
10455         * app/layer_dialog.c (dia_layer_update_from_layer):
10456         (layer_dialog_edit_layer): need to convert to locale encoding
10457         if GTK_DOESNT_TALK_UTF8_WE_DO is defined.
10458         (edit_layer_ok_callback):
10459         need to convert to UTF8 if GTK_DOESNT_TALK_UTF8_WE_DO is defined.
10461         * lib/diagramdata.c (new_diagram_data): ditto.
10463         * app/layer_dialog.c (layer_dialog_new_callback): ditto.
10465         * lib/diagramdata.c (new_layer): use utfchar instead of char for
10466         argument.
10468         * lib/widgets.c: if HAVE_FREETYPE isn't defined, it can't build. fixed.
10469         (dia_font_selector_set_styles): when HAVE_FREETYPE is defined only,
10470         it's needed for now. also this function needs prototype declaration.
10472 2002-01-31  Lars Clausen  <lrclause@cs.uiuc.edu>
10474         * lib/widgets.c: Style now functional on font selector.  Some leak
10475         possible, but doesn't show up under stress test.
10477 2002-01-31  Akira TAGOH  <tagoh@redhat.com>
10479         * app/plugin-manager.c (clist_select_row): name and description needs to
10480         convert to locale encoding, when GTK_DOESNT_TALK_UTF8_WE_DO is defined.
10481         (get_plugin_manager): ditto.
10483         * lib/plug-ins.c (dia_plugin_info_init): name needs to convert to UTF-8.
10485         * app/diagram_tree.c (get_object_name): fixed transaction for UTF-8
10486         support.
10488         * lib/prop_text.c (stringprop_reset_widget): fixed crashes,
10489         when prop->string_data is NULL.
10491 2002-01-30  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
10493         * lib/widgets.c: 
10494         * lib/widgets.h: New font selector separating font and style.
10495         Style not functional yet.
10497 2002-01-30  Lars Clausen  <lrclause@cs.uiuc.edu>
10499         * lib/text.c: 
10500         * app/render_gdk.c (draw_string): More freetype support, now
10501         renders text.  Still broken is font selection and exporting.
10503 2002-01-30  Akira TAGOH  <tagoh@redhat.com>
10505         * objects/chronogram/chronoref.c (chronoref_create): missing gettextize
10506         for font.
10508         * objects/chronogram/chronoline.c (chronoline_create): ditto.
10510         * objects/UML/usecase.c (usecase_create): ditto.
10512         * objects/UML/state.c (state_create): ditto.
10514         * objects/UML/object.c (objet_create): ditto.
10516         * objects/UML/node.c (node_create): ditto.
10518         * objects/UML/message.c (message_create): ditto.
10520         * objects/UML/component.c (component_create): ditto.
10522         * objects/UML/classicon.c (classicon_create): ditto.
10524         * objects/UML/actor.c (actor_create): ditto.
10526         * objects/SADT/box.c (sadtbox_create): ditto.
10528         * objects/SADT/annotation.c (annotation_create): ditto.
10530         * objects/GRAFCET/transition.c (TRANSITION_FONT): ditto.
10532         * objects/GRAFCET/step.c (STEP_FONT):
10533         * (step_create): ditto.
10535         * objects/GRAFCET/condition.c (CONDITION_FONT): ditto.
10537         * objects/GRAFCET/action.c (ACTION_FONT):
10538         (action_create): ditto.
10540         * objects/FS/function.c (function_create): ditto.
10542         * objects/FS/flow.c (flow_create):
10543         (flow_load): 
10544         (flow_apply_defaults): ditto.
10546         * objects/FS/flow-poly.c (flow_create):
10547         (flow_load):
10548         (flow_apply_defaults): ditto.
10550         * objects/FS/flow-ortho.c (orthflow_create):
10551         (orthflow_load):
10552         (orthflow_apply_defaults): ditto.
10554         * objects/ER/relationship.c: use utfchar instead of char for structure.
10555         (relationship_create): name needs to convert to UTF-8.
10557         * objects/ER/attribute.c: use utfchar instead of char for structure.
10558         (attribute_create): name needs to convert to UTF-8.
10560         * objects/ER/entity.c: use utfchar instead of char for structure.
10561         (entity_create): name needs to convert to UTF-8.
10563         * app/interface.c (fill_sheet_wbox): needs to convert UTF-8 to locale
10564         encoding for tooltips, if GTK_TALKS_UTF8 isn't defined.
10565         (fill_sheet_menu): needs to convert UTF-8 to locale encoding for menu
10566         items. if GTK_TALKS_UTF8 isn't defined.
10568 2002-01-29  Akira TAGOH  <tagoh@redhat.com>
10570         * objects/UML/class.c (umlclass_calculate_data): fixed malloc size.
10571         it was my careless mistake...
10573         * lib/attributes.c (attributes_set_default_font): temporarily gettextize
10574         a font name, because there are strings which isn't shown by "Courier".
10575         We need to consider a way to feel free to choose a font at runtime.
10577         * lib/render_object.c (render_object_load): ditto.
10579         * lib/text.c (data_text): ditto.
10581         * objects/EML/instantiation.c (instantiation_create): ditto.
10583         * objects/EML/interaction-ortho.c (interaction_ortho_create):
10584         (interaction_ortho_load): ditto.
10586         * objects/EML/interaction.c (interaction_create):
10587         (interaction_load): ditto.
10589         * objects/EML/process.c (fill_in_fontdata): ditto.
10591         * objects/ER/attribute.c (attribute_create): 
10592         (attribute_load): ditto.
10594         * objects/ER/entity.c (entity_create): 
10595         (entity_load): ditto.
10597         * objects/ER/relationship.c (relationship_create): 
10598         (relationship_load): ditto.
10600         * objects/UML/association.c (association_create): 
10601         (association_load): ditto.
10603         * objects/UML/class.c (fill_in_fontdata): ditto.
10605         * objects/UML/constraint.c (constraint_create): ditto.
10607         * objects/UML/dependency.c (dependency_create): ditto.
10609         * objects/UML/generalization.c (generalization_create): ditto.
10611         * objects/UML/implements.c (implements_create): ditto.
10613         * objects/UML/large_package.c (largepackage_create): ditto.
10615         * objects/UML/note.c (note_create): ditto.
10617         * objects/UML/realizes.c (realizes_create): ditto.
10619         * objects/UML/small_package.c (smallpackage_create): ditto.
10621         * objects/custom/shape_info.h (FONT_DEFAULT): ditto.
10623         * objects/custom/custom_object.c (custom_create): ditto.
10625         * objects/network/antenna.c (render_to_store): ditto.
10627         * objects/network/computer.c (render_to_store): ditto.
10629         * objects/network/disc.c (render_to_store): ditto.
10631         * objects/network/flash.c (render_to_store): ditto.
10633         * objects/network/hub.c (render_to_store): ditto.
10635         * objects/network/modem.c (render_to_store): ditto.
10637         * objects/network/modularswitch.c (render_to_store): ditto.
10639         * objects/network/monitor.c (render_to_store): ditto.
10641         * objects/network/printer.c (render_to_store): ditto.
10643         * objects/network/rj45plug.c (render_to_store): ditto.
10645         * objects/network/scead-plug.c (render_to_store): ditto.
10647         * objects/standard/textobj.c (textobj_load): ditto.
10649         * objects/sybase/client.c (render_to_store): ditto.
10651         * objects/sybase/dataserver.c (render_to_store): ditto.
10653         * objects/sybase/ltm.c (render_to_store): ditto.
10655         * objects/sybase/repserver.c (render_to_store): ditto.
10657         * objects/sybase/rsm.c (render_to_store): ditto.
10659         * objects/sybase/stableq.c (render_to_store): ditto.
10661         * plug-ins/dxf/dxf-import.c (read_entity_text_dxf): ditto.
10663         * objects/UML/uml.h (UML_STEREOTYPE_START):
10664         (UML_STEREOTYPE_END): changes default strings.
10666 2002-01-28  Akira TAGOH  <tagoh@redhat.com>
10668         * objects/UML/stereotype.c (string_to_bracketted): fixed transaction
10669         for UTF-8 support. if GTK+ and Dia don't handle UTF-8, all of characters
10670         which is given to arguments isn't UTF-8. so don't need to convert it.
10671         if GTK+ handle UTF-8, also don't need to convert it.
10672         (strend): remove.
10673         (bracketted_to_string): fixed transaction for UTF-8 support.
10674         also start/end bracket is not necessarily 1 character. so that when use
10675         strend(), it doesn't work correctly.
10676         (string_to_stereotype): use utfchar instead of char.
10677         (remove_stereotype_from_string): ditto.
10678         (stereotype_to_string): ditto.
10680         * objects/UML/stereotype.h: ditto.
10682         * objects/UML/message.c: use utfchar instead of char for structure.
10683         (MESSAGE_CREATE_LABEL, MESSAGE_DESTROY_LABEL): remove.
10685         * objects/UML/small_package.c: use utfchar instead of char for structure.
10687         * objects/UML/realizes.c: ditto.
10689         * objects/UML/object.c: ditto.
10691         * objects/UML/large_package.c: ditto.
10693         * objects/UML/implements.c: ditto.
10695         * objects/UML/generalization.c: ditto.
10697         * objects/UML/dependency.c: ditto.
10699         * objects/UML/constraint.c: ditto.
10701         * objects/UML/component.c: ditto.
10703         * objects/UML/class_dialog.c (attributes_get_current_values):
10704         (attributes_list_new_callback, attributes_fill_in_dialog):
10705         (parameters_set_values, parameters_get_values):
10706         (parameters_get_current_values, parameters_list_new_callback):
10707         (operations_set_values, operations_get_values):
10708         (operations_get_current_values, operations_list_new_callback):
10709         (operations_fill_in_dialog, templates_set_values):
10710         (templates_get_values, templates_get_current_values):
10711         (templates_list_new_callback, templates_fill_in_dialog):
10712         fixed transaction for UTF-8 support.
10714 2002-01-27  Akira TAGOH  <tagoh@redhat.com>
10716         * objects/UML/message.c (message_draw): fixed transaction for UTF-8 support.
10718         * objects/UML/class_dialog.c (class_read_from_dialog):
10719         (class_fill_in_dialog):
10720         (attributes_get_values): ditto.
10722         * objects/UML/actor.c (actor_create): ditto.
10724         * objects/UML/class.c (umlclass_calculate_data): ditto.
10726         * objects/UML/association.c (association_apply_properties):
10727         (fill_in_dialog): ditto.
10729         * objects/UML/uml.c (uml_get_attribute_string):
10730         (uml_get_operation_string):
10731         (uml_get_parameter_string):
10732         (uml_get_formalparameter_string): use utfchar instead of char.
10734         * objects/UML/uml.h: gettextize UML_STEREOTYPE_START and
10735         UML_STEREOTYPE_END.
10737         * objects/UML/class.h: use utfchar instead of char.
10739         * lib/dia_xml.c (data_add_string): ditto.
10741         * lib/text.c (text_insert_char): fixed characters# calculation
10742         when includes multibytes character in strings.
10744 2002-01-26  Steffen Macke  <sdteffen@yahoo.com>
10746         Patch from Richard Rowell <rwrowell@bellsouth.net>:
10748         * app/lineprops_area.c:
10749         * lib/arrows.h:
10750         * lib/arrows.c: 
10751         * lib/widgets.c: added crow foot arrow and cross arrow
10752         
10753         Patch from Frank Gevaerts <frank.gevaerts@fks.be>:
10754         
10755         * plug-ins/svg/render_svg.c: fixed arcs, fill and text alignment
10757 2002-01-26  Cyrille Chepelov  <cyrille@chepelov.org>
10759         * po/update.pl (REMOVED):
10760         * po/update.sh (REMOVED):
10761         * xml-i18n-merge.in.kg (REMOVED):
10762         * xml-i18n-update.in.kg (REMOVED):
10763         * sheets/Makefile.am:
10764         * Makefile.am:
10765         * autogen.sh:
10766         * configure.in: converted from xml-i18n-tools to intltools
10768         This looks like it fixes the build bugs of the snapshot tarballs, 
10769         and it supersedes #69611.       
10771 2002-01-25  Akira TAGOH  <tagoh@redhat.com>
10773         * lib/text.c (text_insert_char): fixed characters# calculation.
10774         it's not string length.
10776         * lib/plug-ins.c (dia_plugin_info_init): when GTK_DOESNT_TALK_UTF8_WE_DO
10777         is defined, needs to convert a description to UTF-8.
10779         * app/render_gdk.c (get_text_width): fixed transaction for
10780         UTF-8 support. also should uses gdk_text_width_wc() instead
10781         of gdk_text_width().
10783         * app/render_gdk.c (draw_string): when GTK_DOESNT_TALK_UTF8_WE_DO
10784         is defined, needs to convert to locale encoding for display.
10785         Also use utfchar instead of char for argument.
10787 2002-01-24  Hans Breuer  <hans@breuer.org>
10789         * app/commands.c(edit_paste_callback and more) : 
10790         call diagram_modified(ddisp->diagram) to fix #68083
10791         (help_menu_callback) : plug a DIR leak
10793         * app/disp_callbacks.c(ddisplay_canvas_events) : handle 
10794         GTK_TALKS_UTF8_WE_DONT
10796         * app/render_gdk.c(get_text_with) : it's a bad idea to use
10797         gdk_string_with() when GTK_TALKS_UTF8_WE_DONT instead of
10798         gdk_text_width(). The length value is still questionable ...
10800         * lib/charconv.c : use functions already available in early
10801         GLIB-1.3 days whiches API hasn't changed since, to avoid
10802         version problems with the win32 build
10804         * lib/font.c : finally fix #58045 and #68208
10806         * lib/dia_xml.c (xmlDiaSaveFile) : gzdopen in binary mode
10808 2002-01-24  Akira TAGOH  <tagoh@redhat.com>
10810         * app/disp_callbacks.c (ddisplay_canvas_events): when event returned
10811         no strings, fixed transaction.
10813         * lib/charconv.h: fixed typo.
10815         * app/menus.c: fixed typo.
10817         * lib/charconv.c (charconv_utf8_strchr): remove. use uni_strchr instead.
10819         * objects/UML/object.c: attrib's type uses utfchar instead of char.
10821         * app/disp_callbacks.c (ddisplay_canvas_events): forget g_free()
10823         * lib/text.c (text_create_change): use unichar instead of char.
10825         * lib/text.c (data_add_text, data_text, apply_textstr_properties):
10826         use utfchar instead of char.
10828         * lib/text.c (text_insert_char, text_key_event): fixed transaction for
10829         UTF-8 support.
10831         * lib/charconv.c (charconv_utf8_get_char): add new function.
10833 2002-01-23  Akira TAGOH  <tagoh@redhat.com>
10835         * lib/text.c (text_delete_forward, text_delete_backward,
10836         text_split_line): fixed transaction for UTF-8 support.
10838         * lib/text.c (text_copy): when UNICODE_WORK_IN_PROGRESS is defined,
10839         strlen[] has string length for UTF-8, so has to use alloclen[].
10841         * dia.pot: remove.
10843         * .cvsignore: add dia.pot.
10845 2002-01-24  Stanislav Visnovsky  <visnovsky@nenya.ms.mff.cuni.cz>
10847         * configure.in: Added "sk" to ALL_LINGUAS.
10849 2002-01-22  Akira TAGOH  <tagoh@redhat.com>
10851         * lib/text.c (text_set_string, new_text, text_copy,
10852         text_get_string_copy, text_join_lines): use utfchar instead of gchar
10853         for strings.
10855         * lib/text.c (set_string): use charconv_utf8_strchr() instead of
10856         strchr().
10858         * lib/charconv.c (charconv_utf8_strchr): add new function.
10860         * lib/charconv.c (charconv_keyval_to_unicode): ditto.
10862         * lib/charconv.c (charconv_utf8_from_gtk_event_key): ditto.
10864         * app/disp_callbacks.c (ddisplay_canvas_events): needs to convert
10865         strings to the appropriate encoding.
10867 2002-01-22  Lars Clausen  <lrclause@cs.uiuc.edu>
10869         * app/object_ops.c (object_list_align_[hv]): Leak fix.
10871         * lib/Makefile.am (INCLUDES): Added debug flags.
10873         * app/object_ops.c: Fixed ordering problem of align equi-distant &
10874         adjacent. 
10876 2002-01-21  Akira TAGOH  <tagoh@redhat.com>
10878         * lib/font.c (font_string_width): use gdk_text_width_wc() instead of
10879         gdk_string_width().
10881         * objects/GRAFCET/boolequation.c: fixed invalid comment.
10883         * objects/UML/stereotype.c (string_to_bracketted): fixed build problem
10884         when defined UNICODE_WORK_IN_PROGRESS.
10886         * lib/dia_xml.c (data_add_string): fixed typo.
10888 2002-01-20  Akira TAGOH  <tagoh@redhat.com>
10890         * configure.in: fixed test gtk_advancement.
10892 2002-01-019  Steffen Macke  <sdteffen@yahoo.com>
10894         * plug-ins/svg/render_svg.c: fix for #69053, alignment of text
10895         exported to SVG
10897         Patch from M.C. Nelson <mcn@mani.kobayashimaru.org>: 
10899         * app/recent_files.[ch]: reworked to support GNOME, accelerators,
10900         tool tips, preferences, and arbitrarily long ~/.dia/history
10902         * app/menus.c: made 'Plugins' consistantly spelled and accelerated;
10903         removed 'Open Recent'; added new separators for recent documents on
10904         File menu.
10906         * app/interface.[ch] (interface_get_toolbox_shell): new function
10908         * app/diagram.c: added new parameter to recent_file_history_add() call
10910         * app/preferences.[ch]: added new 'Recent documents list size'
10911         preferences item
10912         
10913 2002-01-18  Akira TAGOH  <tagoh@redhat.com>
10915         * lib/font.c (font_get_gdkfont_helper): use gdk_fontset_load ().
10916         if it failed, should be used gdk_font_load ().
10918         * lib/font.c (font_data): added the font entries for CJK.
10920 2002-01-17  Steffen Macke  <sdteffen@yahoo.com>
10922         Patch from M.C. Nelson <mcn@mani.kobayashimaru.org>:
10924         * app/menus.c: replaced GDK_F1 with "F1" to fix segfault on startup
10925         
10926 2002-01-04  Cyrille Chepelov  <cyrille@chepelov.org>
10928         Patch from Martin Cracauer <cracauer@cons.org>:
10929         
10930         * app/menus.c: add missing #include <gdk/gdkkeysyms.h> (useful in the
10931         non-GNOME case ?)
10933 2002-01-01  Hans Breuer  <hans@breuer.org>
10935         * app/command.c : optional use GDI printing on windoze
10937         * app/preferences.[hc] : add option 'prefer_psprint' to 
10938         select the print engine to use (could be used for Dia/Gnome
10939         as well)
10941         * app/paginate_gdiprint.(h|cpp) : new files, which interlink the
10942         wmf plug-in with the common win32 print api. Now printing
10943         should work almost as expected from a windows program :-)
10945         * app/diagram.c app/menus.[hc] : rename _UpdatableMenuItems.delete
10946         to .edit_delete to avoid clashes with C++
10948         * app/makefile.msc : updated for GDI printing
10950         * plug-ins/wmf/wmf.cpp : some small modifications to support
10951         GDI printing. Also swap R and B channel in draw_image()
10953         * app/makefile.am : added windows only files to EXTRA_DIST
10955         * objects/uml/class.c(umlclass_set_props) : force recalculation
10956         when applying properties
10958         * lib/charconv.c lib/dia_xml.c : temporary back-ported to
10959         glib-1.3.2 (for win32) IMHO causes recent cvs introduces too
10960         many incompatible changes (and would force a gtk update)
10962         * objects/makefile.msc : don't build C-Objects which are
10963         already available as 'pure shape'
10965         * plug-ins/makefile.msc : remove diaimport from build. It was
10966         only available via mailing-list and is broken since the
10967         StdProp overhaul.
10970         Patch from Jose A Ortega Ruiz  <jaortega@acm.org>
10972         * app/preferences.[hc] : tweaked preferences.c to make 
10973         PREF_STRING work. Use it for 'diagram_tree_hidden'. Also
10974         added some more DiagramTree prefererences and their own
10975         notebook page.
10977         * app/diagram_tree.[hc] : allow to sort by object type or name
10978         and hide by type ...
10979         * app/diagram_tree_menu.[hc] : ... add respective menu entries ...
10980         * app/diagram_tree_menu_callbacks.[hc] : ... and callbacks.
10982         * app/diagram_tree_window.c : handle hidden types and window
10983         size restoring.
10985 2001-12-20  Hans Breuer  <hans@breuer.org>
10987         * plug-ins/python/Makefile.am : patch from Peter Moulder 
10988         <pmoulder@csse.monash.edu.au> to make the python plug-in
10989         compile on *nix too.
10991 2001-12-03  Cyrille Chepelov  <chepelov@calixo.net>
10993         Patch from Alan <horkana@tcd.ie>:
10995         * app/menus.c: bind the F1 shortcut to the Help/_Manual function.
10997 2001-11-20  Hans Breuer  <hans@breuer.org>
10999         * app/makefile.msc : add new diagram_tree_menu(_callbacks).obj
11001 2001-11-18  Jose A Ortega Ruiz  <jaortega@acm.org>
11003         * app/diagram_tree.[hc] : Added new functions and types for
11004         sorting diagram and objects, and attaching the popup menus.
11006         * app/preferences.h: Added more diagram tree preferences, using a
11007         DiagramTreeConfig struct in DiaPreferences. The new prefs are the
11008         height and width of the diagram tree window and the default sort
11009         orders for diagrams and objects.
11011         * app/preferences.c (prefs_data): Added new entries for the new
11012         diagram tree preferences.
11014         * app/preferences.c (prefs_tabs): New tab for diagram tree
11015         preferences.
11017         * app/diagram_tree_window.[hc] (create_diagram_tree_window): 
11018         * app/diagram_tree_window.c (diagram_tree_window_new): 
11019         * app/interface.c (create_tree_window): The diagram tree window is
11020         initialised using the DiagramTreeConfig part of prefs.
11023 2001-11-14  Jose A Ortega Ruiz  <jaortega@acm.org>
11025         * app/diagram_tree_menu.[hc]: New files. Functions to create the
11026         diagram tree popup menus.
11028         * app/diagram_tree_menu_callbacks.[hc]: New files. Callbacks for
11029         the diagram tree popup menus.
11031         * app/Makefile.am (dia_core_files): diagram_tree_menu* files
11032         added.
11034 2001-11-13  Jose A Ortega Ruiz  <jaortega@acm.org>
11036         * app/diagram_tree.c (double_click_callback, diagram_tree_new):
11037         double-clicking a diagram tree node raises the diagram window
11038         to the foreground (and, if a object node was clicked, selects the
11039         object in the diagram).
11041         * app/diagram_tree.c (select_tree_widget): selecting an object
11042         node with single click simply updates it (no raise).
11044 2001-11-08  Jose A Ortega Ruiz  <jaortega@acm.org>
11045         These changes make the diagram tree lazy: it is not created unless
11046         the diagram tree window is requested.
11047         
11048         * app/diagram_tree_window.[hc] (create_diagram_tree_window): new
11049         function for creating the tree window.
11051         * app/interface.c (create_tree_window): call
11052         create_diagram_tree_window() instead of diagram_window().
11054         * app/diagram_tree.c (diagram_tree_add, diagram_tree_remove) 
11055         (diagram_tree_update, diagram_tree_update_name) 
11056         (diagram_tree_add_object, diagram_tree_add_objects) 
11057         (diagram_tree_remove_object, diagram_tree_remove_objects) 
11058         (diagram_tree_update_object): accept a NULL tree as a nominal
11059         argument (and do nothing in this case!), so that the diagram tree
11060         is not initialised if not used.
11062         * app/diagram_tree_window.c (diagram_tree): do not create the
11063         diagram tree until diagram_window() or diagtree_show_callback()
11064         are invoked.
11066 2001-10-31  Jose A Ortega Ruiz  <jaortega@acm.org>
11067         [slightly modified and applied from Hans Breuer <hans@breuer.org>]
11069         * app/diagram_tree_window.[hc] : (new files) implementation of 
11070         the diagram tree window, a container for a diagram tree. [Removed
11071         the horizontal scroll bar glitch by disableing it]
11073         * app/diagram_tree.[hc] : (new files) implementation of the 
11074         diagram tree widget. [Don't rely on the layers GPtrArray to be
11075         NULL terminated, but use its ->len field] 
11077         * app/Makefile.am (dia_core_files): added new files
11078         diagram_tree.[hc] and diagram_tree_window.[hc]
11080         * app/interface.[hc] : (create_tree_window): this function 
11081         creates the new diagram tree window widget
11083         * app/undo.c (delete_objects_apply) (delete_objects_revert) 
11084         (insert_objects_apply) (insert_objects_revert) (group_objects_apply) 
11085         (ungroup_objects_apply) (ungroup_objects_revert): 
11086         every time that an undoable command modifies a diagram 
11087         adding/removing/(un)grouping objects, a diagram_tree_something() is 
11088         invoked to keep the diagram tree window in sync
11090         * app/properties.c (properties_apply): call to
11091         diagram_object_modified(), which updates the diagram tree window
11092         when the properties of an object are modified
11094         * app/preferences.[hc] : new "show_diagram_tree" configuration option 
11095         (whether the diagram tree window should be shown on dia startup)
11097         * app/menus.c : added '<Toolbox>/File/Diagram Tree' entry
11099         * app/diagram.h (diagram_object_modified): callback notifying of a
11100         diagram object modification
11102         * app/diagram.c (diagram_load_into): added call to
11103         diagram_tree_add() to add newly loaded diagrams to the diagram
11104         tree window
11105         (diagram_destroy): call to diagram_tree_remove() to remove a
11106         destroyed diagram from the diagram tree window
11107         (diagram_add_object): call to diagram_tree_add_object() to add an
11108         object to the diagram tree window
11109         (diagram_add_object_list): as above, but with an object list
11110         (diagram_selected_break_external): deletion of objects from the
11111         diagram is detected here, and diagram_tree_remove_object() is
11112         invoked to remove the object from the diagram tree window (it
11113         would be nice to have a diagram_remove_object() in the Diagram
11114         interface)
11115         (diagram_set_filename): update the diagram tree window when a
11116         diagram's filename changes
11118         * app/commands.c (file_new_callback): added call to
11119         diagram_tree_add() to add newly created diagrams to the diagram
11120         tree window
11122         * app/app_procs.c (app_init): added call to create_tree_window()
11124         * app/makefile.msc : updated
11126 2001-10-28  Hans Breuer  <hans@breuer.org>
11128         * app/preferences.h (DiaPreferences): 
11129         * app/preferences.c (prefs_data): new "show_diagram_tree"
11130         configuration option (whether the diagram tree window should be
11131         shown on dia startup)
11133         * app/menus.c: added the new "<Toolbox>/View/Diagram tree" menu
11134         entry (both for GNOME and gtk)
11136         * app/diagram.h (diagram_object_modified): callback notifying of a
11137         diagram object modification
11139         * app/diagram.c (diagram_load_into): added call to
11140         diagram_tree_add() to add newly loaded diagrams to the diagram
11141         tree window
11142         (diagram_destroy): call to diagram_tree_remove() to remove a
11143         destroyed diagram from the diagram tree window
11144         (diagram_add_object): call to diagram_tree_add_object() to add an
11145         object to the diagram tree window
11146         (diagram_add_object_list): as above, but with an object list
11147         (diagram_selected_break_external): deletion of objects from the
11148         diagram is detected here, and diagram_tree_remove_object() is
11149         invoked to remove the object from the diagram tree window (it
11150         would be nice to have a diagram_remove_object() in the Diagram
11151         interface)
11152         (diagram_set_filename): update the diagram tree window when a
11153         diagram's filename changes
11155         * app/commands.c (file_new_callback): added call to
11156         diagram_tree_add() to add newly created diagrams to the diagram
11157         tree window
11159         * app/app_procs.c (app_init): added call to create_tree_window()
11161 2001-10-28  Hans Breuer  <hans@breuer.org>
11163         * plug-ins/python/pydia-property.c : apparently I missed
11164         to commit this last time. Now it has some more SetAttr
11165         support (apply from property)
11167         * plug-ins/python/pydia-properties.h : added PyDiaProperty_Check
11169         * plug-ins/python/pydia-text.[ch] : new files
11171 2001-10-14  Hans Breuer  <hans@breuer.org>
11173         * lib/charconv.c : g_locale_to_utf8() does not handle NULL
11174         strings. Use g_strdup() for these.
11176         libxml2 does not produce 'any extra indentation when saving a tree'
11177         [libxml2-2.4.2/doc/upgrade.html] anymore, which was the default with
11178         libxml(1). To get human readable XML some extra tweaking is required.
11179         It is enabled by setting 'pretty_formated_xml' to 'true' in 'diarc'.
11180         * lib/dia_xml.[hc] : provide and use 'DIAVAR pretty_formated_xml'
11181         * app/preferences.[ch] : initialize 'pretty_formated_xml'
11183         * lib/libdia.def : updated externals
11185         * lib/properties.h : add prototype for prop_list_from_single ()
11187         * plug-ins/makefile.msc : build metapost plug-in
11189         * plug-ins/metapost/render_metapost.c : msvc does not like
11190         switch labels without operation 'default: }'. Added a noop.
11192         * plug-ins/python/pydia-text.[hc] : (new files) wrap DiaText
11193         * plug-ins/python/diamodule.c : added PyDiaText 
11194         * plug-ins/python/makefile.msc : dito. Also added LIBXML_CFLAGS.
11195         Although the python plug-in does not use libxml at all, the
11196         headers are required to use the lib/prop*.h headers
11198         * plug-ins/python/pydia-diagramdata.c : added wrappers for
11199         update_extents and get_sorted_selected (should I duplicate
11200         more functions from PyDiaDiagram or should they be moved?)
11202         * plug-ins/python/pydia-properties.c : allow to set (some) properties
11203         through the dictionary api
11204         * plug-ins/python/pydia-property.h : declare PyDiaProperty_ApplyToObject
11205         * plug-ins/python/pydia-property.c : implement it (currently only
11206         string properties can be set)
11208         Reimplement PyDiaProperty_GetAttr by means of the new StdProp api.
11209         Quoting myself: 'Still not convinced that this is better than an 
11210          integral property->type and some casting ...
11211          It is trading a straightforward 40 lines switch statement to
11212          this nice 'type safe' function mapping (about 125 lines)'
11213         (But now it works again, better than changing the News file :)
11214         
11215 2001-10-14  Cyrille Chepelov  <chepelov@calixo.net>
11217         patch from <robert.young@dsto.defence.gov.au>: 
11218         * objects/UML/component.c: remember to set font in UML component
11219         object (fixes #62132)   
11221 2001-10-02  Lars Clausen  <lrclause@cs.uiuc.edu>
11223         * plug-ins/metapost/metapost.c: 
11224         * plug-ins/metapost/Makefile.am:
11225         * plug-ins/metapost/render_metapost.c:
11226         * plug-ins/metapost/render_metapost.h:
11227         Metapost renderer from Chris Sperandio
11229 2001-09-14  Hans Breuer  <hans@breuer.org>
11231         * app/render_gdk.c : reflect the fact, that GTK already talks
11232         UTF8 on win32, fixes #59982, #56100, (#55992 ?) ...
11234         * lib/font.c : 
11235         * app/render_libart.c : trying to fix #58045 but it appears
11236         to be an Gdk/win32, too. 
11238         * lib/charconv.c : handle utf8 conversion with the help of
11239         glib-1.3 even in the !HAVE_UNICODE case.
11241         * lib/dia_xml.c : reduce complaing about missing encoding, by
11242         detecting if the default (utf8) would break the file.
11244 2001-09-13  Cyrille Chepelov  <chepelov@calixo.net>
11246         * lib/charconv.c: (get_local_charset): at least please try to not 
11247         silently change the logic, while avoiding crashes. 
11249         * lib/font.c: (suck_font): put a #error, we have a nasty something
11250         to fix there before we switch to Gtk 2.0.
11251         
11252 2001-09-09  Hans Breuer  <hans@breuer.org>
11254         * **/makefile.mingw : Approach to compile Dia with mingw.
11255         Compiling mostly works but running does not (yet) ... 
11257         * lib/geometry.h : 
11258         - use G_OS_WIN32 instead of _MSC_VER to drag in isinf, etc. definitions. 
11259           Apparently mingw needs it too.
11260         - enable 'normalization' of a null verctor. Otherwise the beziergon
11261           bounding box calculation would be broken at least with msvc. What's
11262           the mathematical correct result of 0.0/0.0 ?
11264         * lib/dia_xml.c : isinf() for mingw too.
11266         * lib/dia_dirs.c : use MAX_PATH instead of _MAX_PATH (works for mingw 
11267         and msvc)
11269         * lib/charconv.c : still crashes if strcmp(NULL, "UTF-8"). 
11270         Please don't do it.
11272         * lib/font.c : Trying to reflect that GTK_TALKS_UTF8_WE_DONT
11274         * lib/libdia.def : updated externals. Apparently mingw needs
11275         them to produce the right mangling.
11277         * plug-ins/shape/shape-exports.c : get prototypes for xmlStrdup
11278         and xmlDiaSaveFile
11280 2001-09-08  Wang Jian  <lark@linux.net.cn>
11282         * configure.in(ALL_LINGUAS): Renamed zh_CN.GB2312 to zh_CN
11284 2001-09-07  Cyrille Chepelov  <chepelov@calixo.net>
11286         * lib/dia_xml_libxml.h:
11287         * lib/dia_xml.c: (data_add_string), (xmlDiaSaveFile): Duplicated
11288         libxml1's code, to rework the output file before it gets committed
11289         to disk. This is rubbish, and will be removed when libxml2
11290         switches from discouraged to mandatory. 
11291         All in all, this fixes #60152. 
11292         
11293         * lib/charconv.h: 
11294         * lib/charconv.c: (charconv_unichar_to_utf8):
11295         made the type of the input parameter explicitly an unsigned long.
11297         * configure.in: Added a check for libz (we must now include it
11298         explicitly, for xmlDiaSaveFile).
11299         
11300         * app/load_save.c: (diagram_data_save):
11301         * lib/plug-ins.c: (ensure_pluginrc), (info_fill_from_pluginrc),
11302         (dia_pluginrc_write):
11303         * plug-ins/shape/shape-export.c: (new_shape_renderer),
11304         (end_render), (draw_string):
11305         * plug-ins/svg/render_svg.c: (new_svg_renderer), (end_render),
11306         (draw_string):
11308         Made sure we always write UTF-8 XML files, and through
11309         xmlDiaSaveFile().
11311         * NEWS: documented that fact.
11312         
11313 2001-09-07  James Henstridge  <james@daa.com.au>
11315         * configure.in (found_libxml): refactor the check for libxml a
11316         little so that it handles finding both libxml1 and 2 better.
11318 2001-09-03  Cyrille Chepelov  <chepelov@calixo.net>
11320         * app/app_procs.c: removed a spurious } which caused a compilation
11321         error in the (!HAVE_GNOME && HAVE_POPT_H) case
11323         * lib/charconv.c: (get_local_charset): some versions of iconv(1)
11324         don't know what ANSI X3.4-1968 is. I didn't know until this day,
11325         but it's just plain old ASCII. Added a check to shield the poor
11326         XML library.
11328         Patches from <robert.young@dsto.defence.gov.au>:
11330         * lib/text.c: (text_calc_boundingbox) Bounding box now calculates the
11331         width and height of text before calculating bounds. Fixes #59928
11333         * app/preferences.c: Moved grid related items into Grid Tab.
11334         
11335 2001-09-02  Cyrille Chepelov  <chepelov@calixo.net>
11337         * app/interface.c: (create_zoom_widget): connected one more signal
11338         to the Zoom selector combo's list. Fixes #59879.
11340         * app/app_procs.[ch]: (app_init) (do_convert)
11341         (build_output_file_name): brought back into the main executable
11342         the rare useful bits of the ill-fated diaconv. This means we have
11343         one new feature : --export-to-format (-t), which should make
11344         writing conversion scripts easier, and a crude implementation of
11345         -t and -e for the poptless argument parsing, which means the Win32
11346         port should be able to take advantage of it (that should make
11347         resolving #58197 possible).
11349         * app/diaconv.c: kept the poor duck compiling (but that's about
11350         it).
11352         * plug-ins/svg/render_svg.c: updated the SVG DTD header (I hope
11353         I've got it right).
11355         * NEWS: updated about the new feature above, and documented the 
11356         "missing encoding specification" complaint. 
11357         
11358 2001-09-01  Abel Cheung  <maddog@linux.org.hk>
11360         * configure.in: Rename zh_TW.Big5 -> zh_TW in ALL_LINGUAS.
11362 2001-09-01  Cyrille Chepelov  <chepelov@calixo.net>
11364         * objects/standard/bezier.c: used g_new0 instead of g_new, to take
11365         care of #59837.
11367 2001-09-01  James Henstridge  <james@daa.com.au>
11369         * */Makefile.am: various changes to include missing files, and fix
11370         sheets dir to handle building with builddir != srcdir.
11372         * autogen.sh: unconditionally pass the --enable-maintainer-mode
11373         and --enable-db2html flags so that builds from CVS work correctly.
11375         * configure.in: increment version number.  Also add an
11376         --enable-db2html flag.  Without the flag, db2html won't be run (if
11377         the flag is passed and db2html is not present, do nothing).
11379 2001-08-30  Cyrille Chepelov  <chepelov@calixo.net>
11381         * lib/poly_conn.c: (polyconn_copy): it's a wonder this routine
11382         even compiled. It's really too bad there is no lint tool easily
11383         available (or a more cautious, pedandic, paranoid and verbose
11384         compiler). Anyway, this fixes #59662. (this didn't affect 0.88.x)
11386 2001-08-27  Cyrille Chepelov  <chepelov@calixo.net>
11388         * app/load_save.c:
11389         * dia/lib/plug-ins.c: use g_strdup() instead of strdup(). Patch
11390         from <robert.young@dsto.defence.gov.au>. Fixes #59591.
11392         * app/menu.c: added ellipsis(...) to diagram properties menu item.
11393         * app/dia-props.c: diagram properties dialog contents did not
11394         represent current diagram settings.
11395         * app/dia-props.[ch]:
11396         * app/display.c: diagram properties contents now follows currently
11397         selected diagram.
11398         Patch also from <robert.young@dsto.defence.gov.au>, fixes #59409.
11400         * AUTHORS: added Robert Young.
11401         
11402 2001-08-27  Cyrille Chepelov  <chepelov@calixo.net>
11404         * app/modify_tool.c: (modify_button_release): Patch from
11405         <robert.young@dsto.defence.gov.au>. Fixes the remaining bit from
11406         #59090: if selection dragging was released outside of the window, 
11407         artifacts of the selection box remained.
11409 2001-08-25  Cyrille Chepelov  <chepelov@calixo.net>
11411         * Objects/custom/shape_info.c: added missing #include <xmlmemory.h>
11413 2001-08-19  Cyrille Chepelov  <chepelov@calixo.net>
11415         * configure.in:
11416         * sheets/Makefile.am: prepared the terrain for the Version of
11417         xml-i18n-tools Which Comes After 0.9 (and which will feature at
11418         last a sane behaviour with XML files). Some reasonible delay
11419         before enforcing that version *will* be given.
11421         * xml-i18n-merge.in.kg: included the current CVS xml-i18n-merge.in
11422         
11423         * lib/plug-ins.c: <xmlmemory.h> defines xmlFree(), otherwise it
11424         becomes a nonexistent symbol.
11425         
11426 2001-08-18  Hans Breuer  <hans@breuer.org>
11428         * app/app_procs.c : made it compile without ENABLE_NLS
11430         * app/diap_callbacks.c : strcmp isn't guaranteed to work
11431         with NULL pointers
11433         * app/load_save.c :
11434         * lib/plug-ins.c : 
11435         * objects/custom/shape_info.c : avoid mixing allocators and dealocators. 
11436         It has to be :
11437                 xmlGetProp, ... -> xmlFree
11438                 malloc, strdup -> free
11439                 g_new, g_malloc, g_strdup - > g_free
11441         * app/win32print.c : some more error checking, still not
11442         working on Win9x
11444         * lib/charconv.c : get_local_charset is used even with !HAVE_UNICODE
11446         * lib/dia_xml.c : msvc still has no unistd.h
11448         * lib/dia_xml.c :
11449         * lib/sheets.c : temporary resolved libxml include brokeness
11451         * plug-ins/python/pydia-*.c : reflect Font and StdProp api
11452         changes. Compiles again, but doesn't do anything useful anymore.
11453         (see THE_PROP_TYPE_IS_INTEGRAL)
11455         * **/makefile.msc : updated to use LIBXML2
11457         * lib/libdia.def : reflect api changes
11459 2001-08-17  Cyrille Chepelov  <chepelov@calixo.net>
11461         * config.h.win32: added defines telling that gtk speaks UTF8.
11462         Hans, I believe this reflects what GTK on Win32 does.
11464         * app/app_procs.c: if GTK talks UTF8, we'll feed it UTF8 localised
11465         strings.        
11466         * lib/prop_inttypes.c: 
11467         * lib/prop_text.c:
11468         * lib/prop_widgets.c: fixed typos in the GTK_TALKS_UTF8_WE_DONT
11469         code path.
11470         
11471         * lib/plug-ins.c: (dia_register_plugins_in_dir): If there is a
11472         trailing // (or whatever (G_DIR_SEPARATOR * 2) is), a recursive
11473         search for plug-ins is done.
11474         * app/Makefile.am: made app/run_dia.sh use the // capability. No
11475         need to update this anymore if we get a new plug-in library (or
11476         remove one).
11478         * lib/dia_xml.c: #include <unistd.h> was missing.
11479         
11480         * lib/properties.h: 
11481         * lib/proplist.c: (pdtpp_defaults): Added a new flag,
11482         PROP_FLAG_NO_DEFAULTS. Will be used in the "automatic defaults"
11483         support.        
11485 2001-08-16  Cyrille Chepelov  <chepelov@calixo.net>
11487         * sheets/civil.sheet: removed duplicate "Danish" entries.
11489         * autogen.sh:
11490         * configure.in: 
11491         * .cvsignore:
11492         * sheets/Makefile.am: 
11493         * po/POTFILES.in:
11494         * Makefile.am: applied the xml-i18n-tools README's instructions.
11496         * po/(da de fr hu nl nn no sl).po: merged the translations from
11497         the sheet files into the .po files. I hope I haven't mixed
11498         languages...
11499         * sheets/*.sheet (REMOVED):
11500         * sheets/*.sheet.in (NEW): moved the sheet files sans
11501         translations into .sheet.in files. 
11502         
11503         * sheets/xml-i18n-unicodify: (NEW) included from xml-i18n-tools,
11504         because we don't yet want to force all translators to work using
11505         UTF-8 editors. We'll want to do that sometime (sooner rather than
11506         later). Okay, I sing a slightly different tune in po/ChangeLog...
11508         * dia.desktop (REMOVED):
11509         * dia.desktop.in (NEW): used also the x18t infrastructure for
11510         this too.
11512         * xml-i18n-update.in.kg (NEW): This one will stay in CVS until an
11513         "official" version of x18t with support for .sheet files is available.
11514         * xml-i18n-merge.in.kg (NEW): This one will stay in CVS until an
11515         "official" version of x18t which doesn't corrupt UTF-8 data in XML
11516         is available.
11517         
11518         ** yes, we are now using xml-i18n-tools to manage the sheet
11519         translations. For the Win32 build, Nemo stores snapshots of
11520         translated strings next to the CVS snapshots. **
11522         * sheets/checktrans.py: suddenly, some sheets have lots of
11523         translations (objects which existed before sheets, mostly).
11524         Adapted the formatting.
11526         * po/README (REMOVED): this is obsolete ! It was ignored, anyway.
11528         * app/display.[ch]: (ddisplay_autoscroll), (ddisplay_scroll):
11529         * app/modify_tool.[ch]: (modify_motion): A (modified) patch from
11530         <robert.young@dsto.defence.gov.au>, to fix #59090.
11532         * app/display.c: (ddisplay_scroll): While at it, added some
11533         margin, so that autoscrolling can happen within a margin outside
11534         the diagram's extents.
11536         * app/tool.[ch]: 
11537         * app/interface.c:
11538         * app/disp_callbacks.c: Robert "forced" me to go when I usually
11539         don't, namely the app/ directory. So while I was there, I
11540         scratched a long-time itch. If no object has focus, pressing the
11541         space bar will select back the tool which was selected before the 
11542         current one (I find this especially useful with "reset after create" !)
11543         
11544         * lib/proplist.c: (prop_list_from_single): Renamed
11545         prop_list_singleton() to avoid confusion with the Singleton
11546         pattern (which it definitely is not).
11547         
11548         * lib/propobject.c: (object_prop_by_name_type),
11549         (object_prop_by_name): The "flags" parameter was not necessary.
11550         These don't return synthetic properties, but properties built from
11551         a real property description list; therefore, we don't call
11552         make_new_prop() but use the existing property descriptor, which
11553         has perfectly valid (and meaningful) flags.
11555         * lib/proplist.c: (pdtpp_synthetic), (pdtpp_from_object): These
11556         new predicates better reflect the reason why properties exist when
11557         they're created by make_new_prop() or object_prop_by_name().    
11559         * lib/propobject.c: (object_prop_by_name_type), (object_prop_by_name):
11560         * lib/prop_basic.c: (make_new_prop): used the new reasons instead
11561         of pdtpp_true().
11563         * lib/properties.h: reflects all the above changes.
11565         * objects/SADT/arrow.c:
11566         * objects/SADT/annotation.c:
11567         * sheets/SADT.sheet: minor renamings to better match FIPS 183's
11568         IDEF0 terminology.
11569         
11570 2001-08-15  Cyrille Chepelov  <chepelov@calixo.net>
11572         * lib/properties.h:
11573         * lib/proplist.c: (prop_list_singleton):
11574         * lib/propobject.c: (object_prop_by_name_type), (object_prop_by_name):
11575         Added these, to simplify interactions of plug-ins with the StdProp
11576         core.
11578         * lib/Makefile.am:
11579         * lib/dia_xml.h:
11580         * lib/dia_xml_libxml.h (NEW): 
11581         * app/load_save.c:
11582         * lib/dia_xml.c:
11583         * lib/plug-ins.c:
11584         * lib/sheet.c:
11585         * objects/custom/shape_info.c: A few prototypes were causing
11586         #include hell, because we generally attempt to not pull the whole
11587         libxml header set when we include dia_xml.h. Moved those
11588         prototypes away for the rare cases they're necessary.
11589         
11590 2001-08-15  Hans Breuer  <hans@breuer.org>
11592         * lib/font.c : made LARS_TRACE_MESSAGES Standard C conform
11594         * lib/libdia.def : 
11595         * lib/makefile.msc : updated
11597         * lib/prop_basic.c : __FUNCTION__ is a gcc extension. Please
11598         use G_GNUC_FUNCTION instead.
11600         * lib/prop_inttypes.c : include <stdlib.h> for strtol()
11602         * objects/sadt/annotation.c : disable TEMPORARY_EVENT_TEST for
11603         msvc instead of cleaning missing includes
11605         * plug-ins/wmf/wmf.cpp :
11606         * plug-ins/wmf/wmf_gdi.h : fixed for Font to DiaFont renaming
11608 2001-08-15  Cyrille Chepelov <chepelov@calixo.net>
11610         * app/app_procs.c:
11611         * app/load_save.c:
11612         * lib/dia_xml.c:
11613         * lib/plug-ins.c:
11614         * lib/sheet.c:
11615         * objects/custom/shape_info.c:
11616         * plug-ins/shape/shape-export.c:
11617         * plug-ins/svg/render_svg.c: used the libxml1/libxml2
11618         compatibility macros as taught by http://xmlsoft.org/upgrade.html;
11619         removed xmlKeepBlanksDefault(0) in favour for proper
11620         xmlIsBlankNode() testing. Lots of other fixups to use the
11621         "libxml1.5" (libxml2 parser embedded in recent libxml1), and to
11622         make libxml1 output correct files.
11624         * configure.in: use libxml2 (>= 2.3.9) if it's found, or
11625         libxml1 (>= 1.8.14). Exactly one of these must be installed (devel
11626         packages). If both devel packages are found, the build will stop 
11627         (Fredrik: please add a Build-Conflicts: on libxml2-dev for the moment) 
11629         * lib/bezier_conn.c: (bezierconn_init): Lars, you forgot to
11630         allocate the first handle :-)
11631         
11632         * lib/object.c: (object_init): <gratuitous>g_new() used instead of
11633         a cast and a sizeof.</gratuitous>
11635         * objects/custom/custom_object.c: (custom_copy): don't call
11636         text_get_attrbutes if the shape has no text...
11637         (custom_update_data): The info->resize_with_text code was a bit
11638         directive; basically, the shape's bounding box was forced to be 
11639         proportional to the text's bounding box.... This fixes #57187.
11640         
11641         * objects/custom/shape_info.c: (load_shape_info): Set an obvious
11642         default for info->aspect_ratio; unobfuscated a line about
11643         info->resize_with_text;
11644         
11645 2001-08-15  Cyrille Chepelov <chepelov@calixo.net>
11647         * lib/properties.h: added comments next to the PROP_TYPEs to tell
11648         which C Property subclass to use.
11649         
11650         * plug-ins/dxf/dxf-import.c: (read_entity_line_dxf): Removed the
11651         cast-ridden form of setting properties in a list, in favour for
11652         the "local pointers" form. I'll take any better offer...
11654 2001-08-14  Cyrille Chepelov <chepelov@calixo.net>
11655         
11656         * lib/font.c: fprintf(...) --> fprintf(format...)
11658         * configure.in: added a disabled versioned test for glib.
11659         * lib/prop_geomtypes.c: (bezpointprop_load), (bezpointprop_save),
11660         (bezpointarrayprop_load), (bezpointarrayprop_save): replaced
11661         g_critical() with a simple g_error(). Proper fix is to implement
11662         that stuff. 
11664         * lib/properties.h: PROP_STD_TEXT is a PROP_TYPE_TEXT, not a
11665         PROP_TYPE_STRING.
11666         
11667         * lib/properties.h:     
11668         * lib/propdesc.c: (prop_desc_list_calculate_quarks):
11669         * lib/proplist.c: (find_prop_by_name_and_type):
11670         * lib/prop_basic.c: (make_new_prop), (initialize_property):
11671         * lib/propoffsets.c: (do_set_props_from_offsets),
11672         (do_get_props_from_offsets), (prop_offset_list_calculate_quarks):
11673         Added a type_quark member to PropDescription, Property and
11674         PropOffset. Used it to implement a safety in
11675         do_[sg]et_props_from_offsets().
11676                 
11677         * objects/flowchart/diamond.c: the diamond's text was not saved,
11678         and thus not even copied (c&p).
11679         * objects/standard/textobj.c: ditto.
11681         Most of the above changes thanks to Robert Young's testing. Thanks !
11682         
11683 2001-08-14  Kjartan Maraas  <kmaraas@gnome.org>
11685         * sheets/*.sheet: Added some Norwegian translations (both nynorsk
11686         and bokmÃ¥l).
11687         
11688 2001-08-13  Cyrille Chepelov  <chepelov@calixo.net>
11690         * lib/proplist.c (prop_list_from_descs): added a call to
11691         prop_desc_list_calculate_quarks(). (find_prop_by_name_and_type):
11692         too embarrassing to tell.
11693         
11694         * lib/propdesc.c (prop_desc_list_calculate_quarks): converted the
11695         while loop to a for loop, for symmetry with
11696         prop_offset_list_calculate_quarks().
11698         * lib/geometry.h: new inline function, rectangle_equals.
11700         * lib/diagramdata.[ch]: refactored a bit the diagram extents
11701         computation logic, and changed it to always be the union of the
11702         visible layers' extents. This should close #58882 (Debian
11703         #107167), and fixes #55498.
11705         * app/display.c: made the initial visible box more coherent with
11706         the diagram being loaded's extents.
11708         * app/prop_attr.c: don't set the font (from offset) if font_data
11709         is NULL. Two brainos in colorprop_load() and fontprop_load().
11710         
11711 2001-08-13  Cyrille Chepelov  <chepelov@calixo.net>
11713         * lib/properties.[ch]: split in a lot of pieces: 
11715         * lib/prop_*.[ch] (NEW): all property types are now first-class
11716         objects, inheriting from the original abstract Property type.
11717         * lib/propdesc.c (NEW): property description handling routines
11718         * lib/propoffsets.c (NEW): property offset handling routines
11719         * lib/proplist.c (NEW): property list handling routines
11720         * lib/propobject.c (NEW): property list <-> object routines
11721         * lib/propregistry.c (NEW): holds the PropertyType-->PropertyOps
11722         relations.
11723         * lib/propinternals.h: prototypes for stuff not usually needed by 
11724         the outside of StdProps.
11725         * lib/Makefile.am: a lot of new files have been added...
11727         THE ABOVE CHANGES ARE MAJOR CHANGES AND AFFECT THE WHOLE TREE, IN
11728         BOTH INTERFACES AND RUN-TIME STABILITY.
11730         * lib/plug-ins.h: bumped up DIA_PLUGIN_API_VERSION
11731         
11732         * lib/object.h: removed the incestuous relationship with
11733         properties.h' contents. Now a Property list is a GPtrArray -->
11734         object interface change !
11736         * app/app_procs.c/app_init(): removed a disabled call to a
11737         non-existent routine. Added a call to stdprops_init().
11738         
11739         * objects/Makefile.am: disabled the construction of EML. I'm not
11740         touching these until a certain issue is solved (or this module
11741         removed).
11742         * app/group.c:  
11743         * objects/**/*.c except objects/EML/*: adapted all stdprop-using 
11744         objects to the interface changes.
11745         
11746         * app/disp_callbacks.c: killed a warning.
11747         * lib/dia_xml.[ch]: sprinkled "const" modifiers. 
11749         * app/commands.c: 
11750         The macros PROP_VALUE_* have disappeared. Adapted to using the new 
11751         interface.
11753         * plug-ins/dxf/dxf-import.c: 
11754         * plug-ins/xfig/xfig-import.c: 
11755         PROP_VALUE_* macros have been removed. Converted to the new API.
11757         * plug-ins/python/**/*: I gave up converting this; I can't
11758         compile --with-python (problems with object.h defined both by us
11759         and by Python). I'll gladly help whomever cares to fix it !
11760         (or, fix it myself if someone tells me how to compile it).
11761         
11762         * configure.in: added the UNICODE-related progress defines.
11763                 
11764         * configure.in:
11765         * lib/geometry.h: On Solaris and perhaps other systems, finite()
11766         is defined in ieeefp.h rather than in math.h. Patch from Andrew
11767         Halper <ashalper@acm.org> with further modifications, isinf() is
11768         provided by -lsunmath (sunmath.h).
11769         
11770         * lib/font.c: conditionally disabled Lars' debugging messages.
11771         Bracketed the definition of DiaFontFamily with #ifdef HAVE_FREETYPE.
11772         
11773 2001-08-11  Lars Clausen  <lrclause@cs.uiuc.edu>
11775         * lib/bezier_conn.h: 
11776         * objects/standard/bezier.c (bezierline_create): 
11777         * lib/bezier_conn.c (bezierconn_init): 
11778         Preparations for use of userdata for bezier lines.
11779         
11780         * objects/standard/polygon.c: 
11781         * objects/standard/create.h:
11782         * lib/polyshape.c:
11783         * lib/polyshape.h:
11784         * plug-ins/xfig/xfig-import.c:
11785         Use of user_data for polygon as well, including adding
11786         polyshape_set_points.  Include file for non-interactive 
11787         creation of standard objects, objects/standard/create.h
11789 2001-08-10  Lars Clausen  <lrclause@cs.uiuc.edu>
11791         * app/render_gdk.c: 
11792         * app/render_gdk.h: 
11793         * lib/font.c:
11794         * lib/font.h:
11795         * lib/widgets.c:
11796         More preliminary freetype support.  Not at all functional, crashes
11797         when rendering.
11799         * lib/poly_conn.h: 
11800         * lib/poly_conn.c: 
11801         * objects/standard/polyline.c: 
11802         Support for creating polyline objects with more than two points.
11803         This includes an extra function and a prototype change in the
11804         poly_conn lib object.
11806         * lib/object.c (object_copy): Fixed memory leak of handles and
11807         connections.
11809 2001-08-08  Abel Cheung  <maddog@linux.org.hk>
11811         * dia.desktop: added traditional Chinese strings
11813 2001-08-04  Cyrille Chepelov  <chepelov@calixo.net>
11815         * NEWS: updated to reflect build-time dependencies.
11817         * lib/properties.[ch]: wrote get_prop_descriptions() as a wrapper
11818         around obj->ops->describe_props(obj). Quarks are none of an
11819         object's business in the general case... 
11820         * lib/text.c: Added an apply_textattr_properties() function to
11821         factor out some common code related to applying a dialog's text
11822         attribute properties to a (Text *) which wasn't edited there. 
11823         Ditto for textstr, for the string part of an objet.
11825         * objects/GRAFCET/action.c:
11826         * objects/SADT/annotation.c:
11827         * objects/SADT/box.c: used apply_textattr_properties().
11828         
11829         * objects/UML/actor.c: 
11830         * objects/UML/branch.c:
11831         * objects/UML/component.c:
11832         * objects/UML/constraint.c:
11833         * objects/UML/small_package.c:
11834         * objects/UML/state.c:
11835         * objects/UML/usecase.c:
11836         * objects/UML/large_package.c:
11837         * objects/UML/note.c:
11838         * objects/UML/node.c:
11839         * objects/UML/message.c:
11840         * objects/UML/classicon.c:
11841         * objects/UML/object.c:
11842         * objects/UML/realizes.c:
11843         * objects/UML/dependency.c:
11844         * objects/UML/implements.c:
11845         slim-fast(tm) cure using more StdProps, and UTF-8 audit.
11846         (most objects were already using StdProps to some extent ; this
11847         systematises usage and removes some dead wood). 
11848         
11849         * objects/UML/stereotype.[ch]: use UTF-8 internally. const police work.
11850         * objects/UML/uml.[ch]: audited for UTF-8.
11852         * objects/UML/class.c: the UML_STEREOTYPE_* strings defined by
11853         uml.h can be in UTF-8... this code isn't yet ready. Duplicating a
11854         private (ISO-8859-1) definition.
11855         
11856         * lib/charconv.c: Added a warning if we didn't run
11857         nl_langinfo(CODESET) but rely instead on a hardcoded default.
11858         
11859 2001-08-02  Cyrille Chepelov  <chepelov@calixo.net>
11861         * lib/diamenu.h:
11862         * app/disp_callbacks.c: added a way for an object to cause an
11863         already realised menu to be destroyed (for instance if it changes
11864         too much).
11866         * objects/custom/custom_object.c: used the above to fix #55073.
11868 2001-08-01  Lars Clausen  <lrclause@cs.uiuc.edu>
11870         * configure.in: Remove 2.50 prereq.
11872 2001-07-30  Cyrille Chepelov  <chepelov@calixo.net>
11874         * po-checktrans.py: under some circumstances, there was one column 
11875         more than what was supposed to be, thus breaking the formatting.
11876         
11877 2001-07-29  Cyrille Chepelov  <chepelov@calixo.net>
11878         
11879         * objects/SADT/annotation.c: forgot to add a #include <stdlib.h>
11881         * NEWS: updated with new stuff since 0.88
11883         * shapes/network/antenna.shape: the text was misplaced ; fixed.
11885         * shapes/network/firewall.(shape|xpm) (NEW): a brick-wall looking
11886         firewall router (upon request from Cyril Lacoux
11887         <clacoux@easter-eggs.com>)
11889         * configure.in (didn't rename to configure.ac): autoconf 2.50
11890         constructs were used ; added an AC_PREREQ call to guard against
11891         older autoconfs.
11892         
11893 2001-07-27  Cyrille Chepelov  <chepelov@calixo.net>
11895         * lib/properties.c: minor clean-ups with the event delivery code.
11897         * EML/instantiation.c: brought this object back from stone and ice
11898         age.    
11900         * app/diaconv.c(NEW): added a command-line conversion tool. Still
11901         lacks a man page and correctness. In fact, it doesn't work. Please
11902         see #58196 if you want to finish it.
11903         
11904         * lib/message.[ch]: redefined things a little so that a different
11905         message_internal routine could be passed.
11906         applications can use that to fit themselves to the display model.
11908 2001-07-26  Cyrille Chepelov  <chepelov@calixo.net>
11910         * objects/SADT/box.c: 
11911         * objects/GRAFCET/action.c: spelling in property descriptors (name
11912         field...)
11913         * objects/SADT/annotation.c: ditto, plus a temporary test of the
11914         event delivery code (try to click on the "click me !" button !).
11916         * app/group.c: 
11917         * lib/properties.[ch]: improved (fixed) support for group event 
11918         handlers. Fixed various things from yesterday's code to make it
11919         not too obviously crash.
11921 2001-07-26  Cyrille Chepelov  <chepelov@calixo.net>
11923         * app/group.c: added delivery of events to the first member of the
11924         group which is able to process it.
11926         * lib/properties.c(prop_desc_lists_intersection): properties
11927         don't match if they don't have identical event handler.
11928         * lib/properties.h: simplified the PropEventHandler signature.
11930         Event delivery code is still untested so far, but should be
11931         lurking harmless.
11932         
11933 2001-07-25  Cyrille Chepelov  <chepelov@calixo.net>
11935         * lib/properties.[ch]: Added (untested !) property event handler
11936         capability. Added a new PROP_TYPE_BUTTON, for the purpose of
11937         generating such events. This stuff compiles, and should lurk
11938         around silently as long as you don't declare property descriptors
11939         with events (AFAICT).
11940         In object_create_props_dialog() and friends:
11941         attached a single structure with lots of data instead of lots of
11942         little attachments of data to the dialog widget.
11943         
11944         * lib/object.h: fixed mild typedef breakage introduced by the above.
11946 2001-07-17  Lars Clausen  <lrclause@cs.uiuc.edu>
11948         * lots of files: Changed Font to DiaFont
11949         * */Makefile.am: Added FREETYPE_LIBS
11950         * plug-ins/xfig/xfig-export.c: Improved (working:) color handling
11952 2001-07-13  Kjartan Maraas  <kmaraas@gnome.org>
11954         * configure.in: Added "nn" to ALL_LINGUAS.
11955         
11956 2001-07-09  Alex Larsson  <alexl@redhat.com>
11958         * app/disp_callbacks.c:
11959         Add gdk_im_ready() calls to XIM code.
11961 2001-07-04  Cyrille Chepelov  <chepelov@calixo.net>
11963         * lib/properties.[ch]: splitted prop_get_widget() into
11964         prop_get_widget() (gives a widget but doesn't fill it) and 
11965         prop_reset_widget() (fills an existing widget with a property's value).
11967         * lib/widgets.[ch]: const enforcement police work.
11969         * shapes/network/antenna.shape: added a connection point at top,
11970         upon request from <Emmanuel.Quemener@cri.ens-cachan.fr>.
11971         
11972 2001-06-25  Cyrille Chepelov  <chepelov@calixo.net>
11974         * intl/*: tested with gettext-0.10.38
11975         * configure.in: moved a macro call around (AM_PROG_CC) to keep
11976         some of autogen.sh from complaining.
11977         * INSTALL: added a warning against gettext older than at least 0.10.36
11978         
11979 2001-06-19  Cyrille Chepelov  <chepelov@calixo.net>
11981         * configure.in: added explicit calls to AM_LANGINFO_CODESET and
11982         AM_ICONV (both provided by gettext)
11984 2001-06-14  Cyrille Chepelov  <chepelov@calixo.net>
11986         * lib/charconv.c: corrected the degraded mode for when
11987         !HAVE_UNICODE. Thanks to Ben A. Hetland for reporting this.     
11989         * objects/chronoline/chronoline_events.c: UTF8 compliance.
11990         
11991 2001-06-13  Cyrille Chepelov  <chepelov@calixo.net>
11993         * lib/properties.[ch]: convenience macros around PROP_NOTEBOOKS ;
11994         new "eye candy" properties: PROP_MULTICOL_(BEGIN|PAGE|END) to lay 
11995         widgets on several columns, PROP_FRAME_(BEGIN|END) to put widgets
11996         into a frame box.
11998         * objects/chronogram/chronoline.c:
11999         * objects/chronogram/chronoref.c: took advantage of the above to
12000         make nicer looking dialogs.
12002         * lib/charconv.[ch]: added charconv_unichar_to_utf8 ("inspired"
12003         from libunicode's internals).
12004         * lib/message.c: convert strings to local encoding prior to
12005         display (UNICODE_WORK_IN_PROGRESS)
12006         * lib/properties.[ch]: convert strings to local encoding prior to
12007         display, and back to UTF8 (UNICODE_WORK_IN_PROGRESS).
12008         * lib/render.h: tagged strings as (utfchar *) instead of (char *)
12009         * lib/stringprerenderer.[ch]: ditto
12011         (lib/text.c has been audited for UTF8, but the size of the changes
12012         make them inappropriate for commit before 0.89)
12013         
12014 2001-06-12  Cyrille Chepelov  <chepelov@calixo.net>
12016         * objects/boolequation.h (<save|load>_boolequation): made the 
12017         prototypes for match the .c file.
12018         
12019         * samples/grafcet.dia: minor non-conformance with IEC-848
12020         fixed (in the transition from step 100 to step 101).
12022         * lib/properties.[ch]: added a flag (PROP_FLAG_DONT_MERGE) to
12023         disallow editing of properties if the object is part of a group.
12025         * objects/chronogram/chronoline.c: 
12026         * objects/SADT/annotation.c:
12027         * objects/SADT/box.c:
12028         * objects/GRAFCET/step.c:
12029         * objects/GRAFCET/transition.c:
12030         * objects/GRAFCET/condition.c: took advantage of PROP_FLAG_DONT_MERGE.
12031         
12032 2001-06-12  Hans Breuer  <hans@breuer.org>
12034         * lib/libdia.def : removed lazyprop exports
12035         * lib/makefile.msc : removed lazyprop.obj
12037         * objects/custom/custom_objects.c : use HAVE_UNISTD_H
12038         and avoid crashes by always creating a custom->text,
12039         when (custom->info->has_text) 
12041         * objects/makefile.msc : removed sybase from build
12043         * objects/GRAFCET/boolequation.c (<save|load>_boolequation) :
12044         ObjectNode is a pointer already, which is what we want
12045         instead of a pointer pointer.
12047         * plug-ins/wmf/wmf.cpp : fixed problem with arc scaling
12048         and implemented working export for images
12050         * shapes/network/zip-disk.shape : added connection points 
12052 2001-06-12  Cyrille Chepelov  <chepelov@calixo.net>
12054         * objects/SADT/box.c: removed lazyprops for standard props.
12055         * objects/chronograms/chronoline.c: removed lazyprops (phew !)
12056         * objects/chronograms/chronoref.c: ditto 
12058         * lib/Makefile.am:
12059         * lib/dummy_dep.h:
12060         * lib/connpoint_line.c:
12061         * lib/lazyprops.[ch] (DELETED): good riddance (closes #55895)
12062         * lib/properties.[ch]: new property types:
12063             - PROP_TYPE_STATIC: static text to be displayed in the dialog.
12064             - PROP_TYPE_MULTISTRING: same as string, but renders as a
12065             multi-line entry box.
12066             - PROP_TYPE_NOTEBOOK_BEGIN,_PAGE,_END: stuff to make dialogs
12067             in a tabbed-notebook style (this is a bit complicated to use; 
12068             see objects/chronograms/chronoline.c for an example).
12069                
12070 2001-06-11  Cyrille Chepelov  <chepelov@calixo.net>
12072         * objects/GRAFCET/boolequation.[ch]: zap lazyprops. Add standard props.
12073         * objects/GRAFCET/step.c: ditto.
12074         * objects/GRAFCET/vector.c: ditto.
12075         * objects/SADT/annotation.c: ditto.
12076         * objects/SADT/arrow.c: ditto (plus bounding box fixes).
12077         
12078         * lib/properties.[ch]: two more non-visible types
12079         (PROP_TYPE_ENUMARRAY and PROP_TYPE_INTARRAY).
12081         * lib/neworthconn.[ch]:
12082         * lib/orthconn.[ch]: added support for manipulation through
12083         standard properties.
12085         * configure.in: removed -fomit-frame-pointer, this seems to
12086         confuse recent gcc/gdb's, maybe we'll get better stack dumps in 
12087         bugzilla.
12089         * charconv.[ch]: more functions from unicode.h.
12090         get_local_charset() wasn't working properly, fixed now.
12091         A subtle crashbug in charconv_utf8_to_local8() nailed (thanks to 
12092         ElectricFence !)
12093         
12094         * objects/EML/process.h: pulled the bits of lazyprops.h it uses.
12095         * lib/lazyprops.[ch]: put a big fat warning in.
12097         * app/render_eps.c: one line mysteriously went away, causing a
12098         variable to be used uninitialised....
12100 2001-06-10  Cyrille Chepelov  <chepelov@calixo.net>
12102         * app/app_procs.c: commented out the call to
12103         bind_textdomain_codeset(): it's premature.
12104         
12105         * lib/connpoint_line.c: a NULL point can be given to
12106         connpointline_adjust_count(), in case there's not really a clicked
12107         point.
12109         * lib/textattr.h(NEW): moved the definition of TextAttributes to sort
12110         #include order troubles. #included by lib/text.h, so there is no 
12111         impact outside lib/.
12112         * lib/properties.[ch]: added support for CONNPOINT_LINE and
12113         (nonvisible) TEXT properties.
12115         * objects/GRAFCET/action.c:
12116         * objects/GRAFCET/vergent.c: dropped lazyprops for standard
12117         properties.
12118         
12119         * objects/UML/lifeline.c: pruned some legacy stuff (now pure
12120         standard properties code). Grafted a dynamic number of connection
12121         points (heavily inspired from what Vergent does). This is the real
12122         fix for #55863.
12124         * objects/GRAFCET/boolequation.[ch]: audited for UTF-8
12126         * lib/fonts.c: some hardening (mostly g_assert())
12127 2001-06-09  Cyrille Chepelov  <chepelov@calixo.net>
12129         * app/app_procs.c (app_init): added a call to
12130         bind_textdomain_codeset() so that gettext gives us UTF-8 strings
12131         (UNICODE_WORK_IN_PROGRESS).
12132         
12133 2001-06-08  Cyrille Chepelov  <chepelov@calixo.net>
12135         * plug-ins/xfig/xfig-import.c: corrected a typo (fixes #55910)
12137         * objects/UML/lifeline.c: patch from Marc <mrw@siemens.ch> 
12138         (fixes #55863) : some clean-ups in the handling of connection
12139         points. Now the total number of connection points is just a
12140         #define (the proper solution is to retrofit the GRAFCET Vergent's
12141         dynamic behaviour wrt connection points).
12142         
12143 2001-06-07  Cyrille Chepelov  <chepelov@calixo.net>
12145         * app/app_procs.c (app_init): added a call to unicode_init() (only
12146         if HAVE_UNICODE, of course).
12148         * lib/charconv.c: simplified the code which detects the local
12149         charset. No need to use <langinfo.h>, libunicode already takes the
12150         burden of figuring that out. Also, if local charset is utf8, no
12151         conversion will take place.
12152         Exposed a way to get the current charset (similar to
12153         unicode_get_charset() but actually working, hopefully).
12155         * lib/charconv.h: Added a partial non-UTF8 implementation of
12156         unicode.h if !HAVE_UNICODE (actually, all the time for the
12157         moment). The UTF8 implementation is just macros on libunicode (use
12158         the functions prefixed by uni_, as defined by charconv.h, not
12159         unicode_, unless that code is to be compiled only if HAVE_UNICODE).
12160         From now on, all strings which don't *need* to be ASCII should be
12161         utfchar *, not gchar *. Just include charconv.h, let it sort out
12162         the details (such as: "is libunicode available and enabled?") 
12164         * lib/ps-utf8.c: fixed a few name clashes. Used the charconv.h
12165         "API" instead of directly libunicode. Removed the now unnecessary
12166         speculative clustering of characters in encoding pages.
12168         * app/render_eps.c: made the local8->utf8 conversions dependent of
12169         !UNICODE_WORK_IN_PROGRESS (this is not where the local8/utf8
12170         boundary will be when this WIP is done).
12172         * lib/dia_xml.c (data_point): fixed a format string typo.
12174         * po/POTFILES.in: added all C files from lib/ 
12175         
12176 2001-06-06  Cyrille Chepelov  <chepelov@calixo.net>
12178         * app/disp_callbacks.c: make sure the objects' connected objects
12179         are updated when the objects' size changes after a keypress event
12180         (fixes #51222)
12182         * configure.in: added a big warning about the possible future
12183         non-optionality of --enable-unicode. 
12185         * TODO: removed entries which look like done ; added a few ones
12186         (Bugzilla "enhancement" bugs may be a better way to keep track of
12187         this)
12188         
12189 2001-06-05  Cyrille Chepelov  <chepelov@calixo.net>
12191         * objects/UML/message.c: got rid of #55564 and of message_copy()
12192         by using more standard properties (are the message_state_*()
12193         functions still necessary ?)
12195 2001-06-04  Fredrik Hallenberg  <hallon@lysator.liu.se>
12197         * lib/plug-ins.c: 
12198         * objecs/custom/shape_info.c:
12199         * plug-ins/shape/shape-export.c:
12200         * plug-ins/svg/render_svg.c: patch from obecian <obecian@openbsd.org>
12201         use xmlChar instead of obsolete CHAR.
12203 2001-06-03  Hans Breuer  <hans@breuer.org>
12205         * app/diagram.h : added prototype for diagram_update_menu_sensitivity()
12206         * app/commands.c : give the right number of parameters
12207         to diagram_update_menu_sensitivity ()
12209         * app/preferences.c : do proper initialization for DiaPrefsData:
12210         render_bounding_boxes. It would be a real surprise if 'hidden'
12211         properties would have ever worked before.
12212         Don't try to access the widgets of hidden property, it does not
12213         have one.
12215         * lib/diagramdata.h : make render_bounding_boxes a DIAVAR, cause
12216         it is defined in libdia, but initialized from dia app, which 
12217         otherwise gave nice start-up crashes.
12219         * lib/diagramdata.c : initialize the color for rendering bounding 
12220         boxes in the Dia range (0 .. 1.0)
12222         * lib/libdia.def : added *_bbox functions for export
12224         * lib/makefile.msc : added new sources
12226         * objects/custom/custom_object.c : use HAVE_UNISTD_H
12228 2001-05-30  Cyrille Chepelov  <chepelov@calixo.net>
12230         * app/interface.c:
12231         * app/menus.c: patch from Hubert Figuiere <hfiguiere@teaser.fr> ;
12232         removes a translation of menus (in a place where there shouldn't
12233         have been), which gets rid of a waterfall of warnings if LANG!=C,
12234         and a fix to #55047.
12236 2001-05-29  Steffen Macke     <sdteffen@yahoo.com>
12238         * lib/charconv.c : added #include <errno.h>
12240         * app/dia_embedd.c : updated menus_get_item_from_path usage
12241         
12242 2001-05-27  Cyrille Chepelov  <chepelov@calixo.net>
12244         * lib/ps-utf8.c: Strings in Symbol fonts were incorrectly rendered.
12245         Added a special case for Symbol strings, so that they're not
12246         re-encoded using the LN encoding (we use the bare Adobe encoding
12247         instead).
12249         * objects/custom/custom_object.c: Now that #52912 is fixed,
12250         I could remove the ugly hack I wrote to squash the shape bounding box
12251         problem shown by Ben A. Hetland a few months ago, and fix it
12252         properly this time.
12253         
12254         * lib/text.c: enlarged a little the bounding box to account for
12255         the cursor in rightmost position.
12256         
12257         * lib/diagramdata.c: draw bounding boxes only if the relevant
12258         variable is set (as before), but also only if the rendere is
12259         interactive (ie, don't bother rendering bounding boxes on 
12260         Postscript...)
12261         Made the bounding box's line width a fixed value, 0.01
12262         
12263         * lib/boundingbox.c: fixed the "pointy corners" code for polylines
12264         and assymmetric control beziers. Implemented ellipse_bbox().
12265         
12266         * Makefile.am: incantations to get po/dia.pot build, as suggested
12267         by Hubert in #55075.
12268         
12269         * shapes/network/computer.shape: typo fixed.
12270         * shapes/network/antenna.shape: fixed #55074 (antenna is now
12271         properly translucent, except for its base where it makes sense. It
12272         doesn't look that ugly anymore if transparent mode is on).
12274         * configure.in: --enable-unicode is now the default. This
12275         still currently affects only printing.
12276         
12277 2001-05-26  Cyrille Chepelov  <chepelov@calixo.net>
12279         * lib/boundingbox.c: fixed a minor logic error wrt closed shapes. 
12280         The overshoot code is buggy, and the bounding boxes for polyshapes
12281         looks a bit cheezy. To be done ASAP.
12283 2001-05-26  James Henstridge  <james@daa.com.au>
12285         * configure.in: call AM_PATH_PYTHON rather than AM_PATH_PYTHON_JH.
12286         This should clear up some of the build problems people have been
12287         having.
12289         * acinclude.m4: call AM_PATH_PYTHON_JH AM_PATH_PYTHON
12291 2001-05-26  Cyrille Chepelov  <chepelov@calixo.net>
12293         * lib/Makefile.am:
12294         * lib/boundingbox.[ch] (NEW): (some) refactoring of the bounding
12295         box code (beginning with lines, polylines and polybeziers), into a
12296         more generic facility. While at it, a better shot at correctly
12297         computing the bounding box of a Bezieroid (should take care of
12298         #53424, #51233 and of course is part 1 of #52912).
12300         * lib/diagramdata.c: turned the RENDER_BOUNDING_BOXES conditional
12301         into a hidden preference (set render_bounding_boxes in diarc).
12302         * app/preferences.[ch]: Added support for hidden preferences.
12304         * lib/geometry.[ch]: sprinkled with "const" modifiers.
12305         
12306         * lib/bezier_conn.[ch]:
12307         * lib/beziershape.[ch]:
12308         * lib/connection.[ch]:
12309         * lib/element.[ch]:
12310         * lib/poly_conn.[ch]:
12311         * lib/orth_conn.[ch]:
12312         * lib/neworth_conn.[ch]:
12313         * lib/polyshape.[ch]: adapted to take advantage of
12314         boundingbox.[ch] instead of relying on private (duplicate) code.
12316         * object/FS/flow.c:
12317         * object/GRAFCET/action.c:
12318         * objects/GRAFCET/condition.c:
12319         * objects/GRAFCET/vergent.c:
12320         * objects/GRAFCET/vector.c:
12321         * objects/SADT/annotation.c:
12322         * objects/SADT/arrow.c:
12323         * objects/ER/participation.c:
12324         * objects/UML/constraint.c:
12325         * objects/UML/implements.c:
12326         * objects/UML/lifeline.c:
12327         * objects/UML/message.c:
12328         * objects/UML/realizes.c:
12329         * objects/UML/generalization.c:
12330         * objects/UML/association.c:
12331         * objects/UML/dependency.c:
12332         * objects/FS/flow-ortho.c:
12333         * objects/network/bus.c:
12334         * objects/standard/arc.c:
12335         * objects/standard/bezier.c:
12336         * objects/standard/beziergon.c:
12337         * objects/standard/line.c:
12338         * objects/standard/polygon.c:
12339         * objects/standard/zigzagline.c:
12340         
12341         * objects/standard/polyline.c: Some *BBExtras structures changed
12342         names while moving to boundingbox.[ch]. A trivial mass-renaming.
12343         
12344 2001-05-20  Cyrille Chepelov  <chepelov@calixo.net>
12346         * app/disp_callbacks.c (ddisplay_canvas_events): Take into account
12347         wheel mouses for scrolling (from Patrick Sung <phsung@ualberta.ca>)
12349         * app/display.c (ddisplay_update_scrollbars): from Patrick's
12350         suggestion, remove the extra scrollable area (it was only visible
12351         to the scrollbars). This is experimental.
12352         
12353         * objects/custom/custom_object.c: If a shape's icon file doesn't 
12354         exist, warn and substitute a default icon, instead of crashing.
12355         (fixes #52913)
12356         
12357         * objects/network/network.c:
12358         * shapes/network/modularswitch.(shape|xpm) (NEW):
12359         * shapes/network/printer.(shape|xpm) (NEW):
12360         * shapes/network/genmonitor.(shape|xpm) (NEW):
12361         * shapes/network/computer.(shape|xpm) (NEW):
12362         * shapes/network/Makefile.am: four less objects, four more shapes.
12363         These were the last known RenderObjects. (phew !)
12365         * lib/Makefile.am:
12366         * lib/dummy_dep.h:
12367         * objects/sybase/Makefile.am: 
12368         * objects/network/Makefile.am: Removed the older Renderobjects
12369         from the build, and their infrastructure (not yet deleted,
12370         though).
12372         * shapes/network/sceadplug.shape:
12373         * shapes/network/antenna.shape:
12374         * shapes/network/modem.shape:
12375         * shapes/network/hub.shape:
12376         * shapes/network/rj45plug.shape:
12377         * shapes/sybase/client.shape:
12378         * shapes/sybase/dataserver.shape:
12379         * shapes/sybase/ltm.shape:
12380         * shapes/sybase/repserver.shape:
12381         * shapes/sybase/rsm.shape:
12382         * shapes/sybase/stableq.shape: Minor corrections (line widths were
12383         ten times too narrow).
12384         
12385 2001-05-19  Cyrille Chepelov  <chepelov@calixo.net>
12387         * objects/network/network.c:
12388         * shapes/network/sceadplug.(shape|xpm) (NEW):
12389         * shapes/network/antenna.(shape|xpm) (NEW):
12390         * shapes/network/modem.(shape|xpm) (NEW):
12391         * shapes/network/Makefile.am: four less objects, four more shapes.
12392         
12393         * lib/Makefile.am:
12394         * lib/diagramdata.c:
12395         * lib/render.h:
12396         * lib/string_prerenderer.[ch] (NEW):
12397         Add a new renderer primitive, predraw_string() (does nothing, to be
12398         used as a hook to optimise the character encodings if needed). 
12399         Added a string pre-renderer, which can be viewed as a filter
12400         renderer (to route draw_string() to predraw_string() and ignore
12401         the rest, in a first rendering pass)
12402         
12403         * app/render_eps.c: Took advantage of the above to make wholly
12404         optimised Postscript encoding page(s), even (especially) with 
12405         non-latin1 code (HAVE_UNICODE must be true).
12407         (#53512 in fact is wholly resolved).
12408         
12409 2001-05-18  Cyrille Chepelov  <chepelov@calixo.net>
12411         * lib/charconv.c: steps towards resolution of #53512 (inspired by
12412         Alexey Novodvorsky <aen@logic.ru>'s patch).
12414         * app/menus.c (dia_menu_signal_proxy): checked that the signal
12415         handler is not NULL before transferring control to it... (fixes #52836)
12417         * app/app_procs.c (app_init): removed non-constant initialiser
12418         (fixes #52950)
12420         * objects/custom/custom_object.c:
12421         * objects/custom/shape_info.[ch]:
12422         * objects/custom/test.xml: merged patch #53476 from Steven Hawkins 
12423         <skh@mathstar.com>. This add support for a <svg:text> shape
12424         element, and some related style properties (font, font height, 
12425         alignment)
12427         * doc/custom_shapes: a precision about the meaning of case in a
12428         SVG path (closes #52364)
12430         * lib/dummy_dep.h: fix for SGI IRIX 6.2 (#53053, reported and
12431         fixed by <drk@sgi.com>)
12432         
12433 2001-05-17  Cyrille Chepelov  <chepelov@calixo.net>
12435         * objects/network/network.c:
12436         * shapes/network/Makefile.am:
12437         * shapes/network/hub.(shape|xpm) (NEW):
12438         * shapes/network/flash.(shape|xpm) (NEW):
12439         * shapes/network/rj45plug.(shape|xpm) (NEW):
12440         More shapes, less renderobjects.
12442 2001-05-16  Cyrille Chepelov  <chepelov@calixo.net>
12443         
12444         * plug-ins/svg/render_svg.c: typo made exported ellipses
12445         corrupted (zero Y pseudo-radius).
12447         * objects/network/network.c:
12448         * objects/network/disc.c:
12449         * shapes/network/disc.(shape|xpm): Converted the first
12450         Renderobject into a shape. Normally, old diagrams should reload
12451         without problems (please check this against your diagrams). More
12452         flexibility should be gained that way. I intend to hunt and
12453         eradicate all renderobjects as I can commit cycles to that. 
12455         * objects/Makefile.am:
12456         * configure.in:
12457         * app/Makefile.am:
12458         * objects/sybase/sybase.c:
12459         * shapes/sybase/Makefile.am(NEW):
12460         * shapes/sybase/client.(xpm|shape) (NEW):
12461         * shapes/sybase/dataserver.(xpm|shape) (NEW):
12462         * shapes/sybase/ltm.(xpm|shape) (NEW):
12463         * shapes/sybase/repserver.(xpm|shape) (NEW):
12464         * shapes/sybase/rsm.(xpm|shape) (NEW):
12465         * shapes/sybase/stableq.(xpm|shape) (NEW): converted Sybase
12466         renderobjects into shapes. The Sybase objects are now not compiled
12467         anymore, and ready to be nuked if nobody objects in the next few weeks.
12468         
12469         * app/commands.c:
12470         * app/diagram.[ch]:
12471         * app/disp_callbacks.c:
12472         * app/display.[ch]:
12473         * app/interface.[ch]:
12474         * app/menus.[ch]:
12475         * app/modify_tool.c:
12476         * app/preferences.[ch]:
12477         * app/recent_files.c:
12478         * app/select.c: Added patch #52364 from Hubert Figuiere. This adds
12479         a menu bar reflecting the popup menu, to each display window. This
12480         is optional (changing the preference currently doesn't affect
12481         already opened windows; a few other rough edges to cut).
12483         * plug-ins/wpg/wpg.c:
12484         * plug-ins/xfig/xfig-import.c:
12485         * plug-ins/python/pydia-property.c:
12486         * plug-ins/python/pydia-properties.c:
12487         * plug-ins/python/pydia-geometry.c:
12488         * plug-ins/pstricks/render_pstricks.c:
12489         * lib/arrows.c:
12490         * objects/EML/dbox.c:
12491         * lib/ps-utf8.c: paleolithic C compilers choke on //. Should fix 
12492         #53054.
12494         * lib/ps-utf8.c: improved the clustering of alphabetic character
12495         definitions in custom encodings pages.
12496         
12497 2001-05-02  Hans Breuer  <hans@breuer.org>
12499         * lib/object.h : OBJECT_COMMON_PROPERTIES_OFFSETS correct type 
12500         of 'obj_bb' to PROP_TYPE_RECT
12502         * objects/custom/custom_object.c : take all quarks into account, 
12503         not only 4 as copy&paste suggests
12505         * objects/uml/objects.c : completed the implementation of the
12506         property api to avoid reading of totally bogus data. Removed
12507         the PROBABLY_DEAD_CODE. It actually was dead code, but not because
12508         there was too much but too less ...
12509   
12510         The above changes removed all known crashes (mentioned below) 
12511         from the Property API. Property access is still incomplete though.
12513         * objects/flowchart/box.c :
12514         * objects/flowchart/diamond.c :
12515         * objects/flowchart/ellipse.c :
12516         * objects/flowchart/parallelogram.c :
12517         * objects/uml/classicon.c :
12518         * objects/uml/state.c : calculate number of quarks from quark array 
12519         size instead of using hardcoded values for consistence and to avoid 
12520         future bugs like the above
12521         
12522         * objects/eml/nlist.c : include <string.h> for strcmp()
12524         * lib/dia_xml.c : relax g_warning for values, which
12525         appear to be too small. There is nothing which prevents
12526         them while saving
12528         * plug-ins/python/pydia-geometry.c : changed stringifying of
12529         geometry objects accept BezPoint back to %f, which does not
12530         crash anymore, because all the data is intialized now and it
12531         simply is more readable than %e ...
12533         * plug-ins/python/python-startup.py : removed dependency
12534         to PyGtk, because it isn't required here and probably won't
12535         in i.e.: export filters.
12537         * plug-ins/python/gtkcons.py : create the gtkoutfile even
12538         if sys.stderr.fileno() isn't supported
12540         * app/makefile.msc : make version 0.88
12541         * plug-ins/makefile.msc : make version 0.88 an added new
12542         xfig files to build
12544 2001-05-11  James Henstridge  <james@daa.com.au>
12546         * NEWS: remember to add news items this time.
12548         * dia.spec: update spec file for 0.88 release.
12550         * configure.in: up version number to 0.88
12552         * plug-ins/python/Makefile.am (EXTRA_DIST): fix up typo that was
12553         preventing any of the useful python scripts from being
12554         distributed.
12556         * sheets/Makefile.am (sheet-translation-report): fix bustage I
12557         introduced in my fixups for the 0.87 release :(
12559 2001-05-10  Lars Clausen  <lrclause@cs.uiuc.edu>
12561         * plug-ins/xfig/xfig-import.c: Finally got groups working.
12563 2001-05-09  Lars Clausen  <lrclause@cs.uiuc.edu>
12565         * plug-ins/xfig/xfig-import.c: Improvements to error handling and
12566         group manipulation.
12568 2001-05-09  Cyrille Chepelov  <chepelov@calixo.net>
12570         * lib/ps-utf8.[ch]:
12571         * lib/Makefile.am: fix makefile breakage which led to not
12572         including ps-utf8.[ch] in the released tarballs. 
12574 2001-05-09  James Henstridge  <james@daa.com.au>
12576         * Makefile.am (core-translation-report): dist scripts needed for
12577         this target, and change to $(srcdir) before running.
12579         * sheets/Makefile.am (EXTRA_DIST): actually dist the sheets.  DATA
12580         files aren't automatically included in the tarball by automake
12581         because they could be generated files.
12583         * objects/EML/Makefile.am (EXTRA_DIST): fix directory names.
12585         * doc/en/Makefile.am (install-data-hook): fix up where graphics
12586         are installed.
12588         * configure.in: up version number to 0.87
12590         * plug-ins/python/*.py: no longer necessary to explicitly set
12591         sys.argv, as python.c does it for us now (like it should).
12593         * plug-ins/python/gtkcons.py: fix up so it plays nicely as a dia
12594         python plugin.
12596         * plug-ins/python/python-startup.py: startup script that imports
12597         all modules in $(datadir)/dia/python and ~/.dia/python.
12599         * plug-ins/python/python.c (dia_plugin_init): change so that it
12600         only runs the $(datadir)/dia/python-startup.py script.  Make sure
12601         that sys.argv and __main__.__file__ are set when calling the
12602         startup script.
12604         * plug-ins/python/Makefile.am: update makefile.  Make it install
12605         gtkcons.py plugin.  I haven't set any other plugins to install, as
12606         they look like they are mainly for debugging purposes.
12608         * configure.in: add tests to detect if python is available, so we
12609         can build the python plugin.  Only run if --with-python passed to
12610         configure.
12612 2001-05-08  James Henstridge  <james@daa.com.au>
12614         * acinclude.m4: add macros for detecting python.
12616         * app/menus.c (dia_gnome_menu_get_widget): handle paths that point
12617         at GNOME_APP_UI_SUBTREE entries.
12618         (menus_add_path): function to add a menu item to the menubars.
12619         Uses a hash table to keep track of extra menu items it adds.  Also
12620         notifies the item factory about the entries so that accels can be
12621         saved for them.
12622         (menus_add_path): implement gtk only version.
12623         (menus_init): use menus_add_path() to add the menu.
12624         (plugin_callback): simplify.
12626 2001-05-08  Steffen Macke <sdteffen@yahoo.com>
12628         * app/menu.c: removed #ifndef GNOME; GNOME build was broken
12629         
12630 2001-05-08  Lars Clausen  <lrclause@cs.uiuc.edu>
12632         * plug-ins/xfig/xfig-export.c: 
12633         * plug-ins/xfig/xfig-common.c: 
12634         * plug-ins/xfig/xfig-import.c: 
12635         * plug-ins/xfig/xfig.c: 
12636         * plug-ins/xfig/xfig.h: 
12637         * app/Makefile.am: Added support for exporting to Fig format
12638         (except splits, which are less powerful in Fig).  Some refactoring
12639         along the way.
12641 2001-05-02  Hans Breuer  <hans@breuer.org>
12643         * plug-ins/python/debug_objects.py : added another
12644         test to get massive crashes from the Property API due
12645         to unintialized data.
12647         * app/menu.c : the callback_action wasn't incremented
12648         (should have checked my last optimization). Now more
12649         than one plug-in callback is supported again.
12651         * plug-ins/python/pydia-geometry.c : avoid crashes from
12652         glib, when trying to g_strdup_printf unintialized floats.
12654         * plug-ins/python/pydia-property.c : avoid crashes from
12655         because of string_data == NULL (PROP_TYPE_FILE, PROP_TYPE_STRING)
12657 2001-05-01  Hans Breuer  <hans@breuer.org>
12659         * objects/makefile.msc : added eml
12660         * objects/eml/instantiation.c : initialize 'inst' pointer
12661         before using, zero initialization for objects
12662         * objects/eml/interaction-ortho.c :
12663         * objects/eml/interaction.c : zero initialization for objects
12665         * app/menus.c : removed Gimp mru stuff which slipped in at
12666         2000-08-15, was never activated and will never be needed, 
12667         because of Steffens recent file list patch added at 2001-01-05.
12669         * objects/eml/*.c : some more zero initialization of objects
12670         to avoid infinite (uninitialized) bounding boxes
12672         Implemented a callback api which allows plug-ins to register
12673         menu call backs. Dia for Gnome should compile, but will need 
12674         some extra tweaking to make it work because I can't test it.
12676         * plug-ins/python/pydia-error.h :
12677         * plug-ins/python/pydia-render.c : moved Pxthon function return 
12678         value handling from pydia-render.c to pydia-error.h, to make it
12679         usable for
12680         * plug-ins/python/diamodule.c : implement callback function
12681         registration from and relaying to Python code
12683         * app/menus.c : register and use plug-in menu callbacks
12685         * lib/filter.[hc] : implement filter_register_callback() and
12686         filter_get_callbacks() for the above
12687         * lib/libdia.def : export them
12689         * plug-ins/python/debug_objects.py (new file): 
12690         sample using the above
12692 2001-04-27  Lars Clausen  <lrclause@cs.uiuc.edu>
12694         * plug-ins/shape/shape-export.c (new_shape_renderer): 
12695         The name of a shape is now taken from the dir, to conform with
12696         standard naming.
12698 2001-04-25  Lars Clausen  <lrclause@cs.uiuc.edu>
12700         * app/properties.c (properties_show): Added title containing
12701         object type, plus (hopefully) fix of the ghost properties dialog.
12703 2001-04-16  Cyrille Chepelov  <chepelov@calixo.net>
12705         * app/display.c: remove the display idle handler in case we
12706         destroy the ddisplay (caused crashes in ddd, probably random
12707         crashes elsewhere).
12709         * autogen.sh: 
12710         * configure.in:
12711         * Makefile.am: hack around gettext-0.10.36's new "features".
12712         
12713         * lib/properties.[ch]: added new function object_copy_props().
12714         Added new property type PROP_TYPE_ENDPOINTS
12716         * lib/connection.h: added support for load/saving through the
12717         properties interface.
12719         * lib/object.[ch]: object_load/save/copy_using_properties()
12720         support functions (code factorisations).
12721         
12722         * objects/GRAFCET/boolequation.c: check against null values in
12723         boolequation_set_value() and boolequation_destroy().
12725         * objects/GRAFCET/transition.c: Converted from lazyprops to
12726         standard properties. 31% less (x86) code !
12728         * objects/GRAFCET/condition.c: also converted from lazyprops to
12729         standard properties. Also killed lots of code.
12730         
12731 2001-04-13  Hans Breuer  <hans@breuer.org>
12733         * plug-ins/wmf/wmf.cpp : changed text conversion from
12734         g_utf8_utf16 to g_convert usage. The latter function is already
12735         available in tml's last "official" Gtk+ version (2000-12-26).
12736         This change allows to use recent Dia with either the official
12737         version or the latest cvs "gtk-1-3-win32-production"-branch.
12739 2001-04-14  Lars Clausen  <lrclause@cs.uiuc.edu>
12741         * Patch from David S. Thompson <dcthomp@mail.utexas.edu>:
12742         * app/disp_callbacks.c:
12743         - Allow submenus in DiaMenus.
12744         - Don't require DiaMenu.title to be non-null (so that
12745           submenus aren't required to have titles)
12747         * objects/FS/function.c:
12748         - object menu now has submenus, an almost complete list of
12749           standard-basis verbs, and a start on nouns.
12750         - box padding, dash length, and other visual attributes are
12751           scaled by the font size... eventually font height will be
12752           a function property.
12753         - draw functions with smaller font to make initial view hold
12754           a reasonable number of functions.
12755         
12756 2001-04-13  Cyrille Chepelov  <chepelov@calixo.net>
12758         * sheets/ER.sheet:
12759         * sheets/chronogram.sheet:
12760         * sheets/jigsaw.sheet:
12761         * sheets/sybase.sheet: Updated Dutch sheet translations from Dag
12762         Wieers <dag@wieers.com>
12764 2001-04-13  Hans Breuer  <hans@breuer.org>
12766         * app/app_procs.c (app_exit) : added g_return_if_fail (!app_exit_once)
12767         to ensure that all the deinitialization is only done once. Fixes
12768         recent app exit crash on win32
12770         * lib/dia_xml.c : provide isinf() replacement for msc which does only
12771         have _finite()
12773         * lib/libdia.def : updated
12775         * objects/makefile.msc : added wanlink.c 
12777         * objects/network/wanlink.c : added M_PI_2 definition for poor
12778         platforms which don't have one
12780         * objects/standard/arc.c :
12781         * objects/standard/zigzagline. c: part of ConectionBBExtras wasn't
12782         initialized which led to rather huge bounding boxes (try Ctrl^A on
12783         diagrams with Arcs or ZigZagLines).
12784         * objects/*/*.c : to avoid further bugs like the above changed all
12785         object initializations to g_malloc0 or g_new0
12788 2001-04-09  Cyrille Chepelov  <chepelov@calixo.net>
12790         * lib/paper.[ch]: get rid of "no previous prototype fo `foo'" by
12791         doing a s/T foo()/T foo(void)/ for all possible values of T and foo.
12793         * objects/UML/class.c: 
12794         * objects/UML/usecase.c:
12795         * objects/UML/large_package.c:
12796         * objects/UML/message.c:
12797         * objects/UML/object.c:
12798         * objects/UML/lifeline.c:
12799         * objects/FS/flow.c:
12800         * objects/FS/flow-ortho.c:
12801         * objects/FS/function.c:
12802         * objects/custom/custom_object.c:
12803         * objects/GRAFCET/vergent.c:
12804         * objects/chronogram/chronoref.c:
12805         * objects/SADT/box.c:
12806         * objects/SADT/annotation.c:
12807         * plug-ins/dxf/dxf-import.c:
12808         * plug-ins/xfig/xfig-import.c:
12809         * plug-ins/wpg/wpg.c:
12810         * app/command.c:
12811         * app/app_procs.c:
12812         * app/display.c: /* certainly more WIP than dead code there */
12813         Unused variables, unused static function definitions, forgotten or
12814         incomplete prototypes added or fixed, lack of const or unwanted const,
12815         etc. (mostly clean-ups of leftovers of the pre-properties era).
12816         Non-obvious cases bracketed by #define THIS_IS_PROBABLY_DEAD_CODE,
12817         please check these.
12819         * app/lineprops_area.c: More of the same. Missing prototypes
12820         added, and functions unused outside made static.
12822         * app/recent_files.c:
12823         * app/properties.c:
12824         * app/defaults.c: some variables are used only when doing a GNOME
12825         build.
12826         
12827         * app/magnify.c: missing #include <stdlib.h>.
12829         * app/paginate_gnomeprint.c: Unused variable; missing "message.h".
12831         These are a lot of clean-ups (by the way, this compiles and runs
12832         cleanly with "gcc-3.0 -O2 -Wall --std=gnu99" too !); please grep
12833         for DEAD_CODE, and if it's yours, judge it.
12834         
12835 2001-04-07  Cyrille Chepelov  <chepelov@calixo.net>
12837         * plug-ins/dxf-import.c: some progress with the arcs; still some
12838         clean-ups to do and line width scaling issues to figure out.
12840         * objects/standard/arc.c: start_point and end_point properties
12841         (duplicated from standard/line.c)
12843         * plug-ins/xfig/xfig-import.c: zip ! zap ! no more dead DXF import
12844         code there.
12845         
12846 2001-04-06  Cyrille Chepelov  <chepelov@calixo.net>
12848         * plug-ins/dxf-import.c: setlocale-related clean-ups and fixes ;
12849         preliminary support for arcs (doesn't work). Circles and ellipses are
12850         now transparent. Coordinate and width scaling are now a common 
12851         static constant (probably before morphing into a preference).
12852         
12853         * sheet/checktrans.py: improved error reporting. Made checktrans
12854         count lack of <name xml:lang="code"> as a lack of translation for
12855         language "code" (no, it's not a plot to bring down other
12856         language's scores !)
12857         
12858         * sheet/*.sheet: Ensured all sheets have an encoding="iso-8859-1"
12859         in the header, and have <name xml:lang="fr"> components.
12860         
12861 2001-04-05  Cyrille Chepelov  <chepelov@calixo.net>
12863         * objects/custom/custom_object.c: temporary hack to fix the shape
12864         bounding box reported by Ben A. Hetland. Proper fix isn't .87
12865         material, see bugzilla #52912.
12867 2001-04-05  Lars Clausen  <lrclause@cs.uiuc.edu>
12869         * objects/standard/image.c (get_directory): Now uses
12870         G_SEPARATOR_CHAR_S instead of "/"
12872         * sheets/network.sheet: 
12873         * sheets/Logic.sheet:
12874         * sheets/Flowchart.sheet:
12875         * sheets/Electric.sheet:
12876         * sheets/Circuit.sheet:
12877         * sheets/ER.sheet:
12878         * sheets/Pneumatic.sheet:
12879         * sheets/SDL.sheet:
12880         * sheets/UML.sheet:
12881         * sheets/GRAFCET.sheet:
12882         * sheets/MSE.sheet:
12883         * sheets/chronogram.sheet:
12884         * sheets/civil.sheet:
12885         * sheets/network.sheet:
12886         Danish translations.
12887         
12888         * objects/standard/image.c (get_directory): Changed get_directory
12889         to use g_dirname to find the directory part.
12891 2001-04-05  Cyrille Chepelov  <chepelov@calixo.net>
12893         * sheets/ER.sheet:
12894         * sheets/Electric.sheet:
12895         * sheets/Flowchart.sheet:
12896         * sheets/Logic.sheet:
12897         * sheets/network.sheet: More Dutch translations from Dag Wieers.
12899 2001-04-04  Cyrille Chepelov  <chepelov@calixo.net>
12901         * sheets/checktrans.py: now emits a warning when two descriptions
12902         for a single language code are found.
12904         * Makefile.am:
12905         * sheets/Makefile.am: -translation-reports now also depend on their
12906         checktrans.py
12907         
12908 2001-04-04  Cyrille Chepelov  <chepelov@calixo.net>
12910         * sheets/Circuit.sheet:
12911         * sheets/Contact.sheet:
12912         * sheets/Logic.sheet:
12913         * sheets/chronogram.sheet:
12914         * sheets/sybase.sheet: 
12915         Dutch translations from Dag Wieers <dag@wieers.com>
12917 2001-04-04  Cyrille Chepelov  <chepelov@calixo.net>
12919         * po-checktrans.py: Now shows the detailed counts alongside the
12920         percentage of translations.
12921         
12922 2001-04-03  Cyrille Chepelov  <chepelov@calixo.net>
12924         * Makefile.am:
12925         * po-checktrans (NEW):
12926         * po-checktrans.py (NEW): builds core-translation-report:
12927         percentages of core (gettext) translations done [Not placed into
12928         po/ where that should belong, because of integration fear^Wissues
12929         with gettextize]. 
12931         TO THE KIND ATTENTION OF PACKAGERS: core-translation-report and 
12932         sheets/sheet-translation-report probably ought to be copied on the 
12933         user's /usr/share/doc/dia (or equivalent) directory.
12935         * sheets/Makefile.am: sheet-translation-report now a simple
12936         EXTRA_DIST; make install won't install it by default. 
12937         
12938 2001-04-03  Cyrille Chepelov  <chepelov@calixo.net>
12940         * app/preferences.c: changed the default grid colour to something
12941         less intrusive. 
12943         * shapes/SDL/*.shape:
12944         * sheets/SDL.sheet: renamed all SDL shapes to conform to the
12945         "$LIBRARY - $NAME" convention. THIS REQUIRES FIXING THE EXISTING
12946         DIA FILES (well, for files using SDL), see the mailing list
12947         archive "SDL (ab)using the global shape namespace" for a script to
12948         do this conversion.
12950         * sheets/SDL.sheet: translated into French
12951         * sheets/network.sheet: fixed XML typos. Yay ! 100% :-)
12952         
12953 2001-04-02  Cyrille Chepelov  <chepelov@calixo.net>
12955         * lib/dia_xml.c: made data_point() more paranoid
12957         * sheets/Makefile.am:
12958         * sheets/checktrans (NEW):
12959         * sheets/checktrans.py: Made checktrans handle more gracefully the
12960         absence of python and python-xml packages, and made the error
12961         message more helpful.
12962         
12963 2001-04-01  Lars Clausen  <lrclause@cs.uiuc.edu>
12965         * lib/render_object.c (new_render_object): Made initial handles
12966         behave like on most other objects.
12968         * app/load_save.c (read_objects): Fixed premature free'ing ofr
12969         typestr causing garbage.
12971 2001-04-01  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
12973         * objects/FS/flow-ortho.c: Fixed a crashbug causes by not
12974         accouting for handle ordering through copy and save. (#51479)
12976 2001-03-31  Cyrille Chepelov  <chepelov@calixo.net>
12978         * sheets/Circuit.sheet: Norwegian translation mistagged to German.
12980 2001-03-31  Steffen Macke  <sdteffen@yahoo.com>
12982         * sheets/Circuit.sheet
12983         * sheets/UML.sheet
12984         * sheets/network.sheet: Updated German translations
12985         
12986 2001-03-30  Cyrille Chepelov  <chepelov@calixo.net>
12987         * lib/arrows.[ch]:
12988         * lib/widgets.c:
12989         * app/lineprops_area.c: The return of the revenge of the arrow
12990         heads. Now all types covered by ISO 10303-201 should be covered.
12991         
12992 2001-03-30  Cyrille Chepelov  <chepelov@calixo.net>
12994         * sheets/Flowchart.sheet: translations in probably Hungarian were
12995         a victim of cut-n-paste from the German one. Fixed (hopefully).
12996         * sheet/UML.sheet: translation in probably Norwegian was a victim
12997         of cut-n-paste from the French one. Fixed (hopefully).
12998         * sheets/Logic.sheet: French translation not tagged with
12999         xml:lang="fr".
13000         
13001         * sheets/checktrans.py:
13002         * sheets/Makefile.am: new file, sheet-translation-report, to be
13003         installed along the sheets, show how much of them has been
13004         translated into which language (I wish the result was prettier...)
13006         * po/README: most translators don't read this file, but anyway...
13008         * sheets/.cvsignore:
13009         * objects/network/.cvsignore: the usual negotiation with CVS.
13011 2001-03-30  Cyrille Chepelov  <chepelov@calixo.net>
13013         * sheets/*.sheet: French translations
13015 2001-03-28  Cyrille Chepelov  <chepelov@calixo.net>
13017         Added patch #52363 from Hubert Figuiere <hfiguiere@teaser.fr>:
13019         ** objects/network/network.c:
13020         ** objects/network/wanlink.c:
13021         ** objects/network/pixmaps/wanlink.c:
13022         ** sheets/network.sheet:
13023         ** objects/network/Makefile.am: a better object to use instead of
13024         the older WAN Connection.
13025         
13026         ** lib/geometry.[ch]: rotation matrix functions in geometry.c (derived from gimp)
13028         ** objects/GRAFCET/vector.c: renamed Vector to GRAFCETVector to avoid a
13029         name clash 
13031         * objects/GRAFCET/vector.c: Re-renamed GRAFCETVector into
13032         Arc; kept the C file name (because CVS wouldn't like it), and
13033         still registering the older object name (but advertising the newer
13034         one in sheets/GRAFCET.sheet).   
13036 2001-03-24  Hans Breuer  <hans@breuer.org>
13038         * app/dia.def : some plug-ins (currently only python, xfig) are using 
13039         functions from the dia executable. To get them working these functions 
13040         need to be explicit exported on win32. IMO the much cleaner way would
13041         be to move these functions to libdia, but that would require some
13042         long term restructuring ...
13044         * lib/libdia.def : updated
13046         * plug-ins/makefile.msc : build xfig plug-in
13048 2001-03-24  Hans Breuer  <hans@breuer.org>
13050         * app/diagram.c : g_strdup (dia->filename) because it will be
13051         g_free ()d
13053         * app/display.c : set ddisp->renderer to NULL after destruction.
13054         This may solve or help to identify erroneous access to it after
13055         destruction.
13057         * plug-ins/wmf/wmf.cpp : convert string from utf8 to wchar to
13058         get 'umlauts' working
13060 2001-03-22  Cyrille Chepelov  <chepelov@calixo.net>
13062         * object/chronogram/chronoline_event.c: stupid bug ; rises and falls
13063         were reversed... (look for the patch, and drink a beer to my
13064         stupidity)      
13065         
13066 2001-03-23  Hans Breuer  <hans@breuer.org>
13068         * app/app_procs.c : don't g_error () if the config directory
13069         can't be created (at least not on windoze) because it's quite
13070         common that the user don't read or understand the FAQ ...
13072         * app/cursor.c : use ddisplay_active () instead of active_display
13073         from app/display.c
13075         * app/display.[hc] : made active_display var static and provide
13076         an accessor funtion ddisplay_active_diagram ()
13078         * app/dia-props.c : don't store the active_diagram, but ask
13079         for it everytime it needed.
13081         * lib/properties.h : #include "intl.h"
13083         * lib/makefile.msc : need to take care of inclusion order to
13084         avoid clashes with gtk+2.0's gdk-pixbuf
13086         * objects/makefile.msc : added uml/stereotype.c to build
13088 2001-03-23  Lars Clausen  <lrclause@cs.uiuc.edu>
13090         * **/*.c: Added config.h to the remaining .c files, and changed
13091         all to be <config.h>.
13093 2001-03-22  Steffen Macke <sdteffen@yahoo.com>
13095         * lib/arrows.c
13096         * lib/arrows.h
13097         * lib/widgets.c
13098         * app/lineprops_area.c: added new arrow types with double
13099         heads
13100         
13101 2001-03-20  Steffen Macke <sdteffen@yahoo.com>
13103         * shapes/Civil/civil_gas_bottle.xpm
13104         * shapes/Civil/civil_gas_bottle.shape
13105         * sheets/civil.sheet
13106         * shapes/Civil/Makefile.am: Added gas bottle shape by Arne
13107         Battermann
13108         
13109 2001-03-20  Lars Clausen  <lrclause@cs.uiuc.edu>
13111         * objects/custom/shape_info.c (load_shape_info): 
13112         * objects/custom/shape_info.h: 
13113         * objects/custom/custom_object.c (custom_update_data): 
13114         Better support for text outside the box -- new attributes 'resize'
13115         and 'align' for text entity.  Align not fully supported yet.
13117         * lib/text.c (text_calc_boundingbox): Adding BB for cursor width.
13119 2001-03-20  James Henstridge  <james@daa.com.au>
13121         * app/interface.c (display_data_received_callback): comment out
13122         status message.
13124 2001-03-19  James Henstridge  <james@daa.com.au>
13126         * app/GNOME_Dia.oaf: rename from GNOME_Dia.oafinfo.
13128         * objects/UML/realizes.c: similar here.
13130         * objects/UML/implements.c: similar here.
13132         * objects/UML/component.c: similar here.
13134         * objects/UML/generalization.c: same here.
13136         * objects/UML/dependency.c: allow NULL for ->name and
13137         ->stereotype.  This fixes a number of problems in loading saved
13138         files.
13140         * lib/properties.c: various changes so that NULL string properties
13141         should work.
13143         * objects/standard/line.c (line_update_data):
13144         line->extra.start_long and line->extra.end_long were not being
13145         initialised.  This fixes potential problems with the bounding box
13146         of "Standard - Line" objects.
13148 2001-03-19  Hans Breuer  <hans@breuer.org>
13150         * app/commands.c : added win32 specific code to display a html
13151         file. #include "text.h" for text_delete_all prototype.
13153         * app/dia.ico :
13154         * app/dia.rc : (new) to give Dia win32 an icon
13156         * app/win32print.[ch] : new files to support direct postscript
13157         file printing on win32. Beware: it *requires* a ps-printer!
13159         * app/paginate_psprint.c : disable the signal code for win32 build
13160         and added small specific changes to support win32print.
13162         * app/makefile.msc : added win32print and linking shell32.lib
13164         * lib/libdia.def : updated
13166 2001-03-18  Kevin Breit <battery841@mediaone.net>
13168         * doc/en/dia-C.omf: Added file.  Dia should now list in the Nautilus
13169           Help tabs.
13171 2001-03-17  James Henstridge  <james@daa.com.au>
13173         * app/paginate_psprint.c (diagram_print_ps): add code that traps
13174         SIGPIPEs during printing.  This gets rid of a number of crashes
13175         caused by printing (eg. typing an incorrect print command).
13177         * dia.spec (%install): gzip the manpage.
13179         * lib/beziershape.c (beziershape_save): fix off by one error in
13180         beziershape save code, which was adding an extra segment to the
13181         object on save.
13183         * app/menus.c: add a separator in the gnome version of the help
13184         menu.
13186         * app/app_procs.c (app_init): add a --nosplash argument which
13187         disables the splash screen.
13189         * app/dia_embedd.c (main): don't leave the splash screen open for
13190         embeddable component.
13192         * app/splash.c (app_splash_init): the gtk_widget_show_now() call
13193         didn't seem to be showing the splash screen like expected, so I
13194         have replaced it with some code that calls gtk_main() until the
13195         first exposure of the window.
13197 2001-03-16  James Henstridge  <james@daa.com.au>
13199         * app/Makefile.am (EXTRA_DIST): add extra pixmaps.
13201         * objects/UML/Makefile.am (libuml_objects_la_SOURCES): add
13202         stereotype.h
13204         * lib/Makefile.am (libdia_a_SOURCES): add diavar.h here.
13206         * app/Makefile.am (dia_core_files): remove splash.h from file
13207         list, as it doesn't exist.
13209         * doc/en/Makefile.am (uninstall-local): remove the docdir on
13210         uninstall.
13212         * doc/Makefile.am (uninstall-local): target to remove the C
13213         symlink.
13215         * dia.spec (%files): include the documentation in the package.
13217         * app/menus.c (toolbox_menu_items): add menu item for manual,
13218         which calls help_manual_callback.
13220         * app/commands.c (help_manual_callback): find help file and load
13221         netscape to view it.
13223         * app/commands.h: add prototype for help_manual_callback()
13225         * doc/Makefile.am (helpdir): similar here.
13227         * doc/en/Makefile.am (helpdir): make the helpdir
13228         $(pkgdatadir)/help/en in the non gnome case.
13230         * configure.in (HAVE_GNOME): add conditional.
13232         * doc/en/Makefile.am: handle the graphics in a more general way,
13233         so it is easier for Kevin to add them to the build (just add them
13234         to the GRAPHICS var).
13236         * app/Makefile.am (embed_extra_print_files): make the case of
13237         building without gnome-print support but with bonobo support work.
13238         dia-embedd needs to be include the gnome-print
13240 2001-03-09  Cyrille Chepelov  <chepelov@calixo.net>
13242         * samples/Makefile.am: included all samples in the distribution....
13243         
13244 2001-03-09  Cyrille Chepelov  <chepelov@calixo.net>
13246         * configure.in: removed premature test for DPS. Added -*- m4 -*-
13247         at the beginning. Made HAVE_UNICODE non-default. po/es_ES.po has
13248         vanished, removed it from ALL_LINGUAS.
13250         * lib/charconv.[ch] (NEW): a very small wrapper around
13251         unicode_iconv to convert strings between utf8 and local charset
13252         (actually, ISO-8859-1, though one can do
13253         CFLAGS="-DEFAULT_8BIT_CHARSET=\"ISO-8859-2\"" and the like).
13255         * lib/ps-utf8.[ch] (NEW): A PostScript Unicoder ; a smallish
13256         library to help build Postscript streams which use as many custom
13257         font encodings as necessary to correctly represent all characters
13258         used (testing from users with non-latin1 and/or more than 256
13259         characters in routine use *very* welcome).
13261         * app/Makefile.am, lib/Makefile.am: integrated these into the
13262         build process.
13264         * shapes/Logic/.cvsignore (NEW): .cvsignore
13265         
13266         * app/render_eps.h: forwarded some changes Lars forgot to include.
13267         * app/render_eps.c: turned off ASCII85 and FILTERS, as this
13268         doesn't yet build.
13270 2001-03-08  Kevin Breit <battery841@mediaone.net>
13272         * doc/en/home_network.png: Added file.
13273         * doc/en/line_props.png: Added file.
13274         * doc/en/usage-objects.sgml: Added two graphics to file.
13275         * doc/en/usage-quickstart.sgml: Added one graphic to file.
13277 2001-03-06  Kjartan Maraas  <kmaraas@gnome.org>
13279         * app/grid.h: Place comment around text after #endif.
13280         * lib/bezier_conn.c: #include <string.h>.
13281         * lib/beziershape.c: #include <string.h>.
13282         * lib/connpoint_line.h: Comment after #endif.
13283         * lib/dia_dirs.c: #include <string.h>.
13284         * lib/element.c: Same.
13285         * lib/lazyprops.c: #include <config.h> and "intl.h".
13286         * lib/lazyprops.h: Comment out text after #endif.
13287         * lib/neworth_conn.c: #include <string.h>
13288         * lib/orth_conn.c: Same here.
13289         * lib/poly_conn.c: Here too.
13290         * lib/polyshape.c: And here.
13291         * lib/properties.c: Remove #include "intl.h" from here and add
13292         an array of static strings to work around bug in gettext that
13293         makes it miss strings in a #define body.
13294         * objects/GRAFCET/action_text_draw.h: Comment out text after #endif.
13295         * objects/GRAFCET/boolequation.h: Same here.
13296         * objects/chronogram/chronoline_event.h: Add prototype for
13297         destroy_cle().
13298         
13299 2001-03-05  Lars Clausen  <Lars R. Clausen <lrclause@cs.uiuc.edu>
13301         * objects/FS/function.c: 
13302         * objects/FS/flow.c: 
13303         * objects/FS/flow-ortho.c: 
13304         Updated to use properties.
13306 2001-03-03  James Henstridge  <james@daa.com.au>
13308         * lib/lazyprops.c (__propdlg_build_enum): translate the radio
13309         button labels when creating them.
13311 2001-02-28  Lars Clausen  <Lars R. Clausen <lrclause@cs.uiuc.edu>
13313         * objects/UML/actor.c
13314         * objects/UML/realizes.c 
13315         * objects/UML/implements.c 
13316         * objects/UML/generalization.c 
13317         * objects/UML/dependency.c 
13318         * objects/UML/constraint.c
13319         Updated to use properties.
13320         
13321         * objects/UML/stereotype.c 
13322         * objects/UML/stereotype.h
13323         Generalized to any kind of bracketting.
13324         
13325 2001-02-28  James Henstridge  <james@daa.com.au>
13327         * app/menus.c: add help entry to the help menu.  Need to get this
13328         working for the non GNOME case as well (maybe put help under
13329         $(datadir)/dia/help for non GNOME?)
13331         * doc/en/topic.dat: add a topic.dat file for GNOME menus.
13333         * doc/en/dia-manual.sgml (legalnotice): add an id attribute to
13334         this element so that we get a meaningful filename in the html
13335         translation.
13337         * doc/Makefile.am, doc/en/Makefile.am: new makefiles to handle the
13338         documentation.
13340         * configure.in (DB2HTML): add a check for the db2html program, and
13341         set an automake conditional if it is found.
13343         * Makefile.am: remove EXTRA_DIST rules that cover doc/ directory,
13344         and descend into doc/ directory while building.
13346         * configure.in (AC_OUTPUT): add doc/ makefiles to output list, now
13347         we need more complex rules for building the docs.
13349 2001-02-25  Hans Breuer  <hans@breuer.org>
13351         * config.h.win32 : some cleanup
13353         * app/prefererences.c : g_scanner_(freeze|thaw)_symbol_table
13354         are deprecated since glib-1.3.2. Sorry needing to use them
13355         contionally, but there is no glib-1.2 for win32
13357         * app/recent_files.c : use g_strescape (params) conditionally
13359         * lib/connection.c : include string.h for memcpy
13361         * lib/geometry.h : added some stuff for compatibility with
13362         msvc, which previously came from included config.h
13364         * lib/libdia.def : updated
13366         * objects/makefile.msc : updated
13368         * objects/GRAFCET/action.c(490) : fixed warning C4700: local variable 
13369         'extra' used without having been initialized
13371         * objects/network/bus.c(658) : initialize 'extra'
13373         * plug-ins/makefile.msc : updated
13375         * plug-ins/cgm/cgm.c :
13376         * plug-ins/pstricks/render_pstricks.c : 
13377         g_free() memory allocated by dia_image_rgb_data(). Plugs possibly 
13378         huge memory leaks.
13380         * plug-ins/python/python.c : use HAVE_DIRENT_H
13382 2001-02-23  Lars Clausen  <Lars R. Clausen <lrclause@cs.uiuc.edu>
13384         * lib/connection.c (connection_update_boundingbox): 
13385         Made the BB shrink on right and lower sides, too.
13387 2001-02-23  Kjartan Maraas  <kmaraas@gnome.org>
13389         * */*.c: #incude <config.h> at the top.
13390         * */*.h: Remove include of "config.h" since it should only
13391         be included in .c files and at the very top for things to
13392         work.
13393         * sheets/*.sheet: Updated Norwegian translations.
13394         
13395 2001-02-22  Lars Clausen  <Lars R. Clausen <lrclause@cs.uiuc.edu>
13397         * objects/UML/small_package.c: 
13398         * objects/UML/class.c: 
13399         * objects/UML/node.c: 
13400         * objects/UML/usecase.c:
13401         * objects/UML/lifeline.c: 
13402         * objects/UML/message.c:
13403         Various cleanup of properties in particular.  Now much more use of
13404         standard properties.
13406         * lib/diagramdata.c (layer_render): Visualization of bounding
13407         boxes, for debugging purpoises.
13409 2001-02-22  Cyrille Chepelov  <chepelov@calixo.net>
13411         * lib/geometry.h:
13412         * lib/connection.[ch]:
13413         * lib/poly_conn.[ch]:
13414         * lib/polyshape.[ch]:
13415         * lib/bezier_conn.[ch]:
13416         * lib/beziershape.[ch]:
13417         * lib/orth_conn.[ch]:
13418         * lib/neworth_conn.[ch]:
13419         * lib/element.[ch]: Changed a bit the _update_boundingbox()
13420         interface. Now the parent elements have an extra_spacing
13421         structure, which child objects just need to fill, to take care of
13422         most arrow & line width extra space needs.
13424         * objects/**/*.c: updated all objects to the new interface.
13425         While at it, killed all instances of (Object *) downcasts (phew !)
13427         * objects/GRAFCET/condition.c: removed the arrowhead, which IEC848
13428         doesn't speak about.
13429         
13430 2001-02-21  Lars Clausen  <Lars R. Clausen <lrclause@cs.uiuc.edu>
13432         * sheets/Logic.sheet: New sheet for Logic symbols.
13434 2001-02-21  James Henstridge  <james@daa.com.au>
13436         * app/menus.c (dia_gnome_menu_get_widget): new function to find a
13437         widget by its path name.  Walks the GnomeUIInfo heirachy rather
13438         than widget tree, compares untranslated label names and ignores
13439         underscores in the labels.
13440         (menus_get_item_from_path): use dia_gnome_menu_get_widget so that
13441         lookups are not dependent on the current locale, as with
13442         gnome_app_find_menu_pos.
13444         * acconfig.h: guard against multiple inclusion of config.h.
13446         * app/select.c (select_style_callback): simply set the selection
13447         style to the value of action.
13449         * app/menus.c (menus_init): simplify the item factory based menu
13450         code a bit.  It looks like it was using some code cut and pasted
13451         from the gimp, which looked a bit unnecessary.  Things work fine
13452         without it.
13453         (selectmenu): set the action to the type of selection mode
13454         requested.
13455         (display_menu_items): use the symbolic enumeration values for the
13456         action field.
13458         * app/plugin-manager.c: 
13459         * app/plugin-manager.h: 
13460         * app/filedlg.c:
13461         * app/filedlg.h: 
13462         * app/select.c:
13463         * app/select.h: change prototypes.
13465         * app/commands.c: update all callback prototypes, and get rid of
13466         some #ifdef GNOME's.
13468         * app/commands.h: change function prototypes.
13470         * app/dia_embedd.c (save_fn):
13471         s/ex_Bonobo_IOError/ex_BonoboStorage_IOError/
13473         * app/menus.c (menus_init): for gnome menus, use
13474         gnome_app_fill_menu_custom and pass in a GnomeUIBuilderData
13475         structure that proxies the callbacks to have the same signature as
13476         GtkItemFactory type 1 callbacks.
13477         (menus_init): for GTK menus, change from callback type 2 to type
13478         1.
13479         (display_menu_items): add back tearoffs.  I don't know who removed
13480         these for the gtk menu case.
13482 2001-02-20  Kevin Breit <battery841@mediaone.net>
13484         * doc/en/usage-objects-special.sgml: Fixed a few of the special
13485         object descriptions.  More to come in the next few days.
13487 2001-02-20  Lars Clausen  <lrclause@cs.uiuc.edu>
13489         * app/render_eps.c: Fixed for internationalized floating point
13490         output. 
13492         * objects/UML/note.c: Fixed properties -- was missing
13493         Get/ApplyPropertiesFunc.  Also improved update to recalculate text
13494         position. 
13496 2001-02-19  Lars Clausen  <lrclause@cs.uiuc.edu>
13498         * plug-ins/xfig/xfig-import.c: 
13499         File added importing xfig files.  Still very rough, but good
13500         enough to let others hack on it.
13502 2001-02-07  Cyrille Chepelov  <chepelov@calixo.net>
13504         * app/interface.c:
13505         * app/linewidth_area.c:
13506         * lib/lazyprops.c:
13507         * lib/properties.c:
13508         * lib/widgets.c:
13509         * objects/ER/attribute.c:
13510         * objects/ER/entity.c:
13511         * objects/ER/relationship.c:
13512         * objects/custom/custom_object.c:
13513         * objects/flowchart/box.c:
13514         * objects/flowchart/diamond.c:
13515         * objects/flowchart/ellipse.c:
13516         * objects/flowchart/parallelogram.c:
13517         * objects/standard/box.c:
13518         * objects/standard/textobj.c: per Vlad Harchev's request, made
13519         page sizes of gtk_adjustments different than their step sizes.
13520         When sensible values of page size weren't found (overwhelming
13521         majority of cases), page sizes were set to 10.0 * respective step
13522         size.   
13524 2001-02-07  Lars Clausen  <lrclause@cs.uiuc.edu>
13526         * objects/network/hub.c: 
13527         Patch from Hubert Figuiere applied, adding connection points.
13529 2001-02-02  James Henstridge  <james@daa.com.au>
13531         * app/display.c (new_display): set update id to 0 here.
13532         (ddisplay_update_handler): rename from ddisplay_flush, and set
13533         update_id to 0 at end of processing.
13534         (ddisplay_flush): new implementation that simply sets an idle
13535         handler to perform the actual drawing.
13537         * app/display.h: add structure member to hold the redraw idle
13538         handler id.
13540 2001-01-31  Lars Clausen  <lrclause@cs.uiuc.edu>
13542         * objects/standard/ellipse.c (ellipse_copy): 
13543         * objects/standard/zigzagline.c (zigzagline_copy): 
13544         Fix of copying provided by Martin Hawlisch.
13546 2001-01-23  Kevin Breit <battery841@mediaone.net>
13548         * doc/en/graphics/: added directory
13550         * doc/en/graphics/greendots.png: added file
13552         * doc/en/*sgml: made minor and some major changes to prepare for 1.4
13553         release.
13555 2001-01-23  Kevin Breit <battery841@mediaone.net>
13557         * doc/en/*sgml: made some grammar changes and fixed a few markup bugs.
13558                         thanks to John Fleck!
13560 2001-01-21  Kevin Breit <battery841@mediaone.net>
13562         * doc/en/*sgml: made just minor changes to a few lines; nothing major.
13564 2001-01-12  Michael Meeks  <michael@helixcode.com>
13566         * app/dia_embedd.c (init_server_factory): do a bonobo_activate
13567         so our POA gets setup properly.
13569         * app/paginate_gnomeprint.c (paginate_gnomeprint): g_free
13570         things we g_malloc.
13572         * configure.in: Use bonobox_print.
13574         * app/dia_embedd.c (embeddable_factory): add print interface.
13575         (object_print): impl.
13577 2001-01-11  Michael Meeks  <michael@helixcode.com>
13579         * app/dia_embedd.c (embeddable_factory): aggregate PersistFile.
13580         (load_fn, save_fn): impl.
13581         (view_factory): hide modified status bar, & use activate fn.
13582         (refresh_view): force redraws of the views.
13583         (view_show_hide): split from
13584         (dia_view_activate): here.
13586         * app/diagram.c (diagram_load_into): split from diagram_load.
13587         (new_diagram): simplify bu splittin stuff into
13588         (diagram_init): here.
13590 2001-01-10  Steffen Macke <sdteffen@yahoo.com>
13592         * shapes/jigsaw/*.shape: replaced #000000 with foreground
13593         and #ffffff with background
13594         
13595 2001-01-08  Steffen Macke <sdteffen@yahoo.com>
13597         *configure.in: GTK+-build was broken due to missing
13598         have_bonobo=no
13599         
13600 2001-01-06  Michael Meeks  <michael@helixcode.com>
13602         * app/dia_embedd.c (main): add running context support.
13603         (dia_embeddable_destroy): remove old running object counting.
13604         (embeddable_factory): ditto.
13605         (view_factory): comment out menu path hiding.
13607         * lib/sheet.c (load_register_sheet): use free to free
13608         stuff from libxml not g_free.
13610         * acconfig.h: kill cover for USE_BONOBOX and USE_OAF
13612         * configure.in: remove USE_OAF checks, check for a precice
13613         Bonobo version >= 0.31, revamp bits.
13615         * app/dia_embedd.c (init_server_factory): upd.
13616         (init_dia_factory): remove OAF conditionals, everything uses
13617         oaf now.
13619         * app/GNOME_Dia.oafinfo: rename OAFIIDs
13621         * app/Makefile.am: remove ancient gnorba code.
13622         rename dia.oafinfo to GNOME_Dia.oafinfo
13624 2001-01-07  Hans Breuer <Hans@Breuer.Org>
13626         * config.h.win32
13627         * install.win32
13628         * readme.win32 : some more files required or useful to build 
13629         Dia on win32
13631         * plug-ins/wmf/wmf.cpp : fixed open issues like fill_arc and
13632         fill_bezier implementation, boundary drawing in fill mode, etc.
13633         Next one complaining gets the source, uncommented ...
13635         * shapes/network/router-symbol.xpm 
13636         * shapes/network/switch-atm-symbol.xpm 
13637         * shapes/network/switch-symbol.xpm : removed "-*- picture -*- "
13638         from /* XPM */ header, cause it stopped Dia/gdk_pixbuf to detect 
13639         the files as XPMs. Maybe the X versions of these functions are more
13640         tolerant ...
13642 2001-01-06  Steffen Macke <sdteffen@yahoo.com>
13644         * plug-ins/python/Makefile.am: added libart path
13646         * plug-ins/python/python.c: added dirent.h
13648         * configure.in: added es_ES and pt_BR to ALL_LINGUAS
13649         
13650 2001-01-06  Hans Breuer <Hans@Breuer.Org>
13652         * objects/uml/actor.c
13653         * objects/uml/branch.c
13654         * objects/uml/class.c
13655         * objects/uml/classicon.c
13656         * objects/uml/component.c
13657         * objects/uml/large_package.c
13658         * objects/uml/node.c
13659         * objects/uml/note.c
13660         * objects/uml/object.c
13661         * objects/uml/small_package.c
13662         * objects/uml/state.c
13663         * objects/uml/usecase.c : started to implement the generic property
13664         interface for the uml objects. Would appreciate some help on how
13665         to implement properties which are list of properties themselves,
13666         e.g. member functions and their parameters of UMLClass.
13668 2001-01-06  Hans Breuer <Hans@Breuer.Org>
13670         * plug-ins/python/diamodule.c : finally ported to win32.
13671         Added new objects and implemented register_export function.
13673         * plug-ins/python/pydia-object.h
13674         * plug-ins/python/pydia-display.c
13675         * plug-ins/python/pydia-handle.c
13676         PyObject_HEAD_INIT needs some tweakink on win32. Done in
13677         pydia-object.h; others files simply using it.
13679         * plug-ins/python/pydia-layer.c : reflect 
13680         layer_find_closest_connection(_)point renaming
13682         * plug-ins/python/pydia-object.c : add property properties.
13683         Also change bounding_box to DiaRectangle.
13685         * plug-ins/python/python.c : extended error reporting; use
13686         all *.py files from Dia's plug-in dir instead of hardcoded
13687         test.py. This sollution should be fine with Win32, but on
13688         Unix it may need some tweaking (dunno) ...
13690         * plug-ins/python/export-object.py
13691         * plug-ins/python/export-render.py : test and documentation 
13692         implementations for export filter implementations in Python
13694         * plug-ins/python/pydia-color.[hc]
13695         * plug-ins/python/pydia-diagramdata.[hc]
13696         * plug-ins/python/pydia-error.[hc]
13697         * plug-ins/python/pydia-export.[hc]
13698         * plug-ins/python/pydia-font.[hc]
13699         * plug-ins/python/pydia-geometry.[hc]
13700         * plug-ins/python/pydia-image.[hc]
13701         * plug-ins/python/pydia-properties.[hc]
13702         * plug-ins/python/pydia-property.c
13703         * plug-ins/python/pydia-render.c : new objects in new files 
13705         * plug-ins/python/makefile.am : added new files but can't test it
13707         * plug-ins/python/pydia.def
13708         * plug-ins/python/makefile.msc : for win32 build
13710         * plug-ins/cgm/cgm.c
13711         * plug-ins/dxf/dxf-import.c
13712         * plug-ins/dxf/dxf-export.c
13713         * plug-ins/hpgl/hpgl.c : reflect export API change
13715         * plug-ins/shape/shape-export.c : reflect export API change
13716         and check for libart (better the availibility of a png exporter) 
13717         at run-time instead of compile-time. 
13719 2001-01-06  Steffen Macke <sdteffen@yahoo.com>
13721         * app/recent_files.h was missing from Hans's commit
13723         * plug-ins/shape/shape_export.c: shape export was broken
13724         due to interface changes
13725         
13726 2001-01-05  Hans Breuer <Hans@Breuer.Org>
13728         Applied Steffen's recent file list patch :
13729         * app/Makefile.am : added recent_files.[hc]
13730         * app/diagram.c : add files to recent file list
13731         * app/menus.c : add recent file menu
13732         * app/app_procs.c : changed initialization order to
13733         make recent file list work with command line processing.
13735         The Filter export()/import() functions have got an additional 
13736         parameter to allow multiple filters via one C callback (required
13737         for Python bindings)
13739         * app/commands.[hc] : corrected the signature for gtk menu callback
13740         functions, which actually use the second or third parameter. This
13741         is the absolute minimum change to make these functions/menu entries
13742         work again. Using the other possible gtk menu callback signature
13743         would have required one more function to change. (see mailing list
13744         thread "Objects/Align/Equal Distance" for more information.
13746         * app/disp_callbacks.c : applied Gustavo J.A.M. Carneiro's
13747         zoom-combo focus patch
13749         * app/display.c
13750         * app/interface.c : wrapped the Zoom Combo code into 
13751         #ifndef WITHOUT_ZOOM_COMBO because IHMO it isn't an useabilty
13752         improvement but cluttering the user interface. Also it wasn't
13753         compiling on Win32 anyway. The win32 version does define 
13754         WITHOUT_ZOOM_COMBO to keep the old look. 
13755         There are plans to use the statusbar to display size and placement
13756         of selected objects, whereas the Zoom Combo would need to get out
13757         of the way as well.
13759         Added "Save Changes?" to diagram close dialog. Hopefuly the
13760         Yes/No/Cancel option isn't too much windoze like. IHMO this is
13761         an useability improvement.
13763         * app/export_png.c
13764         * app/filedlg.c
13765         * app/load_save.c
13766         * app/layer_dialog.c
13767         * app/paginate_psprint.c
13768         * app/render_eps.c
13769         - reflect signature changing of filter->export function
13770         - replaced '/' with G_DIR_SEPARARTOR where appropriate
13772         * app/diaunitspinner.c
13773         * app/render_libart.c
13774         added misssing headers like <string.h>
13776         * app/object_ops.c : fixed copy&paste bug in dialog string
13778         * app/splash.c : gdk_widget_show_now () does not ensure actual
13779         drawing of the splash screen, at least not on win32. Reuse the
13780         previous implementation with gtk_main_iteration() again.
13782         * */makefile.msc : make use of the build module (available in
13783         gnome-cvs/build. Updated for other source changes
13785         * lib/filter.h : added an user_data pointer to <ex/im>port()
13786         function signature and Dia<Im/Ex>portFilter to allow different
13787         filters to reuse the same callback function
13789         * lib/font.c : #include <string.h>
13791         * lib/orth_conn.c 
13792         * lib/poly_conn.c 
13793         * lib/poly_shape.c 
13794         * lib/neworth_conn.c
13795         * lib/text.c : don't mix allocator functions (g_)realloc, free, ...
13797         * */*.def : export function definition files required by win32 build
13799         * objects/custom/custom.c : #include <string.h>
13801         * plug-ins/pstricks/render_pstricks.c
13802         * plug-ins/shape/shape_export.c
13803         * plug-ins/svg/render_svg.c
13804         reflect changes to filter export function signature
13806         * plug-ins/wmf/wmf.cpp : fixed indent and scaling. It now should
13807         mostly work as expected
13808         * plug-ins/wmf/wmf_gdi.[hc] : Updated comment. Still not used
13809         to build the wmf plug-in because on the one hand the GDI emulation 
13810         isn't finished and on the other hand it isn't required when building
13811         for win32. Is there anybody out there, who wants to save WMF on non
13812         windoze platforms ?
13814         * plug-ins/wpg/wpg.cpp : fixed scaling to take axis dependent
13815         offset into account.
13817 2001-01-02  Steffen Macke <sdteffen@yahoo.com>
13819         * app/Makefile.am: added missing plug-ins to run_dia.sh
13821         * lib/paper.c: added paper sizes A0, A1, A2
13823         * objects/UML/class.c
13824         objects/UML/class.h
13825         objects/UML/class_dialog.c: added support for colored UML
13826         classes
13827         
13828 2000-12-30  Kevin Breit <battery841@mediaone.net>
13830         * doc/en/usage-customization.sgml: added more content
13832 2000-12-24  Kevin Breit <battery841@mediaone.net>
13834         * doc/en/usage-layers.sgml: added file, contributed by Remypsb
13835         <remy.viard@laposte.net>
13837 2000-12-24  Steffen Macke <sdteffen@yahoo.com>
13839         * added limiting lines to Civil Engineering sheet,
13840         fixed vertical pump icon
13841         
13842 2000-12-20  Steffen Macke <sdteffen@yahoo.com>
13844         * updated/additional Civil Engineering shapes: better icons,
13845         shapes use foreground/background colors now and are filled
13846         
13847 2000-12-03  Kevin Breit  <battery841@mediaone.net>
13849         * doc/en/dia-manual.sgml Integrated a few diffs.  New section should be
13850         the selection <sect1>
13852 2000-11-29  Fredrik Hallenberg  <hallon@lysator.liu.se>
13854         * app/load_save.c (diagram_data_save): avoid using obsoleted
13855         libxml calls (only matters when compiling with libxml2)
13857 2000-11-25  James Henstridge  <james@daa.com.au>
13859         * app/disp_callbacks.c (ddisplay_drop_object): add a function to
13860         handle the tool drops on the canvas.
13862         * app/interface.c (display_data_received_callback): do the check
13863         to make sure that the drag is from a local toolbox here as well.
13865         * app/interface.c (create_tools): unref the pixmap/mask after
13866         creating the GtkPixmap.
13867         (tool_setup_drag_source): function to set up a drag source for
13868         create object tool buttons.
13869         (create_tools): setup drag source for CREATE_OBJECT_TOOL's.
13870         (fill_sheet_wbox): same here.
13871         (create_display_shell): set up the display canvas as a drag
13872         destination.
13873         (display_drop_callback, display_data_received_callback): functions
13874         to handle drops of tool buttons.
13876         * app/menus.c (menus_init): don't use gnome_popup_menu_new().  It
13877         does weird shit to the user_data pointer for a menu item.  Object
13878         alignment should work again now.
13880         * app/splash.c (get_logo_pixmap): don't unref the bitmap if it is
13881         NULL, and mark this function static.
13882         (app_splash_init): use gtk_widget_show_now() instead of the
13883         gtk_main_iteration loop.
13884         (app_splash_init): connecting gtk_widget_destroy to the destroy
13885         signal of a widget seems pretty useless.
13887 2000-11-23  Kevin Breit <battery841@users.sourceforge.net>
13889         * doc/en/dia-manual.sgml:
13890                 Added sect1 for advanced object types.  Starting development
13891                 on that part.
13893 2000-11-18  Kevin Breit <battery841@mediaone.net>
13895         * doc/en/dia-manual.sgml:
13896                 Stupid spelling fixes.
13898 2000-11-18  Kevin Breit <battery841@mediaone.net>
13900         * doc/en/dia-manual.sgml:
13901                 Just some small changes I made.  Props to Greg LeBlanc on the
13902                 recommendations.
13904 2000-11-17  Alexander Larsson  <alla@lysator.liu.se>
13906         * app/display.c:
13907         (ddisplay_add_display_area): Clip input rectangle to
13908         the visible part of the display.
13909         (ddisplay_scroll): Optimization, don't scroll and
13910         redraw if moving to the same position as before.
13912         * app/render_libart.c (renderer_libart_copy_to_window):
13913         Removed sanity check. Now moved to ddisplay_add_display_area().
13915         * lib/diavar.h:
13916         Added return at end of file.
13917         
13918 2000-11-13 Kevin Breit <battery841@mypad.com>
13919         * doc/en/dia-manual.sgml
13920                 Commited manual changes from Henry House <hajhouse@houseag.com>
13922 2000-10-21 Hans Breuer <Hans@Breuer.Org>
13923         * lib/beziershape.c :
13924                 The previous code was accessing unowned memory due to IHMO
13925                 wrong index calculation. Now it appears to be fixed.
13926                 *Please Review!*
13928         * lib/makefile.msc
13929         * plug-ins/makefile.msc
13930         * objects/makefile.msc
13931         * app/makefile.msc: (new files)
13932                 Makefiles for Dia on Win32, Micro$oft VC only.
13934         * plug-ins/pstricks/render_pstricks.c
13935         * plug-ins/dxf/dxf-import.c
13936         * plug-ins/shape/shape-export.c
13937         * plug-ins/svg/render_svg.c
13938         * app/commands.c
13939         * app/filedlg.c
13940         * app/preferences.c
13941         * app/render_eps.c
13942         * lib/sheet.c
13943         * lib/plug-ins.c
13944         * objects/custom/custom.c
13945         * objects/standard/image.c
13946                 portability (not only win32): use HAVE_UNISTD_H, HAVE_DIRENT_H 
13947                 where   appropriate, add missing prototypes like <string.h>
13949         * plug-ins/wmf/wmf_gdi.cpp
13950         * plug-ins/wmf/wmf_gdi.h:
13951                 start of wmf write functions for non Win32 platform. Not 
13952                 finished yet. The other way to get it working maybe to
13953                 link the plug-in against wine libs.
13954                 
13955         * plug-ins/wpg/wpg.c : add missing brace
13957         * app/load_save.c :
13958                 Handling for unknown objects at load time. Previously Dia
13959                 was crashing, if you try to load a file referencing objects
13960                 whiches plug-ins aren't installed/available. Now it spits out 
13961                 a warning and ignores the unknown objects.
13963         * app/interface.c
13964                 toolbox DND support for files like The Gimp does it.
13966         * app/main.c
13967         * app/app_procs.h
13968                 Simple splash screen support and usage.
13970         * app/app_procs.c
13971                 Splash screen, portability fixes, dont' g_error if there is
13972                 g_get_homedir return NULL. This may remove the one and only
13973                 FAQ for Win32.
13975         * app/menus.c :
13976                 Make it compile without ENABLE_NLS
13978         * app/render_libart.c :
13979                 Sanity check to avoid calling libart with wrong window coordinates.
13980                 They come from the update handler. Direct Gdk is dealing nicely
13981                 with coordinates out of range, libart does access un-owned memory
13982                 in this case, mostly causing crashes.
13984         * app/winmain.c: (new file) Export the Win32 Gui version of the
13985                 main function. This file is only required for Windoze.
13987         * app/splash.c: (new file) splash screen implementation
13989         * lib/color.h
13990         * lib/font.h
13991         * lib/diavar.h: (new file)
13992                 moved special variable export code to diavar.h, because it is
13993                 needed in color.h and font.h
13995         * lib/paper.c :
13996                 M$VC cann't export inlined functions. Quick hack to let it
13997                 link again. Probably the glib mechanics should be used here?
13999         * objects/UML/lifeline.c : initialize var before usage
14001         * objects/GRAFCET/step.c : removed unused var
14003 2000-10-14  James Henstridge  <james@daa.com.au>
14005         * app/render_gnomeprint.c (draw_image): change code so images
14006         don't get flipped when printing.
14008         * app/paginate_gnomeprint.c (diagram_print_gnome): check to make
14009         sure that the return value of
14010         gnome_print_context_new_with_paper_size is not NULL.
14012         * app/render_gnomeprint.c (draw_arc): add code to convert arcs
14013         into a series of bezier segments.
14014         (fill_arc): similar code to handle filled arc segments.
14016 2000-10-12  Fredrik Hallenberg  <hallon@lysator.liu.se>
14018         * app/app_procs.c
14019         * app/commands.c
14020         * app/dia-props.c
14021         * app/diagram.c
14022         * app/diagram.h
14023         * app/disp_callbacks.c
14024         * app/display.c
14025         * app/linewidth_area.c
14026         * app/paginate_psprint.c
14027         * app/preferences.c
14028         * app/undo.c
14029         * app/font.c
14030         * app/message.c
14031         * app/neworth_conn.c
14032         * app/orth_conn.c
14033         * objects/standard/box.c: various small changes to get rid of 
14034         annoying warnings (eg faulty prototypes and unused variables)
14036         * app/disp_callbacks.c
14037         * app/cursor.h
14038         * app/magnify.c
14039         * app/magnify.h: update magnify tool icon when pressing/releasing
14040         shift. I will try to make something more general so that similar
14041         things can be used by other tools.
14043         * shapes/SDL/inout.shape
14044         * shapes/SDL/return.shape: fixed some typos
14046 2000-10-09  James Henstridge  <james@daa.com.au>
14048         * objects/custom/shape_info.c (parse_path): apply patch from
14049         Robert Young <robertdotyoung@dsto.defence.gov.au> to fix bug
14050         #25221
14052 2000-10-08  James Henstridge  <james@daa.com.au>
14054         * objects/standard/image.c (image_set_props): if the file could not
14055         be loaded, show the broken image icon.
14057         * plug-ins/Makefile.am (SUBDIRS): add shape to the subdirs list.
14059         * plug-ins/shape/*: the shape export plugin by Steffen Macke.
14061         * app/interface.c (fill_sheet_wbox): use gdk-pixbuf to load the
14062         object icon when loading from a file.  This allows you to have PNG
14063         icon files for shapes.
14065 2000-10-07  James Henstridge  <james@daa.com.au>
14067         * app/Makefile.am (dia_LDADD): remove GDK_IMLIB_LIBS reference.
14069         * lib/Makefile.am, app/Makefile.am (INCLUDES): remove
14070         GDK_IMLIB_CFLAGS reference.
14072         * app/commands.c (help_about_callback): remove imlib code.
14074         * lib/dia_image.c: only include the pixbuf version of the image
14075         routines.
14077         * acconfig.h: remove the HAVE_GDK_PIXBUF flag from here.
14079         * configure.in (CPPFLAGS): remove the check for imlib, as we now
14080         require gdk-pixbuf.
14082         * plug-ins/pstricks/render_pstricks.c (new_pstricks_renderer):
14083         conditionally define \setfont as well.
14085 2000-10-05  James Henstridge  <james@daa.com.au>
14087         * plug-ins/pstricks/render_pstricks.c (new_pstricks_renderer): fix
14088         preamble so that we define \setlinejoinmode and \setlinecaps
14089         commands conditionally on them being undefined.  This way, the
14090         pstricks output files should work without modification, and will
14091         support the commands when they are implemented in pstricks.
14093 2000-10-05  Szabolcs Ban  <shooby@gnome.hu>
14095         * dia.desktop: added hungarian translations to dia.desktop
14097 2000-10-04  James Henstridge  <james@daa.com.au>
14099         * sheets/UML.sheet: fix typo.
14101         * objects/custom/shape_info.c: use strtod instead of g_strtod.
14102         (parse_path): actually call setlocale around strtod calls.
14104         * lib/dia_xml.c: use strtod rather than g_strtod.  We wrap each
14105         call in setlocale(LC_NUMERIC, "C"), so there is no reason to call
14106         the g_strtod wrapper.
14108         * shapes/SDL/: add SDL shapes from Rubens Ramos
14109         <rubens_ramos@yahoo.com>
14111         * acinclude.m4 (DIA_CHECK_CFLAG): fix up macro.
14113         * sheets/Makefile.am (SHEETS): add SDL.sheet to list.
14115         * shapes/MSE/: add Mobile Subscriber Equipment shapes from
14116         W. Michael Petullo <mike@flyn.org>.
14118         * sheets/Makefile.am (SHEETS): add civil.sheet (which got missed
14119         from the 0.86 tarball) and jigsaw.sheet.
14121         * configure.in: add shapes/jigsaw/Makefile to list of generated files.
14123         * shapes/jigsaw/: jigsaw shapes from Martin Hawlisch.
14125         * shapes/network/: add network-additional shapes here.
14127         * sheets/network.sheet: add the network-additional shapes from
14128         Martin Hawlisch <Martin.Hawlisch@bflow.com> to the main network
14129         sheet.
14131 2000-09-30  Fredrik Hallenberg  <hallon@lysator.liu.se>
14133         * configure.in: Updated ALL_LINGUAS
14135         * po/nl.po: Removed newline from translation
14137 2000-09-17  Asbjorn Pettersen  <asbjornP@dualog.no>
14139         * app/commands.c (help_about_callback): Use G_DIR_SEPARATOR_S in 
14140         logo filename generation. 
14142         * lib/dia_dirs.c (dia_get_data_directory): Handle empty subdir better.
14143         Avoiding "//dia_logo.png".
14145 2000-09-16  Asbjorn Pettersen  <asbjornP@dualog.no>
14147         * app/filedlg.c: add include <sys/types.h> to
14148         remove warning. (OS/2)
14150 2000-09-13  Cyrille Chepelov <chepelov@calixo.net>
14152         * objects/chronogram/chronoline_event.c (reparse_clevent):
14153         the __checksum routine was simply bogus. Redone it in a slightly
14154         saner way (reported by Michael Farr <mfarr@cs.latrobe.edu.au>).
14156 2000-09-10  Asbjorn Pettersen  <asbjornP@dualog.no>
14158         * app/create_object.c (create_object_button_press): 
14159         * app/modify_tool.c (click_select_object): 
14160         * lib/object.h: select renamed to selectf to prevent
14161         compiler problems with function select().  OS/2 version.
14163 2000-09-08  Karsten Weiss  <knweiss@gmx.de>
14165         * po/de.po: Updated.
14167 2000-09-07  Karsten Weiss  <knweiss@gmx.de>
14169         * dia.desktop: Added German translation
14170         * app/menus.c: "Diagram Propeties..." -> "Diagram Properties..."
14172 2000-08-29  Manuel de Vega Barreiro <barreiro@arrakis.es>
14174         * configure.in (ALL_LINGUAS): added "es"
14176 2000-08-28  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
14178         * app/magnify.c:
14179         * app/cursor.h:
14180         * app/cursor.c:
14181         * app/scroll_tool.c:
14182         Standardized cursor function get_cursor().  Magnify now has
14183         looking-glass cursor with + and -.
14185         * app/create_object.c (create_object_button_press): 
14186         Newly created connections now snap to connection points even when
14187         off the grid. 
14189 2000-08-17  Daniel Egger  <egger@suse.de>
14191         * app/menus.c: #ifdef'ed some code for the none GNOME
14192         case.
14193         * app/dia_embedd.c: Changed obvious hackery. Can anyone
14194         please have a look at the GNOME UI menu creation? The
14195         gnome-app-helper code is ages old and plainly broken!
14197 2000-08-15  Daniel Egger  <egger@suse.de>
14199         * app/commands.c:
14200         * app/commands.h:
14201         * app/diagram.c:
14202         * app/display.c:
14203         * app/menus.c:
14204         * app/select.c: First big patch to get the menus
14205         working again in the international version. Copied
14206         some code written by Sven and me from GIMP and
14207         thus implemented automatic tearoffmenu creation and
14208         proper translation. I also removed that pseudo
14209         radiomenu hack and cleaned up several translation
14210         hacks which have never really worked. All in all
14211         this is part I of the big menu patch. Enjoy and tell
14212         me if you detect any problems.
14214 2000-08-14  Daniel Egger  <egger@suse.de>
14216         * sheets/UML.sheet: Changed one German translation as
14217         suggested by Heribert Schuetz <hs@heribert-schuetz.de>.
14219 2000-08-10  Fredrik Hallenberg  <hallon@lysator.liu.se>
14221         * app/diapagelayout.c:
14222         * lib/diagramdata.c:
14223         * lib/diagramdata.h:
14224         * lib/Makefile.am:
14225         * lib/paper.c:
14226         * lib/paper.h: honour PAPERCONF env variable and /etc/papersize when
14227         selecting paper size for a new diagram. TODO: Use libpaper if 
14228         available and use gnome_paper-stuff if using GNOME.
14230         * sheets/Electric.sheet: fixed typo.
14231         
14232 2000-08-08  James Henstridge  <james@daa.com.au>
14234         * po/README: added a readme file to tell translators to translate
14235         the .sheet files as well.
14237         * app/commands.c (help_about_callback): fix small bug where we tried
14238         to gdk_bitmap_unref() the mask for the about box image, even though
14239         it was NULL.  Now check for a NULL mask.
14241 2000-08-07  Daniel Egger  <egger@suse.de>
14243         * sheets/*.sheet: Added translations for the name
14244         in the toolbar tab. Brushed up some descriptions 
14245         and some translations a bit.
14247 2000-08-06  James Henstridge  <james@daa.com.au>
14249         * plug-ins/svg/render_svg.c (new_svg_renderer): update public
14250         identifier and dtd url for SVG output.
14251         (new_svg_renderer): fix the output of the viewBox output.  The
14252         second two numbers are the width and height -- not the right
14253         and bottom sides of the box.
14255         * shapes/*/*.shape: update svg namespace URI.
14257         * objects/custom/shape_info.c (load_shape_info): change the
14258         namespace URI for custom shapes yet again to match the Candidate
14259         Recommedation.  It looks like this one will probably be the final
14260         one.
14262         * app/display.c (new_display): remove the code that sets ic and
14263         ic_attr members to NULL, as one of the previous function calls
14264         causes the display to be realised.  This means that the ic gets
14265         lost.  Thanks to Yukihiro Nakai <ynakai@redhat.com> for finding
14266         this one.
14268 2000-08-06  James Henstridge  <james@daa.com.au>
14270         * shapes/Makefile.am (SUBDIRS): add Civil back to list.
14272         * NEWS: fixed date in NEWS file, as I will release today.
14274         * README: updated the README a little.  Added note that Dia is now
14275         a GNU program.
14277         * dia.spec: fix up spec file.
14279         * plug-ins/wpg/wpg.c: changed DIAG_NOTE stuff here as well.
14281         * plug-ins/hpgl/hpgl.c: change Hans's DIAG_NOTE stuff so that we don't
14282         get heaps of warnings when you turn off debugging.
14283         Also made a few other warning fixes.
14285 2000-08-02  James Henstridge  <james@daa.com.au>
14287         * plug-ins/svg/Makefile.am (INCLUDES): add XML_CFLAGS to INCLUDES.
14289         * configure.in: update version number.
14291 2000-08-01  James Henstridge  <james@daa.com.au>
14293         * app/commands.c (help_about_callback): add Hans to about dialog.
14295         * doc/shape.dtd: dtd for shape file format.
14297         * doc/custom-shapes: update doc file about creating custom shapes.
14299         * shapes/*/*.shape: change namespace URI for the SVG portion to the
14300         one for the latest draft.
14302         * shapes/*/*.shape: fix up rect definitions.
14304         * objects/custom/shape_info.c (load_shape_info): recognise newer
14305         namespace tag for SVG.
14306         (parse_svg_node): the rect element should take attributes x, y, width
14307         and height -- not x1,y1,x2,y2.
14309         * plug-ins/svg/render_svg.c (new_svg_renderer): updated doctype
14310         output to use the newest draft DTD.
14312         * plug-ins/svg/svg.c: initialisation code for plugin.
14314         * plug-ins/svg/render_svg.c: move svg export code to a plugin.
14316         * plug-ins/svg/Makefile.am: makefile for svg plugin.
14318         * app/app_procs.c (internal_plugin_init): don't register the svg
14319         export filter here.
14321         * app/Makefile.am (dia_core_files): don't compile in render_svg.[ch]
14323 2000-07-31  James Henstridge  <james@daa.com.au>
14325         * objects/standard/textobj.c (textobj_get_defaults): 
14326         * objects/standard/polygon.c (polygon_get_defaults): 
14327         * objects/standard/image.c (image_get_defaults): 
14328         * objects/standard/ellipse.c (ellipse_get_defaults): 
14329         * objects/standard/box.c (box_get_defaults): 
14330         * objects/standard/beziergon.c (beziergon_get_defaults): 
14331         * objects/flowchart/parallelogram.c (pgram_get_defaults): 
14332         * objects/flowchart/ellipse.c (ellipse_get_defaults): 
14333         * objects/flowchart/diamond.c (diamond_get_defaults): 
14334         * objects/flowchart/box.c (box_get_defaults): 
14335         * objects/custom/custom_object.c (custom_get_defaults): 
14336         * objects/FS/flow.c (flow_get_defaults): 
14337         * objects/FS/flow-poly.c (flow_get_defaults): 
14338         * objects/FS/flow-ortho.c (orthflow_get_defaults): ref and sink the
14339         defaults widget.
14341         * app/defaults.c (defaults_show): don't keep on ref'ing the defaults
14342         widgets for various object types.
14343         (create_dialog): ref and sink the no_defaults_dialog.
14345         * app/preferences.c (prefs_create_dialog): change
14346         gtk_container_border_width call to gtk_container_set_border_width.
14348 2000-07-29  James Henstridge  <james@daa.com.au>
14350         * app/commands.c (view_aa_callback): show a warning dialog if
14351         you start AA mode.
14353         * app/interface.c (fill_sheet_menu): don't add a menu item for
14354         empty sheets.
14356 2000-07-26  James Henstridge  <james@daa.com.au>
14358         * plug-ins/dxf/dxf-export.c: updates from Steffen to fix bug #18677
14360         * app/menus.c: remove edit grid menu item.
14362         * app/commands.[ch] (view_edit_grid_callback): removed.
14364         * app/display.c (new_display): don't initialise removed Grid members.
14366         * app/grid.c: remove unused functions.
14368         * app/grid.h: remove dialog related stuff from Grid structure.
14369         Remove prototypes for dialog functions.
14371         * app/menus.c: add to menus
14372         
14373         * app/commands.[ch] (view_diagram_properties_callback): new command
14374         for showing the diagram properties dialog.
14376         * app/dia-props.[ch]: a new diagram properties dialog.  To replace
14377         the edit grid dialog.
14379 2000-07-25  James Henstridge  <james@daa.com.au>
14381         * app/grid.c (grid_x_update): 
14382         (grid_y_update): as the grid setting is stored with the diagram,
14383         update all displays when a change is made.
14385         * app/modify_tool.c (modify_motion): use new snap_to_grid sig.
14387         * app/create_object.c (create_object_button_press): 
14388         (create_object_motion): use new snap_to_grid signature.
14390         * app/grid.c (grid_draw): use the grid settings in the DiagramData,
14391         and handle invisible grid lines.
14392         (snap_to_grid): use new grid settings.  Also changed signature to
14393         take a DDisplay rather than Grid pointer.
14394         (grid_show_dialog): get the defaults from the correct place.
14396         * app/display.c (new_display): do not set ddisp->grid.width_[xy].
14398         * app/diagram.c (new_diagram): set the grid size defaults from the
14399         user preferences.
14401         * app/load_save.c (diagram_data_save): save grid and guide info to
14402         diagram file.
14403         (diagram_data_load): add guide and grid load support.
14405         * lib/diagramdata.c (new_diagram_data): set the new DiagramData
14406         members.
14408         * lib/diagramdata.h: add members to DiagramData for grid and guide
14409         settings.
14411         * configure.in (BONOBO_LIBS): update configure scripts
14413         * app/dia.oafinfo: oafinfo file for dia embeddables.
14415         * app/dia_embedd.c: add OAF support.
14417 2000-07-24  James Henstridge  <james@daa.com.au>
14419         * plug-ins/wpg/Makefile.am: 
14420         * plug-ins/pstricks/Makefile.am: 
14421         * plug-ins/hpgl/Makefile.am: 
14422         * plug-ins/dxf/Makefile.am: same here.
14424         * plug-ins/cgm/Makefile.am: remove LIBADD.  Dia already links with
14425         the required libraries, and the link line was causing libtool not
14426         to build a shared library on some systems :(
14428         * plug-ins/cgm/cgm.c (write_real): the initial if statement should
14429         be checking x, not n.
14431 2000-07-23  James Henstridge  <james@daa.com.au>
14433         * app/preferences.c (prefs_data): set the "reset tools after
14434         create" preference to true by default.  That seems to be what most
14435         people expect.
14437         * app/interface.c (create_sheets): instead of a notebook, use an
14438         option menu that updates the sheet tools.  The notebook tabs were
14439         getting a bit unwieldly, so the option menu should fix that.  This
14440         also reduces the number of widgets in the tools radio button
14441         group, which should make the UI a little more responsive.
14443 2000-07-19  Fatih Demir <kabalak@gmx.net>
14444         
14445         * configure.in: Added tr to ALL_LINGUAS.
14446                 [ Yeah, we're now having a Turkish translation,
14447                    too. ]
14448         
14449         * dia.desktop: Added the Turkish entries.
14451 2000-07-02  Fredrik Hallenberg  <hallon@lysator.liu.se>
14453         * doc/diagram.dtd: changed string-element so it conforms to the
14454         output from dia.
14456 2000-06-30  Fredrik Hallenberg  <hallon@lysator.liu.se>
14458         * configure.in: added chinese. 
14459         Use AM_PROG_LIBTOOL instead of AC_PROG_LIBTOOL.
14461         * app/app_procs.c:
14462           app/load_save.c:
14463           app/render_svg.c:
14464           lib/dia_xml.c:
14465           lib/plug-ins.c:
14466           lib/sheet.c:
14467           objects/custom/shape_info.c: 
14468           shapes/Circuit/npn.shape:
14469           shapes/Circuit/pnp.shape:
14470           sheets/*.sheet: dia now works with libxml2.
14471         Libxml2 is a bit more picky when parsing xml and reported errors on all 
14472         sheet files because they use non ascii characters (added 
14473         encoding="iso-8859-1"). Also "xml:lang=en@layman" is not proper xml so 
14474         I commented out these.
14476 2000-06-30  Christopher R. Gabriel  <cgabriel@linux.it>
14478         * configure.in (ALL_LINGUAS): added Italian
14480 2000-06-27  Sung-Hyun Nam  <namsh@lgic.co.kr>
14482         * configure.in (ALL_LINGUAS): added Korean
14484 2000-06-25  James Henstridge  <james@daa.com.au>
14486         * objects/flowchart/parallelogram.c (pgram_create): use default font
14487         and add properties interface support.
14489         * objects/flowchart/ellipse.c (ellipse_create): use default font and
14490         add properties interface support.
14492         * objects/flowchart/diamond.c (diamond_create): use default font and
14493         add properties interface code.
14495         * objects/flowchart/box.c (box_create): use default font.
14497         * objects/custom/custom_object.c (custom_create): use default font
14498         here too.
14500         * objects/standard/textobj.c (textobj_create): update to use default
14501         font.
14503         * lib/attributes.c: add implementations.
14505         * lib/attributes.h (attributes_[gs]et_default_font): add function
14506         prototypes for setting/getting a default font.
14508 2000-06-24  James Henstridge  <james@daa.com.au>
14510         * app/paginate_gnomeprint.h: updated prototype.
14512         * app/paginate_gnomeprint.c (paginate_gnomeprint): update to use
14513         diagram page settings.
14515         * objects/standard/beziergon.c (beziergon_copy): same here.
14517         * objects/standard/polygon.c (polygon_copy): copy the fill colour
14518         as well.
14520         * app/undo.h: 
14521         * app/tool.h (tool_options_dialog_show): 
14522         * app/scroll_tool.h (free_scroll_tool): 
14523         * app/render_svg.h: 
14524         * app/render_libart.h (renderer_libart_copy_to_window): 
14525         * app/render_gdk.h (renderer_gdk_copy_to_window): 
14526         * app/properties.h (properties_hide_if_shown): 
14527         * app/preferences.h (prefs_load): 
14528         * app/object_ops.h: 
14529         * app/modify_tool.h (free_modify_tool): 
14530         * app/magnify.h (free_magnify_tool): 
14531         * app/linewidth_area.h (linewidth_area_create): 
14532         * app/layer_dialog.h: 
14533         * app/handle_ops.h (handle_is_clicked): 
14534         * app/group.h: 
14535         * app/grid.h (grid_destroy_dialog): 
14536         * app/defaults.h (defaults_show): 
14537         * app/cut_n_paste.h (cnp_exist_stored_objects): 
14538         * app/create_object.h (free_create_object_tool): 
14539         * app/connectionpoint_ops.h (diagram_unconnect_selected): 
14540         * app/commands.h: 
14541         * app/color_area.h (color_area_create): 
14542         * app/app_procs.h (app_is_embedded): remove extern keyword from
14543         function prototypes.
14545         * lib/text.h: 
14546         * lib/sheet.h (load_all_sheets): 
14547         * lib/render_store.h: 
14548         * lib/render_object.h (render_object_load): 
14549         * lib/polyshape.h (polyshape_closest_segment): 
14550         * lib/poly_conn.h (polyconn_closest_segment): 
14551         * lib/orth_conn.h: 
14552         * lib/object.h: 
14553         * lib/objchange.h (new_object_state_change): 
14554         * lib/neworth_conn.h (neworthconn_add_segment): 
14555         * lib/message.h (message_error): 
14556         * lib/lazyprops.h: 
14557         * lib/geometry.h: 
14558         * lib/font.h (font_descent): 
14559         * lib/focus.h (remove_focus): 
14560         * lib/element.h: 
14561         * lib/diagramdata.h: 
14562         * lib/dia_xml.h (data_add_composite): 
14563         * lib/dia_image.h: 
14564         * lib/connpoint_line.h: 
14565         * lib/connection.h (connection_move_handle): 
14566         * lib/color.h: 
14567         * lib/attributes.h (attributes_set_default_line_style): 
14568         * lib/arrows.h (arrow_draw): remove extern keyword from function
14569         definitions.  It is not required for functions.
14571         * plug-ins/dxf/Makefile.am (INCLUDES): 
14572         * plug-ins/pstricks/Makefile.am (INCLUDES): 
14573         * plug-ins/cgm/Makefile.am (INCLUDES): 
14574         * objects/SADT/Makefile.am (INCLUDES): 
14575         * objects/chronogram/Makefile.am (INCLUDES): 
14576         * objects/GRAFCET/Makefile.am (INCLUDES): 
14577         * objects/flowchart/Makefile.am (INCLUDES): 
14578         * objects/sybase/Makefile.am (INCLUDES): 
14579         * objects/FS/Makefile.am (INCLUDES): 
14580         * objects/standard/Makefile.am (INCLUDES): 
14581         * objects/network/Makefile.am (INCLUDES):
14582         * objects/UML/Makefile.am (INCLUDES): same here.
14584         * objects/ER/Makefile.am: changed inclusion of some macros to
14585         variables.
14587         * lib/plug-ins.c (dia_register_plugins_in_dir): use a few defines to
14588         handle the plug in extension, rather than have all the #ifdef's in
14589         the code.
14591         * plug-ins/Makefile.am: add renderer.inc to dist.
14593         * plug-ins/dxf/dxf-import.c: Updates from Steffen Macke.
14595 2000-06-11  Asbjorn Pettersen  <asbjornP@dualog.no>
14597         * lib/plug-ins.c: Handle OS/2 dll's too.
14599 2000-06-07  James Henstridge  <james@daa.com.au>
14601         * app/plugin-manager.c (get_plugin_manager): set some table
14602         packing options to make it look a little nicer.
14604         * plug-ins/hpgl/Makefile.am, plug-ins/wpg/Makefile.am: added
14605         makefiles for these plug-ins.
14607         * plug-ins/{hpgl,wmf,wpg}/*: removed dos style cariage returns.
14609         * configure.in: added hpgl and wpg directories to build.  Added
14610         note about whether gnome-print support was enabled, and noted that
14611         it is not recommended.
14613 2000-06-06  James Henstridge  <james@daa.com.au>
14615         * plug-ins/{hpgl,wmf,wpg}/*: Hans Breuer's plug-ins.  They still need
14616         a little work, but I am checking them in so I don't lose them.
14618 2000-06-01  James Henstridge  <james@daa.com.au>
14620         * objects/standard/arc.c: added extra properties.
14622         * lib/beziershape.c (beziershape_closest_handle): fix a bug where I
14623         was using the wrong index into the handles array.  This gets corner
14624         type changing working correctly.
14626         * lib/properties.[ch]: add support for BezPoint's and BezPoint arrays
14627         to properties code (no editing or loading yet though).  Also added
14628         support for point array manipulation through the offsets interfaces.
14630         * lib/Makefile.am (INCLUDES): added include of gdk-pixbuf 
14632         * app/interface.c (origin_button_press): changes so the origin
14633         button doesn't grab the pointer when we pop up the menu.
14635         * app/commands.c (help_about_callback): fix small memory leak in
14636         about box code.
14638         * app/menus.c (menus_init): fixed breakage I introduced in the non
14639         gnome menus when I was doing the menu changes.  The tearoffs work
14640         really nicely in plain gtk mode as well.
14642         * objects/standard/beziergon.c (beziergon_create): changed the
14643         returned handles to match the handle numbering changes.  Now
14644         segment addition and removal works correctly with undo!
14646         * lib/beziershape.c: various changes to the code.  Changed the
14647         numbering of handles, and fixed the segment removal code.
14649 2000-05-31  James Henstridge  <james@daa.com.au>
14651         * objects/standard/beziergon.c: remove connection point handling.
14652         There is still a bit of work to be done to get adding and removing
14653         of segments working correctly.
14655         * lib/beziershape.c: add connection point handling to beziershape.
14656         I set it for two connection points per segment.
14658 2000-05-30  James Henstridge  <james@daa.com.au>
14660         * objects/standard/polygon.c: don't do connectionpoint handling.
14662         * lib/polyshape.c: changed to handle connection points internally.
14663         Also, don't worry about connections to handles on polyshape, as
14664         all handles are non connectable.
14666 2000-05-30 Ville Hautamaki <villeh@cs.joensuu.fi>
14668         * configure.in: Added finnish
14669         
14670 2000-05-30  James Henstridge  <james@daa.com.au>
14672         * sheets/*.sheet: translation updates to the .sheet files.
14674         * po/fr.po: updated po file from Christophe Merlet.
14676         * menus.h: removed prototypes for functions which have been removed.
14678 2000-05-29  James Henstridge  <james@daa.com.au>
14680         * app/layer_dialog.c (layer_dialog_set_diagram): set the selected
14681         item in the option menu when changing selected diagram.
14683         * app/dia_embedd.c (view_factory): fix up function to work with new
14684         menus API.
14686         * app/disp_callbacks.c (ddisplay_realize): remove call to
14687         display_set_active from here.
14688         (ddisplay_canvas_events): move call here.  This gets rid of all the
14689         warnings, as the renderer has been fully set up correctly at this
14690         point.
14692         * app/menus.c (menus_init): add the tearoff item to the start of the
14693         right click menu.
14695         * app/app_procs.c (create_user_dirs): we don't need to create the
14696         menus directory anymore.
14698         * app/disp_callbacks.c (ddisplay_popup_menu): it should not be
14699         necessary to update the menu state here, as it was done when the
14700         active display was set.
14702         * app/display.c (display_set_active): update the menu state when
14703         changing active displays.
14705         * app/interface.c (origin_button_press): set the display as active
14706         when a click is made on the menu button.
14708         * app/menus.c (menus_init): set up a quit function to save the accels
14709         at exit.
14710         Add tearoff items for the non GNOME menus, add accelerators for
14711         several GNOME menus.
14713         * app/disp_callbacks.c (ddisplay_popup_menu): get the menu with
14714         menus_get_image_menu().
14716         * app/menus.c (menus_get_item_from_path): use display_menus here
14717         rather than ddisp->popup.
14719         * app/display.h: remove the popup member in the DDisplay structure.
14721         * app/interface.c: remove option of not using wrap box.
14722         (create_toolbox): change to always use menus_get_toolbox_menubar
14723         even when using gnome menus.
14724         (create_display_shell): use menus_get_image_menu to load accelerators
14725         only -- not the actual popup menu.
14727         * app/menus.c (menus_init): new function to create the menus.
14728         (menus_get_toolbox_menubar): use this function whether gnome is
14729         in use or not.  Changed to use menus_init.
14730         (menus_get_image_menu): same here.  Also, now this function always
14731         returns the same menu, rather than a new one each time.
14732         (menus_init): read a menurc file to load accelerators here.
14734 2000-05-28  James Henstridge  <james@daa.com.au>
14736         * app/display.c (ddisplay_really_destroy): unset active display if
14737         active display is destroyed.
14738         (ddisplay_active): simplify function to return active_display as set
14739         by display_set_active.  This allows using a pinned menu with any
14740         display -- not just the one it was popped up from.
14741         (display_set_active): notify the layer dialog of change of diagrams
14742         when active diagram changes.
14744         * app/disp_callbacks.c (ddisplay_canvas_events): set active display
14745         on button and key presses.
14746         (ddisplay_realize): set active display on realize.
14748         * app/display.c (display_set_active): simple implementation of this
14749         function.
14751         * app/display.h (display_set_active): add prototype for setting
14752         the active display.
14754         * app/interface.c (create_display_shell): don't give focus to the
14755         menu button.
14757         * app/menus.c: fix up menus for Beziergon.
14759         * app/interface.c (create_display_shell): make the widget in the
14760         top left corner a button that can be used to pop up the right click
14761         menu, like in gimp and sketch.
14763         * app/disp_callbacks.c (ddisplay_popup_menu): new function to popup
14764         the display menu.
14766         * objects/standard/beziergon.c (beziergon_set_corner_type_callback):
14767         add code to set corner types for beziergon.
14769         * lib/beziershape.c (beziershape_set_corner_type): fix up corner type
14770         setting code.
14771         (beziershape_move_handle): use the previous corner type for right
14772         controls.
14774         * app/interface.c (tool_data): add beziergon to toolbox.
14776         * objects/standard/standard.c (dia_plugin_init): initialise the new
14777         Beziergon object type.
14779         * objects/standard/beziergon.c: an object based on BezierShape.
14781         * lib/dummy_dep.h (dummy_dep): added to dummy_dep.
14783         * lib/beziershape.[ch]: new files implementing a bezier shape.
14785 2000-05-26  James Henstridge  <james@daa.com.au>
14787         * lib/text.c (text_key_event): handle multibyte inserts.
14788         (text_key_event): also add home and end keybindings.
14790         * app/interface.c (create_display_shell): connect handlers for
14791         focus_in_event, focus_out_event, realize and unrealize signals.
14793         * app/display.[ch] (new_display): initialise input context members.
14795         * app/disp_callbacks.[ch]: added XIM support here.
14797         * lib/font.c (suck_font): the black and white pixel values should be
14798         taken from a 1 bit colormap rather than the default colormap.
14800         Hans Breuer's Windows patches ...
14802         * lib/font.c: use Courier New for fixed width font on windows
14803         machines.
14805         * lib/dia_image.h: change to "struct _DiaImage".
14807         * lib/dia_image.c: change "struct DiaImage" to "struct _DiaImage"
14809         * app/disp_callbacks.c (ddisplay_canvas_events): allow ctrl+right
14810         mouse button for object menu.  This will make two button mouse owners
14811         happier.
14813 2000-05-25  James Henstridge  <james@daa.com.au>
14815         * app/filedlg.c (file_open_ok_callback): use diagram_load here.
14817         * app/app_procs.c (app_init): add extra NULL argument to call of
14818         diagram_load.
14820         * app/load_save.h: remove prototype.
14822         * app/load_save.c: remove diagram_data function here.
14824         * app/diagram.h: added prototype.
14826         * app/diagram.c (diagram_load): new function here, which uses import
14827         filters.
14829         * plug-ins/dxf/dxf.c: register the import filter as well.
14831         * plug-ins/dxf/dxf-import.c: added (unfinished) DXF import filter from
14832         Steffen Macke <macke@heini.fbbwu.fh-lueneburg.de>
14834         * objects/standard/line.c: add start_point and end_point properties
14835         to standard line object.
14837 2000-05-21  James Henstridge  <james@daa.com.au>
14839         * app/paginate_psprint.c: added missing include of locale.h.
14841         * objects/custom/custom_object.c (custom_draw): use fabs rather than
14842         abs for scaling factors.
14843         (custom_distance_from): same here.
14845         * dia.spec: make sure rpm doesn't bomb out when LINGUAS isn't set.
14847 2000-05-18  James Henstridge  <james@daa.com.au>
14849         * po/POTFILES.in: updated POTFILES.in.
14851         * dia.spec: incremented version number in spec file.
14853         * NEWS: added (lots of) news items for the 0.85 release.
14855         * app/preferences.c (prefs_save): set LC_NUMERIC to C while writing
14856         the config file.
14858         * configure.in: updated version number here.
14860         * app/Makefile.am (run_dia.sh): include plug-ins in the lib path.
14862 2000-05-17  James Henstridge  <james@daa.com.au>
14864         * app/app_procs.c (internal_plugin_init): register the native import
14865         filter.
14867         * app/load_save.c (diagram_data_load, diagram_load): split this
14868         function into two -- one that does all the work on the DiagramData
14869         structure, and the other that provides compatibility with the old
14870         function.
14871         (dia_import_filter): use diagram_data_load to define an import
14872         filter.
14874         * app/diagram.h (new_diagram): added const to prototype.
14876         * app/filedlg.c (file_open_callback): change to use new import filter
14877         code.
14879         * lib/filter.c: added import filter management functions.
14881         * lib/filter.h: added prototypes for import filter interface.
14883         * app/commands.c (help_about_callback): updated about dialog to
14884         contain a few more names.
14886 2000-05-16  James Henstridge  <james@daa.com.au>
14888         * configure.in (Configuration): added a status message to the end of
14889         the configure script to give the user some idea of what was
14890         configured.
14892         * plug-ins/dxf/Makefile.am: Makefile for new plugin.
14894         * plug-ins/dxf/dxf.c (dia_plugin_init): added file to initialise the
14895         plugin.
14897         * plug-ins/dxf/dxf-export.c: new file -- Steffen Macke's DXF export
14898         filter for dia.
14900         * configure.in (AM_PATH_LIBART): use the check function provided
14901         with libart rather than our own code.  It is more reliable, and
14902         it only requires that people who build out of CVS have libart.m4
14903         installed (not necessarily all of libart).
14904         (AM_PATH_GDK_PIXBUF): same here for gdk-pixbuf.
14906 2000-05-12  Andreas Hyden  <a.hyden@cyberpoint.se>
14908         * dia.desktop: Added Swedish translation.
14910 2000-05-09  James Henstridge  <james@daa.com.au>
14912         * lib/dia_xml.c: you can't free a const pointer, so remove const
14913         from variable definitions.
14915         Explicitely set LC_NUMERIC where needed, as sometimes it isn't
14916         initialised correctly.
14918         * app/render_svg.c (export_svg): set locale to C.
14920         * app/paginate_psprint.c (paginate_psprint): set locale to C.
14922         * app/render_eps.c (export_eps): set locale to C for EPS export.
14924         * lib/dia_xml.c (data_add_real): change to C locale for snprintf call.
14925         (data_add_point): same here.
14926         (data_add_rectangle): same here.
14927         (data_real): use g_strtod to convert strings to real numbers, so that
14928         locales are taken into account.
14929         (data_point): same here.
14930         (data_rectangle): same here.
14932         * AUTHORS: added Henk and Jacek to authors file.
14934         Daniel Egger's code cleanups.
14936         * app/select.c (select_invert_callback): remove unused variable.
14938         * app/plugin-manager.c (get_plugin_manager): fix typo.
14940         * app/load_save.c (read_connections, write_objects): 
14941         (write_connections): made some functions static.
14943         * app/interface.c (toolbox_delete, toolbox_destroy): made some
14944         functions static.
14946         * app/filedlg.c (file_export_callback): remove unused variable.
14948         * app/app_procs.c: various warning fixes.
14950         Integrating Jacek Pliszka's pstricks export filter.
14952         * plug-ins/pstricks/pstricks.c: code to initialise the plugin.
14954         * plug-ins/pstricks/render_pstricks.[ch]: Jacek Pliszka's pstricks
14955         renderer (with a few small modifications by me).
14957         * plug-ins/pstricks/Makefile.am: new makefile for pstricks plug-in.
14959         * plug-ins/Makefile.am (SUBDIRS): add pstricks subdirectory.
14961 2000-05-07  Alexander Larsson  <alla@lysator.liu.se>
14963         * configure.in:
14964         * sheets/Makefile.am:
14965         * shapes/Makefile.am:
14966         * shapes/Civil/Makefile.am:
14967         * sheets/civil.sheet:
14968         * shapes/Civil/*:
14969         Added civil/hydraulic/structural engineering objects from
14970         sdteffen <macke@heini.fbbwu.fh-lueneburg.de>.
14971         
14972 2000-05-07  Alexander Larsson  <alla@lysator.liu.se>
14974         * objects/FS/flow-poly.c:
14975         * objects/FS/flow.c:
14976         Fix division by zero in point_normalize().
14977         Patch by David Thompson <dcthomp@mail.utexas.edu>
14979 2000-04-27  Lars Clausen  <lrclause@cs.uiuc.edu>
14981         * lib/arrows.c:
14982         * lib/bezier_conn.c:
14983         * lib/connpoint_line.c:
14984         Added checks for zero-length lines before calls to point_normalize.
14986 2000-04-24  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
14988         * app/preferences.c (prefs_data): Changed
14989         reversed_dragging_intersects to not make the dialog ridiculously
14990         wide.
14991         
14992 2000-04-22  James Henstridge  <james@daa.com.au>
14994         Hans's win32 patches:
14996         * app/export_png.c: include message.h
14997         * app/interface.c: include dia_dirs.h
14998         * app/linewidth_area.c: check for rint
14999         * app/main.c: include interface.h
15000         * app/paginate_psprint.c: remove unused variable.
15001         * app/preferences.c: include message.h
15002         * app/render_svg.c: include stdlib.h
15003         * app/select.c: include object_ops.h
15004         * lib/dia_dirs.c: miscelaneous fixes for win32.
15005         * lib/dia_image.c: include string.h
15006         * lib/plug-ins.c: look for .dll files rather than .la files on win32.
15007         * lib/properties.c: include stdlib.h
15008         * lib/properties.h: define extra data for standard properties as
15009         static variables on win32 (to get around dynamic linker problems).
15010         * objects/standard/polygon.c: polygon_create_change missing return
15011         statement.
15013 2000-04-18  Pablo Saratxaga <pablo@mandrakesoft.com>
15015         * configure.in (ALL_LINGUAS): added Catalan
15017 2000-04-18  James Henstridge  <james@daa.com.au>
15019         * objects/standard/bezier.c (bezierline_get_object_menu): add a
15020         separator to the object menu between the add/remove segment items
15021         and the corner type items.
15022         (bezierline_get_object_menu): add code to disable the menu item for
15023         the current corner type.  Really just a cosmetic change.
15025         * app/disp_callbacks.c (create_object_menu): handle DiaMenuItems with
15026         a NULL for the label or with no associated callback.
15028         * objects/standard/bezier.c (bezierline_menu_items): use the
15029         enumeration values rather than numeric values for the corner types.
15031         * lib/bezier_conn.[ch]: added a corner_types member to the BezierConn
15032         structure, and add code to handle it.  Also, don't save the corner
15033         types inline in the bez_points node.  The way it is conditionally
15034         including the element just feels like it will break.
15036         * lib/geometry.h (BezPoint): removed the corner_type stuff from
15037         BezPoint.  The corner type stuff is a user interface level idea rather
15038         than something required by the renderer, so should be taken care of
15039         at the object level.
15041 2000-04-17  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
15043         * configure.in: Fixed some problems with the gdk-pixbuf/imlib
15044         checks.  Weren't able to reproduce original bug, tough.
15046 2000-04-16  Cyrille Chepelov  <chepelov@calixo.net>
15048         * sheets/Electric.sheet:
15049         * sheets/Contact.sheet:
15050         * sheets/Pneumatic.sheet:
15051         * sheets/Circuit.sheet: sprayed some <br/>'s around.
15052         (added a few French translations in the last file)
15053         
15054 2000-04-16  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
15056         * lib/geometry.h: 
15057         * lib/bezier_conn.h: 
15058         * objects/standard/bezier.c: 
15059         * lib/bezier_conn.c: Support for cuspy, smooth and symmetric
15060         bezier points.  Only one minor problem known:  Menus are active
15061         for endpoints minor handles.
15062         11:28: Save and load now works, too.
15063         (bezierconn_closest_major_handle): 12:03: New function to get the
15064         non-control point handle associated with the nearest control
15065         point.  
15066         Also fixed the menu activation problem, and made remove_segment
15067         not remove the endpoint.
15069 2000-04-15  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
15071         * configure.in: Added check for gdk-pixbuf being >= 0.7.0 since
15072         new API is in use.
15074 2000-04-15  Asbjorn Pettersen  <asbjornP@dualog.no>
15076         * lib/plug-ins.c: Added <sys/types.h> and moved <fcntl.h> below
15077         <sys/stat.h>.   OS/2 patch.
15079 2000-04-15  James Henstridge  <james@daa.com.au>
15081         * objects/FS/flow-ortho.c, objects/FS/function.c: Applied David
15082         Thompson's patch that adds undo support to the function structure
15083         diagram objects.
15085 2000-04-14  James Henstridge  <james@daa.com.au>
15087         * objects/custom/custom_object.c (custom_distance_from): new
15088         implementation of distance algorithm that actually takes the
15089         display list into account when calculating the distance.  Much nicer
15090         than a simple bounding box.
15092 2000-04-13  Lars Clausen  <lrclause@cs.uiuc.edu>>
15094         * lib/geometry.c (line_crosses_ray): Fixed division by zero bug
15096 2000-04-12  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
15098         * objects/standard/polygon.c: Start of polygons own changes (for
15099         connectionpoints).  Need to do seperate changes in polyshape, too,
15100         rather than reuse the bezier changes.
15102 2000-04-13  James Henstridge  <james@daa.com.au>
15104         * lib/dia_image.c (dia_image_draw): use the new enumeration values
15105         from after the gdk-pixbuf cleanup.
15107         * lib/geometry.c (bez_point_distance_and_ray_crosses): fix up limit
15108         on for loop.  Last set of coefficients were not beeing calculated,
15109         which caused a bit of breakage.
15111         * lib/bezier_conn.c (bezierconn_closest_segment): use the new
15112         functions in geometry.c for calculating the closest segment.
15113         (bezierconn_distance_from): use distance_bez_line_point to calculate
15114         the distance.
15116         * lib/geometry.c (distance_bez_line_point): new function to calculate
15117         the distance from an open bezier line to a point.
15118         (distance_bez_shape_point): new function to calculate the distance
15119         from a closed bezier shape.
15120         (distance_ellipse_point): new function to calculate the distance from
15121         a filled ellipse to a point.
15123         * lib/geometry.h (BezPoint): moved this structure here from render.h
15125 2000-04-12  James Henstridge  <james@daa.com.au>
15127         * lib/geometry.c (distance_bez_seg_point): new function to calculate
15128         the distance from a bezier segment.
15130         * lib/polyshape.c (polyshape_distance_from): use distance_polygon_point
15131         to calculate the distance from the object.
15133         * lib/geometry.c (distance_polygon_point): function for calculating
15134         the distance from a polygon to a point.
15136 2000-04-12  Cyrille Chepelov  <chepelov@calixo.net>
15138         * app/interface.c:
15139         * lib/sheet.[ch]: added a <br/> tag in sheet files, so that line 
15140         breaks can be inserted in the tool box. 
15142         * doc/sheet.dtd: updated the DTD
15143         * sheets/GRAFCET.sheet: tried <br/> on that sheet (more to come).
15144         
15145 2000-04-12  James Henstridge  <james@daa.com.au>
15147         * app/plugin-manager.c (get_plugin_manager): use the GTK_DIALOG
15148         macro if the dialog is a GtkDialog :(
15150 2000-04-11  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
15152         * objects/standard/polygon.c: Connectionpoints now properly
15153         managed in a GList.  As far as I can tell, this will not dieturb
15154         the order (but I have the nagging doubt...)
15156         * lib/polyshape.c: No longer knows about connectionpoints.
15158 2000-04-11  James Henstridge  <james@daa.com.au>
15160         * app/Makefile.am: fix makefile for bonobo build.
15162         * configure.in: fix checks for bonobo.
15164         * app/menus.c: added entries for the plugin manager.
15166         * app/Makefile.am (dia_core_files): added plugin manager to files
15167         list.
15169         * app/plugin-manager.[ch]: the plugin manager dialog.
15171         * app/display.c (display_update_menu_state): set the antialiased
15172         menu entry to the correct value.
15174 2000-04-11  Cyrille Chepelov  <chepelov@calixo.net>
15176         * objects/custom/custom_object.c: not all renderers like ellipses with
15177         negative dimensions. This could cause ellipses to disappear when using
15178         the flip_h and flip_v functions.
15180         * samples/grafcet.dia: fixed speling and correctness.
15181         
15182 2000-04-11  James Henstridge  <james@daa.com.au>
15184         * lib/plug-ins.[ch]: added more accessors for use by a plugins dialog.
15185         exposed the dia_plugin_load and dia_plugin_unload functions.
15187         * lib/plug-ins.c (plugin_load): change plugin_load to work on an
15188         already created PluginInfo structure.
15190         * app/app_procs.c (app_exit): call dia_pluginrc_write() to write
15191         the pluginrc file.
15193         * lib/sheet.c: fix up call to dia_config_filename.
15195         * lib/plug-ins.[ch]: started writing code for handling a pluginrc
15196         file.  This would save information such as which plugins not to
15197         load during startup.
15199 2000-04-09  James Henstridge  <james@daa.com.au>
15201         * lib/sheet.c: use dia_config_filename to resolve file in ~/.dia.
15203 2000-04-10  Alexander Larsson  <alla@lysator.liu.se>
15205         * lib/plug-ins.c (dia_register_plugins):
15206         Don't free the value returned from g_getenv.
15208 2000-04-09  Anders Carlsson  <andersca@gnu.org>
15210         * app/preferences.h: Add reverse_rubberbanding_intersects preference variable.
15212         * app/preferences.c (prefs_data): Add reverse_rubberbanding_intersects preference data.
15214         * app/modify_tool.c (modify_button_release): If rubberbanding is done from 
15215         right to left, select objects that intersect the rubberbanding rectangle
15216         instead of selecting objects that are in the rectangle.
15218         * lib/diagramdata.c (layer_find_objects_intersecting_rectangle): Add function.
15220         * lib/diagramdata.h: Likewise.
15223 2000-04-09  James Henstridge  <james@daa.com.au>
15225         * lib/plug-ins.[ch]: add copyright messages to files.
15227         * plug-ins/cgm/cgm.c (dia_plugin_init): convert plugin over to new
15228         plugin interface.
15230         * objects/sybase/sybase.c (dia_plugin_init): 
15231         * objects/network/network.c (dia_plugin_init): 
15232         * objects/flowchart/flowchart.c (dia_plugin_init): 
15233         * objects/custom/custom.c (dia_plugin_init): 
15234         * objects/chronogram/chronogram.c (dia_plugin_init): 
15235         * objects/UML/uml.c (dia_plugin_init): 
15236         * objects/SADT/sadt.c (dia_plugin_init): 
15237         * objects/GRAFCET/grafcet.c (dia_plugin_init): 
15238         * objects/FS/fs.c (dia_plugin_init): 
15239         * objects/ER/er.c (dia_plugin_init): updated plugin load code for
15240         object libraries.
15242         * objects/standard/standard.c (dia_plugin_init): change over to new
15243         plugin interface.
15245         * lib/plug-ins.h (DIA_PLUGIN_CHECK_INIT): added a macro to define
15246         the version checker for plugins.
15248         * app/app_procs.c: remove plugin loading code from here, and use
15249         code from plug-ins.[ch].  Also move registration of internal
15250         objects/filters to a `builtin' plugin.
15252         * lib/Makefile.am (libdia_a_SOURCES): added plug-ins.[ch] to library.
15254         * configure.in: use AC_PROG_LIBTOOL rather than AM_PROG_LIBTOOL.
15256         * app/Makefile.am (EXTRA_DIST): you can't include a conditionally
15257         defined variable in EXTRA_DIST.
15259         * app/preferences.h: removed dia_config_filename from header.
15261         * app/preferences.c: removed dia_config_filename function.
15263         * lib/dia_dirs.c (dia_config_filename): moved function over to this
15264         file.  Also changed implementation slightly so that it should work
15265         on the win32 port correctly (and use NT home directories).
15267         * lib/dia_dirs.h (dia_config_filename): move dia_config_filename where
15268         it should have been.
15270         * lib/plug-ins.[ch]: new plugin loading code.
15272 2000-04-08  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
15274         * objects/standard/polygon.c: Fixed startup crash bug (do'h!).
15276         * lib/polyshape.c: Fix closest segment finding, exposes deeper
15277         bugs in adding corners to 'wraparound' segment.
15279         * objects/standard/polygon.c: Added connection points (fixed so
15280         far), set menu sensitivity.
15282         * lib/polyshape.c: Changed to box-style handles, fixed for start
15283         and ends not being special, added initial connections,
15285         * lib/dummy_dep.h: Added polyshape (gotcha!)
15287         * objects/standard/pixmaps/ellipse.xpm: 
15288         * objects/standard/pixmaps/box.xpm: 
15289         Filled element pixmaps with white.
15291         * lib/polyshape.c: 
15292         * objects/standard/polygon.c: 
15293         * lib/polyshape.h: 
15294         * objects/standard/standard.c: 
15295         * objects/standard/Makefile.am (libstandard_objects_la_SOURCES): 
15296         * lib/Makefile.am (libdia_a_SOURCES): 
15297         * app/menus.c: 
15298         * app/interface.c (tool_data): 
15299         Added Standard/Polygon object and PolyShape lib object.  Still
15300         needs inside grab and connection points.
15302         * app/commands.c (help_about_callback): Now uses gdk-pixbuf if
15303         available. 
15305         * configure.in: Made imlib a fallback if gdk-pixbuf is absent or
15306         not wanted.
15308         * app/app_procs.c (app_init): Moved gtk_init outside #ifdef, moved
15309         if (argv) outside ifdefs.
15311 2000-04-04  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
15313         * objects/standard/image.c (image_set_props): 
15314         Aspect ratio is back in town.
15316         * app/Makefile.am (dia_LDADD): 
15317         * acconfig.h: 
15318         * configure.in: 
15319         Check for gdk_pixbuf (by default disabled, for now)
15321         * app/render_eps.c (draw_image): 
15322         * app/render_libart.c (draw_image): 
15323         * app/render_gnomeprint.c (draw_image): 
15324         Support for alpha mask in rendering.  Color postscript, too.
15326         * lib/dia_image.c: 
15327         * lib/dia_image.h: 
15328         Support for gdk_pixbuf and proper masking for exports.
15330 2000-04-01  Kjartan Maraas  <kmaraas@online.no>
15332         * sheets/*.sheets: Updated Norwegian translations.
15333         
15334 2000-03-30  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
15336         * lib/text.c (text_insert_char): 
15337         * lib/render_store.c (add_data): 
15338         Made realloc double the alloced space rather than add
15339         a fixed amount, to reduce memory stress.
15341         * app/select.c: Added new select method 'Transitive'
15342         that select every reachable (by connections) object.
15344 2000-03-27  Kjartan Maraas  <kmaraas@online.no>
15346         * dia.desktop: Added Norwegian translation.
15347         
15348 2000-03-26  Alexander Larsson  <alla@lysator.liu.se>
15350         * app/render_eps.c:
15351         * app/render_svg.c:
15352         Don't dereference NULL pointer if the renderer
15353         couldn't open the file. Fix by Lars Clausen.
15354         Bug reported by Martin Chisholm <b1mt@unb.ca>
15355         
15356 2000-03-26  Alexander Larsson  <alla@lysator.liu.se>
15358         * dia.desktop:
15359         * po/pt.po:
15360         Updated pt translation from Pedro Morais <pmmm@rnl.ist.utl.pt>
15362 2000-03-25  Alexander Larsson  <alla@lysator.liu.se>
15364         * app/dia.gnorba (location_info):
15365         Changed to correct executable name.
15367 2000-03-25  Alexander Larsson  <alla@lysator.liu.se>
15369         * app/app_procs.c:
15370         Don't do any argument parsing or initialization
15371         if argv==NULL.
15373         * app/dia_embedd.c:
15374         Call init_server_factroy before app_init.
15375         Call app_init with argv==NULL
15376         Now we don't get any critical error on startup.
15378         * configure.in:
15379         Add Electric and Pneumatic to makefile list.
15380         
15381 2000-03-24  Cyrille Chepelov <chepelov@calixo.net>
15383         * shapes/Electric/*:
15384         * sheets/Electric.sheet:
15385         Add some Electric circuit shapes.
15387         * shapes/Pneumatic/*:
15388         * sheets/Pneumatic.sheet:
15389         Add some Pneumatic & Hydraulic circuit shapes
15390         (both sheets are still incomplete, though feature enough 
15391         things for basic circuits).
15393         * shapes/Contact/l_*.(xpm|shape):
15394         * sheets/Contact.sheet
15395         * shapes/Contact/Makefile.am
15396         made the older electric circuit shapes in Contact obsolete (disabled
15397         them in the sheet, made that sheet Ladder only). Fixed the makefile
15398         for forgotten items.
15399         
15400 2000-03-24  Alexander Larsson  <alla@lysator.liu.se>
15402         * app/Makefile.am:
15403         Add support for Dia bonobo component.
15404         Currently a bit raw, so it's commented out.
15405         
15406         * app/dia_embedd.c:
15407         * app/dia.gnorba:
15408         New files for embedding dia.
15409         The menu disabling hack is a bit gross. Esp. for GNOME.
15411         * app/app_procs.h:
15412         Add new function app_is_embedded();
15414         * app/diagram.c:
15415         Don't destroy diagram when last display is destroyed if embedded.
15416         
15417         * app/display.c:
15418         Change initialization of display so it works with embedding.
15420         * app/display.h:
15421         Clarify comment about display destruction.
15423         * app/interface.[ch]:
15424         Added top_level_window argument to create_display_shell.
15425         Don't open a top-level window if embedding.
15426         Don't quit app if trying to close toolbox window when embedding.
15427         Add toolbox_show() and toolbox_hide().
15429         * app/main.c:
15430         Added app_is_embedded() function (just returns false).
15431         Added toolbox_show() call in main().
15433         * app/menus.c:
15434         Added code for getting toolbox menus. This is used to
15435         hide some menu items when running embedded.
15436         
15437         * app/app_procs.c:
15438         Include sheet.h to remove warning.
15440         * objects/UML/association.c:
15441         Clarify association direction text.
15442         
15443 2000-03-16  Fredrik Hallenberg  <hallon@lysator.liu.se>
15445         * dia.1
15446         Fixed man page so whatis parsing works.
15448 2000-03-12  Alexander Larsson  <alla@lysator.liu.se>
15450         * app/render_libart.c (new_libart_renderer):
15451         Fix from segg <segg@infonet.ca> to compile without libart.
15452         I forgot to change the stub for new_libart_renderer when doing
15453         the interactive renderer stuff for libart.
15455 2000-03-11  Alastair McKinstry  <mckinstry@computer.org>
15457         * dia.desktop: Added Irish translation.
15458         
15459         * configure.in (ALL_LINGUAS): Added Irish (ga) translation.
15461 2000-03-07  Asbjorn Pettersen  <asbjornP@dualog.no>
15463         * app/load_save.c (fchmod): OS/2 defines only.
15465 2000-03-07  James Henstridge  <james@daa.com.au>
15467         * lib/properties.c (prop_get_widget): set the position in the option
15468         menu correctly.
15470 2000-03-06  Alexander Larsson  <alla@lysator.liu.se>
15472         * app/display.c:
15473         * app/export_png.c:
15474         * app/render_libart.[ch]:
15475         Don't export png:s with an interactive libart renderer.
15477 2000-03-03  Asbjorn Pettersen  <asbjornP@dualog.no>
15479         * lib/arrows.c (finite): define finite(d) isfinite(d)  for OS/2
15481 2000-03-02  James Henstridge  <james@daa.com.au>
15483         * dia.spec (%build): unset LINGUAS before running configure.  This
15484         ensures that all translations get included in the RPM.
15486         * lib/properties.c (object_create_props_dialog): put in a check for
15487         a NULL return from the describe_props() object method.
15488         (prop_desc_lists_union): make sure that the returned array is not
15489         NULL.
15490         (prop_desc_lists_intersection): same here.
15492 2000-02-29  Alexander Larsson  <alla@lysator.liu.se>
15494         * objects/ER/Makefile.am:
15495         * objects/FS/Makefile.am:
15496         * objects/UML/Makefile.am:
15497         Don't link object libs with gtk.
15499 2000-02-29  James Henstridge  <james@daa.com.au>
15501         * app/preferences.c (prefs_save): check to see if the file could
15502         be opened before writing the prefs.
15504         * app/disp_callbacks.c (popup_object_menu): pass the button event
15505         to gtk_menu_popup.  This allows you to click and release to open
15506         the object menu.
15507         (ddisplay_canvas_events): same here.
15508         (create_object_menu): set the object type menu item in the object
15509         menu to be insensitive.
15511         * app/render_svg.c (draw_string): call xmlEncodeEntitiesReentrant,
15512         as we are now requiring a new version of libxml.
15514         * dia.spec: updated version number.  Added requirement for
15515         libxml >= 1.8.5
15517         * configure.in: incremented version number to 0.84.
15518         Added check for libxml >= 1.8.5.  This will prevent some of the
15519         problems people have had with broken libxml versions.
15521         * NEWS: added news items.
15523         * app/interface.c (create_color_area): removed call to realize parent
15524         widget.  Segg <segg@infonet.ca> reported that it caused a warning,
15525         but I haven't seen it on my copy of dia.
15527 2000-02-28  James Henstridge  <james@daa.com.au>
15529         * app/export_png.c: added copyright notice, and made the band height
15530         a constant.
15532 2000-02-27  Alexander Larsson  <alla@lysator.liu.se>
15534         * lib/font.c (suck_font):
15535         Fixed off-by one bug in font pixmap height.
15536         Fixes the problem with garbage at the bottom of some text in aa mode
15537         and in png exported files.
15539 2000-02-27  James Henstridge  <james@daa.com.au>
15541         * app/app_procs.c: add the png export filter if it was compiled in.
15543         * app/export_png.c (export_png): new PNG export filter.  This requires
15544         the libart renderer to work as it needs a renderer that renders to a
15545         pixel buffer.
15547         * configure.in: add check for libpng.
15549         * lib/message.c (message_internal): use a GNOME dialog here as well.
15551         * app/display.c (ddisplay_close): use a GNOME dialog here.
15553         * app/render_eps.c (create_eps_renderer): use diagram scaling factor
15554         when exporting to EPS.  This is because some people said the EPS
15555         output was too large
15557 2000-02-26  James Henstridge  <james@daa.com.au>
15559         * app/defaults.c (create_dialog): use a GNOME dialog for the defaults
15560         window.
15562         * app/app_procs.c (app_exit): use a GNOME dialog here.
15564         * app/preferences.c (prefs_create_dialog): if GNOME support is
15565         enabled, show a GNOME dialog.
15567         * app/grid.c (grid_draw): use preferences when drawing page break
15568         lines.
15570         * app/preferences.c: add page break preferences to dialog.
15572         * app/preferences.h: added page break preferences.
15574 2000-02-25  James Henstridge  <james@daa.com.au>
15576         * sheets/UML.sheet: added new objects.
15578         * objects/UML/uml.c: link in the two new objects.
15580         * objects/UML/node.c: 
15581         * objects/UML/branch.c: new UML objects from Stfan Seefeld
15582         <seefelds@magellan.umontreal.ca>.
15584 2000-02-24  James Henstridge  <james@daa.com.au>
15586         * objects/custom/custom_object.c: converted to use the properties
15587         interface.  In the future, it would be nice to add support for
15588         defining custom properties for custom objects, but that can wait.
15590 2000-02-22  James Henstridge  <james@daa.com.au>
15592         * sheets/Circuit.sheet: added new circuit shapes to sheet.
15594         * plug-ins/cgm/cgm.c: cgm plugin updates from Henk Jan Priester
15595         <hj@justcroft.com>.  Fixes number encoding, colour encoding, fonts
15596         and adds a few new features.
15598 2000-02-21  Daniel Egger  <egger@suse.de>
15600         * sheets/*.sheets: Added German translations and made some
15601         corrections to the others.
15602         
15603 2000-02-21  James Henstridge  <james@daa.com.au>
15605         * shapes/Circuit/Makefile.am (SHAPES): added new shapes to list.
15607         * shapes/Circuit/...: added new shapes from Erik Janssens.
15609 2000-02-20  James Henstridge  <james@daa.com.au>
15611         * app/interface.c (create_color_area): realize the parent window
15612         first.
15614         * objects/standard/image.c: properties patch for standard image
15615         object, from Lars Clausen.
15617         * lib/properties.c: support for PROP_TYPE_FILE from Lars Clausen.
15619         * lib/properties.h (PropType): added file property type.
15621         * shapes/Circuit/speaker_de.xpm: changed size of pixmap to match
15622         other shapes.
15624         * app/interface.c: use wrap box for toolbox.
15626         * app/Makefile.am: added new files.
15628         * app/gtk*wrapbox.[ch]: added wrap box widget.
15630 2000-02-19  James Henstridge  <james@daa.com.au>
15632         * sheets/network.sheet: added extra shapes to networks sheet.
15634         * configure.in (AC_OUTPUT): added shapes/network/Makefile
15636         * shapes/network/*: added shapes that were posted to the list a while
15637         back.
15638         
15639         * shapes/Makefile.am (SUBDIRS): added network subdirectory
15641         * app/menus.c (toolbox_menu_items): don't right justify help menu for
15642         gtk+ version of menus.
15644         * app/properties.c (create_dialog): use a GnomeDialog if we happen
15645         to be using gnome.
15647 2000-02-18  James Henstridge  <james@daa.com.au>
15649         * objects/flowchart/box.c: set extra data for corner radius and text
15650         padding properties.
15652         * objects/standard/box.c: set extra data for corner radius property.
15654         * lib/properties.h: set extra data in some standard properties.
15656         * lib/properties.c (prop_get_widget): look at the extra data for
15657         int, real and enum property types.  They now use GtkSpinButton and
15658         GtkOptionMenu respectively.
15660         * lib/properties.h: extra data members for creating property setting
15661         widgets.
15663 2000-02-17  James Henstridge  <james@daa.com.au>
15665         * objects/flowchart/box.c: reverted load/save functions back to
15666         previous implementations.  Made box use standard property names.
15668         * plug-ins/cgm/cgm.c (set_linestyle): was missing a */
15670         * app/grid.c: add more digits to the grid edit dialog.  This patch
15671         was also from Lars Clausen.
15673         * objects/standard/zigzagline.c: 
15674         * objects/standard/textobj.c:
15675         * objects/standard/polyline.c:
15676         * objects/standard/line.c:
15677         * objects/standard/ellipse.c:
15678         * objects/standard/box.c: 
15679         * objects/standard/bezier.c: 
15680         * objects/standard/arc.c: patches to add properties code to standard
15681         objects.  Based on patches from Lars Clausen.  I have also removed
15682         some dead code from the files.
15684         * lib/properties.h (PROP_STD_*): define a number of standard
15685         properties.  Where appropriate, objects should include these
15686         properties in their PropDescription list.  This way, the intersection
15687         of properties of two different shapes will be greater.
15689 2000-02-14  James Henstridge  <james@daa.com.au>
15691         * objects/flowchart/box.c (box_load, box_save): use property save
15692         routines.  Make sure that any props not handled by object_load_props
15693         are loaded before calling object_load_props, or we get errors because
15694         update_data is called.
15696         * lib/properties.c (object_get_props_from_offsets): fixed an indexing
15697         error that could cause properties to be loaded incorrectly.
15698         (object_set_props_from_offsets): similar here.
15700         * lib/properties.[ch] (prop_{load,save}): functions for loading
15701         or saving a property in Dia's XML file format.
15702         (object_{load,save}_props): load or save some properties of an
15703         object.  These functions should help simplify the load/save methods
15704         of objects that implement the properties interface.
15706 2000-02-13  James Henstridge  <james@daa.com.au>
15708         * objects/flowchart/box.c: use offset code to simplify property
15709         get/set routines.
15711         * lib/element.h (ELEMENT_COMMON_PROPERTIES): standard element
15712         properties.
15713         (ELEMENT_COMMON_PROPERTIES_OFFSETS): offsets.
15715         * lib/object.h (OBJECT_COMMON_PROPERTIES): list of standard object
15716         properties.
15717         (OBJECT_COMMON_PROPERTIES_OFFSETS): the offsets of the properties.
15719         * lib/properties.[ch] (object_{get,set}_props_from_offsets): new
15720         functions 
15722 2000-02-12  Alexander Larsson  <alla@lysator.liu.se>
15724         * app/Makefile.am:
15725         Add the custom object to DIA_LIB_PATH in run_dia.sh
15727 2000-02-10  Cyrille Chepelov  <chepelov@calixo.net>
15729         * sheets/Circuit.sheet:
15730         * shapes/l_sout* (NEW):
15731         * shapes/l_outj.* (NEW): added new outputs : jump, and the power-saved
15732         variants of simple, inverted, set and reset outputs.
15733         Still to do: all Schneider/Telemecanique TSX *7 function blocks ; 
15734         probably a split of Contact and Ladder sheets. And then a major 
15735         revamping of the Contact sheet.
15737 2000-02-10  James Henstridge  <james@daa.com.au>
15739         * app/Makefile.am (dia_LDADD): don't link with libcustom_objects.
15741         * app/app_procs.c (register_all_objects): don't explicitely
15742         register the custom objects library -- let it be loaded by the
15743         normal plugin loading methods.
15745         * lib/Makefile.am (libdia_a_SOURCES): don't include custom.h here.
15747         * objects/custom/Makefile.am: build libcustom_objects as a shared
15748         library again.
15750         * objects/custom/shape_info.[ch]: don't read the description field
15751         of custom shapes.  It makes more sense to have these in the sheet
15752         file to localise the parts of dia that translators have to deal
15753         with.
15755         * objects/custom/custom_object.c (custom_object_new): do not
15756         create the sheet object for the new custom shape -- this is
15757         handled by the custom sheet code.
15759         * objects/custom/custom.c: change over to being a normal plug-in
15760         rather than being linked with the main dia executable.
15762 2000-02-09  James Henstridge  <james@daa.com.au>
15764         * sheets/Circuit.sheet: 
15765         * sheets/Flowchart.sheet: 
15766         * sheets/Contact.sheet: fixed up sheets.
15768         * objects/custom/custom_object.c (custom_object_new): set the
15769         extra ObjectType fields.
15771         * lib/sheet.c: use extra ObjectType fields when creating sheet
15772         objects.  Give a warning if <shape> tags are found in a sheet
15773         file.  Now the custom sheet code does not know about custom
15774         shapes -- they look like any other object type.
15776         * lib/object.h (ObjectType): added extra members
15778 2000-02-08  Alexander Larsson  <alla@lysator.liu.se>
15780         * app/linewidth_area.c:
15781         Added code to set arbitrary line width.
15782         Patch by Lars Clausen <lrclause@cs.uiuc.edu>
15784 2000-02-08  Alexander Larsson  <alla@lysator.liu.se>
15786         * app/linewidth_area.c: 
15787         * lib/font.[ch]:
15788         Add support for font-sucking.
15789         Implementation borrowed from gnome-canvas.
15790         
15791         * app/render_libart.[ch]:
15792         Implement text rendering.
15794 2000-02-07  Alexander Larsson  <alla@lysator.liu.se>
15796         * app/properties.c (create_dialog):
15797         ref and sink no_properties_dialog.
15799 2000-02-07  James Henstridge  <james@daa.com.au>
15801         * app/group.c (group_describe_props): new function.  Return the
15802         intersection of the properties of the contained objects that
15803         implement the describe_props interface.
15804         (group_get_props): implement by iterating through contained objects
15805         and calling their get_props method until all properties have been
15806         set.  Maybe this should go through all objects all the time??
15807         (group_set_props): implement by calling set_props method on all
15808         contained objects.
15809         (group_ops): use standard props dialog creation routines.
15811         * lib/properties.c (prop_desc_lists_intersection): fix implementation
15812         of intersection -- I was using i++ instead of i-- in a for loop :(
15814         * objects/custom/custom.c (custom_register_objects): fix usage
15815         of dia_get_data_directory again.
15817         * lib/sheet.c: fix up use of dia_get_data_directory, so that we
15818         actually read the sheets.
15820 2000-02-06  Alexander Larsson  <alla@lysator.liu.se>
15822         Win32 port by Hans Breuer <Hans@Breuer.org>
15824         * app/Makefile.am:
15825         Remove DATADIR and LIBDIR defines.
15827         * lib/Makefile.am:
15828         Add dia_dirs.c and dia_dirs.h
15829         Added DATADIR and LIBDIR defines.
15831         * lib/dia_dirs.[ch]:
15832         New files for handling special directories.
15834         * app/app_procs.c:
15835         * app/commands.c:
15836         * lib/sheet.c:
15837         * objects/custom/custom.c:
15838         Fix warnings.  Use directory functions.
15840         * app/diagram.h:
15841         Add prototype for diagram_redraw_all.
15843         * app/diaunitspinner.c:
15844         * app/filedlg.c:
15845         * app/interface.c:
15846         * app/preferences.c:
15847         Fix warning.
15849         * app/load_save.c:
15850         Win32 doesn't have mkstemp and fchmod.
15852         * app/paginate_psprint.c:
15853         Win32 calls popen _popen and pclose _pclose.
15854         
15855         * app/arrow.c:
15856         Win32 calls finite _finite.
15858         * lib/color.h:
15859         Win32 needs to dllexport the color vars.
15861         * objects/GRAFCET/step.c:
15862         * objects/chronogram/chronoref.c:
15863         snprintf -> g_snprintf
15865 2000-02-05  James Henstridge  <james@daa.com.au>
15867         * lib/properties.c: more fixes so that it doesn't crash when using
15868         properties.  The undo/redo stuff also works!!
15870         * objects/flowchart/box.c (box_{describe, get, set}_props): test
15871         object where I have implemented the new properties interface
15872         complete with automatic properties dialog generation.
15874         * lib/properties.c (object_apply_props): fixed stupid error when
15875         creating the old_props array.  Also, it no longer frees the props
15876         array -- you will have to do that yourself.
15878 2000-02-04  James Henstridge  <james@daa.com.au>
15880         * app/properties.c (properties_apply): pass object_part to
15881         apply_properties.
15883         * lib/object.h (ApplyPropertiesFunc): added widget argument.
15885         * lib/lazyprops.h (PROPDLG_CREATE): ref and sink properties dialogs
15886         created this way as well.
15888         * objects/*/*.c: ref and sink the properties dialog window for each
15889         widget.  It can't rely on ref count being incremented by
15890         properties_show anymore.
15892         * app/properties.c (properties_show): don't ref the widget before
15893         removing it, or its ref count will increase each time you open the
15894         properties dialog.  Don't unparent the widget, as container_remove
15895         does that for us.
15897         * lib/object.h: fixed up prototypes for new object methods.
15899         * lib/properties.[ch]: added functions for automatically creating
15900         a properties dialog from the output of describe_props, get_props and
15901         set_props.
15902         (object_apply_props): apply properties and return an ObjectChange
15903         structure that can be used for undo.
15905 2000-02-03  Cyrille Chepelov  <chepelov@calixo.net>
15907         * objects/GRAFCET/transition.c: minor leak plugged.
15909         * sheets/GRAFCET.sheet:
15910         * objects/GRAFCET/pixmaps/condition.xpm: (NEW)
15911         * objects/GRAFCET/condition.c: (NEW) added a new object type, action 
15912         conditions.
15913         * objects/GRAFCET/Makefile.am: fixed incorrect dependencies, added
15914         new ones (for condition.c).
15915         * objects/GRAFCET/action.c: added connection points for the conditions.
15916         * samples/grafcet.dia: updated the sample to improve conformance to
15917         IEC 848 and take advantage of dia's new features.
15918         
15919         * lib/geometry.h: (point_get_normed) fixed a typo.
15921 2000-02-02  James Henstridge  <james@daa.com.au>
15923         * lib/object.h: added object functions describe_props, get_props and
15924         set_props.  Do type definitions so that object.h doesn't need to
15925         include properties.h, since properties.h includes object.h.
15927         * lib/properties.[ch]: more hacking.
15929         * po/de.po: updated po file.
15931 2000-01-30  James Henstridge  <james@daa.com.au>
15933         * configure.in: don't add flags to CFLAGS unconditionally.  Instead,
15934         check to see if the C compiler accepts the flag beforehand.
15936         * lib/properties.[ch]: start of properties code.
15938         * shapes/Contact/Makefile.am (SHAPES): fix up makefile.
15940 2000-01-30  Cyrille Chepelov  <chepelov@calixo.net>
15941         
15942         * sheets/GRAFCET.sheet:
15943         * sheets/GRAFCET/etapemc.xpm: (NEW)
15944         * sheets/GRAFCET/etapesp.xpm: (NEW)
15945         * objects/GRAFCET/step.c: Added the macro and
15946         sub-program call step types.
15948         * objects/GRAFCET/receptivity.[ch]: renamed to 
15949         objects/GRAFCET/boolequation.[ch]. 
15950         * objects/GRAFCET/transition.c: changed (Receptivity *) to 
15951         (BoolEquation *)
15953         * lib/connpoint_line.[ch]: 
15954         * objects/chronogram/chronoline.c:
15955         * objects/chronogram/chronoref.c:
15956         * objects/GRAFCET/vergent.c:
15957         * objects/standard/line.c:
15958         * objects/SADT/box.c: Minor CPL interface changes, factored out the
15959         point count adjustment code into the CPL object.
15960         
15961 2000-01-29  Alexander Larsson  <alla@lysator.liu.se>
15963         * app/render_libart.c:
15964         Added support for images and bezier curves.
15965         Only text/fonts missing now.
15967         * app/render_gdk.c:
15968         Removed old erronous comment.
15970 2000-01-29  Cyrille Chepelov <chepelov@calixo.net>
15972         * objects/chronogram/chronoline_event.c: removed references to
15973         lround(). Please don't insist, I'm already red of shame.
15974         
15975 2000-01-29  Alexander Larsson  <alla@lysator.liu.se>
15977         * app/render_libart.[ch]:
15978         * app/Makefile.am:
15979         Non-finished libart renderer.
15981         * acconfig.h:
15982         Added HAVE_LIBART flag
15984         * configure.in:
15985         Added libart probe
15987         * app/app_procs.c:
15988         Call gdk_rbg_init().
15990         * app/connectionpoint_ops.c:
15991         * app/disp_callbacks.c:
15992         * app/grid.c:
15993         * app/handle_ops.c:
15994         * app/magnify.c:
15995         * app/modify_tool.c:
15996         Change ddisp->renderer type from RendererGdk * to Renderer *
15997         Draw zoom and select rects in ddisp->canvas->window instead
15998         of ddisp->renderer->renderer->pixmap.
16000         * app/display.[ch]:
16001         Add aa_renderer to DDisplay, and  support for it.
16002         New function ddisplay_set_renderer() for changing renderer.
16003         Add ddisplay_transform_coords_double() function, used by aa renderer.
16004         Change ddisp->renderer type from RendererGdk * to Renderer *
16006         * app/menus.c:
16007         Add antialias to menu.
16008         
16009         * app/commands.[ch]:
16010         add view_aa_callback function
16011         Change ddisp->renderer type from RendererGdk * to Renderer *
16013         * lib/geometry.[ch]:
16014         Added IntRectangle and int_rectangle_union.
16016 2000-01-28  James Henstridge  <james@daa.com.au>
16018         * app/commands.h: removed prototypes.
16020         * app/commands.c: removed the functions that have been moved to
16021         filedlg.c.
16023         * app/filedlg.h: added new prototypes.
16025         * app/filedlg.c (file_open_callback): move open dialog to this
16026         file.  This implementation should remember the current directory
16027         between file loads.
16028         (file_save_as_callback): moved this dialog as well.
16029         (file_save_callback): moved this function here.
16031         * app/paginate_psprint.c (paginate_psprint): if not in fit to mode,
16032         align page boundaries to the origin.
16034         * app/diagram.c (diagram_update_extents): redraw the diagram if the
16035         scaling factor changes while updating the extents.  This is so the
16036         page breaks get redrawn correctly.
16038         * app/pagesetup.c (pagesetup_apply): added diagram_flush call when
16039         applying changes.
16041         * app/grid.c (grid_draw): draw page breaks as well as grid lines.
16042         For normal mode, use (0,0) as the origin.  For `fit to' mode, use
16043         the corner of the bounding box.
16045         * app/pagesetup.c (create_page_setup_dlg): load new paper attributes
16046         into page setup dialog.
16047         (pagesetup_apply): apply new `fit to' attributes to the diagram.
16049         * app/load_save.c (diagram_load): load new paper `fit to' attributes.
16050         (diagram_data_save): save `fit to' data.
16052         * lib/diagramdata.c (new_diagram_data): initialise `fit to' members.
16053         (data_update_extents): when in `fit to' mode, update scale factor
16054         when we update the extents.
16056         * lib/diagramdata.h (PaperInfo): added `fit to' members to PaperInfo
16057         structure.
16059         * .../.cvsignore: added some cvsignore files to quieten cvs.
16060         
16061         * app/pagesetup.c (pagesetup_changed): added code to change the
16062         scaling/fit to values as you change the options in the page setup
16063         dialog.  I haven't added code so that the fit to options are saved
16064         though.
16066         * app/diapagelayout.[ch]: changed the scaling portion of the widget
16067         to make it easier to set a `fit to' style scaling factor.
16069 2000-01-27 Cyrille Chepelov <chepelov@calixo.net>
16070         * lib/neworth_conn.[ch]: (NEW) Temporary (hopefully) fork of orth_conn,
16071         but connpoint_line-based, so that there's a connection point at the 
16072         middle of each segment. Currently only the SADT arrow uses this.
16074         * objects/SADT/* (NEW): SADT (both idf0 and idf1) support.
16075         
16076 2000-01-26 Cyrille Chepelov <chepelov@calixo.net>
16077         * lib/lazyprops.[ch]:(NEW) Added a bunch of macros for loading, 
16078         saving and editing of properties (and default properties). 
16079         See the new objects (GRAFCET, SADT, chonograms) for examples.
16080         For already too hairy stuff, see objects/chronogram/chronoline.c.
16082         * lib/connpoint_line.[ch] (NEW): This subobject manages a line of 
16083         evenly spaced connection points, which the user can add or remove at
16084         will. An object can own several connection point lines. See the SADT
16085         Box, or the GRAFCET vergents for examples.
16087         * lib/dummy_dep.h: added dependencies to new files. Told gcc to keep 
16088         quiet about unused stuff.
16090         * objects/GRAFCET (NEW):
16091         * samples/grafcet.dia (NEW):
16092         Added support for GRAFCET charts. 
16094         * objects/chronogram (NEW):
16095         * samples/chronograms.dia (NEW):
16096         Added support for chronograms (feature requested by Ronald L. Chichest;
16097         I found I'd use it often, too).
16099         * objects/standard/line.c: Replace the middle connectionpoint by 
16100         a whole connection point line, which defaults to one point (hint, 
16101         hint). New Line object menu to take advantage of this. 
16102         "Bothwards" compatibility is preserved (although you may loose 
16103         connections if you load a newer file in a older dia).
16105         * app/lineprops_area.c:
16106         * lib/arrows.[ch]:
16107         * lib/widgets.c: Added hollow and filled ellipse arrow head type. 
16108         (feature requested by Benjamin Kahn).
16109         Merged in Steffen Macke's slashed arrow head type.
16111         * app/Makefile.am (app/run_dia.sh actually):
16112         Added $DEBUGGER in front of dia's invocation, so that
16113         you can call "DEBUGGER=ddd app/run_dia.sh" (maybe naive, but useful).
16114         Added $(EFENCE) to app/dia's LDFLAGS, so that you can do 
16115         "EFENCE=-lefence" to link with Electric Fence.
16117         * configure.in: Made gcc do more aggressive optimisations on i386, and
16118         enabled warnings.
16119         
16120 2000-01-24  James Henstridge  <james@daa.com.au>
16122         * lib/geometry.[ch]: added inline versions of functions.  Used
16123         glib's G_INLINE_FUNC stuff, so it should still work on systems
16124         without inline funcs.
16126         * plug-ins/cgm/cgm.c (draw_ellipse, fill_ellipse): fixed up so that
16127         it outputs the correct element id for the ellipse objects.
16129 2000-01-24 Cyrille Chepelov <chepelov@calixo.net>
16131         * lib/object.[ch]: added object_add_connectionpoint_at, similar to
16132         object_add_handle_at. Message typo fixed.
16133         
16134         * lib/sheet.c (load_register_sheet):
16135         potential bug fixed (warning hunt).
16137         * objects/custom/custom.c (custom_object_load): disabled an assertion
16138         which made dia abort upon failure to load a shape file. Fixed a
16139         subsequent crash. 
16141         * objects/custom/shape_info.c (load_shape_info): Made the custom 
16142         shape load code ignore XML comments between <?xml ...?> and the 
16143         root object (mostly useful to put the emacs magic comments).
16144         
16145         * app/load_save.c: Made dia do backup copies of files when saving,
16146         and complain in case of failure.
16148 2000-01-24  Cyrille Chepelov  <chepelov@calixo.net>
16150         * AUTHORS: fixed my address (ISP thought it was a great idea to change
16151         the domain name)
16152         
16153         * configure.in:
16154         * shapes/Contact:
16155         * shapes/Contact/*:
16156         * sheets/Contact.sheet:
16157         * sheets/Makefile.am:
16158         Added support for Contact and LADDER charts.
16160         * dia.desktop: Added a French translation.
16161         
16162 2000-01-23  James Henstridge  <james@daa.com.au>
16164         * app/commands.c (help_about_callback): don't die if can't load
16165         logo image.
16167         * app/render_gdk.c (bezier_add_lines): sanity check to try to weed
16168         out NaN's when performing bezier curve subdivision.
16170         * objects/custom/custom_object.c: initialise memory of Custom structs
16171         to zero.
16173         * app/render_svg.c (draw_image): added image support to the XML
16174         output filter.  The image is just referenced, rather than being
16175         included inline, so if you copy the SVG file somewhere else, you
16176         may need to move the images or fix up the links.
16178         * plug-ins/cgm/cgm.c (draw_string): output a text colour element,
16179         so the text is not just displayed in black all the time.
16181 2000-01-15  Fredrik Hallenberg  <hallon@lysator.liu.se>
16183         * configure.in: fixed libpopt test so we wont try to build with
16184         too old libpopt.
16186 1999-12-18  Yuri Syrota  <rasta@renome.rovno.ua>
16188         * configure.in: Added "uk" to ALL_LINGUAS.
16190 1999-12-24  James Henstridge  <james@daa.com.au>
16192         * po/ru.po: updated russian translation from Valek Filippov.
16193         
16194         * app/render_svg.c (new_svg_renderer): make output use 19991203
16195         version of SVG DTD.  Use viewBox to set the extents of the view.
16197         * INSTALL (FONTS): updated locations of gnome-xml and imlib.  List
16198         ftp.gnome.org as the download.
16200         * TODO (TODO): weeded out completed todo items and added a few extra.
16202         * Makefile.am (EXTRA_DIST): added documentation to EXTRA_DIST.
16204         * doc/sheet.dtd: first stab at a DTD for the sheet files.  It would
16205         be good to get rid of the object/shape distinction and separate
16206         the custom shape code out from the main application.
16208         * objects/custom/README, diagram.dtd: moved to new doc directory.
16209         Renamed the custom shapes README to custom-shapes.  Also updated
16210         custom shape docs a bit and removed the section on sheet files, as
16211         that has changed a bit.
16213         * plug-ins/cgm/cgm.c (draw_image): give an error if the row length
16214         of the image data is larger than the maximum cell array.  I should
16215         add code to break scan lines down further in this case, but for now
16216         an error message is better than an infinite loop.
16218         * app/filedlg.c (file_export_ok_callback): show a dialog if we
16219         couldn't determine the export filter to use.
16221         * app/commands.c (help_about_callback): fixed up about box logo
16222         expose bug.  Now just use a GtkPixmap widget rather than a
16223         GtkDrawingArea and calling gdk_imlib_paste_image.
16225         * app/Makefile.am (EXTRA_DIST): added print stuff to extra dist,
16226         because automake does not always get things right.
16228         * configure.in: updated version number to 0.83.
16230         * app/preferences.c (prefs_save): 
16231         * app/render_svg.c (new_svg_renderer): "wt" is not a valid flag string
16232         for fopen.  Text is the default file mode anyway.
16234         * app/commands.c (file_save_as_dialog_ok_callback, file_new_callback): 
16235         * app/grid.c (grid_x_update, grid_y_update, grid_show_dialog): 
16236         * app/load_save.c (write_objects, write_connections): 
16237         * app/filedlg.c (file_export_ok_callback): 
16238         * lib/dia_xml.c (data_add_int, data_add_enum, data_add_real): 
16239         * lib/dia_xml.c (data_add_point, data_add_rectangle): 
16240         * lib/font.c (init_x11_font, font_get_gdkfont): changed calls to
16241         snprintf to calls to g_snprintf.
16243         * plug-ins/cgm/cgm.c (export_cgm): write the original dia file name
16244         as the picture name.
16246 1999-12-23  James Henstridge  <james@daa.com.au>
16248         * plug-ins/cgm/cgm.c (write_int32, write_int16): fixed up output of
16249         negative numbers.  This fixes the upside down text problem I was
16250         having previously.
16251         (draw_image): implemented the image code.  It will try to split the
16252         image data up into bands if it is too big to fit into a single
16253         cgm cell array element.  It will have problems if you try to insert
16254         an image wider than about 10,000 pixels though.
16256         * Makefile.am: use gnomedatadir for the files that need to be
16257         installed in gnome's datadir.  This is mainly to help people doing
16258         packages for weird setups.
16260 1999-12-22  James Henstridge  <james@daa.com.au>
16262         * plug-ins/cgm/cgm.c: added support for text.  Now only images and
16263         beziers are left to do.  The text seems to be the wrong way up
16264         still.  This is probably a problem with character orientation
16265         element, but I have used what the settings given in the standard.
16266         Other than this, the CGMs dia produces are readable (and displayable)
16267         by ralcgm and corel draw.
16268         (draw_string): subtract from the X coord rather than the Y coord for
16269         center and right aligned text.
16271         * plug-ins/cgm/cgm.c: a few fixups for the output.  Use REALSIZE as
16272         the size of a real number, and changed name of write_double to
16273         write_real.  Consider changing to fixed real encoding.  Also, now
16274         all element headers are correct.  Once the real number encoding is
16275         fixed, only text, beziers and images are left to do.
16277 1999-12-21  James Henstridge  <james@daa.com.au>
16279         * Makefile.am (SUBDIRS): recurse into plug-ins.
16281         * configure.in: add plug-ins directory makefiles to list.
16283         * plug-ins/cgm/cgm.c: start of cgm export filter.  Beziers and text
16284         not done yet.  Also, the output files are not quite correct.
16286         * app/render_eps.c (print_reencode_font): don't reencode the Symbol
16287         font.  It doesn't work if you do.
16289 1999-12-20  James Henstridge  <james@daa.com.au>
16291         * app/app_procs.c (app_init): don't use diagram_export_to_eps to
16292         export the files.  Instead, use filter_guess_export_filter to
16293         guess the correct format to save in and use the appropriate filter.
16294         It defaults to postscript for compatibility.
16296         * app/diagram.[ch] (diagram_export_to_eps): removed export to eps
16297         function.
16299         * app/commands.[ch]: removed export to eps functions.
16301         * app/menus.c: removed export to eps menu items.
16303         * app/app_procs.c: register new export filters.
16305         * app/load_save.[ch]: define dia native export filter.
16307         * app/render_eps.[ch]: define eps export filter.
16309         * lib/filter.h: added diafilename argument to the DiaExportFunc
16310         prototype.  This is useful for putting the source of the diagram
16311         into the output file for instance.
16313         * app/app_procs.c (app_init): register the SVG export filter.  Have
16314         to get EPS code converted to this API, and maybe also allow saving in
16315         DIA's native format from the export dialog.  In fact, it is now
16316         possible to load an export filter from a shared library and it will
16317         integrate into the interface correctly.
16319         * app/menus.c: removed references to the SVG renderer.
16321         * app/commands.[ch]: removed svg stuff.
16323         * app/diagram.[ch]: removed diagram_export_to_svg function.
16325         * app/render_svg.[ch]: added a DiaExportFilter structure for this
16326         renderer.
16328         * app/filedlg.[ch]: code for the new export diagram dialog.  Will
16329         probably move the open/save dialogs to this file as well.
16331 1999-12-19  James Henstridge  <james@daa.com.au>
16333         * lib/filter.[ch]: start of interface for generalised handling of
16334         filters.  I have only done code for export filters so far.  I still
16335         need to do the gui for this, and convert the current SVG and EPS
16336         filters to the new API.
16338         * lib/bezier_conn.c (bezierconn_copy): fix up copy operation.  We
16339         weren't setting the last handle correctly.  It was actually assigning
16340         to the wrong position in the handles array, so the last handle was
16341         left as NULL, which caused the segfault.
16343         * objects/standard/image.c (image_copy): modified routine so that
16344         it just adds a reference to the DiaImage structure in the new image
16345         object.  This seems to have cleared up the problems with copying
16346         image objects.
16348         * dia.spec: spec file additions from John Gotts.
16350 1999-12-12  James Henstridge  <james@daa.com.au>
16352         * configure.in (GNOME_LIBS): updated version number to 0.82.  0.82
16353         has not been released yet though.
16355         * Makefile.am (EXTRA_DIST): distribute diagram.dtd.
16357         
16358         The following based on a patch from Lars Clausen:
16359         
16360         * objects/standard/bezier.c (bezierline_move_handle): when performing
16361         the initial drag of the bezierline, move the control points to keep
16362         the line straight.
16364         * lib/bezier_conn.c (bezierconn_add_segment): when adding a segment,
16365         make the new control points a bit closer to the major point.
16367         * app/create_object.c (create_object_motion): use HANDLE_MOVE_CREATE
16368         as the reason for the move.
16369         (create_object_button_release): use HANDLE_MOVE_CREATE_FINAL as the
16370         move reason.
16372         * lib/handle.h: new handle move reasons.
16374 1999-12-09  James Henstridge  <james@daa.com.au>
16376         * dia.spec: include the new files in RPMs.
16378         * Makefile.am: install these new files.
16380         * dia.keys.in: file describing actions and icon for dia diagrams for
16381         use in the gnome file manager.
16382         
16383         * dia.mime: a file defining the application/x-dia-diagram mime type.
16384         
16385         * dia-diagram.png: an icon for dia diagrams.
16387 1999-12-08  James Henstridge  <james@daa.com.au>
16389         * plug-ins/python/pydia-diagram.c: added heaps of new methods.
16391         * plug-ins/python/pydia-display.[ch]: wrapper for display.
16393         * objects/standard/ellipse.c: applied Lars's patch to optionally not
16394         draw the background of the ellipse.
16396         * app/load_save.c (read_connections): do some sanity checking on the
16397         handle and connection point numbers before performing the object
16398         connection.
16400         * lib/bezier_conn.c (bezierconn_load): give the correct number of
16401         handles when loading a BezierConn.
16403 1999-12-07  Kjartan Maraas  <kmaraas@online.no>
16405         * sheets/*.sheet: Finished Norwegian translations.
16406         
16407 1999-12-07  James Henstridge  <james@daa.com.au>
16409         * plug-ins/python/diamodule.c (PyDia_Load): load diagram function.
16410         (PyDia_GetObjectType): find object type function.
16412         * plug-ins/python/pydia-diagram.c (PyDiaDiagram_Save): added a save
16413         method for diagrams.
16415         * plug-ins/python/pydia-object.c: added methods for DiaObject and
16416         DiaObjectType.
16418         * AUTHORS: added Lars and Cyrille to the authors file.
16420         * objects/standard/bezier.c (bezierline_add_segment_callback): place
16421         new point correctly.
16423         * lib/bezier_conn.h (bezierconn_closest_segment): fixed prototype.
16425         * lib/bezier_conn.c: applied Lars's patch for placement of the new
16426         point when adding a segment to a BezierConn.
16428 1999-12-06  James Henstridge  <james@daa.com.au>
16430         * plug-ins/python/test.py: test script for the python plug-in.
16432         * plug-ins/python/python.c: this file contains the plug-in startup
16433         code for the python plugin.  Right now, it just initialises the
16434         dia module and executes a script.
16436         * objects/standard/polyline.c (polyline_draw): fix start arrow size.
16438         * objects/standard/bezier.c (bezierline_draw): draw control lines for
16439         bezier curve if we are using an interactive renderer (ie. only if
16440         displaying to the screen).
16442         * lib/bezier_conn.[ch] (bezierconn_draw_control_lines): function
16443         to draw control lines on to a bezier curve.  Based on implementation
16444         from Lars.
16446         * objects/standard/bezier.c (bezierline_delete_segment_callback):
16447         calculate segment number using closest_segment rather than
16448         closest_handle.  Sometimes the closest handle is part of a different
16449         segment.
16450         (bezierline_draw): use correct size for start arrow.
16452         The next few entries are from Peter Moulder <reiter@netspace.net.au>:
16453         * lib/geometry.c (distance_line_point): added notes to documentation
16454         in comment.
16455         * app/object_ops.c (object_list_align_v): 
16456         (object_list_align_h): fix of by one error when calculating free space
16457         for equal distance alignment.
16458         * app/menus.c (objects_align_h, objects_align_v): include align
16459         adjacent menu items in the gnome version of the menus.
16460         * app/diagram.c (diagram_update_menu_sensitivity): set sensitivity on
16461         align adjacent menu items correctly.
16464         * lib/dummy_dep.h (dummy_dep): added bezierconn to dummy dependency
16465         table.
16467         * objects/standard/bezier.c: converted bezierline to use BezierConn.
16468         Still a few bugs.  It crashes on deleting line segments.
16470         * lib/Makefile.am (libdia_a_SOURCES): added BezierConn to libdia.
16472 1999-12-05  James Henstridge  <james@daa.com.au>
16474         * lib/bezier_conn.[ch]: start of BezierConn object
16476         * app/interface.c: add bezierline to toolbox.
16478         * objects/standard/standard.c: initialise bezierline.
16480         * objects/standard/bezier.c: new object from Lars R. Clausen.  I have
16481         made a few modifications to get it working nicely.  It still needs
16482         a bit of work though.  Maybe create a BezierConn object in lib.
16484 1999-12-02  James Henstridge  <james@daa.com.au>
16486         * plug-ins/python/pydia-*.c: fixed compile errors in these files.
16487         
16488         * plug-ins/python/Makefile.am: tried building everything.  It is
16489         building as a library at the moment.  I will have to convert it
16490         to a libtool library and add some initialisation code.
16491         
16492         * plug-ins/python/diamodule.c: start of the dia module, using the
16493         other object wrappers.  Not complete.
16495 1999-12-01  James Henstridge  <james@daa.com.au>
16497         * plug-ins/python/pydia-object.c (PyDiaObject_GetAttr): implement
16498         the handles and connections attributes.
16500         * plug-ins/python/pydia-layer.c: added functions that use
16501         ConnectionPoint's.
16503         * plug-ins/python/pydia-handle.[ch]: wrapper for Handle's.
16505         * plug-ins/python/pydia-cpoint.[ch]: wrapper for ConnectionPoint's.
16507         * plug-ins/python/pydia-*.[ch]: starts of python scripting plug-in.
16508         I am currently wrapping the basic elements in the diagram in python
16509         objects -- nothing to see or play with yet.
16511 1999-11-30  Alexander Larsson  <alla@lysator.liu.se>
16513         * AUTHORS:
16514         * HACKING:
16515         James Henstridge <james@daa.com.au> is now the maintainer of Dia.
16517 1999-11-29  Alexander Larsson  <alla@lysator.liu.se>
16519         * configure.in:
16520         * po/ru.po:
16521         Added russian translation from Valek Filippov <frob@df.ru>
16523 1999-11-24  James Henstridge  <james@daa.com.au>
16525         * sheets/UML/*: 
16526         * sheet/ER/*: moved extra sheet pixmaps back to separate dirs as
16527         discussed with Alex.  Also added extra makefiles so that make install
16528         works correctly.
16530 1999-11-23  Alexander Larsson  <alla@lysator.liu.se>
16532         * app/preferences.[ch]:
16533         * app/display.c:
16534         Added snap to grid preference.
16535         Patch from Michael Leslie <mles@springboardwireless.com>
16537 1999-11-21  Alexander Larsson  <alla@lysator.liu.se>
16539         * app/load_save.c:
16540         * lib/dia_xml.c:
16541         * lib/sheet.c:
16542         * lib/text.c:
16543         * objects/custom/shape_info.c:
16544         All strings returned by libxml must be freed with free, not
16545         g_free, or there will be problems if you use memory debugging
16546         in glib.
16547         
16548 1999-11-21  Alexander Larsson  <alla@lysator.liu.se>
16550         * app/create_object.[ch]:
16551         * app/menus.c:
16552         * app/tool.[ch]:
16553         * app/commands.[ch]:
16554         * app/pixmaps.h:
16555         * app/interface.[ch]:
16556         Reverted the tool menu patch. It has some 'issues'.
16557         I liked it though, so it'll probably return.
16559 1999-11-21  Alexander Larsson  <alla@lysator.liu.se>
16561         Fixed a lot of memory leaks. Thanks to Bruce Mitchener
16562         <bruce@cybersight.com> for some purify runs and analysis.
16563         Also a great thank you to Owen Taylor for creating MemProf, a
16564         free memory leak detector that was used to find and verify a
16565         lot of these fixes.
16566         
16567         * app/diagram.c:
16568         * app/paginate_psprint.c:
16569         * app/render_eps.[ch]:
16570         * app/render_svg.[ch]:
16571         Free renderers.
16573         * app/interface.c:
16574         Don't add a reference to ddisp->shell. Why was this done in
16575         the first place?
16577         * app/load_save.c:
16578         * lib/dia_xml.c:
16579         * lib/sheet.c:
16580         * lib/text.c:
16581         Free all strings returned from xmlGetProp
16583         * app/modify_tool.c:
16584         Plug leak.
16586         * objects/custom/custom.c:
16587         Use closedir() after opendir().
16589         * objects/custom/shape_info.c:
16590         User g_free() instead of "if (tmp) free(tmp)".
16592         * sheets/ER.sheet:
16593         Add newline at end of file.
16594         
16596 1999-11-20  Alexander Larsson  <alla@lysator.liu.se>
16598         Based on patch from Patrick Reynolds <reynolds@cs.duke.edu>
16599         Adds tool menu and keyboard shortcuts.
16601         * app/create_object.[ch]:
16602         Use tool_set() instead of tool_reset().
16603         create_create_object_tool() takes extra type argument
16605         * menus.c:
16606         Add tools menu.
16607         
16608         * tool.[ch]:
16609         Moved tool_data here, export it.
16610         Add separate tool type for all create objects tools.
16611         new functions tool_set().
16613         * commands.[ch]:
16614         New callback tool_set_callback.
16616         * pixmaps.h:
16617         Moved some pixmaps to interface.c.
16618         
16619         * interface.[ch]:
16620         Remove tool_data array (moved to tool.c).
16621         Use the tool_data from tool.c.
16622         Remove modify_tool_button global var.
16623         
16624 1999-11-20  Alexander Larsson  <alla@lysator.liu.se>
16626         Patch from Patrick Reynolds <reynolds@cs.duke.edu>
16627         
16628         * app/app_procs.c:
16629         Interprets command-line arguments as files to open even when
16630         HAVE_POPT is not defined.
16632         * app/magnify.c:        
16633         Shift-clicking when zooming zooms out, like the Gimp.
16635         * app/menus.c:
16636         Has hotkeys for zoom-100% and snap-to-grid.
16638 1999-11-17  James Henstridge  <james@daa.com.au>
16640         * app/scroll_tool.c (scroll_motion): fixed shift style scrolling so
16641         that it is not jumpy.
16643         * app/Makefile.am (EXTRA_DIST): added extra files to extra dist list.
16645         * app/scroll_tool.c (scroll_motion): added `grabbing hand' type
16646         scrolling by pressing the shift key when using the scroll tool.
16648         * sheets/Makefile.am: fixed makefile so that install actually works
16649         if the directories $(pkgdatadir)/sheets/UML and $(pkgdatadir)/sheets/ER
16650         don't exist.
16651         (SHEETS): install Circuit.sheet
16653 1999-11-15  Alexander Larsson  <alla@lysator.liu.se>
16654         Patch from Cyrille Chepelov <chepelov@rmcnet.fr>
16656         * sheets/Circuit.sheet:
16657         * sheets/ER.sheet:
16658         * sheets/FS.sheet:
16659         * sheets/Flowchart.sheet:
16660         * sheets/UML.sheet:
16661         * sheets/network.sheet:
16662         * sheets/sybase.sheet:
16663         Changed name space
16665         * sheets/Circuit.sheet:
16666         added some missing French translations
16668         * lib/sheet.c:
16669         killed the temporary sheet namespace
16671         * objects/custom/custom.c:
16672         obsolete comment cleaned up
16674 1999-11-12  Alexander Larsson  <alla@lysator.liu.se>
16676         * configure.in:
16677         * po/pt.po:
16678         Added portugese translation from Pedro Morais
16679         <pmmm@rnl.ist.utl.pt>
16681 1999-11-11  Alexander Larsson  <alla@lysator.liu.se>
16683         Changed all sheets to be specified in xml.
16684         All sheet objects removed from the C code.
16685         Patch from Cyrille Chepelov <chepelov@rmcnet.fr>
16686         
16687         * Makefile.am:
16688         * configure.in:
16689         Adding shapes dir.
16690         Updated version to 0.81cvs.
16691         
16692         * app/Makefile.am:
16693         Update run_dia.sh with sheet-dir.
16694         
16695         * app/app_procs.c:
16696         Load all sheets on startup.
16697         Create sheet directory first time.
16698         Don't call custom_register_sheets().
16700         * lib/Makefile.am:
16701         Add sheetdir define
16703         * lib/custom.h:
16704         Remove custom_register_sheets().
16706         * lib/sheet.[ch]:
16707         Add sheet loading code.
16709         * sheet/Circuit.sheet:
16710         * sheet/ER.sheet:
16711         * sheet/FS.sheet:
16712         * sheet/Flowchart.sheet:
16713         * sheet/UML.sheet:
16714         * sheet/network.sheet:
16715         * sheet/sybase.sheet:
16716         Added sheet files.
16718         * sheet/ER/weakentity.xpm:
16719         * sheet/UML/aggregation.xpm
16720         * sheet/UML/umlclass_template.xpm
16721         Added sheet pixmaps.
16722         These are moved from their old places.
16724         * sheet/.cvsignore:
16725         Shut up cvs.
16727         * objects/*/*.c:
16728         Removed sheet objects and sheet registration.
16729         
16730         * objects/ER/Makefile.am:
16731         * objects/ER/pixmaps/weakentity.xpm:
16732         * objects/UML/Makefile.am:
16733         * objects/UML/pixmaps/aggregation.xpm:
16734         * objects/UML/pixmaps/umlclass_template.xpm:
16735         Removed alternative pixmaps. (Moved to sheet).
16737         * objects/custom/Makefile.am:
16738         * objects/custom/load_sheet.[ch]:
16739         Removed old sheet loading code.
16740         
16741         * objects/custom/custom.c:
16742         Load all shapes instead of sheets.
16743         Removed custom_register_sheets().
16745         * objects/custom/custom_object.c:
16746         Added debug code.
16748         * objects/custom/shape_info.[ch]:
16749         Added shape_info_getbyname().
16751         * objects/flowchart/Makefile.am:
16752         * objects/flowchart/collate.shape            
16753         * objects/flowchart/delay.shape              
16754         * objects/flowchart/display.shape            
16755         * objects/flowchart/document.shape           
16756         * objects/flowchart/extract.shape            
16757         * objects/flowchart/flowchart.c              
16758         * objects/flowchart/intstorage.shape         
16759         * objects/flowchart/magdisk.shape            
16760         * objects/flowchart/magdrum.shape            
16761         * objects/flowchart/magtape.shape            
16762         * objects/flowchart/manualinput.shape        
16763         * objects/flowchart/manualop.shape           
16764         * objects/flowchart/merge.shape              
16765         * objects/flowchart/offlinestore.shape       
16766         * objects/flowchart/offpageconn.shape        
16767         * objects/flowchart/or.shape                 
16768         * objects/flowchart/predefdproc.shape        
16769         * objects/flowchart/preparation.shape        
16770         * objects/flowchart/punchedcard.shape        
16771         * objects/flowchart/punchedtape.shape        
16772         * objects/flowchart/sort.shape               
16773         * objects/flowchart/sumjunction.shape        
16774         * objects/flowchart/terminal.shape           
16775         * objects/flowchart/transaction.shape        
16776         * objects/flowchart/transmittape.shape       
16777         * objects/flowchart/pixmaps/collate.xpm      
16778         * objects/flowchart/pixmaps/delay.xpm        
16779         * objects/flowchart/pixmaps/display.xpm      
16780         * objects/flowchart/pixmaps/document.xpm     
16781         * objects/flowchart/pixmaps/extract.xpm      
16782         * objects/flowchart/pixmaps/intstorage.xpm   
16783         * objects/flowchart/pixmaps/magdisk.xpm      
16784         * objects/flowchart/pixmaps/magdrum.xpm      
16785         * objects/flowchart/pixmaps/magtape.xpm      
16786         * objects/flowchart/pixmaps/manualinput.xpm  
16787         * objects/flowchart/pixmaps/manualop.xpm     
16788         * objects/flowchart/pixmaps/merge.xpm        
16789         * objects/flowchart/pixmaps/offlinestore.xpm 
16790         * objects/flowchart/pixmaps/offpageconn.xpm  
16791         * objects/flowchart/pixmaps/or.xpm           
16792         * objects/flowchart/pixmaps/predefdproc.xpm  
16793         * objects/flowchart/pixmaps/preparation.xpm  
16794         * objects/flowchart/pixmaps/punchedcard.xpm  
16795         * objects/flowchart/pixmaps/punchedtape.xpm  
16796         * objects/flowchart/pixmaps/sort.xpm         
16797         * objects/flowchart/pixmaps/sumjunction.xpm  
16798         * objects/flowchart/pixmaps/terminal.xpm     
16799         * objects/flowchart/pixmaps/transaction.xpm  
16800         * objects/flowchart/pixmaps/transmittape.xpm 
16801         Moved shapes and their pixmaps to shapes/flowchart
16803         * shapes/Circuit/Makefile.am:
16804         * shapes/Circuit/index.sheet:
16805         Removed index.sheet.
16806         
16807         * shapes/Makefile.am:
16808         * shapes/flowchart/Makefile.am:
16809         * shapes/flowchart/*.shape:
16810         * shapes/flowchart/*.xpm:
16811         Added flowchart shapes. (Moved from objects/flowchart)
16812         
16814 1999-11-07  Fredrik Hallenberg  <hallon@lysator.liu.se>
16816         * app/app_procs.c: Fixed popt stuff.
16818 1999-11-01  James Henstridge  <james@daa.com.au>
16820         * shapes/Circuit/[hv]led_de.{shape,xpm}: new circuit shapes from
16821         Andreas Scherf.
16823 1999-10-31  Alexander Larsson  <alla@lysator.liu.se>
16825         * dia.spec:
16826         * configure.in:
16827         Update version to 0.81.
16828         
16829         * NEWS:
16830         Update with news for 0.81.
16831         
16832         * shapes/Circuit/*:
16833         * shapes/Circuit_eu/*:
16834         Moved european circuit objects to Circuit sheet.
16836 1999-10-31  Alexander Larsson  <alla@lysator.liu.se>
16837         
16838         * lib/diagramdata.[ch]:
16839         Added layer_set_object_list() function.
16841         * app/undo.[ch]:
16842         Added support for undo of reordered objects.
16843         Fix the undo of delete to keep the right order on undo.
16844         
16845         * app/diagram.c:
16846         changed loop to object_add_updates_list() calls.
16847         Added undo support to bring to front/back.
16849         * app/disp_callbacks.c:
16850         * app/paginate_psprint.c:
16851         Remove warnings.
16853 1999-10-30  Alexander Larsson  <alla@lysator.liu.se>
16855         This plugs some leaks. Thanks to
16856         Bruce Mitchener <bruce@cybersight.com> for running
16857         Dia through purify for me.
16858         
16859         * app/app_procs.c:
16860         Free displays and diagrams on exit.
16862         * app/modify_tool.c:
16863         Free gc when freeing tool.
16865         * lib/diagramdata.c:
16866         Free layer name.
16867         
16868         * app/display.c:
16869         Free update and display lists when destroying display.
16870         
16871         * lib/diagramdata.c:
16872         Don't leak layer name.
16874         * objects/custom/load_sheet.c: 
16875         * objects/custom/shape_info.c:
16876         Free loaded xml documents.
16878 1999-10-28  Alexander Larsson  <alla@lysator.liu.se>
16880         * app/commands.c:
16881         * app/object_ops.[ch]:
16882         Add undo handling to alignment ops.
16883         Based partially on patch by Dan Cohn <dan@internap.com>.
16885         * objects/standard/image.c (image_move_handle):
16886         Don't divide by zero for small images.
16887         Patch by Dan Cohn <dan@internap.com>.
16889         * objects/UML/class.c (umlclass_destroy): 
16890         * objects/custom/custom_object.c (custom_destroy):
16891         Don't free connectionpoints before calling element_destroy
16892         which unconnects them.
16894 1999-10-26  Alexander Larsson  <alla@lysator.liu.se>
16896         * objects/custom/custom_object.c: 
16897         Load and save padding too. Fixes strange load crashes.
16899         * app/group.c (group_destroy):
16900         Don't unconnect already freed connectionpoints when
16901         destroying group. Probably fixes bug reported by
16902         Elliot Lee <sopwith@redhat.com>.
16904         * app/render_gdk.c:
16905         Don't crash on zero-size (broken) bezier curves.
16906         Different sort of fix. This should work on closed bezier curves
16907         too.
16909         * objects/standard/textobj.c:
16910         Activate default properties dialog for Text objects.
16912         * app/render_eps.c: 
16913         * app/load_save.c:
16914         * app/preferences.c:
16915         * app/render_svg.c:
16916         fopen files in binary or text mode.
16918 1999-10-26  Alexander Larsson  <alex@cendio.se>
16920         * app/render_gdk.c (bezier_add_lines):
16921         Don't crash on zero-size (broken) bezier curves.
16922         Fixes a crashing bug.
16924 1999-10-25  James Henstridge  <james@daa.com.au>
16926         * app/Makefile.am (run_dia.sh): allow dia to find internal shape files
16927         before it is installed.
16929         * objects/flowchart/flowchart.c: use relative paths to find shapes.
16931         * objects/custom/custom.c (custom_object_load): take file names
16932         relative to $(pkgdatadir)/shape-internal, and check an environment
16933         variable for an alternative directory.
16935         * app/...: added copyright messages to the top of my new code.
16937         * app/paginate_psprint.c: some general clean ups.  Also, give an error
16938         dialog if we can't open the command or output file for writing.
16940         * app/diapagelayout.c (dia_page_layout_set_orientation): fixed
16941         function so it would set orientation to landscape correctly.
16943         * app/paginate_psprint.c: use the paper settings that come with
16944         the diagram.  Also implemented landscape printing.
16946         * app/render_eps.c (new_psprint_renderer): use diagram paper metrics
16947         in PS header.
16949         * app/commands.[ch] (file_pagesetup_callback): added callback for
16950         the page setup dialog.
16952         * app/menus.c: added page setup menu item.
16954         * app/pagesetup.[ch]: implementation of the page setup dialog.
16956         * app/diapagelayout.[ch]: added accessors for the scaling factor.
16957         
16958         * app/load_save.c (diagram_load): load paper information from save
16959         file.
16960         (diagram_save): save the paper info.
16962         * lib/diagramdata.c (new_diagram_data): initialise paper info section
16963         of DiagramData structure.
16964         (diagram_data_destroy): free the paper name.
16966         * lib/diagramdata.h: added a paper member to the DiagramData structure
16967         that holds the page layout info for a diagram.
16969 1999-10-21  Alexander Larsson  <alla@lysator.liu.se>
16971         * objects/flowchart/box.c:
16972         * objects/flowchart/ellipse.c:
16973         * objects/flowchart/diamond.c:
16974         * objects/flowchart/parallelogram.c:
16975         Load and save padding too. Fixes strange load crashes.
16977 1999-10-21  Alexander Larsson  <alla@lysator.liu.se>
16979         * app/app_procs.c (name_is_lib):
16980         .dll, .sl and .so.0.0.0 are also libraries.
16982 1999-10-20  James Henstridge  <james@daa.com.au>
16984         * configure.in: added extra makefile.
16985         
16986         * shapes/Circuit_eu/*: a new set of european circuit shapes from
16987         Andreas Scherf <scherfa@fh-trier.de>.  Made a few small modifications
16988         (added fuses to makefile, fill the area of some of the components).
16990 1999-10-19  Alexander Larsson  <alla@lysator.liu.se>
16992         * lib/Makefile.am:
16993         * app/Makefile.am: 
16994         Add GDK_IMLIB_CFLAGS to includes.
16995         Changed --export-dynamic to -export-dynamic
16997         * lib/widgets.c:
16998         * objects/UML/message.c:
16999         Removed c++ comment.
17001         * lib/render_store.[ch]:
17002         Don't use empty structure. That is not Ansi C.
17004 1999-10-19  James Henstridge  <james@daa.com.au>
17006         * app/diapagelayout.c (dia_page_layout_init): use DiaUnitSpinner's for
17007         the margin entries, as they allow interpretation of units.
17008         (paper_size_change): display the current page dimensions.
17010         * app/diaunitspinner.[ch]: a widget derived from the standard
17011         GtkSpinButton that tries to take units into account.  So if you enter
17012         "1in" into the entry, it will convert it to 2.54cm.
17014 1999-10-18  Alexander Larsson  <alla@lysator.liu.se>
17016         * app/app_procs.c:
17017         Removed include of dlfcn.h
17019 1999-10-18  James Henstridge  <james@daa.com.au>
17021         * app/diapagelayout.c (paper_size_change, orient_changed): set upper
17022         bound on margin widths.  It is set to the paper width/height.
17024         * objects/flowchart/diamond.c (diamond_distance_from): fixed distance
17025         routine for the diamond.  This bug was found and fixed by Daniel Wang
17026         <danwang@CS.Princeton.EDU>
17028 Sun Oct 17 19:46:36 1999  ape@gandalf.spacetec.no  (Asbjorn Pettersen)
17030         * app/commands.c: Add <sys/types.h> before <sys/stat.h> to
17031         remove warning (OS/2 version).
17033 1999-10-17  Alexander Larsson  <alla@lysator.liu.se>
17035         * README:
17036         Put a pointer to objects/custom/README.
17037         
17038 1999-10-17  Alexander Larsson  <alla@lysator.liu.se>
17040         * dia.spec:
17041         Updated version to 0.80
17043         * configure.in:
17044         Updated version to 0.80cvs
17046 1999-04-08  Alexander Larsson  <alla@lysator.liu.se>
17048         * Released Dia 0.80
17049         Tag called DIA_0_80
17050         
17051 1999-10-17  Fredrik Hallenberg  <hallon@lysator.liu.se>
17053         * app/Makefile.am
17054         * lib/Makefile.am
17055         * objects/UML/Makefile.am
17056         * objects/ER/Makefile.am
17057         * objects/network/Makefile.am
17058         * objects/standard/Makefile.am
17059         * objects/FS/Makefile.am
17060         * objects/sybase/Makefile.am
17061         * objects/flowchart/Makefile.am
17062         * objects/custom/Makefile.am
17063         Added -I$(top_srcdir)/intl which is needed for
17064         --with-included-gettext.
17066         * POTFILES.in
17067         Updated.
17068         
17069         * po/sv.po
17070         Updated swedish translation.
17072 1999-10-16  Alexander Larsson  <alla@lysator.liu.se>
17074         * configure.in:
17075         Updated version number to 0.80.
17077         * KNOWN_BUGS:
17078         New file.
17080         * TODO:
17081         Updated. Moved bugs to KNOWN_BUGS.
17083         * NEWS:
17084         Updated with 0.80 release notes.
17085         
17086 1999-10-16  Alexander Larsson  <alla@lysator.liu.se>
17087         
17088         * lib/orth_conn.c:
17089         For backwards compatibility, make sure handle 0 and 1 are the
17090         first and last handle. Fixes compatibility with 0.41, breaks
17091         compatibility with cvs version.
17092         Fixed bug in undo/redo of adding deleting endpoint segments
17093         when the endpoint was connected.
17094         Start OrthConn objects with three segments.
17096 1999-10-16  James Henstridge  <james@daa.com.au>
17098         * objects/custom/custom_object.c (custom_update_data): changed
17099         resizing behaviour a bit so that shapes don't grow huge when you try
17100         to resize them to smaller than the size required by the text box.
17101         Also, now shapes will not grow with fixed aspect ratio when you enter
17102         text into them unless the shape has the fixed aspect ratio flag set.
17104 1999-10-15  James Henstridge  <james@daa.com.au>
17106         * objects/flowchart/flowchart.c: add new shapes to flowchart sheet.
17108         * object/flowchart/pixmaps/...: corresponding pixmaps for new shapes.
17110         * objects/flowchart/magdrum.shape: 
17111         * objects/flowchart/offlinestore.shape: 
17112         * objects/flowchart/punchedtape.shape: 
17113         * objects/flowchart/transmittape.shape: 
17114         * objects/flowchart/punchedcard.shape: new shapes.
17116         * objects/flowchart/flowchart.c: add new shapes to flowchart sheet.
17118         * object/flowchart/pixmaps/...: corresponding pixmaps for new shapes.
17120         * objects/flowchart/collate.shape:
17121         * objects/flowchart/delay.shape:
17122         * objects/flowchart/extract.shape:
17123         * objects/flowchart/intstorage.shape:
17124         * objects/flowchart/magdisk.shape:
17125         * objects/flowchart/magtape.shape:
17126         * objects/flowchart/merge.shape:
17127         * objects/flowchart/or.shape:
17128         * objects/flowchart/sort.shape:
17129         * objects/flowchart/sumjunction.shape: new shapes.
17131 1999-10-15  Alexander Larsson  <alla@lysator.liu.se>
17133         * TODO (BUGS):
17134         Added bug:
17135         Entering an erronous command as print command
17136         crashes dia.
17138         * app/paginate_psprint.c:
17139         Save all print dialog values for next time.
17140         
17141         * app/Makefile.am:
17142         Remove custom lib from DIA_LIB_PATH.
17144 1999-10-14  James Henstridge  <james@daa.com.au>
17146         * objects/flowchart/flowchart.c: add new shapes to flowchart sheet.
17148         * object/flowchart/pixmaps/...: corresponding pixmaps for new shapes.
17149         
17150         * objects/flowchart/offpageconn.shape: 
17151         * objects/flowchart/manualop.shape: 
17152         * objects/flowchart/preparation.shape: 
17153         * objects/flowchart/manualinput.shape: 
17154         * objects/flowchart/predefdproc.shape: 
17155         * objects/flowchart/terminal.shape: new shapes in the flowchart sheet.
17157 1999-10-13  James Henstridge  <james@daa.com.au>
17159         * app/diapagelayout.[ch]: added accessors to paper information.  The
17160         widget should be just about complete now.
17162         * app/diapagelayout.[ch]: fleshed out the page setup widget a bit more.
17163         It actually does something now.
17165 1999-10-12  James Henstridge  <james@daa.com.au>
17167         * app/pixmaps/portrait.xpm, app/pixmaps/landscape.xpm: support pixmaps
17168         for the page layout widget.
17170         * app/diapagelayout.[ch]: start of page layout widget.  Not actually
17171         built yet as it is not complete.
17173         * objects/flowchart/flowchart.c: added new shapes to sheet.
17175         * objects/flowchart/display.shape:
17176         * objects/flowchart/transaction.shape: new shapes.
17178         * AUTHORS: added my name to the spec file.
17180         * dia.spec: include the dia desktop entry to the spec file.
17182         * Makefile.am: install the dia.desktop file.
17184         * dia.desktop: added a gnome desktop entry so you can start dia
17185         from the gnome panel menu.
17187 1999-10-11  James Henstridge  <james@daa.com.au>
17189         * objects/custom/custom_object.c:
17190         * objects/custom/shape_info.c: warning fixes.
17192         * objects/flowchart/document.shape: a shape file for the `document'
17193         flowchart shape.
17195         * lib/custom.h: new header with the custom shape prototypes.
17197         * app/app_procs.c: register custom objects as well.
17198         (register_objects_in): close shared libraries if they don't load
17199         correctly, and call g_module_make_resident on libraries that load
17200         correctly.
17202         * app/Makefile.am (dia_LDADD): added libcustom_objects.a to link list.
17204         * objects/custom/custom.c: removed get_version, added custom_ prefix
17205         to register_objects and register_sheets.
17207         * objects/custom/Makefile.am: converted to a normal library.
17209 1999-10-10  Alexander Larsson  <alla@lysator.liu.se>
17211         * app/lineprops_area.c:
17212         * app/render_svg.c:
17213         * lib/objchange.c:
17214         * objects/custom/shape_info.c:
17215         * objects/flowchart/box.c:
17216         * objects/flowchart/diamond.c:
17217         * objects/flowchart/ellipse.c:
17218         * objects/flowchart/parallelogram.c:
17219         * objects/network/flash.c:
17220         * objects/network/scead-plug.c:
17221         * objects/sybase/client.c:
17222         Removed -Wall warnings.
17223         
17224         * objects/network/bus.c:
17225         Removed unused functions.
17227         * objects/FS/flow-ortho.c:
17228         * objects/FS/flow-poly.c:
17229         * objects/FS/flow.c:
17230         * objects/FS/function.c:
17231         
17232         Implemented "non-implemented" undo for FS objects.
17233         Now at least it won't crash.
17234         
17235 1999-10-10  Alexander Larsson  <alla@lysator.liu.se>
17237         * objects/network/bus.c:
17238         Implemented undo.
17239         Handles are now added and removed using the object menu.
17240         Default to 6 handles instead of 10.
17241         Changed name from "Standard - Bus" to "Network - Bus". Kept old
17242         name for backwards compatibility.
17244         * objects/network/network.c:
17245         Changed name from "Standard - Bus" to "Network - Bus". Kept old
17246         name for backwards compatibility.
17248         * app/properties.[ch]:
17249         * app/undo.c:
17250         Update properties in properties dialog if the shown object
17251         is part of and ObjectChange (undo or redo).
17253         * lib/poly_conn.c:
17254         Remove old known bugs list.
17256         * objects/UML/class_dialog.c:
17257         Removed debug printf's.
17259 1999-10-10  James Henstridge  <james@daa.com.au>
17261         * objects/custom/custom.c (custom_object_load): new function that
17262         provides a nice entry point to the custom shape code for when it
17263         gets used by other libraries.
17265         * configure.in: removed 11 makefiles from AC_OUTPUT list.  This
17266         speeds builds up a bit.
17268         * */Makefile.am (EXTRA_DIST): include pixmaps in distribution.
17269         (SUBDIRS): do not descend into pixmaps subdirs.
17271         * */pixmaps/Makefile.am: removed -- incorporate into parent makefiles.
17272         This speeds up build process.
17274         * objects/custom/custom.c (sheets): made variable static.
17276         * objects/custom/custom_util.[ch] (custom_get_relative_filename):
17277         renamed function.
17279         * objects/custom/load_sheet.[ch] (custom_sheet_load): renamed function.
17281         * objects/custom/custom.c: look in ~/.shapes instead of
17282         ~/.dia_shapes as the per-user shapes directory.
17284         * app/preferences.c (prefs_save): save config to ~/.diarc.
17285         (prefs_load): load configuration from ~/.diarc.  If the file
17286         does not exist, fallback on the old ~/.diarc location.
17288         * app/app_procs.c (create_user_dirs): create the ~/.dia directory
17289         on startup.
17290         (register_all_objects): look for user specific objects in
17291         ~/.objects rather than ~/.dia_libs.
17293 1999-10-10  Fredrik Hallenberg  <hallon@lysator.liu.se>
17295         * configure.in:
17296         * app_procs.c:
17297         * objects/flowchart/box.c
17298         * objects/flowchart/ellipse.c
17299         * objects/flowchart/flowchart.c 
17300         Use gmodule for dynamic linking. As gmodule is using
17301         RTLD_GLOBAL i had to change flowchart box and ellipse
17302         so the typenames doesn't conflict with the standard
17303         box and ellipse.
17305         * message.c
17306         * commands.c
17307         Use button box to make dialogs look better.
17309 1999-10-09  Alexander Larsson  <alla@lysator.liu.se>
17311         * objects/UML/class_dialog.c:
17312         * objects/UML/class.h:
17313         Implemented undo for "UML - Class" objects.
17314         Not 100% tested yet.
17316         * objects/UML/classicon.c:
17317         * objects/UML/constraint.c:
17318         * objects/UML/dependency.c:
17319         * objects/UML/generalization.c:
17320         * objects/UML/implements.c:
17321         * objects/UML/large_package.c:
17322         * objects/UML/lifeline.c:
17323         * objects/UML/message.c:
17324         * objects/UML/object.c:
17325         * objects/UML/realizes.c:
17326         * objects/UML/state.c:
17327         * objects/UML/usecase.c:
17328         Removed warnings.
17329         
17330         * lib/connectionpoint.h:
17331         Fixed typo.
17332         
17333 1999-10-09  James Henstridge  <james@daa.com.au>
17335         * objects/custom/*.[ch]: added copyright notices to custom object
17336         files.
17338         * shapes/Circuit/hdiode.shape:
17339         * shapes/Circuit/hzener.shape: 
17340         * shapes/Circuit/opamp.shape:
17341         * shapes/Circuit/vdiode.shape:
17342         * shapes/Circuit/vzener.shape: made adjustments to make the circuit
17343         shapes look nice after the custom shape code changes.
17345         * objects/custom/README: updated docs to cover changes to drawing
17346         code.
17348         * objects/custom/custom_object.c (custom_draw): honour the line
17349         properties when drawing the shape.
17351         * objects/custom/shape_info.[ch]: added support for setting line
17352         properties for individual drawing elements in a custom shape.  You
17353         can set the dash style, dash length, cap style and join style.
17355 1999-10-07  James Henstridge  <james@daa.com.au>
17357         * objects/custom/shape_info.c (parse_style): added a few extra synonyms
17358         for foreground and background.
17360         * objects/custom/custom_object.c (custom_draw): use the new style
17361         information when drawing the object.
17363         * objects/custom/shape_info.[ch]: store all shape style info in the
17364         GraphicStyle structure.  This makes adding support for extra CSS
17365         attributes easier -- we don't have to keep adding extra arguments to
17366         a lot of functions.
17368 1999-10-05  James Henstridge  <james@daa.com.au>
17370         * lib/intl.c (unalias_lang): merged in changes from the i18n code
17371         swiped from gnome-libs.
17373 1999-10-03  Alexander Larsson  <alla@lysator.liu.se>
17375         * objects/standard/image.c (get_directory):
17376         Fix memleak. Found by Kjartan Maraas <kmaraas@online.no>
17378 1999-09-28  Alexander Larsson  <alla@lysator.liu.se>
17380         * lib/poly_conn.c (polyconn_destroy):
17381         Fix bug. Access of freed memory.
17382         Rememeber, you can't free the handles of an object
17383         before calling object_destroy(), as it unconnects the handles
17384         therefore referencing them.
17386 1999-09-28  Alexander Larsson  <alla@lysator.liu.se>
17388         * app/undo.c:
17389         undo_clear() didn't set stack->depth to zero.
17390         This made other undo functions crash after this had been called
17391         on a "full" stack.
17392         
17393         * dia.xpm:
17394         Slightly modified by Chris Love <clove@exactis.com>
17396 1999-09-19  Alexander Larsson  <alla@lysator.liu.se>
17398         * objects/UML/class.h: 
17399         * objects/UML/class_dialog.c:
17400         Retrun NULL ObjectChange on class property change.
17401         This means no crashes, but "UML - Class" doesn't support undo yet.
17402         
17403 1999-09-19  Alexander Larsson  <alla@lysator.liu.se>
17404         
17405         * lib/text.c:
17406         Indentation fix.
17408         * objects/UML/classicon.c:
17409         * objects/UML/dependency.c:
17410         * objects/UML/generalization.c:
17411         * objects/UML/implements.c:
17412         * objects/UML/large_package.c:
17413         * objects/UML/lifeline.c:
17414         * objects/UML/message.c:
17415         * objects/UML/object.c:
17416         * objects/UML/realizes.c:
17417         * objects/UML/state.c:
17418         * objects/UML/usecase.c:
17419         Update to new undo (w. get/set_state).
17420         Add object menu to add/delete segments.
17422 1999-09-17  Alexander Larsson  <alla@lysator.liu.se>
17424         * app/menus.c:
17425         Add equal distance alignment.
17427         * app/object_ops.c:
17428         Add equal distance alignment.
17429         Fix bug in adjacent alignment.
17431 1999-09-16  Alexander Larsson  <alla@lysator.liu.se>
17433         * objects/UML/constraint.c: 
17434         Update to new undo (w. get/set_state).
17436 1999-09-15  Alexander Larsson  <alla@lysator.liu.se>
17438         * app/paginate_psprint.c:
17439         Save (parts, more todo) of the info in the print dialog to the
17440         next time it's opened.
17441         Patch from Yo Ric Dude <ricdude@toad.net>
17443 1999-09-14  Alexander Larsson  <alla@lysator.liu.se>
17445         * configure.in:
17446         Updated version string to 0.41cvs.
17448         * objects/UML/assocition.c:
17449         Update to new undo (w. get/set_state).
17450         Add object menu to add/delete segments.
17452         * app/app_procs.c:
17453         Added function debug_break() and called it after all
17454         objects and sheets are loaded. Place a breakpoint here if you
17455         want to debug objects. All symbols should be loaded.
17457 1999-09-12  James Henstridge  <james@daa.com.au>
17459         * app/menus.c (display_menu_items): added print menu item.
17460         (filemenu): always add print menu item -- even if gnome-print is
17461         not installed.
17463         * app/commands.h, app/commands.c (file_print_callback): the print
17464         menu item is now available for both gnome-print and non gnome-print
17465         setups.
17467         * app/paginate_psprint.c (diagram_print_ps): show a dialog to let you
17468         print with the non gnome-print driver.
17470 1999-09-11  James Henstridge  <james@daa.com.au>
17472         * app/paginate_gnomeprint.c (diagram_print_gnome): moved the gnome
17473         printer dialog code out of commands.c.
17475         * app/paginate_psprint.c: new file containing the pagination code for
17476         psprint.
17478         * app/render_eps.c: made a few modifications so as well as producing
17479         EPS files, this renderer can be set up to do postscript printing.
17480         This basically entailed adding an extra function to create a RenderEPS
17481         renderer which did not bother setting the viewport for the document.
17482         That was left for the pagination code.
17484 1999-09-10  James Henstridge  <james@daa.com.au>
17486         * app/render_gnomeprint.c (draw_ellipse, fill_ellipse): since
17487         gnome-print does not support elliptic arcs at the moment, approximate
17488         the ellipse with eight bezier curves.  This gives a pretty good
17489         match to a true ellipse.
17491 1999-09-09  James Henstridge  <james@daa.com.au>
17493         * app/commands.c (file_gnome_print_callback): added support for
17494         scaling the diagram.  Also fixed a few other bugs.
17496         * app/paginate_gnomeprint.c (print_page): added ability to scale
17497         document.  Fixed up test to see if the page has no objects on it.
17498         This should prevent some blank pages being printed.  Non square
17499         objects such as lines could still cause problems.
17501 1999-09-08  James Henstridge  <james@daa.com.au>
17503         * app/commands.c (file_gnome_print_callback): changed from using the
17504         standard printer selection dialog to one that also has a paper size
17505         selector as well.
17507         * commands.[ch]: added callbacks for the print menu item.  Currently
17508         it only does A4 output.  I will make it configurable soon.
17509         
17510         * app/menus.c: add a print diagram menu item if gnome-print support
17511         is enabled.
17512         
17513         * app/paginate_gnomeprint.c, app/paginate_gnomeprint.h: this is a
17514         bit higher level than the gnome-print renderer.  It splits the
17515         diagram into page size chunks and then renders them.  For each
17516         page, it only renders the objects whose bounding box intersects
17517         the page, and it sets the clip mask so that the diagram does not
17518         overlap the margins.
17519         
17520         * app/render_gnomeprint.c, app/render_gnomeprint.h: added a renderer
17521         that uses gnome-print as its back end.
17522         
17523         * configure.in: added a check for gnome-print.  It is disabled by
17524         default because the code is not really working correctly yet.
17526         * app/menus.c: the delete object menu item was missing from the
17527         GnomeUIInfo style menus.
17529 1999-09-07  Fredrik Hallenberg  <hallon@lysator.liu.se>
17531         * configure.in
17532         Added japanese to ALL_LINGUAS.
17533         Fix for Linux on Alpha.
17535 1999-09-07  Alexander Larsson  <alla@lysator.liu.se>
17537         * app/create_object.c (create_object_button_press):
17538         Always initialize tool->obj. Otherwise we store a null
17539         in the undo Change.
17541         * lib/text.c:
17542         Set linestyle before drawing cursor.
17543         Fix undo of backwards delete.
17545 1999-09-05  James Henstridge  <james@daa.com.au>
17547         * dia.spec: updated spec file to distribute $(prefix)/share/dia.
17549         * app/render_svg.c (draw_image): some fixes so that the appropriate
17550         style attributes are set.  Before it was setting line styles on
17551         fill_* functions.  Now it only does this for the draw_* variants.
17553         * app/Makefile.am (run_dia.sh): set the DIA_SHAPE_PATH environment
17554         variable so that custom shapes can be loaded.
17556         * shapes/: new directory for custom shapes.  The Circuit sheet has
17557         been moved here.
17559 1999-09-02  James Henstridge  <james@daa.com.au>
17561         * TODO: removed a few todo items that have been implemented.
17563         * app/interface.c (create_sheets): enabled the popup page menu to the
17564         notebook.  This can make it easier to select different sheets.
17566         * object/custom/Circuit/: added diode, zener diode, ground point and
17567         operational amplifier shapes.
17568         
17569         * objects/custom/Makefile.am: added a note about adding DEBUG_CUSTOM
17570         if you want the output.
17572         * objects/custom/shape_info.c (parse_path): same here.
17574         * objects/custom/load_sheet.c (load_with_readdir): don't print so
17575         much debugging output.  To get the previous level of output, define
17576         DEBUG_CUSTOM.
17578         * objects/custom/shape_info.c (parse_svg_node): polygons were being
17579         recorded as polylines in the ShapeInfo structure.
17581         * objects/custom/README: some notes on writing new custom shapes.
17582         
17583 1999-09-01  James Henstridge  <james@daa.com.au>
17585         * objects/custom/Circuit/hinductor.*:
17586         * objects/custom/Circuit/vinductor.*: added inductor shapes that
17587         also test out the bezier curve and SVG path support.
17588         
17589         * objects/custom/custom_object.c (custom_draw): added support for
17590         drawing bezier paths and filled shapes.
17592         * objects/custom/shape_info.c (parse_path): new function to parse
17593         SVG path elements.  It does not do quadratic beziers or elliptic
17594         arcs though.  Only moves, lines and cubic beziers.
17595         (*): added support for paths.
17597 1999-08-31  James Henstridge  <james@daa.com.au>
17599         * objects/sybase/ltm.c (render_to_store): use the newer bezier API.
17601         * app/render_svg.c (draw_bezier, fill_bezier): updated renderer
17602         interface
17604         * app/render_eps.c (draw_bezier, fill_bezier): updated renderer
17605         interface
17607         * app/render_gdk.c (draw_bezier, fill_bezier): updated renderer
17608         interface.
17610         * lib/render_store.[ch]: use newer bezier functions.
17612         * lib/render.h: changed the bezier drawing functions to use an array
17613         of BezPoint structures instead of normal Point structures to allow
17614         lineto's mixed in with the curveto's.
17615         
17616         * objects/custom/Circuit/pnp.*: added pnp transistor shape.
17617         
17618         * objects/custom/Circuit/Makefile.am (SHAPES): added index.sheet and
17619         xpm images for different shapes to Makefile.
17621         * objects/custom/custom_object.c (custom_object_new): set the icon
17622         for the sheet button if there is one.  Otherwise fall back on the
17623         default custom object icon.
17625         * objects/custom/shape_info.c (load_shape_info): read the sheet
17626         icon name from the shape file.
17628         * app/interface.c (create_sheet_page): if sheet_obj->pixmap == NULL,
17629         check the pixmap_file field for the name of a pixmap file to load
17630         for the tool.
17632         * lib/sheet.h (SheetObj): added pixmap_file field to structure.  It is
17633         at the end of the structure, and it isn't used if the pixmap field
17634         is non NULL, so it should not break binary compatibility.
17636         * objects/custom/load_sheet.[ch]: moved sheet loading code here.  Also
17637         added support for the use of an index.sheet file so you can specify
17638         the ordering of the shapes in the sheet, and also internationalise
17639         the sheet name and actually be able to give a description.  The old
17640         readdir based sheet loading code acts as a fallback if an index.sheet
17641         file can not be found.
17643         * objects/custom/custom_util.[ch]: new file containing useful routines
17644         needed by the custom object code.  Currently only contains a simple
17645         routine for resolving relative paths.
17647         * objects/custom/custom_object.c (custom_draw): fixed problem with
17648         drawing rectangles if the shape has been flipped.
17650 1999-08-30  James Henstridge  <james@daa.com.au>
17652         * objects/custom/custom_object.c (custom_get_object_menu): allow
17653         flipping of custom shapes.  This uses the miggle click object
17654         menu.
17656         * objects/custom/Circuit/npn.shape: fix aspect ratio.
17658         * objects/custom/custom_object.c (custom_update_data): honour the
17659         aspect ratio constraints.
17661         * objects/custom/shape_info.c (load_shape_info): updated aspect ratio
17662         tag parsing, so you can specify a free, fixed or a range for aspect
17663         ratios for the shape.
17665 1999-08-29  James Henstridge  <james@daa.com.au>
17667         * objects/custom/test.xml, objects/custom/Circuit/*.shape: fixed
17668         up shape namespace tag.
17670         * objects/custom/shape_info.c (load_shape_info): check xml:lang
17671         attribute on <description> elements to support i18n for custom
17672         shape descriptions.
17673         Also changed the shape namespace for custom shapes to something
17674         a little more sensible.
17676         * lib/dummy_dep.h (dummy_dep): added extra dummy dependency.
17678         * lib/intl.c: new file containing some functions for i18n stuff.
17680         * app/layer_dialog.c (create_button_box): fixed a warning.
17682         * objects/custom/custom_object.c: use current line style.  Save dash
17683         length.
17685         * objects/flowchart/diamond.c: use current line style.  Save dash
17686         length.
17688         * objects/flowchart/parallelogram.c: use current line style.  Save
17689         dash length.
17691         * objects/flowchart/ellipse.c: use current line style.  Save dash
17692         length.
17694         * objects/flowchart/box.c: use current line style.  Save dash length.
17696         * objects/standard/ellipse.c: make ellipse use current line style.
17698         * objects/standard/box.c: use the line style set in the toolbox for
17699         new boxes, and remember the dash length.
17701         * app/commands.c (view_toggle_rulers_callback): fix reshowing of
17702         rulers.
17704 1999-08-24  James Henstridge  <james@daa.com.au>
17706         * objects/flowchart/ellipse.c (ellipse_update_data): made some changes
17707         to try to stop ellipse to get infinite width/height when we resize,
17708         while trying to keep the text inside the ellipse.
17710         * objects/flowchart/box.c, objects/flowchart/parallelogram.c,
17711         * objects/flowchart/diamond.c, objects/flowchart/ellipse.c: fixed
17712         resizing behaviour, so that you can't push objects round the screen
17713         with the resize handles.
17715         * app/lineprops_area.c (dia_arrow_chooser_init, dia_line_chooser_init):
17716         get the OK buttons in the dialogs to take default clicks.
17718         * objects/custom/custom_object.c: added code so that resizing the
17719         shape does not end up pushing it round the screen.
17721 1999-08-23  Alexander Larsson  <alla@lysator.liu.se>
17723         * app/display.[ch]:
17724         Generate rectangle with the union of the damaged regions.
17725         This is used to optimize the grid paint and the object rendering.
17726         display_render_pixmap passes this info to grid_draw() and data_render().
17728         * app/grid.[ch]:
17729         grid_draw doesn't draw grid lines outside of damaged rectangle.
17730         Sets dashlength when drawing non-solid grid.
17731         
17732         * lib/diagramdata.[ch]:
17733         data_render() and layer_render() takes an optional damaged rectangle
17734         argument. No objects not intersecting this are drawn.
17736         * app/diagram.c:
17737         Fix warning.
17738         Call data_render with NULL update rectangle.
17739         
17740 1999-08-23  James Henstridge  <james@daa.com.au>
17742         * objects/custom/custom_object.c (custom_update_data): if the aspect
17743         ratio is fixed, make sure the shape is not distorted.
17745         * object/custom/shape_info.h, objects/custom/shape_info.c: notice if
17746         a <fixaspectratio/> tag is given in the shape file.
17748         * objects/custom/shape_info.[ch], objects/custom/custom_object.c:
17749         added support for stroke-width, stroke and fill CSS attributes
17750         specified in style attributes of the SVG elements.  The line width
17751         is relative to the user specified line width.  The stroke and fill
17752         attributes can only be used to swap the foreground/background
17753         colours.
17755         * lib/widgets.c (dia_line_style_selector_set_linestyle): set the
17756         sensitivity on the dash length selector when this function is called.
17758         * objects/standard/arc.c: same.  Also handle dash length.
17759         * objects/standard/zigzagline.c: same.
17760         * objects/standard/polyline.c: same.  Also handle dash length.
17761         * objects/standard/line.c: use default arrow/line styles.
17763         * app/interface.c: added callbacks to set the default attributes.
17765         * lib/attributes.c: added implementations of these functions.
17767         * lib/attributes.h: added extra prototypes for the new line properties
17768         area in the toolbox.
17770         * app/interface.c (create_lineprops_area): added line properties
17771         area to bottom of toolbox.
17773         * app/lineprops_area.h: a header exporting a few routines of the
17774         line properties area widgets.
17776         * app/lineprops_area.c: new file containing a selector for arrows
17777         and line styles to go in the main toolbox.
17779 1999-08-22  Alexander Larsson  <alla@lysator.liu.se>
17781         * HACKING:
17782         Update Gtk+ 1.0.5 comment to 1.2.0.
17784         * INSTALL:
17785         Demand libtool 1.3
17787         * acconfig.h:
17788         Add HAVE_LIBPOPT
17790         * configure.in:
17791         Make sure we don't propagate -ldl and -lpopt to all LIBS
17792         by adding new var APP_LIBS that only app/dia links with.
17793                 
17794         * app/Makefile.am:
17795         Update run_dia.sh to load custom and flowchart objects.
17797         * objects/ER/Makefile.am:
17798         * objects/FS/Makefile.am:
17799         * objects/UML/Makefile.am:
17800         * objects/network/Makefile.am:
17801         * objects/standard/Makefile.am:
17802         * objects/sybase/Makefile.am:
17803         Don't build versioned libs.     
17804         
17805 1999-08-22  James Henstridge  <james@daa.com.au>
17807         * configure.in: added objects/custom/Circuit/Makefile to AC_OUTPUT
17808         list.
17810         * objects/Makefile.am (SUBDIRS): added custom to subdir list -- it
17811         should actually work a bit now.
17813         * objects/custom/Circuit/*: a test sheet for the custom shape code.
17814         It is a small collection of circuit elements.
17816         * objects/custom/shape_info.c: fixed up loading of polylines and
17817         polygons.  Before it was removing negative signs :(
17819         * objects/custom/pixmaps/custom.xpm: drew the custom shape icon.  A
17820         placeholder was here before.  I still need to work out how to set
17821         icons for individual custom shapes.
17822         
17823         * objects/custom/custom.c: added code to load the shapes into sheets
17824         properly.  The shape files should be arranged into directories, and
17825         each directory represents a different sheet in the toolbox.  This
17826         will make it very easy to distribute a collection of dia shapes as
17827         a tarball.  I still need to work out internationalisation, and maybe
17828         also shape ordering in the sheet.
17830         * objects/custom/custom_object.c: fixed up dialogs for these objects.
17831         (custom_create): fix for objects without text areas.
17833         * objects/custom/shape_info.h, objects/custom/custom_object.c: loading
17834         and saving of custom object works correctly now.
17836 1999-08-21  James Henstridge  <james@daa.com.au>
17838         * objects/flowchart/ellipse.c: 
17839         * objects/flowchart/diamond.c: 
17840         * objects/flowchart/parallelogram.c: 
17841         * objects/flowchart/box.c: Fixed up a few bugs in these objects when
17842         copying or loading these object types.  Not all the connection
17843         points would be initialised correctly.
17845         * objects/flowchart/Makefile.am (libflowchart_objects_la_LDFLAGS):
17846         similar here.
17848         * objects/custom/Makefile.am (libcustom_objects_la_LDFLAGS): do not
17849         build a versioned library.  It will only ever be dlopen'd, so this
17850         is not a problem.
17852         * objects/custom/custom_object.c (custom_distance_from): allow
17853         selecting the object by clicking on the text.  This fixes problems
17854         where the text box is outside the graphic.
17856         * objects/custom/shape_info.c (load_shape_info): fixed up reading
17857         of connections points.  It should be possible to add connections
17858         to custom objects now.
17860         * objects/custom/custom_object.c (custom_update_data): fixed resizing
17861         due to changes to text.
17863         * configure.in: added extra makefiles.
17864         
17865         * objects/custom/shape_info.[ch]:
17866         * objects/custom/custom_object.c:
17867         * objects/custom/custom.c: the starts of custom shape support in dia.
17868         This is not built by default at the moment, since it is not quite
17869         complete.  When it is, it will let you create more shapes for dia
17870         without writing a line of C.  Its implementation includes buzzwords
17871         such as XML and SVG, so it must be good :)
17873 1999-08-19  Karsten Weiss  <karsten@addx.au.s.shuttle.de>
17875         * app/app_procs.c (app_exit): Use button labels "Quit" and
17876         "Cancel" instead of "Yes" and "No".
17877         Set default action to "Cancel" instead of "Quit".
17879 1999-08-19  James Henstridge  <james@daa.com.au>
17881         * objects/flowchart/flowchart.c: added ellipse object.
17882         
17883         * objects/flowchart/ellipse.c: a new shape for the flowchart toolbox.
17885 1999-08-18  James Henstridge  <james@daa.com.au>d
17887         * app/color_area.c (color_area_edit): small fix to prevent dia from
17888         segfaulting when you try to change the default foreground/background.
17890 1999-08-17  Alexander Larsson  <alla@lysator.liu.se>
17892         * app/diagram.[ch] (diagram_redraw_all):
17893         Added function that redraws all diagrams.
17895         * app/preferences.c (prefs_apply):
17896         Call diagram_redraw_all when prefs are changed.
17898         * app/render_svg.c:
17899         Don't use xmlEncodeEntitiesReentrant(). It doesn't exist on
17900         older libxml's, and the old version works good enought here.
17901         
17902 1999-08-17  James Henstridge  <james@daa.com.au>
17904         * lib/widgets.c: changed handlers that were connected to the GtkButton
17905         "pressed" signal to connect to the "clicked" signal.  This removes the
17906         problem where dialogs are inactive until you click a mouse button
17907         after using a colour selector.
17909         * configure.in: added extra makefiles to AC_OUTPUT list.
17910         
17911         * objects/Makefile.am (SUBDIRS): added flowchart module
17913         * objects/flowchart/*: a collection of shapes for use in flowcharts.
17915         * app/color_area.c (color_area_events): similar here.
17917         * app/linewidth_area.c (linewidth_area_events): sometimes a configure
17918         event is recieved with event->width == 0, which causes a warning if we
17919         try to create a pixmap of that width.
17921         * app/preferences.c, app/preferences.h, app/grid.c: added code to
17922         allow you to configure the colour of the grid, and also lets you
17923         set the grid to use dotted lines instead of solid ones.
17924         
17925         * app/commands.c, app/commands.h, app/diagram.c, app/diagram.h,
17926         app/menus.c, app/Makefile.am: added menu entry for exporting SVG files.
17927         
17928         * app/render_svg.h, app/render_svg.c: an SVG (Scalable Vector Graphics)
17929         export filter.  It is not quite complete, but for most shapes it
17930         works as expected.  Fonts still need a bit of work.
17932 1999-08-11  Robert Brady  <rwb197@ecs.soton.ac.uk>
17934         * configure.in: Added "en_GB" to ALL_LINGUAS.
17936 1999-08-04  Fredrik Hallenberg  <hallon@lysator.liu.se>
17938         * menus.c
17939         Added Undo and Redo to GNOME menus.
17940         
17941         * objects/ER/attribute.c:
17942         * objects/ER/entity.c:
17943         * objects/ER/participation.c:
17944         * objects/ER/relationship.c:
17945         Added get/set_state functions.
17947         * objects/ER/participation.c:
17948         Added add/delete segment.
17950         * po/sv.po
17951         Updated Swedish translation.
17953 1999-07-25  Alexander Larsson  <alla@lysator.liu.se>
17955         * app/preferences.[hc]:
17956         Added undo_depth pref.
17957         
17958         * app/undo.[ch]:
17959         Never grow stack larger than pref.undo_depth.
17960         undo_depth == 0 means unlimited.
17961         Converted printfs to conditionally compiled DEBUG_PRINTFs.
17962         
17963 1999-07-25  Alexander Larsson  <alla@lysator.liu.se>
17965         * app/diagram.c:
17966         * app/group.c:
17967         * lib/object.h:
17968         * lib/render_object.c:
17969         * objects/ER/attribute.c:
17970         * objects/ER/entity.c:
17971         * objects/ER/participation.c:
17972         * objects/ER/relationship.c:
17973         * objects/FS/flow-ortho.c:
17974         * objects/FS/flow-poly.c:
17975         * objects/FS/flow.c:
17976         * objects/FS/function.c:
17977         * objects/UML/actor.c:
17978         * objects/UML/association.c:
17979         * objects/UML/class.c:
17980         * objects/UML/classicon.c:
17981         * objects/UML/component.c:
17982         * objects/UML/constraint.c:
17983         * objects/UML/dependency.c:
17984         * objects/UML/generalization.c:
17985         * objects/UML/implements.c:
17986         * objects/UML/large_package.c:
17987         * objects/UML/lifeline.c:
17988         * objects/UML/message.c:
17989         * objects/UML/note.c:
17990         * objects/UML/object.c:
17991         * objects/UML/realizes.c:
17992         * objects/UML/small_package.c:
17993         * objects/UML/state.c:
17994         * objects/UML/usecase.c:
17995         * objects/network/bus.c:
17996         * objects/standard/arc.c:
17997         * objects/standard/box.c:
17998         * objects/standard/ellipse.c:
17999         * objects/standard/image.c:
18000         * objects/standard/line.c:
18001         * objects/standard/polyline.c:
18002         * objects/standard/textobj.c:
18003         * objects/standard/zigzagline.c:
18004         Removed all traces of is_empty(). It doesn't work in an
18005         Undo/Redo world.
18007 1999-07-25  Alexander Larsson  <alla@lysator.liu.se>
18009         * app/diagram.c:
18010         * app/group.[ch]:
18011         * app/undo.[ch]:
18012         Undoable grouping and ungrouping.
18014         * app/layer_dialog.c:
18015         * lib/diagramdata.[ch]:
18016         Undoable layer ops.
18018         * app/modify_tool.c:
18019         Undoable unconnect on handle move.
18021         * lib/orth_conn.[ch]:
18022         Working undoable add/remove segment.
18023         Removed endpoint_handles from OrthConn, renamed
18024         midpoint_handles to handles and put the endpoint
18025         handles there.
18027         * objects/standard/zigzagline.c:
18028         * objects/ER/participation.c:
18029         * objects/UML/association.c:
18030         * objects/UML/dependency.c:
18031         * objects/UML/generalization.c:
18032         * objects/UML/realizes.c:
18033         Update for the changes in OrthConn
18034         
18035 1999-07-23  Karsten Weiss  <karsten@addx.au.s.shuttle.de>
18037         * configure.in: Added "de" to ALL_LINGUAS.
18039 1999-07-17  Alexander Larsson  <alla@lysator.liu.se>
18041         * dia.1:
18042         Fixed typo.
18044         * app/display.c:
18045         * po/da.po:
18046         * po/fr.po:
18047         * po/hu.po:
18048         * po/no.po:
18049         * po/pl.po:
18050         * po/sv.po:
18051         Don't have the <Display> etc part of the menu strings
18052         i18n:ed. Patch from Fabrice.Bellet@imag.fr.
18054         * app/diagram.c:
18055         Don't have the <Display> etc part of the menu strings
18056         i18n:ed. Patch from Fabrice.Bellet@imag.fr.
18057         Don't remove is_empty() objects, that don't work with undo.
18059         * lib/objchange.[ch]:
18060         New files.
18061         Definition of ObjectChange. This is essentially an Change
18062         exported to the object libs. It encapsulates a change made
18063         to an objects internals. It can be applied, reverted and freed.
18064         There are also utility functions for doing ObjectChanges that
18065         only get/set the whole state of an object to store the change.
18066         This cannot be used when the object change deletes or adds a
18067         object which has references from other objects, eg. Handles which
18068         might be connected.
18070         * lib/Makefile.am:
18071         Added objchange.c and objchange.h.
18073         * lib/dia_image.c:
18074         Return NULL when loading fails.
18076         * lib/diamenu.h:
18077         Menu callbacks return an ObjectChange.
18079         * lib/dummy_dep.h:
18080         Reference objchange.o
18082         * lib/focus.h:
18083         Key events return ObjectChange if they modify the object.
18085         
18086         * lib/object.h:
18087         Added object_add_handle_at() function.
18088         Apply properties returns an ObjectChange.
18089         Remove ObjectState and the get/set state functions, these
18090         don't always work. Use the new ObjectChange instead.
18091         
18092         * lib/object.c:
18093         Added object_add_handle_at() function implementation.
18094         
18095         * lib/orth_conn.[ch]:
18096         Use ObjectChange. Not finished yet.
18097         Removed get/set/free state functions
18099         * lib/poly_conn.[ch]:
18100         Use ObjectChange.
18101         Don't remove segments that are small.
18102         Removed get/set/free state functions
18104         * lib/text.[ch]:
18105         Use ObjectChange.
18106         Added functions to get/set all text attributes.
18108         * objects/standard/arc.c:
18109         * objects/standard/box.c:
18110         * objects/standard/ellipse.c:
18111         * objects/standard/image.c:
18112         * objects/standard/line.c:
18113         * objects/standard/polyline.c:
18114         * objects/standard/textobj.c:
18115         * objects/standard/zigzagline.c:
18116         Use ObjectChange.
18117         fixed bug in image_set_state.
18118         zigzagline.c not finished yet.
18120         * app/disp_callbacks.c:
18121         Use ObjectChange that are returned from menu callbacks and
18122         key_events for undo.
18124         * app/properties.c:
18125         Use ObjectChange that are returned from properties apply
18126         for undo.
18128         * app/undo.c:
18129         * app/undo.h:
18130         New undo type: ObjectChangeChange. This wraps a change to the
18131         internals of an object (and ObjectChange) in code that does
18132         app specific stuff (object_add_updates etc.)
18134 1999-07-11  Alexander Larsson  <alla@lysator.liu.se>
18136         * lib/orth_conn.[ch]:
18137         Added code for add/delete segment.
18139         * objects/standard/zigzagline.c:
18140         Use the new orth_conn code.
18141         
18143 1999-07-08  Fredrik Hallenberg  <hallon@lysator.liu.se>
18145         * objects/FS/Makefile.am
18146         Removed fs.h from sources.
18148         * Makefile.am
18149         * dia.1
18150         Added man page.
18152 1999-07-07  Alexander Larsson  <alla@lysator.liu.se>
18154         * app/disp_callbacks.c (ddisplay_canvas_events):
18155         Fix for bug. Every other arrow-key press got lost.
18156         patch from Mr. Data Esq. <data@r47h102.res.gatech.edu>
18158         * INSTALL:
18159         change automake.sh to autogen.sh
18160         
18161 1999-06-24  Alexander Larsson  <alla@lysator.liu.se>
18163         * app/diagram.c:
18164         Don't remove 'empty' objects.
18165         This violent destruction of objects won't work
18166         with the new undo framework.
18168         * app/disp_callbacks.c:
18169         Save undo info for object menu calls and key_events.
18171         * app/properties.c:
18172         Save undo info on properties apply.
18174         * lib/dia_image.[ch]:
18175         Add refcounting for images.
18177         * app/render_eps.c:
18178         * app/render_gdk.c:
18179         * lib/render.h:
18180         DiaImage * -> DiaImage
18182         * app/undo.[ch]:
18183         Add undo functions for object state changes.
18185         * lib/focus.h:
18186         * lib/text.c:
18187         change of semntics for focus->key_event.
18188         Now returns TRUE if the object recieving the event
18189         was changed.
18191         * lib/object.h:
18192         Comment changes.
18194         * lib/orth_conn.[ch]:
18195         Don't automatically create and delete segments when
18196         handles are moved. This is incompatible with undo.
18197         Added state get, set and free functions.
18199         * lib/orth_conn.[ch]:
18200         Added state get, set and free functions.
18202         * objects/UML/object.c:
18203         * objects/UML/uml.c:
18204         Fixed typo "UML - Objet" -> "UML - Object".
18205         Saved old for backwards compatibility.
18207         * objects/standard/arc.c:
18208         * objects/standard/box.c:
18209         * objects/standard/ellipse.c:
18210         * objects/standard/image.c:
18211         * objects/standard/line.c:
18212         * objects/standard/polyline.c:
18213         * objects/standard/textobj.c:
18214         * objects/standard/zigzagline.c:
18215         Added get/set state functions.
18216         Textobj has a redo crash-bug.
18217         Zigzagline needs object menus to add segments.
18218         
18220 1999-06-20  Alexander Larsson  <alla@lysator.liu.se>
18222         * app/render_eps.c (set_dashlength):
18223         Don't generate eps files with zero dash-length.
18225 1999-06-16  Alexander Larsson  <alla@lysator.liu.se>
18227         * app/commands.c:
18228         * app/create_object.c:
18229         * app/undo.[ch]:
18230         Finished undo for create and paste.
18231         
18232         * lib/object.h:
18233         Started properties undo.
18235 1999-06-14  Alexander Larsson  <alla@lysator.liu.se>
18237         * TODO:
18238         Added resizeable groups.
18240         * app/app_procs.c:
18241         Removed unused variable.
18243         * app/commands.c:
18244         * app/undo.[ch]:
18245         Undo/redo for cut/delete done.
18247         * app/create_object.c:
18248         * app/modify_tool.c:
18249         * lib/diagramdata.[ch]:
18250         * app/diagram.[ch]:
18251         renamed diagram_add_selected -> diagram_select
18252         renamed diagram_remove_selected -> diagram_unselect
18253         
18254         * app/properties.[ch]:
18255         Added properties_hide_if_shown() function.
18257 1999-06-13  Alexander Larsson  <alla@lysator.liu.se>
18259         * app/undo.[ch]:
18260         * app/Makefile.am:
18261         Undo functions.
18262         
18263         * app/commands.[ch]
18264         * app/modify_tool.[ch]
18265         * app/object_ops.[ch]
18266         * app/connectionpoint_ops.c
18267         * app/menus.c
18268         Use undo functions.
18269         WARNING: Not finished. Will break.
18270         Finished: move object, move handle.
18272         * app/diagram.[ch]
18273         Added diagram_selected_break_external() function.
18274         It removes all connections between selected objects
18275         and non-selected.
18276         Add undo stack to Diagram.
18277         
18278         * lib/diagramdata.[ch]
18279         Added layer_remove_objects() function
18280         
18281 1999-06-11  Fredrik Hallenberg  <hallon@lysator.liu.se>
18283         * objects/FS/Makefile.am
18284         * objects/sybase/Makefile.am
18285         Now uses GNOME_CFLAGS.
18287         * app/app_procs.c
18288         Now compiles with GNOME even if popt.h isn't available.
18290 1999-06-10  Alexander Larsson  <alla@lysator.liu.se>
18292         * configure.in
18293         * objects/Makefile.am
18294         * objects/sybase/*
18295         First version of sybase objects from
18296         Brian Bruns <camber@umcc.ais.org>
18298 1999-06-10  Fredrik Hallenberg  <hallon@lysator.liu.se>
18300         * configure.in
18301         Added fr to ALL_LINGUAS
18303 1999-06-09  Fredrik Hallenberg  <hallon@lysator.liu.se>
18305         * configure.in
18306         * app/app_procs.c
18307         Popt-code is activated if popt is available.
18309 1999-06-08  Alexander Larsson  <alla@lysator.liu.se>
18311         This is a patch from David Thompson <dcthomp@mail.utexas.edu>
18312         
18313         * lib/orth_conn.[ch]:
18314         Added orthconn_get_middle_handle()
18316         * lib/text.[ch]:
18317         Added text_set_cursor_at_end()
18318         
18319         * objects/FS/*
18320         Added first version of functions structure diagrams.
18321         
18322 1999-05-24  Alexander Larsson  <alla@lysator.liu.se>
18324         * app/modify_tool.c:
18325         Include math.h to remove warning.
18327         * app/commands.c (dialogs_properties_callback):
18328         Bring up correct properties dialog when selected
18329         from menu.
18330         From Dan Cohn <dan@internap.com>
18332 1999-05-20  Alexander Larsson  <alla@lysator.liu.se>
18334         Patch from Lars R. Clausen 
18335         
18336         * app/modify_tool.c:
18337         Changed abs to fabs.
18339 1999-05-19  Alexander Larsson  <alla@lysator.liu.se>
18341         * INSTALL: 
18342         * configure.in:
18343         Require Gtk+ 1.2.0
18345 1999-05-18  Alexander Larsson  <alla@lysator.liu.se>
18347         Patches from Dan Cohn <dan@internap.com>
18348         
18349         * app/commands.[ch]: 
18350         * app/display.[ch]: 
18351         * app/menus.c:
18352         * app/preferences.[ch]:
18353         Implements ability to turn on/off connection points in
18354         current drawing and in global prefs.
18356 1999-05-18  Alexander Larsson  <alla@lysator.liu.se>
18358         * lib/widgets.c (dia_line_style_selector_init): 
18359         Fixed warnings.
18360         
18361         * lib/diagramdata.c (layer_update_extents):
18362         Fixed uninitialized variable error.
18364 1999-05-17  Alexander Larsson  <alla@lysator.liu.se>
18366         * lib/dia_image.c:
18367         Made some changes to the gdk_imlib visual+colormap setup.
18369 1999-05-17  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
18371         * objects/UML/usecase.c: 
18372        * objects/UML/lifeline.c
18373         Fine tunning.
18375         * objects/UML/object.c: 
18376         * objects/UML/message.c: 
18377         Changed font from Courier to Helvetica.
18379         * lib/widgets.c: 
18380         * lib/widgets.h:
18381         Added dash lenth to the LineStyle widget.
18382         
18383         * objects/standard/ellipse.c :
18384         * objects/standard/zigzagline.c: 
18385         * objects/standard/line.c: 
18386         Added dash lenght property.
18388 1999-05-16  Alexander Larsson  <alla@lysator.liu.se>
18390         * app/render_eps.c:
18391         First shot at latin1 encoded eps files.
18392         Works, but the eps files get a bit large.
18393         
18394 1999-05-16  Alexander Larsson  <alla@lysator.liu.se>
18396         * objects/UML/class.[ch]: 
18397         * objects/UML/uml.[ch]:
18398         Reverted the line wrap changes.
18399         Some day this might return, but it has to be selectable and
18400         default to off for loaded objects, otherwise it breaks file
18401         format compatibility.
18402         There was also some complains about how it looked, so a making it
18403         selectable is good for this too.
18405 1999-05-15  Alexander Larsson  <alla@lysator.liu.se>
18407         * objects/UML/class.[ch]:
18408         Some indentation cleanup.
18409         Added wrap_lines variable to class.
18410         I'll fix the line break stuff tomorrow.
18412 1999-05-13  Alexander Larsson  <alla@lysator.liu.se>
18414         * lib/dummy_dep.h:
18415         Added ref to poly_conn.o.
18417         * objects/standard/polyline.c (polyline_draw): 
18418         * objects/standard/zigzagline.c (zigzagline_draw): 
18419         * objects/standard/arc.c (arc_draw): 
18420         * objects/standard/line.c (line_draw):
18421         Draw lines before arrows. This makes hollow arrows not
18422         show the line.
18424 1999-05-13  Alexander Larsson  <alla@lysator.liu.se>
18426         Changes from Kim Peasley <kpeasley@ior.com> 
18427                 
18428         * objects/UML/class.c:
18429         Break lines with long operations so classes won't be
18430         so wide.
18432         * objects/UML/uml.[ch]:
18433         Helperfunctions for the above.
18434         
18435         * objects/UML/objects.c:
18436         Fix bug that duplicated the text in the attributes
18437         textwidget each time the object was selected.
18438         
18439 1999-05-12  Alexander Larsson  <alla@lysator.liu.se>
18441         Changes from Lars R. Clausen <lrclause@cs.uiuc.edu>
18442         
18443         * app/modify_tool.c:
18444         * app/modify_tool.h:
18445         Control-drag is restricted to vertical/horizontal movement
18446         
18447         * lib/object.h:
18448         ModifierKeys argument added to object_move_handle
18450         * app/connectionpoint_ops.c:
18451         * app/create_object.c:
18452         * app/object_ops.c:
18453         * objects/ER/attribute.c:
18454         * objects/ER/entity.c:
18455         * objects/ER/participation.c:
18456         * objects/ER/relationship.c:
18457         * objects/UML/actor.c:
18458         * objects/UML/association.c:
18459         * objects/UML/class.c:
18460         * objects/UML/classicon.c:
18461         * objects/UML/component.c:
18462         * objects/UML/constraint.c:
18463         * objects/UML/dependency.c:
18464         * objects/UML/generalization.c:
18465         * objects/UML/implements.c:
18466         * objects/UML/large_package.c:
18467         * objects/UML/lifeline.c:
18468         * objects/UML/message.c:
18469         * objects/UML/note.c:
18470         * objects/UML/object.c:
18471         * objects/UML/realizes.c:
18472         * objects/UML/small_package.c:
18473         * objects/UML/state.c:
18474         * objects/UML/usecase.c:
18475         * objects/network/bus.c:
18476         * objects/standard/arc.c:
18477         * objects/standard/box.c:
18478         * objects/standard/ellipse.c:
18479         * objects/standard/image.c:
18480         * objects/standard/line.c:
18481         * objects/standard/polyline.c:
18482         * objects/standard/textobj.c:
18483         * objects/standard/zigzagline.c:
18484         Changed calls to move_handle to pass the new argument.
18485         
18486         * lib/widgets.c:
18487         * lib/widgets.h:
18488         Default line width, color etc #define'd
18489         
18490         * po/da.po:
18491         Updates of danish menus
18493 1999-05-08  Fredrik Hallenberg  <hallon@lysator.liu.se>
18495         * dia.xpm
18496         * dia_gnome_icon.png
18497         * dia_gnome_menu_icon.png
18498         * dia_logo.png
18499         Graphics by Toussaint Frédéric <ftoussin@club-internet.fr>.
18501         * app/commands.c
18502         About dialog shows dia_logo.png. Removed the GNOME about dialog.
18504         * Makefile.am
18505         Distribute the icons and install logo in pkgdatadir.
18506         
18507         * app/Makefile.am
18508         Added DATADIR-define.
18509         
18510 1999-04-28  Alexander Larsson  <alla@lysator.liu.se>
18511         Patches from Enrico Scholz <enrico.scholz@wirtschaft.tu-chemnitz.de>
18513         * dia.spec:
18514         Updated version number, made setup quiet, can build from cvs,
18515         --enable-gnome, now using automake 1.4 DESTDIR feature, install-strip
18517         * lib/Makefile.am
18518         * objects/ER/Makefile.am
18519         * objects/UML/Makefile.am
18520         * objects/network/Makefile.am
18521         * objects/standard/Makefile.am
18522         now builds better with gnome
18524         * objects/UML/class_dialog.c
18525         Fixed typo -> po files must be updated too!!
18526         
18527 1999-04-28  Alexander Larsson  <alla@lysator.liu.se>
18529         * lib/dummy_dep.h:
18530         Added reference so that widgets.o gets linked to the app.
18532 1999-04-23  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
18534         * objects/UML/classicon.c: 
18535         Added object mode.
18537         * objects/UML/actor.c: 
18538         Changed position of 'snap-to-grid' so connection points are
18539         in the grid.
18541 1999-04-22  Alexander Larsson  <alla@lysator.liu.se>
18543         * objects/UML/classicon.c:
18544         Changed position of 'snap-to-grid'.
18545         By Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
18546         
18547 1999-04-22  Alexander Larsson  <alla@lysator.liu.se>
18549         * objects/network/antenna.c
18550         * objects/network/flash.c
18551         * objects/network/hub.c
18552         * objects/network/modem.c
18553         * objects/network/modularswitch.c
18554         * objects/network/rj45plug.c
18555         * objects/network/scead-plug.c
18556         * objects/network/network.c
18557         * objects/network/Makefile.am
18558         * objects/network/pixmaps/antenna.xpm
18559         * objects/network/pixmaps/flash.xpm
18560         * objects/network/pixmaps/hub.xpm
18561         * objects/network/pixmaps/modem.xpm
18562         * objects/network/pixmaps/modularswitch.xpm
18563         * objects/network/pixmaps/rj45plug.xpm
18564         * objects/network/pixmaps/sceadplug.xpm
18565         * objects/network/pixmaps/Makefile.am
18566         Lots of new network objects from
18567         Roland Steinbach <roland@support-system.com>.
18569 1999-04-15  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
18571         * objects/UML/classicon.c: 
18572         Fixed connection positions, saved type as int (it has 3 states),
18573         and other small fixes.
18574         
18575 1999-04-14  Alexander Larsson  <alla@lysator.liu.se>
18577         * app/preferences.c:
18578         * app/load_save.c:
18579         Added preference compress_save. It lets dia save uncompressed
18580         xml files.
18582         * objects/UML/class.c:
18583         Fixed bug with size calculation on methods that had class scope.
18584         
18585 1999-04-13  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
18587         * objects/UML/usecase.c: 
18588         Added collaboration mode
18589         Fixed connection points with text > ellipse bug and other 
18590         small things
18592         * objects/UML/state.c:
18593         Fixed bug of bad position of text after being either end
18594         or begin, moved and returned to text
18596 1999-04-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
18598         * app/preferences.c: Add prototype declaration for prefs_apply.
18600 1999-04-11  Alexander Larsson  <alla@lysator.liu.se>
18602         * app/preferences.c:
18603         Added 'ok' button.
18604         Apply don't hide window.
18606         * app/properties.c:
18607         Add 'ok' button.
18609         * objects/UML/object.c:
18610         * objdcts/UML/state.c:
18611         Some data was not copied on copy.
18613         This patch is from
18614         Ben Hochstedler <benh@eeyore.moneng.mei.com>
18616 1999-04-09  Alexander Larsson  <alla@lysator.liu.se>
18618         * app/Makefile.am:
18619         Changed link order between X and libxml.
18620         Some people had problems with an old libz in their
18621         x11 directory.  
18623 1999-04-09  Kjartan Maraas  <kmaraas@online.no>
18625         * po/no.po: updated translation.
18626         
18627 1999-04-08  Lars R. Clausen <lrclause@cs.uiuc.edu>
18629         * lib/message.c (message_error):
18630         Fixed small error.
18632         * app/commands.[ch]:
18633         * app/diagram.[ch]:
18634         Added begining of xfig importing
18636 1999-04-08  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
18638         * objects/UML/pixmaps/state.xpm: 
18639         * objects/UML/state.c: 
18640         New UML object state machine.
18642         * objects/UML/uml.c:
18643         * objects/UML/Makefile.am:
18644         * objects/UML/pixmaps/Makefile.am:
18645         Added the state object.
18646         
18647 1999-04-08  Alejandro Aguilar Sierra  <ale@bucefalo>
18649         * objects/UML/usecase.c: 
18650         Added dialog to allow move text outside the ellipse.
18652 1999-04-08  Alexander Larsson  <alla@lysator.liu.se>
18654         * Released Dia 0.41
18655         Tag called DIA_0_41
18657         * NEWS:
18658         Updates for 0.41.
18659         
18660 1999-04-08  Alexander Larsson  <alla@lysator.liu.se>
18662         * configure.in:
18663         Updated version number to 0.41
18665         * po/*.po:
18666         Update po-files
18668 1999-04-04  Fredrik Hallenberg  <hallon@lysator.liu.se>
18670         * app/app_procs.c
18671         Changed errormessage for --export-to-ps. Removed call to 
18672         g_log_set_always_fatal().
18674         * app/diagram.c
18675         * app/disp_callbacks.c
18676         * app/load_save.c
18677         (i18n) Removed gettext from some debugmessages.
18679         * app/menus.c
18680         Small fix in GNOME-menus. Added warning that will help track
18681         problems with translations.
18683         * po/sv.po
18684         (i18n) Updated swedish translation.
18686 1999-04-02  Alexander Larsson  <alla@lysator.liu.se>
18688         * po/da.po:
18689         New updates
18691 1999-04-01  Alexander Larsson  <alla@lysator.liu.se>
18693         * po/da.po:
18694         * po/no.po:
18695         Some fixes.
18696         
18697 1999-04-01  Alexander Larsson  <alla@lysator.liu.se>
18699         * po/da.po:
18700         (i18n) Updated the danish translation.
18701         From Lars R. Clausen.
18703 1999-04-01  Fredrik Hallenberg  <hallon@lysator.liu.se>
18705         * app/menus.c
18706         (i18n) The popup menu is translated now.
18708         * po/sv.po
18709         (i18n) Updated swedish translation.
18711 1999-03-29  Alexander Larsson  <alla@lysator.liu.se>
18713         * Released Dia 0.40
18714         Tag called DIA_0_40
18716         * NEWS:
18717         Updated for new release
18718         
18719 1999-03-29  Alexander Larsson  <alla@lysator.liu.se>
18721         * objects/network/bus.c:
18722         Added initialization of properties dialog to NULL.
18724         * app/commands.c (edit_cut_callback):
18725         Update menu sensitivity when cut object.
18727         * app/modify_tool.c (click_select_object):
18728         * app/modify_tool.c (modify_button_release): 
18729         Call diagram_update_menu_sensitivity() when
18730         selecting objects to update stuff that depends
18731         on selected/not selected.
18733 1999-03-29  Alexander Larsson  <alla@lysator.liu.se>
18735         * Makefile.am:
18736         Change order of subdir so that libintl.a builds.
18737         Now passed make distcheck.
18739 1999-03-28  Alexander Larsson  <alla@lysator.liu.se>
18741         * lib/font.c (init_x11_font):
18742         Stupid bug fixed.
18744 1999-03-28  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
18746         * objects/UML/pixmaps/classicon.xpm: 
18747         * objects/UML/classicon.c:
18748         * objects/UML/uml.c:
18749         Added the class stereotype icon objects.
18751         * app/commands.c:
18752         Changed default ps extension from .ps to .eps.
18753         
18754 1999-03-28  Alexander Larsson  <alla@lysator.liu.se>
18756         * lib/Makefile.am:
18757         Added diamenu.h and intl.h
18759         * lib/font.c:
18760         Stupid typo fix.
18761         
18762         * objects/UML/pixmaps/Makefile.am:
18763         Added message.xpm
18765         * objects/standard/pixmaps/Makefile.am:
18766         Added image.xpm
18768 1999-03-28  Alexander Larsson  <alla@lysator.liu.se>
18770         * lib/font.c:
18771         Use a scalable font before fixed when real font not found.
18773         * app/commands.c:
18774         Removed warning.
18776         * objects/standard/image.c:
18777         Better handling of loading/saving of images.
18779         * INSTALL:
18780         Added some text about cvs, fonts and rewrote some parts.
18782         * TODO:
18783         Updated with new stuff.
18784         
18785         * configure.in:
18786         Bump up version number to 0.40.
18787         
18788 1999-03-28  Alexander Larsson  <alla@lysator.liu.se>
18790         * app/display.c:
18791         Moved diagram_add_ddisplay() call into new_display().
18792         Fixed new_display to not use uninitialized variables
18793         causing loaded files to show up as black (or garbage).
18794         
18795         * app/commands.c:
18796         * app/app_procs.c:
18797         Removed unneeded calls to diagram_add_ddisplay().
18798         
18799 1999-03-28  Alexander Larsson  <alla@lysator.liu.se>
18801         * objects/UML/lifeline.c:
18802         Fixed bug in copy.
18803         Patch from Andreas Jaeger <aj@arthur.rhein-neckar.de>.
18805         * objects/UML/message.c:
18806         Fixed bug loading messages with null-text.
18807         Patch from Andreas Jaeger <aj@arthur.rhein-neckar.de>.
18809 1999-03-27  Fredrik Hallenberg  <hallon@lysator.liu.se>
18811         * po/sv.po
18812         Updated swedish translation.
18814         * app/menus.c
18815         (GNOME) Removed help-browser from help menu. Fixed typo.
18817         * app/interface.c
18818         (GNOME) Accelerators in diagrams should work now. 
18820 1999-03-25  Fredrik Hallenberg  <hallon@lysator.liu.se>
18822         * app/app_procs.c
18823         * app/commands.c
18824         * app/defaults.c
18825         * app/disp_callbacks.c
18826         * app/display.c
18827         * app/interface.c
18828         * app/menus.c
18829         * app/preferences.c
18830         * app/render_eps.c
18831         * lib/diagramdata.c
18832         * lib/font.c
18833         * lib/message.c
18834         * lib/widgets.c
18835         * objects/ER/*.c
18836         * objects/UML/*.c
18837         * objects/network/*.c
18838         * objects/standard/*.c
18839         * po/update_pofiles_in.sh
18840         * po/POFILES.in
18841         More i18n. All strings (expect rare debug messages) can be
18842         translated now. Moved intl.h from app to lib. Updated
18843         update_pofiles_in.sh to check all .c-files.
18845 1999-03-23  Alexander Larsson  <alla@lysator.liu.se>
18847         * app/disp_callbacks.c (ddisplay_canvas_events):
18848         Don't drop keys while num-lock, scroll-lock etc is on.
18850 1999-03-22  Alexander Larsson  <alla@lysator.liu.se>
18852         * app/render_eps.c (draw_image):
18853         Fixed exporting of images.
18854         Still not perfect, but not outright buggy.
18855         
18856 1999-03-22  Alexander Larsson  <alla@lysator.liu.se>
18858         * configure.in:
18859         * po/hu.po:
18860         Added hungarian translation. By Shooby Ban <bansz@szif.hu>.
18862         * app/Makefile.am:
18863         Added $* to the dia call in run_dia.sh
18865 1999-03-22  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
18866         
18867         * lib/color.[ch]:
18868         Added color_equals() call.
18870         * objects/standard/arc.c:
18871         * objects/standard/line.c:
18872         Don't save unneccesary data.
18873         
18874         * objects/standard/box.c:
18875         * objects/standard/ellipse.c:
18876         * objects/standard/image.c:
18877         * objects/standard/polyline.c:
18878         * objects/standard/zigzagline.c:
18879         Share properties dialog.
18880         Don't save unneccesary data.
18881         
18882 1999-03-22  Seth Alves  <alves@hungry.com>
18884         * app/menus.c:
18885         * app/diagram.c:
18886         * app/display.c:
18887         small changes so that gnome menus aren't broken
18888         
18889 1999-03-22  Alexander Larsson  <alla@lysator.liu.se>
18891         * po/da.po:
18892         Added danish translation from lrclause@cs.uiuc.edu.
18894         * po/POFILES.in:
18895         Updated file.
18897         * po/update_pofiles_in.sh:
18898         Added script that updates POFILES.in.
18899         This should probably be run automatically from somewhere.
18901 1999-03-19  Alexander Larsson  <alla@lysator.liu.se>
18903         * app/diagram.[ch]:
18904         Added function diagram_update_menu_sensitivity() which
18905         sets the sensitivity of some menu items. This function
18906         is called at each diagram state change (from diagram_modified()).
18907         This is needed  because otherwise the keyboard accelerators
18908         don't work correctly.
18910         * app/display.[ch]:
18911         Changed display_set_menu_sensitivity() to display_update_menu_state().
18912         Moved lots of code to diagram_update_menu_sensitivity() in
18913         diagram.c. Optimized to only look up menu-items from path:s once.
18914         
18915         * app/disp_callbacks.c:
18916         * app/interface.c:
18917         When we get a GDK_FOCUS_CHANGE, update menu sensitivity.
18918         Need to set GDK_FOCUS_CHANGE_MASK.
18919         
18920         * app/create_object.c:
18921         Call diagram_modified when an object has been created and
18922         selected so that the menu sensitivity is updated. 
18924         * app/menus.[ch]:
18925         removed menus_set_sensitive() and menus_set_state(). Exported
18926         renamed function menus_get_item_from_path().
18928 1999-03-15  Alexander Larsson  <alla@lysator.liu.se>
18930         * app/disp_callbacks.c:
18931         Show (empty) object menus on object that has none.
18932         Show title on object menus.
18934         * app/display.c:
18935         Set zoom factor correctly when opening new displays.
18936         Better setting of scrollbars.
18938         * app/grid.c:
18939         * app/menus.h:
18940         Some reformating cleanup.
18942         * lib/diamenu.h:
18943         Added title to object menus.
18945         * objects/*/*.c:
18946         Added object menu method (NULL-valued) to all objects.
18948         * objects/standard/polyline.c:
18949         Added title to object menu.
18951 1999-03-14  Alexander Larsson  <alla@lysator.liu.se>
18953         * app/preferences.[ch]:
18954         New files. Implements the preferences dialog and
18955         loading/saving of ~/.diarc.
18957         * app/Makefile.am:
18958         Added preferences.[ch].
18960         * app/app_procs.c:
18961         Load preferences on startup.
18963         * app/commands.[ch]:
18964         Added file_preferences_callback to show the preferences dialog.
18966         * app/create_object.c:
18967         Update extents when creating object.
18968         Use the reset_tools_after_create preferences setting.
18970         * app/display.c:
18971         Use preferences when creating new display.
18973         * app/menus.c:
18974         Add preferences to menu.
18976         * app/defaults.c:
18977         * app/layer_dialog.c:
18978         * app/properties.c:
18979         Don't allow shrinking of dialog.
18980         Add i18n of some strings.
18982 1999-03-11  Kjartan Maraas  <kmaraas@fib.hl.no>
18983         * po/no.po:
18984         Norwegian translation added.
18985         
18986 1999-03-11  Alexander Larsson  <alla@lysator.liu.se>
18988         * objects/standard/line.c: 
18989         * objects/standard/arc.c: 
18990         * objects/standard/polyline.c: 
18991         * objects/standard/zigzagline.c:
18992         Loading of arrow data fixed.
18994 1999-03-09  Alexander Larsson  <alla@lysator.liu.se>
18996         * app/commands.c:
18997         Update extents when saving and exporting to postscript.
18998         Fixes a bug with postscript bounding-box being wrong.
19000         * app/defaults.c:
19001         Changed border width from 5 to 2.
19003         * app/group.c:
19004         Move grouped objects by the move-point of the first object.
19005         Fixes bug that made all objects in the group be off-grid
19006         when moving the group, even though all objects was on-grid.
19008         * app/layer_dialog.c:
19009         Update extents when changing layer.
19011 1999-03-08  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
19013        * objects/UML/uml.c: 
19014        * objects/UML/component.c: 
19015        * objects/UML/pixmaps/component.xpm: 
19016        Added the UML component object
19017         
19018 1999-03-04  Seth Alves  <alves@hungry.com>
19020         * objects/UML/generalization.c (generalization_create): avoid
19021         math on uninitialized genlz->text_width (NaN causes sigfpe)
19022         
19023         * objects/UML/realizes.c (realizes_create): same
19025         * objects/UML/dependency.c (dependency_create): same
19027 1999-03-01  Seth Alves  <alves@hungry.com>
19029         * app/display.c (ddisplay_active): don't fly a warning panel
19030         if ddisplay_active is called when no views are open.
19032         * app/commands.c (set_default_file_selection_directory): set
19033         file selector's default directory if there is already
19034         a document open.
19036 1999-02-28  Alexander Larsson  <alla@lysator.liu.se>
19038         * INSTALL:
19039         New info about imlib requirements.
19041         * Configure.in:
19042         Added lib/pixmaps/Makefile to created makefiles.
19044         * app/app_procs.c:
19045         * app/commands.c:
19046         Change from obsoleted to newer gtk calls.
19047         
19048         * load_save.c:
19049         Pass filename of the diagram when loading and saving.
19050         This creates better oportunities to handle filename saving.
19052         * lib/object.h:
19053         Pass filenames to load and save methods.
19054         
19055         * lib/dia_image.[ch]:
19056         Added dia_image_get_broken() call that returns a image which
19057         is used for 'broken' images.
19058         
19059         * lib/pixmaps/.cvsignore:
19060         * lib/pixmaps/Makefile.am:
19061         * lib/pixmaps/broken.xpm:
19062         New files for the broken image bitmap.
19064         * lib/widgets.c:
19065         Fixed bug with double destroyed filedialog.
19067         * objects/*/*.c:
19068         Updated load and save prototypes to use the new filename argument.
19070         * objects/image.c:
19071         Render broken image instead of line when got no image.
19072         Use the new filename in load and save to save (if possible)
19073         relative pathnames and to better try to find loaded images.
19075 1999-02-28  Alexander Larsson  <alla@lysator.liu.se>
19077         * TODO:
19078         Some updates to the todo file.
19079         
19080         * app/menus.c:
19081         * app/display.c:
19082         Place over/place over => sent to back/bring to front.
19083         Added some keyboard shortcuts to menus.
19084         
19085 1999-02-28  Alexander Larsson  <alla@lysator.liu.se>
19087         * lib/dia_xml.c:
19088         Changed string saving/loading to a new method. This should
19089         be much better att handling &,<,> and whitespaces.
19090         Loading strings of the old kind is still supported for backwards
19091         compatibility.
19093         * samples/ER-demo.dia:
19094         * samples/UML-demo.dia:
19095         Updated to use the new strings.
19096         
19097         * app/load_save.c:
19098         statusbar modified update fix.
19100 1999-02-27  Seth Alves  <alves@hungry.com>
19102         * app/app_procs.c (app_init): added a --export-to-ps option
19103         which will cause dia to load a dia file and save it as ps
19104         and then exit.  this is a little bogus, because it still
19105         pops up a window.  this option only shows up if --enable-gnome
19106         is used
19108         * app/display.c (display_set_menu_sensitivity): no Edit/Delete
19109         menu when built with --enable-gnome
19111         * app/interface.c (create_display_shell): build status bar
19112         even if --enable-gnome is used
19114         * app/menus.c: menu fixes for --enable-gnome
19116         * app/commands.c (file_open_dialog_ok_callback): fixed up
19117         menus when --enable-gnome is used
19118         (file_export_to_eps_callback): set a default file name
19119         when dialog is created
19121 1999-02-27  Alexander Larsson  <alex@c125.ryd.student.liu.se>
19123         * objects/UML/association.c (association_create):
19124         Fixed usage of not initialized variable.
19125         Pointed out by Seth Alves <alves@hungry.com>.
19127 1999-02-24  Alexander Larsson  <alex@c125.ryd.student.liu.se>
19129         * configure.in:
19130         Fixed detection of gnome-xml.
19131         From Valtteri Vuorikoski <vuori@k.notcom.org>.
19132         
19133         * app/app_procs.c:
19134         Fixed error detection on dlsym calls. 
19135         From Valtteri Vuorikoski <vuori@k.notcom.org>.
19137 1999-02-23  Alexander Larsson  <alla@lysator.liu.se>
19139         * objects/UML/message.c (fill_in_dialog):
19140         Fixed warnings.
19142 1999-02-22  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
19144         * objects/standard/zigzagline.c:
19145         * objects/standard/polyline.c:
19146         * objects/standard/line.c:
19147         * objects/standard/arc.c:
19148         * lib/widgets.h:
19149         * lib/arrows.h:
19150         * lib/widgets.c:
19151         Support for sizeable arrows. 
19153         * objects/standard/box.c:
19154         * objects/standard/ellipse.c:
19155         * objects/standard/image.c:
19156         Changed creation handle to lower-right.
19157         Transparent box/ellipse.
19158         
19159         * objects/standard/image.c:
19160         Better layout of properties boxes.
19162 1999-02-20  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
19164         * objects/UML/message.c (fill_in_dialog): 
19165         Fixed dialog fill in. Common dialog for all messages.
19167         * objects/UML/object.c: 
19168         Added multiple instance. Dialog related bugs fixed.
19169         Common dialog for all instances. Completed copy and destroy.
19171         * objects/UML/lifeline.c (lifeline_load): 
19172         Conn initialization bug fixed and few bad loading prevention flags.
19173         Common dialog for all lifeline objects.
19174         
19175 1999-02-15  Alexander Larsson  <alla@lysator.liu.se>
19177         * lib/dia_image.[ch]:
19178         More work on the DiaImage abstraction.
19179         
19180         * app/app_procs.c:
19181         * app/render_eps.c:
19182         * app/render_gdk.c:
19183         * objects/standard/image.c:
19184         Use the new DiaImage calls.
19186 1999-02-15  Alexander Larsson  <alla@lysator.liu.se>
19188         * app/menus.c:
19189         * app/display.c:
19190         Reversed the meaning of align horizontal/vertical.
19192 1999-02-15  Alexander Larsson  <alla@lysator.liu.se>
19194         * app/load_save.c (diagram_load):
19195         Statusbar update fix.
19197 1999-02-15  Alexander Larsson  <alla@lysator.liu.se>
19199         * app/interface.c (create_display_shell):
19200         Fixed status bar size.
19201         
19202 1999-02-15  Alexander Larsson  <alla@lysator.liu.se>
19204         * lib/dia_image.[ch]:
19205         Added extern declaration for dia_image_release.
19206         Removed dia_image_draw, as it's not neseccary.
19208 1999-02-14  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
19209         
19210         * app/object_ops.c: 
19211         * app/menus.c: 
19212         Added equal distance alignment both vertical and horizontal.
19213         
19214         * objects/UML/object.c: 
19215         Added a couple of attributes to load/read that were missing.
19217         * objects/UML/lifeline.c: 
19218         Better handling of handles. Fixed another bug I forgot to add
19219         to my last patch.
19220         
19221 1999-02-13  Alexander Larsson  <alla@lysator.liu.se>
19223         Patch from Lars Clausen <lrclause@shasta.cs.uiuc.edu>
19224         
19225         * lib/dia_image.[ch]:
19226         * lib/Makefile.am:
19227         New files. DiaImage wraps the GdkImlibImage.
19229         * lib/render.h:
19230         * app/render_eps.c:
19231         * app/render_gdk.c:
19232         * lib/render_store.[ch]:
19233         * objects/standard/image.c:
19234         Use the new DiaImagetype.
19236         * lib/widgets.c:
19237         Removed unused variable to eliminate  warning.
19239 1999-02-11  Alexander Larsson  <alla@lysator.liu.se>
19241         * objects/standard/box.c:
19242         Added rounded corners on the box object.
19244         * lib/widgets.[ch]:
19245         Updated the DiaFileSelector widget.
19246         
19247 1999-02-09  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
19249         * objects/UML/object.c (objet_draw): 
19250         Completed underlining of all object name lines. 
19252         * objects/UML/message.c (fill_in_dialog): 
19253         Fixed a bug that filled incorrectly the message's dialog.
19255         * objects/UML/lifeline.c (lifeline_load): 
19256         Some cleanning and fixed a couple of bugs that caused
19257         crashes after reading diagrams with lifelines.
19259         * lib/text.c: 
19260         Added flags to prevent crash with void strings
19262 1999-02-07  Matthias Köster <Matthias.Koester@Informatik.Uni-Oldenburg.DE>
19263         * app/display.[ch]:
19264         Added statusbar to the display widget. Currently shows the zoom
19265         factor and modified flag of the viewed diagram. The statusbar is
19266         updated upon calls to ddisplay_zoom and ddisplay_update_statusbar.
19267         This caused the following additions:
19268         
19269         * app/diagram.[ch]:
19270         Added function diagram_set_modified. Calls
19271         ddisplay_update_statusbar for all displays showing the modified diagram.
19272         Changed diagram_modified to call diagram_set_modified.
19273         
19274         * app/interface.c:
19275         Added the creation of the statusbar.
19276         
19277         * app/load_save.c:
19278         diagram_save now calls diagram_set_modified instead of setting
19279         dia->modified. Needed to force call to display_update_statusbar
19280         
19281         * app/commands.c:
19282         Changed the way view_show_all works. Now calls ddisplay_zoom
19283         instead of directly setting the zoom_factor, so the zoom factor is
19284         correctly shown in the statusbar.
19286         * app/magnify.c:
19287         Fixed rubberband zoom to use ddisplay_zoom().
19288         
19289 1999-02-07  Fredrik Hallenberg  <hallon@lysator.liu.se>
19291         * app/app_procs.c
19292         Rudimentary GNOME session management.
19293         
19294         * app/disp_callbacks.c
19295         * app/interface.c
19296         * app/menus.c
19297         * app/menus.h
19298         GNOME menus. Problems: 
19299         Callbacks doesn't get user_data.
19300         Weird warnings when creating popup menus.
19301         menus_set_sensitive(), menus_set_state() doesn't work.
19303 1999-02-05  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
19305         * configure.in:
19306         Add AM_PATH_GDK_IMLIB() call.
19308         * app/Makefile.am:
19309         Add gdk_imlib to linking flags.
19311         * app/app_procs.c:
19312         Init gdk_imlib.
19313         Print library-loading error messages on stdout too.
19315         * app/interface.c:
19316         Add standard image to toolbox.
19317         
19318         * app/render_eps.c: 
19319         Set a more reasonable dot length.  Fixed
19320         missing initialization of dot length.
19321         Added draw_image methods.
19323         * app/render_gdk.c (new_gdk_renderer): 
19324         Dot a bit wider.  Looks good in normal mode now.
19326         * objects/standard/image.c:
19327         * objects/standard/pixmaps/image.xpm:
19328         New files. Standard object for images.
19329         
19330         * app/render_eps.c (set_linestyle):
19331         * app/render_gdk.c (set_linestyle):
19332         * lib/widgets.c (dia_line_style_selector_init): 
19333         * lib/render.h: 
19334         New line style DOTTED.
19336         * lib/render.h:
19337         * lib/render_store.c:
19338         Change DrawImage call to use gdk_imlib.
19340         * lib/widgets.[ch]:
19341         Added widgets for selecting files.
19342         Added dotted to the linestyle selector.
19344 1999-02-06  Alexander Larsson  <alla@lysator.liu.se>
19346         * objects/network/printer.c:
19347         * objects/network/network.c:
19348         * objects/network/pixmaps/printer.xpm:
19349         * objects/network/.cvsignore:
19350         * objects/network/Makefile.am:
19351         * objects/network/pixmaps/Makefile.am:
19352         New printer object in network.
19353         From Martin Hawlisch <hawlisch@roxi.rz.fh-mannheim.de>
19355         * TODO:
19356         Added known XML bug.
19357         
19358 1999-02-06  Alexander Larsson  <alla@lysator.liu.se>
19360         * app/load_save.c:
19361         * lib/dia_xml.c:
19362         Reverted back from #include <gnome-xml/tree.h> to
19363         #include <tree.h> as this is fixed by the xml-config program.
19364         The former way broke for some people.
19365         Reported by blizzard@redhat.com.
19367         * objects/UML/lifeline.c:
19368         * objects/UML/message.c:
19369         * objects/UML/object.c:
19370         Removed some warnings.
19371         
19372 1999-02-04  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
19374         * objects/UML/lifeline.c: 
19375         Fixed connection points over the life line when the focus of
19376         control is not drawn.
19378         * objects/UML/message.c: 
19379         Now a recursive message can be freely resized using the handles.
19381 1999-02-02  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
19383         * objects/UML/lifeline.c:
19384         Added connection points.
19385         Added properties dialog with the option to draw/hide focus of control
19386         box and destruction mark.
19388         * objects/UML/object.c: 
19389         Added properties dialog and stereotype, explicit state and attributes. 
19390         It's also possible to mark the object as active.
19392         * objects/UML/pixmaps/object.xpm: 
19393         Cosmetic change.
19395         * objects/UML/message.c:
19396         Added "recursive" message type (was not necessary to use OrthConn).
19398 1999-02-02  Alexander Larsson  <alla@lysator.liu.se>
19400         * objects/standard/arc.c:
19401         Removed old debug code. Fixes a visual bug. From lrclause@cs.uiuc.edu.
19403 1999-02-01  Alexander Larsson  <alla@lysator.liu.se>
19405         Patch from Lars R. Clausen <lrclause@cs.uiuc.edu>
19406         
19407         * app/load_save.c:
19408         * lib/dia_xml.c:
19409         Update xml includes to gnome-xml/*.h.
19411         * objects/standard/arc.c:
19412         Only one property dialog per type.
19413         Fix arrows directions.
19415         * objects/standard/box.c:
19416         * objects/standard/ellipse.c:
19417         * objects/standard/textobj.c
19418         Added default properties dialog.
19419         
19421 1999-01-31  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
19423         * objects/UML/Makefile.am: 
19424         * objects/UML/uml.c:
19425         * objects/UML/lifeline.c: 
19426         * objects/UML/object.c: 
19427         * objects/UML/message.c:
19428         * objects/UML/pixmaps/lifeline.xpm: 
19429         * objects/UML/pixmaps/object.xpm: 
19430         * objects/UML/pixmaps/message.xpm:
19431         Added 3 new UML objects for dynamic modeling. To avoid internal 
19432         conflicts, the name "objet" is used for object "object".        
19434         * lib/arrows.[ch]: 
19435         Added ARROW_HALF_HEAD arrow type to allow drawing asynchronous
19436         UML messages.
19437         
19438 1999-01-30  Alexander Larsson  <alla@lysator.liu.se>
19440         * app/display.[ch]:
19441         * app/modify_tool.c:
19442         Added autoscrolling while doing rubber-band select.
19443         This patch from Matthias Köster
19444         (Matthias.Koester@Informatik.Uni-Oldenburg.DE)
19445         
19447 1999-01-28  Alexander Larsson  <alla@lysator.liu.se>
19449         * app/defaults.[ch]:
19450         New files, deals with default properties dialog.
19452         * lib/diamenu.h:
19453         New file. Contains definitions for the new object menu.
19455         * lib/poly_conn.[ch]:
19456         New file. Base class for poly-line like objects.
19458         * objects/standard/polyline.c:
19459         * objects/standard/pixmaps/polyline.xpm:
19460         New files. Polyline object.
19462         * app/app_procs.c:
19463         Fixed bug with infinite loop when registering sheets.
19464         
19465         * app/commands.c:
19466         Removed unneccesary stuff.
19468         * app/disp_callbacks.c:
19469         Support for object menus.
19471         * app/interface.c:
19472         Added polyline to toolbox.
19473         Added call to tool_options_dialog_show() when double clicking on
19474         tool.
19476         * app/tool.[ch]:
19477         New function tool_options_dialog_show() for tool properties.
19479         * lib/arrows.[ch]:
19480         Added ARROW_NONE.
19482         * lib/object.h:
19483         Added ObjectType methods for handling object default dialogs.
19484         Added Object method for handling object_menu.
19485         Added unused methods to ObjectTypeOps for future binary
19486         compatibility.
19488         * lib/widgets.[ch]:
19489         Added DiaArrowTypeSelector widget.
19491         * objects/standard/arc.c:
19492         * objects/standard/zigzagline.c:
19493         Added support for default properties.
19495         * objects/standard/line.c:
19496         Added support for default properties.
19497         Just use one properties dialog for all line objects. NOTE: This
19498         seems to have a bug. We're working on it.
19500         * standard/standard.c:
19501         Add the polyline object.
19503 1999-01-27  Alexander Larsson  <alla@lysator.liu.se>
19505         * app/modify_tool.c:
19506         Commented out buggy transitive select function. It wasn't really
19507         meant to go into cvs.
19508         
19510 1999-01-25  Fredrik Hallenberg  <hallon@lysator.liu.se>
19512         * autogen.sh:
19513         * acconfig.h:
19514         * configure.in:
19515         * Makefile.am:
19516         * app/Makefile.am:
19517         * po/POTFILES.in:
19518         * app/intl.h
19519         i18n-support.
19521         * po/sv.po:
19522         Swedish translation. Not completed.
19523         
19524         * configure.in:
19525         * acconfig.h:
19526         Added possibility to enable GNOME specific code with configure.
19528         * configure.in:
19529         Added possibility to set debug level with configure.
19531         * commands.[hc]:
19532         Added about dialog.
19534         * app_procs.c
19535         * commands.c
19536         * interface.c
19537         * menus.c
19538         Added some GNOME specific code. Not ready for use.
19540 1999-01-24  Alexander Larsson  <alla@lysator.liu.se>
19542         * INSTALL:
19543         Added text about needing gtk 1.1.13 and gnome-xml.
19544         
19545         * NEWS:
19546         Described changes since last version (0.20).
19548         Released version 0.30, tagged DIA_0_30.
19550 1999-01-22  Alexander Larsson  <alla@lysator.liu.se>
19552         * app/magnify.c (magnify_button_release):
19553         Fixed a problem when zooming in on a very small box would
19554         not release the grabbed pointer-focus.
19556 1999-01-21  Alexander Larsson  <alla@lysator.liu.se>
19558         * app/load_save.c (diagram_load):
19559         Be somewhat more robust when loading files that
19560         are not diagrams.
19561         
19562 1999-01-21  Alexander Larsson  <alla@lysator.liu.se>
19564         * app/app_procs.c:
19565         * objects/ER/er.c:
19566         * objects/UML/uml.c:
19567         * objects/network/network.c:
19568         * objects/standard/standard.c:
19569         Added versioning of object libraries.
19571         * app/create_object.c:
19572         Don't change tool when an object is created.
19573         
19574         * objects/network/network.c:
19576         * TODO:
19577         Update
19579 1999-01-19  Alexander Larsson  <alla@lysator.liu.se>
19581         * configure.in:
19582         Updated gtk requirement to Gtk+ 1.1.13.
19584         * app/display.c:
19585         Always add one screenful of scrolling space on
19586         each side of a diagram window.
19588 1999-01-19  Jeff Garzik  <jgarzik@pobox.com>
19590         * autogen.sh:
19591         Tell automake to auto-install missing files.
19593         * app/menus.c:
19594         Renamed deprecated Gtk+ function.
19596 1999-01-16  Alexander Larsson  <alla@lysator.liu.se>
19598         * Makefile.am:
19599         * configure.in:
19600         * samples/Makefile.am:
19601         * samples/ER-demo.dia:
19602         * samples/UML-demo.dia:
19603         Added samples directory.
19604         Added samples for ER and UML.
19605         
19606         * app/commands.c:
19607         * app/disp_callbacks.c:
19608         * app/menus.c:
19609         Zoom is done by sqrt(2) instead of 2.
19610         Lots of more zoom options in the menu.
19612         * objects/ER/relationship.c:
19613         Relationships have 8 connectionpoints instead of 4.
19615         * objects/UML/class.c:
19616         UML class name font a bit smaller.
19617         Fixed stupid bug in the copy operation.
19618         
19619         * app/display.c:
19620         Displays are opened at 500x400 instead of 256x256.
19622         * app/load_save.c:
19623         Fixup of internal error message.
19625         * app/color_area.c:
19626         * app/diagram.c:
19627         * app/modify_tool.c:
19628         * lib/object.c:
19629         Removed debug printf's.
19630         
19631         * TODO (BUGS):
19632         Added new known bug.
19634 1999-01-16  Alexander Larsson  <alla@lysator.liu.se>
19636         * app/interface.c:
19637         * app/menus.c:
19638         Fixed so accelerator groups work in all windows.
19639         Updated to new gtk function names.
19641         * TODO (BUGS):
19642         Removed fixed bug.
19644         * app/display.c:
19645         Updated to new gtk function names.
19646         Set sensitivity of the align menu items.        
19648         * objects/ER/pixmaps/Makefile.am:
19649         * objects/UML/pixmaps/Makefile.am:
19650         * objects/network/pixmaps/Makefile.am:
19651         Fix so that make dist works.
19653         * app/app_procs.c:
19654         * app/color_area.c:
19655         * app/commands.c:
19656         * app/diagram.c:
19657         * app/grid.c:
19658         * app/layer_dialog.c:
19659         * app/load_save.c:
19660         * app/object_ops.c:
19661         * app/properties.c:
19662         * lib/diagramdata.[ch]: 
19663         * lib/message.c:
19664         * lib/objects/ER/attribute.c:
19665         * lib/objects/ER/entity.c:
19666         * lib/objects/ER/participation.c:
19667         * lib/objects/ER/relationship.c:
19668         * lib/objects/ER/.c:
19669         * objects/UML/actor.c:
19670         * objects/UML/association.c:
19671         * objects/UML/class_dialog.c:
19672         * objects/UML/dependency.c:
19673         * objects/UML/generalization.c:
19674         * objects/UML/large_package.c:
19675         * objects/UML/realizes.c:
19676         * objects/UML/.c:
19677         * objects/UML/.c:
19678         Updated to new gtk function names.
19679         Removed warnings.
19681 1999-01-15  Alexander Larsson  <alla@lysator.liu.se>
19683         * TODO:
19684         Update TODO.
19686         * app/app_procs.c:
19687         Fixed loading of diagrams specified as arguments.
19689         * objects/ER/attribute.c:
19690         * objects/ER/entity.c:
19691         * objects/ER/er.c:
19692         * objects/ER/participation.c:
19693         * objects/ER/relationship.c:
19694         Updated the ER objects.
19695         
19697 1999-01-14  Alexander Larsson  <alla@lysator.liu.se>
19699         * configure.in:
19700         * app/Makefile.am:
19701         * objects/Makefile.am:
19702         * objects/ER/attribute.c:
19703         * objects/ER/entity.c:
19704         * objects/ER/er.c:
19705         * objects/ER/participation.c:
19706         * objects/ER/relationship.c:
19707         * objects/ER/pixmaps/Makefile.am:
19708         * objects/ER/pixmaps/attribute.xpm:
19709         * objects/ER/pixmaps/entity.xpm:
19710         * objects/ER/pixmaps/participation.xpm:
19711         * objects/ER/pixmaps/relationship.xpm:
19712         * objects/ER/pixmaps/weakentity.xpm:
19713         First commit of entity relationship objects.
19714         These were done by hallon@lysator.liu.se.
19715         There are still stuff to do on these.
19716         
19717 1999-01-14  Alexander Larsson  <alla@lysator.liu.se>
19719         * TODO:
19720         Updates.
19722         * app/diagram.[ch]:
19723         Change diagram_remove_all_selected to take new argument
19724         delete_empty. Empty objects are deleted only if it is TRUE.
19725         Removed call to close_eps_renderer. This is now done in end_render
19726         in the eps renderer.
19728         * app/create_object.c:
19729         * app/layer_dialog.c:
19730         Update calls to diagram_remove_all_selected.
19732         * app/commands.c:
19733         Update calls to diagram_remove_all_selected.
19734         Some code reformating.
19735         Changed order of adding updates i align_h and align_v.
19737         * app/modify_tool.c:
19738         Update calls to diagram_remove_all_selected.
19739         Added pointer grab when doing rubber-band selection, this fixes
19740         the bug when draging the box over to another window.
19742         * app/connectionpoint_ops.[ch]:
19743         diagram_update_connections_object changed to take an argument
19744         update_nonmoved. This lets connections that has not moved, but
19745         the stuff they're connected to has been moved work.
19746         Update calls to the new diagram_update_connections_object.
19748         * app/properties.c:
19749         Update calls to the new diagram_update_connections_object.
19750         Update extents when properties are applied.
19751         
19752         * app/disp_callbacks.c:
19753         Added support for zooming with the '+' and '-' keys.
19755         * app/menus.c:
19756         Removed old keyboard shortcuts for zoom.
19758         * lib/render.h:
19759         Added calls begin_render and end_render to renderer.
19760         These can be used for setup and cleanup.
19762         * lib/diagramdata.c:
19763         Added calls to begin_render and end_render in data_render.
19765         * app/render_gdk.c:
19766         Added begin_render and end_render.
19768         * app/render_eps.[ch]:
19769         Added begin_render and end_render.
19770         Moved close_eps_renderer code to end_render.
19771         Various fixes to the generated eps code. This fixes importing
19772         generated eps into LYX.
19773         
19774 1999-01-12  Alexander Larsson  <alla@lysator.liu.se>
19776         * TODO:
19777         Update of todo.
19778         
19779         * app/menus.c:
19780         Menus for alignment updated.
19782         * app/object_ops.[ch]:
19783         Functions for object alignment updated.
19785         * app/commands.[ch]:
19786         Object alignment callbacks updated.
19787         New diagrams are called Untitled-<nr>.
19789         * app/layer_dialog.c:
19790         Active layer selected when showing layers from new
19791         diagram.
19793         * app/load_save.c:
19794         Compress xml files when saving.
19795         Use xml namespace 'dia'.
19797         * lib/object.h:
19798         Minor comment update.
19800         * objects/UML/class_dialog.c:
19801         Cleanup of the gkt_list_item moving code.
19802         Fixed bug with update of operation when moving parameters.
19804 1999-01-10  Alexander Larsson  <alla@lysator.liu.se>
19806         * app/layer_dialog.[ch]:
19807         Fixed the rest of the layers dialog.
19809         * app/dialog.c:
19810         Added call to redo layer dialogs diagram list when changing
19811         diagram name.
19813         * lib/diagramdata.[ch]:
19814         Added data_raise_layer and data_lower_layer functions for
19815         raising/lowering layers. Added data_add_layer_at for adding a
19816         layer at a specified index.
19818 1999-01-05  Alexander Larsson  <alla@lysator.liu.se>
19820         This is the asierra-990105 patch done by asierra@servidor.unam.mx.
19821                 
19822         * app/app_procs.c:
19823         Added support for reading diagrams from the command line.
19825 1998-12-21  Alexander Larsson  <alla@lysator.liu.se>
19827         This is the asierra-981220 patch done by asierra@servidor.unam.mx.
19828                 
19829         * app/commands.[ch]:
19830         Added objects_align_callback().
19832         * app/menus.c:
19833         Added align objects to menu.
19835         * app/object_ops.[ch]:
19836         Add object_list_align().
19837         
19838 1998-12-17  Alexander Larsson  <alla@lysator.liu.se>
19839         * app/layer_dialog.[ch]:
19840         New files. Handles the layers dialog. Needs a bugfix for glib to
19841         work. Sent patch to gtk-list.
19842         
19843         * app/pixmaps/new.xpm:
19844         * app/pixmaps/eye.xbm:
19845         * app/pixmaps/lower.xpm:
19846         * app/pixmaps/raise.xpm:
19847         * app/pixmaps/delete.xpm:
19848         New files. Images for the layer dialog buttons.
19849         
19850         * lib/diagramdata.h
19851         * lib/diagramdata.c
19852         New files for the DiagramData and Layer structures and functions.
19853         
19854         * app/app_procs.c:
19855         Added call to create_layer_dialog() on startup.
19856         
19857         * app/commands.[ch]:
19858         New callbacks for showing the properties and layout dialog.
19859         Changes for the new DiagramData structure.
19861         * app/connectionpoint_ops.c:
19862         * app/cut_n_paste.c:
19863         * app/diagram.[ch]:
19864         * app/display.[ch]:
19865         * app/group.c:
19866         * app/modify_tool.c:
19867         * app/object_ops.[ch]:
19868         * app/render_eps.c:
19869         * lib/object.[ch]:
19870         Changes for the new DiagramData structure.
19872         * app/interface.c:
19873         * app/properties.c:
19874         Set correct wmclasses.
19876         * app/load_save.c:
19877         Fix load and save of layers.
19879         * diagram.dtd:
19880         Update DTD for layers.
19881         
19882         * app/menus.c:
19883         New menus for dialogs.
19885         
19886         * TODO:
19887         Some updates.
19888         
19889 1998-12-06  Alexander Larsson  <alla@lysator.liu.se>
19891         * TODO:
19892         Removed the gtk 1.1.5 stuff.
19894         * configure.in:
19895         Updated gtk check to version 1.1.5.
19896         Updated version from 0.20 to 0.30
19898         * app/commands.[ch]:
19899         Updated some callbacks to be of type GtkItemFactoryCallback1.
19900         Not all are done yet, but it works anyway.
19902         * app/display.h:
19903         Removed Gtk 1.0.0 GtkAcceleratorTable references.
19904         
19905         * app/interface.c:
19906         * app/menus.[ch]:
19907         Update to Gtk 1.1.x functions.
19908         Use ItemFactory instead of MenuFactory.
19909         
19910         * app/render_gdk.c:
19911         Removed Gtk 1.0.0 references.
19913         * objects/UML/class_dialog.c:
19914         Scrolled window updates for Gtk 1.1.5.
19915         
19916         * lib/dia_xml.c:
19917         Removed ugly fix for gnome-xml bug. Make sure you get the
19918         newest version of gnome-xml from CVS.
19919         
19920 1998-12-05  Alexander Larsson  <alla@lysator.liu.se>
19922         * TODO:
19923         Removed the xml load/save line.
19925         * lib/files.[ch]:
19926         Removed files.
19927         
19928         * lib/Makefile.am:
19929         Removed building of files.c
19931         * app/load_save.c:
19932         * lib/connection.c:
19933         * lib/element.c:
19934         * lib/object.c:
19935         * lib/orth_conn.c:
19936         * lib/render_object.c:
19937         * objects/UML/actor.c:
19938         * objects/UML/association.c:
19939         * objects/UML/class.c:
19940         * objects/UML/constraint.c:
19941         * objects/UML/dependency.c:
19942         * objects/UML/generalization.c:
19943         * objects/UML/implements.c:
19944         * objects/UML/large_package.c:
19945         * objects/UML/note.c:
19946         * objects/UML/realizes.c:
19947         * objects/UML/small_package.c:
19948         * objects/UML/uml.c:
19949         * objects/UML/usecase.c:
19950         * objects/network/bus.c:
19951         * objects/standard/arc.c:
19952         * objects/standard/box.c:
19953         * objects/standard/ellipse.c:
19954         * objects/standard/line.c:
19955         * objects/standard/textobj.c:
19956         * objects/standard/zigzagline.c:
19957         Removed all includes of files.h
19959         
19960 1998-12-05  Alexander Larsson  <alla@lysator.liu.se>
19962         * dialog.dtd:
19963         Made the val property of string be implied.
19964         This makes it possible to save strings that
19965         are NULL. Just leave out val.
19967         * objects/lib/dia_xml.c:
19968         Fixed string so that it is possible to save strings
19969         that are NULL. Also made an ugly workaround of a
19970         bug in gnome-xml which removes empty properties.
19971         
19972         * objects/lib/orth_conn.c:
19973         Fixed a bug in saving. Forgot to step through the
19974         directions.
19975         
19976         * objects/UML/association.c: 
19977         * objects/UML/class.c: 
19978         * objects/UML/constraint.c: 
19979         * objects/UML/dependency.c: 
19980         * objects/UML/generalization.c: 
19981         * objects/UML/implements.c: 
19982         * objects/UML/large_package.c: 
19983         * objects/UML/note.c: 
19984         * objects/UML/small_package.c:
19985         * objects/UML/realizes.c:
19986         * objects/UML/usecase.c: 
19987         * objects/UML/actor.c: 
19988         Fixed UML objects to save as xml.
19989         The last two were done by asierra@servidor.unam.mx (asierra-981204)
19990         
19991         * objects/UML/uml.[ch]:
19992         Updated *_write() and *_read() functions to use xml.
19994         * objects/network/bus.c: 
19995         * objects/network/computer.c: 
19996         * objects/network/disc.c: 
19997         * objects/network/monitor.c:
19998         Updated network diagrams to use xml.
20000 1998-12-02  Alexander Larsson  <alla@lysator.liu.se>
20002         * dialog.dtd:
20003         New file. DTD that describes the xml file format
20004         dia uses.
20006         * lib/dia_xml.[ch]:
20007         New files. Support for saving object to xml files.
20009         * configure.in:
20010         * app/Makefile.am:
20011         * lib/Makefile.am:
20012         Added check for and usage of gnome-xml library.
20014         * app/load_save.c:
20015         Major chages. Now saves/loads diagrams as xml.
20017         * lib/object.[ch]:
20018         * lib/element.[ch]:
20019         * lib/connection.[ch]:
20020         * lib/orth_conn.[ch]:
20021         * lib/render_object.[ch]:
20022         * lib/text.[ch]:
20023         Updated object support load/save functions for xml:
20025         * object/standard/arc.c:
20026         * object/standard/box.c:
20027         * object/standard/ellipse.c:
20028         * object/standard/line.c:
20029         * object/standard/textobj.c:
20030         * object/standard/zigzagline.c:
20031         Updated all standard objects to use xml.
20032         
20033         NOTE NOTE NOTE
20034         Only the standard objects are converted right now, don't
20035         save or load uml or network diagrams yet. Also, since this
20036         is new code it is deemed a bit unstable.
20037         
20038         * TODO
20039         Added a know bug.
20041 1998-12-01  Alexander Larsson  <alla@lysator.liu.se>
20043         * objects/UML/class.c:
20044         Changed classname font to Helvetica.
20045         Added more space above the classname
20047         * objects/UML/usecase.c:
20048         Correct placements of connectionpoints on ellipse.
20049         Better algorithm for deciding aspect ration on
20050         ellipse.
20052         These changes were made by Alejandro Aguilar Sierra
20053         <asierra@servidor.unam.mx>. (asierra-981201)
20055 1998-11-30  Alexander Larsson  <alla@lysator.liu.se>
20057         * objects/UML/actor.c:
20058         Changed the extents and alignment of the element
20059         and the text.
20061         * objects/UML/.cvsignore:
20062         Added usecase.lo and actor.lo.
20064 1998-11-30  Alexander Larsson  <alla@lysator.liu.se>
20066         * objects/UML/actor.c:
20067         * objects/UML/usecase.c:
20068         * objects/UML/pixmaps/actor.xpm:
20069         * objects/UML/pixmaps/case.xpm:
20070         New files. Implements usecase and actor UML objects.
20071         These objects are done by Alejandro Aguilar Sierra
20072         <asierra@servidor.unam.mx>.
20073         
20074         * objects/UML/Makefile.am:
20075         * objects/UML/pixmaps/Makefile.am:
20076         Added usecase and actor to makefile.
20077         
20078         * AUTHORS:
20079         Added Alejandro and Jerome to autors list.
20080         
20081 1998-11-25  Alexander Larsson  <alla@lysator.liu.se>
20083         * objects/UML/class.c (umlclass_load):
20084         Fixed typo. Reported by Jerome.Abela@solsoft.fr
20086 1998-11-24  Alexander Larsson  <alla@lysator.liu.se>
20088         * app/properties.c:
20089         Update connections when doing apply in the properties window.
20091         * objects/UML/uml.[ch]:
20092         * objects/UML/class.[ch]:
20093         * objects/UML/class_dialog.c:
20094         Added connection points on both sides of attributes and
20095         operations in UML classes.
20096         Based on idea from Jerome.Abela@solsoft.fr
20097         
20098 1998-11-24  Alexander Larsson  <alla@lysator.liu.se>
20100         * README:
20101         Some new documentation about handles and connectionpoints.
20102         
20103         * lib/object.[ch]:
20104         Added functions object_add_connectionpoint and
20105         object_remove_connectionpoint for handling a dynamic
20106         number of connectionpoints.
20108         * objects/UML/class.c:
20109         Only reserve space for stereotype when it is shown.
20111         These changes are from Jerome Abela <Jerome.Abela@solsoft.fr>
20113 1998-11-08  Alexander Larsson  <alla@lysator.liu.se>
20115         * app/connectionpoint_ops.c:
20116         * app/commands.c:
20117         * app/disp_callbacks.c:
20118         * app/display.[ch]:
20119         * app/grid.c:
20120         * app/handle_ops.c:
20121         * app/magnify.c:
20122         * app/modify_tool.c:
20123         * app/render_gdk.[ch]:
20124         * lib/render.h:
20125         Huge cleanup of internal rendering system.
20126         Moved a lot of data (pixmap, width, height & gc) into the GdkRenderer.
20127         This gives a few new methods for Interactive Renderers for setting
20128         clipping regions and drawing pixel based lines and rects.
20129         Updated the rest of the code to use the new stuff.
20130         
20131         * app/render_eps.c:
20132         Fixed warning.
20134         * lib/widgets.c:
20135         * objects/standard/zigzagline.c
20136         Fixed unused variable warnings.
20138         * lib/font.c:
20139         Fixedbug with stringwidth where width==0.
20141         * TODO:
20142         Added known bug.
20144 1998-11-02  Alexander Larsson  <alla@lysator.liu.se>
20146         * lib/widgets.[ch]:
20147         Added suppot for setting the font of a
20148         DiaFontSelector widget.
20149         Also fixed some typos in the header.
20151         * lib/object.h: 
20152         Added a comment about the GetPRoperties method call.
20153         You have to make sure to update widget state when
20154         this method is called. (Not all objects do this yet,
20155         to be fixed.)
20157         * TODO:
20158         Some small updates
20160 1998-11-01  Alexander Larsson  <alla@lysator.liu.se>
20162         * lib/font.c
20163         Fixed problem with height of ascent and descent for fonts.
20164         It didn't use the whole height (==ascent+descent) when calculatine
20165         ascent_ratio and descent_ratio.
20167         * objects/standard/textobj.c:
20168         * objects/standard/box.c:
20169         * objects/standard/ellipse.c:
20170         * objects/standard/line.c:
20171         * objects/standard/arc.c:
20172         Updated and added property dialogs for these objects.
20173         Also added line width/color/style to those objects
20174         that didn't have it.
20175         This change breaks fileformat compatibility for these objects.
20176         
20177         * objects/standard/zigzagline.c:
20178         Changed zigzagline to be based on OrthConn, much nicer.
20179         Also added line style and color to properties.
20180         This change breaks fileformat compatibility for zigzagline.
20182         * lib/message.c:
20183         Fixed bug in message(). Forgot a pair of '&'.
20185 1998-10-29  Alexander Larsson  <alla@lysator.liu.se>
20187         * lib/widgets.[ch]:
20188         Added DiaColorSelector widget.
20189         This is a colored button that pops up a color selection
20190         dialog when pressed.
20192 1998-10-28  Alexander Larsson  <alla@lysator.liu.se>
20194         * lib/widgets.[ch]:
20195         * lib/Makefile.am:
20196         New files, added widgets for selecting fonts, alignment
20197         and line-style. Will be used later.
20199 1998-10-12  Alexander Larsson  <alla@lysator.liu.se>
20201         * app/Makefile.am:
20202         * lib/Makefile.am:
20203         * objects/UML/Makefile.am:
20204         * objects/network/Makefile.am:
20205         * objects/standard/Makefile.am:
20206         Changed "CFLAGS = -Wall -g" to "CFLAGS = @CFLAGS@"
20207         in all Makefile.am.
20209 1998-10-03  Alexander Larsson  <alla@lysator.liu.se>
20211         * app/handle_ops.c (handle_draw):
20212         connected HANDLE_MINOR_CONTROL also becomes red.
20214 1998-10-02  Alexander Larsson  <alla@lysator.liu.se>
20216         * Makefile.am:
20217         removed -ldl from linking. This is added if needed by configure.
20219         * app/app_procs.c:
20220         Open dlls with RTLD_LAZY if it is defined.
20221         Some cleanups: char *error -> const char *error
20222         Added fprintf()'s to where we exited because of errors.
20224         * lib/files.c:
20225         Include <sys/types.h>
20227 1998-10-01  Alexander Larsson  <alla@lysator.liu.se>
20229         * acconfig.h:
20230         * configure.in:
20231         * app/app_procs.c:
20232         Detect dlopen better.
20233         Detect wether dlopen needs an underscore in the identifier.
20234         This code was mostly borrowed from guile.
20236         * lib/sheet.[ch]:
20237         * app/app_procs.c:
20238         * objects/standard/standard.c:
20239         * objects/network/network.c:
20240         * objects/UML/uml.c:
20241         * most objects:
20242         Changed the way sheets reference objects to use just the
20243         name. Changed module loading to a two stage model:
20244         First register_objects() is called for all modules.
20245         Then register_sheets() is called. This means that
20246         sheets can safely include objects from other modules.
20247         
20249 1998-09-30  Alexander Larsson  <alla@lysator.liu.se>
20251         * objects/network/bus.c:
20252         * objects/network/network.c:
20253         * objects/network/Makefile.am:
20254         New file bus.c. Added new object: Ethernet bus.
20256         * objects/standard/box.c:
20257         Added call to gtk_spin_button_set_numeric for linewidth spinner
20258         in property dialog.
20260 1998-09-30  Alexander Larsson  <alla@lysator.liu.se>
20262         * app/connectionpoint_ops.c:
20263         * app/create_object.c:
20264         * app/group.c:
20265         * app/handle_ops.c:
20266         * app/modify_tool.c:
20267         * lib/connection.c:
20268         * lib/element.c:
20269         * lib/handle.h:
20270         * lib/object.c:
20271         * lib/orth_conn.c:
20272         * loads of objects:
20273         Changed handle->connectable to handle->connect_type.
20274         Now handles can be HANDLE_CONNECTABLE_NOBREAK, which means
20275         that their connections don't break when moving objects.
20277         * app/diagram.c:
20278         Always select the last handle in an object that has
20279         the closest distance.
20280         
20281         * lib/geometry.[ch]:
20282         Added rectangle_add_point function.
20283         
20285 1998-09-27  Alexander Larsson  <alla@lysator.liu.se>
20287         * app/properties.[ch]: New files. Handles the new properties
20288         dialog.
20290         * app/modify_tool.c: Changed to use new properties dialog.
20292         * app/object_ops.[ch]: Removed object_changed_callback, as it's
20293         not needed anymore. This is now handled differently in
20294         properties.c
20296         * lib/object.[ch]:
20297         Changed the properties ops for objects. Removed typedefs
20298         ChangedObjectTime and ObjectChangedFunc needed for the old way.
20299         Added object_return_null function.
20300         
20301         * app/group.c:
20302         * lib/render_object.c:
20303         * objects/*/*.c:
20304         Changed objects to use the new properties dialog.
20305         
20307 1998-09-14  Nuno Ferreira  <nmrf@rnl.ist.utl.pt>
20309         * */Makefile.am (INCLUDES): Changes to work with srcdir !=
20310         builddir.
20312         * autogen.sh: New file. Copied from gtk and added a call to
20313         libtoolize. Anyone knows why this isn't done in gtk?
20315         * Removed autogenerated files.
20317 1998-09-12  Alexander Larsson  <alla@lysator.liu.se>
20319         * Added call setlocale(LC_NUMERIC, "C") so that formating of
20320           floating-point numbers in postscript output will be correct.
20321         * Did some cleanup of generated postscript files.