Mainpoint-related fixes, not fixed conn bug yet.
[dia.git] / ChangeLog
blob417c8eee67048c2970bb38b5c132083d44227f59
1 2005-09-29  Lars Clausen  <lars@raeder.dk>
3         * objects/UML/class.h: Enabling mainpoints for UML.
5         * objects/UML/class.c (umlclass_set_props): Make sure to always
6         realloc connection point list.
8 2005-09-26  Ahmad Riza H Nst  <rizahnst@id.gnome.org>
10         * configure.in: Added "id" in ALL_LINGUAS line.
12 2005-09-14  Lars Clausen  <lars@raeder.dk>
14         * objects/UML/class.c (umlclass_load): Set mainpoint obj upon
15         loading.  Fixes bug #315427.
17 2005-09-11  Hans Breuer  <hans@breuer.org>
19         * objects/standard/arc.c objects/standard/textobj.c : fix
20         C99isms, Dia is supposed to compile with C89 like msvc
22         * app/makefile.msc : use the wrong center-point-magnetism
23         icons for the win32 build, too.
25         * plug-ins/python/pydia-error.c : dont crash on C escape
26         sequences in the error string
27         * plug-ins/python/pydia-render.c : dont free filename twice
29         * plug-ins/python/dot.py : start of an exporter to DOT language
30         which can be processed by www.graphviz.org tools
32 2005-09-05  Iñaki Larrañaga  <dooteo@euskalgnu.org>
34         * configure.in: Added "doc/eu/Makefile" for Basque documentation.
36 2005-09-04  Iñaki Larrañaga  <dooteo@euskalgnu.org>
38         * configure.in: Added "eu" to ALL_LINGUAS.
40 2005-09-04  Lars Clausen  <lars@raeder.dk>
42         * lib/element.h (ELEMENT_COMMON_PROPERTIES): Remove object
43         dimensions frame to make ext_attributes work again.
45         * app/grid.c (snap_to_grid): Bugfix from Zhang Lin-bo
46         <zlb@lsec.cc.ac.cn>: Use dynamic grid setting from diagram, not
47         global prefs.
49         * objects/standard/textobj.c: Applied patch from Grégoire Dooms
50         <dooms info ucl ac be>: Add vertical alignment for standard text
51         object.  This should really be moved into lib/text.c and apply to
52         all text objects.
54 2005-09-03  Lars Clausen  <lars@raeder.dk>
56         * app/connectionpoint_ops.c (connectionpoint_draw): Only draw
57         mainpoint when snap-to-objects is not on.
59         * app/Makefile.am (ICON_PNG_PAIRS): 
60         Fake icons for snap-to-objects.
62         * app/commands.[ch]: 
63         * app/menus.c (menus_get_image_menubar): 
64         * app/display.[ch]: 
65         * app/interface.c (create_display_shell): 
66         * app/create_object.c (create_object_button_release): 
67         * app/disp_callbacks.c (ddisplay_drop_object): 
68         * app/object_ops.[ch]: 
69         * app/connectionpoint_ops.c (ddisplay_connect_selected): 
70         * app/modify_tool.c (modify_button_release): 
71         * app/display.[ch]: 
72         Togglable snap-to-objects, also doesn't snap when moving entire
73         object.  This should be more reasonable in practical use, and can
74         be turned off when you want to place your arrows more precisely.
76 2005-08-06  Hans Breuer  <hans@breuer.org>
78         * plug-ins/cairo/diacairo.c : increased #ifdef MESS:
79         With Gtk+-2.7.x cairo must be available so the HAVE_CAIRO case
80         becomes even more ugly when the user has choosen *not* to build 
81         the diacairo plug-in. If noone can come up with a very convincing 
82         reason why it has to be done this way I'll probably go back to 
83         my original dont-build-at-all approach when this breaks the 
84         next time.
86 2005-08-02  Lars Clausen  <lars@raeder.dk>
88         * objects/standard/arc.c: Patch from Grégoire Dooms
89         <dooms@info.ucl.ac.be>: An almost perfect arc autogap
90         implementation.  "There is still a small bug when the non
91         connected end of the arc is very close to the border of the
92         connected object. I think this is due to rounding errors in the
93         code for SHIFT-move handle which is reused to trim the arc in
94         autogap. Also it is not yet possible to have a startgap and an
95         endgap from/to the same central CP."
97 2005-07-31  Hans Breuer  <hans@breuer.org>
99         * plug-ins/cairo/diacairo.c congigure.in : dont wait any 
100         longer for distributions official packages - depend 
101         on cairo 0.6.0 - fixes bug #307144
103 2005-07-20  Hans Breuer  <hans@breuer.org>
105         * lib/element.h : remove stray NULL in ELEMENT_COMMON_PROPERTIES
106         which must match PropDescription, that is make it at least compile.
108 2005-07-19  Hans Breuer  <hans@breuer.org>
110         * app/diagram.c(new_diagram) : what comes from g_object_new()
111         MUST NOT be g_free()'d 
113         * lib/message.h : added dia_message_filename() here as well.
114         Mainly to not touch all files using. They *all* where using
115         lib/message.h already! Maybe the implemantation should be moved
116         to message.c as well cause the function has *nothing* to do
117         with dynamic filename resolving. It is a wrapper around
118         g_display_filename() mostly (only?) used for messages ...
119         * lib/dia_dirs.c(dia_message_filename) : fix C99ism
121 2005-07-18  Lars Clausen  <larsrc@raeder.dk>
123         * objects/EML/instantiation.c (instantiation_load): 
124         * objects/EML/interaction-ortho.c (interaction_ortho_type) 
125         * objects/ER/participation.c (participation_type): 
126         * objects/FS/flow-ortho.c (orthflow_type): 
127         * objects/GRAFCET/vector.c (arc_load): 
128         * objects/standard/zigzagline.c (zigzagline_type): 
129         * objects/UML/transition.c (transition_load): 
130         * objects/UML/realizes.c (realizes_load): 
131         * objects/UML/dependency.c (dependency_load): 
132         * objects/UML/generalization.c (generalization_type): 
133         * objects/UML/association.c (association_type): 
134         * objects/UML/component_feature.c (compfeat_load): 
135         Make autorouting deafult on except for old diagrams.
137         * plug-ins/cairo/diacairo.c (export_data): 
138         * plug-ins/cgm/cgm.c (export_cgm): 
139         * plug-ins/dxf/dxf-export.c (export_dxf): 
140         * plug-ins/dxf/dxf-import.c: 
141         * plug-ins/hpgl/hpgl.c (export_data): 
142         * plug-ins/metapost/render_metapost.c: 
143         * plug-ins/pixbuf/pixbuf.c: 
144         * plug-ins/pstricks/render_pstricks.c: 
145         * plug-ins/python/pydia-render.c: 
146         * plug-ins/shape/shape-export.c: 
147         * plug-ins/svg/render_svg.c: 
148         * plug-ins/svg/svg-import.c: 
149         * plug-ins/wpg/wpg.c 
150         * plug-ins/xfig/xfig-export.c: 
151         * plug-ins/xfig/xfig-import.c: 
152         * plug-ins/xslt/xslt.c: Use dia_message_filename to ensure legal
153         UTF-8 in message boxes.
155 2005-07-18  Lars Clausen  <lars@raeder.dk>
157         * lib/element.h (ELEMENT_COMMON_PROPERTIES): Allow Element objects
158         to have their dimensions specified in properties.  Still needs to
159         have proper update when setting properties cause constraint changes.
161         * app/preferences.c (update_floating_toolbox): Allow
162         toolbox_on_top setting to happen at once.
164         * app/diagram.c
165         * app/filedlg.c
166         * app/load_save.c
167         * app/render_eps.c
168         * app/sheets_dialog_callbacks.c
169         * lib/dia_dirs.c
170         * lib/dia_dirs.h
171         * lib/dia_xml.c
172         * lib/diarenderer.c
173         * lib/element.h
174         * lib/object_defaults.c:
175         Patch from lav@altlinux.ru (Vitaly Lipatov): Make filenames safe
176         for displaying in messages - better than crashing!  Mostly fixes
177         #310087.
178         
179         * objects/UML/class.c:  Save normal_font_height under the same
180         name it gets loaded as.  Fixes bug #310515.
182         * doc/en/authors.xml
183         * doc/en/usage-customization.xml
184         * doc/en/usage-objects-special.xml
185         * doc/en/usage-objects.xml: Some documentation fixes.  Fixes bug
186         #308315.
188 2005-07-17  Lars Clausen  <lars@raeder.dk>
190         * doc/en/usage-customization.xml: 
191         * doc/en/usage-objects.xml: 
192         * doc/en/authors.xml: 
193         * doc/en/usage-objects-special.xml: Applied patch from
194         stigge@antcom.de (Roland Stigge):  Diverse typos and
195         misencodings.  Fixes bug #308315.
197         * objects/UML/class.c (umlclass_save): Patch from
198         i.pilcher@comcast.net: Save normal font height under correct name
199         to reload it.  Fixes bug #310515.
201 2005-07-10  Hans Breuer  <hans@breuer.org>
203         * app/connectionpoint_ops.c app/object_ops.c : make the
204         'whole object' connection point only center point again. 
205         That is: it is visible and far less magnetic. Only the
206         line gap handling make it special. For me this probably
207         fixes bug #303301
209         * lib/neworth_conn.c : apply the same as for bug #173031.
210         This OrthConn fork got broken as well. Fixes bug #309381
212         * app/makefile.msc objects/makefile.msc : adapt to icon changes
214         * app/interface.c app/diagram_tree.c : a char** is still not 
215         a char* and the win32 build is configured to error on 
216         sloppiness like this
218         * plug-ins/wmf/wmf.cpp : fix typo in preprocessor condition
220 2005-07-10  Hans Breuer  <hans@breuer.org>
222         [
223           Take part in the toolbox icon redesign context! If you want to 
224           make them really prettier, please keep the following in mind :
225           - the size *must* be 22x22 otherwise button reflow will get broken.
226             Or you need to change about 800 icons at once.
227           - one important part of Dia are control points, so maybe the icons
228             should reflect that. (IMO gathering random icons form other 
229             apps wont work)
230           - the icons should at least look consistent in their group
231         ]
233         * app/Makefile.am : use 22x22 variants mostly lent from The GIMP
234         * app/pixmaps/*.png : added arrow-22.png scroll-22.png zoom-22.png
236         * objects/standard/*.c : get rid of xpm includes to avoid mixing icon sets
237         * objects/standard/pixmap/* : added arc.png beziergon.png 
238         bezierline.png box.png ellipse.png image.png line.png polygon.png 
239         polyline.png text.png zigzagline.png
240         * objects/standard/Makefile.am : use the new icon set including
241         text and arc ...
243         * app/interface.c : remove the "will probably crash" debug spew
245 2005-07-09  Lars Clausen  <lars@raeder.dk>
247         * objects/standard/pixmaps/*.png:
248         * objects/standard/Makefile.am:
249         * objects/standard/*.c:
250         * app/interface.c: 
251         * app/diagram_tree.c (create_object_pixmap): Fix icon loading. use
252         new icons. [Slightly belated entry]
254 2005-07-03  Hans Breuer  <hans@breuer.org>
256         * app/diagram_tree.c : dont leak display name
257         * app/app_procs.c : dont leak GOptionContext
258         * app/prop_widgets.c(frame_beginprop_get_widget) : 
259         Gtk api still not eating strings ...
261         * objects/UML/class.c() : don't load properties once more 
262         which are already loaded by StdProps. In case of strings 
263         (data_string) it has even produced leaks.
265         * app/paginate_psprint.c app/diagram.[hc] : the last
266         of the related dialogs is gone and with it the 
267         misconception of destroying widgets from 
268         diagram::finalize()
269         * app/display.c : ensure the diagram is still threre
270         when we remove the display from it's list
272 2005-07-01  Hans Breuer  <hans@breuer.org>
274         * lib/widgets.c(dia_color_selector_more_callback): dont 
275         free old_color twice
277         * plug-ins/wmf/wmf.cpp : finally added enahnced meta file
278         option. Thus linestyles can be preserved on export - at 
279         least on NT based systems.
281         * NEWS : clarify the wmf outside of windows issue
283         * app/modify_too.c : fix C99ism
285         * objects/standard/arc.c : debug spew optional at compile time
287 2005-06-26  Hans Breuer  <hans@breuer.org>
289         [ Cyrille would call it: warningectomy :-]
291         * lib/font.c app/create_object.c : `...' might be used uninitialized
292         in this function. Yes they were.
293         * app/modify_tool.c : modify_tool.c:610: warning: `obj' might be used 
294         uninitialized in this function. Yes it was with textedit_activate_object()
295         Also some static correctness.
296         * lib/diarenderer.c:678: warning: no previous prototype for 
297         `calculate_min_radius'. Made static.
298         * lib/dia_svg.c : ptr is a gchar *
299         * dia_xml.c(data_point,data_rectangle) : gchar *str for parsing
300         * lib/prop_text.c(multistringprop_get_widget) : use G_CALLBACK
301         * app/app_procs.c : confirm warning and make dump_dependencies() static
302         * app/autosave.c : #if 0'd old stuff
303         * app/display.c : GTK_CHECK_MENU_ITEM() for snap_to_grid
304         * 
305         * lib/text.c lib/font.c objects/standard/line.c object/UML/class.c
306           objects/Istar/goal.c objects/standard/bezier.c objects/standard/beziergon.c
307           plug-ins/cgm/cgm.c plug-ins/cairo/diacairo.c plug-ins/hpgl/hpgl.c
308           plug-ins/wpg/wpg.c plug-ins/svg/svg-import.c plug-ins/shape/shape-export.c
309           plug-ins/dxf/dxf-export.c plug-ins/gprint/diagnomeprintrenderer.c
310           plug-ins/gprint/diagnomeprint.c  plug-ins/xfig/xfig-export.c
311           app/diagram_tree_menu_callbacks.c app/recent_files.c app/undo.c app/menus.c
312           app/diapsrenderer.c app/diagram.c app/disp_callback.c : 
313         removed unused variables and functions
314         * objects/UML/umlattribute.c objects/UML/umloperation.c 
315           objects/UML/umlparameter.c objects/UML/umlformalparameter.c : 
316         neither 'missing braces around initializer' nor 'initialization from 
317         incompatible pointer type'
318         * objects/UML/class_dialog.c : more static
319         * app/interface.c : static and almost const correctness and some
320         less unitialized variables.
321         * app/diapsft2renderer.c : use (int) casts like the original 
322         (http://imagic.weizmann.ac.il/~dov/freesw/paps/ v0.4) does
323         * app/render_gdk.c: stop assignment from incompatible pointer type,
324         make member functions match the prototype.
325         * app/render_libart.c : Dito. Also stop caching the copy_gc in
326         a static variable. Otherwise it finally leaks and also may cause 
327         BadMatch with changing windows
328         => warning count down from about 250 to about 60, one or two hand full 
329            crash bugs less.
331 2005-06-26  Hans Breuer  <hans@breuer.org>
333         * lib/libdia.def : added dia_font_get_description, missing
334         from my last commit
336         * app/app_procs.c : use png_get_header_ver(NULL), that is:
337         prefer function call over exported variable to get the 
338         runtime version of libpng
340 2005-06-19  Hans Breuer  <hans@breuer.org>
342         * plug-ins/python/Makefile.am : added codegen.py to EXTRA_DIST
343         as suggested by Roland Stigge, bug #308310
345 2005-06-19  Hans Breuer  <hans@breuer.org>
347         * app/filedlg.c(file_export_callback) : oops, gtk_widget_show() wasn't 
348         called anymore
350 2005-06-18  Hans Breuer  <hans@breuer.org>
352         * NEWS : mention new file dialog
354         [plugged remaining leaks from bug #142669]
355         * lib/prop_attr.c(fontprop_free) : not only unref the font
356         but free the property itself, too. 
357         * app/diagram_tree.c(create_diagram_children): remember the
358         original list start to not only free the last element 
360         * lib/prop_sdarray.c:64: warning: `arrayprop_free' defined 
361         but not used. Here it meant a potentially huge leak.
363 2005-06-18  Hans Breuer  <hans@breuer.org>
365         * po/POTFILES.in : removed app/diaconv.c which isn't referenced 
366         by app/Makefile.am anymore either. Should finally fix 'make distcheck' 
367         for others, too. ( Roland Stigge, bug #144527 )
369 2005-06-18  Hans Breuer  <hans@breuer.org>
371         * plug-ins/wmf/Makefile.am : prevent installation. It 
372         doesn't do anything useful on *NIX and even seems to be
373         linked wrong by gcc (or me;). Fixes bug #172830 
375 2005-06-18  Hans Breuer  <hans@breuer.org>
377         * app/textedit.[hc] lib/arrows.[hc] plug-ins/xslt/xslt.h
378           plug-ins/xslt/xsltdialog.c plug-ins/xslt/xslt.c : fix for sloppiness
379         in function declarations. 'f();' for a function without parameters is
380         a C++ism. Though I can't get any of my compilers to warn about it.
381         Finally fixes bug #142663.
383 2005-06-18  Hans Breuer  <hans@breuer.org>
385         * app/textedit.[hc] lib/arrows.[hc] plug-ins/xslt/xslt.h
386           plug-ins/xslt/xsltdialog.c plug-ins/xslt/xslt.c : fix for sloppiness
387         in function declarations. 'f();' for a function without parameters is
388         a C++ism. Though I can't get any of my compilers to warn about it.
389         Finally fixes the rest of bug #142663.
391 2005-06-18  Hans Breuer  <hans@breuer.org>
393         * lib/font.h lib/font.c : _DiaFont is now private to prepare bigger 
394         changes but doesn't hurt anyway. See bug #162034 
395         * app/diapsft2renderer.c app/modify_tool.c 
396           plug-ins/gprint/diagnomeprintrenderer.c : use dia_font_get_description() 
397         instead of messing with internals
398         * app/display.c : give interactive renderers more begin/end render. 
399         It is guaranteed that the scale wont change between these.
401 2005-06-18  Hans Breuer  <hans@breuer.org>
403         * app/app_procs.c : const correctness for stderr_message_internal
404         * app/dia-props.c : gtk_toggle_*() functions want GTK_TOGGLE_BUTTON 
405         not GTK_CHECK_BUTTON, also some G_CALLBACK casts
406         * app/disp_callbacks.c : don't dereference the to the function call
407         when the function pointer in meant to be checked against 0
408         * app/interface.c : warning fixes by using correct types
409         * app/modify_tool.c : describe_props() members returns const pointer
410         * app/render_libart.c : removed most of the render function again.
411         They happily live in lib/dialibartrenderer.c since almost 3 years
412         http://cvs.gnome.org/viewcvs/dia/app/render_libart.c?r1=1.31&r2=1.32
413         * lib/dia_dirs.c : dia_get_canonical_path() const correctness
414         * lib/dia_svg.c lib/dia_xml.c : some char to xmlChar changes
415         * lib/dialibartrenderer.c(set_line_join): actually set the join_style
416         instead of the cap_style. Don't initialize Art* enums with GDK_* constants.
417         Both mentioned in bug #159814 and not warned by most other compilers.
418         * lib/diagtkfontsel.c : at least the watcom compiler did not like the
419         trailing colon in the GtkTypeInfo initialization
420         * lib/properties.c : avoid redefinition of LIBDIA_COMPILATION
421         * lib/dialinechooser.c lib/diagdkrenderer.c : there may be a difference 
422         between char and gint8
423         * plug-ins/metapost/render_metapost.c : replace invalid escape \% with %%
424         * plug-ins/wpg/wpg.c : consitently use guint8
425         * config.h.win32 : change HAVE_* defines to 1 not empty, avoids 
426         redefinition warnings for python and xslt plug-ins
428 2005-06-18  Hans Breuer  <hans@breuer.org>
430         * lib/diagramdata.c : really get rid of diagram_data_destroy 
431         and new_diagram_data [ no previous prototype for `...' is either
432         a sign of missing static or of a function to vanish :-]
434         * lib/geometry.c : apparently the G_INLINE stuff was working only
435         with particular GLib version(s), glib-2.6.4 does not. Conditionally
436         reverting to the old mecanics.
438 2005-06-17  Hans Breuer  <hans@breuer.org>
440         * plug-ins/python/pydia-*.c : include order tweaking to 
441         get rid of redefinition warnings. Ensure to include <Python.h> 
442         before any 'system' header, some dragged in by glib.h
443         * plug-ins/python/pydia-diagramdata.c(PyDiaDiagramData_Str)
444           pydia-properties.c(PyDiaProperties_Str)
445           plug-ins/python/pydia-property.c(PyDiaProperty_Str) : 
446         use %p to format pointers
447         * plug-ins/python/pydia-geometry.c(PyDiaArrow_Str) : 
448         dont cast to float for %d
449         * plug-ins/python/pydia-handle.c(PyDiaHandle_Connect) : 
450         use correct pointer type
451         * plug-ins/python/pydia-image.c(PyDiaImage_Str) :
452         dont discard qualifier aka dont free const strings
453         * plug-ins/python/pydia-properties.c : casts to PyCFunction
454         * plug-ins/python/pydia-property.c : removed unused function,
455         make ensure_quarks() static
456         * plug-ins/python/pydia-render.c : removed unused vars, use
457         the correct signature for begin_render
458         (dia_py_renderer_finalize): pluged a leak
459         => except -fno-strict-aliasing there is no warning left in 
460            all of PyDia
462 2005-06-12  Hans Breuer  <hans@breuer.org>
464         * app/filedlg.c : really fix the file extension mismatch on export dialog
465         by working around some gtk+-2.6 behaviour (bug #307378). Fixes bug #305850
467 2005-06-11  Hans Breuer  <hans@breuer.org>
469         * configure.in config.h.win32.h : mark as +cvs (should have been 
470         done directly after the 0.94 release)
471         * NEWS : attempt to summarize 2/3 year of development
473         [ 
474           WANT_AUTOMAKE=1.7 ./autogen.sh && ./conifugre  --enable-maintatiner-mode && make distcheck
475           finally passes again
476         ]
477         * app/app_procs.c : force use of POPT for the GNOME case, otherwise
478         app/run_dia.sh --credits > THANKS => Segmentation fault
479         * app/pixmaps/Makefile.am : added group.png and ungroup.png
480         * Makefile.am : work around scrollkeeper bug
481         * doc/en/Makefile.am : explicit list DISTCLEANFILES = dia.1
483         * po/*.po : 'noise' produced by make dist
485 2005-06-10  Hans Breuer  <hans@breuer.org>
487         * lib/properties.h : define PROP_STD_SHOW_BACKGROUND_OPTIONAL ...
488         * objects/custom/custom_object.c : ... and use it to avoid 
489         complains about missing attribute "show_background". It is 
490         safe to leave this uninitialized. Same for flip_* and "text",
491         the latter with comment cause it usually is *not* safe to do 
492         it for the general case. Fixes remaining issues with bug #169006
493         which where caused by an incompatible change in the shape file.
495         * app/commands.c : use "gnome-open" instead of "netscape" as
496         fallback for $BROWSER not set. Still not optimal but better
497         to try some common desktop tool than an obsolete browser;)
498         Fixes bug #307142. Also some whitespace changes.
500         * app/interface.c(toolbox_delete): avoid random return value.
501         Patch from Stanislav Brabec, fixes bug #307143
503         * shapes/Cisco/Makefile.am : added a bunch of new shapes/pngs.
504         Patch from Torben H. Nielsen (bugzilla is still the preferred way)
505         http://mail.gnome.org/archives/dia-list/2005-June/msg00015.html
507 2005-06-06  Lars Clausen  <lars@raeder.dk>
509         * app/diagram.c: 
510         * app/modify_tool.c:
511         * app/textedit.[ch]:
512         Better support for text edit highlight.
514         * app/connectionpoint_ops.c (connectionpoint_draw): Stop making
515         the mainpoint extra visible.
517 2005-06-02  Lars Clausen  <lars@raeder.dk>
519         * objects/UML/class_dialog.c:
520         * objects/UML/class.[ch]:
521         The final fixes for mainpoint on UML Class.
523         * sheets/cisco*.in, shapes/Cisco/*: New set of Cisco icons from
524         Ian Redfern, now in color and with mainpoints!  Very pretty!
526 2005-06-02  Hans Breuer  <hans@breuer.org>
528         * objects/UML/class_dialog.c : the memory managment with respect to
529         attribute/operation connections was/is a mess. But it should work again ;)
531         * samples/UMLPackages.dia samples/Composite-Action.dia : some diagrams
532         directly from the UML Specification - to show the power of Dia and 
533         some weakness. Watch the bug reports following ;)
535 2005-06-01  Hans Breuer  <hans@breuer.org>
537         * app/dia.def : export diagram_update_connections_object
538         * plug-ins/python/pydia-diagram.c : wrap diagram_update_connections_object
539         Patch from Paolo Bernardi, together with the property setting closes bug #300572
541 2005-06-01  Hans Breuer  <hans@breuer.org>
543         * plug-ins/python/pydia-property.c : complete refactoring of property 
544         setting, now also supports setting of property arrays
545         * plug-ins/python/pydia-*.c plug-ins/python/diamodule.c : adapt to 
546         Python namespacing conventions
547         * plug-ins/python/pydiadoc.py : use the stuff above to produce more 
548         complete UML Classes with attributes and operations
549         * plug-ins/python/otypes.py : now also show the properties of the objects
551         * objects/UML/class.c(umlclass_set_props) : need to update object::connections
552         (pointers), they might be changed with attributes and opertions changing
554         * plug-ins/python/pydia-property.c : PointArray and BezPointArray property getters
555         were broken. Apparently noone used them before.
557         * plug-ins/python/pydia-diagram.c plug-ins/python/pydia-diagramdata.c : moved methods
558         which only operate on the DiagramData to the latter file. To get on the DiagramData
559         object of a Diagram use diagram.data. [In C the Diagram is a subclass of DiagramData, 
560         but I don't know how to reflect that in the bindings. And for backward compatibility 
561         there also is the 'data' member.]
563         * objects/UML/uml.c objects/UML/umlattribute.c objects/UML/umloperation.c 
564           objects/UML/umlparameter.c : describe enums with PropEnumData
566         * app/commands.c(view_show_all_callback) : if there is something selected show 
567         that instead of all exisiting objects. If there is noting or all selcted it 
568         "Show all" shows the old behaviour.
570         * lib/parent.[hc] lib/object.c app/disp_callbacks.c app/diagram.c : plug some memory 
571         leaks and use less allocations caused by misguided API. Also some adaption to common 
572         coding style
574         * objects/UML/class.h : add some comment about the brokeness of UML_MAINPOINT
576         * app/makefile.msc : added new icons and build as console app while 
577         not releaseing to the general public
579         * objects/custom/shape_info.c : use g_strdup("") for a field to be g_free()'d
580         and keep a refernce when storing the a font from style="" in s.font. This should
581         finally allow to have shapes with fully predefined text (and no 'random' crashes)
583         * plug-ins/gprint/diagnomeprint.c : disable GNOME_SVG until I've found a program
584         capable to interpret it's output
586 2005-05-31  Lars Clausen  <lars@raeder.dk>
588         * sheets/ER.sheet.in: No more xpms referenced in sheets. Fixes bug #151811.
590 2005-05-30  Pawan Chitrakar  <pawan@nplinux.org>
592         * configure.in: Added ne in ALL_LINGUAS
594 2005-05-24  Lars Clausen  <lars@raeder.dk>
596         * lib/font.c: Change to make DIA_FONT_ITALIC turn into -Oblique PS
597         fonts for legacy fonts.  They don't have DIA_FONT_OBLIQUE setting
598         anyway. 
600 2005-05-23  Lars Clausen  <lars@raeder.dk>
602         * lib/paper.c: Added Ledger size paper.  Fixes bug #305254.
604 2005-05-21  Lars Clausen  <lars@raeder.dk>
606         * lib/diaarrowchooser.c: 
607         * lib/arrows.[ch]: Patch from Radek Krahl <ptasz3k@o2.pl>: Add
608         'infinite' line (three dots) arrowhead.  Fix line length in arrow
609         preview.  And fix typo.  Fixes bug #303904. 
611 2005-05-20  Hans Breuer  <hans@breuer.org>
613         * lib/text.c : advice from valgrind and data_string() review:
614         neither g_free() memory on the stack
615         * objects/GRAFCET/boolequation.c : ... nor const strings 
616         * objects/UML/association.c:934 : definitely lost. Even g_strdup("")
617         wants to be freed
619         * app/diagram.c : a g_object_ref() following g_object_new() is almost
620         always wrong. Why would we need two refernces?
621         * app/app_procs.c : same here.If it crashes later on someone is dropping
622         refernces he does not own, and *that* needs to be fixed. This is reverting
623         "Remember to ref g_object_new'd object" (bug #170972) below, which 
624         causes more harm (leaking, hiding bugs elsewhere) than good.
626         * app/app_procs.c lib/diagramdata.[ch] lib/libdia.def : get rid of
627         diagramdata_destroy() which was only a wrapper to g_object_unref()
629         * app/display.c(selection_changed) : don't g_strdup_printf() without
630         g_free() later /or/ a C++ comment of me mostly denotes an error
632         * app/diagram.c : diagram_parent_sort_cb make signature match GCompareFunc
634         * lib/widget.c : dia_dynamic_menu_select_entry() cleanup. If it takes a
635         const gchar* entry it must not eat memory, added a lot of g_free() and
636         some const. Fixed a bunch - i.e. *all* - warnings.
637         * lib/widget.h : removed unused/deleted functions
639         * app/layer_dialog.c(dia_layer_widget_connectable_toggled) : trying to
640         avoid 'Invalid write of size 4', no luck yet
642 2005-05-19  Lars Clausen  <lars@raeder.dk>
644         * objects/UML/class.c: 
645         * objects/UML/class.h: 
646         * objects/UML/class_dialog.c: Work on getting a proper mainpoint
647         for uml class object.  #ifdef'd out right now.
649 2005-05-18  Lars Clausen  <lars@raeder.dk>
651         * objects/standard/line.c: Make line adjust its actual endpoints
652         for autogap -- looks and feels better.
654         * objects/standard/arc.c: 
655         * lib/geometry.h: 
656         * app/modify_tool.c: Patch from Grégoire Dooms
657         <dooms@info.ucl.ac.be>:  First stab at autogap for arcs, and
658         shifted arc angle movement.
660 2005-05-16  Hans Breuer  <hans@breuer.org>
662         * lib/widget.c : variable declarations need to be at the start of a block,
663         at least as we are not using C++ or C99
665         * plug-ins/python/pydia-property.c : implment the read part for Property
666         arrays - aka. umlclass.properties["operations"], umlclass.properties["attributes"]
667         They are working quite well as can be seen with export-object.py
669         * plug-ins/python/codegen.py : prove it once more with the generation of C++
670         or Python code from an UML Diagram. Simply save as .py or .cxx ...
671         * plug-ins/python/Makefile.am : install it
673 2005-05-16  Lars Clausen  <lars@raeder.dk>
675         * app/pixmaps/{un}group.png: 
676         * app/Makefile.am (ICON_PNG_PAIRS): 
677         * app/menus.c (display_menu_items): 
678         New icons for grou/ungroup finally added, closing bug #105519.
680         * app/Makefile.am: Dependencies for pixmaps.
682         * app/pixmaps/connectable.png: An icon that actually makes sense
683         for switching connectability.
685 2005-05-15  Hans Breuer  <hans@breuer.org>
687         * lib/group.c object/UML/classicon.c : fixed leftovers of
688         'Adding connectionpoint to _move_handle
690         * lib/widgets.c : gtk+ *NEVER* eats strings, so gtk_something(widget, g_strdup())
691         is *ALWAYS* a memory leak. Plug some more.
693         [
694          In preparation to make UML operations/attributes/parameters setable by Python
695          UML class became more StdProp conformant. A nice experience to be the first 
696          to use the PROP_TYPE_DARRAY stuff about four years after it was written ;-)  
697         ]
698         * objects/UML/umlattribute.c objects/UML/umloperation.c 
699           objects/UML/umlparameter.c objects/UML/umlformalparameter.c : (new files) 
700         split from objects/UML/uml.c and made StdProp aware
701         * objects/UML/class.c : finally make "attributes", "operations", "templates"
702         <template parameters> first class StdProps citizens.
703         (umlclass_load) : removed hand-written parsing for the above, it is all done
704         by object_load_props() now. The old write code is still in place, so be very
705         careful when changing something - at the moment load/save it is 100% compatible 
706         as it needs to be.
707         * objects/UML/uml.c : now just type registration here, as it is supposed to be
708         * objects/UML/Makefile.am objects/makefile.msc : build the new files
710         * lib/properties.h(PropDescCommonAreaExtra) : need a place to store the 
711         in-record offsets
712         * lib/prop_sdarray.c : made the DARRAY case work, SARRAY still untested
713         (darray_prop_adjust_object_records) : don't loop forever
714         (whole file) : use the new (working) way to get on the second level offsets.
715         Also resolved some abbreviations, it is complicated enough without them ;)
716         * lib/proplist.c : even complete list contents may be optional
718 2005-05-15  Hans Breuer  <hans@breuer.org>
720         * lib/bezier_conn.c(remove_handles) : don't try to remove 
721         non-exisitng handles (patch from Radek Krahl, bug #302273)
723 2005-05-15  Hans Breuer  <hans@breuer.org>
725         * plug-ins/metapost/render_metapost.c : locale independent output
726         (Radek Krahl, bug #301866)
728 2005-05-12  Lars Clausen  <lars@raeder.dk>
730         * shapes/Cisco/*.{shape,png}:
731         * sheets/cisco*.sheet.in:
732         Updated with color icons from Ian Redfern, closing bug #303889.
733         Added automatic midpoints, not attempt at adjusting them.
735 2005-05-11  Lars Clausen  <lars@raeder.dk>
737         * many shapes:  Use mid of bounding box for midpoint, better than
738         mid of connection points generally.
740 2005-05-10  Lars Clausen  <lars@raeder.dk>
742         * lib/widgets.c: Decided on one way for the ratio thing in arrow
743         size selector:  Fixed ratio is on by default and keeps the sizes
744         at the given ratio, but doesn't clamp them to be the same.  Fixes
745         bug #302861.
747         * lib/font.c: Fix for bug #303695: Allow more than one entry of
748         each legacy name, thereby correctly encoding bold and italic of
749         the three main fonts.  Also use | rather than || to combine slant
750         and weight, so matching works.  Had to remove binary search for
751         new font name, but the list is short enough it's not a problem.
753 2005-05-09  Lars Clausen  <lars@raeder.dk>
755         * lib/autoroute.c (autoroute_layout_orthconn): Remove debugging info.
757 2005-05-08  Hans Breuer  <hans@breuer.org>
759         * objects/UML/class.c : Reverted to have no center point.
760         At first it looked as if there was only the bug to not increase
761         class.h:UMLCLASS_CONNECTIONPOINTS. But the UMLClass has 
762         potentially much more dynamic connection points (to the left
763         and right of every attribute/operation). Now simply adding one
764         between see static and dynamic will screw up any existing diagram
765         which makes use of the dynamic connection points. The would all
766         be connected with an off-by-one error. I have no idea how to
767         code around that. But breaking backward compatibility is no 
768         option here. Does not completely fix bug #303301 ...
769         
770         * lib/widget.c(dia_font_selector_set_font): actually set the options 
771         menu state. So we are not any longer resetting the font style on Apply.
772         Use "UML - Class" dialog as stress text example.
774         * app/command.c : some people insist to close diagrams already
775         closed using tear-off menus. Maybe we should add a dialog 
776         "Do you want to call Dr. Watson now?". If there is no diagram
777         to close anymore just do nothing, fixes bug #303221
778         * app/display.c(ddisplay_close) : use g_return_if_fail(ddisp != NULL);
779         Calling this with no display to close is a pathological case.
781         * app/diagram.[hc] : moved object.h and other DiaObject stuff
782         to the implementation in preparation of Big Things(tm)
784         * app/interface.c : less warnings and make it compile. strncmp()
785         does not take a char**, neither does gdk_pixbuf_new_from_inline().
787         * objects/makefile.msc plug-ins/makefile.msc : less output
789 2005-05-08  Lars Clausen  <lars@raeder.dk>
791         * lib/orth_conn.c (orthconn_init): The right place to set the
792         default autorouting value.  Fixes bug #303291.
794         * app/display.c (ddisplay_close): Patch from Radek Krahl
795         (ptasz3k@o2.pl):  Fix crash when using from detached menu
796         (#303221)
797         
798 2005-05-07  Lars Clausen  <lars@raeder.dk>
800         * lib/orth_conn.c (orthconn_load): Autorouting should default to
801         off in diagrams that don't have it explicitly.  All diagrams
802         should be explicit about it.
804 2005-05-06  Hans Breuer  <hans@breuer.org>
806         * app/samples/Self/*.dia : some UML diagrams describing Dia's
807         inner working (or it's future;)
809 2005-04-26  Lars Clausen  <lars@raeder.dk>
811         * app/connectionpoint_ops.c (connectionpoint_draw): Temporary
812         change to display of mainpoint to be easier to debug autogenerated
813         ones. 
815 2005-04-23  Hans Breuer  <hans@breuer.org>
817         * plug-ins/python/diamodule.c plug-ins/python/pydia-object.h
818           plug-ins/python/pydia-properties.h : use lib/ prefix for
819         Dia internal headers with too common names (fixes bug #173061)
821         * app/display.c : stop special casing the first display of
822         a diagram. Every display now has it's own refernce. The initial
823         reference gets dropped when there is no display anymore. See
824         diagram_remove_ddisplay(). Fixes bug #300744.
826         * app/diapsft2renderer.c : locale independent output
827         (Radek Krahl, bug #300847)
828         * app/paginate_psprint.c :  fixing use of setlocale() calls
829         (Radek Krahl, bug #300886)
830         * plug-ins/shape/shape-export.c : fixing use of setlocale() calls
831         (Radek Krahl, bug #300889)
833         * objects/UML/class.c : fix another crash with the line 
834         wrapping code (Gabor Simon, bug #160865)
836         * plug-ins/cairo/diacairo.c : image rendering had an endianess 
837         issue (or is this working around a libpixman bug?;)
839 2005-04-21  Lars Clausen  <lars@raeder.dk>
841         * lib/polyshape.c (polyshape_update_data): Fixed numpoint off-by-one.
843         * shapes/**/*.shape: All shapes now have midpoints.
845 2005-04-20  Lars Clausen  <lars@raeder.dk>
847         * lib/orth_conn.c (orthconn_update_data): Patch from ptasz3k@o2.pl
848         (Radek Krahl): Make sure there's enough handles for the line.
849         Fixes bug #173031.
851         * objects/UML/node.c (node_draw): Better drawing method avoids
852         garbage after moving.  Fixes bug #301032.
854 2005-04-17  Hans Breuer  <hans@breuer.org>
856         * plug-ins/cairo/diacairo.c : again adapt to Cairo API 
857         changes (whould compile with current cvs and 0.(3|4).0
859 2005-04-11  Lars Clausen  <lars@raeder.dk>
861         * xmldocs.make (all): Fix to put installed docs in right place
862         under disable-gnome.
864         * doc/en/Makefile.am: Use xml_files var for xml files, EXTRA_DIST
865         only for dia.dbk.
867         * app/commands.c (help_manual_callback): Patch from p@kapcoweb.com
868         (Leonardo Boshell): Use standard gnome help if called with Gnome.
870         * app/diapsrenderer.c: Patch from ptasz3k@o2.pl (Radek Krahl): Fix
871         locale issues for eps output.  Fixes bug #173135.
873 2005-04-10  Hans Breuer  <hans@breuer.org>
875         * plug-ins/cairo/diacairo.c : adapt to Cairo PNG API 
876         changes (somewhat broken)
877         
878         * plug-ins/pstricks/render_pstricks.c : still C89 ...
879         * objects/custom/shape_info.c : ... but with prototypes
880         
881 2005-04-07  Lars Clausen  <lars@raeder.dk>
883         * lib/dia_xml.c: 
884         * plug-ins/svg/render_svg.c: 
885         * lib/diasvgrenderer.c: Patches from ptasz3k@o2.pl (Radek Krahl):
886         Make decimal separators be correct in save file formats
887         (non-localized).  Fixes bugs #172529 and 172531.
889 2005-04-06  Lars Clausen  <lars@raeder.dk>
891         * app/create_object.c (create_object_button_release): 
892         * app/modify_tool.c (modify_button_release): Correct activations
893         of text edits.
895 2005-04-05  Simon Kågström  <ska@bth.se>
897         * app/app_procs.c: the --show-layers option can now handle numeric
898         ranges of layers.
900 2005-04-05  Lars Clausen  <lars@raeder.dk>
902         * lib/diagdkrenderer.c (draw_string): Patch from tomkast@yahoo.com
903         (Tom Kast): Avoid blockiness caused by bad updates.
905 2005-04-03  Lars Clausen  <lars@raeder.dk>
907         * lib/polyshape.c: 
908         * lib/beziershape.c: Main points.  A crude solution, having the
909         center in the middle of the bb.  Shows a bug in the distance_from
910         code for polyshape when a side is horizontal.
912 2005-04-02  Lars Clausen  <lars@raeder.dk>
914         * plug-ins/pstricks/render_pstricks.c: 
915         * plug-ins/xfig/xfig-export.c: Patch from Radek
916         Krahl <ptasz3k@o2.pl>: Fix decimal point problems. Fixes bugs 
918 2005-04-02  Hans Breuer  <hans@breuer.org>
920         * lib/dia_image.c(dia_image_filename) : return the path 
921         again. (bug #172416, Radek Krahl)
922         
923 2005-04-01  Steve Murphy  <murf@e-tools.com>
925         * configure.in: Added "rw" to ALL_LINGUAS.
927 2005-03-31  Lars Clausen  <lars@raeder.dk>
929         * lib/neworth_conn.c (neworthconn_update_data): Handle autogap.
931         * lib/orth_conn.c (orthconn_update_data): Handle autogap while not
932         autorouting.  
934         * objects/network/basestation.c: Main points.
936 2005-03-27  Hans Breuer  <hans@breuer.org>
938         * app/Makefile.am : removed some pixmap/*.xpm from EXTRA_DIST
939         * app/pixmaps.h : removed arrow.xpm
940         * lib/Makefile.am : added diamarshal
941         * plug-ins/python/Makefile.am : added makefile.msc to EXTRA_DIST
942         => makes 'make dist' pass and produce a useable package
944         * po/*.po : 'noise' profuced by make dist
946 2005-03-24  Lars Clausen  <lars@raeder.dk>
948         * objects/flowchart/parallelogram.c (pgram_update_data): 
949         * objects/flowchart/ellipse.c (ellipse_update_data): 
950         * objects/flowchart/diamond.c (diamond_update_data): 
951         * objects/flowchart/box.c (box_update_data): Main points.
953         * objects/custom/custom_object.c (custom_create): 
954         * objects/custom/shape_info.h: 
955         * shapes/Assorted/square.shape: 
956         * objects/custom/shape_info.c (load_shape_info): 
957         * doc/shape.dtd: Added main point support to shapes, and an
958         example of how to use it.
960 2005-03-21  Lars Clausen  <lars@raeder.dk>
962         * lib/autoroute.c (autoroute_layout_orthconn): Remember to
963         unnormalize from same point as you normalize, or else!
965 2005-03-20  Lars Clausen  <lars@raeder.dk>
967         * app/app_procs.c (do_convert): Patch from crux@gorodmasterov.com:
968         Remember to ref g_object_new'd object.
970 2005-03-19  Hans Breuer  <hans@breuer.org>
972         * plug-ins/xslt/xslt.c : don't crash if both places ($SHARE, $HOME)
973         have configurations, fixes bug #170962
975         * objects/UML/state.c : ("UML - State")::type is PROP_FLAG_OPTIONAL,
976         or better not used any longer. Fixes bug #169142.
978         * lib/element.c(element_update_connections_rectangle): don't initialize 
979         the eighth point twice but instead the nineth once
981         * objects/standard/bezier.c : no C++ comments *please*
983         * lib/plug-ins.h : increment DIA_PLUGIN_API_VERSION
985         * lib/dia_image.[ch] : dia_image_filename() returns a string not to be freed ...
986         * plug-ins/python/pydia-image.c : ... so, don't do it!
988         * lib/dia_svg.c : refactor color parsing and support the "rgb(127,255,0)" form,
989         also named colors via pango_color_parse()
991         * lib/prop_text.c : don't try to g_strdelimit(NULL), fixes bug #169367
993         * lib/libdia.def : updated externals
995         * app/object_ops.c : still not C99 everywhere
997 2005-03-19  Hans Breuer  <hans@breuer.org>
999         * lib/autoroute.c : at least it should compile ;)
1000         
1001 2005-03-19  Lars Clausen  <lars@raeder.dk>
1003         * lib/autoroute.c: Orthconns now do autogap.
1005 2005-03-17  Lars Clausen  <lars@raeder.dk>
1007         * app/authors.h: Added Gregoire Dooms for gap stuff.
1009         * objects/standard/polyline.c: Patch from Grégoire Dooms
1010         <dooms@info.ucl.ac.be>: Autogap and absolute gap for polyline.
1011         
1012         * objects/standard/bezier.c: Patch from Grégoire Dooms
1013         <dooms@info.ucl.ac.be>: Fixes two bugs.  Also autogap no longer a
1014         property. 
1015         
1017         * objects/UML/state_term.c: 
1018         * objects/UML/large_package.c: 
1019         * objects/UML/node.c: 
1020         * objects/UML/object.c: 
1021         * objects/UML/small_package.c: 
1022         * objects/UML/state.c: 
1023         * objects/UML/usecase.c: 
1024         * objects/UML/note.c: 
1025         * objects/UML/actor.c: 
1026         * objects/UML/classicon.c: 
1027         * objects/UML/component.c: 
1028         * objects/Misc/analog_clock.c: 
1029         * objects/Jackson/requirement.c: 
1030         * objects/Istar/goal.c: 
1031         * objects/Istar/actor.c: 
1032         * objects/FS/function.c: 
1033         * object/standard/box.c:
1034         * objects/ER/entity.c: 
1035         * objects/ER/relationship.c: 
1036         * objects/ER/attribute.c: Main points added.   Distance_from fixed
1037         in attribute, broken in relationship, I* goal, Jackson
1038         requirement, analog_clock, all non-rectangular UML elements, 
1040         * lib/libdia.def: 
1041         * lib/element.[ch]: New method to help update connection points.
1043         * app/menus.c: Change Help/Manual to Help/Contents to follow
1044         standard.
1045         
1046         * objects/standard/line.c:
1047         * lib/geometry.[ch]: 
1048         * objects/standard/bezier.c: Patch from Grégoire Dooms
1049         <dooms@info.ucl.ac.be>: Add absolute gap and autogap for line and
1050         bezier objects.   Autogap nowchanged to be a function of the
1051         connpoints.
1053         * lib/libdia.def: 
1054         * lib/connectionpoint.[ch]: New function to ask if a connpoint has the
1055         autogap flag.
1057         * app/connectionpoint_ops.c (connectionpoint_draw): Don't draw
1058         CP_FLAG_ANYPLACE connpoints.
1060 2005-03-16  Lars Clausen  <lars@raeder.dk>
1062         * app/interface.c (create_tools): Removed debug printf.
1064 2005-03-15  Lars Clausen  <lars@raeder.dk>
1066         * lib/widgets.[ch]: Constification.
1068         * app/interface.c: Work on using gdk-pixbuf-csource'd data, not
1069         working yet.
1071         * objects/standard/ellipse.c: Use CP_FLAG_MAIN for central CP.
1073         * lib/connectionpoint.h: Flags for connection points.
1075         * app/create_object.c (create_object_motion): 
1076         * app/modify_tool.c (modify_motion): Minor refactoring.
1078         * app/object_ops.c (object_find_connectpoint_display): Extend with
1079         finding connpoints that cover entire objects.
1081         * app/layer_dialog.c (dia_layer_widget_init): Get rid of warnings.
1083         * objects/custom/custom_object.c (custom_setup_properties): Avoid
1084         uninitialized use.
1086 2005-03-13  Hans Breuer  <hans@breuer.org>
1088         * plug-ins/svg/svg-import.c : handle the <circle/> tag as well
1090 2005-03-13  Hans Breuer  <hans@breuer.org>
1092         * lib/dia_svg.[hc] objects/custom/shape_info.[hc] plug-ins/svg/svg-import.c :
1093         s/DiaSvgGraphicStyle/DiaSvgStyle/, added and use convenience functions 
1094         dia_svg_style_copy(), dia_svg_style_init()
1096         * objects/custom/shape_info.c : use dia_svg_parse_path() from lib/ (it got
1097         moved out of this)
1099         * lib/dia_svg.c(dia_svg_parse_path) : also handle style properties which are
1100         not wrapped in the style attribute
1102         * plug-ins/svg/svg-import.c : implement nested group handling and style
1103         'style inheritance'. Still no transformations, no <image/>, no <style/> 
1104         <defs/>...
1106         * plug-ins/svg/svg-import.c(import_svg) : use message_warning instead of g_warning,
1107         the latter is for programmers.
1108         Also be more tolerant if the document root namespace is not 'svg'. If the svg 
1109         namespace is defined in the file search for the top node including svg. This
1110         allows us to re-read the svg part of our own shape format.
1112         * lib/libdia.def : there is no give_focus_to_object
1113         * app/textedit.c : still no C99,  aka. error C2275: 'Focus' : illegal use of this 
1114         type as an expression
1116         * lib/geometry. c : use G_IMPLEMENT_INLINES
1117         * lib/libdia.def : export point_get_perp (used by xfig plug-in)
1119         * app/textedit.c(textedit_end_edit) : don't crash if the display is already
1120         gone when trying to remove the focus
1122         * plug-ins/cairo/diacairo.c : CAIRO_HAS_WIN32_SURFACE does not any longer mean
1123         it has *my* Cairo Win32 Backend. [The official one isn't useful for the use
1124         case of this plug-in, i.e. producing output files]
1126 2005-03-13  Lars Clausen  <lars@raeder.dk>
1128         * lib/Makefile.am (BUILT_SOURCES): 
1129         * app/Makefile.am (BUILT_SOURCES): Use the Right Way[tm] to force
1130         the building of the icons header files.
1131         * app/dia-lib-icons.h: Out of CVS now that it's correctly generated.
1133 2005-03-13  Hans Breuer  <hans@breuer.org>
1135         * configure.in : require Cairo 0.3.0
1136           plug-ins/cairo/diacairo.c : changed to match ;-)
1138         * app/app_procs.c() : new function dump_dependencies()
1139         which gets called by: dia --version --verbose
1140         and may help to track version dependent problems in
1141         our dependencies
1143         * lib/font.c : reverted to previous version cause using
1144         not implemented Pango API did not improve the issue.
1145         See: http://bugzilla.gnome.org/show_bug.cgi?id=162034
1146         for more information.
1148         * lib/dialinechooser.c : a little shrinking of the 
1149         initial size (to work around line wrappjing the right 
1150         arrow control)
1152 2005-03-11  Lars Clausen  <lars@raeder.dk>
1154         * app/textedit.c: Concentrate start/end editing in single functions.
1156 2005-03-10  Lars Clausen  <lars@raeder.dk>
1158         * lib/text.h: 
1159         * lib/object.h: Added new object function to allow the object to
1160         be notified when its text is being edited.
1162         * lib/libdia.def: 
1163         * app/modify_tool.c: 
1164         * app/commands.c: 
1165         * app/textedit.c: 
1166         * lib/focus.c: Remove sideeffects from focus objects, add getter
1167         for focus->obj.
1169 2005-03-09  Lars Clausen  <lars@raeder.dk>
1171         * lib/Makefile.am (dia-lib-icons.h): 
1172         * app/Makefile.am: Minor cleanup.
1174 2005-03-06  Hans Breuer  <hans@breuer.org>
1176         * app/app_procs.c : avoid "assignment within conditional expression"
1177         and handle -L for the GOption case as well.
1179         * lib/widget.c : strchr() does not return -1 on not found but NULL;
1180         avoids widgets.c(307) : error C4047: '!=' : 'char *' differs in levels of 
1181         indirection from 'const int '
1183         * lib/diasvgenderer.c(draw_arc|fill_arc) : finally correct sweep and 
1184         large_arc, thus produce correct arc output (like diasvg.py does;),
1185         fixes bug #144401
1187         * lib/dia_svg.[hc](dia_svg_parse_path) : new function copied and adapted 
1188         from objects/custom/shape_info.c to be shared with object/custom and
1189         plug-in/svg -> finally the C based svg-import reads pathes again.
1190         Added arc parsing while I was there, which fixes bug #169191
1191         * objects/custom/shape_info.c(parse_path) : 
1192         * plug-ins/svg/svg-import : reuse above function
1193         Also fix the "root element was 'svg' -- expecting 'svg'" bug #108502.
1194         But in general this does only support a small subset of what is 
1195         possible in SVG.
1197 2005-03-06  Lars Clausen  <lars@raeder.dk>
1199         * objects/UML/association.c: Patch from Dave Klotzbach applied:
1200         Add visibility to association arrow.  Fixes bug #157012.
1202         * app/grid.c: Patch from Lawrence Withers fixes grid messiness,
1203         closing bug #161040.
1205         * app/layer_dialog.c (create_button_box): Use stock icons instead
1206         of homemade onces.  Gets us rid of four more XPMs.
1208 2005-03-05  Sampo Kellomaki <sampo@iki.fi>
1210         * app/app_procs.c: Implemented --show-layers=LAYER,LAYER,... option
1211         This option permits command line control of which layers are visible.
1212         Useful when automatically exporting multiple versions of the same
1213         diagram, e.g. slides with overlays. Added-n switch parsing without POPT.
1214       * app/app_procs.h: moved prototype of do_convert() to app/app_procs.c
1215         and made it static since its only used in that file.
1216         * app/authors.h: added myself
1217         * doc/en/dia.1: documented the switch
1218         * doc/en/usage-layers.xml: ditto
1219         
1220 2005-03-05  Alan Horkan <horkana@tcd.ie>
1222         * app/interface.c Change Horizontal scroll policy to NEVER for sheets
1223         this restores how Dia behaved before the GTK2 port and seems to help 
1224         allow the toolbox to be more easily resized.  Bug #108891.
1226 2005-03-05  Lars Clausen  <lars@raeder.dk>
1228         * Civil/civil_motor.shape:
1229         * Civil/civil_rotor.shape:
1230         * Logic/and.shape:
1231         * Logic/buffer.shape:
1232         * Logic/connector.shape:
1233         * Logic/inverter.shape:
1234         * Logic/nand.shape:
1235         * Logic/nor.shape:
1236         * Logic/not.shape:
1237         * Logic/or.shape:
1238         * Logic/xor.shape:
1239         * shapes/Assorted/arrow-left-up.shape: 
1240         * shapes/Assorted/heptagon.shape: 
1241         * shapes/Assorted/star5.shape: 
1242         * shapes/Assorted/trapezoid.shape: 
1243         * shapes/Assorted/triangle-rightangle.shape: Fixed bad use of
1244         defaults, see bug #169143.
1246         * sheets/Assorted.sheet.in: Fixed typo patch applied, bug #169114.
1248         * configure.in: 
1249         * doc/en/Makefile.am: Finally figured out the right way to ask for
1250         the manpage xslt.  Closes bug #144539.
1252 2005-03-01  Lars Clausen  <lars@raeder.dk>
1254         * lib/Makefile.am (nodist_include_HEADERS): 
1255         * app/Makefile.am: Correctly generate these files from PNGs with
1256         automake.
1258         * lib/widgets.h: 
1259         * lib/libdia.def:
1260         * lib/widgets.c: Refactor toggle button factory to allow inline
1261         data.
1263         * lib/pixmaps/Makefile.am: Unify lib pixmaps.
1265         * app/makefile.msc (ICON_PNG_PAIRS): 
1266         * app/dia-app-icons.h: Updated with more icons.
1268         * lib/Makefile.am: 
1269         * app/Makefile.am: Use gdk_pixbuf_csource to create inline data
1270         from pngs.
1272         * app/interface.c (create_display_shell): 
1273         * app/layer_dialog.c (dia_layer_widget_init): 
1274         * lib/dia_image.c (dia_image_get_broken): Use inlined data
1275         generated from png.
1277         * app/display.c (ddisplay_close): Removed unused includes.
1279 2005-03-01  Lars Clausen  <lars@raeder.dk>
1281         * app/sheets.c (create_object_pixmap): Create a placeholder image
1282         for when the real image is missing.  Better than crashing:)
1283         Closes bug #166786.
1285 2005-02-25  Hans Breuer  <hans@breuer.org>
1287         * app/app_procs.c : don't requets to open a default display with
1288         g_option_context_add_group (crux@gorodmasterov.com, bug #168523)
1290 2005-02-22  Lars Clausen  <lars@raeder.dk>
1292         * plug-ins/gprint/diagnomeprint.c (export_data): GNOME, not Gome.
1293         Fixes bug #168125.
1295 2005-02-19  Lars Clausen  <lars@raeder.dk>
1297         * app/menus.c (display_menu_items): Applied patch from bug #94019:
1298         Menu cleanup and addition of icons.  Also a few additional stock
1299         icons. 
1301         * app/layer_dialog.c (create_layer_dialog): Bug #159598: Clean up
1302         the layers dialog.
1304 2005-02-14  Lars Clausen  <lars@raeder.dk>
1306         * INSTALL (ftp): Fixed Pango release typo (bug #153007)
1308 2005-02-13  Lars Clausen  <lars@raeder.dk>
1310         * lib/font.c: First stab at using Gtk 2.4 functions for fixing
1311         width.  Seems to work.  Once tested some more, needs old code
1312         removed. 
1314         * lib/widgets.c (dia_font_selector_create_string_item): Avoid
1315         warning by escaping & properly.
1317 2005-02-06  Lars Clausen  <lars@raeder.dk>
1319         * app/filedlg.c (file_export_callback): Set correct extension as
1320         soon every time the dialog is shown.  Fixes bug #162535.
1322         * app/display.c (ddisplay_set_origo): Use more standard
1323         transformations.
1325         * app/modify_tool.c (modify_motion): 
1326         * app/create_object.c (create_object_motion): Put coordinates of
1327         handle/object in status bar while moving. Fixes bug #163164.
1329 2005-02-03  Lars Clausen  <lars@raeder.dk>
1331         * lib/.cvsignore: Added generated files diamarshal.[ch]
1333 2005-02-02  Lars Clausen  <lars@raeder.dk>
1335         * configure.in: Add GLIB_GENMARSHAL def as suggested in
1336         http://ignore-your.tv/software/libgtcpsocket/docs/client-subclassing.html.
1337         Now compiles on Linux.
1339 2005-02-01  Lars Clausen  <lars@raeder.dk>
1341         * app/sheets.c (sheet_object_mod_get_type_string): We don't really
1342         need to translate the empty string.  Especially not after
1343         g_assert_not_reached().  Fixes bug #165966.
1345 2005-01-07  Tim Olsen  <tolsen@alum.mit.edu>
1347         * objects/UML/activity.c : add fill- and line-colour properties
1348         [applied by Hans Breuer, fixes bug #163260]
1350 2004-01-28  Hans Breuer  <hans@breuer.org>
1352         * doc/en/*.xml doc/en/dia.dbk app/authors.h : documentation
1353         update provided by Alan Horkan (fixes bug #159592)
1355 2004-01-28  Hans Breuer  <hans@breuer.org>
1357         [Extented version for UML to C++ conversion by Dave Klotzbach, bug #155255]
1358         * plug-ins/xslt/dia-uml2cpp.xsl : (new file) ... handles associataions,
1359         generalization, dependancies, parameterized classes ...
1360         * plug-ins/xslt/styleshetts.xml : refernce it
1361         * plug-ins/xslt/dia-uml.xsl : handle more UML types uesd above
1363 2004-01-28  Hans Breuer  <hans@breuer.org>
1365         * objects/UML/transition.c : fill out the extra_spacing struct 
1366         in the OrtConn member, in order to avoid artifacts when draggin 
1367         the transition. (patch by Peter Allin, bug #144956)
1369 2004-01-15  Hans Breuer  <hans@breuer.org>
1371         * plug-ins/cairo/diacairo.c : initialized the renderers default dash_length
1372         to something differnt than 0. Apparently there are case where Dia misses
1373         to appropriately set it before requesting a dashed line (simple line with
1374         arrow as described in bug #151716)
1376         * lib/dia_dirs.c : special casing for drive letters which I broke with
1377         the previous change
1379 2005-01-13  Hans Breuer  <hans@breuer.org>
1381         * app/interface.c(create_sheet_page) : remved dead long time code
1383         * lib/propdialogs.c : removed pdtpp_is_visible_no_standard() prototype,
1384         it is availbale via header - which is the better style anyway
1386 2004-12-31  Hans Breuer  <hans@breuer.org>
1388         * lib/dia_dirs.c(dia_get_canonical_path) : complete
1389         rewrite to handle something like /mnt/some/where/../else
1390         too. Workaround for bug #162637.
1391         * app/filedlg.c : call gtk_file_chooser_set_current_name()
1392         to workaround gtk_file_chooser_set_filename() not setting
1393         it if the file does not exist
1395         * sheets/Jackson.sheet.in app/menus.c : fixed typos
1396         (Frank Arnold, bug #161676)
1398 2004-12-31  Steffen Macke <sdteffen@gmail.com>
1400         * doc/pl/*.xml: Added XML prolog
1401         * makefile.msc: Added libxslt, fixed libxml, libart
1403 2004-10-29  Alexander Shopov  <ash@contact.bg>
1405         * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
1407 2004-12-29  Lars Clausen  <lars@raeder.dk>
1409         * configure.in: Make gnomeprint be truly off by default (typo) and
1410         show optional compilation correctly.
1411         * plug-ins/gprint/Makefile.am: Exclude gnomeprint if not optioned in.
1413 2004-12-22  Hans Breuer  <hans@breuer.org>
1415         * lib/widgets.c : destroy handlers can be called more than once, 
1416         see http://developer.gnome.org/doc/API/2.0/gtk/gtk-changes-2-0.html
1418         * app/app_procs.c : #ifdef GLIB(2.6.0) but GTK(2.4.x)
1419         
1420         * app/display.c : temporary debug code showing the
1421         timing the rendering
1423         * app/dialibartrenderer.c(draw_string) : removed dead
1424         code loading and leaking font and face
1426 2004-12-15  Hans Breuer  <hans@breuer.org>
1428         * app/display.c : actually use the selction-changed signal for something
1429         useful. Show selections representation on statusbar.
1430         * lib/object.h lib/prop_text.c lib/libdia.def : provide objet_get_displayname() 
1431         * app/diagram_tree.c : use new function (as in app/display.c) and only
1432         poke into property internals at one place
1433         * app/diagram.c : use g_signal_handlers_block_by_func to avoid has-no-handler-
1434         complains
1436 2004-12-12  Hans Breuer  <hans@breuer.org>
1438         * lib/libdia.def app/dia.def : updated externals
1440         * objects/custom/custom_object.c : custom_destroy is called per object. 
1441         It _must not_ destroy class stuff (ShapeInfo) cause it does not hold a 
1442         reference to it. Fixes e.g. bug #158288, #160550, ...
1444         * objects/UML/association.c(association_draw) : completed porting to
1445         draw_polyline_with_arrows()
1446         (association_update_data_end) : fixed typo in point compare
1447         (association_update_data) : for name placement take degenerated 
1448         segements into account. Together this fixes bug #143891
1450 2004-12-11  Hans Breuer  <hans@breuer.org>
1452         * lib/widgets.c(set_size_sensitivity) : revert inverted
1453         logic for arrorw size selections, fixes bug #160527
1455 2004-12-11  Hans Breuer  <hans@breuer.org>
1457         * lib/widgets.c(dia_font_selector_set_font) : initialize
1458         the font style widget, too. Gets rid of empty font
1459         style and thus default broken font style, e.g. UML::class_name
1461         * lib/widgets.c(dia_color_selector_more_callback) : fill
1462         the color palette from dynamic menu entries and also
1463         preselect the current color to the last select entry
1464         
1465         * plug-ins/python/pydia-diagramdata.c : hold a reference
1466         to the underlying GObject
1467         
1468         * app/Makefile.am app/diagrid.h : new file containing the 
1469         grid 'class' moved from DiagramData to Diagram. 
1470         Also moved pagebreak_color and guides cause they are only 
1471         used for visual appearance not 'data'.
1472         * lib/diagramdata.[ch] app/diagram.h app/dia-props.c app/grid.c
1473           app/load_save.c plug-ins/python/pydia-diagramdata.c : reflect 
1474         the above change
1476         * lib/diagramdata.[ch] app/app_procs.c app/diagram.c 
1477           lib/libdia.def : get rid of new_diagram_data() 
1478         Diagram _is_ DiagramData (and does not have one any longer,
1479         just a compatibility pointer)
1480         
1481         * lib/diarenderer.h : a small doc improvement
1483 2004-12-11  Hans Breuer  <hans@breuer.org>
1485         * objects/UML/class.c : line wrapping code buffer
1486         overrun fixed by Gabor Simon, bug #160865
1488 2004-12-11  Hans Breuer  <hans@breuer.org>
1490         * plug-ins/python/pydia-diagram.c : hold a reference
1491         to the diagram in PyDiaDiagram, avoids bug #159080
1492         [another way to avoid is to detroy the dialog by
1493         clsoing it. But now there is still a diagram to
1494         apply the changes to, even if it's thrwon away just
1495         afterwards]
1497 2004-12-10  Hans Breuer  <hans@breuer.org>
1499         * **/*.c : fixed a bunch of warnings, not only for -ansi
1500         (still too many of them, but -ansi works)
1501         lib/
1502         prop_geomtypes.h prop_geomtypes.c:306: warning: static 
1503         declaration for `fontsizeprop_reset_widget' follows non-static
1504         dia_dirs.c:196: warning: return discards qualifiers from 
1505         pointer target type
1507         objects/custom/
1508         shape_info.c:121: warning: static declaration for `parse_path' 
1509         follows non-static
1511         objects/SADT/
1512         arrow.c:228: warning: `draw_arrowhead' declared `static' but never defined
1513         arrow.c:244: warning: unused variable `i'
1514         arrow.c:245: warning: unused variable `p'
1515         arrow.c:246: warning: unused variable `zzr'
1516         
1517         object/Istar/*.c object/Jackson/*.c  object/KAOS/*.c : 
1518         finally removed c++ comments
1519         
1520         objects/Istar/goal.c : initialize connections::directions
1521         while I was there - helps autorouting
1523         * objects/KAOS/metaandorrel.c objects/Istar/link.c 
1524           objects/KAOS/metabinrel.c : removed struct _DiaImage hack
1525         (it would be quite simple to add image-from-memory support
1526         to lib/ if needed)
1528         * pydia-*.h : warning: no newline at end of file
1529         
1530         * plug-ins/gprint/diagnomeprint.c : allow to unregister
1531         and follow new unique name naming convention
1532         * plug-ins/gprint/diagnomeprintrenderer.c : no c++ comments
1533         here either
1535 2004-12-07  Hans Breuer  <hans@breuer.org>
1537         * objects/UML/message.c : better default for initial text placement
1538         a suggested in bug #154306, Henning Mersch
1539         * objects/UML/constraint.c : doing the same
1541         * app/filedlg.c : include persistence.h for persistence_get_integer
1542         * lib/libdia.def export it
1544 2004-12-05  Hans Breuer  <hans@breuer.org>
1546         * app/grid.c : respect dynamic grid during snap-to, fixes 
1547         bug #135124, Dmitriy Morozov. Added some additional magic
1548         to make the grid size more useable.
1550 2004-12-05  Hans Breuer  <hans@breuer.org>
1552         * app/app_procs.c : make it compile for the HAVE_POPT and
1553         G_LIB_CHECK_VERSION(2,5,5) case, minor formating
1554         
1555         * lib/plug-ins.c : don't pass non exiting files to xmlDiaParseFile()
1556         * app/app_procs.c : only dia_pluginrc_write() and create_user_dirs()
1557         when interactive. Fixes bug #119329
1558           
1559         * plug-ins/cairo/diacairo.c : adapt to new type naming
1560         scheme (introduced by accident;-) for pixbuf-*
1561         * app/app_procs.c : reflect both type name changes
1563 2004-12-04  Hans Breuer  <hans@breuer.org>
1565         * objects/standard/image.c : fix the correct warning
1566         `image_file_name' might be used uninitialized
1567         
1568         * app/filedlg.c : near complete rewrite
1569         - removed 'related dialog', GtkOptionMenu, most global vars,
1570         also don't hide the dialog but let it go.
1571         - added: filter view by extension, hopefully working diagram
1572         referencing, GtkComboBox usage
1573         
1574         * plug-in/pixbuf/pixbuf.c : switched to dynamic generation
1575         of im/export filter entries. So the user interface reflects
1576         the dynamic nature of pixbuf loaders
1578         * lib/filter.[ch] : implement filter_unregister_*port
1579           lib/libdia.def : added new functions
1580           plug-ins/cgm/cgm.c plug-ins/dxf/dxf.c
1581           plug-ins/hpgl/hpgl.c plug-ins/metapost/metapost.c
1582           plug-ins/pstricks/pstricks.c plug-ins/svg/svg.c
1583           plug-ins/wpg/wpg.c plug-ins/xfig/xfig.c
1584           plug-ins/cairo/cairo.c plug-ins/pixbuf/pixbuf.c :
1585         use them in _plugin_unload () thus all these plug-ins
1586         can be loaded used and unloaded during Dia's runtime
1588 2004-12-04  Lars Clausen  <lars@raeder.dk>
1590         * lib/diagramdata.h: Access methods for units defined per diagram.
1592         * lib/font.c (dia_font_new_from_style): More proper object creation.
1594         * lib/properties.h: Refactored the PROP_STD_* macros to allow
1595         different options.
1597         * app/diagram.c (diagram_init): Force filename to be absolute
1598         path, easing the job for load/save.
1600 2004-12-03  Hans Breuer  <hans@breuer.org>
1602         * lib/libdia.def : removed dia_marshal_*, they are implemented as macros.
1603         added dia_font_set_height, dia_font_copy (note to self: don't try to
1604         maintain these from the *NIX side ;)
1606         * lib/widgets.h : removed DiaColorSelector::col, it is not maintained by
1607         the new color selection anymore
1608         * objects/UML/class_dialog.c : with the above change it would have been more 
1609         easy to fix the color loss bug #156996 which had nothing to do with 'a pointer
1610         problem' but only was an unfinished usage of dia_color_slector(get|set)_color
1612         *  objects/UML/class_dialog.c  objects/UML/class.[ch] : uml_apply_properties
1613         (used in object vtable) and make its prototype match
1615         * lib/widgets.c : made all the GtkTypeInfo 'static const'. I can't directly
1616         correlate any of these strange crashing bug with it, but assume bad things to 
1617         happen when one passes stack allocated stuff to gtk_type_unique()
1619         * lib/widgets.c(dia_font_selector_get_font) : don't access menuitem if it is
1620         not there. Fixes most of the warnings from bug #156996
1622         * lib/makefile.msc : rules to generate diamarshal.[ch]
1624 2004-11-29  Hans Breuer  <hans@breuer.org>
1626         * app/disp_callbacks.c : reenable so-called preedit
1627         as described in bug #158859, Etsushi Kato
1628         Also fixed some compiler warnings while there.
1629         
1630         * objects/standard/image.c(get_directory) : make
1631         the documentation match the implementation.
1632         (image_save) : don't write a leading slash on 
1633         relative filenames 
1635         * plug-ins/gprint/diagnomeprintrenderer.c :
1636         switched to gnome-print-pango usage
1637         
1638         * app/app_procs.c configure.in : although Dia
1639         is not threaded it appears as if we have to
1640         g_thread_init() to avoid crashing in some
1641         libraries which are thread enabled
1643         * lib/diamarshal.list lib/Makefile.am : start of
1644         using GSignal to clean up some object relations
1645         * lib/libdia.def : export marshallers
1646         * app/diagram.[ch] : emit signals when REMOVED,
1647         SELECTION_CHANGED
1648         * app/display.c : added a connection to 
1649         SELECTION_CHANGED to test the new signal stuff
1650         
1651         * app/diagram.c : fixed diagram_finalize while I
1652         was there.
1654 2004-11-28  Hans Breuer  <hans@breuer.org>
1656         * plug-ins/wmf/wmf.cpp(draw_string) : write the widechar version of 
1657         the text if conversion to current locale fails. [This is actually
1658         using code written four years ago;]
1659         * plug-ins/wmf/wmf_gdi.(h|cpp) : added TextOutW (no real implemantation)
1661         * objects/standard/image.c(image_load) : be more robust against 
1662         filenames which seem to be absolute
1664 2004-11-27  Hans Breuer  <hans@breuer.org>
1666         * app/filedlg.c(file_save_callback) : convert to
1667         filename encoding before passing to diagram_save()
1668         Fixes bug #158381, thanks to Robert Ögren
1670 2004-11-27  Hans Breuer  <hans@breuer.org>
1672         * lib/dialibartrenderer.c : sometimes its good to read
1673         compiler warnings. Not only define renderer_finalize
1674         but actually *use* it. Should plug a potential huge
1675         memory leak.
1677         * configure.in plug-ins/Makefile.am 
1678           plug-ins/gprint/Makefile.am : build the experimental
1679         gnomeprint plug-in on *NIX, too.
1680         * plug-ins/gprint/diagnomeprint.c : don't include
1681         specific (private) backend headers but instead select
1682         the desired backend via config key setting
1684         * lib/diagdkrenderer.c : add 1 to size of filled arc 
1685         to be rendered by gdk. Fixes bug #150896.
1687         * plug-ins/gprint/diagnomeprint.c 
1688           plug-ins/gprint/diagnomeprintrenderer.c : added magic
1689         to better match page and dash sizes
1691 2004-11-27  Hans Breuer  <hans@breuer.org>
1693         * plug-ins/shape/shape-export.c : it's g_strdup_printf
1695 2004-11-27  Hans Breuer  <hans@breuer.org>
1697         * app/app_procs.c : mention eps-builtin aka. "using
1698         latin1", does not fix the eps-pango issues but #150571
1700 2004-11-27  Hans Breuer  <hans@breuer.org>
1702         * sheets/Cybernetics.sheet.in : changed encoding to 
1703         utf-8, patch from Takeshi AIHANA, fixes #149580
1705 2004-11-27  Hans Breuer  <hans@breuer.org>
1707         * objects/custom/custom_object.c : many existing shapes
1708         rely on a square default size, revert to it although
1709         it originally was by a typo. Fixes bug #148527.
1711 2004-11-27  Hans Breuer  <hans@breuer.org>
1713         * app/load_save.c(dia_cleanup_autosave) 
1714           app/diagram.c : don't use dia->filename if already 
1715         freed and dont use printf at all.
1717         * app/paginate_psprint.c : not only set the renderer::paper
1718         but also renderer::is_portrait. Should fix bug #142524
1720 2004-11-26  Hans Breuer  <hans@breuer.org>
1722         * dia.desktop.in : added Bug Buddy headers (as seen
1723         in planner). Hopefully the automatically filling of
1724         bugs is more meaningful by this.
1725         
1726         * objects/custom/custom_util.c objects/standard/image.c
1727           lib/plug-ins.c : getting rid of deprecated g_dirname,
1728         fixes some more memory bugs : AddrAddress 0x3586C010 is 24 
1729         bytes inside a block of size 44 free'd
1730         
1731         * lib/persistence.c(persistence_load_list) : don't
1732         leak string
1733         
1734         * lib/diaerror.[ch] : (new file) start of better error handling
1735         * lib/Makefile.am lib/makefile.msc lib/libdia.def: 
1736         added new files/funcs
1737         * lib/proplist.c lib/propinternals.h (prop_list_load) : 
1738         allow to propagate error to caller. Also set PXP_NOTSET
1739         to avoid applying unset properties, fixes bug #155255
1740         * lib/propobject.c lib/prop_sdarray.c : still spewing
1741         g_warnings but now with context information
1742         
1743         * app/filedlg.c : more absolute filenames where required
1744         and strip them where we need the filename only
1745         Also explicit DONT choose gnome-vfs backend cause its
1746         threading appears to crash Dia - at least in GNOME build,
1747         see bug #159558
1749 2004-11-26  Hans Breuer  <hans@breuer.org>
1751         * app/filedlg.c : don't use relative filenames for
1752         gtk_file_chooser_set_filename(), GtkFileChooserDialog is very
1753         pedantic about it.
1754         (export_set_extension) : if we don't have a filename don't
1755         use it in strrchr() to avoid crashing
1756         
1757 2004-11-23  Hans Breuer  <hans@breuer.org>
1759         * app/app_procs.c : fixed build for the GNOME case
1760         (let's rip out POPT and depend on glib-2.6, please ;-)
1762 2004-11-23  Hans Breuer  <hans@breuer.org>
1764         * app/app_procs.c : fixed typo which broke the
1765         build for HAVE_POPT case
1766         
1767 2004-11-21  Hans Breuer  <hans@breuer.org>
1769         * app/app_procs.c : some more #if-mess, but one day
1770         we should rely on GLib's 2.6 Option Parser alone
1771         
1772         * plug-ins/wmf/wmf.cpp : use SC() when scaling width
1773         and height for RoundRect() - otherwise size depends on offset,
1774         shorten the unique name
1775         
1776         * plug-ins/python/diamodule.c : provide a unique name
1777         for python filters as well
1779         * lib/dialibartrenderer.c : fix the drawing of Gdk based text
1780         by using the right colors (need black background cause we
1781         are tinitng it with the real color later)
1783         * lib/dia_dirs.c(dia_get_canonical_path) : use G_DIR_SEPARATOR_S
1784         instead of hardcoded slahes, improved portability 
1786         * app/paginate_gdiprint.cpp : use the right filter name to find wmf
1787         plug-in. Also added some more error reporting (e.g. no printer driver)
1789         * plug-ins/gprint/diagnomeprintrenderer.[hc] plug-ins/gprint/diagnomeprint.c
1790           plug-ins/makefile.msc : resurrection of the gnome print renderer. 
1791         Kinda works (alpha quality) for export but does not print yet. 
1792         With bug #158972 resolved this does even work on win32 :-)
1794 2004-11-07  Hans Breuer  <hans@breuer.org>
1796         * doc/diagram.dtd : <composite> can have <composite/>,
1797         <font/> has two 'optional' atributes 'style' and 'family',
1798         these are used to store new (since 0.91) font info.
1799         With this changes non of the issues in bug #147431 remains.
1801         * plug-ins/python/otypes.py : starting to implement an
1802         'create all known object' file as ne stress test source
1803         for the dtd and Dia in general.
1805 2004-11-06  Hans Breuer  <hans@breuer.org>
1807         * app/diapsrenderer.c : don't convert to locale but to 
1808         "LATIN1", fixes bug #146641
1810 2004-11-06  Hans Breuer  <hans@breuer.org>
1812         * app/diagram_tree.c : still no C99 everwhere ...
1813         * lib/libdia.def : update externals
1814         * plug-ins/pstricks/render_pstricks.c : #include <locale.h>
1816         * app/app_procs.[hc] : declare, use ...
1817            app/winmain.c : ... and implement dia_redirect_console().
1818         Even though newer Gtk version don't popup a console window
1819         anymore redirecting the error messages to a file in $TEMP appears
1820         to be much more reasonable than just ignoring it. Fixes bug #150777
1821         based on a patch from Steffen Macke
1823 2004-11-06  Hans Breuer  <hans@breuer.org>
1825         * plug-ins/wmf/wmf.cpp plug-ins/wmf/wmf_gdi.* : added/used
1826         RoundRect() for high level renderer api implementation thus
1827         fixing bug #138744 reported by Lars Clausen
1829 2004-11-06  Hans Breuer  <hans@breuer.org>
1831         * app/prefernces.c : applied patch to make showing the diagram 
1832         menubar the default (advanced users know how to switch it off)
1833         Fixes bug #150706, Steffen Macke
1835 2004-11-06  Hans Breuer  <hans@breuer.org>
1837         * app/commands.c app/commands.h : added view_fullscreen_callback()
1838           view_unfullscreen()
1839           app/menus.c : use it (/View/Fullscreen) thus fixing bug #94090
1840         * app/disp_callbacks.c : use view_unfullscreen() for GDK_Escape
1841         ALso modified to allow handling of unmodified keys again (aren't
1842         there plenty of bug reports for this?
1844 2004-11-06  Hans Breuer  <hans@breuer.org>
1846         * objects/UML/class_dialog.c : fixed casts for usage
1847         of dia_color_selector_set_color()
1848         
1849         * app/filedlg.c : pass a valid filenames to 
1850         gtk_file_chooser_set_filename(), if we don't have a name
1851         don't call it at all. Gets rid of "libgnomevfs-CRITICAL **: 
1852         file gnome-vfs-utils.c: line 749 (gnome_vfs_get_uri_from_local_path): 
1853         assertion `local_full_path[0] == '/'' failed"
1854         
1855 2004-11-06  Lars Clausen  <lars@raeder.dk>
1857         * app/properties.c (create_dialog): 
1858         * app/diagram_tree_window.h: 
1859         * app/diagram_tree.h (HIDDEN_TYPES_NAME): 
1860         * app/diagram_tree_menu_callbacks.c: 
1861         * app/diagram_tree_window.c: 
1862         * app/diagram_tree_menu.c: 
1863         * app/diagram_tree.c: Changed to use persistence instead of
1864         strange hacks in preferences.
1866         * lib/persistence.h:
1867         * lib/persistence.c (persistent_list_get_glist): Don't deref null
1868         pointer.  New function persistent_list_remove_all, and
1869         fixed persistent_list_remove to ... work!
1871 2004-11-05  Lars Clausen  <lars@raeder.dk>
1873         * app/paginate_psprint.c (diagram_print_ps): Call
1874         diagram_print_destroy on destroy rather than delete_event.  That
1875         way the gtk_widget_destroy() calls cleans up properly.  Fixes bug
1876         #154898. 
1878 2004-11-02  Lars Clausen  <lars@raeder.dk>
1880         * objects/UML/class.c (umlclass_load): Actually load the saved
1881         fonts and font sizes. Fixes bug #157016
1883         * configure.in: Require at least GTK+ 2.4.
1885         * app/filedlg.c: Changed to use 2.4 file dialog!  Finally,
1886         finally, finally.  Not quite bulletproof yet, and I need to figure
1887         out a minimum version of Gtk that doesn't spew warnings all over.
1889         * app/diagram.[ch]: diagram_set_filename with const filename.
1891         * app/sheets_dialog_callbacks.c
1892         (on_sheets_dialog_button_apply_clicked): Sheet menu now almost
1893         correctly recreated.  Still something fishy with the sheet menu in
1894         the dialog after adding a new sheet.  Probably the sheet name
1895         being stomped.
1897 2004-11-01  Lars Clausen  <lars@raeder.dk>
1899         * lib/widgets.[ch] (dia_dynamic_menu_reset): Harden against memory
1900         stmping.  Now requires g_free here and there.
1902         * app/preferences.[ch] (prefs_data): Got rid of hidden prefs value
1903         for remembering last sheet, better off as persistent string.  Must
1904         hunt down other things like that.
1906         * app/interface.c (create_sheets): Now remembers last sheet
1907         selected again. Fixes bug #157036.
1909 2004-11-01  Hans Breuer  <hans@breuer.org>
1911         * plug-ins(tex_escape_string) : fixed it [g_utf8_next_char
1912         will never become NULL but only point to the next char
1913         which might indeed be \0]
1914         Use tex_escape_string() to avoid writing invalid tex,
1915         fixes bug #112377
1917         * **/* : a bunch of changes caused by trying 'make distcheck'
1918         which still fails, see Bug #144527
1920 2004-10-31  Lars Clausen  <lars@raeder.dk>
1922         * plug-ins/pstricks/render_pstricks.c (export_pstricks): Avoid
1923         floating point numbers being printed with commas.  Fixes bug
1924         #156148.
1925         
1926         * app/interface.c (create_sheet_dropdown_menu): New function to
1927         create the sheet menu, and also allow recreation.  Still buggy and
1928         slightly prone to magic.
1930         * objects/UML/class_dialog.c
1931         (attributes_list_selection_changed_callback): Don't try to update
1932         the widgets after they're destroyed.  Fixes bug #156706 (I think).
1934         * lib/widgets.c (dia_unit_spinner_new): Avoid crash on NULL
1935         adjustement.  Fixes bug #154637
1937         * sheets/ER/Makefile.am (PIX): 
1938         * sheets/GRAFCET/Makefile.am (PIX): 
1939         * sheets/Jackson/Makefile.am (PIX): 
1940         * sheets/Istar/Makefile.am (PIX): 
1941         * sheets/KAOS/Makefile.am (PIX): Actually install PNG instead of
1942         XPM.  Why these have their pictures in sheets rather than shapes I
1943         don't know.  Fixes bug #152142.
1945 2004-10-31  Hans Breuer  <hans@breuer.org>
1947         * plug-ins/pixbuf/pixbuf.c : when running non interactive
1948         Dia won't call color_init() as it assumes no display. If
1949         we have one as tested ourselve we can as well color_init()
1950         to avoid g_warnings() and produce the right collors.
1951         Fixes bug #155495.
1952     
1953         * app/app-procs.c : try to be a little more helpful
1954         and correct with regard to the command line options.
1955         Renamed --export-to-format to --export-filter and some
1956         other string changes
1958 2004-10-31  Hans Breuer  <hans@breuer.org>
1960         * plug-ins/wmf/wmf_gdi.cpp plug-ins/wmf/wmf_gdi.h :
1961         added GetDeviceCaps() dummy implementation to make 
1962        'wmf' compile on Linux, too.
1964 2004-10-31  Hans Breuer  <hans@breuer.org>
1966         * plug-ins/wmf/wmf.cpp : patch from Robert Ögren <gtk@roboros.com>
1967         to finally fix the long lasting clipping issue, bug #85831
1968         Also fixed the line style issue for printing on XP and don't 
1969         miss to ReleaseDC()
1971         * plug-ins/wmf/wmf_gdi.[hc] : added ReleaseDC()
1973         * plug-ins/python/diasvg.py : filter illegal characters from <text/> section
1974         (e.g. &lt; instead of <), fixes bug #155697 (Duncan Palmer)
1976         * plug-ins/python/pydia-error.[hc] : improvede exception handling to transfer 
1977         some info from the console (soon gone on windoze) to message_error()
1978         * plug-ins/python/pydia-render.c plug-ins/python/diamodule.c : use it.
1979         Also some setlocale() hack to let Python behave as expected for LC_NUMERIC
1981         plug-ins/python/diasvg_import.py : re.compile() only once per expression
1982         and some more playing with scaling
1984         * plug-ins/python/makefile.msc : updated
1986 2004-10-30  Hans Breuer  <hans@breuer.org>
1988         * shapes/Civil/civil_arrow_right.shape : removed
1989         <aspectratio type="fixed" /> thus allowing to change
1990         width and height independently, fixes #154897 
1991         (Serge Robinson) by making it consistent with the
1992         up arrow
1994 2004-10-30  Hans Breuer  <hans@breuer.org>
1996         * plug-ins/xfig-xfig-export.c(hasArrow) : don't crash
1997         on arrow being NULL, fixes bug #143063
1999 2004-10-30  Hans Breuer  <hans@breuer.org>
2001         * lib/diagramdata.c app/diagram.c app/disp_callbacks.c
2002           plug-ins/python/pydia-diagram.c plug-ins/python/pydia-diagramdata.c :
2003         removed use of chached variable DiagramData::selected_count
2004         * lib/diagramdata.h : renamed to selected_count_private
2005         (kept for binary compatibility and sanity checks)
2006         * lib/diagramdata.c : more checks on a screwed up selection list
2008         * app/diagram.c(diagram_group_selected) : don't screw up the
2009         DiagramData::selected list, was assignment of parent_list_affected(),
2010         * lib/diagramdata.c (data_select, data_unselect) : protect against
2011         multiple selections of the same object and removement of a not selected
2012         object (apparently caused by the recently added group undo stuff)
2013         together with the above this finally fixes bug #153525
2015         * app/Makefile.am : fix ./autogen.sh ->
2016         app/Makefile.am:171: blank line following trailing backslash
2018         * app/commands.c(objects_group_callback,objects_ungroup_callback) :
2019         ddisplay_do_update_menu_sensitivity() here as well
2021         * configure.in : make the experimental state of the cairo plug-in
2022         more visible
2023         
2024         * app/dia-props.c(diagram_properties_update_sensitivity) : don't
2025         try to update anything if we can't find an active diagram
2026         Additionally set static dialog pointer to NULL by gtk_widget_destroyed
2027         
2028         * configure.in : another attempt to fix bug #156116. If there is
2029         anyone with autotools knowledge reading this - help appreciated ;-)
2031 2004-10-30  Hans Breuer  <hans@breuer.org>
2033         * objects/makefile.msc objects/UML/Makefile.am
2034           objects/UML/uml.c objects/UML/transition.c 
2035           objects/UML/pixmaps/transition.xpm sheets/uml.sheet.in : 
2036         Patch from Peter Allin adds statechart transitions to the UML sheet -
2037         bug #144956 - modified to not print("%s", NULL) which crashes on
2038         newer glib versions. Also added pixmap/transition.xpm to Makefile.am
2040 2004-10-30  Hans Breuer  <hans@breuer.org>
2042         * doc/sheet.dtd doc/diagram.dtd : the namespace does *not* 
2043         match the website anymore, i.e. sould remain unchanged. 
2044         See below and lib/dia_xml.h for the reasoning
2046         * lib/libdia.def : removed dia_color_selector_get_type
2048         * lib/dia_image.c(dia_image_load) : check for pixbuf warnings
2049         (like broken PNG) and g_warning if appropriate
2051         * app/interface.c : #include "message.h"
2053         * app/diaunitspinner.hc : replaced the superfluous #if-0-juggling,
2054         used #error "Moved to lib/widgets.[hc]" instead (IMO it would be
2055         better to just move diaunitspinner to lib/ instead of polluting
2056         widgets.[hc] even more ;)
2057         * app/makefile.msc lib/libdia.def : updated
2059         * app/filedlg.c : patch from gtk@roboros.com, fixes #156224
2060         * app/app_procs.c : patch from gtk@roboros.com, fixes #156088
2062         * config.h.win32 : #define HAVE_CAIRO to let the Cairo plug-in
2063         do something useful when compiled
2065         * plug-ins/cairo/diacairo.c : added 'PNG with alpha' rendering.
2066         Also some more #ifdefed backends usage.
2068 2004-10-10  Lars Clausen  <lars@raeder.dk>
2070         * lib/widgets.c: Better labels for color selector menu.
2072         * app/dia-props.c (diagram_properties_respond): 
2073         * app/preferences.c (prefs_get_value_from_widget): Don't assume
2074         that a dia color selector is of type DiaColorSelector:)
2076         * lib/widgets.[ch]: Color selector changed to dynamic menu.
2078         * lib/prop_attr.c (colorprop_set_from_widget): Don't assume
2079         DiaColorSelector. 
2081 2004-10-09  Lars Clausen  <lars@raeder.dk>
2083         * lib/diaarrowchooser.c (dia_arrow_preview_init): Slightly wider
2084         arrow preview to avoid long arrow heads flipping.
2086         * lib/arrows.[ch]: Support for getting from name to arrow type,
2087         and for listing all arrow names.
2088         
2089         * lib/widgets.[ch]: Changed arrow selector to use dynamic menu.
2091         * lib/libdia.def: Added new global functions.
2093         * lib/persistence.[ch]: Two of the persistent_list functions to
2094         return whether the item was found in the list.
2096         * app/interface.c (create_sheets): Use DiaDynamicMenu to handle
2097         the growing number of sheets.
2099         * lib/widgets.[ch]: Add DiaDynamicMenu as a generalization of the
2100         font menu.
2102 2004-10-05  Lars Clausen  <lars@raeder.dk>
2104         * objects/UML/association.c: Patch from Harvey Thompson
2105         <harveyandsu@yahoo.com>:  Better placement of association texts.
2107 2004-10-03  Lars Clausen  <lars@raeder.dk>
2109         * lib/widgets.c (dia_font_selector_add_menu_item): Make font menu
2110         use the fonts in question.  Can't set tooltips with the name since
2111         lib objects don't know the tool_tips thing, which is rather
2112         app-related.
2114 2004-09-19  Hans Breuer  <hans@breuer.org>
2116         * plug-ins/xslt/*.xsl : s/apply-templates match/apply-templates select/
2117         fixes bug #148278, carlosrp@idea.com.py (Carlos Ra�l Perasso)
2119 2004-09-19  Hans Breuer  <hans@breuer.org>
2121         * dia.desktop.in : string changes as proposed in bug #151822
2122         
2123         * lib/Makefile.am : remove -module from libdia_la_LDFLAGS,
2124         appearts not to be needed on Linux and breaks the build 
2125         on OSX. Fixes bug #152970
2126         
2127 2004-09-18  Lars Clausen  <lars@raeder.dk>
2129         * app/commands.c (view_show_all_callback): Add a bit of border
2130         around Ctrl-E'd diagram, for easier select and better view of edges.
2132 2004-09-19  Hans Breuer  <hans@breuer.org>
2134         * app/Makefile.am : trying to fix the fix from 2004-02-15
2135         Overwriting AM_LDFLAGS still gave a automake warning and it 
2136         also appeard to break linking against gtklibs in a differnt 
2137         prefix. Use dia_LDFLAGS instead.
2139         * plug-ins/svg/svg-import.c : initialize 'end' before usage
2140         patch from dcbw@redhat.com (Dan Williams), fixes bug #150548
2141         
2142         * lib/diarenderer.c : don't try to draw lines which are so much 
2143         degenerated that their point count became negative, fixes bug #148139
2144         
2145         * lib/font.c(layout_cache_equals) : don't crash on nonexisting 
2146         strings (NULL from g_strdup()) 
2148 2004-09-10  Steffen Macke <sdteffen@web.de>
2150         * lib/libdia.def: added color_new_rgb(), focus_previous(),focus_next(),
2151         give_focus(),give_focus_to_object(),remove_focus(),reset_foci()
2152         * app/create_object.c:
2153         * app/diaunitspinner.c:
2154         * app/disp_callbacks.c:
2155         * app/makefile.msc:
2156         * app/modify_tool.c:
2157         * lib/prop_geomtypes.c:
2158         * lib/prop_geomtypes.h: made compile with msvc
2160 2004-09-10  Lars Clausen  <lars@raeder.dk>
2162         * lib/widgets.c: Insulate conversion from outside API by adding
2163         internal function to set value.  Adjustment not appropriate for
2164         units yet.
2166         * lib/prop_geomtypes.c (lengthprop_get_widget): Remove debug info
2168 2004-09-07  Lars Clausen  <lars@raeder.dk>
2170         * app/diapagelayout.c: Include from widgets.c rather than
2171         diaunitspinner.
2173 2004-09-03  Lars Clausen  <lars@raeder.dk>
2175         * objects/standard/box.c: Use PROP_TYPE_LENGTH for corner_radius
2176         as unit-based property testbed.
2178         * lib/prop_geomtypes.c (lengthprop_reset_widget): Implement length
2179         and fontsize widgets. 
2181         * app/Makefile.am (dia_core_files):
2182         * app/diaunitspinner.h: 
2183         * app/diaunitspinner.c: 
2184         * lib/widgets.h: 
2185         * lib/widgets.c (dia_unit_spinner_update): Move diaunitspinner to
2186         lib/widgets.[ch], as it's used in the properties code now.
2188 2004-08-31  Steffen Macke <sdteffen@web.de>
2190         * doc/en/usage-objects-basic.xml: Mentioning supported image formats.
2192 2004-08-30  Lars Clausen  <lars@raeder.dk>
2194         * app/textedit.c: 
2195         * app/diagram.c (diagram_remove_all_selected): Remove debugging
2196         information. 
2198         * lib/color.[ch]: 
2199         * app/undo.c: 
2200         * app/disp_callbacks.c: 
2201         * app/Makefile.am: 
2202         * app/create_object.c: 
2203         * app/textedit.[ch]: 
2204         * app/modify_tool.c: 
2205         * app/diagram.c: 
2206         * lib/text.c: 
2207         * lib/focus.[ch]: Change in focus mechanism to allow highlight of
2208         current input object, multiple inputs per object, and tabbing
2209         between objects.
2211 2004-08-28  Steffen Macke <sdteffen@web.de>
2213         * makefile.msc: added bs to ALL_LINGUAS; adjusted .mo file creation to
2214         allow separate installer component "Translations"
2216 2004-08-27  Akagic Amila  <bono@linux.org.ba>
2218         * configure.in: Added 'bs' to ALL_LINGUAS.
2220 2004-08-26  Steffen Macke <sdteffen@web.de>
2222         * app/makefile.msc: using /subsystem:windows again
2223         * makefile.msc: updated ALL_LINGUAS
2225 2004-08-21  Kjartan Maraas  <kmaraas@gnome.org>
2227         * configure.in: Add «nb» to ALL_LINGUAS.
2229 2004-08-21  Steffen Macke <sdteffen@web.de>
2231         * plug-ins/dxf/dxf-export.c: Patch from 
2232         Takeshi Hamasaki <hma@syd.odn.ne.jp>, fixes text alignment
2234 2004-08-17  Lars Clausen  <lars@raeder.dk>
2236         * config.h.win32: 
2237         * dia.spec (Release): 
2238         * doc/pl/dia.xml: 
2239         * doc/en/dia.xml: 
2240         * NEWS: 
2241         * configure.in: 
2243 2004-08-13  Ankit Patel <ankit@redhat.com>
2245         * configure.in: Added "gu" in ALL_LINGUAS.
2247 2004-08-07  Lars Clausen  <lars@raeder.dk>
2249         * configure.in:
2250         * config.h.win32: 
2251         * doc/pl/dia.xml: 
2252         * doc/en/dia.xml: 
2253         * dia.spec (Release): 
2254         * NEWS: New release 0.94-pre6
2256 2004-08-07  Lars Clausen  <lars@raeder.dk>
2258         * app/highlight.c (highlight_reset_objects): Unhighlight inside
2259         groups as well.
2261         * app/load_save.c: 
2262         * plug-ins/shape/shape-export.c: String capitalization fix from
2263         Alan Horkan <horkana@tcd.ie>
2265         * objects/UML/class.c (umlclass_show_comments_callback): Make UML
2266         Class object menu kinda work, rather than blow up.  Doesn't do a
2267         proper undoable change yet.
2269 2004-08-06  Lars Clausen  <lars@raeder.dk>
2271         * app/filedlg.c (file_save_as_callback): Don't remove related
2272         dialogs from the NULL diagram.
2274 2004-08-02  Lars Clausen  <lars@raeder.dk>
2276         * config.h.win32: 
2277         * doc/pl/dia.xml: 
2278         * doc/en/dia.xml: 
2279         * dia.spec (Release): 
2280         * NEWS: Pre5 with leak fix.
2282         * lib/font.c (dia_font_build_layout): Don't try to save an
2283         allocation of LayoutCacheItem if it breaks layout cache hash.
2284         Also make hash function correct, remove explicit height entry
2285         (it's in pfd), and make sure things are correctly unreffed.
2286         Finally fixes #148141.
2288         * lib/text.c (text_set_attributes, text_set_font): Safely unref
2289         when changing font, and actually set the new font in
2290         text_set_font(!).
2291         (text_get_attributes): Ref copied font.
2293 2004-08-01  Lars Clausen  <lars@raeder.dk>
2295         * NEWS: 
2296         * configure.in: 
2297         * dia.spec (Release): 
2298         * config.h.win32: 
2299         * doc/pl/dia.xml: 
2300         * doc/en/dia.xml: Prerelease 4.
2302         * lib/font.c (dia_font_build_layout): Better comparision and
2303         freeing of font cache.
2305 2004-07-31  Lars Clausen  <lars@raeder.dk>
2307         * lib/font.c (dia_font_build_layout): Faster update to avoid
2308         memory leaks.
2310         * app/app_procs.c: Fix from Tom Parker <palfrey@bits.bris.ac.uk>:
2311         Correctly initialize export filter variable.
2313 2004-07-25  Lars Clausen  <lars@raeder.dk>
2315         * dia.spec (Release): 
2316         * configure.in: 
2317         * NEWS: 
2318         * config.h.win32: 
2319         * doc/en/dia.xml: 
2320         * doc/pl/dia.xml: Pre3 coming out.
2322         * lib/diarenderer.c (draw_polygon): 
2323         * plug-ins/dxf/dxf-export.c (export_dxf): Two fixes by Takeshi
2324         Hamasaki <hma@syd.odn.ne.jp>: Correct header to be a 0 (zero)
2325         rather than O (letter), and assert num_points > 1 rather than the
2326         other way around.
2328         * app/recent_files.c: 
2329         * app/filedlg.c: 
2330         * app/diagram.c: 
2331         * app/app_procs.c: Patch from Vitaly Lipatov <lav@altlinux.ru>:
2332         Make filenames conform to filesystem encoding.
2334         * RDP/.cvsignore: Added standard ignore.
2335         
2336         * shapes/network/Makefile.am (SHAPES): Use PNG instead of XPM for
2337         last entry patch-panel, too.
2339         * app/*.png:
2340         * shapes/Circuit/*.png:
2341         * shapes/Civil/*.png:
2342         * shapes/Contact/*.png:
2343         * shapes/Electric/*.png:
2344         * shapes/MSE/*.png:
2345         * shapes/Pneumatic/*.png:
2346         * shapes/SDL/*.png:
2347         * shapes/flowchart/*.png:
2348         * shapes/jigsaw/*.png:
2349         * shapes/network/*.png:
2350         * shapes/sybase/*.png:
2351         * samples/dia*.png:
2352         * dia_gnome_icon_large.png:
2353         * doc/pl/graphics/*.png: Set -kb for PNGs.
2354         
2355         * sheets/{ER,GRAFCET,Istar,Jackson,KAOS}: Added .png files.
2357 2004-07-22  Lars Clausen  <lars@raeder.dk>
2359         * NEWS: 
2360         * config.h.win32: 
2361         * doc/en/dia.xml: 
2362         * doc/pl/dia.xml: 
2363         * dia.spec (Release): 
2364         * configure.in: Update to version 0.94-pre2.
2366         * app/load_save.c (diagram_data_write_doc): Use new namespace
2367         here, too.
2369         * lib/object.h (OBJECT_COMMON_PROPERTIES): Remove 'Dia' from
2370         hidden objects properties.
2372         * objects/standard/line.c: Remove halffinished line gap box from
2373         properties list.
2375         * app/paginate_psprint.c: 
2376         * app/filedlg.c: Patch from kimmidi@novell.com (Kiran Kumar
2377         Immidi): Close export and print dialog with diagram as well.
2378         (#129520)
2379         
2380         * lib/diaarrowchooser.[ch]: Patch from pborelli@katamail.com (paolo
2381         borelli):  Remove deprecated stuff (#137693)
2383         * app/dia-props.c (create_diagram_properties_dialog): Patch from
2384         kimmidi@novell.com (Kiran Kumar Immidi):  Close properties dialog
2385         on destroy.
2387 2004-07-21  Ray Strode  <rstrode@redhat.com>
2389         * dia/dia.desktop.in: Add MimeType line to desktop file
2390         new mime sytem.
2392 2004-07-18  Hans Breuer  <hans@breuer.org>
2394         * shapes/(Circuit|Contatct|MSE|network|Pneumatic|SDL|sybase)/Makefile.am 
2395           sheets/UML/*.png : icons in png format
2396         Partial fixup of stuff broken with the following comment:
2397         "7 days : xpm->png, namespace fix, first rotation bits."
2399         * app/load_save.c(read_objects) : don't add objects to the layer.
2400         This function is called recursively and only the topmost objects
2401         belong in the layers object list. Fixes bug #145417 and is the
2402         the real fix for bug #142480
2403         
2404         * app/app_procs.c : make the --size hack even uglier, but work again
2405         
2406         * lib/dia_dirs.c(dia_get_absolute_filename) : must not free()
2407         but g_free() what is returned by g_build_filename()
2408         
2409         * objects/custom/custom_object.c(custom_destroy) : handle all enum
2410         values in switch to get rid of the warning
2411         
2412         * objects/custom/shape_info.c : use g_ascii_strtod(), get rid 
2413         of setlocale()/strtod()
2414         * lib/dia_svg.c : dito
2415         * lib/dia_xml.c : almost
2417         * plug-ins/python/group_props.py : use the string representation of 
2418         value to ensure "unique values". If the strings would not be different
2419         the user cann't see the difference either
2421 2004-07-17  Lars Clausen  <lars@raeder.dk>
2423         * lib/persistence.h: Have "void" in prototypes (#142663)
2425         * lib/widgets.c (dia_font_selector_init): Better string handling
2426         (#142663) 
2428         * lib/persistence.c (persistence_save_type): Small fixes (#142663)
2430         * objects/standard/image.c (image_load): Use path of diagram
2431         rather than running directory as base for image file place.
2433         * doc/{diagram,sheet}.dtd: Move DTD namespace to new site, and
2434         syntactic fixes. 
2435         
2436         * app/disp_callbacks.c (ddisplay_canvas_events): Patch from
2437         Ambrose Li <a.c.li@ieee.org>:  Better IM context handling.
2439         * Re-added new sample diagrams binarily.
2441 2004-07-17 Sagar Rastogi <rastogi@students.iiit.net>
2443         * app/disp_callbacks.c: Fixed #144962 (also in KNOWN_BUGS),
2444         Disabled keyboard accels when dragging an object.       
2446 2004-07-14  Lars Clausen  <lars@raeder.dk>
2448         * app/grid.c (snap_to_grid): Use diagrams grid setting to
2449         determine hex grid snap.
2451         * doc/pl/Makefile.am: Avoid error based on backslash in comment.
2452         
2453         * app/interface.h: Avoid multiply defined symbols (#147396)
2455 2004-07-10  Lars Clausen  <lars@raeder.dk>
2457         * app/sheets_dialog_callbacks.c (write_user_sheet): 
2458         * lib/sheet.c (load_register_sheet): Don't introduce double
2459         slashes in namespace.
2461         * lib/dia_xml.h (DIA_XML_NAME_SPACE_BASE): Keep consistent with
2462         old diagrams, or XSLT will barf all over.
2463         
2464         * shapes/RDP/place.shape: 
2465         * shapes/RDP/transition.shape: 
2466         * shapes/RDP/Makefile.am: Added .png entries to SHAPES and changed
2467         shapes to use those.
2469 2004-07-07  Lars Clausen <lars@raeder.dk>
2471         * config.h.win32: 
2472         * doc/{en,pl}/dia.xml: 
2473         * dia.spec: 
2474         * configure.in: 
2475         * NEWS: First prerelease of version 0.94.  Now with release
2476         versions in a branch and main devel in the trunk.
2478 2004-07-05  Hans Breuer  <hans@breuer.org>
2480         * */*.[hc] */*/*.c : a bunch of changes to make Dia compile with
2481         -std=c89. Mostly //-comments and M_PI -> G_PI
2482         [Istar, Jackson, KAOS were removed from build cause they
2483         simply have *too* much C++ comments ;]
2484         * object/UML/association.c : use g_strdup() not plain strdup()
2485         * app/paginate_psprint.c : avoid storage size of `pipe_action' 
2486         isn't known with more portable signal code
2487         
2488         * app/app_procs.c : don't call gtk_init() if just --version
2489         is requested (bug #144321, Vladimir Kondratiev)
2490         
2491         * lib/prop_attr.c(fontprop_set_from_offset) : only unref 
2492         DiaFont* if not NULL
2493         * objects/UML/class.c : moved fill_in_fontdata() to 
2494         umlclass_load() to avoid such trouble, though unsure if
2495         this really is an improvement...
2496         
2497         * shapes/network/makefile.am : patch-panel added here too
2499 2004-07-04  Hans Breuer  <hans@breuer.org>
2501         * sheets/network.sheet.in shapes/network/patch-panel.xpm
2502           shapes/network/patch-panel.xpm : added 24-Port-Patch-Panel
2503         fixes bug #136629, James McDonald
2505 2004-07-04  Hans Breuer  <hans@breuer.org>
2507         * lib/persistence.c app/load_save.c app/sheet_dialog_callbacks.c
2508           lib/object_defaults.c : revert changing of Dia's XML namespace
2509         * lib/dia_xml.h : #define DIA_XML_NAME_SPACE_BASE with a comment
2510         about its purpose and relation to real world urls.
2512         * lib/plug-ins.h : increment DIA_PLUGIN_API_VERSION and 
2513         added comment about when to do so
2514         [Should have been long time ago and probably multiple times
2515         to avoid crashing on older plug-ins]
2516         * RELEASE-PROCESS : mention DIA_PLUGIN_API_VERSION
2517         * plug-ins/xslt/xslt.c : use DIA_PLUGIN_CHECK_INIT
2519         * lib/object.c objects/UML/class.c : there are still compilers not 
2520         supporting C99 and other GCCISMs like allocating dynamic sized arrays 
2521         on the stack
2522         * objects/UML/class.h : there is a differnce between a list pointer
2523         and a list pointer pointer. We and GLib want the former.
2525         * plug-ins/pixbuf/pixbuf.c : don't use app_is_interactive () to detect
2526         if Gtk is initialized. Using gdk_display_get_default () avoids the
2527         app/* dependency and is also closer to the requirements of the
2528         plug-ins working.
2530         * plug-ins/cairo/diacairo.c : initialize "unique name" field. Also
2531         some #ifdefed support for Cairo backends not public available yet.
2533         * plug-ins/wmf/wmf.cpp : finally do extended linestyles if the
2534         windoze platform supports them. This should fix bug #109818, at
2535         least for the majority running NT or above ...
2536         * plug-ins/wmf/wmf_gdi.[hc] : portability stuff for the above
2538         * objects/makefile.msc : build Istar, Jackson and Kaos
2540         * objects/UML/class.c(umlclass_load) : don't wrap by default to 
2541         keep old diagrams as they were - instead of this nice new effect ;-)
2542         Also make "wrap_operations" PROP_TYPE_BOOL in PropDescriptions
2544         * objects/UML/class.c : mark for translation _("Wrap ...
2546         * objects/UML/class.c : more correct types, also some default properties
2547         dialog pages adjustment (triggering a bug in lib/prop_widgets.c ?;)
2549         * objects/UML/activity.c : removed a leftover from the 
2550         use-localization-for-font-substitution-hack
2552         * shapes/ChemEng shapes/Cybernetic shapes/Map/Isometric :
2553         'cvs admin -kb *.png' PNG files should already be *added* as binary,
2554         otherwise they are not readable on line-end-converting-platforms
2556         * plug-ins/python/use g_new0(Dia<Im|Ex>portFiler), avoids crashing 
2557         filter_get_by_name()
2559         * plug-ins/python/pydia-property.c : some more g_warnings for
2560         not implemented conversions
2562         * plug-ins/python/group_props.py : ensure unique property values
2563         at the right place. Now something like :
2564         - load an old UML class diagram
2565         - change one of the classes to wrap operations
2566         - select all classes (/Select/Same Type)
2567         - /Dialogs/Group Properties : check wrap_operations, select '1'
2568         - Ok, works like a charm :-)
2570 2004-07-04  Lars Clausen  <lars@raeder.dk>
2572         * lib/diagdkrenderer.c (draw_string): Don't unref NULL
2573         pixbuf. (#145362)
2574         
2575 2004-07-03  Lars Clausen  <lars@raeder.dk>
2577         * app/app_procs.c (do_convert): Two patches from Vitaly Lipatov
2578         <LAV@VL3143.spb.edu>: Fixes console output problems and some
2579         interactiveness problems.
2581 2004-07-02  Lars Clausen  <lars@reader.dk>
2583         * plug-ins/pixbuf/pixbuf.c (dia_plugin_init): Don't load if the
2584         app isn't interactive.
2586 2004-07-01  Lars Clausen  <lars@raeder.dk>
2588         * plug-ins/cairo/diacairo.c: Add init of last field of filter
2589         struct to remove crash.
2591         * sheets/Makefile.am (sheet_in_files): 
2592         * shapes/Makefile.am: 
2593         * sheets/ChemEng.sheet.in: 
2594         * shapes/ChemEng/Makefile.am: 
2595         * configure.in: 
2596         New sheet from "Federico Zenith" <zenith@chemeng.ntnu.no>:
2597         Chemical engineering shapes.
2598         
2599         * app/Makefile.am (run_dia.sh$(EXEEXT)): Changed $* to $@ to allow
2600         multiple arguments when using devel script.
2602         * app/display.c (new_display): 
2603         * app/dia-props.c: 
2604         * lib/diagramdata.c (new_diagram_data): 
2605         * lib/diagramdata.h: 
2606         * app/preferences.h: 
2607         * app/preferences.c: 
2608         * app/grid.c: 
2609         * app/diagram.c: 
2610         * lib/diagramdata.c (new_diagram_data): Patch from Peter Poulsen
2611         <peter_poulsen@stofanet.dk>: Add hexagonal grid!
2613         * HACKING: 
2614         * doc/pl/authors.xml: 
2615         * doc/en/authors.xml: 
2616         * lib/object_defaults.c (dia_object_defaults_save): 
2617         * readme.win32 (BTW): 
2618         * lib/persistence.c (persistence_save): 
2619         * app/load_save.c (diagram_data_write_doc): 
2620         * app/commands.c (help_about_callback): 
2621         * README: Fix links to home page.
2623         * lib/font.c: 
2624         * app/load_save.c (diagram_data_load): 
2625         * lib/prop_text.c (stringprop_load): Avoid NULL strings when
2626         loading, and guard against them when fonting.
2628         * lib/diarenderer.c (draw_rounded_polyline): Patch from
2629         anthonym@overture.com:  Make limited rounding a corner-specific
2630         rendering-only thing.
2632 2004-06-30  Lars Clausen  <lars@raeder.dk>
2634         * lib/font.c (dia_font_build_layout): Return to 0.93.1 font size
2635         adjustment: If you can't fix it, at least don't change it.
2637         * objects/SADT/arrow.c (sadtarrow_draw): Use new rounded arrow
2638         code instead of individual code in here.
2640 2004-06-29  Lars Clausen  <lars@raeder.dk>
2642         * objects/UML/association.c: Patch from Kiran
2643         Kumar Immidi <kimmidi@novell.com>:  Fix bounding box for line end
2644         text. 
2646         * lib/geometry.c: 
2647         * lib/geometry.h: 
2648         * lib/diarenderer.c (draw_rounded_polyline): 
2649         * objects/standard/polyline.c (polyline_draw): 
2650         * objects/standard/zigzagline.c (zigzagline_draw): 
2651         Patch from anthonym@overture.com:  Add rounded polylines.
2653 2004-06-27  Lars Clausen  <lars@raeder.dk>
2655         * lib/font.c (dia_font_new_from_style): Initialize legacy name.
2657         * lib/widgets.c (dia_font_selector_get_family_from_name): Don't
2658         free family list before taking out the pointer we need. Also set
2659         the entry_nr correctly so we get the menu set up right.
2661 2004-06-23  Lars Clausen  <lars@raeder.dk>
2663         * lib/widgets.c (dia_toggle_button_new_with_images): Sink the
2664         images at the right place.
2666         * objects/Istar/actor.c
2667         * objects/Istar/goal.c
2668         * objects/Istar/istar.c
2669         * objects/Istar/istar.h
2670         * objects/Istar/link.c
2671         * objects/Istar/other.c
2672         * objects/Jackson/domain.c
2673         * objects/Jackson/jackson.c
2674         * objects/Jackson/jackson.h
2675         * objects/Jackson/phenomenon.c
2676         * objects/Jackson/requirement.c
2677         * objects/KAOS/goal.c
2678         * objects/KAOS/kaos.c
2679         * objects/KAOS/kaos.h
2680         * objects/KAOS/metaandorrel.c
2681         * objects/KAOS/metabinrel.c
2682         * objects/KAOS/other.c: Patch from Patch from Christophe Ponsard
2683         <cp@cetic.be>: Fix instability issues caused by not returning NULL
2684         in *_move_handle and *_move.  Also improved the headers with
2685         correct (c) information.
2687 2004-06-22  Lars Clausen  <lars@raeder.dk>
2689         * objects/KAOS/goal.c:
2690         * objects/KAOS/other.c:
2691         * objects/Istar/actor.c:
2692         * objects/Istar/goal.c:
2693         * objects/Istar/other.c:
2694         * objects/Jackson/domain.c:
2695         * objects/Jackson/phenomenon.c: Patch from Christophe Ponsard
2696         <cp@cetic.be>: Fix resize issues.
2698         * app/filedlg.c (file_dialog_hide): Patch from Kiran
2699         Kumar Immidi <kimmidi@novell.com>: Check for null when removing
2700         related dialog. #129520.
2702         * app/dia-props.c (diagram_properties_show): Patch from Kiran
2703         Kumar Immidi <kimmidi@novell.com>: Make sure properties dialog is
2704         a child of its diagram. #129520.
2706         * objects/UML/association.c (association_load): Patch from Kiran
2707         Kumar Immidi <kimmidi@novell.com>: Update positions properly for
2708         text placement. #118313.
2710 2004-06-17  Lars Clausen  <lars@raeder.dk>
2712         * objects/KAOS/Makefile.am: Add pixmaps/goal.xpm to EXTRA_DIST
2714         * Makefile.am: Make THANKS only be generated by maintainers.
2716         * doc/pl/Makefile.am: Removed usage+objects+basic.xml from
2717         Makefile, too.
2719         * configure.in: Added three missing Makefiles.
2721         * app/diagram.[ch]: 
2722         * app/filedlg.c:
2723         Patch from shuveb@yahoo.com (Shuveb Hussain): Remove
2724         diagram-related (save) dialog when closing diagram.  To be
2725         extended to other dialogs.
2727         * doc/pl/dia.xml: Removed reference to objects-basic. (#144527)
2729         * samples/Istar.dia:
2730         * samples/Jackson.dia:
2731         * samples/KAOS.dia:
2732         * sheets/Istar.sheet.in:
2733         * sheets/Jackson.sheet.in:
2734         * sheets/KAOS.sheet.in:
2735         * sheets/Istar/*:
2736         * sheets/Jackson/*:
2737         * sheets/KAOS/*:
2738         * objects/Istar/*:
2739         * objects/Jackson/*:
2740         * objects/KAOS/*:
2741         * configure.in: 
2742         * objects/Makefile.am (SUBDIRS): 
2743         * sheets/Makefile.am (SUBDIRS): 
2744         * samples/Makefile.am: Additions from Christophe Ponsard
2745         <cp@cetic.be>: Jackson, I* and KAOS diagram support.  Needs a bit
2746         of hacking still.
2748 2004-06-12  Lars Clausen  <lars@raeder.dk>
2750         * lib/properties.h: 
2751         * lib/prop_geomtypes.[ch]: Preparation for selectable units.
2753         * lib/font.h: Toning down comments a bit:)
2755         * lib/font.c (dia_font_build_layout): Playing around with DPI 
2757         * objects/UML/association.c (association_load): Avoid crashes on
2758         strcmp with NULL.
2760         * objects/UML/association.c: Patch from kimmidi@novell.com:
2761         Improve placement of labels when vertical.  Part fix of #118313
2763         * lib/object.c (dia_object_is_selected): Grouped objects are not
2764         selected, only the group itself.  Thus, don't crash when grouping
2765         beziers. #143681
2767         * objects/UML/association.c: Patch from kimmidi@novell.com:  Agree
2768         on how to represent empty strings.  Fixes #143639.
2770         * lib/object.c (dia_object_is_selected): Added comment answer.
2772 2004-06-12  Hans Breuer  <hans@breuer.org>
2774         * lib/diagramdata.c lib/object.c : deal with grouped objects
2775         not knowing their parent_layer, i.e. avoid crashing in 
2776         dia_object_is_selected() via group_draw() [ Triggered by
2777         playing with the Visio generated svg from bug #143455 ]
2779         * plug-ins/python/diasvg_import.py : started to implement
2780         transformation="translate(...)" and <style/> handling. Also
2781         use some other completely bogus values for em/ex scaling
2782         
2783 2004-06-08  Lars Clausen  <lars@raeder.dk>
2785         * plug-ins/cairo/.cvsignore: CVS-ignore generated makefiles.
2787 2004-06-07  Lars Clausen  <lars@raeder.dk>
2789         * app/layer_dialog.c (layer_dialog_set_diagram): 
2790         * app/display.c: Layer widget crash more properly dealt with in
2791         layer dialog code.
2792         
2793         * app/display.c (ddisplay_flush): Fixed crash when closing:  Layer
2794         widget deselect was called during destroy, but called
2795         ddisplay_flush, leading to a new display timeout after renderer
2796         was dead.
2798         * lib/widgets.c (dia_toggle_button_destroy): 
2799         * app/recent_files.c (recent_file_menuitem_create): 
2800         * lib/persistence.c (persistence_save_list): 
2801         * app/commands.c (edit_delete_callback): 
2802         * lib/object_defaults.c (dia_object_defaults_save): 
2803         * lib/parent.c (parent_list_affected_hierarchy): Killed leaks
2804         (#142669)
2805         
2806         * lib/widgets.c (dia_toggle_button_new_with_images): Remove
2807         debugging info.
2809         * lib/diagramdata.c (new_layer): Initialize connectibility.
2811         * app/display.c (ddisplay_obj_render): 
2812         * app/diagram.c (diagram_find_closest_connectionpoint): Take
2813         connectibility into account.
2815         * app/layer_dialog.h (struct _DiaLayerWidget): 
2816         * app/layer_dialog.c:
2817         Connectible toggle updates, now works fairly well.
2819         * app/select.c (select_transitive_callback): Make sure we're only
2820         selecting in the same layer.
2822 2004-06-04  Lars Clausen  <lars@raeder.dk>
2824         * app/pixmaps/Makefile.am: Also install connectable images.
2825         
2826         * app/layer_dialog.c (dia_layer_update_from_layer): Initially set
2827         layer toggles from layer itself.  Also update diagram correctly
2828         for visibility.  Still need updates for connectivity behaviour.
2830 2004-06-03  Hans Breuer  <hans@breuer.org>
2832         * plug-ins/wpg/wpg.c(draw_image) : take rowstride into account
2834         * lib/diagdkrenderer.c(set_linejoin) : actually set
2835         join_style not cap_style
2836         (set_dashes): with the correct number of dashes
2838 2004-06-03  Lars Clausen  <lars@raeder.dk>
2840         * app/modify_tool.c (click_select_object): 
2841         * lib/text.c (text_set_cursor): 
2842         * app/disp_callbacks.c (ddisplay_canvas_events): Turn off text stuff.
2844 2004-05-31  Hans Breuer  <hans@breuer.org>
2846         * lib/object_defaults.c : don't 'failed to load external 
2847         entity "NULL"' when the defaults file does not exist, 
2848         bug #108764 [again: somehow this got lost]
2850         * app/paginate_gdiprint.cpp : don guess the WMF export 
2851         filter used for printing but find it by unique name.
2852         Also update for export_func renaming
2853         * plug-ins/wmf/wmf.cpp plug-ins/cairo/diacairo.c
2854         provide some unique names
2856         * app/commands.c app/disp_callbacks.c app/paginate_psprint.c 
2857           app/select.c : fix bug #140789 by always checking if there
2858         still is an active diagram before accessing it
2860         * app/defaults.c app/properties.c : user visible string should 
2861         not read DiaObject but stay as "Object defaults/properties"
2863         * app/app_procs.c : reduce the hack to pass --size to the
2864         export via user_data to the only filter supporting it. Other
2865         filters would crash on it or do worse ;(
2867         * plug-ins/wpg/wpg.c : not every 'Object' is a DiaObject ...
2869 2004-05-31  Lars Clausen  <lars@raeder.dk>
2871         * lib/widgets.h: 
2872         * lib/widgets.c: Use GtkType rather than guint for
2873         dia_size_selector_get_type. 
2875 2004-05-29  Lars Clausen  <lars@raeder.dk>
2877         * app/diapsrenderer.c (fill_bezier): Use even-odd winding rule so
2878         that it matches the screen output for selfoverlapping polygons and
2879         beziers. 
2881 2004-05-28  Hans Breuer  <hans@breuer.org>
2883         * app/load_save.c : ignore empty groups on load and don't
2884         write empty groups while saving
2885         * lib/group.h (group_update_data): there is no first object
2886         in empty groups and they probably don't need an update at 
2887         all. Maybe the shold just not exist ?
2889         * plug-ins/cairo/diacairo.c : fixed arc drawing, right aligned
2890         text positioning as well as drawing of images with alpha
2892         * plug-ins/wmf/wmf.cpp : include windows.h if eiher
2893         HAVE_WINDOWS_H or G_OS_WIN32 is defined
2895 2004-05-28  Lars Clausen  <lars@raeder.dk>
2897         * app/pixmaps/Makefile.am (imagedir): 
2898         * app/pixmaps/visible.png:
2899         * app/pixmaps/visible-empty.png: New images for the visibility
2900         button in the layer dialog.
2902         * lib/widgets.c (dia_toggle_button_new_with_images): Remove even
2903         more border around the button.  Still some left when hovering the
2904         mouse or selecting, and the grey background is annoying.
2906         * app/layer_dialog.c (dia_layer_widget_init): Use real buttons for
2907         visibility connector.
2909 2004-05-26  Lars Clausen  <lars@raeder.dk>
2911         * configure.in (DB2MAN): Better check for db2man docbook place.
2912         Need something even better.
2914         * doc/en/Makefile.am (dia.1): Conditional on having DB2MAN.
2916         * lib/widgets.c (dia_toggle_button_new_with_images): Remove
2917         extraeneous borders.
2919         * dia_logo.png:
2920         * dia_gnome_icon.png:
2921         * samples/render-test.dia: Rendering test from Hans.
2923 2004-05-24  Hans Breuer  <hans@breuer.org>
2925         * lib/filter.h : renamed DiaExportFilter::export to
2926         _DiaExportFilter::export_func (should not use c++ 
2927         keywords (g++ specifc ?) in headers. Same for import
2928         out of pure symmetry reasons
2929         * plug-ins/shape/shape-export.c plug-ins/python/diamodule.c
2930           app/diagram.c app/filedlg.c : reflect functions renaming
2932         * plug-ins/wmf/Makefile.am : finally compile the wmf plug-in
2933         under *NIX, too. [If you want something done, do it yourself ;-]
2934         * plug-ins/wmf/wmf_gdi.[hc] : some more stuff to catch up
2935         with wmf.cpp's GDI usage
2936         * plug-ins/wmf/wmf.cpp : compile even without HAVE_WINDOWS_H,
2937         [For the moment it does not much more than compiling, i.e. 
2938         the produced WMF files are invalid, if not created on windoze.]
2940         * configure.in : check for C++ to compile plug-in/wmf
2941         
2942         * objects/GRAFCET/boolequation.c : looks like fixing 
2943         another leak (untested)
2945 2004-05-23  Hans Breuer  <hans@breuer.org>
2947         * acinclude.m4 : another attempt to fix 
2948         bug #142032 (still not sure it's the right one,
2949         but works for me(tm), which the other does not ;)
2950         
2951         * plug-ins/cairo/Makefile.am
2952           plug-ins/Makefile.am 
2953           configure.in : support building the new cairo
2954         plug-in, if given --with-cairo and the cairo
2955         packages are found, see http://cairographics.org
2956         and also http://hans.breuer.org/dia/dia-cairo.htm
2958         * plug-ins/cairo/diacairo.c : make it compile
2959         with DEBUG_CAIRO defined, too.
2961 2004-05-23  Hans Breuer  <hans@breuer.org>
2963         * plug-ins/cairo/Makefile.am : initial attempt
2965         * plug-ins/cairo/diacairo.c : a new exporter based on
2966         Cairo http://cairographics.org rendering api. Currently
2967         it just can export PNG and PS but one day it might get
2968         PDF and more almost for free. [It is not yet included
2969         in the *NIX build system due to lack of auto* magic.]
2971         * plug-ins/pixbuf/pixbuf.c : always register the export
2972         filter part. If the user does not want it it can be 
2973         disabled by File/Plugins or explicit selected the other
2974         one in the Export Formats List
2976 2004-05-23  Hans Breuer  <hans@breuer.org>
2978         * lib/dia_dirs.c : #include "message.h"
2979           lib/widgets.c : #include "persistence.h"
2980           lib/widgets.c(dia_font_selector_init) : still not C99
2981           lib/persitence.h : removed unimplemented prototype
2982           lib/persitence.c(persistence_load_list) : still not C99
2983           app/create_object.c : #include "highlight.h"
2984           app/layer_dialog.c : #include "widgets.h"
2985           app/modify_tool.c : prototype functions before usage
2986           lib/object.c : if there is G_END_DECLS there _must_ be G_BEGIN_DECLS
2987         [otherwise one will have a hard time to make C++ compile ;]
2988           lib/dia_dirs.c : #include "message.h"
2989           lib/font.c : #include <gtk/gtk.h> /* just for gtk_get_default_language() */
2990           lib/
2992         * plug-ins/xfig/xfig-import.c : dont initialize an int with
2993         a string pointer
2995         * lib/dia_image.[hc](dia_image_rgba_data) : make it work
2996         as documented, i.e. _not_ copying. Plugs a memory leak in
2997         lib/dialibartrenderer.c
2999         * lib/diarenderer.c(*_rounded_rect) : renamed parameter rounding
3000         to radius to more of a clue what it is representing
3002         * */makefile.msc lib/libdia.def : updated
3004         ChangeLog : fixed some date copy&paste bug
3006 2004-05-21  Lars Clausen <lars@raeder.dk>
3008         * NEWS: Release tag.
3010         * config.h.win32: Now 0.93+cvs
3012         * RELEASE-PROCESS: Update with new info about release branches.
3013         
3014         * Many files:  Moved devel branch back into main trunk.  Should
3015         have been done in the opposite way, with release in a branch.  
3016         
3017 2004-05-20  Hans Breuer  <hans@breuer.org>
3019         * acinclude.m4 : disable setting of PYTHON_PREFIX
3020         and PYTHON_EXEC_PREFIX from prefix and exec_prefix
3021         as workaround for bug #142032 (the real fix would 
3022         involve some auto* knowledge which I don't have
3023         either;)
3024         
3025         * plug-ins/python/Makefile.am : more python 
3026         plug-ins to be installed (especially svg import,
3027         but also 'simple scale' should be useable 
3028         sometimes)
3029         
3030         * plug-ins/python/scascale.py : update display
3031         after modifying selected objects
3032         
3033         * plug-ins/python/diasvg_import.py : initialize
3034         stroke to none
3035         
3036 2004-05-18  Lars Clausen  <lars@raeder.dk>
3038         * app/diagram_tree.c (select_node): Use
3039         diagram_remove_all_selected to kill selected list.
3041         * lib/font.c: Set language when using a different context.
3043         * plug-ins/svg/svg-import.c: Changed isdigit to g_ascii_isdigit
3044         and removed ctype include (#142661).
3046         * lib/paper.c (get_default_paper): Changed isalnum to
3047         g_ascii_isalnum and removed ctype include. (#142661)
3049         * objects/custom/shape_info.c: 
3050         * lib/dia_svg.c: 
3051         * app/diaunitspinner.c: Removed unrequired ctype.h include. (#142661)
3053 2004-05-17  Hans Breuer  <hans@breuer.org>
3055         * lib/object_defaults.c : don't 'failed to load external 
3056         entity "NULL"' when the defaults file does not exist, 
3057         bug #108764
3059         * lib/widgets.c : fixed possible menu leak
3060         * lib/dialinechooser.c lib/diaarrowchooser.c : finally
3061         avoid finalization of floating references, bug #142307
3063 2004-05-15  Lars Clausen  <lars@raeder.dk>
3065         * plug-ins/xfig/xfig-import.c: Handle default fonts and illegal
3066         fonts better (#138655)
3067         
3068         * doc/pl/Makefile.am (EXTRA_DIST): Also include all xml files here.
3070         * doc/en/Makefile.am (EXTRA_DIST): Including all required files in
3071         dist, xml, dbk and man.  Also the sub-xml files. (#142098)
3073         * Makefile.am (CLEANFILES): 
3074         * sheets/Makefile.am (EXTRA_DIST): Not distributing the
3075         translation-reports, they are generated automagically.  THANKS
3076         file not considered locally generated, so is not locally
3077         cleaned. (#133735) 
3079         * lib/widgets.[ch]: Changing dia_arrow_selector to be a gobject.
3081         * lib/diaarrowchooser.c: 
3082         * lib/prop_attr.c: Fixing naming for arrowselector.
3084         * objects/UML/object.c (objet_type): Oops, little too aggressive
3085         with the DiaObject thing here:)
3087         * objects/custom/shape_info.c (parse_svg_node): Use
3088         g_ascii_isdigit instead of isdigit.
3090         * app/diaunitspinner.c (dia_unit_spinner_update): 
3091         * lib/dia_svg.c (dia_svg_parse_style): Using g_ascii_isspace
3092         instead of isspace avoids char subscript issues (#142467).
3094         * lib/persistence.c (persistence_get_string): Fixed 0/NULL/FALSE
3095         return value conflict.
3097         * app/display.c (ddisplay_update_handler): Fixed 0/FALSE return
3098         value conflict.  Also improved signature. (#142466)
3100         * app/load_save.c (diagram_data_load): Don't overwrite the list in
3101         the layer, but instead free the returned list (#142480)
3103         * app/pixmaps/Makefile.am (IMAGES): Added png's to be installed
3104         for the grid widget.
3106         * doc/en/Makefile.am (dia.1): Make proper rule for making dia.1
3108         * configure.in (DB2MAN): Currently just check for two known
3109         positions for the docbook xsl.  Don't know a generic way to find
3110         this info.  Ought to add an option for it, but then it's really
3111         only required for maintainers, I think.  Maybe.
3113         * app/display.c (update_snap_grid_status): Remove nasty image
3114         toggling code not require for grid toggle button anymore. (#142475)
3116         * app/interface.c (create_display_shell): Use
3117         dia_toggle_button_new_with_images to create grid toggle button.
3118         Much nicer. (#142475)
3120         * app/menus.c (menus_initialize_updatable_items): Free the string
3121         along with the GString. (#142475)
3123         * lib/intl.c (free_alias_table): Free hash table entries in a
3124         proper way, avoiding duplicate frees. (#142475)
3126         * lib/object_defaults.c (_obj_store): Only free layer_name if it's
3127         not put in the hash (avoid reading freed memory). (#142476)
3129         * lib/widgets.c (dia_font_selector_set_styles): Stop leaking
3130         faces. (#142484)
3131         (dia_font_selector_get_family_from_name): Stop leaking
3132         families. (#142482) 
3134 2004-05-14  Lars Clausen  <lars@raeder.dk>
3136         * Transfer of fixes from release branch.  Not the prettiest way to
3137         do it, this should be done during release, not afterwards.
3139         Tomasz Kłoczko <kloczek@pld.org.pl>:
3141         * acinclude.m4: minor fixes (added missing [] quotation).
3143         Lars Clausen  <lars@raeder.dk>:
3145         * app/interface.c (toolbox_delete): 
3146         * app/app_procs.[ch] (app_exit): Stop the delete event if the user
3147         cancels quit due to modified diagrams.
3149         Samúel Jón Gunnarsson  <sammi@techattack.nu>:
3151         * is.po: Added "is" to ALL_LINGUAS.
3153         Lars Clausen  <lars@raeder.dk>:
3155         * dia.spec: Updated as per mail from Zhang Lin-bo <zlb@lsec.cc.ac.cn>
3157         Hans Breuer  <hans@breuer.org>:
3159         * lib/makefile.msc : removed -DGTK_DISABLE_DEPRECATED; the 
3160         burden should be shared and not be win32 only ;) [this time 
3161         build was broken by adding GtkType to widget.h]
3163         * objects/standard/box.c objects/standard/ellipse.c :
3164         for code clarification compare (obj->aspect != FREE_ASPECT)
3165         and not (obj->aspect); no binary effect.
3167         * app/paginate_psprint.c : don't leak printcmd
3169         * objects/standard/box.c objects/standard/ellipse.c : fix gccisms :
3170         standard C requires variables to be declared at the beginning of 
3171         a block, also there is no fabsf() with msvc
3172         
3173         * app/win32print.[ch] : make win32_printer_close() return an
3174         error code, it's used as pclose replacement
3176         Lars Clausen  <lars@raeder.dk>:
3178         * RELEASE-PROCESS: Mention PATCH keyword in release process.
3180 2004-05-06  Lars Clausen  <lars@raeder.dk>
3182         * lib/widgets.[ch]: Utility function to make a widget with two
3183         images (selected and non-selected).
3185         * lib/diagramdata.h: Renamed selectable to connectable.
3186         Selectable will come later.
3188         * configure.in: 
3189         * app/pixmaps/Makefile.am (imagedir): 
3190         * app/pixmaps/connectable.png:
3191         * app/pixmaps/connectable-empty.png: New images for the
3192         selectability widget.  Proper installation, too.
3194         * app/layer_dialog.[ch]: Adding new button showing connectability
3195         status.  Much cleaner way of doing the button, but some problems
3196         with the item getting selected
3198         * lib/widgets.h: Reminder of how to install images for use by
3199         dia_get_image_from_file.
3201 2004-05-05  Lars Clausen  <lars@raeder.dk>
3203         * objects/network/Makefile.am: 
3204         * objects/network/pixmaps/radiocell.xpm: 
3205         * objects/network/pixmaps/basestation.xpm: 
3206         * objects/network/network.c: 
3207         * objects/network/basestation.c: 
3208         * objects/network/radiocell.c: 
3209         Patch from W. Borgert <debacle@debian.org>: Radio cell and base
3210         station objects.
3212         * lib/arrows.[ch]: Patch from Anthony <anthonym@overture.com>:
3213         Backslash arrow head. 
3215         * app/pagesetup.c (pagesetup_respond): Do not free ps twice.
3216         Notify takes care.  Should maybe use that more.
3218         * lib/diagramdata.[ch]: 
3219         * app/filedlg.c (file_export_ok_callback): 
3220         * app/diagram.c (diagram_finalize): DiagramData now a GObject.
3222         * app/dia-props.c (diagram_properties_respond): 
3223         * app/diagram.c (diagram_set_modified): 
3224         * app/undo.c: 
3225         * app/disp_callbacks.c: 
3226         * app/commands.c: 
3227         * app/load_save.c (diagram_save): 
3228         Better handling of undo and modified status -- only diagram
3229         properties and page setup explicitly set modified status, all
3230         other important changes should be done through the undo stack
3231         now.
3233 2004-05-04  Lars Clausen  <lars@raeder.dk>
3235         * app/app_procs.c (app_init): Consistently open a new diagram if
3236         none specified, with standard name Diagram1.dia.
3238         * app/layer_dialog.c: 
3239         * app/diagram.c (diagram_finalize): 
3240         * app/commands.c (dialogs_layers_callback): 
3241         * app/filedlg.c (file_export_ok_callback): 
3242         * app/app_procs.c (app_exit): 
3243         * app/display.c (display_set_active): 
3244         * app/interface.c (dia_dnd_file_drag_data_received): 
3245         * app/recent_files.c: 
3246         Undone attempt at unifying the multi-diagram windows (like
3247         layers).  It broke the layers and didn't make much sense for the
3248         diagram properties dialog anyway.
3250         * lib/group.c: 
3251         * lib/diatypes.h: 
3252         * lib/diagramdata.c: 
3253         * lib/object.h: 
3254         * lib/object.c: Undone attempts at GObject'ifying DiaObject -- too
3255         many subclasses have to be fixed.  Fixed remaining
3256         Object/ObjectType renaming issues.
3258 2004-05-02  Lars Clausen  <lars@raeder.dk>
3260         * lib/object.[ch]: Making DiaObject a GObject.  Now can I avoid
3261           having to make all the children objects conform to
3262           GObject style at once?  Warning!  Does not compile right now.
3264         * many, many files: Rename Object to DiaObject in preparation for
3265           making it a GObject.
3266         
3267         * app/diagram.[ch]: Turn diagram into a real GObject.
3269         * app/pagesetup.c: 
3270         * app/filedlg.c: Correctly ref and unref diagram. 
3272         * lib/diagramdata.h: Starting to turn it into a GObject as well.
3274 2004-05-02  Lars Clausen  <lars@raeder.dk>
3276         * lib/object.[ch]: Starting to convert Object to DiaObject, son of
3277         GObject. 
3279         * app/dia-props.c: Undo the attempt at making it really
3280         multi-diagram, now going for a one-diagram dialog.
3282 2004-04-30  Lars Clausen  <lars@raeder.dk>
3284         * app/undo.c: Undoing broken undo stuff for diagram properties and
3285         page setup.  Shouldn't be mixed into undo at all.
3287         * app/render_gdk.c (draw_pixel_line): Use the dash-setting
3288         function to avoid in particular the grid crawling.
3290         * lib/diagdkrenderer.[ch] (dia_gdk_renderer_set_dashes): Function
3291         to allow aligning dashes, so they don't crawl.
3293 2004-04-28  Lars Clausen  <lars@raeder.dk>
3295         * app/Makefile.am: New files diacanvas.[ch]
3297         * app/interface.c (create_display_shell): Use new diacanvas that
3298         allows placing widgets on canvas, for text edit.
3300         * lib/object.h: 
3301         Early work towards rotation.  No implementation yet.
3303         * app/layer_dialog.c (undo_layer): 
3304         * objects/network/bus.c (bus_create_change): 
3305         * objects/standard/box.c (aspect_create_change): 
3306         * objects/standard/ellipse.c (aspect_create_change): 
3307         Use g_new0 for change struct.
3309         * app/undo.c (diagram_change_apply_or_revert): 
3310         Support for undo of diagram properties and page setup.
3312         * app/disp_callbacks.c (ddisplay_canvas_events): 
3313         * lib/text.h: 
3314         * lib/diagramdata.h: 
3315         * app/modify_tool.c (click_select_object): 
3316         * lib/text.c (text_register_editable): 
3317         Starting work on new text editing model.  Guarded by #ifdef so
3318         far. 
3320 2004-04-07  Lars Clausen  <lars@raeder.dk>
3322         * app/recent_files.c (open_recent_file_callback): 
3323         * app/interface.c (origin_button_press): 
3324         * app/filedlg.c (file_open_ok_callback): 
3325         * app/display.c: 
3326         * app/diagram.[ch]: 
3327         * app/commands.c (dialogs_layers_callback): Using new
3328         diagram_set_current() function to ensure auxilliary windows are
3329         updated. 
3331         * app/layer_dialog.c: Trying to unify with dia-props.  Diagram
3332         menu now borken.  *sniff*
3334         * app/dia-props.c: Diagram properties window attempted
3335         persistentified.  Trying to make more like layer dialog (since it
3336         already changes when the diagram changes), but some things still
3337         borken. 
3339 2004-04-06  Lars Clausen  <lars@raeder.dk>
3341         * lib/dialinechooser.[ch] (dia_line_chooser_set_line_style): 
3342         * lib/attributes.c (attributes_set_default_line_style): 
3343         * app/interface.c (create_lineprops_area): 
3344         Make line style persistent as well.  Added function to directly
3345         set the style and dashlength of a dialinechooser. 
3347 2004-04-03  Lars Clausen  <lars@raeder.dk>
3349         * objects/standard/ellipse.c (ellipse_move_handle, ellipse_copy):
3350         Copy the ellipse extra handle correctly.
3352         * objects/standard/box.c (box_move_handle): Move definitions
3353         according to bug #138925.
3355 2004-04-02  Lars Clausen  <lars@raeder.dk>
3357         * app/recent_files.c: Use absolute name for recent files list.
3359         * lib/attributes.c: Set start and end arrow types, correctly.
3361         * lib/widgets.c (dia_arrow_selector_set_arrow): Use new function
3362         to get arrow index.
3364         * lib/diaarrowchooser.[ch]: Support for setting arrow info.
3366         * app/interface.c (create_lineprops_area): Set persistently stored
3367         arrow info.
3369         * lib/arrows.[ch]: New function to get arrow index (in arrow_types)
3370         from arrow type.
3372         * lib/dia_dirs.c: dia_get_absolute_path now creates a canonical
3373         path (i.e. without '.' or '..').  Not tuned for Win32 yet.
3375         * plug-ins/xfig/xfig-import.c: Redone ordering of import to comply
3376         with what xfig does.  Text now converted from latin-1 to utf-8
3377         (latin-1, since that's what xfig seems to use.  Would like to see
3378         examples of non-latin-1 figs).  String case problems fixed.
3380 2004-04-01  Lars Clausen  <lars@raeder.dk>
3382         * lib/attributes.c: 
3383         * app/interface.c: Default arrows now stored persistently, too.
3385         * lib/arrows.[ch]: New function to get arrow type from name.
3387         * app/color_area.c (color_area_create): 
3388         * lib/attributes.c: 
3389         * app/linewidth_area.c: Also persistent colors and line width.
3390         That was easy.  Arrows and line style will take a bit more work,
3391         but not much.
3393 2004-04-01  Lars Clausen  <lars@raeder.dk>
3395         * app/preferences.c:   All preferences are now
3396         handled by persistence, old prefs load and store code is gone.
3398         * lib/persistence.[ch]: Added string and color persistents.  This is
3399         a different string from the one used in the printer dialog, that
3400         one has a GtkEntry attached -- may want to make that one an
3401         encapsulation of this one or something.
3403 2004-03-31  Lars Clausen  <lars@raeder.dk>
3405         * app/app_procs.c: Do persistence before prefs.  Prefs are to be
3406         phased out anyway.
3407         
3408         * lib/persistence.[ch]: 
3409         * app/preferences.c: Adding persistence for integers, reals,
3410         booleans.  Fixed stupid list bug.  Test persistence for prefs.
3412 2004-03-30  Lars Clausen  <lars@raeder.dk>
3414         * app/recent_files.c: 
3415         Debugging of deallocation.
3416         
3417         * lib/widgets.c: 
3418         Font menu now uses persistence.  Ordering needs fixing, or it must
3419         be sorted.
3421         * lib/libdia.def: 
3422         * lib/Makefile.am (libdia_la_SOURCES): 
3423         * app/Makefile.am (dia_core_files): 
3424         * app/persistence.[ch]: 
3425         * lib/persistence.[ch]: Moved to lib as widgets need it.  Also a
3426         number of fixes, including multiple entries now being read
3427         properly.  Still some oddity about the persistent list having the
3428         role as first entry (which makes the font menu crash after a few
3429         iterations). 
3431 2004-03-26  Lars Clausen  <lars@raeder.dk>
3433         * app/persistence.c:
3434         * app/recent_files.[ch]: Redoing the recent-files list using
3435         persistence, reducing code by about 50%.  Still a problem when
3436         selecting an item from the menu -- possibly it doesn't like the
3437         menu being destroyed while in the callback?
3439 2004-03-25  Lars Clausen  <lars@raeder.dk>
3441         * app/persistence.c (persistence_load_string): Missing semicolon?!?
3443 2004-03-24  Lars Clausen  <lars@raeder.dk>
3445         * RELEASE-PROCESS: 
3447         * app/persistence.[ch]: 
3448         * app/paginate_psprint.c (diagram_print_ps): New type of data can
3449         be stored persistently:  Strings.  Only the printer command/file
3450         go in here now, but things like creator, organization, diagram
3451         comments etc could also be handled this way.
3453         * objects/standard/beziergon.c (beziergon_draw): Avoid control
3454         lines when the object is not selected.
3456 2004-03-23  Lars Clausen  <lars@raeder.dk>
3458         * lib/connectionpoint.h: 
3459         * app/load_save.c: Allow connection points to have names, and
3460         handle that in load/store.
3462         * lib/dialibartrenderer.c: Better highlighting for text.
3464         * lib/diagdkrenderer.h (struct _DiaGdkRenderer): 
3465         * lib/diagdkrenderer.c: Better highlighting for all, using same
3466         principles as libart highlighter.
3468 2004-03-22  Lars Clausen  <lars@raeder.dk>
3470         * lib/dialibartrenderer.[ch]: 
3471         * lib/diagdkrenderer.c: 
3472         * lib/object.h: 
3473         * app/object_ops.c:
3474         * app/diagram.[ch]:
3475         * app/display.[ch]:
3476         * app/Makefile.am: 
3477         * app/modify_tool.c: 
3478         * app/create_object.c: 
3479         * app/highlight.[ch]: 
3480         Added simple object highlighting.  In GDK rendering, highlights
3481         the bbox, in libart highlights the outline of the object (except
3482         for texts).
3484 2004-03-22  Lars Clausen  <lars@raeder.dk>
3486         * RELEASE-PROCESS: Added info on how to do a branch for
3487         development during release process.
3489 2004-03-20  Lars Clausen  <lars@raeder.dk>
3491         * RELEASE-PROCESS: Mention PATCH keyword in release process.
3493 2004-03-19  Lars Clausen  <lars@raeder.dk>
3495         * xmldocs.make: Fixed apparent uninstall error.
3497         * config.h.win32: 
3498         * doc/en/dia-manual.xml: 
3499         * doc/pl/dia-manual.xml: 
3500         * dia.spec: 
3501         * configure.in: 
3502         * NEWS: Version 0.93-pre1.
3504         * lib/dialinechooser.[ch]: Patch from pborelli@katamail.com (paolo
3505         borelli):  Remove some deprecated stuff.
3507 2004-03-18  Lars Clausen  <lars@raeder.dk>
3509         * Makefile.am: Try better uninstall thing for scrollkeeper.
3511         * objects/ER/entity.c: 
3512         * lib/arrows.[ch]: Patch from Georg Lothar Thimm
3513         <MGEORG@ntu.edu.sg>: Adds new ER arrows 1 or many, 0 or many, 0 or
3514         1, 1 exactly, as well as associative ER entities.
3516 2004-03-17  Lars Clausen  <lars@raeder.dk>
3518         * Makefile.am: Make distcheck not complain about scrollkeeper
3519         problems (as per advice from James Henstridge).
3521         * doc/pl/*.{xml,sgml}: Converted SGML manuals to XML to get better
3522         standard installation.
3524         * objects/standard/ellipse.c: Better strings for object menu.
3526         * app/sheets_dialog_callbacks.c: Fixed crashes from broken caching
3527         of dialogs (shame on you, glade!)
3529         * objects/custom/custom_object.c (custom_setup_properties):
3530         Removed debugging output
3532         * app/paginate_psprint.c (diagram_print_ps): Slightly more
3533         readable printer error messages.
3535         * xmldocs.make: 
3536         * omf.make: 
3537         * doc/en/Makefile.am: 
3538         * doc/pl/Makefile.am: 
3539         New more standard way to install the XML-based manuals.  
3541 2004-03-15  Lars Clausen  <lars@raeder.dk>
3543         * objects/standard/box.c (box_move_handle): More intuitive fixed
3544         aspect behaviour.
3546         * objects/standard/ellipse.c: 
3547         * objects/standard/box.c: 
3549         * lib/widgets.[ch]:
3550         * app/layer_dialog.[ch]:
3551         Patch from Steve Langasek <vorlon@debian.org>:
3552         Fixes startup crash on Alpha (bug #137169)
3553         
3554         * objects/standard/box.c: Aspect fixing like ellipses.
3556         * app/Makefile.am (dia_core_files): Include dia-app-icons.h
3558         * lib/pixmaps/Makefile.am (imagedir): Better Makefile.am for
3559         pixmaps, now can uninstall properly.
3561         * objects/standard/ellipse.c: Patch from dooms@info.ucl.ac.be:
3562         Fixed and circle aspect ratios for ellipses.  Bug #137156, #87966,
3563         #93940. 
3564         Added object menu access.
3566 2004-03-07  Hans Breuer  <hans@breuer.org>
3568         * lib/diaarrowchooser.c lib/dialinechooser.c : #undef
3569         GTK_DISABLE_DEPRECATED (I'd rather like if these widgets
3570         would not use deprecated apis, but it's much simpler this way)
3572         * lib/makefile.msc : build the above new widgets and render_pixmap
3573         * lib/libdia.def app/dia.def app/makefile.msc : updated
3575         * app/disp_callbacks.c : fix gccisms (without being able to make much sense of 
3576         what I saw, i.e. how big is an empty array supposed to be ? ;-). 
3577         Previously it gave :
3578         disp_callbacks.c(188) : error C2059: syntax error : '}'
3579         disp_callbacks.c(191) : warning C4034: sizeof returns 0
3581         * app/interface.c : #include "dialinechooser.h"
3583         * lib/diagdkrender.c : make the !HAVE_FREETYPE case compile again
3584         [one more reason not to use it here : it's quite slow compared to
3585          the native win32 font renderer ;]
3587         * app/app_procs.c app/filedlg.c : gtk_widget_destroy does not take
3588         a GtkDialog*, removed unneeded cast
3590         * app/render_eps.c : avoid assignment warning for void* user_data
3591         not being an int 
3593 2004-03-06  Steffen Macke sdteffen@web.de>
3595         * shapes/Map/Isometric/Makefile.am: added Makfile for Isometric
3596         shapes
3598 2004-03-06  Lars Clausen  <lars@raeder.dk>
3600         * lib/arrows.h (DEFAULT_ARROW_SIZE): Downed default arrow size to
3601         0.5, as per poll.
3603         * lib/font.c: Simple cleanup system for layout cache removes any
3604         layout that hasn't been used for 10 minutes, but only during idle
3605         time. 
3607 2004-03-05  Lars Clausen  <lars@raeder.dk>
3609         * sheets/Electric.sheet.in: Added patch from padro@lsi.upc.es
3610         (lluis padro) (#130887): Extended Electric shapes with vertical
3611         versions. 
3613         * sheets/Cybernetics.sheet.in: Normalize shape descriptions (never
3614         start with "Create a" or "A", always capitalize first word).
3616         * objects/standard/ellipse.c: Patch from Grégoire Dooms
3617         <dooms@info.ucl.ac.be>: Add extra connection point in center of
3618         ellipse.  Additionally added a handle in the center, and resize is
3619         now around the center.
3621         * configure.in: 
3622         * sheets/Makefile.am (SUBDIRS): 
3623         * sheets/IsometricMap.sheet.in: 
3624         * shapes/Map/Isometric/*
3625         * shapes/Makefile.am (SUBDIRS): Added Isometric shapes.
3627 2004-03-04  Lars Clausen  <lars@raeder.dk>
3629         * lib/Makefile.am: 
3630         * lib/pixmaps/Makefile.am: 
3631         * configure.in: 
3632         Better installation handling of pixmaps.
3633         
3634         * lib/diagdkrenderer.c: 
3635         * lib/diagtkfontsel.h (struct _DiaGtkFontSelectionClass): 
3636         * lib/diagtkfontsel.c (dia_gtk_font_selection_show_available_fonts): 
3637         Constness fixes.
3639 2004-03-03  Lars Clausen  <lars@raeder.dk>
3641         * lib/diagtkfontsel.h (struct _DiaGtkFontSelection): 
3642         * lib/diagdkrenderer.c: 
3643         * lib/diasvgrenderer.c:
3644         * lib/dialibartrenderer.c:
3645         * lib/diainteractiverenderer.c: 
3646         * lib/prop_text.c (multistringprop_handle_key): 
3647         * lib/dia_dirs.c: 
3648         * lib/dia_image.c (dia_image_rgba_data): 
3649         * lib/widgets.c: 
3650         * lib/diagramdata.c (layer_set_object_list): 
3651         * lib/font.h: 
3652         * lib/font.c: 
3653         Getting rid of compile warnings.
3655         * lib/widgets.c: Handle destroy properly, i.e. unref the two extra
3656         images.  Also remove unused decls.
3658 2004-03-02  Lars Clausen  <lars@raeder.dk>
3660         * lib/widgets.h: 
3661         * lib/widgets.c (dia_size_selector_init): Add images to the size
3662         selector chain widget.  Also new function to load installed images
3663         from files (better than from included XPM, IMHO).
3665 2004-03-02  Lars Clausen  <lars@raeder.dk>
3667         * lib/libdia.def: 
3668         * lib/pixmaps/[un]broken-chain.xpm: Icons stolen from GIMP for the
3669         size selector.
3671         * lib/Makefile.am: 
3672         * lib/widgets.c (dia_size_selector_init): Work
3673         on getting proper icon onto the size selector.  Need simple image
3674         load mechanism in utils.
3676         * lib/text.c: 
3677         * app/display.[ch]:
3678         * app/disp_callbacks.c: Patch from kou@cozmixng.org: Show preedit
3679         strings, handle utf8 strlen properly.  Bug #135930.
3681 2004-03-01  Lars Clausen  <lars@raeder.dk>
3683         * shapes/Cybernetics/*:
3684         * sheets/Cybernetics.sheet.in:
3685         * sheets/Makefile.am:
3686         * shapes/Makefile.am: 
3687         * configure.in: Patch from charly.meyer@t-online.de (Thorsten
3688         Roggendorf): Cybernetic shapes (#95553).
3690 2004-03-01  Lars Clausen  <lars@raeder.dk>
3692         * app/Makefile.am: Fixed $(EXEEXT) warning from automake.
3694         * lib/diatypes.h: New type DiaSizeSelector.
3696         * lib/widgets.[ch]: New size selector widgets that selects two
3697         values (width and height, nominally) optionally linked to keep
3698         aspect ratio.
3700 2004-03-01  Hubert Figuiere  <hfiguiere@teaser.fr>
3702         * plug-ins/svg/render_svg.c (new_svg_renderer): Add DTD declaration
3703         in front of file. Bug #128600.
3705         * app/Makefile.am:
3706         * app/interface.h:
3707         * app/lineprops_area.[ch]:
3708         * lib/Makefile.am:
3709         * lib/dialinechooser.[ch]:
3710         * lib/widgets.c (dia_line_style_selector_init): use line preview 
3711         instead of text labels. This involve moving away line_chooser to lib
3712         from app.
3714         * lib/diaarrowchooser.[ch] (close_and_hide): Make static to avoid
3715         symbol conflicts.
3717         * app/Makefile.am (dia_core_files): 
3718         * app/interface.c (create_lineprops_area):
3719         * app/render_pixmap.[ch]:
3720         * lib/Makefile.am:
3721         * lib/diaarrowchooser.[ch]:
3722         * lib/libdia.def:
3723         * lib/prop_attr.c:
3724         * lib/propdialogs.c:
3725         * lib/render_pixmap.[ch]:
3726         * lib/widgets.c (dia_arrow_fill_menu): Use arrow preview instead
3727         of text labels. This involve moving away arrow_chooser to lib from
3728         app.
3730 2004-02-29  Lars Clausen  <lars@raeder.dk>
3732         * objects/UML/class.[ch]: Puny kludge to avoid GtkList objects
3733         being updated half-way through destruction.  To be removed when
3734         the lists are replaced by something better.
3736         * objects/UML/class_dialog.c: Patch from luc@handhelds.org:
3737         Accelerators for class dialog.  Bug #130995.
3738         Patch from luc@handhelds.org: Better aligning of widgets.  Bug #130994.
3740         * app/dia-props.c:
3741         * app/preferences.c:
3742         * lib/properties.c:
3743         * objects/GRAFCET/step.c:
3744         * objects/Misc/analog_clock.c:
3745         * objects/chronogram/chronoline.c:
3746         * objects/chronogram/chronoref.c:
3747         Change to american spelling (color, not colour) to ease
3748         translators job.  Note that a number of translations may need an
3749         update now.  Bug #120466.
3751 2004-02-29  Lars Clausen  <lars@raeder.dk>
3753         * plug-ins/xfig/xfig-export.c: Patch from solworth@cs.uic.edu:
3754         Better arrow handling for missing arrows.
3756         * plug-ins/metapost/render_metapost.[ch]: Patch from
3757         phred@cs.berkeley.edu (Fred Reiss): Add font faces and font
3758         size. See bug #135363.
3760         * app/app_procs.c (app_init): If non-interactive, or if
3761         --log-to-stderr used, send all messages to stderr.  This should
3762         mean that old diaconv == dia --export-to-format=FOO BAR
3764 2004-02-29  Hubert Figuiere  <hfiguiere@teaser.fr>
3766         * app/menus.c: Get rid of GNOME menus. Deprecated APIs in GNOME 2.
3768 2004-02-28  Lars Clausen  <lars@raeder.dk>
3770         * lib/text.c (text_key_event): Patch from Kouhei Sutou
3771         <kou@cozmixng.org>: Fix wrong utf8 strlen handling.
3773 2004-02-27  Lars Clausen  <lars@raeder.dk>
3775         * KNOWN_BUGS: Added info on most commonly reported bugs, with
3776         BugZilla numbers.
3777         
3778         * app/disp_callbacks.c (popup_object_menu): Unified properties
3779         entry, fixes bug #105080.
3781         * app/diagram.c (diagram_update_menu_sensitivity): 
3782         * app/menus.h (struct _UpdatableMenuItems): 
3783         * app/menus.c (menus_initialize_updatable_items): Menu items
3784         changed around, align menus flattened, properties entry ghosted,
3785         dialogs menu removed, more shortcuts added.  Closing bugs #94018,
3786         #117495, #135125.
3787         Also taking out Gnome menus for now.  They don't allow shortcuts,
3788         so what are they good for?
3790 2004-02-27  Lars Clausen  <lars@raeder.dk>
3792         * app/menus.c (display_menu_items): 
3793         * app/commands.[ch]: Added duplicate menu item from Alan Horkan
3794         (bug #95546).
3796 2004-02-24  Adam Weinberger  <adamw@FreeBSD.org>
3798         * configure.in: Added 'en_CA' (Canadian English) to ALL_LINGUAS.
3800 2004-02-23  Lars Clausen  <lars@raeder.dk>
3802         * app/app_procs.c (app_init): Comments for translators.
3804 2004-02-22  Hubert Figuiere  <hfiguiere@teaser.fr>
3806         * app/preferences.c (prefs_create_dialog): Change packing policy
3807         for widget to expand.
3809         * app/Makefile.am (run_dia.sh): Fixed a typo in wrapper that prevented
3810         running with a debugger.
3812 2004-02-19  Lars Clausen  <lars@raeder.dk>
3814         * app/undo.[ch]: Adding last-saved information to undo to allow a
3815         diagram with all changes since last save undo to be marked as
3816         nonmodified.  Still needs integration with actual undo
3817         apply/revert calls.
3819         * app/diagram.h: 
3820         * app/diagram_tree.c (diagram_tree_update): 
3821         * app/diagram.c: 
3822         * app/display.c (update_modified_status): 
3823         * plug-ins/python/pydia-diagram.c (PyDiaDiagram_GetAttr): 
3824         * app/autosave.c (autosave_check_autosave): Encapsulate modifed
3825         test. 
3827         * app/render_eps.[c]: Restructure to better handle PS vs. EPS
3828         vs. EPSI, comment out EPSI until preview is in there.
3830         * lib/render.c: 
3831         * lib/diarenderer.c: Removing debugging printfs.
3833         * app/diapsrenderer.[ch]: Preparations for proper EPSI rendering
3834         (with preview)
3836         * objects/standard/arc.c (arc_update_handles): Check to avoid
3837         crash when start and end points are the same.
3839 2004-02-19  Lars Clausen  <lars@raeder.dk>
3841         * objects/standard/bezier.c: 
3842         * objects/standard/line.c (line_load): 
3843         * objects/standard/polyline.c (polyline_load): 
3844         * objects/standard/zigzagline.c (zigzagline_load): 
3845         * objects/standard/arc.c (arc_load): 
3846         * lib/widgets.h (DEFAULT_ARROW_WIDTH): Use DEFAULT_ARROW_SIZE
3847         instead of hardcoding.
3849 2004-02-18  Hubert Figuiere  <hfiguiere@teaser.fr>
3851         * app/disp_callbacks.c (popup_object_menu): append a menu item to 
3852         display properties.
3854 2004-02-17  Hubert Figuiere  <hfiguiere@teaser.fr>
3856         * app/app_procs.c: declare rc properly with the proper #ifdef
3858 2004-02-17  Lars Clausen  <lars@raeder.dk>
3860         * plug-ins/xfig/xfig-import.c: Correct ordering of imported FIG
3861         objects (which seemingly FIG itself breaks, or else there is no
3862         ordering).
3864 2004-02-16  Lars Clausen  <lrclause@cs.uiuc.edu>
3866         * plug-ins/xfig/xfig-export.c (figLineWidth): Check for minimum
3867         width renderable in xfig.  Helps on bug #133637, but does not
3868         quite fix it -- something about depth is wrong.
3870         * plug-ins/xslt/xslt.[ch]: Patch #133913 from phenning@lanl.gov:
3871         Extern definitions for Mac compilation.
3873         * app/app_procs.c: Patch #131159 from J. H. M. Dassen
3874         (jdassen@debian.org): Include fix.
3876         * app/interface.c: Patch #130100 from luc@handhelds.org:  Make
3877         sure the initial diagram size is correct.
3879 2004-02-15  Lars Clausen  <lrclause@cs.uiuc.edu>
3881         * lib/Makefile.am (AM_CPPFLAGS): Override AM_CPPFLAGS instead of
3882         CPPFLAGS, as per automake warning.
3883         * app/Makefile.am (AM_LDFLAGS): Override AM_LDFLAGS instead of
3884         LDFLAGS, as per automake warning.
3885         (run_dia.sh): More robust creation, and more easily moved.
3887         * app/undo.c (group_objects_revert): Don't double-free the objects
3888         list.  (#129221) Call object_add_updates on grouped objects.
3889         (ungroup_objects_revert): Call object_add_updates on grouped objects.
3891         * lib/diagramdata.c: Internal
3892         documentation. 
3894         * lib/polyshape.c (polyshape_update_data): Correctly calculate
3895         directions for polyshape corners (thanks, Valgrind!)
3897         * lib/attributes.c: 
3898         * lib/prop_attr.c (arrowprop_load): Use default arrow size.
3900         * lib/arrows.h: Default arrow size defined.  After all are using
3901         this, may lower to 0.4 or so.
3903         * app/lineprops_area.[ch]: New function to set the arrow type for an
3904         arrow chooser.
3906         * app/interface.c (create_lineprops_area): Set default line to
3907         have an arrow (fairly likely to be what's wanted, plus it shows
3908         the user where arrows are set).
3910         * app/app_procs.c: #ifdef HAVE_POPT popt args to process_opt
3912 2004-02-14  Lars Clausen  <lrclause@cs.uiuc.edu>
3914         * plug-ins/metapost/render_metapost.c (draw_with_linestyle):
3915         Dotted lines should use dot_length, not dash_length.
3917 2004-02-06  Hans Breuer  <hans@breuer.org>
3919         * app/interface.c : don't use gtk_drawing_area_size() to avoid
3920         the defaut size being also the minimum size. Instead use
3921         gtk_window_set_default_size() on the display shell. Fixes #130982.
3923         [fixing #131210, but umlauts in the 'main' filename still not really 
3924          supported on systems where filesystem encoding != utf8
3925         (Problems with recent file menu and window title)]
3926         * lib/dia_xml.[hc] : add data_filename() and data_add_filename()
3927         to deal with possible differnces in filename encodings, see
3928         g_filename_<to|from>_utf8()
3929         * objects/standard/image.c : use them.
3931         * lib/widgets.c : handle possible encoding difference here, too.
3932         Also get rid of most warnings by using const and GTK casts where 
3933         appropriate; one wrong cast (probably causing a crash) was found/fixed 
3934         by this - the remaining give a hint on finally leaking FontSelectorEntry.
3936         * lib/widgets.[hc] : hide _DiaFileSelector and *Class in .c. Modified
3937         dia_file_selector_<get|set>_file to behave like the respective Gtk 
3938         functions do : encoding- and const-wise ;-)
3940 2004-02-01  Robert Sedak  <robert.sedak@sk.htnet.hr>
3942         * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
3944 2004-01-19  Hans Breuer  <hans@breuer.org>
3946         * app/app_procs.c app/diaconv : 
3947         only call bind_textdomain_codeset when available, what's good 
3948         for The Gimp (bug #131215) can't be wrong for Dia : bug #125926
3949         * config.h.win32 : define HAVE_BIND_TEXTDOMAIN_CODESET
3951 2004-01-19  Steffen Macke <sdteffen@web.de>
3953         * makefile.msc: updated for new GAIM-like installer build; sync'ed
3954         ALL_LINGUAS with configure.in
3956 2004-01-18  Hans Breuer  <hans@breuer.org>
3958         * app/app_procs.c (myXmlErrorReporting) : avoid possible crash 
3959         by not passing NULL to g_print()
3961         * app/interface.c (create_toolbox) : actually use
3962         persitence_register_window() to restore toolbox window size
3964         * app/makefile.msc lib/makefile.msc : allow to deselect
3965         building with Freetype by command line to nmake like :
3966                 nmake -f makefile.msc "NOFT2=1"
3968         * plug-ins/python/diasvg_import.py : handle 'stroke-array' as
3969         far as possible with Dia's limited line style
3970         * plug-ins/python/pydia-property.c : allow to get and set
3971         Linestyle, style and dash(length)
3973         * lib/object.h : removed typedef for ObjectId not use anywhere
3975 2004-01-17  Hans Breuer  <hans@breuer.org>
3977         * objects/custom/shape_info.[hc] objects/custom/custom_object.c
3978           doc/shape.dtd doc/custom-shapes : 
3979         support for images in custom shapes, also removed some long-time
3980         dead code
3982         * doc/en/*.xml : fixed crippled line ends which get created
3983         when windoze line ends are checkin from the unix side
3985 2004-01-13  Laurent Dhima  <laurenti@alblinux.net>
3987         * configure.in: Added "sq" to ALL_LINGUAS.
3989 2004-01-11  Hans Breuer  <hans@breuer.org>
3991         [more less leaks ;-]
3992         
3993         * objects/SADT/annotation.c : use text_destroy() not g_free()
3994         
3995         * objects/chronogram/chronoline.c : neither leak chronoline::events
3996         nor chronoline::name
3998         * objects/wpg/wpg.c : don't g_free() but g_object_unref(renderer);
4000 2004-01-11  Hans Breuer  <hans@breuer.org>
4002         * lib/properties.h :
4003         * objects/custom/custom_object.c : more properties optional
4004         to be backward compatible for older diagrams not having them 
4005         set. (Try to load samples/all_objects.dia)
4006         
4007         [less memory leaks thanks valgrind ;-]
4008         
4009         * app/recent_files.c (recent_file_history_write) : 
4010         g_free(history_filename);
4011         (recent_file_menu_item) : use g_path_get_basename() 
4012         which already strdups, free result of g_strescape()
4013         
4014         * app/filedlg.c (create_export_menu) : return of
4015         filter_get_export_filter_label() must be g_free()'d
4016         (create_open_menu) : same for import
4017         
4018         * app/export_png.c (export_png_ok) : destroy info ptr
4019         with png_destroy_write_struct()
4020         
4021         * app/app_procs.c (app_init) : g_free(export_format_string);
4022         
4023         * lib/font.c (dia_font_finalize) : finalize parent_class, too
4024         (dia_font_new_from_style) : stop leaking almost all DiaFont by not
4025         refing it a second time, g_type_create_from_instance() is enough
4026         
4027         * lib/object_defaults.c (_obj_store) : don't mess with names
4028         len 0 (should avoid 'Invalid read of size 1, but doesn't ;)
4029         
4030 2004-01-11  Steffen Macke <sdteffen@web.de>
4032         * app/diapsftrenderer.c: including ftoutln.h
4033         * app/makefile.msc: updated for freetype build
4034         * lib/libdia.def: added dia_font_get_context()
4035         * lib/dialibartrenderer.c (draw_string): added cast
4036         
4037 2004-01-10  Hans Breuer  <hans@breuer.org>
4039         * lib/diagdkrenderer.c (draw_string) : gdk_draw_line with
4040         transformed coordinates, fixes bug 130804
4042 2004-01-10  Hans Breuer  <hans@breuer.org>
4044         * app/filedlg.c app/app_procs.c : don't try to destroy 
4045         'gtk_dialog_run'-dialogs dialogs by connecting to the "response"
4046         signal but simply by gtk_widget_destroy() after gtk_dialog_run()
4047         returns. Fixes 'has no handler' bugs like #121019
4049 2004-01-10  Hans Breuer  <hans@breuer.org>
4051         * objects/UML/class.c objects/UML/class_dialog.c : 
4052         handle umlclass->name being empty to avoid, i.e. fix #127968
4054         [plugging memleaks, thanks valgrind :-]
4055         
4056         * lib/dia_xml.c (data_string) : don't leak return value
4057         of xmlNodeListGetString()
4058         
4059         * lib/dia_xml.c (xml_file_check_encoding) : g_free(buf)
4060         before returning, maybe alloca() would be the better 
4061         choice but anyway ;)
4063         * objects/custom/custom_object.c:306 : adde xmlFree(str) below
4064         
4065         * lib/font.c (dia_font_build_layout) : don't leak result
4066         of g_utf8_strdown()
4067         
4068         * lib/diagdkrenderer.c (draw_string) : don't leak rgba
4069         (this is the one which got me started using valgrind, see #130816)
4070         
4071 2004-01-07  Sanlig Badral  <badral@openmn.org>
4073         * configure.in: Added "mn" to ALL_LINGUAS.
4075 2004-01-04  Hans Breuer  <hans@breuer.org>
4077         * lib/diagdkrenderer.c : replace rendering of really small (height
4078         less than 2 pixels) with a simple dashed line, you wont notice the 
4079         differnce beside it being much faster. This allows ...
4080         * lib/diagdkrenderer.h : ... to remove gboolean rendertext ...
4081         * app/navigation.c : ... and lets you see an read rendered text even 
4082         in the nice navigation popup.
4084         * lib/dialibartrenderer.c : FONT_SCALE defined as 1.0 for G_OS_WIN32, too. 
4085         (draw_string) : don't leak temporary image
4087 2004-01-04  Hans Breuer  <hans@breuer.org>
4089         * app/dia-app-icons.h : TODO : to be removed when autogenerated on *NIX, too.
4090         * app/interface.c : use dia-app-icons.h to give Dia window icons
4092         * lib/dia_image.c lib/color.c : _never_ call functions implemented
4093         in app/ from lib/. It is not portable and broken from design
4094         * app/app_procs.c : call color_init() and dia_image_init() conditional,
4095         i.e. only if running interactive.
4097         * lib/font.h : #include <time.h>
4099         * lib/libdia.def : updated externals
4101         * objects/UML/actor.c 
4102             objects/UML/association.c (todo)
4103           objects/UML/branch.c
4104           objects/UML/class.[hc] objects/UML/class_dialog.c
4105           objects/UML/classicon.c
4106           objects/UML/component.c 
4107           objects/UML/constraint.c
4108           objects/UML/dependency.c
4109           objects/UML/generalization.c
4110           objects/UML/implements.c
4111           objects/UML/large_package.c
4112           objects/UML/lifeline.c
4113           objects/UML/message.c
4114           objects/UML/node.c
4115           objects/UML/object.c
4116           objects/UML/realizes.c
4117           objects/UML/small_package.c
4118           objects/UML/state.c
4119           objects/UML/usecase.c
4120           objects/UML/
4121         : ported coloring of most UML objects (bug #97517, orginal
4122           work Mathias Hasselmann)
4124         * lib/properties.h : add _OPTIONAL variants for 
4125         PROP_STD_(LINE|FILL|TEXT)_COLOUR which allows to load old -
4126         i.e. default colored - UML diagrams without complaining
4127         * lib/proplist.c lib/propoffsets.c : avoid setting _OPTIONAL,
4128         not set properties with the help of PXP_NOTSET. Otherwise 
4129         optional attributes would lead to wrong initialization. 
4131         * lib/widgets.[hc] : moved _DiaFontSelector from .h to .c
4132         to hide details and restict #undef GTK_DISABLE_DEPRECATED to .c
4133         Same for most other selectors which probably should be rewritten
4134         to the combo box with tree model from Gtk+ 2.4
4136 2004-01-04  Lars Clausen  <lrclause@cs.uiuc.edu>
4138         * INSTALL (PLATFORM NOTES): Mention the Gnu gettext and iconv as
4139         being the Right Thing(tm) to use on Solaris.
4141         * objects/standard/bezier.c (bezierline_draw): Don't draw
4142         guidelines if not selected.
4144         * lib/object.[ch] (dia_object_is_selected): Function to check whether
4145         a given object is selected. O(n), where n is # selected objects.
4146         
4148 2004-01-03  Lars Clausen  <lrclause@cs.uiuc.edu>
4150         * lib/widgets.[ch]: Make sure old font is re-chosen when the Other
4151         Fonts dialog is closed without pressing Ok (bug #128646).
4153 2004-01-02  Lars Clausen  <lrclause@cs.uiuc.edu>
4155         * app/Makefile.am: Quote arguments correctly for run_dia.sh (bug
4156         #130099). 
4158 2004-01-01  Lars Clausen  <lrclause@cs.uiuc.edu>
4160         * INSTALL: Updated list of requirements (bug #129653)
4162         * doc/en/dia.dia: Beginning class diagram for Dia from Luc
4163         Pionchon <luc@handhelds.org>.
4165 2003-12-31  Lars Clausen  <lrclause@cs.uiuc.edu>
4167         * lib/diagdkrenderer.c (draw_string): Don't attempt to render
4168         empty or NULL strings (bug #130097).
4170 2003-12-31  Chris Sperandio <sperandi@eng.usf.edu>
4171         
4172         * plug-ins/metapost/render_metapost.c: Fixed string colorization.
4173         Added checks against color_black.
4175 2003-12-31  Lars Clausen  <lrclause@cs.uiuc.edu>
4177         * plug-ins/xfig/xfig-export.c (figArrow): Output nothing for
4178         ARROW_TYPE_NONE.  Thanks to Jon A. Solworth for showing that this
4179         can happen.
4181         * objects/UML/component_feature.c: Patch from W. Borgert
4182         <debacle@debian.org>:  Add handle to component feature text.
4184         * lib/diagdkrenderer.c (draw_string): Remove poorly placed caching.
4186         * lib/font.c: Caching PangoLayout for better rendering speed.
4188 2003-12-30  Lars Clausen  <lars@raeder.dk>
4190         * lib/dia_dirs.[ch] (dia_get_absolute_filename): New function to
4191         get absolute file name from relative.
4192         * app/recent_files.c (recent_file_history_add): Use absolute
4193         filenames for recent files menu so that files can be found when
4194         Dia is invoked from other places.  
4196         * app/app_procs.c (handle_all_diagrams): Fix for 1/3 of 130098:
4197         Actually load different diagrams if such are requested on command
4198         line.  
4200         * objects/UML/class_dialog.c (class_create_page): Fix from Luc
4201         Pionchon <luc@handhelds.org>: Correctly align labels for colors.
4203         * lib/diagdkrenderer.[ch]: From Luc: New option to GdkRenderer to
4204         remove text rendering.  May be turned into greeking at some later
4205         stage.
4207         * app/interface.c: 
4208         * app/Makefile.am (dia_core_files): 
4209         * app/navigation.[ch]: Patch from Luc Pionchon <luc@handhelds.org>:
4210         Adds navigation window a la Gimp, though without text being
4211         rendered at all.
4213 2003-12-27  Luc Pionchon <luc@handhelds.org>
4215         * app/navigation.h: (new file)
4216         * app/navigation.c: (new file) creates a navigation window with a
4217         thumbnail view of the whole diagram.
4218         * app/Makefile.am (dia_core_files): added new files.
4220         * app/interface.c (create_display_shell): added a button between
4221         the scrollbars to popup a navigation window.
4223         * lib/diagdkrenderer.h (struct_DiaGdkRenderer): added rendertext
4224         boolean
4225         * lib/diagdkrenderer.c (renderer_init): set rendertext TRUE by default
4226         * lib/diagdkrenderer.c (draw_string): returns if the renderer do
4227         not want text rendering.        
4229 2003-12-14  Lars Clausen  <lrclause@cs.uiuc.edu>
4231         * shapes/Circuit/hresistor.shape: Uses new extra attribute thing.
4233         * objects/custom/shape_info.[ch]: Cleanup.
4235         * objects/custom/custom_object.[ch]: Changed to use new props
4236         interface.
4238         * lib/properties.h: 
4239         * lib/prop_text.c: 
4240         * lib/prop_inttypes.c: 
4241         * lib/prop_geomtypes.c: Added *prop_get_data_size.
4243         * lib/libdia.def: Added object_load_props.
4245         * configure.in: Better FT2 version test, from bug #129225.
4247         * dia.spec (BuildRequires): Changed to match makefile (bug #129131)
4249         * plug-ins/xslt/dia-uml2python.xsl: Added Python sheet from Holger
4250         Lehmann <holger.lehmann@catworkx.de>.
4252         * plug-ins/xslt/Makefile.am: 
4253         * plug-ins/xslt/stylesheets.xml: Added Python, Component List,
4254         and OWL XSLT sheets.
4256 2003-12-13  Lars Clausen  <lrclause@cs.uiuc.edu>
4258         * lib/diagdkrenderer.c: Add implementation so text is still
4259         rendered.  May be improved later.
4261         * lib/dia_image.c: 
4262         * app/main.c: 
4263         * app/export_png.c: 
4264         * app/diagram.c: 
4265         * app/app_procs.c: Patch from W. Borgert <debacle@debian.org>:
4266         Allow running without a $DISPLAY!
4268         * lib/color.c: Remove warnings for non-interactive run.
4270         * doc/en/dia.dbk: 
4271         * app/export_png.c: 
4272         * app/diaconv.c: 
4273         * app/app_procs.[ch]: 
4274         Patch from W. Borgert <debacle@debian.org>: Allow a --size argument
4275         to specify size for PNG output.
4277         * app/lineprops_area.c (dia_arrow_preview_expose): Make arrows
4278         render a little smaller, so as to fit the big ones.
4280         * lib/arrows.[ch]: New arrow type from W. Borgert
4281         <debacle@debian.org>: Filled Dot and Triangle.
4283 2003-12-02  Lars Clausen  <lrclause@cs.uiuc.edu>
4285         * doc/pl/Makefile.am (install-data-hook): Fixed installation bug
4286         for gif images.
4288         * plug-ins/xslt/dia-uml2owl.xsl: Added OWL XSLT from Dan Connolly.
4290         * acinclude.m4: Better Python configure code patch (can't find
4291         author, author please speak up!)
4293 2003-12-01  Lars Clausen  <lrclause@cs.uiuc.edu>
4295         * lib/diagdkrenderer.c (get_cached_text): Stupid bugs replaced by
4296         smarter ones.
4298 2003-11-30  Hans Breuer  <hans@breuer.org>
4300         * plug-ins/python/diasvg.py : initialize self.dash_length
4301         in constructor to avoid crashing if the renderer user
4302         does not set it before first usage.
4304 2003-11-30  Lars Clausen  <lrclause@cs.uiuc.edu>
4306         * lib/diagdkrenderer.c: Start of cache GDK text renderer -- not
4307         active yet.
4309         * configure.in: 
4310         * config.h.win32: Set version number to 0.92.2+cvs to distinguish
4311         development and stable versions.
4313         * lib/text.c (text_draw): Use new renderer function to draw the
4314         text.
4316         * lib/diarenderer.h: 
4317         * lib/diarenderer.c: New renderer function "draw_text" with
4318         default implementation.  This function should eventually be the
4319         main interface, as it will be able to handle width and caching of
4320         rendering internally.  All users of draw_string should convert to
4321         use Text objects and call either renderer->draw_text or text_draw,
4322         the latter if the text can be edited in-place (as should be the
4323         goal, eventually).
4325 2003-11-29  Lars Clausen  <lrclause@cs.uiuc.edu>
4327         * shapes/Circuit/hresistor.shape: First example of extra
4328         attributes. 
4330 2003-11-28  Lars Clausen  <lrclause@cs.uiuc.edu>
4332         * plug-ins/shape/shape-export.c: 
4333         * lib/diasvgrenderer.h: 
4334         * lib/diasvgrenderer.c: 
4335         * plug-ins/svg/render_svg.c (new_svg_renderer): 
4336         Actually store the font size, using DiaRenderer's font fields.
4338 2003-11-27  Lars Clausen  <lrclause@cs.uiuc.edu>
4340         * objects/custom/shape_info.[ch]: 
4341         * objects/custom/custom_object.[ch]: 
4342         Support for extra attributes in custom objects.
4343         
4344 2003-11-23  Lars Clausen  <lrclause@cs.uiuc.edu>
4346         * app/diagram.c (diagram_update_menu_sensitivity): More
4347         intelligent checks for menu sensitivity.  Might be slow on huge
4348         diagrams, but I think other things outweigh it by a lot.
4350         * app/menus.[ch]: Make "Bring Forwards"
4351         and "Send Backwards" updateable.
4353 2003-11-22  Steffen Macke <sdteffen@web.de>
4355         * shapes/Assorted/arrow-turn-up.shape:
4356         * shapes/Assorted/arrow-turn-up.png:
4357         * sheets/Assorted/Makefile.am:
4358         * sheets/Assorted.sheet.in: Added new arrow
4360 2003-11-17  Lars Clausen  <lrclause@cs.uiuc.edu>
4362         * app/app_procs.c
4363         * app/color_area.c
4364         * app/commands.c
4365         * app/defaults.c
4366         * app/dia_embedd.c
4367         * app/diagram.c
4368         * app/diagram_tree.c
4369         * app/diagram_tree_menu.c
4370         * app/diagram_tree_window.c
4371         * app/diapagelayout.c
4372         * app/diaunitspinner.c
4373         * app/export_png.c
4374         * app/filedlg.c
4375         * app/interface.c
4376         * app/layer_dialog.c
4377         * app/lineprops_area.c
4378         * app/linewidth_area.c
4379         * app/menus.c
4380         * app/pagesetup.c
4381         * app/paginate_psprint.c
4382         * app/persistence.c
4383         * app/plugin-manager.c
4384         * app/preferences.c
4385         * app/properties.c
4386         * app/recent_files.c
4387         * app/sheets.c
4388         * app/sheets_dialog.c
4389         * app/sheets_dialog_callbacks.c
4390         * app/tool.c: Patch from Sebastien Tricaud <toady@gscore.org>:
4391         GTK-2 compatibility update, mostly gtk_foo -> g_foo.
4393         * TODO: Updated, note on EPS transparency.
4395 2003-11-07  Lars Clausen  <lrclause@cs.uiuc.edu>
4397         * objects/UML/class.c (umlclass_draw): Allow classes with no name
4398         without crashing.
4400 2003-11-01  Lars Clausen  <lrclause@cs.uiuc.edu>
4402         * config.h.win32: 
4403         * doc/en/dia-manual.xml: 
4404         * dia.spec: 
4405         * configure.in: 
4406         * NEWS: Another Brown Bag release for parenting problems,
4407         including a crash bug fix.
4409         * app/connectionpoint_ops.c (diagram_update_connections_object):
4410         Also update connections when moving children.  This can cause
4411         move_handle to be called twice, so it must be idempotent.
4413         * app/load_save.c: Loading and saving of children totally redone.
4414         Now doesn't violate assumption that all objects in a layer are
4415         placed in order in XML file.
4417         * objects/UML/branch.c (branch_create): Don't lie about being
4418         resizable. 
4420         * objects/UML/node.c (node_create): 
4421         * objects/UML/large_package.c (largepackage_create): Drag with
4422         lower right-hand handle at creation like all other objects.
4424 2003-10-28  Lars Clausen  <lrclause@cs.uiuc.edu>
4426         * app/disp_callbacks.c (ddisplay_drop_object): Change initial
4427         parenting drop to behave like a move inside, i.e. constrain place
4428         instead of trying to resize.  'Cause, resizing cannot be done for
4429         all objects (e.g. UML Class). Also simplified the algorithm a lot
4430         at the same time.
4432         * app/load_save.c: Saving and loading of connection points for
4433         children added.  Prototypes for static functions added.
4435         * lib/dynamic_obj.c: Removed debugging output.
4437 2003-10-26  Lars Clausen  <lrclause@cs.uiuc.edu>
4439         * doc/en/dia-manual.xml: 
4440         * doc/pl/dia-manual.sgml: 
4441         * dia.spec: 
4442         * config.h.win32: 
4443         * configure.in: 
4444         * NEWS: Brown Bag release 0.92.1
4446         * lib/dynamic_obj.c: Fixed embarassing dynamic object removal bug.
4448 2003-10-25  Lars Clausen  <lrclause@cs.uiuc.edu>
4450         * app/app_procs.c (app_init): Rearrangement for translators.
4452 2003-10-24  Steffen Macke <sdteffen@web.de>
4454         * lib/text.c(text_key_event): enforcing the inserted text length now,
4455         fix for bug #125348
4457 2003-10-22  Lars Clausen  <lrclause@cs.uiuc.edu>
4459         * MAINTAINERS: Change Debian maintainer to be the default address.
4461         * objects/Misc/analog_clock.c (analog_clock_move_handle): Reorder
4462         args to match prototype, thus removing crashbug #125159.
4464         * RELEASE-PROCESS: Note to self.
4466 2003-10-22  Steffen Macke <sdteffen@web.de>
4468         * doc/en/dia-manual.xml: removed superfluous external references
4469         
4470 2003-10-21  Steffen Macke <sdteffen@web.de>
4472         * lib/libdia.def: added filter_get_by_name
4473         * app/render_eps.c: moved extensions definition outside #ifdef
4475 2003-10-19  Lars Clausen  <lrclause@cs.uiuc.edu>
4477         * Makefile.am: 
4478         * dia.1:
4479         Removed old Dia manual, put new one in doc/en/.  Translations
4480         should go in doc/??/.
4482         * doc/en/dia-manual.xml: 
4483         * doc/pl/dia-manual.sgml: 
4484         * dia.spec (Release): 
4485         * config.h.win32: 
4486         * configure.in: 
4487         * NEWS: 0.92 is here!
4489         * doc/en/dia.dbk: 
4490         * doc/en/dia.1: 
4491         * doc/en/Makefile.am (man_MANS): Added man page, thanks to Fredrik
4492         HallenBerg, W. Borgert.  Not currently autogenerated from dia.dbk,
4493         but it shall be.
4495         * doc/en/usage-objects.xml: Fixed lower-case PNG tags.
4497         * doc/en/usage-objects-selecting.xml: Commented out empty note.
4499 2003-10-14  Lars Clausen  <lrclause@cs.uiuc.edu>
4501         * doc/pl/dia-manual.sgml: 
4502         * doc/en/dia-manual.xml: 
4503         * config.h.win32: 
4504         * NEWS: 
4505         * configure.in: 
4506         * dia.spec (Release): Pre7.
4508         * app/diapsrenderer.c (draw_string): Convert string to print based
4509         on current locale.  If conversion fails, fall back to UTF-8 (which
4510         is almost certain to be messy).
4512 2003-10-13  Lars Clausen  <lrclause@cs.uiuc.edu>
4514         * doc/pl/dia-manual.sgml: 
4515         * dia.spec (Release): 
4516         * configure.in: 
4517         * NEWS: 
4518         * config.h.win32: 
4519         * doc/en/dia-manual.xml: Pre6.
4521         * plug-ins/pstricks/render_pstricks.c (draw_string): Don't escape
4522         TeX chars in strings -- must be possible to use TeX text in there.
4523         Also avoids infinite loop bug (#124464) Will get option for this
4524         later.
4526 2003-10-11  Lars Clausen  <lrclause@cs.uiuc.edu>
4528         * shapes/Cisco/Makefile.am: Cisco shapes now install correctly.
4530         * doc/en/dia-manual.xml: 
4531         * doc/pl/dia-manual.sgml: 
4532         * dia.spec (Release): 
4533         * configure.in: 
4534         * config.h.win32: 
4535         * NEWS: pre5.
4537         * app/authors.h: Removed duplicate of M. C. Nelson.
4539         * plug-ins/pixbuf/pixbuf.c: Unique name for pixbuf export: gdkpixbuf.
4541         * app/export_png.c: Unique name for libart PNG export: png-libart.
4543         * app/render_eps.c: Unique names for the two eps export methods:
4544         eps-builtin, eps-pango.
4546         * lib/filter.h: Binary compatibility change: 
4547         Added unique name to export filters.  Can be NULL.
4548         * lib/filter.c (filter_get_by_name): Finding a filter by
4549         non-extension name.
4551         * app/app_procs.h: Changed prototype for do_convert.
4552         * app/app_procs.c (app_init): Support for non-extension file
4553         format selection for export.  Also allow extension to differ from
4554         that specified by the filters.  A bit of refactoring, too.
4556 2003-09-28  Steffen Macke <sdteffen@web.de>
4558         * makefile.msc: added target po to update the translations
4560 2003-09-27  Lars Clausen  <lrclause@cs.uiuc.edu>
4562         * config.h.win32: 
4563         * dia.spec (Release): 
4564         * NEWS: 
4565         * doc/pl/dia-manual.sgml: 
4566         * doc/en/dia-manual.xml: 
4567         Pre4 is given a short try.
4568         
4569         * configure.in: Give all necessary libs to PNG test.
4571         * lib/font.c: Added legacy entries for sans, serif and monospace.
4573         * app/app_procs.c (internal_plugin_init): 
4574         * app/render_eps.h: 
4575         * app/render_eps.c: 
4576         Added PS fonts output for Unix.
4578         * app/diapsrenderer.c (set_font): Adjusted height by the magic .7
4579         factor to make PS fonts stay in boxes.
4580         
4581 2003-08-03  Hans Breuer  <hans@breuer.org>
4583         * config.h.win32 : close the version string
4585         * lib/libdia.def : with color_white, color_black being static
4586         on win32 they can not be exported anymore either
4588         * lib/dialibartrenderer.c : text rendering is back on win32,
4589         only by Gdk though; almost a year seems to be enough to
4590         wait for my patch at bug #94791 to be accepted ...
4592 2003-09-23  Lars Clausen  <lrclause@cs.uiuc.edu>
4594         * shapes/network/{digitizing_board.png,plotter.png,
4595         laptop.png,telephone.png}: 22x22 icons.
4597 2003-09-22  Lars Clausen  <lrclause@cs.uiuc.edu>
4599         * doc/pl/dia-manual.sgml: 
4600         * doc/en/dia-manual.xml: 
4601         * dia.spec (Release): 
4602         * configure.in: 
4603         * config.h.win32: 
4604         * NEWS: 
4605         pre3 improves font rendering speed.
4607         * app/app_procs.c (app_init): Don't do pango init here, it's done
4608         on demand in font.c now.
4610         * lib/font.c: Load pango context on demand rather than during
4611         init/all the time strikes a better balance between working font
4612         size and speed.  Still need to cache width calculations.
4614 2003-09-18  Lars Clausen  <lrclause@cs.uiuc.edu>
4616         * lib/dia_xml.c: Enable pretty printing.  Should have been added
4617         on 8/12. 
4619 2003-09-11  Lars Clausen  <lrclause@cs.uiuc.edu>
4621         * lib/arrows.c (calculate_arrow_point): Adjust arrow line
4622         adjustment a bit for half diamond and open round.
4624         * RELEASE-PROCESS: Added note about notifying translators and
4625         maintainers. 
4627         * doc/pl/dia-manual.sgml: 
4628         * doc/en/dia-manual.xml: 
4629         * dia.spec (Release): 
4630         * configure.in: 
4631         * config.h.win32: 
4632         * NEWS:
4633         Update to 0.92-pre2.
4634         
4635 2003-09-10  Lars Clausen  <lrclause@cs.uiuc.edu>
4637         * lib/arrows.c (calculate_arrow_point): Some fixing-up of arrow
4638         calculation for half diamond and open round.
4640         * lib/arrows.c: 
4641         * objects/UML/component_feature.c: 
4642         * lib/arrows.h: Patch from W. Borgert <debacle@debian.org>: Use
4643         arrows instead of specific little hacks.  Much nicer, but damn
4644         there's a lot of arrows.
4646         * lib/dialibartrenderer.c (begin_render): 
4647         * app/render_libart.c (begin_render): Use correct DPI for screen
4648         (well, actually the default DPI of 75 for now).
4650         * app/display.h: Informative notes on the DDISPLAY_*_ZOOM macros.
4652         * lib/diagdkrenderer.c (draw_string): Some reformatting.
4654         * app/app_procs.c (app_init): Note on what should be done for the
4655         pango context now, only it doesn't work:(
4657         * lib/font.c (dia_font_new): Make sure to load fonts that are
4658         used, using a reasonable pango_context.  Also a comment on the
4659         global_zoom_factor, 
4661 2003-09-09  Lars Clausen  <lrclause@cs.uiuc.edu>
4663         * doc/pl/graphics/*.png:
4664         * doc/pl/Makefile.am: Added graphics to distro, avoiding empty
4665         loop (bug #121817).  PL translator may want to change the
4666         home_network png to be in Polish.  If the docs get translated into
4667         more languages, we'll want to find out how to share these things.
4669 2003-09-08  Lars Clausen  <lrclause@cs.uiuc.edu>
4671         * app/splash.c (app_splash_init): Patch from Sébastien Tricaud
4672         <stricaud@mwsp.net>: Use g_signal_* instead of gtk_signal_* in
4673         splash.
4675         * app/filedlg.c (file_save_as_callback): Put filename setting
4676         together.  (Preparation for allowing default save dir.)
4678         * app/paginate_psprint.c (diagram_print_ps): Use $PRINTER
4679         correctly this time:)
4681         * app/dia-props.c (diagram_properties_show): 
4682         * app/properties.c (properties_show): Make sure the
4683         dialogs are transient for the correct diagram.
4685 2003-09-07  Lars Clausen  <lrclause@cs.uiuc.edu>
4687         * configure.in: Make sure -lz -lm is passed into second png test
4688         as well (stupid AC_LINK_IFELSE can't take it as an argument).
4690         * plug-ins/xfig/xfig-import.c: Skip XFig comments to make certain
4691         comment-filled files readable.  Once we have a 'generic data'
4692         system, we can put comments in there.
4694 2003-09-06  Steffen Macke <sdteffen@web.de>
4696         * plug-ins/pstricks/render_pstricks.c(tex_escape_string): using
4697         g_string_sized_new() instead of g_string_new() to make it compile
4698         * app/Makefile.am: including dia.ico and dia.rc in the tarball
4699         * plug-ins/wmf/wmf.cpp (set_linestyle): In WMF maximum linewidth is 1 
4700         for non-solid linestyles - otherwise custom linestyles have to be used.
4702 2003-09-02  Steffen Macke <sdteffen@web.de>
4704         * app/commands.c(help_manual_callback): using dia-manual.chm instead of 
4705         dia.chm
4707 2003-09-02  Christian Neumair  <chris@gnome-de.org>
4709         * sheets/Pneumatic.sheet.in: Slight unification fix.
4711 2003-09-02  Lars Clausen  <lrclause@cs.uiuc.edu>
4713         * config.h.win32: 
4714         * configure.in: 
4715         * dia.spec (Release): 
4716         * doc/en/dia-manual.xml: 
4717         * doc/pl/dia-manual.sgml: 
4718         * NEWS: Update to 0.92-pre1.
4720         * app/properties.c (properties_key_event): Removing Esc/Enter
4721         handling for now, interferes to much with regular dialog usage.
4723         * plug-ins/pstricks/render_pstricks.c (tex_escape_string):
4724         Function to escape special TeX characters.  Not in use yet, as
4725         PSTricks output by default is TeX strings.  Should get a save-time
4726         selector. 
4728 2008-09-01  Steffen Macke <sdteffen@web.de>
4730         * lib/paper.h: explanatory comment on width and height
4732 2003-08-30  Steffen Macke <sdteffen@web.de>
4734         * lib/color.c:
4735         * lib/color.h: made color_white, color_black static on win32
4737 2003-08-28  Lars Clausen  <lrclause@cs.uiuc.edu>
4739         * configure.in (PNG_LIBS): Something in the png tests added an
4740         extra -lpng to $LIBS.  Saving old $LIBS to avoid that.
4742 2003-08-27  Lars Clausen  <lrclause@cs.uiuc.edu>
4744         * configure.in: Quote correctly for temporarily adding freetype
4745         cflags to CPPFLAGS.
4747         * app/preferences.c (prefs_save): Remove debugging g_print.
4749 2003-08-26  Lars Clausen  <lrclause@cs.uiuc.edu>
4751         * objects/flowchart/parallelogram.c (pgram_update_data):
4752         Directions for connections, better system for placing
4753         connectionpoints. 
4755 2003-08-25  Lars Clausen  <lrclause@cs.uiuc.edu>
4757         * lib/diagramdata.c (layer_find_closest_object_except): Look all
4758         the way through the object list, so the foremost object is selected.
4760         * lib/diagramdata.h: Removing dynamic_obj.h, it should only be
4761         included for diagramdata.c.
4763         * lib/prop_text.c (multistringprop_handle_key): Attempt at making
4764         newline in multistringprop not close the dialog.  Failed so far.
4766 2003-08-25  Steffen Macke <sdteffen@web.de>
4768         * app/commands.c: using CHM instead of HTML on win32 if available
4769         * lib/diagramdata.h: including dynamic_obj.h
4771 2003-08-25  Lars Clausen  <lrclause@cs.uiuc.edu>
4773         * app/properties.c (properties_key_event): Make Enter = Ok for
4774         properties dialogs.  Still some problems with this and Esc for
4775         Cancel, for instances escaping out of a menu closes the dialog.
4777         * objects/UML/association.c (association_get_properties): 
4778         * objects/UML/class_dialog.c (class_create_page): Grab appropriate
4779         focus. 
4781         * app/diapsft2renderer.c (draw_string): Use
4782         dia_font_scaled_build_layout to ensure similarity of text.
4784         * lib/diagramdata.c: Remove obj from dynobj list when removing
4785         from layer to avoid nasty race conditions.
4787         * app/undo.c (group_objects_revert): Make sure to unparent and
4788         remove from dynobj list when changing layers objects.
4790 2003-08-23  Steffen Macke <sdteffen@web.de>
4792         * plug-ins/wmf/wmf.cpp (draw_image): replaced BitBlt() with 
4793         StretchBlt(); fixes #92249
4794         
4795 2003-08-23  Lars Clausen  <lrclause@cs.uiuc.edu>
4797         * app/filedlg.c (file_save_as_callback): 
4798         * app/preferences.h: 
4799         * app/preferences.c (prefs_data): 
4800         * lib/diagramdata.h: 
4801         * lib/diagramdata.c (new_diagram_data): 
4802         * app/load_save.c (diagram_data_load): 
4803         Let the document remember whether it was compressed.  The user can
4804         still override this in the Save As... dialog, and that will still
4805         be remembered as the default for new diagrams.
4807 2003-08-23  Steffen Macke <sdteffen@web.de>
4809         * plug-ins/xslt/Makefile.am: added dia-uml2componentlist.xsl
4811 2003-08-22  Steffen Macke <sdteffen@web.de>
4813         * plug-ins/xslt/dia-uml.xsl:
4814         * plug-ins/xslt/dia-uml2componentlist.xsl: generate a HTML file with a
4815         table containing a list of components grouped by stereotype
4817 2003-08-21  Steffen Macke <sdteffen@web.de>
4819         * lib/makefile.msc: added connectionpoint.obj
4820         * lib/libdia.def: added connpoint_update, find_slope_directions
4821         * app/disp_callbacks.c: including scroll_tool.h
4822         * obj/makefile.msc: added component_feature.obj
4823         * app/paginate_gdiprint.c: fixed loop initialization in 
4824         paginate_gdiprint(); partial fix for bug #85831 - the scaling is still
4825         wrong
4827 2003-08-21  Lars Clausen  <lrclause@cs.uiuc.edu>
4829         * plug-ins/python/pydia-object.c (PyDiaObject_MoveHandle): Fix
4830         move_handle call.
4832         * lib/diagramdata.h: Colors added to prefs.
4833         * lib/diagramdata.c (new_diagram_data): Set diagram colors from prefs.
4834         New field for pagebreak color, which should
4835         behave the same as grid color and be settable for a diagram.
4837         * app/diagram.c (diagram_init): Update diagram pagebreak color
4838         from prefs. 
4840         * app/grid.c (pagebreak_draw): Draw using diagrams pagebreak
4841         colors. 
4843         * app/preferences.[ch]: Default diagram colors now #defines, so
4844         loading can use it.  Also, colors are now in NewDiagramData, so
4845         are passed nicely into new diagrams directly from prefs.  Yum.
4847         * app/load_save.c (diagram_data_write_doc, diagram_data_load): 
4848         Support for loading and saving grid and pagebreak colors with the
4849         diagram.  I'm inclined to make all the three Colors in diagram
4850         Color*s instead, so we can tell if they're specified for the
4851         diagram or merely the default setting.  There'd be no way for the
4852         user to tell if the color of a diagram is default, though, unless
4853         we add a 'reset to default' button to prefs.
4855         * app/dia-props.c: Adding widgets for dynamic grid, grid colour,
4856         pagebreak color.  Unsensitizing grid size when dynamic.
4858         * objects/UML/component.c: Patch from Krzysztof Foltman
4859         <kfoltman@onet.pl>: Add two new connectionpoints and adjust a
4860         third.  Makes the left side connections actually be on the line
4861         (gasp!). 
4863 2003-08-20  Steffen Macke <sdteffen@web.de>
4865         * lib/libdia.def: added layer_find_closest_object_except
4866         * lib/diagramdata.c: added ; after GOTO to make MSVC compile 
4868 2003-08-20  Lars Clausen  <lrclause@cs.uiuc.edu>
4870         * app/tool.h: 
4871         * app/tool.c: 
4872         * app/scroll_tool.c: 
4873         * app/interface.c: 
4874         * app/disp_callbacks.c: 
4875         * app/create_object.h: 
4876         * app/create_object.c: Patch from Krzysztof Foltman
4877         <kfoltman@onet.pl>: Middle button can scroll transiently when
4878         menu-bar-mode is on, and mouse wheels (hopefully) can scroll in
4879         various ways.
4881         * app/authors.h: 
4882         * sheets/UML.sheet.in: 
4883         * sheets/UML/receptacle.xpm: 
4884         * sheets/UML/Makefile.am: 
4885         * sheets/UML/eventsource.xpm: 
4886         * sheets/UML/eventsink.xpm: 
4887         * objects/UML/pixmaps/facet.xpm: 
4888         * objects/UML/uml.c (dia_plugin_init): 
4889         * objects/UML/Makefile.am (libuml_objects_la_SOURCES): 
4890         * objects/UML/component_feature.c: 
4891         Patch from W. Borgert <debacle@debian.org>:  Add event sources and
4892         event sinks.
4893         
4894 2003-08-19  Lars Clausen  <lrclause@cs.uiuc.edu>
4896         * lib/object.h: Turning some comments into doxygen style.
4898         * lib/object_defaults.c (dia_object_defaults_load)
4899         (dia_object_default_get, dia_object_default_create): 
4900         Fixing up existing documentation.
4902         * lib/object.h: Doxygen style documentation begun.
4904         * app/create_object.c: 
4905         * app/undo.c: 
4906         * app/connectionpoint_ops.c: 
4907         * app/disp_callbacks.c: 
4908         * app/modify_tool.c: 
4910         * objects/network/wanlink.c (wanlink_move_handle): 
4911         * objects/network/bus.c (bus_move_handle): 
4913         * objects/flowchart/parallelogram.c (pgram_move_handle): 
4914         * objects/flowchart/ellipse.c (ellipse_move_handle): 
4915         * objects/flowchart/diamond.c (diamond_move_handle): 
4916         * objects/flowchart/box.c (box_move_handle): 
4918         * objects/custom/custom_object.c (custom_move_handle): 
4920         * objects/chronogram/chronoref.c (chronoref_move_handle): 
4921         * objects/chronogram/chronoline.c (chronoline_move_handle): 
4923         * objects/SADT/box.c (sadtbox_move_handle): 
4924         * objects/SADT/arrow.c (sadtarrow_move_handle): 
4925         * objects/SADT/annotation.c (annotation_move_handle): 
4927         * objects/Misc/analog_clock.c (analog_clock_move_handle): 
4929         * objects/GRAFCET/vergent.c (vergent_move_handle): 
4930         * objects/GRAFCET/vector.c (arc_move_handle): 
4931         * objects/GRAFCET/transition.c (transition_move_handle): 
4932         * objects/GRAFCET/step.c (step_move_handle): 
4933         * objects/GRAFCET/condition.c (condition_move_handle): 
4934         * objects/GRAFCET/action.c (action_move_handle): 
4936         * objects/FS/function.c: 
4937         * objects/FS/flow.c: 
4938         * objects/FS/flow-ortho.c (orthflow_move_handle): 
4939         * objects/FS/flow-poly.c (flow_move_handle): 
4941         * objects/UML/usecase.c (usecase_move_handle): 
4942         * objects/UML/state_term.c (state_move_handle): 
4943         * objects/UML/state.c (state_move_handle): 
4944         * objects/UML/small_package.c (smallpackage_move_handle): 
4945         * objects/UML/realizes.c (realizes_move_handle): 
4946         * objects/UML/object.c (objet_move_handle): 
4947         * objects/UML/note.c (note_move_handle): 
4948         * objects/UML/node.c (node_move_handle): 
4949         * objects/UML/message.c (message_move_handle): 
4950         * objects/UML/lifeline.c (lifeline_move_handle): 
4951         * objects/UML/large_package.c (largepackage_move_handle): 
4952         * objects/UML/implements.c (implements_move_handle): 
4953         * objects/UML/generalization.c (generalization_move_handle): 
4954         * objects/UML/fork.c (fork_move_handle): 
4955         * objects/UML/dependency.c (dependency_move_handle): 
4956         * objects/UML/constraint.c (constraint_move_handle): 
4957         * objects/UML/compprop.c (compprop_move_handle): 
4958         * objects/UML/component.c (component_move_handle): 
4959         * objects/UML/branch.c (branch_move_handle): 
4960         * objects/UML/association.c (association_move_handle): 
4961         * objects/UML/actor.c (actor_move_handle): 
4962         * objects/UML/activity.c (state_move_handle): 
4963         * objects/UML/class.c (umlclass_move_handle): 
4965         * objects/standard/ellipse.c (ellipse_move_handle): 
4966         * objects/standard/zigzagline.c (zigzagline_move_handle): 
4967         * objects/standard/textobj.c (textobj_move_handle): 
4968         * objects/standard/polyline.c (polyline_move_handle): 
4969         * objects/standard/polygon.c (polygon_move_handle): 
4970         * objects/standard/line.c (line_move_handle): 
4971         * objects/standard/image.c (image_move_handle): 
4972         * objects/standard/bezier.c (bezierline_move_handle): 
4973         * objects/standard/arc.c (arc_move_handle): 
4974         * objects/standard/beziergon.c (beziergon_move_handle): 
4975         * objects/standard/box.c (box_move_handle): 
4976         
4977         * objects/ER/relationship.c (relationship_move_handle): 
4978         * objects/ER/participation.c (participation_move_handle): 
4979         * objects/ER/entity.c (entity_move_handle): 
4980         * objects/ER/attribute.c (attribute_move_handle): 
4981         
4982         * lib/polyshape.c (polyshape_move_handle): 
4983         * lib/polyshape.h: 
4984         * lib/orth_conn.c (orthconn_move_handle): 
4985         * lib/orth_conn.h: 
4986         * lib/neworth_conn.c (neworthconn_move_handle): 
4987         * lib/neworth_conn.h: 
4988         * lib/element.c (element_move_handle): 
4989         * lib/element.h: 
4990         * lib/connection.c (connection_move_handle): 
4991         * lib/connection.h: 
4992         * lib/beziershape.c (beziershape_move_handle): 
4993         * lib/beziershape.h: 
4994         * lib/bezier_conn.c (bezierconn_move_handle): 
4995         * lib/bezier_conn.h: 
4996         *BINARY COMPATIBILITY CHANGE*
4997         Update prototype for *_move_handle() to include connectionpoint,
4998         and also pass on modifiers.  Pass in connectionpoint where
4999         applicable. 
5000         
5001         * lib/dummy_dep.h (dummy_dep): Adding dummy dependencies for new
5002         file connectionpoint.c.
5004 2003-08-17  Danilo Šegan  <dsegan@gmx.net>
5006         * configure.in: Added "sr" and "sr@Latn" to ALL_LINGUAS.
5008 2003-08-15  Lars Clausen  <lrclause@cs.uiuc.edu>
5010         * lib/object.c (object_copy): Use g_malloc0 instead of g_malloc.
5012         * lib/beziershape.c (beziershape_update_data): Autoroute
5013         directions for beziershapes!
5015         * lib/connectionpoint.c (find_slope_directions): 
5016         * lib/connectionpoint.h: Function for finding the available
5017         directions on a slope.
5019         * lib/polyshape.c: Reasonable directions for
5020         connectionpoints.       
5022 2003-08-14  Lars Clausen  <lrclause@cs.uiuc.edu>
5024         * objects/Misc/analog_clock.c (analog_clock_update_arrow_tips): 
5025         * objects/GRAFCET/vergent.c (vergent_update_data): 
5026         * objects/GRAFCET/transition.c (transition_update_data): 
5027         * objects/GRAFCET/action.c (action_update_data): 
5028         * objects/GRAFCET/step.c (step_update_data): 
5029         * objects/FS/function.c (function_update_data): 
5030         * lib/connpoint_line.c (connpointline_putonaline): 
5031         * objects/ER/attribute.c (attribute_update_data): 
5032         * objects/ER/entity.c (entity_update_data): 
5033         * objects/ER/relationship.c (relationship_update_data): 
5034         * objects/chronogram/chronoline.c (chronoline_update_data): Set
5035         directions for connection points.
5037         * objects/UML/component.c (component_create): Set to allow
5038         parenting. 
5040         * app/create_object.c (create_object_button_press): 
5041         * app/diagram.[ch] (diagram_find_clicked_object_except): 
5042         * lib/diagramdata.[ch] (layer_find_closest_object_except): 
5043         Avoid parenting to objects you're connecting to (otherwise you
5044         couldn't make a connection out of a parenting object).  To do
5045         this, added functions to find the nearest object except a given
5046         list of objects.
5047         
5048         * app/render_libart.c: Rearrange libart include to avoid multiple
5049         include program (and put libart includes inside #ifdef!)
5051 2003-08-13  Lars Clausen  <lrclause@cs.uiuc.edu>
5053         * lib/dialibartrenderer.c: Don't include art_config.h if others
5054         also do, as it isn't #ifdef'd.
5056         * objects/flowchart/ellipse.c (ellipse_update_data): Add
5057         directions for connection points.
5059 2003-08-12  Lars Clausen  <lrclause@cs.uiuc.edu>
5061         * objects/flowchart/box.c (box_update_data): Add directions, use
5062         connpoint_update. 
5063         (box_load): Use g_malloc0.
5065         * lib/Makefile.am (libdia_la_SOURCES):
5066         * lib/connectionpoint.c (connpoint_update): 
5067         Function to call to update a connection point info in _update_data().
5068         
5069         * lib/connectionpoint.h: Convenience DIR_ macros.
5071         * app/preferences.c (prefs_data): Make pretty formatted XML the
5072         default.
5074         * lib/dialibartrenderer.c: 
5075         * app/render_libart.c: Make sure art_config.h is included, cause
5076         some libart headers are broken.
5078         * configure.in (HAVE_FREETYPE): Restore CPPFLAGS to old value
5079         after test.  Add freetype-config cflags to cflags variable.
5081 2003-08-11  Lars Clausen  <lrclause@cs.uiuc.edu>
5083         * app/authors.h: Credits for Krzysztof.
5085         * sheets/Flowchart.sheet.in: Updated descriptions from Krzysztof
5086         Foltman <kfoltman@onet.pl>.  It occurs to me that the name (rather
5087         than the description) is visible in the title of the properties
5088         dialog.  That ought to be a short description (translatable),
5089         though we still want long descriptions for the tooltips.  Hmmm...
5091         * configure.in: Updated to use AC_LINK_IFELSE instead of
5092         AC_TRY_COMPILE, also force to link to check libs on Solaris.
5094         * objects/ER/entity.c (entity_load): 
5095         * objects/ER/attribute.c (attribute_load): 
5096         * lib/attributes.c (attributes_set_default_font): 
5097         Check if font is non-null before unreffing.
5098         
5099 2003-08-08  Lars Clausen  <lrclause@cs.uiuc.edu>
5101         * app/diagram.c (diagram_ungroup_selected) 
5102         (diagram_group_selected): Use the undo apply to make sure grouping
5103         and ungrouping is done in consistent manners.  This removes a fair
5104         amount of duplicated code from diagram.c.
5106         * app/undo.c (ungroup_objects_revert, ungroup_objects_apply) 
5107         (group_objects_revert, group_objects_apply): Working undo/redo for
5108         diagram tree updates.  The initial actions still don't quite work.
5110 2003-08-07  Lars Clausen  <lrclause@cs.uiuc.edu>
5112         * app/create_object.c (create_object_button_press): 
5113         * app/undo.[ch]: 
5114         * app/diagram.c: Undo support for parenting.  Uses apply/revert in
5115         undo only for manipulating the parent/child relationships.  Things
5116         like removing an object doesn't use the undo functions for
5117         parenting, so any updates to come (like to diagramtree) should be
5118         done in those, too.
5120 2003-08-03  Hans Breuer  <hans@breuer.org>
5122         * app/create_object.c : minor formating and g_new0 for
5123         tool creation
5125         * lib/bezier_conn.[hc] lib/beziershape.[hc]
5126           lib/prop_geomtypes.c (prop_geomtypes_register)
5127           objects/standard/bezier.c objects/standard/beziergon.c :
5128         ability to set bezpoints via StdProp api
5130         * plug-ins/python/pydia-property.c : convert list of tuples
5131         to BEZPOINTARRAY
5133         *  plug-ins/python/diasvg_import.py : use it to
5134         implement part of path parsing. Also minor improvements
5135         like inheritance of group attributes to members,
5136         whitespace, title and style:text/css ignoring ;-)
5138 2003-08-02  Hans Breuer  <hans@breuer.org>
5140         * lib/connections.c (connection_move_handle): return
5141         something to make it compile
5142         * lib/object.c(190) : error C4033: 'object_list_move_delta_r' 
5143         must return a value -> dito
5144         [Is there a warnings-as-errors switch we could use with gcc 
5145          to avoid such in future ?]
5147         * plug-ins/python/pydia-object.h : define *_Check macros
5148         * plug-ins/python/diamodule.c : provide dia.group_create()
5149         * plug-ins/python/pydia-diagramdata.c : add 
5150         DiaDiagramData.add_layer()
5151         * plug-ins/python/pydia-property.c : allow to set color by
5152         tuple of doubles
5154         *  plug-ins/python/diasvg_import.py : based on the above
5155         implement a) group support, b) rgb(1,2,3) color handling,
5156         and somewhat fishy data:image/png;base64 support (create
5157         temporary files from inline image data)
5158         d) dump the import errors as text into an 'Error' layer
5160         *  plug-ins/python/diasvg.py : add xmlns:xlink, removed a
5161         stray " in draw_rect and corrected error message formating 
5163         * plug-ins/pydia/pydia-geometry.c : removed ## to make it
5164         compile with gcc 3.3, fixes bug #117204. Thanks to Daniel 
5165         Jacobowitz.
5166         
5167 2003-08-01  Hubert Figuiere  <hfiguiere@teaser.fr>
5169         * app/magnify.c (create_magnify_tool): allocate with g_new0()
5171         * app/preferences.c (prefs_create_dialog): use checkboxes for boolean 
5172         preferences values (see bug 118570). Also group items into a GtkFrame.
5174 2003-07-31  Lars Clausen  <lrclause@cs.uiuc.edu>
5176         * app/menus.c:
5177         * app/menus.h:
5178         * app/commands.h: 
5179         * app/commands.c (objects_unparent_children_callback): 
5180         * app/diagram.h: 
5181         * app/diagram.c (diagram_unparent_selected,
5182         (diagram_update_menu_sensitivity): 
5183         Added unparenting of single children.
5185         * lib/bezier_conn.c:
5186         * lib/bezier_conn.h:
5187         * lib/beziershape.c:
5188         * lib/beziershape.h:
5189         * lib/connection.c:
5190         * lib/connection.h:
5191         * lib/element.c:
5192         * lib/element.h:
5193         * lib/group.c:
5194         * lib/neworth_conn.c:
5195         * lib/neworth_conn.h:
5196         * lib/object.h:
5197         * lib/orth_conn.h:
5198         * lib/poly_conn.c:
5199         * lib/poly_conn.h:
5200         * lib/polyshape.c:
5201         * lib/polyshape.h:
5202         * objects/EML/instantiation.c:
5203         * objects/EML/interaction-ortho.c:
5204         * objects/EML/interaction.c:
5205         * objects/EML/process.c:
5206         * objects/ER/attribute.c:
5207         * objects/ER/entity.c:
5208         * objects/ER/participation.c:
5209         * objects/ER/relationship.c:
5210         * objects/FS/flow-ortho.c:
5211         * objects/FS/flow-poly.c:
5212         * objects/FS/flow.c:
5213         * objects/FS/function.c:
5214         * objects/GRAFCET/action.c:
5215         * objects/GRAFCET/condition.c:
5216         * objects/GRAFCET/step.c:
5217         * objects/GRAFCET/transition.c:
5218         * objects/GRAFCET/vector.c:
5219         * objects/GRAFCET/vergent.c:
5220         * objects/Misc/analog_clock.c:
5221         * objects/SADT/annotation.c:
5222         * objects/SADT/arrow.c:
5223         * objects/SADT/box.c:
5224         * objects/UML/activity.c:
5225         * objects/UML/actor.c:
5226         * objects/UML/association.c:
5227         * objects/UML/branch.c:
5228         * objects/UML/class.c:
5229         * objects/UML/classicon.c:
5230         * objects/UML/component.c:
5231         * objects/UML/constraint.c:
5232         * objects/UML/dependency.c:
5233         * objects/UML/fork.c:
5234         * objects/UML/generalization.c:
5235         * objects/UML/implements.c:
5236         * objects/UML/large_package.c:
5237         * objects/UML/lifeline.c:
5238         * objects/UML/message.c:
5239         * objects/UML/node.c:
5240         * objects/UML/note.c:
5241         * objects/UML/object.c:
5242         * objects/UML/realizes.c:
5243         * objects/UML/small_package.c:
5244         * objects/UML/state.c:
5245         * objects/UML/state_term.c:
5246         * objects/UML/usecase.c:
5247         * objects/chronogram/chronoline.c:
5248         * objects/chronogram/chronoref.c:
5249         * objects/custom/custom_object.c:
5250         * objects/flowchart/box.c:
5251         * objects/flowchart/diamond.c:
5252         * objects/flowchart/ellipse.c:
5253         * objects/flowchart/parallelogram.c:
5254         * objects/network/bus.c:
5255         * objects/network/wanlink.c:
5256         * objects/standard/arc.c:
5257         * objects/standard/bezier.c:
5258         * objects/standard/beziergon.c:
5259         * objects/standard/box.c:
5260         * objects/standard/ellipse.c:
5261         * objects/standard/image.c:
5262         * objects/standard/line.c:
5263         * objects/standard/polygon.c:
5264         * objects/standard/polyline.c:
5265         * objects/standard/textobj.c:
5266         * objects/standard/zigzagline.c:
5267         Binary compatibility update:  Added return value for foo_move() and
5268         foo_move_handle().  Orthconn derivatives also returns change from
5269         orthconn_move_handle().
5270         
5271         * lib/orth_conn.c: Undo support for autorouting.  Neworthconn
5272         doesn't support it yet.
5274         * lib/object.c (object_list_move_delta_r, object_list_move_delta):
5275         Add returning ObjectChange from object moves.  Needs to handle
5276         multiple object moves.
5278         * app/modify_tool.c (modify_motion, modify_release): Add
5279         ObjectChange from move & move_handle to undo stack.
5281         * objects/EML/instantiation.c (instantiation_move): Removing
5282         duplicate move & update.
5284 2003-07-30  Lars Clausen  <lrclause@cs.uiuc.edu>
5286         * plug-ins/xfig/xfig-export.c: Added support for arrow head
5287         export.  Many arrow types not supported by XFig, replacing those
5288         with standard arrows.  Not sure whether it'd be better to render
5289         them as a group of lines instead.  You'd lose the arrow-ness for
5290         further editing, but preserve the actual shape of it.  Also added
5291         support for dash length.
5293         * plug-ins/xfig/xfig-import.c: Added support for dash length settings.
5295         * plug-ins/xfig/fig-format-3.2: Added copy of Fig format
5296         description for version 3.2, for reference.
5298         * plug-ins/xfig/xfig-import.c: Added import of arrows.
5300         * app/menus.c: Removed prefs item from Gnome diagram menu.  Made
5301         Align Vertical Adjacent call _v rather than _h.
5303 2003-07-29  Hubert Figuiere  <hfiguiere@teaser.fr>
5305         * app/scroll_tool.c (create_scroll_tool): 
5306         * app/modify_tool.c (create_modify_tool): use g_new0() to
5307         initialize the tool
5309 2003-07-29  Lars Clausen  <lrclause@cs.uiuc.edu>
5311         * configure.in: Added proper settings for XSLT_LIBS and XSLT_CFLAGS.
5313 2003-07-24  Pablo Saratxaga  <pablo@mandrakesoft.com>
5315         * configure.in: Added Macedonian (mk) to ALL_LINGUAS
5317 2003-07-23  Dmitry G. Mastrukov  <dmitry@taurussoft.org>
5319         * configure.in: Added Belarusian to ALL_LINGUAS.
5321 2003-07-19  Hans Breuer  <hans@breuer.org>
5323         [
5324          Make the xslt plug-in work on win32, too. It appears
5325          to require a quite recent version of libxml and libxslt,
5326          otherwise windoze pathes aren't translated correctly
5327          during file processing
5328         ]
5330         * plug-ins/xslt/xslt.h : #include <glib.h> before 
5331         using G_OS_WIN32
5333         * plug-ins/xslt/xslt.c : plugged some memory leaks and do
5334         the 'script' file finding similar to how it is done
5335         with the python scripts (no need for hardcoded pathes,
5336         removed the 'plugin' part from the path)
5338         * plug-ins/xslt/stylesheets.xml : added again. It does
5339         not have any path but only the pure filename again
5341         * plug-ins/xslt/stylesheets.xml.in : removed
5343         * plug-ins/xslt/Makefile.am : removed 'plugin' and the
5344         rule to process stylesheets.xml.in
5346         * plug-ins/makefile.msc : added xslt
5348 2003-07-19  Hans Breuer  <hans@breuer.org>
5350         Finally Dia learned to remember the recent selected sheet
5352         * app/preferences.[hc] : added prefs.recent_sheet
5353         * app/interface.c : restore and remember the sheet-option-menu
5354         history, but only if the respective number is stiil available.
5355         This additional adds robustness against running Dia without
5356         any sheet (e.g. installation problems)
5357         * app/app_procs.c : call prefs_safe() in app_exit() to remember
5358         changes which are not done by the prefernces dialog
5360         * app/diagram_tree_menu.c app/diagram_tree_menu_callbacks.c :
5361         removed every call (especially the conditional ones) to prefs_safe().
5362         Before prefs_safe() was called _many_ times during Dia startup
5364 2003-07-18  Hans Breuer  <hans@breuer.org>
5366         * app/makefile.msc lib/makefile.msc lib/libdia.def :
5367         updated win32 build
5369         * lib/color.c : use gtk_widget_get_default_visual();
5370         as suggested in #114536
5372         * app/interface.c app/disp_callbacks.c :
5373         moved round_up () to the latter file where it is used
5375         * app/linewidth_area.c : #include "interface.h" for
5376         interface_get_toolbox_shell()
5378 2003-07-18  Hubert Figuiere  <hfiguiere@teaser.fr>
5380         * plug-ins/pixbuf/.cvsignore
5381         * shapes/Cisco/.cvsignore: 
5382         added cvsignore
5384 2003-07-17  Lars Clausen  <lrclause@cs.uiuc.edu>
5386         * app/dia-props.c (diagram_properties_retrieve): Use
5387         diagram_get_name() to add the diagram name to the diagram
5388         properties dialog.
5390         * app/diagram.h: 
5391         * app/diagram.c (diagram_get_name): New function to get a
5392         reasonable diagram name.
5394         * lib/diagramdata.h: Added major_lines, dynamic and colour to grid
5395         info.  Still need to be able to set dynamic grid.  Also ought to
5396         follow Gnome style and have instant apply.
5398         * app/preferences.h: 
5399         * app/preferences.c (prefs_data): Remove option to use stippled
5400         grid, add option for major line offset.  Default to 5 minor lines
5401         per major line.
5402         Add option for dynamically sized grid.
5404         * app/display.c (ddisplay_render_pixmap): Call pagebreak_draw as well.
5406         * app/grid.c: Pagebreak drawing separated out.  Grid drawing using
5407         stippled/solid to display minor/major grid lines.  Line drawing in
5408         separate functions away from calculating line distance.
5410         * app/grid.h: Split page break drawing out of grid_draw.
5412         * app/layer_dialog.c (layer_dialog_show): Patch from Hubert
5413         Figuiere <hfiguiere@teaser.fr>:  Layer dialog show go to front
5414         when menu item is selected.
5416 2003-07-15  Lars Clausen  <lrclause@cs.uiuc.edu>
5418         * configure.in: Removed -Winline flag to make way for important
5419         warnings. 
5421         * samples/UML-demo.dia: Adjusted for 0.91 font size, saved as
5422         non-compressed.  Should fix bug #117381, also look prettier.
5423         
5424         * Makefile.am: 
5425         * dia.desktop.in: Patch from Mark McLoughlin <mark@skynet.ie>:
5426         Set up desktop info more properly.
5428 2003-07-13  Lars Clausen  <lrclause@cs.uiuc.edu>
5430         * activity.c:
5431         * actor.c:
5432         * branch.c:
5433         * class.c:
5434         * classicon.c:
5435         * component.c:
5436         * large_package.c:
5437         * lifeline.c:
5438         * node.c:
5439         * note.c:
5440         * object.c:
5441         * small_package.c:
5442         * state.c:
5443         * state_term.c:
5444         * usecase.c: 
5445         Autorouting directions patch from Krzysztof Foltman
5446         <kfoltman@onet.pl>.
5448         * app/menus.c: Wrong GNOME paren fixed.  Correct callbacks for
5449         GNOME parent menu items.
5450         
5451         * app/authors.h: Added Vadim to contributors list.
5453 2003-07-12  Lars Clausen  <lrclause@cs.uiuc.edu>
5455         * app/commands.[ch]: 
5456         * app/create_object.c: 
5457         * app/disp_callbacks.[ch]: 
5458         * app/diagram.[ch]: 
5459         * app/interface.c: 
5460         * app/load_save.c: 
5461         * app/menus.[ch]:
5462         * app/modify_tool.c
5463         * app/undo.[ch]:
5464         * lib/Makefile.am:
5465         * lib/group.c: 
5466         * lib/object.[ch]: 
5467         * lib/parent.[ch]:
5468         * objects/UML/large_package.c: Patch from Vadim Berezniker
5469         <vadim@berezniker.com>: 
5470         Objects may "parent" other objects, i.e. contain them within
5471         themselves, restrain them and move them along.  Some more stuff is
5472         needed, such as selection and individual unparenting.  This adds
5473         parenting to UML - Large Package rather than Box.
5475 2003-07-11  Lars Clausen  <lrclause@cs.uiuc.edu>
5477         * app/linewidth_area.c: Patch from Krzysztof Foltman
5478         <kfoltman@onet.pl>: Make linewidth dialog conform to HIG (well,
5479         conform more, at least:).
5481         * plug-ins/metapost/render_metapost.[ch] : Applied patch from
5482         Chris Sperandio <sperandi@eng.usf.edu>:  Fixed linewidths and
5483         arcs.  Implemented images (though there is some pixelization and
5484         banding in the output).  Changed output file format to be a little
5485         more readable.  
5487         * app/app_procs.c (app_exit): Added message for double exit, which
5488         shouldn't happen any more.  Also preventing strange g_object_unref
5489         messages by having a printf after gtk_main_quit.  This is really
5490         weird.
5492         * app/interface.c (toolbox_delete): Avoid double app_exit call by
5493         removing handler for destroy when delete is called.
5495 2003-07-07  Lars Clausen  <lrclause@cs.uiuc.edu>
5497         * app/display.h: 
5498         * app/display.c (ddisplay_scroll_to_object,
5499         ddisplay_scroll_center_point):  New function for easy scrolling to
5500         object or point.
5502 2003-07-06  Lars Clausen  <lrclause@cs.uiuc.edu>
5504         * plug-ins/xslt/Makefile.am: Patch from Hubert Figuiere:  Add
5505         $(srcdir) on stylesheets.xml.
5507         * app/menus.c: Patch from Hubert Figuiere: Adds help menu to
5508         diagram menus (since they're at the top by default now).  Also
5509         move the Properties... menu item from Dialogs to Objects.  Dialogs
5510         menu should disappear at some point.
5512         * autogen.sh: Patch from Hubert Figuiere: Don't automatically call
5513         ./configure from ./autogen.sh, as configure may need to be run
5514         from a different directory.  (Also more standard this way.)
5516         * app/app_procs.c (app_init): 
5517         * app/Makefile.am (INCLUDES): Gnome standardization patch from
5518         Alex. 
5520 2003-07-03  Lars Clausen  <lrclause@cs.uiuc.edu>
5522         * objects/flowchart/parallelogram.c (pgram_update_data):
5523         Left/right alignment for parallelograms.  Doesn't use all
5524         available space, but then pgrams also ignore their shear value.
5525         This thing needs a loving hand.
5527 2003-07-01  Hans Breuer  <hans@breuer.org>
5529         * lib/properties.h : introduce PROP_FLAG_OPTIONAL
5530         * lib/proplist.c : don't complain if optional attr is missing
5531         * lib/orth_conn.h : make "orth_autoroute" optional to
5532         stop complaining with older files.
5534 2003-06-13  Guntupalli Karunakar  <karunakar@freedomink.org>
5536         * configure.in: Added "ml" for Malayalam in ALL_LINGUAS.
5538 2003-06-05  Andrew Halper  <ashalper@cox.net>
5540         * app/diagram_tree.c : add scrolling of drawing area
5541         to desired object on "Locate".  Patch modified to use new ddisplay
5542         function ddisplay_scroll_to_object().
5544 2003-06-11  Lars Clausen  <lars@raeder.dk>
5546         * lib/diagramdata.h: Added major_lines, dynamic and colour to grid
5547         info.  Before next version, the grid dialog (view dialog, really)
5548         must be redone to allow a) instant apply, b) apply to all
5549         diagrams, and c) setting colour, dynamic, major lines.
5551         * app/preferences.h: 
5552         * app/preferences.c (prefs_data): Remove option to use stippled
5553         grid, add option for major line offset.  Default to 5 minor lines
5554         per major line.
5555         Add option for dynamically sized grid.
5557         * app/display.c (ddisplay_render_pixmap): Call pagebreak_draw as well.
5559         * app/grid.c: Pagebreak drawing separated out.  Grid drawing using
5560         stippled/solid to display minor/major grid lines.  Line drawing in
5561         separate function away from calculating line distance.
5563         * app/grid.h: Split page break drawing out of grid_draw.
5565 2003-05-15  Hans Breuer  <hans@breuer.org>
5567         * plug-ins/python/diasvg.py : add xlink definition,
5568         also avoid to put spaces into attribute values. At least
5569         Sodipodi doesn't like them in width/height attributes
5571         * plug-ins/python/diasvg_import.py : add simple scaling.
5572         Some (more) handling for <svg>, <desc>, <circle>        
5574         * plug-ins/python/scascale.py : (new file) which does
5575         some experimental scaling via StdProp api
5577         * plug-ins/python/pydia-cpoint.c 
5578           plug-ins/python/pydia-handle.c : return PyDiaPoint for
5579         obj.pos not simple tuples. PyDiaPoint has a tuple interface
5580         so this may even be api compatible ...
5582 2003-05-11  Hans Breuer  <hans@breuer.org>
5584         * app/line_area.c : add window position persitence
5586         * lib/poly_conn.[hc] lib/polyshape.[hc] : allow to set 
5587         'poly_points' via StdProp api
5588         * lib/neworth_conn.h : don't rely on OrthConn and 
5589         NewOrtConn having the same struct offsets
5591         * lib/properties.h : introduce PROP_FLAG_WIDGET_ONLY
5592         to help separating 'useful' properies - in terms of
5593         the PyDia access
5595         * objects/custom/custom_object.c
5596           objects/UML/*.c
5597         add the missing prop_desc_list_calculate_quarks to
5598         all the *_describe_props()
5600         * objects/standard/beziergon.c objects/standard/bezier.c :
5601         explicit initializtion of default_user_data
5602         * objects/standard/polygon.c objects/standard/polyline.c :
5603         Same here. Also use POLY<CONN|SHAPE>_COMMON_PROPERTIES
5605         * plug-ins/python/diamodule.c : implement dia.register_import
5607         * plug-ins/python/makefile.msc : need to link with Pango
5608         for pango_color_parse()
5610         * plug-ins/python/pydia-property.c : add a bunch of type
5611         conversions to PyDiaProperty_ApllyToObject()
5613         * plug-ins/python/diasvg_import.py : (new file) which currently
5614         is mainly a stress test for PyDia but for some files already
5615         produces better results than svg-import.c
5617 2003-05-06  Lars Clausen  <lrclause@cs.uiuc.edu>
5619         * objects/UML/uml.c (uml_get_operation_string): Avoid ':' on
5620         type-less operations.
5622 003-05-03  Hasbullah Bin Pit  <sebol@ikhlas.com>
5624         * configure.in(ALL_LINGUAS): Added "ms".
5626 2003-05-01  Lars Clausen  <lrclause@cs.uiuc.edu>
5628         * plug-ins/xslt/xslt.c (xslt_ok): 
5629         * plug-ins/shape/shape-export.c (new_shape_renderer): 
5630         * plug-ins/svg/render_svg.c (new_svg_renderer): 
5631         * plug-ins/hpgl/hpgl.c (export_data): 
5632         * plug-ins/dxf/dxf-export.c (export_dxf): 
5633         * plug-ins/metapost/render_metapost.c (export_metapost): 
5634         * plug-ins/pstricks/render_pstricks.c (export_pstricks): 
5635         * plug-ins/xfig/xfig-export.c (export_fig): 
5636         * plug-ins/wpg/wpg.c (export_data): 
5637         * plug-ins/cgm/cgm.c (export_cgm): 
5638         * app/render_eps.c (export_eps): 
5639         * app/export_png.c (export_png_ok): 
5640         * app/load_save.c (diagram_data_save): Adding and standardizing
5641         output file error messages to include fopen error message.
5643 2003-05-01  Steffen Macke <sdteffen@web.de>
5645         * app/persistence.c: do not use unistd.h for MSVC build
5647 2003-04-30  Lars Clausen  <lrclause@cs.uiuc.edu>
5649         * sheets/Assorted.sheet.in
5650         * sheets/Circuit.sheet.in
5651         * sheets/Contact.sheet.in
5652         * sheets/EML.sheet.in
5653         * sheets/ER.sheet.in
5654         * sheets/Electric.sheet.in
5655         * sheets/FS.sheet.in
5656         * sheets/Flowchart.sheet.in
5657         * sheets/GRAFCET.sheet.in
5658         * sheets/Logic.sheet.in
5659         * sheets/MSE.sheet.in
5660         * sheets/Misc.sheet.in
5661         * sheets/Pneumatic.sheet.in
5662         * sheets/SADT.sheet.in
5663         * sheets/SDL.sheet.in
5664         * sheets/UML.sheet.in
5665         * sheets/chronogram.sheet.in
5666         * sheets/ciscohub.sheet.in
5667         * sheets/ciscomisc.sheet.in
5668         * sheets/cisconetwork.sheet.in
5669         * sheets/ciscorouter.sheet.in
5670         * sheets/civil.sheet.in
5671         * sheets/network.sheet.in
5672         * sheets/sybase.sheet.in:
5673         Patch from Jan-Willem Harmanny <jwharmanny@zeelandnet.nl>
5674         standardizes shape descriptions to use no articles, no 'create
5675         ...'.
5676         
5677         * app/interface.c (tool_data): Standard objects follow same
5678         standard as sheets.
5680 2003-04-29  Lars Clausen  <lrclause@cs.uiuc.edu>
5682         * app/color_area.c (color_area_edit): More informative title on
5683         color selection dialog.
5685         * app/disp_callbacks.c (ddisplay_drop_object): Update menu
5686         sensitivity when dropping object in.  Also reset tool to pointer.
5688         * objects/flowchart/diamond.c (diamond_update_data): 
5689         * objects/flowchart/parallelogram.c (pgram_update_data): Added
5690         left and right alignment options.
5692 2003-04-28  Lars Clausen  <lrclause@cs.uiuc.edu>
5694         * objects/flowchart/box.c: Added left and right alignment options.
5696 2003-04-26  Lars Clausen  <lrclause@cs.uiuc.edu>
5698         * app/persistence.c (persistence_load): Test existence of
5699         persistence file before trying to open it.
5701 2003-04-25  Lars Clausen  <lrclause@cs.uiuc.edu>
5703         * app/properties.c: Escape now closes properties dialogs.
5705 2003-04-25  Hans Breuer  <hans@breuer.org>
5707         * app/config.h.win32 : bump version to 0.91+cvs
5709         * app/makefile.msc lib/makefile.msc lib/libdia.def : updated
5711         * lib/dia_dirs.c : G_OS_WIN32: #define mkdir(s,a) _mkdir(s)
5713         * app/commands.c : don't leak "netscape" if getenv("BROWSER")
5714         returns NULL
5716         * app/presistence.c : need to #include "dia_xml_libxml.h"
5717         for xmlDiaParseFile
5719         * app/layer_dialog.c : make delayed creation work by protecting
5720         all non static layer_dialog_*() with :
5721            if (layer_dialog == NULL || layer_dialog->dialog == NULL)
5722              create_layer_dialog();
5723         * app/app_procs.c : removed /* create_layer_dialog(); */
5725         * objects/uml/association.c : give it a minimal StdProp
5726         implementation to fix bug #108896
5727         * lib/object_defaults.c : don't try to copy props if there
5728         is no obj->ops->describe_props
5730 2003-04-24  Lars Clausen  <lrclause@cs.uiuc.edu>
5732         * objects/standard/image.c (image_create): 
5733         * objects/standard/ellipse.c (ellipse_create): 
5734         * objects/standard/box.c (box_create): 
5735         * objects/flowchart/ellipse.c (ellipse_create): 
5736         * objects/flowchart/diamond.c (diamond_create): 
5737         * objects/flowchart/box.c (box_create): 
5738         * objects/custom/custom_object.c (custom_create): 
5739         * objects/ER/relationship.c (relationship_create): 
5740         * objects/ER/entity.c (entity_create): 
5741         * objects/ER/attribute.c (attribute_create): Initialize
5742         elem->height to DEFAULT_HEIGHT instead of DEFAULT_WIDTH.
5744         * lib/dia_svg.c (dia_svg_parse_style): Added case to set center
5745         alignment. 
5747         * configure.in: 
5748         * plug-ins/Makefile.am: 
5749         * plug-ins/xslt/Makefile.am: 
5750         * plug-ins/xslt/xslt.c (dia_plugin_init): 
5751         Patch from Götz Waschk <waschk@informatik.uni-rostock.de> uses
5752         automake-style if to only include xslt dir when needed.  Works
5753         with automake 1.4 and up, at least.
5755 2003-04-22  Lars Clausen  <lrclause@cs.uiuc.edu>
5757         * lib/diasvgrenderer.c (draw_string): 
5758         * lib/dia_svg.c (dia_svg_parse_style): Use
5759         text-anchor:(start|middle|end).
5761         * lib/diasvgrenderer.c (draw_polygon, fill_polygon): Use svg
5762         polygon rather than polyline & avoid missing line pieces.
5763         (get_draw_style): Set fill-opacity to 0 on draw_style to avoid
5764         black-filled things.
5766 2003-04-21  Lars Clausen  <lrclause@cs.uiuc.edu>
5768         * app/persistence.c (persistence_load): Check that persistence
5769         file exists before trying to read it.
5770         (persistence_update_window): Removed printf.
5772         * objects/GRAFCET/step.c: Don't copy defaults for name and id.
5774         * lib/autoroute.c: Take badness into the layouters again, as some
5775         of them know they can do things that are pretty but would be
5776         counted as ugly by the default calculation.
5778         * objects/UML/large_package.c: Shrink package name box when no
5779         stereotype is present.
5781         * lib/orth_conn.h (ORTHCONN_COMMON_MENUS): 
5782         * lib/orth_conn.c: Added object menu item for autorouting.
5784         * objects/FS/flow-ortho.c (orthflow_get_object_menu): 
5785         Autorouting, plus set initial dragging handle to be the end, not
5786         the middle.
5787         (orthflow_draw): Flipped arrow place to be at the end, as
5788         originally intended (got lost in arrow update).
5790         * objects/standard/zigzagline.c (zigzagline_get_object_menu): 
5791         * objects/UML/dependency.c (dependency_get_object_menu): 
5792         * objects/UML/association.c (association_get_object_menu): 
5793         * objects/UML/realizes.c (realizes_get_object_menu): 
5794         * objects/SADT/arrow.c (sadtarrow_get_object_menu): 
5795         * objects/GRAFCET/vector.c (arc_get_object_menu): 
5796         * objects/ER/participation.c (participation_get_object_menu): 
5797         * objects/EML/instantiation.c (instantiation_get_object_menu): 
5798         * objects/UML/generalization.c (generalization_get_object_menu): 
5799         * objects/EML/interaction-ortho.c (interaction_ortho_get_object_menu): 
5800         Autorouting setup (currently disabled for SADT/arrow).
5801         
5802 2003-04-19  Lars Clausen  <lrclause@cs.uiuc.edu>
5804         * lib/autoroute.c: Removed printfs.
5806         * lib/orth_conn.c: 
5807         * lib/autoroute.[ch] (autoroute_layout_orthconn): Handle
5808         non-connected orthconns too.
5810 2003-04-18  Lars Clausen  <lrclause@cs.uiuc.edu>
5812         * lib/orth_conn.h: 
5813         * lib/orth_conn.c: Function to set autorouting on/off, use
5814         autorouting in move_handle (turns off when a middle handle is
5815         moved), added to standard orthconn props. 
5817         * app/disp_callbacks.c (create_object_menu, popup_object_menu):
5818         Stopped signal emission for check menu items being set to on/off.
5820         * objects/standard/zigzagline.c: Added autorouting object menu item.
5822         * lib/autoroute.c: Added last cases of autoroute layout, fixed
5823         floating point comparison bug, cleaned up layouters, tweaked
5824         badness to allow kinks. 
5826 2003-04-17  Lars Clausen  <lrclause@cs.uiuc.edu>
5828         * lib/connectionpoint.h: Changed DIR_* macros to go around the
5829         clock. 
5831         * lib/orth_conn.[ch] (orthconn_set_points): New function to set all
5832         points at once.
5833         * objects/standard/zigzagline.c (zigzagline_move_handle): Removed
5834         old cruft, added call to autoroute (currently cannot be turned
5835         off).  Need to check what undo thinks about this.
5836         * lib/autoroute.[ch]: Fairly working simple layout.
5838         * lib/Makefile.am (libdia_la_SOURCES): Added autoroute files.
5839         * lib/autoroute.[ch]: Start of proper autorouting functionality.
5841 2003-04-10  Lars Clausen  <lrclause@cs.uiuc.edu>
5843         * lib/prop_widgets.c: Show labels on ListProp.
5845 2003-04-11  Steffen Macke <sdteffen@web.de>
5847         * doc/en/dia-manual.xml: removed reference of non-existing authors 
5848         note.
5849         * doc/en/usage-objects-selecting: commented out misleading section
5850         references.
5852 2003-04-10  Lars Clausen  <lrclause@cs.uiuc.edu>
5854         * app/app_procs.c (app_init): Layer window now opened at startup
5855         only if needed.
5857         * lib/prop_widgets.c: Show labels on ListProp.
5859 2003-04-09  Steffen Macke <sdteffen@web.de>
5861         * doc/en/*.sgml: removed files
5862         * doc/en/*.xml: added files
5863         * doc/en/Makefile.am: switched to XML DocBook
5865 2003-04-09  Lars Clausen  <lrclause@cs.uiuc.edu>
5867         * plug-ins/xslt/xslt.c (dia_plugin_init): 
5868         * configure.in: Added --with-xslt-prefix to allow other XSLT
5869         placements than /usr/lib.
5871 2003-04-09  Steffen Macke <sdteffen@web.de>
5873         * lib/makefile.mingw: updated to include latest files, including 
5874         and linking libintl
5875         * lib/geometry.h: don't define isinf and finite for mingw gcc build
5877 2003-04-08  Lars Clausen  <lrclause@cs.uiuc.edu>
5879         * app/persistence.h:
5880         * app/persistence.c (persistence_register_window_create): 
5881         * app/app_procs.c (app_init): 
5882         Register window function that doesn't create the window unless it
5883         should be open.  Other windows should move to this, so startup
5884         speed can be reduced.
5885         
5886         * app/persistence.h: Removed call prototype for update_window, now
5887         done internally.
5888         * app/persistence.c (persistence_register_window): A number of
5889         fixes.  Doesn't forget position when window is closed.  Now
5890         actually loads prefs.
5892         * app/layer_dialog.c (create_layer_dialog): Removed extraneous
5893         event connect.
5895         * app/preferences.c (prefs_data): 
5896         * app/diagram_tree_window.h: 
5897         * app/diagram_tree_window.c: Added persistence registering.
5898         Removed prefs items storing size and openness. 
5900         * app/sheets_dialog.c (create_sheets_main_dialog): Added
5901         persistence registering.  
5903         * app/Makefile.am (dia_core_files): Added persistence files.
5905         * lib/dia_dirs.h: 
5906         * lib/dia_dirs.c (dia_config_ensure_dir): New function to ensure
5907         that dirs are present.
5909         * app/app_procs.c (app_init): Loads persistent values on startup.
5910         (app_exit): Saves persistent values on exit.
5912         * app/layer_dialog.c (create_layer_dialog): Registers the layer
5913         window for persistence.
5915         * app/persistence.[ch]: New files handling various kinds of
5916         persistence.
5918 2003-04-04  Lars Clausen  <lrclause@cs.uiuc.edu>
5920         * lib/arrows.c: Adjusted arrow head spacing, more systematic arrow
5921         head spacing calculations.  Added half-circle arrow from Matthieu
5922         Sozeau <mattam@netcourrier.com> 
5924 2003-04-03  Lars Clausen  <lrclause@cs.uiuc.edu>
5926         * app/app_procs.c (app_init): Moved layer dialog init to allow
5927         tooltips to be initialized.
5929         * app/interface.c (create_display_shell): More tooltips.
5931         * app/linewidth_area.c (linewidth_area_create) 
5932         (linewidth_area_events): 
5933         * app/color_area.c (color_area_events, color_area_create): 
5934         Made tooltips work by embedding drawing_area in event_box.
5936         * app/interface.c (create_display_shell,
5937         (create_lineprops_area, create_color_area): Added a few tooltips.
5939 2003-04-01  Lars Clausen  <lrclause@cs.uiuc.edu>
5941         * app/pixmaps/off-grid.xpm: 
5942         * app/pixmaps/on-grid.xpm: 
5943         * app/Makefile.am (EXTRA_DIST): Added snap to grid icons.
5945         * app/display.h: 
5946         * app/commands.c (view_snap_to_grid_callback): 
5947         * app/display.c (ddisplay_set_snap_to_grid) 
5948         (update_snap_grid_status): 
5949         * app/interface.c (create_display_shell, grid_toggle_snap): 
5950         Added snap-to-grid status button.
5952 2003-03-31  Lars Clausen  <lrclause@cs.uiuc.edu>
5954         * app/app_procs.c (app_init): Create a new diagram if a file on
5955         the command line isn't found.
5957 2003-03-17  Lars Clausen  <lrclause@cs.uiuc.edu>
5959         * lib/dialibartrenderer.c (draw_string): Correct color handling
5960         for AA.
5962 2003-03-14  Lars Clausen  <lrclause@cs.uiuc.edu>
5964         * NEWS: 
5965         * doc/en/dia-manual.sgml: 
5966         * doc/pl/dia-manual.sgml: 
5967         * configure.in: 
5968         * dia.spec (Release): 
5969         Version 0.91 is here!
5971 2003-02-10  Steffen Macke <sdteffen@web.de>
5973         * plug-ins/wmf/wmf.cpp: patch from Ken Tsukahara 
5974         <ken.tsukahara@tmt-d.co.jp>, fixes windows printing and WMF export of
5975         non-ANSI characters, closes #107980
5977 2003-03-04  Lars Clausen  <lrclause@cs.uiuc.edu>
5979         * configure.in: 
5980         * NEWS: 
5981         * dia.spec (Release): 
5982         * doc/en/dia-manual.sgml: Upping to pre6.
5984         * configure.in: Missing comma broke HAVE_IEEEFP_H test.
5986         * app/lineprops_area.c (dia_arrow_chooser_new): Fixing bug
5987         #107511:  Make arrow selector for correct arrow type.
5989 2003-03-03  Lars Clausen  <lrclause@cs.uiuc.edu>
5991         * shapes/Circuit/Makefile.am (SHAPES): Added hjumper.png to
5992         EXTRA_DIST.
5994 2003-03-02  Lars Clausen  <lrclause@cs.uiuc.edu>
5996         * doc/en/dia-manual.sgml: 
5997         * configure.in: 
5998         * NEWS: 
5999         * dia.spec (Release): Upping to pre5.
6001         * configure.in: Add freetype-config derived libs to the
6002         AC_CHECK_LIB statement for freetype.
6004 2003-02-28  Hans Breuer  <hans@breuer.org>
6006         [fix for bug #107203]
6008         * lib/diarenderer.c : add warning 'implementation'
6009         for fill_rect to avoid crashing with a renderer
6010         which does not implement this required function.
6012         * plug-ins/dxf/dxf-export.c : provide - still empty -
6013         'implementations' for fill_rect and fill_polygon 
6014         to suppress the above warnings. Now it works like
6015         in version 0.90 
6017 2003-02-28  Steffen Macke <sdteffen@web.de>
6019         * samples/all_objects.dia: New sheet containing all dia shapes
6020         and objects; one layer per sheet
6021         
6022 2003-02-28  Lars Clausen  <lrclause@cs.uiuc.edu>
6024         * lib/prop_text.c (multistringprop_get_widget,
6025         multistringprop_reset_widget, multistringprop_set_from_widget): 
6026         Now uses GtkTextView instead of deprecated stuff, and also works:)
6028         * configure.in: Slightly more informative error message for isinf.
6030         * dia.spec (Requires): Require libxml2 rather than libxml.
6032 2003-02-28  Steffen Macke <sdteffen@web.de>
6034         * shapes/Circuit/hjumper.png:
6035         * shapes/Circuit/hjumper.shape: added missing icon for horizontal
6036         jumper shape
6037         
6038 2003-02-26  Lars Clausen  <lrclause@cs.uiuc.edu>
6040         * doc/en/dia-manual.sgml: 
6041         * configure.in: 
6042         * dia.spec (Release):
6043         * NEWS: New prerelease 0.91pre4, two important fixes.
6045 2003-02-25  Lars Clausen  <lrclause@cs.uiuc.edu>
6047         * plug-ins/xslt/Makefile.am (EXTRA_DIST): Also dist
6048         stylesheets.xml.in 
6050         * app/commands.c (help_manual_callback): More correct URL for help
6051         page (include file://, was broken on Dillo without it).
6053 2003-02-24  Lars Clausen  <lrclause@cs.uiuc.edu>
6055         * app/disp_callbacks.c: Set modifed when text is changed.
6057         * app/modify_tool.c (modify_button_release): Allow undo for moving
6058         objects.
6060 2003-02-16  Lars Clausen  <lrclause@cs.uiuc.edu>
6062         * dia.spec: 
6063         * doc/en/dia-manual.sgml: 
6064         * NEWS: 
6065         * configure.in: New prerelease with important bugfix.
6066         * shapes/network/digitizing_board.png:
6067         * shapes/network/plotter.png: Re-adding with -kb.
6068         
6069 2003-02-17  Abel Cheung  <maddog@linux.org.hk>
6071         * app/app_procs.c (app_init): Add comment for translators.
6073 2003-02-16  Lars Clausen  <lrclause@cs.uiuc.edu>
6075         * lib/filter.c (filter_register_import, filter_register_export):
6076         Don't accept filters with NULL description.
6078         * lib/plug-ins.c (dia_plugin_load): Fail if there's no description
6079         (as we assume the description is available in other places).
6081 2003-02-15  Lars Clausen  <lrclause@cs.uiuc.edu>
6082         
6083         * app/disp_callbacks.c (ddisplay_vsb_update, ddisplay_hsb_update): 
6084         * app/display.c (ddisplay_resize_canvas): Use
6085         ddisplay_add_update_all().
6086         (ddisplay_add_update_all): Free display and update lists when
6087         doing update_all, as they'll be regenerated immediately to cover
6088         all visible area.  Fixes bug #106165, crash when resizing.  This
6089         appears to be the original AA crash bug, believed long extinct.
6091 2003-02-13  Lars Clausen  <lrclause@cs.uiuc.edu>
6093         * app/commands.c (help_manual_callback): Use file: protocol for
6094         help. 
6096         * plug-ins/xslt/.cvsignore: Ignore .o files, please.
6098         * plug-ins/xslt/stylesheets: Removed old-style config file.
6099         
6100         * plug-ins/xslt/stylesheets.xml.in: New XML-based config file.
6102         * plug-ins/xslt/Makefile.am: 
6103         * plug-ins/xslt/xslt.c: Applied patch from Matthieu, improved path
6104         handling (no more DIA_PLUGIN_PATH).
6106 2003-02-11  Lars Clausen  <lrclause@cs.uiuc.edu>
6108         * plug-ins/svg/render_svg.c: 
6109         * lib/diasvgrenderer.c: Fixed numeric localized output issues.
6111 2003-02-10  Lars Clausen  <lrclause@cs.uiuc.edu>
6113         * objects/SADT/arrow.c (sadtarrow_draw): Clamp cosa, cosb to 
6114         [-1.0, 1.0].  Shouldn't be necessary, but in some cases the
6115         side of the triangle is longer than the hypotenuse.  Rounding
6116         error suspected.
6118 2003-02-09  Lars Clausen  <lrclause@cs.uiuc.edu>
6120         * NEWS: 
6121         * configure.in: 
6122         * doc/en/dia-manual.sgml: Update for pre2.
6124         * app/menus.c (display_menu_items): Fixed wrongly place separators.
6126         * objects/flowchart/box.c (box_update_data): Applied patch from
6127         Eivind Tagseth <eivind-gnome@multinet.no> to allow resize (with
6128         comment). 
6130         * app/paginate_psprint.c (print_page): Set paper name, so it
6131         convinces ps printers to use to right size.
6133 2003-02-07  Lars Clausen  <lrclause@cs.uiuc.edu>
6135         * app/properties.c (properties_show): Hide the dialog if the
6136         object is NULL (get rid of 'no properties' randomly popping up).
6138 2003-02-06  Lars Clausen  <lrclause@cs.uiuc.edu>
6140         * plug-ins/pixbuf/pixbuf.c (export_data): Adjust width and height
6141         for diagrams not starting at origo.
6143 2003-02-05  Lars Clausen  <lrclause@cs.uiuc.edu>
6145         * dia.spec (BuildRequires): Use libxml2-devel.
6147         * plug-ins/pixbuf/Makefile.am: Added to CVS.
6149         * RELEASE-PROCESS: Note on RPM version numbers.
6151         * app/interface.c (create_display_shell): Don't set as toolbar
6152         under Unix, either.  Especially not the diagram shell.  It removes
6153         it from the taskbar and makes it unresizable, always-on-top with
6154         OpenBox.  TOOLBAR != TOOLBOX.  Setting toolbox to the only
6155         appropriate thing, UTILITY, is not good either, you lose resizing
6156         and minimizing/maximizing under OpenBox.
6158         * app/menus.c (display_menu_items): Set delete item to use Delete.
6160 2003-02-04  Lars Clausen  <lrclause@cs.uiuc.edu>
6162         * dia.spec (BuildRequires, Requires): Updated for Gtk2
6163         requirements.
6165         * app/disp_callbacks.c (ddisplay_canvas_events): Only add a
6166         display flush when getting focus in, or we may get an update after
6167         the diagram has been destroyed in some cases.  Fixes bug #105221.
6169         * plug-ins/xfig/xfig-import.c: Notes on the splines used by XFig.
6171         * lib/diarenderer.c: Notes on the basis matrix for our beziers.
6173         * app/app_procs.c (app_init): Fixed missing popt context for Gnome
6174         - gnome-compiled Dia will now read files specified on the command line.
6176 2003-02-03  Lars Clausen  <lrclause@cs.uiuc.edu>
6178         * INSTALL (REQUIREMENTS): Updated requirements section.
6180         * configure.in: Better finite() check from Mårten Svantesson
6181         <f95-msv@nada.kth.se>.  Doesn't seem to generate strange dangly
6182         if's. 
6183         
6184 2003-02-03  Lars Clausen  <lrclause@cs.uiuc.edu>
6186         * plug-ins/xfig/xfig-import.c: Notes on spline conversions.
6188         * app/app_procs.c (debug_break): Added some code to avoid
6189         over-eager optimizations removing the call.  Surely there's a
6190         nicer way, but I'm not sure how.
6192         * app/diapsft2renderer.c (draw_bezier_outline): Removed paps relic
6193         that set text to black.
6195 2003-02-02  Lars Clausen  <lrclause@cs.uiuc.edu>
6197         * NEWS: Mention of Twiki as doc source for Python.
6199         * plug-ins/pixbuf/pixbuf.c: Export with pixbuf if
6200         libart/libpng is not available.  Later when we have a way of
6201         letting the user pick options in the file select dialog we shall
6202         allow the choice when applicable.
6204 2003-02-02  Steffen Macke <sdteffen@web.de>
6206         * doc/en/usage-loadsave.sgml:
6207         * doc/en/usage-objects.sgml: patch from
6208         James K. Lowden <jklowden@schemamania.org> to fix
6209         some docbook errors
6210         
6211 2003-02-01  Lars Clausen  <lrclause@cs.uiuc.edu>
6213         * plug-ins/Makefile.am (SUBDIRS): 
6214         * plug-ins/pixbuf/pixbuf.c: 
6215         * plug-ins/pixbuf/Makefile.am: 
6216         * configure.in: 
6217         Added pixbuf plugin to Makefile.am, but for import only.  PNG
6218         export handled by libart, which is better. JPG export is
6219         discouraged.  BMP is not much used on Unix.  Next release will
6220         integrate libart to allow all outputs.
6222 2003-02-01  Hans Breuer  <hans@breuer.org>
6224         * app/preferences.c :
6225         * app/pagesetup.c :
6226         the last two dialogs with 'old' button order finally
6227         are converted to gtk2, no GnomeDialog in all of Dia 
6228         anymore :-) 
6230 2003-02-01  Hans Breuer  <hans@breuer.org>
6232         * app/filedlg.c : don't try to use a button as
6233         'overwrite-file-dialog'-parent, use the FileSelDialog
6234         instead
6236         * plug-ins/pixbuf/pixbuf.c : make it work with 
6237         system-visual-depth < 24. Remove 'bmp' from output
6238         format extensions, it just was wishful thinking.
6240         * plug-ins/python/Makefile.am : added the four new python 
6241         plug-ins mentioned below to pyplugin_DATA and EXTRA_DIST
6243 2003-02-01  Hans Breuer  <hans@breuer.org>
6245         * NEWS : updated content beside dependencies
6247 2003-02-01  Hans Breuer  <hans@breuer.org>
6249         * lib/arrow.h : arrow_types needs to be declared as DIAVAR
6250         to make it useable across DLL boundaries
6251         * app/lineprops_area.c : same code to access arrow_types
6252         on all platforms
6254         * objects/UML/class.c : the non empty string is e.g.
6255         comment != NULL && comment[0] != '\0'
6256         * objects/UML/uml.c : same here, don't bother with
6257         empty operation stereotypes
6259 2003-02-01  Steffen Macke <sdteffen@web.de>
6261         * app/lineprops_area.c: latest changes do not work on
6262         windows, using old code without tooltips
6263         * makefile.msc: fixed copying of wmf.dll
6264         * plug-ins/makefile.msc: 
6265         * app/makefile.msc:
6266         * lib/makefile.msc: now linking libintl
6267         * config.h.win32: enabling native language support
6269 2003-01-31  Lars Clausen  <lrclause@cs.uiuc.edu>
6271         * plug-ins/xslt/Makefile.am (libxslt_filter_la_LDFLAGS): Removed
6272         -ldl and -lglib.  May or may not work on windows...awaiting verdict.
6274 2003-01-31  Daniel Yacob  <locales@geez.org>
6276         * configure.in: Added am (Amharic) to ALL_LINGUAS.
6278 2003-01-31  Steffen Macke <sdteffen@web.de>
6280         * objects/UML/class.c (umlclass_calculate_data): fixed crash
6281         when comments were visible, no class comment available and
6282         a attribute comment
6283          
6284 2003-01-31  Lars Clausen  <lrclause@cs.uiuc.edu>
6286         * RELEASE-PROCESS: Updated to fit new install-module syntax.
6287         * Prerelease 0.91-pre1 released on a suspecting public.  Tagging
6288         with DIA_0_91_PRE1.
6290 2003-01-30  Lars Clausen  <lrclause@cs.uiuc.edu>
6292         * config.h.win32: 
6293         * NEWS: 
6294         * configure.in:
6295         * dia.spec:
6296         Prerelease version changes, version 0.91-pre1.
6298         * app/sheets_dialog_callbacks.h: 
6299         * app/sheets_dialog_callbacks.c: 
6300         * app/sheets_dialog.c (create_sheets_main_dialog): 
6301         * app/sheets.c (sheets_dialog_create): More destroy stuff.  Trying
6302         to handle destruction of main dialog cleanly, but it's a mess.
6304         * configure.in: Downgraded ieeefp test to make it not produce
6305         illegal shell code.
6307         * lib/widgets.c (dia_arrow_selector_set_arrow): 
6308         (dia_line_style_selector_set_linestyle): Select menu dot
6309         correctly set.
6311         * lib/arrows.c (calculate_arrow_point): Fix of wrong arrow
6312         adjustment for diamondheads.
6314         * lib/plug-ins.c (dia_plugin_load): Fixed typo.
6316         * app/properties.c (create_dialog): Destroy properties dialog and
6317         box correctly.
6319         * app/sheets_dialog_callbacks.c
6320         (on_sheets_dialog_button_edit_clicked): Only create a new dialog
6321         if the old one is destroyed.
6323 2003-01-29  Lars Clausen  <lrclause@cs.uiuc.edu>
6325         * app/export_png.c (export_png_ok): Added info on resolution.
6326         Should (next release) improve export dialog to allow setting
6327         resolution instead of pixels.
6329         * app/lineprops_area.c (dia_arrow_chooser_new): Use menudesc list
6330         to generate arrowheads as well as tooltips.
6332         * lib/arrows.c: Added hollow diamond to menudesc list.
6334         * lib/arrows.[ch]: 
6335         * lib/widgets.[ch]: Moved arrow name list into arrows.[ch] to
6336         unify with rendered menu.
6338         * lib/diarenderer.c (draw_line_with_arrows)
6339         (draw_polyline_with_arrows, draw_arc_with_arrows)
6340         (draw_bezier_with_arrows): Fixed linestyle change bug (#104488)
6341         without changing renderer API.  Thanks to David Scherba for
6342         providing inspiration.
6344 2003-01-28  Lars Clausen  <lrclause@cs.uiuc.edu>
6346         * app/interface.c (create_display_shell):
6347         * app/display.h: Patching from Hubert Figuiere
6348         <hfiguiere@teaser.fr>:  Better types for menu bar widgets, and
6349         correct menu items.
6351 2003-01-26  Lars Clausen  <lrclause@cs.uiuc.edu>
6353         * app/defaults.c (defaults_show): Fixed defaults closing bug.
6354         Thanks to Hans for pointing it out.
6356 2003-01-25  Hans Breuer  <hans@breuer.org>
6358         * app/commands.c : don't warn about crashing libart renderer
6359         on win32. It simply doesn't render text anymore :-(
6361         * app/filedlg.c : use GtkMessageDialog for 'file overwrite'
6363         * objects/UML/class.c : don't access umlclass->properties_dialog
6364         after calling gtk_widget_destroy(umlclass->properties_dialog->dialog)
6365         which sets the former to NULL by destroy_properties_dialog() callback.
6367         * plug-ins/wmf/wmf.cpp : use dia_image_rowstride()
6369         * plug-ins/python/pydia-font.c : fix PyDiaFont_GetAttr()
6371         * plug-ins/python/pydia-image.c : add image.uri member
6372         not only useful for SVG rendering
6374         * plug-ins/python/diasvg.py : (new file) a more advanced
6375         example. A full blown SVG Renderer, currently only
6376         registered for .svgz
6378         * plug-ins/python/export-object.py : write text props
6380         * plug-ins/python/debug_objects.py : write prop.type and
6381         prop.visible 
6383 2003-01-25  Lars Clausen  <lrclause@cs.uiuc.edu>
6385         * objects/UML/association.c (association_update_data): Better
6386         bounding box for assoc with arrows.
6388         * lib/properties.h: New flag for properties with multiple values
6389         in groups.
6391         * app/lineprops_area.c (dia_arrow_chooser_dialog_show): Correct
6392         arrow updating in dialog.  Was broken due to changes from destroy
6393         fix:(
6395         * app/commands.c (view_aa_callback): AA warning only for Windows
6396         -- I trust the Unix side well enough.
6398         * app/render_libart.c (get_text_width): 
6399         * lib/dialibartrenderer.h (struct _DiaLibartRenderer): Font and
6400         font height can be taken from parent instance.
6402         * lib/dialibartrenderer.c (dia_libart_renderer_class_init) 
6403         (get_text_width): Proper cursor positioning for libart renderer.
6404         Ought to have a DiaInteractiveRenderer that these two can inherit
6405         from, that knows about transform.
6407 2003-01-25  Steffen Macke <sdteffen@web.de>
6409         * plug-ins/xslt/xslt.h: don't use dlfcn.h on win32. XSLT
6410         plug-in still not working on win32
6411         
6412 2003-01-24  Lars Clausen  <lrclause@cs.uiuc.edu>
6414         * app/disp_callbacks.c (ddisplay_canvas_events): Moved
6415         gdk_window_get_pointer to avoid destroy crash.  Simpler than I
6416         thought.
6418 2003-01-23  Lars Clausen  <lrclause@cs.uiuc.edu>
6420         * app/app_procs.c (app_init): Run gtk_init before popt so we don't
6421         bail out on gtk options.
6423         * lib/message.c (gtk_message_internal): Better handling of destroy
6424         event.
6426 2003-01-22  Lars Clausen  <lrclause@cs.uiuc.edu>
6428         * app/color_area.c (color_area_edit): 
6429         * lib/widgets.c (dia_file_selector_browse_pressed) 
6430         (dia_color_selector_pressed): 
6431         * app/plugin-manager.c (get_plugin_manager): 
6432         * app/filedlg.c (file_open_callback, file_save_as_callback) 
6433         (file_export_callback):
6434         * app/diagram_tree_window.c (diagram_tree_window_new): Correct
6435         handling of destroy event.
6437 2003-01-22  Alan Horkan <horkana@tcd.ie>
6439         * app/commands.c (file_new_callback): Changed Untitled to Diagram
6440         for default name.
6442 2003-01-21  Lars Clausen  <lrclause@cs.uiuc.edu>
6444         * app/preferences.c (prefs_create_dialog): 
6445         * app/linewidth_area.c (linewidth_create_dialog): 
6446         * app/lineprops_area.c (dia_arrow_chooser_dialog_show): 
6447         * app/layer_dialog.c (create_layer_dialog)
6448         (layer_dialog_edit_layer): Correct handling of destroy signal. 
6450         * app/diapsft2renderer.c (set_font): Adjust silly random factor
6451         for change in font.c
6453         * lib/widgets.c: Avoid warning when font menu file doesn't exist.
6455         * lib/font.c (dia_font_build_layout): Let's all use the same weird
6456         factor here.
6458         * app/lineprops_area.c (dia_arrow_chooser_dialog_show): 
6459         * app/layer_dialog.c (create_layer_dialog) 
6460         (layer_dialog_edit_layer): 
6461         * app/filedlg.c (file_open_callback, file_save_as_callback) 
6462         (file_export_callback): 
6463         * app/dia-props.c (create_diagram_properties_dialog): 
6464         * app/defaults.c (defaults_dialog_destroyed): 
6465         * app/color_area.c (color_area_edit): Dialog destroy event handling.
6467 2003-01-19  Lars Clausen  <lrclause@cs.uiuc.edu>
6469         * app/defaults.c (defaults_dialog_destroyed): Reset cache when
6470         defaults dialog destroyed.
6472 2003-01-19  Steffen Macke <sdteffen@web.de>
6474         * objects/makefile.msc: added bondgraph
6475         * plug-ins/makefile.msc: added GDK_PIXBUF_LIBS in order
6476         to compile pixbuf.dll
6477         * makefile.msc: copying all objects and dlls now
6478         
6479 2003-01-19  Hans Breuer  <hans@breuer.org>
6481         * app/diagram.[hc] : provide dia_open_diagrams(), make
6482         open_diagrams variable static
6483         * app/dia.def : export it (to be used by PyDia)
6484         * app/app_procs.c app/autosave.c app/diagram_tree_window.c
6485           app/display.c app/dynamic_refresh.c app/layer_dialog.c
6486           app/load_save.c : make use of dia_open_diagrams()
6488         * app/interface.c : don't set GDK_WINDOW_TYPE_HINT_TOOLBAR
6489         on win32. It removes the diagram window from the taskbar and
6490         shrinks it's window title to toolbar style (newest gtk2.2 cvs)
6492         * app/menus.c : add '...' to menu entries where a dialog 
6493         gets invoked
6494         * app/recent_files.c app/dia_embedd.c : reflect the above in 
6495         menus_get_item_from_path() calls
6497         * lib/libdia.def : add dia_image_rgba_data
6499         * lib/properties.h lib/prop_text.[hc] : add new property
6500         type StringList
6501         * objects/UML/class.[hc] object/UML/class_dialog.c : use
6502         StringList for attributes_strings and operations_strings to
6503         make this calculated data accessible via the Property API
6505         * plug-ins/python/diamodule.c : use dia_open_diagrams() and
6506         provide dia.new() to create a new diagram, dia.registered_types()
6507         to get on Dia's type registry, dia.message() for simple dialogs
6509         * plug-ins/python/pydia-diagram.c : implement DiaDiagram.display()
6510         to create a new display from a diagram. Let diagram.extents and
6511         diagram.bg_color return the same types as in diagramdata.*
6513         * plug-ins/python/pydia-geometry.c : add a read-only 
6514         'sequence interface' to DiaPoint and DiaRectangle
6516         * plug-ins/python/pydia-property.c : allow to get on StringList
6517         from Python
6519         * plug-ins/python/pydia-render.c : fix typo to make it compile
6521         * plug-ins/python/python-startup.py : removed 'import pygtk'
6522         again. This file does not need any gtk UI, and some python
6523         plug-ins don't do either
6525         * plug-ins/python/gtkcons.py : ported to GTK2 interface, now
6526         it should actually work as intended again
6528         * plug-ins/python/group_props.py : (new file) a prototype for
6529         one the most requested features: Change properties of selected
6530         objects in one step. Requires pygtk.
6532         * plug-ins/python/select_by.py : (new file) select objects by 
6533         common properties. Requires pygtk.
6535         [Start of 'PyDia Self Documentation Series']
6537         * plug-ins/python/pydiadoc.py : (new file) generates a new 
6538         diagram which contains all objects of dir(dia)
6539         
6540         * plug-ins/python/otypes.py : (new file) generates a new diagram 
6541         which contains all the currently registered object types sorted 
6542         by their containing package
6544 2003-01-18  Lars Clausen  <lrclause@cs.uiuc.edu>
6546         * configure.in: Added check for Pango >= 1.1.5, which appears to
6547         be enough to have text work.
6548         (INTLOBJS): Added dummy subst cause gettext doesn't always seem to
6549         do it.  AC_SUBST should be idempotent, though.
6551 2003-01-17  Lars Clausen  <lrclause@cs.uiuc.edu>
6553         * configure.in (HAVE_FREETYPE): Better test for freetype version
6554         using neat macro.
6555         Now actually sets HAVE_IEEEFP_H, needed for Solaris.
6557         * lib/font.c: Renamed global_size_one to global_zoom_factor to
6558         avoid confusion, and added comment.  Set scale factor in
6559         dia_font_build_layout to 1.0 for Unix side.  This fixes at least
6560         my weird scaling problems.  Fonts are now of the expectable size,
6561         i.e. the space between lines at size 1.0 is 1.0.  If we want a
6562         compatibility fix, we should scale fonts by about 1/0.75 from 0.90
6563         diagrams, though there will always be differences.
6565 2003-01-15  Lars Clausen  <lrclause@cs.uiuc.edu>
6567         * plug-ins/python/python-startup.py: 
6568         * plug-ins/python/gtkcons.py: Require gtk 2.0 for pygtk
6570         * plug-ins/python/python.c (dia_plugin_init): Added warning
6571         message for missing startup file.
6573         * lib/dialibartrenderer.c (draw_image): Alpha rendering!  Yay!
6574         
6575         * lib/dia_image.c (dia_image_rgb_data): 
6576         * app/diapsrenderer.c (draw_image): Fixed rowstride problems
6577         involving EPS.  Can't do transparency in EPS yet.
6579         * lib/dia_image.h: 
6580         * lib/dia_image.c (dia_image_rgba_data): New function to get RGBA
6581         data as one chunk.  Documentation for the RGB data getting funcs.
6582         (dia_image_rgb_data): Added comment.
6584         * lib/dialibartrenderer.c (draw_image): Correct rowstride handling
6585         (bug #103565)
6587 2003-01-13  Steffen Macke <sdteffen@web.de>
6589         * lib/dia_image.c: dia_image_rgb_data() is working for
6590         non-alpha images now. Fixes #93762
6591         * Makefile.am: added makefile.msc to EXTRA_DIST
6592         
6593 2003-01-10  Steffen Macke <sdteffen@web.de>
6595         * app/paginate_psprint.c: Closing print dialog when file
6596         could not be written. Fixes #84746
6597         
6598 2003-01-04  Steffen Macke <sdteffen@web.de>
6600         * doc/custom-shapes: incomplete description of <svg:text>
6602 2003-01-03  Steffen Macke <sdteffen@web.de>
6604         * makefile.msc(new): new makefile to create file
6605         structure suitable for running dia win32 under
6606         $(TOP)/dia/build/win32
6607         
6608 2003-01-02  Steffen Macke <sdteffen@web.de>
6609         
6610         * lib/dia_svg.c: including stdlib.h
6611         * lib/makefile.msc: added gdk_pixbuf libs to linker
6612         * app/makefile.msc: added gdk_pixbuf libs, made libart
6613         libs compatible with gnuwin32 package
6614         
6615 2003-01-01  Hans Breuer  <hans@breuer.org>
6617         * lib/font.c : more comment about global_size_one
6619         * app/menus.c : <control>[<shift>]A for plain gtk build too.
6621         * plug-ins/wmf/wmf.cpp : some type juggling to make 
6622         msvc7 happy
6624 2002-12-31  Steffen Macke <sdteffen@web.de>
6626         * app/makefile.msc: added hint on how to enable console output
6627         
6628 2002-12-17  Lars Clausen  <lrclause@cs.uiuc.edu>
6630         * objects/standard/textobj.c (textobj_load): Get the handle type
6631         right, at least to be the same as when created.
6633 2002-12-12  Lars Clausen  <lrclause@cs.uiuc.edu>
6635         * lib/dialibartrenderer.c (draw_string): Removed extra 'is'.
6637 2002-12-08  Hans Breuer  <hans@breuer.org>
6639         * app/commands.c : fixed bug #85315 'give diagram properties, 
6640         instead of no object selected error' almost a one-liner
6642         * app/splash.c : don't make having the logo pixmap
6643         mandatory. Fixes bug #96068. 
6645         * app/defaults.c : avoid crashing from open-dialog,esc,open-dialog
6646         sequence by connecting to the "delete_event"
6647         * app/objects/uml/class_dialog.c : handle "destroy" for 
6648         the same reason.
6650         * lib/libdia.def : remove diaXmlNewChild again
6652         * app/paginate_gdiprint.cpp : reflect Dia's page setting
6653         portrait/landscape in the windoze print dialog
6655         * objects/makefile.msc : only UML needs to link against
6656         $(GTK2_LIBS) and only custom against $(LIBXML2_LIBS)
6658 2002-12-08  Lars Clausen  <lrclause@cs.uiuc.edu>
6660         * objects/standard/ellipse.c (ellipse_distance_from): 
6661         * lib/geometry.c (distance_ellipse_point): Ellipse now uses the
6662         correct distance function.  Could be faster, but it's not really
6663         essential. 
6665 2002-12-07  Lars Clausen <lrclause@cs.uiuc.edu>
6667         * lib/font.c: Changed global_size_one to more correct 28.35.
6668         Looks better, too.
6670         * app/load_save.c:
6671         * lib/dia_xml.h: 
6672         * lib/dia_xml.c: Removed pretty print hack, the libxml thing works
6673         after all.
6675 2002-12-07  Hans Breuer  <hans@breuer.org>
6677         * lib/widgets.c : g_file_get_contents() silently assumes
6678         a binary file. Reflect when creating the font_menu file
6679         to get rid of junk in font menus
6681 2002-12-06  Hans Breuer  <hans@breuer.org>
6683         * app/diapsrenderer.[hc] app/diapsft2renderer.[hc] :
6684         removed 0xD 0xD 0xA line ends which get created by
6685         cvs if windoze line ends 0xD 0xA are checked in from
6686         *nix and checked out on win32.
6688         * app/preferences.c : changed toolbox_on_top default to
6689         false. It is currently not possible to change the behaviour
6690         at runtime, at least not on win32.
6692         * lib/dialibartrenderer.c : bug #94791 'rendering to 
6693         bitmap without PangoFt2' got delayed to milestone future 
6694         so wrap libart text rendering into PANGO_WIN32_FUTURE. 
6695         It is not available without my Pango patch in bugzilla.
6697         * lib/font.c : added comment to global_size_one and adapt
6698         the arbitrary size scaling in dia_font_build_layout() for
6699         win32, too. This is needed to get an acceptable font size 
6700         approximation for Dia 0.90 and earlier files.
6701         Also #include "message.h".
6703         * app/makfile.msc app/dia.def lib/makefile.msc lib/libdia.def :
6704         reflect movement of group.[hc]
6705         * lib/group.h : export group_type which gets used by app/*
6707         * lib/diagtkfontsel.c : added #undef GTK_DISABLE_DEPRECATED
6708         to get the GtkTypeInfo definition
6710         * plug-ins/makefile.msc : dxf and xfig don't need to link
6711         against app/ anymore now that group is moved to lib/
6713         * plug-ins/python/pydia-render.c : remove massive leaking
6714         of self, i.e. PyDiaRenderer
6716         *  plug-ins/python/makefile.msc : remove linking against
6717         GTK libs
6719 2002-12-06  Lars Clausen  <lrclause@cs.uiuc.edu>
6721         * objects/standard/line.c: Removed properties options for gaps,
6722         until release is done.
6724         * configure.in: Check for freetype version.
6726         * lib/text.c (text_insert_char): Fixed small buffer overflow for
6727         length = 0.
6729         * lib/dialibartrenderer.c (draw_string): Removed debugging printf.
6731         * app/diapsft2renderer.h: 
6732         * app/diapsft2renderer.c: 
6733         * app/diapsrenderer.h: 
6734         * app/diapsrenderer.c: Split ps rendering into standard and freetype.
6736         * app/render_eps.c (export_eps, new_psprint_renderer): Using
6737         PS_FT2 renderer when available.  Old render stuff killed.  Yay!
6739         * lib/properties.h: Fixed bad frame end def.
6741         * app/Makefile.am (dia_core_files): Added diapsft2renderer.[ch].
6743         * lib/dia_xml.c (data_add_string): Avoid #-less strings.
6744         
6745         * objects/bondgraph/Makefile.am: Removed unneeded EXTRA_DIST.
6747 2002-12-05  Lars Clausen  <lrclause@cs.uiuc.edu>
6749         * lib/font.c: Now checking for the proper dia-style standard fonts.
6751         * lib/Makefile.am: 
6752         * app/Makefile.am: Moving group.[ch]
6754         * plug-ins/dxf/dxf-import.c: 
6755         * plug-ins/xfig/xfig-import.c: 
6756         * plug-ins/xfig/xfig-export.c: Now can refer directly to group.h.
6758         * app/object_ops.c: 
6759         * app/object_ops.h: 
6760         * lib/object.c (object_list_move_delta, object_copy_list): 
6761         * lib/object.h: Moved some object-related functions from
6762         object_ops to object to assist moving group.c.
6764         * lib/diatypes.h: Added Group typedef.
6766         * lib/group.h: 
6767         * lib/group.c: Moved from app to lib to a) resolve plug-ins
6768         references, and b) make groups more "real" objects.
6770         * lib/Makefile.am (libdia_la_SOURCES): Added diatyps.h
6772 2002-12-03  Lars Clausen <lrclause@cs.uiuc.edu>
6774         * lib/font.c (dia_font_init): Added check that the three standard
6775         fonts exist.
6777 2002-12-02  Lars Clausen  <lrclause@cs.uiuc.edu>
6779         * lib/dia_xml.[ch]:
6780         * app/load_save.c: Linebreaks in dia files, no indentation.
6781         Should help text tools.  xmlNewChild wrapped in diaXmlNewChild for
6782         this. 
6783         
6784         * objects/standard/line.c: Small but important fixes to the line
6785         gap code.
6787         * lib/dia_xml.h: 
6788         * lib/dia_xml.c (diaXmlNewChild): 
6789         * app/load_save.c (diagram_data_write_doc, write_objects): Simple
6790         XML prettyprinting wrapper.
6792 2002-12-03  Steffen Macke <sdteffen@web.de>
6794         * shapes/Cisco/Makefile.am:
6795         * shapes/Cisco/*.shape: finished conversion of Cisco icons
6796         to *.png
6797         
6798 2002-12-02  Steffen Macke <sdteffen@web.de>
6800         * doc/en/Makefile.am:
6801         * doc/en/usage-objects.sgml:
6802         * doc/en/graphics/line_icon.png: (new) added line icon
6803         
6804 2002-12-02  Lars Clausen  <lrclause@cs.uiuc.edu>
6806         * objects/standard/line.c: Binary search object edge line gap.
6808 2002-12-01  Lars Clausen  <lrclause@cs.uiuc.edu>
6810         * configure.in: Added Cisco makefile, sorted Makefiles list.
6812         * shapes/Makefile.am (SUBDIRS): Added Cisco dir
6814         * configure.in: Now checks for availability of PangoFT2 and
6815         FreeType, raising an error if not found.
6817         * app/Makefile.am (dia_core_files): Adding diapsft2renderer from
6818         Hans.
6820 2002-12-01  Steffen Macke <sdteffen@web.de>
6821         
6822         * doc/en/usage-loadsave.sgml: updated information on import
6823         and export formats
6824         
6825 2002-11-28  Lars Clausen  <lrclause@cs.uiuc.edu>
6827         * app/commands.c (edit_copy_callback): Freeing copy_list.
6829 2002-11-28  Steffen Macke <sdteffen@web.de>
6830         
6831         * app/render_libart.c: art_config.h was included twice
6833 2002-11-27  Lars Clausen  <lrclause@cs.uiuc.edu>
6835         * sheets/.cvsignore: More ignorance.
6837         * lib/diagdkrenderer.c (draw_string): Removed silly #ifdef 1.
6839         * lib/prop_widgets.h: Two (currently unused) settings for frame
6840         foldability.
6842         * lib/prop_widgets.c (frame_beginprop_get_widget): Frames are now
6843         (by default) foldable. 
6845         * lib/propinternals.h: 
6846         * lib/propdialogs.c (prop_dialog_add_raw_with_flags): Way to add
6847         widgets in a more controlled manner.
6849         * objects/standard/line.c (line_update_data): Line gap things
6850         inserted.  Can do xeyes now:)
6852 2002-11-26  Christian Neumair  <chris@gnome-de.org>
6854         * .cvsignore: Changed.
6855         * objects/bondgraph/.cvsignore, plug-ins/metapost/.cvsignore,
6856         plug-ins/xslt/.cvsignore, shapes/Assorted/.cvsignore, shapes/Misc/.cvsignore:
6857         Added.
6859 2002-11-26  Lars Clausen  <lrclause@cs.uiuc.edu>
6861         * app/pixmaps/delete.xpm: Trashcan stolen from Gimp.
6863         * lib/widgets.c (dia_font_selector_get_font): Fixed wrong name
6864         passing to font hash.
6866         * app/filedlg.c (file_save_as_ok_callback): Check that filename is
6867         utf-8 or locale-convertible before adding to dialog text.  This
6868         probably needs done in a number of places where we get text from
6869         the environment and send it to GTK to display.
6871         * lib/widgets.c: Fixed case problems for font menu entries.
6873         * objects/SADT/annotation.c: Don't run the event test (but leave
6874         it here for inspiration).
6876         * lib/widgets.c: 
6877         * lib/widgets.h: Allowing setting preview text for fonts.
6879 2002-11-26  Lars Clausen  <lrclause@cs.uiuc.edu>
6881         * objects/bondgraph/Makefile.am: 
6882         * objects/bondgraph/bondgraph.c: 
6883         * configure.in: 
6884         * objects/Makefile.am: Added bond graph dir.
6886 2002-11-26  Lars Clausen  <lrclause@cs.uiuc.edu>
6888         * lib/text.c (text_calc_boundingbox, text_draw): Better cursor size.
6890 2002-11-25  Lars Clausen  <lrclause@cs.uiuc.edu>
6892         * lib/text.c (text_calc_boundingbox, text_draw): Better cursor
6893         positioning. 
6895         * app/diapsrenderer.c: Freetype rendering is back in force.
6897         * app/disp_callbacks.c: Added missing updates for pre-text-change.
6899 2002-11-25  David Hoover <jazzdaq@yahoo.com>
6901         * app/render_libart.c: Added missing #include line for libart.
6903         * lib/geometry.h:
6904         * lib/geometry.c: Added point_convex function.  This computes
6905         points inside a line segment (0 <= alpha <= 1) or outside the
6906         line segment (alpha < 0 | alpha > 1).
6908         * objects/standard/line.c: Line now has additional code/attributes
6909         which permit the line to extend past the line anchors (gap < 0) or
6910         leave a gap without reaching the anchor (gap > 0).  If no gap is
6911         specified, the default gap of 0 will result in identical line
6912         behavior as before.  If the 'fractional' attributes are TRUE, the
6913         gap length is not fixed, but a percentage of the line length.  I
6914         did not know how create the GTK widgets so the gap code currently
6915         cannot be used without adding XML attributes by hand.
6917 2002-11-25  Lars Clausen  <lrclause@cs.uiuc.edu>
6919         * lib/diagdkrenderer.c (draw_string): Removed timing bits.
6921         * lib/Makefile.am (libdia_la_SOURCES): Added fontsel files to SOURCES.
6923 2002-11-24  Lars Clausen  <lrclause@cs.uiuc.edu>
6925         * lib/font.c: Debugging functionality in separate functions.
6927         * lib/widgets.c: Using fontsel with context.
6929         * lib/diagtkfontsel.[ch]: Context-aware copy of the GTK fontsel.
6931         * objects/custom/custom_object.c: Orientation handling for shapes,
6932         patch thanks to Martin Hans <opfinder@gmx.net>.
6934         * objects/standard/zigzagline.c (zigzagline_move_handle): Starting
6935         work on even better orientation handling.
6937         * app/menus.c (menus_get_item_from_path): Fixed sily warnings from
6938         casting NULL pointers.  Should be unnecessary in an upcoming GTK
6939         release. 
6941 2002-11-18  Lars Clausen  <lrclause@cs.uiuc.edu>
6943         * lib/font.h:
6944         * lib/font.c:
6945         * lib/widgets.c: Now uses correct context to get font families.
6947         * lib/diagdkrenderer.c (get_text_width, draw_string): 
6948         * lib/dialibartrenderer.c (draw_string): 
6949         * lib/font.h: 
6950         * lib/font.c (dia_font_init): Removed old kludgy font name compare.
6951         (dia_font_build_layout): Unified the twiddle factors into a use of
6952         global_size_one.  But I deeply distrust Pango for seeming to
6953         change size of fonts every time I turn my back.
6955         * app/display.c: 
6956         * app/diagram.c: 
6957         * app/menus.c:
6958         * app/menus.h: Updated some more methods to also be more specific
6959         on the types.
6961         * app/menus.h:
6962         * app/recent_files.c: 
6963         Changed to return most specific type, to avoid run-time type errors.
6965         * app/menus.c (menus_get_item_from_path): Non-gnome version now
6966         gets menu_item rather than widget, which works better.
6968 2002-11-17  Cyrille Chépélov  <cyrille@chepelov.org>
6970         * app/display.c: (new_display):
6971         * app/menus.c: (menus_get_item_from_path):
6972         Relying on the tearoff to locate the input methods menu wasn't a
6973         good idea: tearoffs seem to be an endangered species nowadays.
6974         Anyway, the IM menu seems to be working now.
6976         * app/interface.c: hinted the window manager that the toolbox window
6977         is a toolbox window. Not that my (fairly default configuration)
6978         sawfish cares, but other NETWM compliant WMs may.
6980         * app/commands.c: 
6981         * app/defaults.c: 
6982         * app/dia-props.c:
6983         * app/filedlg.c: 
6984         * app/interface.c: 
6985         * app/layer_dialog.c: 
6986         * app/linewidth_area.c: 
6987         * app/properties.c: 
6988         * app/sheets_dialog.c: 
6989         * app/splash.c: 
6991         The GTK doc says to avoir gtk_window_set_wmclass() and 
6992         gtk_window_set_policy(), and use gtk_window_set_role() and
6993         gtk_window_set_resizable(), respectively.
6994         
6995         * app/preferences.c: (prefs_create_dialog):
6996         * app/preferences.h:
6997         * app/display.c: (display_set_active):
6998         Added a preference to have the toolbox hover over diagram windows.
6999                 
7000 2002-11-12  Lars Clausen  <lrclause@cs.uiuc.edu>
7002         * lib/diagdkrenderer.c (get_text_width, draw_string):
7003         Freetype-based string drawing now works.  Not very fast, though.
7004         I wish I could use the graphics card for this:(  I'm doing three
7005         bitmap loops where I should be doing one.  The size is not correct
7006         either, despite having get_text_width give the right thing.
7008 2002-10-21  Lars Clausen  <lrclause@cs.uiuc.edu>
7010         * app/connectionpoint_ops.c (diagram_update_connections_object):
7011         Allows more than one connectionpoint on an object to be moved at a
7012         time (bug #96306).
7014 2002-10-18  Stanislav Brabec  <sbrabec@suse.cz>
7016         * configure.in: Added cs to ALL_LINGUAS.
7018 2002-10-17  Lars Clausen  <lrclause@cs.uiuc.edu>
7020         * app/paginate_psprint.c: Removed unnecessary decl of autosave
7021         stuff.
7023         * app/display.c (ddisplay_set_renderer): Calls to begin/end render.
7025         * app/export_png.c (export_png_ok): Saving more variables from the
7026         evil setjmp.
7028 2002-10-16  Lars Clausen  <lrclause@cs.uiuc.edu>
7030         * lib/dialibartrenderer.c (begin_render):
7031         (end_render): Correct pushing and popping of font contexts.
7032         (draw_string): Double zooming eliminated, strange twiddle factor
7033         introduced (grumble).  Close to working now, but there are still
7034         strange differences from font to font.  In particular, some fonts
7035         really mess with the cursor and extents.
7037         * app/render_eps.c (export_eps): 
7038         * app/diapsrenderer.c (dia_ps_renderer_finalize): 
7039         Fixed file closing confusion, no longer dependent on PS/EPS.
7041         * app/diagram.c (diagram_place_down_selected) 
7042         (diagram_place_up_selected): Now implemented.
7044         * lib/font.c (dia_font_init): 
7045         * lib/font.h: 
7046         Redesigned the font init/context pushing code.  Start of fix for
7047         font name differences.
7048         
7049 2002-10-15  Kjartan Maraas  <kmaraas@gnome.org>
7051         * app/sheets_dialog_callbacks.c: Fix a typo.
7052         
7053 2002-10-15  Hans Breuer  <hans@breuer.org>
7055         * app/diapsrenderer.[hc] : (new files, old content :-)
7056         simple base class for post script rendering. Does neither 
7057         use Pango/FT2 nor does it handle non latin1 characters. 
7058         The fancy stuff which nowadays appears to be needed should 
7059         probably be done in derived class(es)
7061         * app/makefile.msc app/Makefile.am : added new files
7063         * app/paginate_psrint.c : re-enabled and used as test
7064         for the simple ps renderer above.
7066         * app/render_eps.[hc] : ripped out common ps code and
7067         moved to DiaPsRenderer. The rest of the file is mostly
7068         disabled. And I don't understand enough of it to 
7069         change port it.
7071         * app/diaepsrenderer.h : short lived, removed.
7073 2002-10-15  Lars Clausen  <lrclause@cs.uiuc.edu>
7075         * lib/plug-ins.c (dia_register_plugin): Don't try to load libdia
7076         as a plugin (thanks to Torben Nielsen).
7078 2002-10-14  Lars Clausen  <lrclause@cs.uiuc.edu>
7080         * app/diaepsrenderer.h: 
7081         * app/render_eps.h: 
7082         * app/paginate_psprint.c: 
7083         #ifdef'd out enough ps stuff to allow compile.  Now we just need
7084         to convert it.
7085         
7086 2002-10-12  Hans Breuer  <hans@breuer.org>
7088         [last plug-in ported]
7090         * plug-ins/xfig/xfig-export.c : ported to new renderer api
7092         * plug-ins/xfig/xfig-import.c(fig_create_object) : need to
7093         scale color values to [0..1.0] to properly reconstruct
7094         user colors
7096         * plug-ins/xfig/xfig-common.c : some cleaning
7098 2002-10-12  Hans Breuer  <hans@breuer.org>
7100         [decrease inter-plug-in-dependencies]
7102         * objects/custom/shape_info.[hc] : move parse_style()
7103         to lib/dia_svg.[hc] as dia_svg_parse_style(); Namespace
7104         the related structs and constants.
7105         * objects/custom/custom_object.c : reflect namespace
7106         changes
7108         * lib/dia_svg.[hc] : new files
7109         * lib/makefile.msc lib/Makefile.am : add new files
7110         * lib/libdia.def : updated externals
7112         * plug-ins/svg/svg-import.c : use dia_svg_parse_style()
7114         * plug-ins/svg/svg.c : enable svg import for win32 (and
7115         probably for other non ELF builds)
7117         * plug-ins/makefile.msc : enable svg import
7119 2002-10-11  Hans Breuer  <hans@breuer.org>
7121         * plug-ins/metapost/render_metapost.[hc] : ported
7123         * plug-ins/pstricks/render_pstricks.[hc] : dito
7125 2002-10-11  Hans Breuer  <hans@breuer.org>
7127         * plug-ins/cgm/cgm.c : ported, appears to work as before,
7128         but graphic apps available to me can't import the generated 
7129         files (the could not with Dia-0.90 cgm as well) ...
7131         * plug-ins/dxf/dxf-export.c : Ported to new renderer api.
7132         Removed all those function which did emulate 'complex' 
7133         drawing ops with basic ones (e.g. rect by line) cause this
7134         stuff is already provided by the base class
7135         * plug-ins/dxf/dxf-import.c : removed render.h include
7137         * plug-ins/python/pydia-font.[hc]
7138           plug-ins/python/pydia-text.c : finally ported to new font api
7140         * plug-ins/python/pydia-layer.c : add extra parameter
7141         to layer_find_closest_connectionpoint()
7143         * plug-ins/python/pydia-render.c : ported to DiaRenderer api
7145         * plug-ins/python/python.c : added missing copyright notice
7147         * plug-ins/hpg/hpgl.c plug-ins/wpg/wpg.c plug-ins/wmf/wmf.cpp : 
7148         actually use the renderers set_font implementation
7150         * plug-ins/renderer.inc : unused now, removed
7151         * plug-ins/Makefile.am : reflect it
7153 2002-10-08  Hans Breuer  <hans@breuer.org>
7155         * app/render_gdk.c : don't add the InteractiveRenderer
7156         interface multiple times (it's added to the type, not
7157         the object)
7158         * app/render_libart.c : dito. It's currently added
7159         unconditional cause eport_png uses it, but claims
7160         to be non-interactive. Probably set_size should be moved
7161         to the DiaRenderer interface.
7163         * lib/dialibartrenderer.c : add implementations for
7164         get_<width|height>_pixels. Libart rendering works again.
7165         DiaLibartRenderer::draw_image : use dia_image_rowstride()
7166         instead of width*3
7168         * lib/diatransform.c(dia_transform_coords_double) :
7169         don't ROUND() the returned values
7171         * plug-ins/pixbuf/pixbuf.c : added import function. It
7172         simply creates a wrapping "Standard - Image" object.
7174         * plug-ins/shape/shape-export.c : use the more direct
7175         method to call base class methods
7177 2002-10-07  Lars Clausen  <lrclause@cs.uiuc.edu>
7179         * lib/font.c (dia_font_init): Changed dia_font_init to return old
7180         pango context, to allow stacked contexts (for printing while
7181         antialiased).
7182         
7183         * lib/arrows.h
7184         * lib/bezier_conn.h
7185         * lib/beziershape.h
7186         * lib/boundingbox.h
7187         * lib/color.h
7188         * lib/connection.h
7189         * lib/connectionpoint.h
7190         * lib/create.h
7191         * lib/dia_image.h
7192         * lib/diagdkrenderer.h
7193         * lib/diagramdata.h
7194         * lib/dialibartrenderer.h
7195         * lib/diamenu.h
7196         * lib/diarenderer.h
7197         * lib/diasvgrenderer.h
7198         * lib/diatransform.h
7199         * lib/element.h
7200         * lib/filter.h
7201         * lib/focus.h
7202         * lib/font.h
7203         * lib/geometry.h
7204         * lib/handle.h
7205         * lib/neworth_conn.h
7206         * lib/objchange.h
7207         * lib/object.h
7208         * lib/orth_conn.h
7209         * lib/paper.h
7210         * lib/plug-ins.h
7211         * lib/poly_conn.h
7212         * lib/polyshape.h
7213         * lib/properties.h
7214         * lib/ps-utf8.h
7215         * lib/sheet.h
7216         * lib/text.h
7217         * lib/textattr.h
7218         * lib/widgets.h
7219         * lib/diatypes.h
7220         Moved all externally visible struct typedefs into diatypes.h, as
7221         per Hans' suggestions.
7223 2002-10-07  Steffen Macke <sdteffen@web.de>
7225         * lib/Makefile.am: removed a '\' causing problems
7227 2002-10-07  Hans Breuer  <hans@breuer.org>
7229         [Libart Renderer resurrected; almost it's compiling but
7230          almost instantly crashing :-]
7232         * lib/dialibartrenderer.[hc] : new files, ported to DiaRenderer
7233         * app/render_libart.[hc] : ported to DiaInteractiveRenderer
7234         * lib/diatransform.[hc] : added dia_transform_coords_double()
7236         * app/display.c : the right parameters for new_renderer_libart()
7237         * app/export_png.c : ported, removed the blind Display hack
7239         * app/makefile.msc lib/makefile.msc 
7240           lib/Makefile.am : updated
7242         * lib/dia<|gdk|interactive>renderer.c : properly copyrighted
7244 2002-10-06  Hans Breuer  <hans@breuer.org>
7246         * plug-ins/pixbuf/pixbuf.c : (new file)
7247         there is a new export plug-in called 'Pixbuf' which uses 
7248         DiaGdkRenderer to export to gdk-pixbuf supported bitmap
7249         formats (currently only PNG and JPEG).
7251 2002-10-06  Hans Breuer  <hans@breuer.org>
7253         See also: 
7254         http://mail.gnome.org/archives/dia-list/2002-October/msg00027.html
7256         * lib/dia-enums.h lib/diatransform.[hc]
7257           lib/diarenderer.[hc] lib/diainteractiverenderer.c
7258           lib/diagdkrenderer.[hc] lib/diasvgrenderer.[hc]
7259         : new files 
7261         * lib/makefile.msc lib/makefile.am : added new files
7263         * lib/plug-ins.c : g_module_error() returns a locale
7264         string, convert to utf8 before further usage 
7266         * lib/render.h : #error out. Everything including this
7267         needs porting
7268         * lib/*.[hc] : ported to new renderer api
7270         * app/diaepsrenderer.h : unfinished DiaEpsRenderer interface
7271         just to make the rest compile
7272         * app/render_eps.c : temporary disabled all of this
7273         * app/render_eps.h : removed RendererEPS
7275         * app/render_gdk.[hc] : a small wrapper around the new
7276         DiaGdkRenderer form lib/*
7278         * app/render_libart.h : removed RenderLibart definition
7279         * app/render_libart.c : not yet ported to new DiaRenderer
7280         but having an implementation to untie form FT2 dependency
7281         at least on win32. It is using new Pango api form bug #94791
7283         * app/render_pixmap.[hc] : a small wrapper around the new
7284         DiaGdkRenderer form lib/*
7286         * app/display.h : removed render_*.h includes
7287         * app/display.c : the only place where specific 
7288         renderers need to be known
7290         * app/connectionpoint_ops.c app/grid.c app/handle_ops.c
7291         use new DiaInteractiveRenderer interface
7293         * app/*.c : ported to new renderer api
7294         * object/*/*.c : ported to new renderer api
7295         s/render.h/diarenderer.h/
7296         s/Renderer/DiaRenderer/
7297         s/renderer->ops/renderer_ops/
7298         add in every draw method:
7299         DiaRendererClass *renderer_ops = DIA_RENDERER_GET_CLASS (renderer);
7301         * plug-ins/hpgl/hpgl.c : 
7302           plug-ins/wmf/wmf.cpp 
7303           plug-ins/wpg/wpg.c : ported to be DiaRenderer based
7304         * plug-ins/shape/shape-export.c
7305           plug-ins/svg/render_svg.c : ported to be DiaSvgRenderer based
7306           (nice how small these files became :-)
7308 2002-09-28  Hans Breuer  <hans@breuer.org>
7310         * */makefile.msc : updated
7312         * app/defaults.c : don't gdk_invalidate_rect(NULL)
7313         * app/disp_callbacks.c : 
7314         can't cast GtkWindow to GdkWindow, use shell->window
7315         (ddisplay_unrealize) don't use already unrefed im_context
7316         * app/display.c :
7317         can't cast from GtkMenu to GtkMenuItem
7318         (ddisp_destroy) : mark im_context as unrefed
7320         * lib/dia_xml (data_font) : prefer new font format over old one
7321         (data_add_font) : write the legacy name to allow file exchange
7322         with pre Pango versions of Dia, which would otherwise crash 
7323         on missing font 'name' attribute.
7324         * lib/font.c (dia_font_get_legacy_name) : improved implementation
7325         to get a better match.
7327         * lib/libdia.def : updated
7329         * lib/messages.c : don't gdk_widget_show(NULL)
7331         * lib/prop_text.c : don't gtk_entry_set_text() with NULL string 
7333         [make Dia compile, link _and_ work with mingw/gcc3.2]
7335         * config.h.win32 : #define LIBXML, this gets defined from libxml
7336         header but only for _MSC_VER. The mingw build did access an 
7337         unitialized function pointer for xmlFree.
7339         * */makefile.mingw : updated (some plug-ins have build issues)
7340         
7341         * lib/handle.h lib/object.h :   there appears to be no 
7342         forward declaration of the form 
7343                 typedef enum _HandleId HandleId 
7344         (at least not with GCC 3.2 for C++) ../lib/handle.h:22: 
7345         use of enum `_HandleId' without previous declaration
7347         * app/paginate_gdiprint.cpp : added a hack to avoid g++
7348         naming conflict on 'export'
7350         * app/paginate_gdiprint.h : forward declare Diagram
7352         * objects/SADT/annotaion.c : use g_random_double()
7354 2002-09-26  Lars Clausen  <lrclause@cs.uiuc.edu>
7356         * app/modify_tool.c: Made motion not happen until sufficiently
7357         large or past double-click interval, to avoid accidental moving
7358         when doubleclicking.  Got the double-click time right, and fixed
7359         some issues with release.  There are some corner cases that may
7360         exhibit strange behaviour, will look at those later.  Nah, let's
7361         not care about those, they are rare and not dangerous.
7363 2002-09-26  Cyrille Chépélov  <cyrille@chepelov.org>
7365         * app/layer_dialog.c: 
7366         * app/load_save.c: 
7367         * plug-ins/dxf/dxf-import.c: 
7368         * plug-ins/python/pydia-diagram.c: 
7369         * lib/diagramdata.c:
7370         * lib/diagramdata.h:
7371         Improved the consistency of the obj->parent_layer backlinks (esp.
7372         during reloads)
7374         * lib/Makefile.am:
7375         * lib/dummy_dep.h:
7376         * lib/dynamic_obj.[ch] (NEW):
7377         * app/Makefile.am:
7378         * app/app_procs.c: 
7379         * app/dynamic_refresh.[ch] (NEW):
7380         * objects/Misc/analog_clock.c: 
7381         Added support for dynamic refresh (animated objects).
7382                 
7383 2002-09-25  Cyrille Chépélov  <cyrille@chepelov.org>
7385         Patch from Owen Taylor <otaylor@redhat.com>:    
7386         * doc/en/Makefile.am:
7387         * doc/en/dia-manual.sgml:
7388         * doc/en/usage-objects.sgml:
7389         * doc/en/usage-quickstart.sgml:
7390         * doc/pl/Makefile.am:
7391         * doc/pl/dia-manual.sgml:
7392         * doc/pl/usage-objects.sgml:
7393         * doc/pl/usage-quickstart.sgml:
7395         - Change the DTD declration from an outdated GNOME one to a
7396         standard DTD.
7397         
7398         - Remove close tags for <graphics> which aren't allowed for
7399         docbook SGML
7400         
7401         - A hacky fix for a problem where some versions of db2html don't
7402         create *.css files. (If *.css doesn't match anything, then you get
7403         the global explicitely.)
7405         (Closes: #92061)
7406         
7407 2002-09-24  Cyrille Chépélov  <cyrille@chepelov.org>
7409         * objects/custom/custom_object.c: 
7410         * objects/custom/shape_info.[ch]: GE_TEXT display lists elements 
7411         were never properly prepared for use when reloading a shape with
7412         <svg:text> elements. Thanks to Scott Frazer <frazer@nc.rr.com> for
7413         reporting the problem and coming up with a fix! (Closes: #93974)
7415         * app/menus.c: patch from Alan Horkan <horkana@tcd.ie>: review
7416         the menu shortcuts towards better GNOME HIG compliance (Closes: #87157)
7418         * app/menus.c:
7419         * app/display.c: updated menu item paths Alan's patch had moved.
7420         
7421         * app/interface.c: Fixed a crash when gdk-pixbuf doesn't want to
7422         load the sheet-provided icon (libpng versions mismatch, grrr.).
7423         
7424         * configure.in:
7425         * objects/Makefile.am:
7426         * objects/Misc/Makefile.am (NEW):
7427         * objects/Misc/libmisc.c (NEW):
7428         * objects/Misc/analog_clock.c (NEW):
7429         * objects/Misc/pixmaps/analog_clock.xpm (NEW):
7430         * sheets/Misc.sheet.in: just a little experiment...
7432 2002-09-23  Cyrille Chepelov  <cyrille@chepelov.org>
7434         * plug-ins/xlst/Makefile.am: found a way to silence automake while
7435         not forcing everyone to build using libxslt.
7437         * lib/font.c: 
7438         * lib/message.c:
7439         * lib/object_defaults.c:
7440         * lib/intl.[ch]:
7441         * lib/render.c:
7442         * lib/properties.[ch]:
7443         * lib/propobject.c:
7444         * objects/standard/box.c: 
7445         * objects/UML/state_term.c:
7446         * objects/FS/box.c:
7447         * objects/FS/flow-ortho.c:
7448         * app/app_procs.c:
7449         * app/autosave.c:       
7450         * app/commands.c:
7451         * app/diagram_tree.c:
7452         * app/display.c:
7453         * app/disp_callbacks.c:
7454         * app/export_png.c:
7455         * app/filedlg.c:
7456         * app/lineprops_area.c:
7457         * app/menus.c:  
7458         * app/preferences.c:
7459         * app/render_eps.c:     
7460         * app/sheets.c:
7461         * app/sheets_dialog_callbacks.c:
7462         * plug-ins/xslt/xslt.c:
7463         * plug-ins/metapost/render_metapost.c:
7464         * plug-ins/xfig/xfig-export.c:
7465         * plug-ins/shape/shape-export.c:
7466         
7467         Killed most gcc-3.2 warnings (const-correctness and derived warnings, 
7468         unused variables, mostly)
7470         * app/display.c:
7471         * app/menus.c: enabled GTK Input Methods (thanks Lars!)
7473         * app/Makefile.am: modified run_dia.sh so that we recover the
7474         ability to run a debugger despite libtool's hacks.
7476         * plug-ins/dxf/Makefile.am: 
7477         * app/Makefile.am
7478         "make distcheck" fixes.
7479         
7480 2002-09-19  Lars Clausen  <lrclause@cs.uiuc.edu>
7482         * objects/UML/uml.c (uml_get_operation_string): Patch from Mauf
7483         <mfranzoni@madd.it>:  Check for the type being NULL.
7485 2002-09-16  Lars Clausen  <lrclause@cs.uiuc.edu>
7487         * app/render_eps.c (set_font): Re-tweaked font size for printing.
7489 2002-09-12  Cyrille Chepelov  <cyrille@chepelov.org>
7491         Patch from Angus Ainslie <angusa@deltatee.com>:
7492         * plug-ins/dxf/dxf-import.c:
7493         * plug-ins/dxf/autocad_pal.h: Import from visio 2002 improvements.
7495         (plus a couple extra fixes by me, such as the removal of printf's,
7496         adapting for recent changes, and killed a couple warnings) 
7498         * app/authors.h: a 60K patch isn't insignificant, is it?
7499         
7500 2002-09-09  Tor Lillqvist  <tml@iki.fi>
7502         * configure.in: Check for both pangoft2 (using PKG_CHECK_MODULES,
7503         as before) and -lfreetype (using AC_CHECK_LIB). At least on
7504         Solaris with Sun's compiler (Forte C), you need to link also the
7505         dia application with -lfreetype, even if it is implicitly linked
7506         to by -lpangoft2. Rename FREETYPE_CFLAGS and _LIBS to PANGOFT2_*,
7507         which is what they actually mean. Use FREETYPE_LIBS for
7508         -lfreetype.
7510         Don't look for libsunmath if isinf() is not found in math.h (as on
7511         Solaris). The sunmath library is part of Forte C and not present
7512         on all machines. Besides, even if isinf was found in libsunmath,
7513         we didn't use it in the Makefile.am.
7514         
7515         Fix a couple of bashisms.
7517         AC_SUBST also Z_LIBS, need to link the dia application to -lz,
7518         too, on Solaris with Forte C.
7520         Don't try to use the gcc flags with other compilers.
7521         DIA_CHECK_CFLAG gives a false indication that Forte C understands
7522         the gcc -f switches, but in fact they get interpreted meaning
7523         something completely different.
7525         Define the automake conditional HAVE_CGC.
7526         
7527         * app/Makefile.am (dia_LDADD): Add Z_LIBS and FREETYPE_LIBS.
7529         Use -export-dynamic only with gcc.
7531         * */Makefile.am
7532         * */*/Makefile.am: Modify according to the FREETYPE_CFLAGS -> 
7533         PANGOFT2_CFLAGS rename.
7535         * lib/geometry.h: Drop HAVE_SUNMATH_H and <sunmath.h> per above.
7536         
7537         * lib/dia_xml.c: Include geometry.h for the isinf() stuff on
7538         Solaris.
7540         * lib/paper.c: Workaround for gccism: Can't use inline this way with
7541         Forte C, either.
7543 2002-09-08  Cyrille Chepelov  <cyrille@chepelov.org>
7545         * lib/text.c(set_string): fixed a memory leak (char* ain't no
7546         std::auto_ptr<char> !).
7548         * app/display.[ch]:
7549         * app/interface.[ch]:
7550         * app/ddisp_callbacks.[ch]: Added some basic support for input 
7551         methods (GtkIMContext-based)
7553         * lib/Makefile.am:
7554         * app/Makefile.am: made libdia a shared object (per Tor
7555         Lillqvist's suggestion/request), to cope for platforms with a less
7556         than par dynamic library loader.
7558         * app/display.c: disabled the input method menu (I really don't
7559         see where and how to put them. Blame Frozen Bubble )
7560         
7561 2002-09-06  Lars Clausen  <lrclause@cs.uiuc.edu>
7563         * objects/flowchart/box.c (box_update_data): Made resizing
7564         possible again (only set width & height when resized too small).
7566         Patch from Soeren Sandmann <sandmann@daimi.au.dk>:
7568         * app/disp_callbacks.c (ddisplay_canvas_events): Handle
7569         GdkScrollEvents.
7570         
7571 2002-09-05  Cyrille Chepelov  <cyrille@chepelov.org>
7573         * app/authors.h: now showing Akira TAGOH's name in the native script.
7575 2002-09-01  Lars Clausen  <lrclause@cs.uiuc.edu>
7577         * plug-ins/xslt/xslt.c: Removed glib warning for unset
7578         DIA_PLUGIN_PATH.
7580 2002-09-01  Cyrille Chepelov  <cyrille@chepelov.org>
7582         * plug-ins/svg/render_svg.c: Applied (reversed...) patch from
7583         Mike Sowka <msowka@rogers.com>. This fixes a problem with the
7584         sweep flag in arcs.
7586 2002-08-31  Lars Clausen  <lrclause@cs.uiuc.edu>
7588         * objects/UML/class.c: Fixed showing of empty stereotypes and got
7589         the string placed correctly.
7591 2002-08-30  Hans Breuer  <hans@breuer.org>
7593         * lib/font.c (dia_font_get_style) : don't shift already
7594         shifted DIA_FONT values.
7596         * lib/libdia.def : updated externals
7598         * app/disp_callbacks.c : on win32 GdkEventKey::string already
7599         is in UTF-8. (Longterm this probably should be handled on the
7600         gtk api level)
7602         * app/command.[hc] app/display.[hc] app/menus.c : add code to 
7603         switch display renderers again. The libart renderer is very 
7604         useful for win9x with it's limited GDI.
7606         * app/render_gdk.c : use g_warning instead of printf which gets
7607         nowhere on win32 (non console apps)
7609         * app/render_libart.c : make it compile without FREETYPE
7611         * objects/makefile.msc plug-ins/makefile.msc : added clean target
7613 2002-08-29  Lars Clausen  <lrclause@cs.uiuc.edu>
7615         * app/render_eps.c (postscript_draw_contour): Debugging statement
7616         that allowed me to figure out font problems.
7618         * lib/widgets.c (dia_font_selector_set_styles): Use radio menu
7619         items for font styles.
7621         * objects/FS/flow-poly.c: 
7622         * objects/FS/flow-ortho.c: 
7623         * objects/FS/flow.c: Further conversion away from GTK dialogs.
7624         Can't set a default label right now:(
7626         * app/interface.c (fill_sheet_wbox): Added initialization for mask.
7628 2002-08-27  Cyrille Chepelov  <cyrille@chepelov.org>
7629         Patch from Andrew Ferrier  <andrew@new-destiny.co.uk>:
7631         * Makefile.am: rules relating to AUTHORS and THANKS
7632         altered.
7633         * AUTHORS: file content changed to more accurately
7634         reflect guideline requirements.
7635         * TODO: warning added about Gnome BTS.
7636         * KNOWN_BUGS: warning added about Gnome BTS.
7638         ---
7640         * AUTHORS: added full copyright info.
7641         * mkauthors-placeholder: (removed) 
7642         
7643 2002-08-27  Lars Clausen  <lrclause@cs.uiuc.edu>
7645         * app/paginate_psprint.c (print_page): Fixed text printing after
7646         tip from Dov Grobgeld.
7648 2002-08-26  Lars Clausen  <lrclause@cs.uiuc.edu>
7650         * app/paginate_psprint.c (print_page): Fixed color of clip
7651         region.
7653 2002-08-26  Cyrille Chepelov  <cyrille@chepelov.org>
7655         * sheets/Makefile.am: enabled intltool-merge translation cache for
7656         sheets.
7658         * Makefile.am:
7659         * mkauthors-placeholder:
7660         * AUTHORS: revived that file (in a placeholder form) so that
7661         automake stops yelling.
7662         (derived from a patch by Andrew Ferrier <andrew@new-destiny.co.uk>) 
7663         (Closes: #91144)
7665         Heh, by the way, thanks Christophe. I feel better now.
7666         
7667 2002-08-25  Christophe Merlet  <christophe@merlet.net>
7669         * app/command.c: Removed invalid multibyte sequence in Chepelov.
7671 2002-08-24  Lars Clausen  <lrclause@cs.uiuc.edu>
7673         * lib/dia_image.c (dia_image_rgb_data): 
7674         Bugfixes in image data retrieval.
7675         
7676         * app/render_eps.c: Refactoring of new_*_renderer.
7678 2002-08-23  Lars Clausen  <lrclause@cs.uiuc.edu>
7680         * app/render_eps.c: 
7681         * lib/dia_image.h: 
7682         * lib/dia_image.c: Support for rowstride != width (odd width images)
7684 2002-08-20  Lars Clausen  <lrclause@cs.uiuc.edu>
7686         * lib/paper.c (get_paper_info): Fixed NULL prefs problem.
7687         * plug-ins/xfig/xfig-import.c: Removed assertion.
7689 2002-08-18  Lars Clausen  <lrclause@cs.uiuc.edu>
7691         * lib/paper.c: Removed app/preferences.h reference.
7693 2002-08-14  Lars Clausen  <lrclause@cs.uiuc.edu>
7695         * plug-ins/svg/svg-import.c: 
7696         * plug-ins/xfig/xfig-import.c: 
7697         * lib/Makefile.am (libdia_a_SOURCES): 
7698         * objects/standard/Makefile.am (libstandard_objects_la_SOURCES): 
7699         * lib/create.h:
7700         * objects/standard/create.h:
7701         * objects/standard/polygon.c (polygon_create): 
7702         * objects/standard/polyline.c (polyline_create): 
7703         * objects/standard/beziergon.c (beziergon_create): 
7704         * objects/standard/bezier.c (bezierline_create): 
7705         Moving create.h into lib.
7707 2002-08-13  Lars Clausen  <lrclause@cs.uiuc.edu>
7709         * app/render_libart.[ch]: Work on PNG font export.  Something's
7710         still fishy with the scaling, I don't get it.
7712         * app/display.c: 
7713         * app/interface.c: Replaced broken zoom combo with entry+menu.
7714         Now works beautifully.  Removed WITHOUT_ZOOM_COMBO stuff.
7716         * app/render_gdk.c (get_text_width): Checks for validity of text.
7717         Temporary help while debugging input -- should only activate on
7718         invalid input.
7720         * objects/SADT/annotation.c: 
7721         * objects/GRAFCET/transition.c: 
7722         * objects/FS/function.c: Removal of gtk.h include.
7724         * objects/UML/state.c (state_load): Warnings about using State
7725         object for initial/final states.
7727         * plug-ins/cgm/cgm.c (init_fonts): Proper Pango interfacing.
7729 2002-08-12  Lars Clausen  <lrclause@cs.uiuc.edu>
7731         * app/render_eps.c: Text rendering that scales correctly.  Too bad
7732         the standard fonts don't get selected right.
7734 2002-08-09  Lars Clausen  <lrclause@cs.uiuc.edu>
7736         * lib/diagramdata.h: 
7737         * lib/paper.c (get_paper_info): 
7738         * lib/paper.h: 
7739         * plug-ins/xfig/xfig-import.c: 
7740         Committed before testing.  I am so embarrased.  This compiles, now
7741         that the includes are in the right order.
7742         
7743         * app/diagram.c (diagram_init): 
7744         * app/app_procs.c (do_convert): 
7745         * app/preferences.h: 
7746         * lib/diagramdata.h: 
7747         * lib/diagramdata.c (new_diagram_data): 
7748         * lib/paper.h: 
7749         * lib/paper.c (get_paper_info): 
7750         Moved new_diagram part of prefs into lib/diagramdata.h.  More
7751         could be done in new_diagram_data() now.
7753 2002-08-08  Lars Clausen  <lrclause@cs.uiuc.edu>
7755         * app/render_eps.c: Better scaling of fonts at non-normal zoom.
7757 2002-08-07  Cyrille Chepelov <cyrille@chepelov.org>
7759         * configure.in: removed silly user-visible comment
7761         (actually, this is a dummy entry before I manually run nemo; for
7762         some dist-upgrade related reason, this morning's run aborted before
7763         the snapshots were created)
7764         
7765 2002-08-06  Lars Clausen  <lrclause@cs.uiuc.edu>
7767         * objects/network/wanlink.c: 
7768         * objects/network/bus.c: 
7769         stdprop compliance!
7771         * objects/custom/custom_object.c: 
7772         * objects/network/wanlink.c: 
7773         * objects/flowchart/parallelogram.c: 
7774         * objects/flowchart/ellipse.c: 
7775         * objects/flowchart/diamond.c: 
7776         * objects/flowchart/box.c: 
7777         Removed GTK defaults stuff.
7778         
7779         * objects/UML/fork.c: 
7780         * objects/UML/object.c: 
7781         * objects/UML/lifeline.c: 
7782         * objects/UML/branch.c: 
7783         * objects/GRAFCET/transition.c: 
7784         * objects/FS/function.c: Removed GTK include.
7786         * objects/FS/flow-ortho.c: 
7787         * objects/FS/flow.c: Made the label behave again.
7788         Also removed GTK defaults stuff.
7790 2002-08-06  Hans Breuer  <hans@breuer.org>
7792         * app/autosave.c : ported to GDir which is the improved
7793         cross platform replacement for <dirent.h>
7795         * app/makefile.msc : build autosave.obj
7797         * app/font.c : some (bad?) code calls 
7798         dia_font_scaled_decent() not only with empty string but 
7799         with NULL. Handle it gracefully.
7801         * lib/paper.c : don't depend on ../app. Although IMO
7802         this shouldn't be allowed on any platform it is only
7803         disabled for win32, where it simply doesn't work
7804         this way
7806         * lib/widget.c (strcase_equal) : pass char* to g_strcasecmp()
7808         * objects/fs/flow.c : conditionalize debug spew, disabled
7809         and 'ported' to use g_print. Simple printf won't work with
7810         standard win32 gui apps, may even crash them.
7812         * plug-ins/makefile.msc : DISABLED svg-import cause it
7813         depends on ../objects/custom. This not only break the
7814         build for all non ELF systems but IMO also isn't acceptable
7815         from a design point of view. See dia-list mail on subject.
7817         * plug-ins/python/makefile.msc :
7818           plug-ins/python/python.c : remove all references to dirent    
7820 2002-08-05  Cyrille Chepelov  <cyrille@chepelov.org>
7822         * configure.in: added ro to ALL_LINGUAS
7824         * po-checktrans:
7825         * po-checktrans.py:
7826         * ../translation-graphs/transgraph.py: added support for fuzzy
7827         translations. Enlarged the graphs.
7829 2002-08-05  Lars Clausen  <lrclause@cs.uiuc.edu>
7831         * app/disp_callbacks.c (ddisplay_canvas_events): Now translates
7832         key events according to locale.  No clue if this works for
7833         advanced stuff.
7835 2002-08-04  Lars Clausen  <lrclause@cs.uiuc.edu>
7837         * lib/text.c: Various UTF8 related fixes, in particular in
7838         deleting.  Text_insert_char is fine, far as I can tell.
7840         * app/interface.c (create_display_shell): 
7841         * app/commands.c: Now uses gtk_clipboard functions, for they are
7842         much simpler.  Also handles Win32 clipboard.  Non-ascii chars
7843         don't seem to get handled correctly by text_insert_char in
7844         lib/text.c.
7845         
7846         * app/commands.c (received_selection_handler): Got utf8 handling
7847         on paste, and individual char handling out of commands.c.  Pasting
7848         non-ASCII is still broken, somehow.  It's all lib/text.c's fault.
7850         * lib/message.c (gtk_message_internal): Message dialog re-shown
7851         when new message appears.  Maybe it should even move to top?
7853         * lib/font.c: 
7854         * lib/widgets.c: 
7855         * app/render_eps.c (create_eps_renderer): Fonts now lowercase
7856         (again) and case-insensitive.
7858         * objects/GRAFCET/condition.c (CONDITION_FONT): Changed to
7859         BASIC_SANS_FONT. 
7861 2002-08-02  Lars Clausen  <lrclause@cs.uiuc.edu>
7863         * app/commands.c (edit_cut_text_callback): 
7864         * lib/text.c (text_delete_all): Now functioning undo for text cut.
7865         
7866         * app/commands.c (edit_cut_text_callback): Now removes text.
7867         Undo is broken, though.
7869 2002-08-01  Lars Clausen  <lrclause@cs.uiuc.edu>
7871         * app/diagram.c (diagram_update_menu_sensitivity): 
7872         Making cut_text active.
7873         
7874         * app/commands.h: 
7875         * app/commands.c: Using PROP_TYPE_TEXT to find text to copy to
7876         clipboard.  Also removed AA callback.   
7878 2002-08-01  Lars Clausen  <lrclause@cs.uiuc.edu>
7880         * objects/chronogram/chronoref.c: 
7881         * objects/chronogram/chronoline.c: 
7882         * objects/SADT/annotation.c: 
7883         * objects/SADT/arrow.c: 
7884         * objects/SADT/box.c: 
7885         * objects/GRAFCET/vergent.c: 
7886         * objects/GRAFCET/vector.c: 
7887         * objects/GRAFCET/step.c: 
7888         * objects/GRAFCET/condition.c: 
7889         * objects/GRAFCET/action.c: 
7890         * objects/ER/participation.c: 
7891         * objects/ER/relationship.c: 
7892         * objects/ER/entity.c: 
7893         * objects/ER/attribute.c: 
7894         Removing unnecessary GTK references.
7896 2002-07-31  Lars Clausen  <lrclause@cs.uiuc.edu>
7898         * objects/standard/image.c: 
7899         * objects/standard/textobj.c: 
7900         * objects/standard/ellipse.c: 
7901         * objects/standard/polygon.c: 
7902         * objects/standard/beziergon.c:
7903         * objects/standard/box.c: 
7904         Making default default properties.
7905         
7906         * objects/standard/image.c: 
7907         * objects/standard/arc.c: 
7908         * objects/standard/box.c: 
7909         * objects/standard/zigzagline.c: 
7910         * objects/standard/polyline.c: 
7911         * objects/standard/line.c: 
7912         * objects/standard/ellipse.c: 
7913         * objects/standard/polygon.c: 
7914         * objects/standard/beziergon.c: Removing vestigal GTK stuff.
7916         * lib/object_defaults.c (dia_object_default_create): 
7917         * lib/proplist.c: 
7918         * lib/properties.h: 
7919         * lib/object.c (object_copy_using_properties): 
7920         * lib/propdialogs.c: 
7921         * lib/propinternals.h: 
7922         * lib/propobject.c (object_create_props_dialog)
7923         (object_copy_props): 
7924         Removing the standard (toolbox) properties from defaults dialogs.
7926 2002-07-30  Lars Clausen  <lrclause@cs.uiuc.edu>
7928         * lib/font.c (dia_font_scaled_string_width) 
7929         (dia_font_scaled_ascent, dia_font_scaled_descent): Account for
7930         zoom factor.
7931         * lib/text.c (text_calc_boundingbox): Take descent into account.
7933         * objects/standard/bezier.c (bezierline_draw): 
7934         * lib/render.c (draw_bezier_with_arrows): 
7935         Better arrow drawing for beziers.  Doesn't change the mouse-click
7936         area either.
7938         * lib/arrows.h: Some const-ness.
7940         * lib/arrows.c (calculate_arrow_point): Initialize zero-length moves.
7942         * lib/render.c (draw_arc_with_arrows): 
7943         * objects/standard/arc.c (arc_draw): Better arrow drawing for
7944         arcs.  Doesn't change the mouse-click area yet.
7946         * app/menus.c: Forgotten fix:  Redraw menu item for non-Gnome.
7948         * lib/render.h: 
7949         * lib/render.c: 
7950         Arc arrow prework.
7952 2002-07-29  Lars Clausen  <lrclause@cs.uiuc.edu>
7954         * app/group.c (group_draw): Forgotten commit: Groups to draw as
7955         objects (using default routines).
7957         * app/object_ops.h: 
7958         * app/diagram.h: 
7959         * lib/diagramdata.h: 
7960         * lib/diagramdata.c (layer_find_closest_connectionpoint): 
7961         * objects/standard/zigzagline.c (zigzagline_move_handle): 
7962         * app/diagram.c (diagram_find_closest_connectionpoint): 
7963         * plug-ins/python/pydia-diagram.c
7964         (PyDiaDiagram_FindClosestConnectionPoint):
7965         * app/object_ops.c (object_connect_display) 
7966         (object_find_connectpoint_display) 
7967         * app/create_object.c (create_object_button_press) 
7968         (create_object_motion): 
7969         * app/modify_tool.c (modify_motion): 
7970         Adding object param to allow connectionpoint and handle coinciding.
7972         * objects/standard/zigzagline.c (zigzagline_check_orientation): 
7973         Fixing minor problems.
7975         * objects/standard/ellipse.c (ellipse_update_data): 
7976         Added direction hints.
7978         * lib/diagramdata.c: 
7979         * lib/object.c: 
7980         * lib/object.h: 
7981         * lib/diagramdata.h: 
7982         * objects/standard/zigzagline.c: 
7983         First working example of zigzagline hints, currently only between
7984         Box and Zigzagline.
7986 2002-07-27  Steffen Macke <sdteffen@web.de>
7988         * plug-ins/svg/render_svg.c: added support for rounded
7989         rectangles (fixes #69053 if compile with
7990         -DNEW_RENDER_OPS)
7991         * object/custom/shape_info.[c|h]: made parse_style and
7992         parse_path accessible for svg plug-in
7993         * plug-ins/svg/Makefile.am:
7994         * plug-ins/svg/svg.c:
7995         * plug-ins/svg/svg-import.c(new): added SVG import filter
7997 2002-07-27  Lars Clausen  <lrclause@cs.uiuc.edu>
7999         * objects/standard/box.c: 
8000         * objects/standard/zigzagline.c (zigzagline_move): 
8001         More work on zigzagline hints.
8003 2002-07-26  Lars Clausen  <lrclause@cs.uiuc.edu>
8004         * lib/connectionpoint.h: 
8005         Hints for zigzaglines.
8007         * app/properties.c (properties_show): 
8008         * app/defaults.c (defaults_show): 
8009         * lib/properties.h: 
8010         * lib/propobject.c (object_create_props_dialog): 
8011         * lib/object.h: 
8012         * objects/FS/flow-poly.c: 
8013         * objects/network/wanlink.c: 
8014         * objects/network/bus.c: 
8015         * objects/UML/class.h: 
8016         * objects/UML/class_dialog.c: 
8017         * objects/UML/association.c: 
8018         Start of removing toolbox props from props dialogs.
8019         
8020         * lib/widgets.c: 
8021         * lib/arrows.h: 
8022         * app/lineprops_area.c (dia_arrow_chooser_new): 
8023         * lib/arrows.c: Two new arrows: Concave, filled and blanked.
8025         * app/create_object.c: 
8026         * app/modify_tool.c: 
8027         * app/cursor.h: 
8028         * app/cursor.c: 
8029         More cursor change.
8031 2002-07-25  Lars Clausen  <lrclause@cs.uiuc.edu>
8033         * app/preferences.c: 
8034         * lib/paper.c: 
8035         * app/diapagelayout.c: 
8036         New prefs selector kind PREF_CHOICE chooses between a list of
8037         strings.  Used for picking default paper.
8038         
8039         * app/preferences.c (prefs_data): 
8040         * lib/paper.c (get_paper_info): Added prefs setting for
8041         is_portrait.
8043         * lib/render.c (draw_polyline_with_arrows): Handles degenerate
8044         line segments at the ends (bug #86603).
8046 2002-07-25  Lars Clausen  <lrclause@cs.uiuc.edu>
8048         * objects/standard/zigzagline.c (zigzagline_copy): Fix for bug
8049         #60324: Now calls update_data after copy.
8051         * app/interface.c (fill_sheet_wbox): Better fix for bug #88601:
8052         Now doesn't steal selection from non-object tools.
8054 2002-07-24  Lars Clausen  <lrclause@cs.uiuc.edu>
8056         * app/commands.c (help_manual_callback): Uses BROWSER environment
8057         variable when available.
8059 2002-07-23  Lars Clausen  <lrclause@cs.uiuc.edu>
8061         * app/interface.c (fill_sheet_wbox): Fix for bug #88601: Select an
8062         object from the new sheet when changing.
8064         * app/app_procs.c (app_init): Uses more standard size icon, from
8065         patch #56433.  Keeping old icon as dia_gnome_icon_large.png.
8067 2002-07-22  Lars Clausen  <lrclause@cs.uiuc.edu>
8069         * objects/UML/implements.c (implements_update_data): 
8070         * objects/UML/realizes.c (realizes_update_data): 
8071         * objects/UML/dependency.c (dependency_update_data): 
8072         Test for null strings before calling on ascent.
8074         * objects/UML/realizes.c (realizes_draw): 
8075         * objects/UML/message.c (message_draw): 
8076         * objects/UML/generalization.c (generalization_draw): 
8077         * objects/UML/dependency.c (dependency_draw) 
8078         * objects/UML/constraint.c (constraint_draw): 
8079         * objects/GRAFCET/condition.c (condition_draw): 
8080         * objects/UML/association.c (association_draw): 
8081         * objects/FS/flow-ortho.c (orthflow_draw): 
8082         * objects/FS/flow.c (flow_draw): Change to use
8083         draw_foo_with_arrows.  Pretty pretty arrows.  Yay me!
8085         * lib/render.h: 
8086         * lib/arrows.c (calculate_arrow_point): 
8087         * lib/arrows.h: 
8088         * lib/render.c: 
8089         * objects/standard/zigzagline.c:
8090         * objects/standard/polyline.c:
8091         * objects/standard/line.c: Work towards better arrow drawing.
8093 2002-07-21  Lars Clausen  <lrclause@cs.uiuc.edu>
8095         * objects/UML/state.c: Starting phase-out of State object as
8096         initial/final state (which never worked right).
8098         * app/app_procs.c (app_init): --version command line option for
8099         non-Gnome.
8101         * configure.in: Slight improvement in GETTEXT_PACKAGE handling.
8103 2002-07-19  Lars Clausen  <lrclause@cs.uiuc.edu>
8105         * app/render_eps.c: Removed debugging info.
8107         * lib/font.c (dia_font_scaled_ascent, dia_font_scaled_descent):
8108         Kludge to make ascent and descent work for empty strings.  Won't
8109         work when using non-ASCII fonts.  Better would be to get a
8110         PangoFont and ask directly.
8112         * configure.in: Simple define of GETTEXT_PACKAGE, and some updates
8113         of the init stuff.
8115         * app/render_gdk.c (get_text_width): Fixed use of wrong string.
8116         Cursor now better.
8118 2002-07-18  Lars Clausen  <lrclause@cs.uiuc.edu>
8120         * plug-ins/xfig/xfig-export.c: First use of draw_object render
8121         function: All shapes are now groups in XFig export.
8123         * lib/diagramdata.c (normal_render): 
8124         * lib/render.c: 
8125         * lib/render.h: 
8126         * app/display.c (ddisplay_obj_render): 
8127         New render function for drawing objects, allows renderers to group
8128         or otherwise specially handle objects.  We may want to reconsider
8129         calling it in app/display.c, as we 'know' the object draw function
8130         is the default one there.
8132         * lib/Makefile.am: Removed extra \ that broke stuff.
8134         * plug-ins/xfig/xfig-import.c: 
8135         Spline import for xfig.  Not perfect.
8137         * objects/standard/create.h: 
8138         * objects/standard/bezier.c (bezierline_create): 
8139         * lib/bezier_conn.c: 
8140         * lib/beziershape.c (beziershape_set_points): 
8141         * lib/bezier_conn.h: 
8142         * lib/beziershape.h: 
8143         Support for creating beziers non-interactively.
8145 2002-07-17  Lars Clausen  <lrclause@cs.uiuc.edu>
8147         * plug-ins/xfig/xfig-import.c: Support for polygons and
8148         polylines.  Special warning handling system removed.
8150         * lib/message.c (gtk_message_internal): Fixed bug involving
8151         closing message window and then getting repeated message.
8153         * Makefile.am: 
8154         * autogen.sh: 
8155         * configure.in (GETTEXT_PACKAGE): 
8156         Update based on bug #88199.  Hopefully this doesn't break too much
8157         intl stuff.
8159         * dia.desktop.in (_Comment): Changed after suggestion from
8160         calum.benson@ireland.sun.com (bug 88345)
8162         * app/sheets_dialog_callbacks.c: Fix from Dolores Alia de Saravia
8163         <loli@unsa.edu.ar> that makes user/system distinction better.
8165 2002-07-16  Lars Clausen  <lrclause@cs.uiuc.edu>
8167         * app/render_libart.c: Got the context right, removed crashes.
8169         * app/commands.c: 
8170         * app/commands.h: 
8171         Redraw menu item.
8173         * app/display.c: 
8174         * app/display.h: 
8175         * app/interface.c: 
8176         * app/menus.c: 
8177         Remove libart #defines from most places (still around for png export).
8179         * app/render_libart.h: 
8180         * app/render_libart.c: 
8181         * configure.in (HAVE_LIBART): 
8182         Starting on update of libart stuff for png export (without X).
8184         * app/autosave.h (autosave_check_autosave): 
8185         * app/load_save.h: 
8186         * app/diagram.h: 
8187         * app/Makefile.am (dia_core_files): 
8188         * app/load_save.c: 
8189         * app/diagram.c (diagram_set_modified): 
8190         * app/autosave.c: 
8191         * app/app_procs.c (app_init): 
8192         Autosave support.  No automatic restore yet.
8194 2002-07-16  Lars Clausen  <lrclause@cs.uiuc.edu>
8196         * app/render_eps.c (create_eps_renderer): #ifdef'd a scale
8197         assignment. 
8198         
8199 2002-07-15  Lars Clausen  <lrclause@cs.uiuc.edu>
8201         * app/interface.c (fill_sheet_menu): Tear-off for sheets menu.
8203 2002-07-15  Andrew Ferrier  <andrew@new-destiny.co.uk>
8205         * Fix for 'make dist' etc. --- problem caused by
8206         previous AUTHORS patch.
8208 2002-07-14  Lars Clausen  <lrclause@cs.uiuc.edu>
8210         * plug-ins/cgm/cgm.c (init_fonts): Changed pango_font_map to
8211         pango_context. 
8212         (set_font): NULL check.
8213         
8214 2002-07-12  Lars Clausen  <lrclause@cs.uiuc.edu>
8216         * app/disp_callbacks.c: 
8217         * lib/diamenu.h: 
8218         Addition to the object menus allows check menu items.
8220 2002-07-11  Andrew Ferrier  <andrew@new-destiny.co.uk>
8222         * HACKING: completely changed to bring up-to-date.
8223         * AUTHORS: file needs REMOVING from CVS as now
8224           dynamically generated.
8225         * app/authors.h: split into subcategories for original
8226           authors, maintainers, etc.
8227         * app/app_procs.c: --credits rewritten to support new
8228           app/authors.h
8229         * app/commands.c: no changes to about box code, comment
8230           added though.
8231         * Makefile.am: added rule for AUTHORS. I'm still
8232           inexperienced with automake, it seems to work, but
8233           for AUTHORS-related bugs, look at this change first.
8235 2002-07-10  Lars Clausen  <lrclause@cs.uiuc.edu>
8237         * plug-ins/Makefile.am (SUBDIRS): Just realized why my hack didn't
8238         work.  Back to including xslt dir always.
8240         * objects/UML/uml.c: 
8241         * objects/UML/class.h: 
8242         * objects/UML/class_dialog.c: 
8243         * objects/UML/class.c: Patch from
8244         <mattam@netcourrier.com>:  Adds comment visibility switch, also
8245         fixes various bugs.
8247         Big patch from Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
8248         for state/fork/activity stuff.
8249         * objects/UML/state.c: Removed old draw_rounded_rectangle code.
8250         * objects/UML/Makefile.am:
8251         * objects/UML/uml.c:
8252         * sheets/UML.sheet.in: Added new objects activity, fork,
8253           state_term.
8254         * objects/UML/pixmaps/state_term.xpm:
8255         * objects/UML/state_term.c: New, only initial/final states.
8256         * objects/UML/pixmaps/activity.xpm:
8257         * objects/UML/activity.c: New, activity state.
8258         * objects/UML/pixmaps/fork.xpm:
8259         * objects/UML/fork.c: New, fork/join bar.
8260         * objects/UML/pixmaps/state.xpm: state icon.
8262         
8263         * doc/diagram.dtd: 
8264         * doc/shape.dtd: Patch from "Dolores Alia de Saravia"
8265         <loli@unsa.edu.ar> to add dia: to diagram.dtd elements and add
8266         svg:text to shape.
8268 2002-07-07  Lars Clausen  <lrclause@cs.uiuc.edu>
8270         * plug-ins/Makefile.am (SUBDIRS): Made the XSLT dir depend on
8271         detecting XSLT
8273         * app/Makefile.am: Commented out the diaconv parts while it's not
8274         used anyway.  To come back later.
8276         * configure.in (HAVE_FREETYPE): 
8277         * app/app_procs.c: 
8278         * app/render_eps.h: 
8279         * app/render_eps.c: Support for printing with freetype, better
8280         encapsulated now.  Renders the text nicely, but ignores font
8281         setting.  Requires pangoft2 to get the font outline, but non-text
8282         objects can still be rendered without it.
8284         * app/commands.h: 
8285         * app/commands.c (objects_place_up_callback) 
8286         (objects_place_down_callback): 
8287         * app/diagram.h: 
8288         * app/diagram.c (diagram_place_down_selected) 
8289         (diagram_place_up_selected): Starting support for moving objects
8290         one level up/down.
8292         * app/menus.c: Removed character/numeral shortcuts.
8294 2002-07-06  Hans Breuer  <hans@breuer.org>
8296         * makefile.am app/makefile.am lib/makefile.am
8297           objects/makefile.am plug-ins/makefile.am 
8298           plug-ins/python/makefile.am :
8299         added required files for win32 build to EXTRA_DIST
8301         * app/paginate_psprint.c app/render_eps.c 
8302           app/app_procs.c :
8303         wrap (E)PS Renderer into HAVE_FREETYPE, no FreeType
8304         on Pango as currently is on win32 => no PostScript 
8305         anymore.
8307         * lib/widgets.c : undef GTK_DISABLE_DEPRECATED;
8308         use '/* noop */;' for empty case labels; replace
8309         debug spew printf with g_print which is guaranteed 
8310         to work on win32, too.
8312         * lib/font.c (dia_pfd_set_weight) : set 'intermediate' values 
8313         for DIA_FONT_MEDIUM and DIA_FONT_DEMIBOLD as explicit allowed 
8314         in the pango_font_description_set_weight() api documentation
8315         Take care for them in dia_font_get_style() too.
8317         * lib/font.[hc] lib/widget.c objects/custom/shape_info.c
8318           plug-ins/shape/shape-export.c plug-ins/svg/render_svg.c :
8319         rename Obliquity to Slant which appears to be the usual name,
8320         also rename dia_font_get_style_string -> dia_font_get_slant_string
8322         * plug-ins/wmf/wmf.cpp : finally ported to new font api
8324         * lib/prop_attr.c app/render_gdk.c : dont *_unref if NULL
8326         * objects/uml/association.c class.c large_package.c message.c
8327         if g_free() is used g_strdup needs to be used.
8328         * objects/custom/shape_info.c
8329           objects/ER/attribute.c entity.c
8330           objects/standard/image.c 
8331           app/sheets_dialog_callbacks.c : more strdup cleaning
8333 2002-07-05  Lars Clausen  <lrclause@cs.uiuc.edu>
8335         * app/render_eps.c: Non-crashing printing (made the right
8336         context).  Font output still fscked up.
8338 2002-07-05  Andrew Ferrier  <andrew@new-destiny.co.uk>
8340         * app/authors.h: Added file --- now master
8341         location for contributors data.
8342         * app/app_procs.c: Added --credits option.
8343         * app/commands.c: Modified about box to use
8344         app/authors.h.
8346 2002-07-05  Lars Clausen  <lrclause@cs.uiuc.edu>
8348         * app/render_eps.c: First stab at EPS rendering using the contour
8349         code from PAPS.  Crashes.
8351 2002-06-30  Lars Clausen  <lrclause@cs.uiuc.edu>
8353         * app/recent_files.c (recent_file_history_remove): 
8354         Fixed call to g_list_delete_link discarding return value.
8355         
8356         * lib/widgets.c (dia_font_selector_set_styles): 
8357         * lib/font.h (DiaFontWeight): 
8358         * lib/font.c (dia_font_get_style): Revert to DIA_FONT_NORMAL==0
8360 2002-06-30  Cyrille Chepelov  <cyrille@chepelov.org>
8362         Contribution from Alan Horkan <horkana@tcd.ie>: 
8363         
8364         * shapes/Assorted/*
8365         * sheets/Assorted.sheet:
8366         A set of 40 assorted geometric shapes.
8368         * sheets/Assorted.sheet.in:
8369         * sheets/Makefile.am
8370         * shapes/Assorted/Makefile.am:
8371         * shapes/Makefile.am:
8372         * po/POTFILES.in:
8373         * configure.in:
8374         Done the integration job of Alan's shapes. (Translators: have fun!)
8376         * po/dia.pot: refreshed the main potfile.
8377         
8378 2002-06-28  Cyrille Chepelov  <cyrille@chepelov.org>
8380         Patch from Tim Ellis <Tim.Ellis@gamet.com>:
8381         
8382         * objects/UML/class.[ch]:
8383         * objects/UML/class_dialog.c:
8384         changed the number of connection points from a hardcoded value of
8385         8 to a #defined constant
8387         (I changed the constant back from 20 to 8, until we better know
8388         how we'll handle more connection points on the UML class in the
8389         future -- but Tim's patch is a welcome clean-up).
8391 2002-06-26  Cyrille Chepelov  <cyrille@chepelov.org>
8393         * shapes/MSE/demultiplexer.xpm:
8394         * shapes/MSE/node_center.xpm:
8395         * shapes/MSE/multiplexer.xpm:
8396         * shapes/MSE/tacsat.xpm: updated MSE icons (transparency) by Alan
8397         Horkan <horkana@tcd.ie>
8399 2002-06-25  Lars Clausen  <lrclause@cs.uiuc.edu>
8401         * lib/widgets.c: Total rehash of font selector, with font dialog
8402         option, expanding list (not LRU yet), and stuff.
8404 2002-06-25  Cyrille Chépélov  <cyrille@chepelov.org>
8406         * lib/font.h:
8407         * lib/font.c: 
8408         Added a set of new setter/getters, some of them more specially for
8409         the SVG-ish I/O.
8410         
8411         * plug-ins/shape/shape-export.c: (new_shape_renderer),
8412         (destroy_shape_renderer), (set_font), (draw_string):
8413         * plug-ins/svg/render_svg.c: (new_svg_renderer),
8414         (destroy_svg_renderer), (set_font), (draw_string):
8416         Actually exported the font face, style, weight and size (sodipodi
8417         agrees with dia on how a small sample should look like (a sample
8418         0.90 would not even display anyways). Yay !)
8420         Patch from Matthieu Sozeau <mattam@netcourrier.com>:
8422         * plug-ins/xslt/Makefile.am: repaired the mess Cyrille put there.
8424         (end of ChangeLog-less patch)
8426         * objects/custom/shape_info.c (parse_style): now understands the
8427         font-style and font-weight attributes as well. Does not use
8428         anymore dia_font_new_from_legacy_name().
8429         
8430 2002-06-24  Lars Clausen  <lrclause@cs.uiuc.edu>
8432         * objects/standard/textobj.c: Now uses stdprops for defaults.
8434         * lib/font.h: Changed order of DiaFontWeight entries.  Sorry.
8435         * lib/font.c (dia_font_get_style): Style now linear and conversion
8436         simple. 
8438         * lib/widgets.c (dia_font_selector_set_styles): Fixed the style
8439         selector. 
8441 2002-06-24  Cyrille Chepelov  <cyrille@chepelov.org>
8443         * plug-ins/dxf/dxf-import.c:
8444         using dia_font_new_from_style()
8446         Patch from Matthieu Sozeau  <mattam@netcourrier.com>:
8448         * objects/UML/class.[ch]: Added a comment field to class
8449         * objects/UML/uml.[ch]: Added a comment field to attributes,
8450         operations and parameters.
8451         * objects/UML/class_dialog.c: Added code for the new comment
8452         fields.
8453         * plug-ins/xslt/*.xsl: Added some code to handle comments.
8454         * plug-ins/xslt/xslt*.c: Clean up based on Cyrille comments.
8455         Added a $directory parameter for stylesheets so the output is 
8456         in the good place (not in the $PWD).
8458         (end of Patch)
8460         * AUTHORS: added contributors, updated maintainers. Removed the
8461         specific areas of action.
8463         * Patch from Andrew Ferrier <andrew@new-destiny.co.uk>, derived
8464         from a patch by Xing Wang <quixon@gnuchina.org>:
8466         * app/commands.c: help_about_callback now supports
8467         new-style GNOME about box as well as old GTK style. 
8468         code also tidied (Closes: #85726)
8470         (end of Patch)
8472         * app/commands.c: fixed the copyright (it's not all FSF), and
8473         maintainers. Synced contributors list with AUTHORS.
8474                 
8475 2002-06-24  Lars Clausen  <lrclause@cs.uiuc.edu>
8477         * lib/message.c: More work on repeating messages, now with
8478         togglable view.
8480 2002-06-24  Hans Breuer  <hans@breuer.org>
8482         * lib/widget.c : some more bits in place, at least
8483         it does something useful instead of crashing. Much
8484         better - but not all ok :-)
8486 2002-06-23  Lars Clausen  <lrclause@cs.uiuc.edu>
8488         * lib/message.c (gtk_message_internal): First stab at repeating
8489         message dialog.
8491 2002-06-23  Cyrille Chepelov  <cyrille@chepelov.org>
8493         * objects/FS/*.c:
8494         * objects/GRAFCET/*.c:
8495         * objects/SADT/*.c:
8496         * objects/UML/association.c: (one instance forgotten)
8497         * objects/UML/large_package.c: 
8498         * objects/standard/textobj.c:
8499         * lib/attributes.c:
8500         * lib/text.c:
8501         using dia_font_new_from_style()
8503 2002-06-23  Hans Breuer  <hans@breuer.org>
8505         * lib/font.c : giving some love to
8506         dia_font_new_from_legacy_name() that is making
8507         import of old files as painless as possible and
8508         provide an almost exact match where possible.
8509         It does not yet fully work because it interfers
8510         with the Style to DiaStyle conversion which comes
8511         next ...
8513         [Changing these files is only allowed with Dia-0.90]
8514         * broken-files/fonts-0.90.dia : including the
8515         common hard-coded fonts from Dia-0.90. It also
8516         has drawn bounding-boxes for win32 as they were calculated
8517         from the former version (they were all too big).
8518         * broken-files/fonts-0.90-full.dia : all hardcoded
8519         fonts including the asian versions. On my machine
8520         this gives _a lot_ complaining about missing fonts
8521         and a finally a broken file display. Anyone having
8522         all these fonts ?
8523         
8524 2002-06-23  Cyrille Chepelov  <cyrille@chepelov.org>
8526         * objects/chronogram/*.c: 
8527         * objects/custom/custom_object.c:
8528         * objects/ER/*.c:
8529         using dia_font_new_from_style()
8531 2002-06-23  Lars Clausen  <lrclause@cs.uiuc.edu>
8533         * lib/widgets.c (dia_font_selector_set_styles): Improvements to
8534         font selector (stability, insensitivity).
8536         * lib/font.c (dia_font_scaled_build_layout): Removed unworkable
8537         stretching scheme for tweaking, and made scaling scheme faster
8538         (but less precise).
8539         (dia_font_dia_style_to_pango): Oops, % != /.
8541 2002-06-23  Cyrille Chepelov  <cyrille@chepelov.org>
8543         
8544         * patch from Matthieu Sozeau  <mattam@netcourrier.com>:
8546         * plug-ins/xslt : Added an XSLT plugin to export dia files using
8547         XML Stylesheets. The plug-in requires DIA_PLUGIN_PATH to be set.
8548         It includes a small config file to tell it what stylesheets to use.
8550         (end of patch)
8551         
8552         * plug-ins/xslt/xsltdialog.c: modified the dialog to be more 
8553         GTK2.0/HIG compliant (the labels could be slightly more verbose,
8554         perhaps). Added back a couple forgotten _(). Removed //-style
8555         comments.
8556         
8557 2002-06-23  Hans Breuer  <hans@breuer.org>
8559         * lib/plug-ins.c
8560         (dia_plugin_get_name) : don't crash plugin_manager
8561         on name being NULL 
8562         (dia_plugin_load) : reuse the description field to
8563         store the error string if loading fails.
8565         * lib/font.[hc] : starting to beautify the new
8566         font api: proper namespacing, adding convenience
8567         functions like dia_font_new_from_style(), ...
8569         * objects/uml/*.c : use the new convenience functions.
8571         [Next thing I plan to do is changing the other font
8572          functions to take DiaStyle and make Style and 
8573          BASIC_*_FONT vanish. As well as giving some love to
8574          dia_font_new_from_legacy_name().
8575          If anyone want's to help on converting the other
8576          objects to the new api during that, I would highly 
8577          appreciate it.]
8579 2002-06-23  Hans Breuer  <hans@breuer.org>
8581         * lib/font.c : made it compile and small indent fixes.
8582         Is there a code-has-no-effect-so-needs-not-be-valid
8583         with GCC?       
8585         * lib/widgets.c : use g_strcasecmp
8587 2002-06-22  Lars Clausen  <lrclause@cs.uiuc.edu>
8589         * lib/font.c: 
8590         * lib/font.h: 
8591         * lib/widgets.c: Font names sorted, style selector widget
8592         reappeared.  Doesn't select the old style yet.
8594 2002-06-22  Cyrille Chepelov  <cyrille@chepelov.org>
8596         * lib/font.c: one who expects a text's font to be changed shall 
8597         actually request the attributes to apply to the whole range of the
8598         said text... D'oh! 
8600         * lib/font.c: extents computation was wrong.
8602         * lib/font.c: dia_font_get_legacy_name(); g_strconcat works better
8603         if a last NULL parameter is added...
8605         * lib/font.c: extents computation was completely wrong. This looks
8606         much better this time.
8608         * objects/UML/class.c: fixed the various strings positions.
8610         * lib/font.h, and **/*.[ch] (all callers of dia_font_new): used
8611         macros to get the hardcoded base fonts.
8613         * objects/ER/relationship.c: wasn't converted to DiaFont*
8614         
8615 2002-06-22  Hans Breuer  <hans@breuer.org>
8617         * lib/widget.c : dont use backend specific functions
8618         to get on the font_families. Including it would mean
8619         including <windows.h> which breaks due to namespace
8620         pollutions ...
8622         * lib/libdia.def : updated externals
8624         * app/makefile.msc : temporary disabled: -DHAVE_LIBART
8626         * lib/font.c : added empty dia_font_init_instance function,
8627         reformatting of dia_fon_unref to allow to set breakpoint,
8628         dia_fon_build_layout() : dont crash on string==NULL
8630         * lib/text.c (text_set_attributes) : don't unref the wrong font
8632         * lib/widgets.c (dia_fon_selector_set_font) : our hashtable
8633         stores lowercased font names, but dia_font_get_family()
8634         returns mixed case      
8636 2002-06-22  Lars Clausen  <lrclause@cs.uiuc.edu>
8638         * lib/widgets.c: 
8639         * app/render_gdk.c: Patch from Hans Breuer.
8641         * app/Makefile.am (dia_core_files): diaconv commented out for now.
8642         
8643 2002-06-22  Cyrille Chepelov  <cyrille@chepelov.org>
8645         * lib/all files touched yesterday: took into account some of Hans
8646         Breuer's remarks in
8647         http://mail.gnome.org/archives/dia-list/2002-June/msg00257.html
8649         * objects/chronogram/*: 
8650         * objects/custom/*:
8651         * objects/ER/*:
8652         * objects/flowchart/*:
8653         * objects/FS/*:
8654         * objects/GRAFCET/*:
8655         * objects/SADT/*:
8656         * objects/standard/textobj.?:
8657         * objects/UML/*:
8658         converted to the new DiaFonts.
8660         * plug-ins/cgm/*:
8661         * plug-ins/pstricks/*:
8662         * plug-ins/wpg/*:
8663         * plug-ins/dxf/*:
8664         * plug-ins/xfig/*:
8665         Made minimalistic conversions so that they'd at least compile.
8667         * app/render_gdk.c:
8668         * app/render_pixmap.c:
8669         Converted to the new DiaFonts.
8671         * app/app_procs.c
8672         * app/diaconv.c:
8673         * app/render_eps.c:
8674         made the minimal changes so that it would at least build.       
8676         *** At this point, the thing builds on my machine, but segfaults
8677         right away. ***
8678         
8679 2002-06-21  Cyrille Chepelov  <cyrille@chepelov.org>
8681         * configure.in: removed the backend-specific pango pkg_modules
8682         (trivial to add back if needed, when actually needed)
8684         * app/Makefile.am:
8685         * app/*gnomeprint.[ch]: (removed): removed the GNOME-print
8686         renderer. The APIs will have completely changed when we get around
8687         to redo a renderer for it, anyways.
8689         * font.[ch]: rewrote everything from scratch, with a Pango
8690         implementation. Normally, only backend-neutral things should go in
8691         there.
8693         **WARNING**: new rules for managing DiaFont* pointers: these are
8694         reference-counted GObjects. One >must< diafont_ref() and
8695         diafont_unref() as appropriate. I wish I could overload operator=()...
8697         lib/plug-ins.h: bumped up the plug-in API.
8698         
8699         lib/attributes.c: 
8700         lib/dia_xml.c: 
8701         lib/dummy_dep.h
8702         lib/object_defaults:
8703         lib/prop_attr.c: Adapted to the new DiaFont API. This'll change
8704         again tomorrow with GObject.
8705         
8706         lib/widgets.c: Adapted to the new DiaFont API and to Pango.
8708         **** The rest of the tree should be updated as well ****
8709         
8710 2002-06-21  Lars Clausen  <lrclause@cs.uiuc.edu>
8712         * app/render_gdk.h: 
8713         * app/render_gdk.c: 
8714         * app/render_pixmap.c: 
8715         * app/render_pixmap.h: 
8716         * app/render_libart.h: 
8717         * app/render_libart.c: 
8718         * lib/font.h: 
8719         * lib/font.c: Removed freetype stuff (still around in
8720         lib/widgets.c 'cause we might want the font selector widget).
8722 2002-06-20  Cyrille Chepelov  <cyrille@chepelov.org>
8724         * shapes/network/laptop.(xml|shape):
8725         * sheets/network.sheet.in: added Laptop (notebook) PC shape,
8726         contributed by Alan Horkan <horkana@tcd.ie>. (Closes: #82643)
8728 2002-06-17  Hans Breuer  <hans@breuer.org>
8730         * lib/object_defaults.c : #include <libxml/tree.h> not
8731         <tree.h> pointed out by Xing Wang
8733 2002-06-17  Lars Clausen  <lrclause@cs.uiuc.edu>
8735         * lib/color.h (GDK_COLOR_TO_DIA, DIA_COLOR_TO_GDK): 
8736         * lib/widgets.c: 
8737         * app/color_area.c: Update to
8738         gtk_color_selection_*_current_color() fixed bad crash issues, plus
8739         updated color conversions.
8741         * sheets/ER/weakentity.xpm: Accepted patch from
8742         quixon@gnuchina.org to make icon match actual appearance.
8744         * app/recent_files.c: Fixed GNOME recent file problem, thanks to
8745         quixon@gnuchina.org.
8747 2002-06-16  Hans Breuer  <hans@breuer.org>
8749         * lib/plug-in.[hc] : make PlugInInfo opaque again in the 
8750         good tradition of information hiding. Add new function
8751         dia_plugin_get_symbol()
8752         * app/sheets.c app/sheets_dialog_callbacks.c : use it
8754         * app/sheets.c : stop complaining about object_get_type() 
8755         returning NULL. This is a consequence of e.g. disabling 
8756         plug-ins at runtime _and_ it was and is gracefully handled. 
8757         Spitting out g_warning for it isn't appropriate. 
8759         * lib/object.[ch] : removed dead code
8761         * app/plugin-mangager.c : almost complete rewrite for gtk2
8762         using GtkListStore/GtkTreeView
8764         * lib/libdia.def : updated externals
8766         * todo.gtk2 : updated, that is removed already done steps
8768 2002-06-15  Hans Breuer  <hans@breuer.org>
8770         * objects/uml/class_dialog.c : clean some left-over
8771         utf8-mess, return 0 from "focus_out_event" handlers
8772         to avoid asserting in gtk (#78305). Reconstruct 
8773         stereotype/NULL behaviour to avoid rendering empty
8774         stereotypes on classes and member functions
8776         [#56109 - Provide object defaults for StdProp objects,
8777          some remaining issues are discussed in bugzilla]
8779         * lib/object_defaults.c : (new file) manage default properties 
8780         of dia objects. The serialization is done with standard
8781         object methods in a diagram compatible format.
8783         * lib/object.c : add object_registry_foreach() which allows
8784         to iterate over all registered object types
8786         * lib/object.h : added prototypes object_default*() and
8787         object_registry_foreach()
8789         * lib/makefile.am lib/makefile.msc : add new file to build
8791         * lib/libdia.def : export new functions
8793         * app/defaults.c : provide StdProp based defaults if the
8794         ObjectType doesn't implement it's own default functions
8796         * app/create_object.c : through dia_object_default_create()
8797         * app/disp_callbacks.c : same here
8799 2002-06-12  Lars Clausen  <lrclause@cs.uiuc.edu>
8801         * objects/FS/flow-ortho.c (orthflow_get_object_menu): Menu
8802         sensitivity for deleting segments.
8804 2002-06-12  Cyrille Chépélov  <cyrille@chepelov.org>
8806         * app/color_area.c: (color_area_events):
8807         * app/diagram.c: (diagram_destroy):
8808         * app/interface.c: (zoom_activate_callback), (fill_sheet_wbox),
8809         (fill_sheet_menu):
8810         * app/load_save.c: (diagram_data_load):
8811         * app/menus.c: (menus_get_item_from_path):
8812         * app/preferences.c: (prefs_load):
8813         * app/render_gdk.c: (get_text_width):
8814         * lib/arrows.h:
8815         * lib/color.c: (color_convert):
8816         * lib/dia_dirs.c: (dia_config_filename):
8817         * lib/dia_xml.c: (xmlDiaParseFile), (data_type):
8818         * lib/intl.c: (intl_get_language_list):
8819         * lib/message.c: (message):
8820         * lib/message.h:
8821         * lib/paper.c: (get_default_paper):
8822         * lib/plug-ins.c: (this_is_a_plugin), (dia_register_plugins):
8823         * lib/widgets.c: (dia_file_selector_get_file):
8824         * lib/widgets.h:
8825         * objects/standard/image.c: (get_directory):
8827         warningectomy.
8828         
8829 2002-06-12  Lars Clausen  <lrclause@cs.uiuc.edu>
8831         * ChangeLog: Fixed bad UTF-8 mess.  Apologies.
8833 2002-06-11  Lars Clausen  <lrclause@cs.uiuc.edu>
8835         * app/interface.c: sscanf now returns EOF on empty string, so
8836         handle no match for zoom factor better => correct zoom at start.
8838         * app/sheets.c (create_object_pixmap): Tried to display empty error.
8839         (sheets_optionmenu_create): Died when not finding specified
8840         sheet.  Don't think it should.
8842         * objects/UML/association.c: Added patch from osamyn@ulb.ac.be
8843         (bug #84367) to place the text better.
8845 2002-06-11  Cyrille Chepelov  <cyrille@chepelov.org>
8847         * configure.in: Added forgotten libgnomeui-2.0 when --enable-gnome
8848                         
8849         * app/commands.c: Removed unnecessary gnome include. Removed
8850         GNOME-Print support.
8852         * app/menus.h: Removed now unnecessary gnome include.
8853         
8854         * app/sheets_dialog.c: Used Gtk 2.0 stock buttons instead of
8855         GNOME-specific stock buttons
8856         
8857 2002-06-09  Hans Breuer  <hans@breuer.org>
8859         * app/app_procs.c : convert 'Modified diagrams exits'
8860         dialog to use GtkMessageDialog. That gives us:
8861         - icons without Gnome dependency
8862         - much less code, also cross platform
8863         - improved useability ?
8865         * app/color_area.c : the Color Selection Widget looked
8866         quite wrong (alpha problems). Fix it by merging in required
8867         changes stolen from The Gimp cvs
8868         * app/color_area.h : to get the right appearance the maskes
8869         needed to be taken into account
8870         * app/interface.c : adapt to color_area_create changes.
8871         Also remove some dead code and finally remove cvs autexpansion, 
8872         I was bothered enough by irrelevant differences :-)
8874         * app/defaults.c app/properties.c app/dia-props.c : use improved GtkDialog
8875         api, i.e stocks and response to make the GnomeDialog usage
8876         obsolete. Also fixed the issue with closing the 'parent'
8877         before closing the dialog
8879         * app/display.[ch] : removed some dead code and conversion
8880         to new GtkDialog api. Also trying to conform to new HIG
8881         standard http://developer.gnome.org/projects/gup/hig/
8883 2002-06-09  Hans Breuer  <hans@breuer.org>
8885         * lib/makefile.msc : define GTK_DISABLE_DEPRECATED,
8886         build ps-utf8.c
8888         * lib/dia_image.c : gtk_widget_set_default_visual()
8889         remove. It does nothing with Gtk2.
8891         * lib/libdia.def : added ps_unicoder exports
8893         * lib/message.c : remove #GNOME use GtkMessageDialog.
8894         Yeah, Dia gets dialogs wit icons cross-platform.
8896         * lib/prop_geomtypes.c : gtk_spin_button_get_value_as_float()
8897         to gtk_spin_button_get_value()
8899         * lib/prop_inttypes.c : gtk_label_set() -> gtk_label_set_text()
8901         add #undef GTK_DISABLE_DEPRECATED to still use ...
8902         * lib/prop_text.c :  ... GtkText
8903         * lib/prop_widgets.c : ... GtkList
8904         * lib/prop_dialogs.c : ... gtk_signal_connect and more
8905         * lib/widgets.c : ... (too much to list here)
8907         * lib/ps-utf8.c : #include <string.h>
8909 2002-06-08  Cyrille Chepelov  <cyrille@chepelov.org>
8911         * configure.in:
8912         * Makefile.am:  Adapted for gtk2.
8913         Removed dependencies on libunicode, on iconv(), on langinfo().
8915         * acconfig.h: removed (now obsolete)
8917         * lib/charconv.[ch]: removed (superceded by glib)
8918         * lib/ps-utf8.[ch]: removed dependency on charconv.[ch]
8920         * **/*.[ch]: removed (utfchar *), (unichar) and other charconv or
8921         libunicode types for their glib counterparts. Fixed the include
8922         paths for libxml2. Removed all traces of libxml1 or non-UTF8
8923         support (there were remains in objects/uml).
8925         
8926 2002-06-08  Hans Breuer  <hans@breuer.org>
8928         */*.c */*/*.c : remove all the #ifdef *_UTF8_* hell,
8929         only keep the utf-8 clean code cause Dia+Gtk2 now talk it.
8930         Also use g_strdup()'s handling of NULL by returning NULL
8931         again at all places I found (remove unnecessary if's)
8933         * todo.gtk2 : new file to keep notes about gtk2 porting,
8934         further issues and thoughts and some status information.
8935         Also sent to dia-list ('Dia goes Gtk2 ...').
8936         
8937         [make it compile with GTK+ 2.0]
8939         * config.h.win32 : #undef GTK_TALKS_UTF8_WE_DONT,
8940         removed definition of S_ISDIR, S_ISREG and getlogin
8942         * */makefile.msc : Use GTK2 and libxml2
8943         BEWARE: makefile.am, configure.in not yet ported !
8945         * app/app_procs.c app/diagram.c : remove 
8946         gtk_item_factory_dump_rc code, (it wasn't read in again anyway) 
8947         but set use gtk_menu_set_accel_path() on menu creation
8949         * app/color_area.c lib/widgets.c : 
8950         make use of gtk_color_selection_set_has_palette ()
8952         * app/commands.c : gdk_pixbuf_new_from_file wants an 
8953         extra argument. Convert from DIR to GDir usage.
8955         * app/diagram_tree.c(button_press_callback) : need to return 
8956         FALSE in the signal handler to let gtk process it further.
8957         (get_object_name) : don't leak 'prop'
8958         
8959         * app/diapagelayout.c : adapt to GtkTypeInfo changes and handle 
8960         dia_page_layout_destroy() getting called more than once
8962         * app/diaunitspinner.c : GtkEditable -> GtkEntry, 
8963         GtkTypeInfo changes
8965         * app/disp_callbacks.c : gtk_menu_append() -> gtk_menu_shell_append()
8967         * app/display.h : wrap input contexts declarations into #ifdef USE_XIM.
8968         IIRC this code will not compile unchanged when USE_XIM is defined ...
8970         * app/gtk[hv]wrapbox.[hc] : use already ported version from The GIMP 1.3.x
8972         * app/interface.c : there is no widget->klass anymore in Gtk, 
8973         use GTK_WIDGET_GET_CLASS instead. gdk_pixbuf_new_from_file() extra
8974         parameter. Some tweaking of GtkWrapBox usage to get four tools in
8975         a row again.
8976         switch off GTK's double buffering on Dia's canvas. Otherwise we would 
8977         get triple buffering and flicker.
8978         Replace call to GTK private function _gtk_accel_group_attach()
8979         with public gtk_window_add_accel_group()
8981         * app/layer_dialog.c : adapt to GtkTypeInfo changes
8983         * app/load_save.c lib/plug-ins.c lib/sheet.c 
8984           objects/custom/custom.c : 
8985         simplified by using g_file_test()
8987         * app/menus.c : convert from gtk_item_factory_<dump|parse>_rc 
8988         to gtk_accel_map_<save|load>. Also added common stock-icons
8989         to the menu.
8990         
8991         * app/preferences.c : use gtk_button_set_label() instead
8992         of button->child which is gone. Also removed GLIB_CHECK_VERSION.
8994         * app/preferences.c lib/dia_xml.c lib/plug-ins.c :
8995         #ifdef G_OS_WIN32 #include <io.h>, this was formerly done
8996         in config.h.win32
8998         * app/recent_files.c : removed GLIB_CHECK_VERSION
9000         * app/render_eps.c 
9001           plug-ins/metapost/render_metapost.c
9002           plug-ins/pstricks/render_pstricks.c
9003           plug-ins/svg/render_svg.c :
9004         replace getlogin() with g_get_user_name() which always
9005         returns non NULL
9007         * app/render_gdk.c : gdk_region_union_with_rect() modifies
9008         inplace now and returns nothing, also less #hell
9010         * app/render_libart.c : some initial #hell cleaning, SuckFont
9011         still needs to vanish
9013         * app/splash.c : gdk_pixbuf_new_from_file() second arg and
9014         GTK_WINDOW_DIALOG -> GTK_WINDOW_TOPLEVEL
9016         * app/render_pixbuf.c app/sheets.c : plain #hell cleaning
9017         * app/sheets_dialog_callbacks.c : some #hell and adaptions
9018         needed to GtkWrapBox api changes
9021         * lib/charconv.[hc] : removed from build
9022         [changed appropriate]
9023         * lib/prop_inttypes.c lib/prop_text.c : 
9024         all utf-8 cleaning 
9025         * lib/text.c : ported from HEAD but keep original indent
9026         intact. Original was done by Akira TAGOH.
9028         * lib/color.c : GdkColorContext is gone, use GdkColormap instead.
9030         * lib/dia_image.c : gdk_pixbuf_new_from_file() second arg
9032         * lib/dia_xml.c : remove #ifdef GLIB_CHECK_VERSION, it's the
9033         same on all platforms now!
9035         * lib/font.c : still using SuckFont which was an IMPERATIVE FIXME!
9037         * lib/message.c : remove "charconv.h"
9039         * lib/prop_text.c : #define GTK_ENABLE_BROKEN to use GtkText
9041         * lib/plug-in.c :
9042         * lib/sheet.c : convert from DIR to GDir usage
9044         * lib/widgets.c : gtk_menu_(shell_)append and GtkTypeInfo
9046         * lib/widgets.h : include gtk<label|colorseldialog>.h
9049         * objects/fs/flow.c :
9050         * objects/fs/flow-ortho.c : GTK_ENABLE_BROKEN to use GtkText
9052         * objects/custom/custom.c : convert from DIR to GDir usage
9055         * plug-ins/python/makefile.msc : updated for GTK2/Python2.2
9058 2002-05-03  Hans Breuer  <hans@breuer.org>
9060         * lib/dia_xml.c : make the well formed utf8 check
9061         actually work for &#251; (non 7-bit ascii encoding)
9062         and fixed the file re-writing if the check fails.
9063         Thanks to Vitaly Lipatov for noticing the misbehaviour.
9065         * lib/font.c : synchronize #ifdef G_OS_WIN32 with
9066         comment on last ressort font. Thanks to Maxim Sobolev.
9068 2002-06-03  Cyrille Chepelov  <cyrille@chepelov.org>
9070         * sheets/network.sheet.in: corrected a typo in plotter invocation.
9072 2002-06-03  Steffen Macke  <sdteffen@web.de>
9074         * shapes/network/digitizing_board.png:
9075         * shapes/network/digitizing_board.shape:
9076         * shapes/network/plotter.png:
9077         * shapes/network/plotter.shape:
9078         * shapes/network/Makefile.am
9079         * sheets/network.sheet.in: added new plotter and digitizing
9080         board shapes
9081         
9082 2002-06-02  Cyrille Chepelov  <cyrille@chepelov.org>
9084         * lib/font.c: made a symptomatic fix to a segfault reported by 
9085         Jan Keirse <jan.keirse@pandora.be> on a SuSE 7.3 system. This
9086         won't prevent dia from terminating, but should give more
9087         user-friendly information about why did it terminate.
9089         Two patches from <robert.young@dsto.defence.gov.au>:
9090         
9091         * app/display.c: fix the size of the canvas area which gets
9092         redrawn. There was an off-by one error (Closes #83659)
9094         * app/display.c: make sure we redraw all screen only when we
9095         really have to (some update_areas were mistakenly ignored) (Closes
9096         #83496). 
9098         * NEWS: added a new entry for the future. Put there a reminder to
9099         update the dependencies.
9101         * configure.in: put in notes about what will change shortly.
9102         upped the version to 0.90+cvs (did also in config.h.win32)
9103         upped the minimum version for intltools (now 0.21)
9104         
9105 2002-06-01  Cyrille Chepelov  <cyrille@chepelov.org>
9107         * dia.spec:
9108         * configure.in:
9109         * NEWS:
9110         * config.h.win32:
9111         bumped up version number to 0.90. Yay!
9113 2002-05-30  Cyrille Chepelov  <cyrille@chepelov.org>
9115         * doc/pl/Makefile.am:
9116         * doc/en/Makefile.am: fixed a "make install" problem when db2html
9117         is not present (Reported by Andrew Ferrier
9118         <andrew.junk@new-destiny.co.uk>). Fixed another "make distclean"
9119         problem which prevented me from ever seeing the problem in doc/en...
9120         
9121         * Makefile.am: added autogen.sh to the EXTRA_DIST clause.
9122         
9123         * lib/font.c: patch from <robert.young@dsto.defence.gov.au>; add a
9124         way to read the font path from the XFS configuration files in
9125         order to enable FreeType (fixes #83098).
9127         * POTFILES.(in,skip): now skips objects/sybase/sybase.c, which is not
9128         shipped nowadays.
9129                 
9130         * dia.spec:
9131         * configure.in:
9132         * NEWS:
9133         * config.h.win32:
9134         bumped up version number to 0.90.RC3
9136 2002-05-29  Zbigniew Chyla  <cyba@gnome.pl>
9138         * configure.in, doc/Makefile.am, doc/pl/Makefile.am,
9139         doc/pl/authors.sgml, doc/pl/dia-manual.sgml, doc/pl/dia-pl.omf,
9140         doc/pl/intro.sgml, doc/pl/license.sgml, doc/pl/topic.dat
9141         doc/pl/usage-canvas.sgml, doc/pl/usage-customization.sgml,
9142         doc/pl/usage-layers.sgml, doc/pl/usage-loadsave.sgml
9143         doc/pl/usage-objects-selecting.sgml, doc/pl/usage-objects-special.sgml,
9144         doc/pl/usage-objects.sgml, doc/pl/usage-quickstart.sgml:
9145         Added Polish documentation.
9147 2002-05-27  Cyrille Cheeplov  <cyrille@chepelov.org>
9149         * objects/UML/state.c: there was a (gratuitous?) change of on-XML
9150         format for the UML State object. Now there's a hack to reload
9151         older files, and get them converted on the fly. 
9152         Justyna BiaÅ?a <nell@poczta.gazeta.pl> reported this. Thanks!
9154         * lib/properties.h:
9155         * lib/propobject.c:
9156         * lib/proplist.c: Added a new property flag, PROP_FLAG_LOAD_ONLY,
9157         and adapter the proplist predicates. A LOAD_ONLY property is for
9158         when you have legacy to support but can't resist moving your
9159         fields around... (was needed to support the above state.c fix).
9161         If the in-core of your object changes and you need a LOAD_ONLY
9162         property for the old format, you must keep some spare room in your
9163         object's struct to accomodate for the potential old-style
9164         attributes. Then in foo_load(), after having called
9165         object_load_using_properties(), you must inspect the old-style
9166         fields and act accordingly. Don't ever change the on-disk formats...
9168         * objects/UML/object.c:
9169         * objects/UML/small_package.c: added a check against empty
9170         stereotypes still consuming space. Reported by Dolores Alia de
9171         Saravia <loli@unsa.edu.ar>. Thanks!     
9172         
9173 2002-05-26  Cyrille Chepelov  <cyrille@chepelov.org>
9175         * INSTALL: added platform notes from MÃ¥rten Svantesson, for when
9176         using libtool on an AFS partition.
9178         * po/update_potfiles_in.sh: now simply calls the recent intltools 
9179         features; they work better than hand-crafted half-ignorant
9180         scripts. Thanks to Kenneth Rohde Christiansen <kenneth@gnu.org>
9181         for the tip.
9183         * po/POTFILES.in: added back two files update_potfiles_in.sh
9184         didn't take into account. Now this file is not automatically
9185         generated anymore!      
9186         * po/POTFILES.skip: told `intltool-update -m` what files to ignore
9187         (the usual suspects, in fact).
9189         * configure.in: improved the isinf() / isfinite() detection on
9190         Solaris (MÃ¥rten Svantesson)
9191         
9192 2002-05-25  Cyrille Chepelov  <cyrille@chepelov.org>
9194         * configure.in: one expression was replacing $CFLAGS, removing
9195         whatever was previously in.
9196         Added more checks for isinf() and finite() on Solaris.
9198         * lib/geometry.h: added a macro defintion for isinf() if not
9199         HAVE_ISINF. (Hans, you may want to #define HAVE_ISINF if relevant
9200         on Win32)
9202         * app/commands.c: "cut" did not set the 'modified' bit (paste has
9203         been for a little while). Fixes #82994.
9205         * Makefile.am: added more stuff to distclean-local. This should make
9206         "make distcheck" pass! Thanks to the author of
9207         http://mail.gnome.org/archives/gnome-2-0-list/2001-August/msg00212.html
9208         ... I wonder who this Henstridge guy is ... ;-)
9209         Darn. Still doesn't pass. I give up for tonight.
9210         
9211         * po/update_potfiles_in.sh: updated to take care of sheet files,
9212         and to filter out the EML plug-in.
9213         * po/POTFILES.in: updated with all .c and all .sheet.in files 
9215         * po/dia.pot, po/*.po: again updated all .po files with all
9216         strings (with the updated POTFILES). Now with the up-to-date
9217         POTFILES, just all languages have some fuzzy or untranslated
9218         strings (not that the 100% team was that large beforehand...)
9220         * po-checktrans: removed the comment about .po files not holding
9221         all translatable stuff, since now they do.
9222         
9223 2002-05-24  Cyrille Chepelov  <cyrille@chepelov.org>
9225         * dia.spec:
9226         * configure.in:
9227         * NEWS:
9228         * config.h.win32:
9229         bumped up version number to 0.90.RC2
9231 2002-05-20  Hans Breuer  <hans@breuer.org>
9233         * app/load_save.c : starting to increase
9234         Dias tolerance on incomplete/broken files. The 
9235         corresponding bug is #56233. But the patch there does
9236         neither apply anymore nor does it really fix the problem
9237         but only delays it, e.g. even if it would be allowed
9238         to read a file without any layers, the later code can't
9239         handle it.
9240         * lib/dia_xml.c : attribute_<num|first>_data(), data_type()
9241         handle passing in NULL for the node gracefully.
9243         * shapes/network/printer.shape : added two more connection
9244         points - one at each side - to fix bug #60359
9246         * app/commands.c (edit_copy_callback) : 
9247         add ddisplay_do_update_menu_sensitivity() to make 
9248         sequence select-copy-paste work.
9250 2002-05-20  Hans Breuer  <hans@breuer.org>
9252         * app/create_object.c (create_object_button_press) :
9253         added a call to ddisplay_do_update_menu_sensitivity()
9254         to make Ctrl^D etc work after object creation. 
9255         Fixes #80983.
9257 2002-05-18  Lars Clausen  <lrclause@cs.uiuc.edu>
9259         * objects/ER/entity.c: 
9260         * objects/ER/attribute.c: 
9261         * objects/ER/relationship.c: Patch to allow text size change from
9262         Celso Tetsuo Nagase Suzuki.
9264 2002-05-18  Steffen Macke <sdteffen@web.de>
9266         * app/app_procs.c: #ifdef'd xmlerror.h (comes with 
9267         libxml2)
9268         * doc/en/graphics/greendots.png:
9269         * doc/en/home_network.png:
9270         * doc/en/line_props.png: 
9271         * dia-diagram.png:
9272         * dia_gnome_icon.png:
9273         * dia_gnome_menu_icon.png:
9274         * dia_logo.png:
9275         * shapes/network/telephone.png:
9276         * shapes/Logic/and.png:
9277         * shapes/Logic/buffer.png:
9278         * shapes/Logic/connector.png:
9279         * shapes/Logic/inverter.png:
9280         * shapes/Logic/nand.png:
9281         * shapes/Logic/nor.png:
9282         * shapes/Logic/not.png:
9283         * shapes/Logic/or.png:
9284         * shapes/logic/xor.png:
9285         * samples/ER-demo.dia:
9286         * samples/SADT.dia:
9287         * samples/UML-demo.dia:
9288         * samples/chronograms.dia:
9289         * samples/grafcet.dia: re-added as binary files
9291 2002-05-17  Hans Breuer  <hans@breuer.org>
9293         * lib/libdia.def : reflect removing of render_store.[ch]
9295         * */makefile.mingw : remove VERSION definition it's
9296         done in config.h.win32. Dia still doesn't work if
9297         build with mingw ...
9299         * RELEASE-PROCESS : removed */makefile.mingw
9301         * app/sheets_dialog_callbacks.c : if we use those
9302         ugly charconv_gtk_* functions lib/charconv.h needs to
9303         be #included ...
9304         * lib/charconv.h : ... and needs to contain the 
9305         necesseray prototypes _and_ #defines
9307         * plug-ins/shape/shape-export.c : with libxml2 xmlNewGlobalNs
9308         is deprecated and does nothing but spit a warning. This broke
9309         the shape format writing. Fixed.
9310         Also with libxml2 pretty formatted xml isn't the default
9311         anymore, but needs to be enabled explicit: It is done now 
9312         for shape files, which almost always needed to be edited by
9313         hand ... 
9315         * app/app_procs.c : #if G_OS_WIN32 redirect xmlErrorReporting
9316         from stderr - which is invalid on Dia/win32 - to g_print -
9317         which opens up a console window if necessary. This way
9318         a xml-deprecation-error shouldn't stay unnoticed next time
9320 2002-05-17  Steffen Macke <sdteffen@web.de>
9322         * shapes/Misc/folder.png:
9323         * shapes/Misc/file.png: re-added as binary files
9324         
9325 2002-05-16  Lars Clausen  <lrclause@cs.uiuc.edu>
9327         * lib/font.c: Fixed segfault for fonts without family_name.
9329 2002-05-17  Cyrille Chepelov  <cyrille@chepelov.org>
9331         * po/POTFILES.in: added app/sheets_dialog_callbacks.c
9333         * app/sheets_dialog_callbacks.c: While reviewing UTF-8isation upon
9334         Lars' request, minor cosmetic stuff (mostly _() of human-readable
9335         XML comments in .sheet files; one translator booby-trap disarmed).
9337         * lib/charconv.c: moved #hell inside the body of the new
9338         charconv_*gtk* functions (otherwise the Win32 or gtk2.0 linker
9339         will yell)
9340         
9341 2002-05-16  Lars Clausen  <lrclause@cs.uiuc.edu>
9343         * plug-ins/wpg/Makefile.am (INCLUDES): 
9344         * plug-ins/shape/Makefile.am (INCLUDES): 
9345         * plug-ins/svg/Makefile.am (INCLUDES): 
9346         * plug-ins/pstricks/Makefile.am (INCLUDES): 
9347         * plug-ins/metapost/Makefile.am (INCLUDES): Added UNICODE_CFLAGS
9348         and DEBUG_CFLAGS in some missing places.
9350         * MAINTAINERS: New file containing list of known package
9351         maintainers. 
9353         * lib/charconv.h: 
9354         * lib/charconv.c: Charconv versions of some common gtk calls.
9356         * app/sheets_dialog_callbacks.c
9357         (on_sheets_new_dialog_button_ok_clicked),
9358         (on_sheets_dialog_button_edit_clicked),
9359         (on_sheets_dialog_button_remove_clicked),
9360         (on_sheets_edit_dialog_button_ok_clicked):
9361         * app/sheets.c (sheets_optionmenu_create),
9362         (sheets_optionmenu_create): Added utf8 translations.
9364         * app/sheets_dialog.c: 
9365         * app/sheets.c: 
9366         * app/sheets_dialog_callbacks.c: Added some missing _()'s.
9368 2002-05-16  Cyrille Chepelov  <cyrille@chepelov.org>
9370         * po/POTFILES.in: added app/sheets_dialog.c
9372 2002-05-15  Cyrille Chépélov  <cyrille@chepelov.org>
9374         * lib/charconv.c: (charconv_local8_to_utf8),
9375         (charconv_utf8_to_local8): tweaked the warnings to get more 
9376         informations
9377         * lib/font.c: (font_get_suckfont): handled a potential case of
9378         uninitialised data being used (just paranoid)
9379         
9380         * objects/GRAFCET/boolequation.c: (opstring),
9381         (opblock_get_boundingbox), (opblock_draw),
9382         (boolequation_calc_boundingbox): some extra hoops needed now dia
9383         talks UTF8 (but gtk doesn't). More #hell. Beeek. Basically, the
9384         symbols can't yet be used with their proper Unicode cells, since
9385         gtk will demand them in the Symbol font, expressed in the local
9386         8-bit encoding.
9387         
9388         * samples/grafcet.dia: re-saved, now with a fixed bounding box (by
9389         the fix just above).
9391 2002-05-14  Lars Clausen  <lrclause@cs.uiuc.edu>
9393         * app/diagram_tree.c (get_object_name): Check that name property
9394         doesn't have null string.
9396 2002-05-13  Lars Clausen  <lrclause@cs.uiuc.edu>
9398         * autogen.sh (DIE): Added conditional --force to gettextize.
9400         * app/pagesetup.c (pagesetup_ok): Commented out missing Gnome
9401         function call.
9403 2002-05-13  Cyrille Chepelov  <cyrille@chepelov.org>
9405         * RELEASE-PROCESS: added James' notes on how to properly make the
9406         tarball.
9408         * configure.in: removed macro nesting related to libpng.h, which
9409         was causing some problems on some systems (like mine, which made
9410         the snapshots bad).
9412         Made --enable-unicode, previously an option, the mandatory case.
9414         * app/Makefile.am: updated EXTRA_DIST
9415         
9416         * NEWS:
9417         * app/makefile.mingw:
9418         * dia.spec:
9419         * doc/en/dia-manual.sgml:
9420         * plug-ins/makefile.mingw:
9421         * configure.in: bumped up the version number to 0.90.RC1
9423         * lib/render_objects.[ch]:
9424         * po/POTFILES.in: removed render_objects from the build.
9426         * plug-ins/Makefile.am:
9427         * plug-ins/wmf/Makefile.am (new): EXTRA_DIST'ed the WMF plug-in,
9428         so we keep its source in the tarball.
9430         * objects/network/*.c, Makefile.am:
9431         * objects/sybase/*.c, Makefile.am:
9432         * po/POTFILES.in: cleaned up the non-existent files from the po
9433         build process.
9435         * plug-ins/Makefile.am: re-enabled metapost plug-in.
9436         
9437 2002-05-13  Steffen Macke <sdteffen@web.de>
9439         * AUTHORS:
9440         * app/command.c: added M. C. Nelson to the Authors
9441         * sheets/Circuit/Makefile.am: added firewall shape to build
9442         * sheets/network/Makefile.am: added telephone and microphone
9443           shapes to build
9445 2002-05-13  Lars Clausen  <lrclause@cs.uiuc.edu>
9447         * RELEASE-PROCESS: Added list of files that contain the release
9448         number or should otherwise be changed at each release.
9450 2002-05-12  Lars Clausen  <lrclause@cs.uiuc.edu>
9452         * objects/UML/uml.c (uml_operation_read): Forgot to commit this
9453         (reported fixed) bug: POLYMORPHIC -> LEAF for default.
9455 2002-05-12  Hans Breuer  <hans@breuer.org>
9457         * config.h.win32 : changed VERSION to 0.90.RC1
9459         * app/makefile.msc lib/makefile.msc : use renamed
9460         gdk-pixbuf version (same content but renamed because
9461         all the other gtk+ dlls are renamed) to avoid trouble
9462         mixing gtk versions (of which one would not 
9463         be initialized ...
9465         * app/app_procs.c : removed recently unneeded
9466         inclusion of "sheets.h"
9468         * app/render_gdk.c : removed my own debug spew
9469         which should never made it to cvs
9471         * lib/render_object.[hc] : added
9472         #error "File not used anymore."
9474         * lib/libdia.def : updated externals
9476         * app/interface.c : dropped filenames need to be
9477         converted from uri with Gtk+2.0
9479 2002-05-12  Cyrille Chepelov  <cyrille@chepelov.org>
9481         * RELEASE-PROCESS (new): a draft document about how to release. To
9482         be discussed. (already with some input from Hans Breuer)
9484 2002-05-12  Steffen Macke <sdteffen@web.de>
9486         * sheets/Makefile.am: re-added Misc sheet to make process
9487         
9488 2002-05-12  Lars Clausen  <lrclause@cs.uiuc.edu>
9490         * objects/FS/function.c: Added comments to humungous list of menu
9491         items, to aid translators.
9493 2002-05-11  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
9495         * app/menus.c (display_menu_items): Added a few shortcuts for zooms.
9497         * app/menus.c (display_menu_items): Added a few shortcuts for zooms.
9499         * app/interface.c (create_toolbox): Disallow shrinking beyond
9500         requested size.  Fixes bug #59439, and confirms to GTK guidelines
9501         (see gtk_window_set_policy).
9502         (create_sheets): Removed now unnecessary set_usize call.
9504 2002-05-10  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
9506         * lib/beziershape.c (remove_handles): Fixing removal of last
9507         segment.  Undo of removal still hokey.
9509 2002-05-10  Lars Clausen  <lrclause@cs.uiuc.edu>
9511         * lib/bezier_conn.c (remove_handles): Proper offset for fixing
9512         handles. 
9513         * lib/beziershape.c (beziershape_init): Removed early call to
9514         beziershape_update_data where points aren't set yet.
9515         (beziershape_add_segment): Use segment 0 instead of overflowing
9516         points array with segment+1.
9517         (beziershape_remove_segment): Proper offset for fixing
9518         connectionpoints. 
9519         (remove_handles): Proper offset.
9521 2002-05-08  Lars Clausen  <lrclause@cs.uiuc.edu>
9523         * objects/GRAFCET/action.c (action_update_data): Init x value of
9524         click point for call to connpointlist_adjust_count.
9526         * app/modify_tool.c (create_modify_tool): Init tool->auto_scrolled
9528         * app/render_pixmap.c (new_pixmap_renderer): Moved first linestyle
9529         setting to where values are inited.
9531         * lib/polyshape.c (polyshape_init): Removed call to
9532         polyshape_update_data that tried to use uninitialized data.
9534 2002-05-06  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
9536         * app/sheets_dialog.c: Mass removal of //-style comments.  The
9537         Irix compiler doesn't like them:(  I do...
9539 2002-05-06  Lars Clausen  <lrclause@cs.uiuc.edu>
9541         * app/render_libart.c (draw_string): Bail out when no GDK font is
9542         found.
9543         (set_font): Give error when font not found.
9544         (set_fillstyle): Intlized error msg.
9546         * app/pagesetup.c (pagesetup_ok, pagesetup_apply): Sets diagram
9547         modified when applied (and ok only does apply if apply is set
9548         sensitive).  Fixes bug #75623.
9550 2002-05-06  Pablo Saratxaga  <pablo@mandrakesoft.com>
9552         * configure.in: Added Vietnamese (vi) to ALL_LINGUAS
9554 2002-05-05  Steffen Macke <sdteffen@web.de>
9556         * app/Makefile.am: added $(UNICODE_CFLAGS)
9557         
9558 2002-05-02  Lars Clausen  <lrclause@cs.uiuc.edu>
9560         * app/commands.c (help_manual_callback): Check return value of
9561         opendir.
9563         * plug-ins/xfig/Makefile.am (INCLUDES): Added DEBUG_FLAGS
9565         * plug-ins/xfig/xfig-import.c: Fixed misspelled Poly_L_ine, added
9566         checks for errors.
9568 2002-04-30  Lars Clausen  <lrclause@cs.uiuc.edu>
9570         * app/render_gdk.c (draw_string): Extra free killed.  Thanks valgrind!
9572         * objects/UML/uml.c (uml_operation_read): Fix of UML default
9573         inheritance. 
9575 2002-04-30  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
9577         * app/filedlg.c (file_save_as_callback, file_save_as_ok_callback):
9578         Added button to toggle diagram compression.
9580 2002-04-29  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
9582         * lib/font.c: Support for loading extra kerning files, plus got
9583         rid of rounding errors.  Bounding box mostly perfect for freetype
9584         fonts.
9585         (font_string_width): Fudge factor to get around nonlinearity of
9586         font scaling.
9588 2002-04-29  Lars Clausen  <lrclause@cs.uiuc.edu>
9590         * lib/font.c (font_string_width): YA font calculation scheme, with
9591         comments.
9593         * objects/UML/class.c (umlclass_calculate_data): Uses the same
9594         font for drawing and calculating now.
9596         * configure.in: Added utime.h check.
9598         * app/render_gdk.c (draw_string): Uses gdk_draw_text_wc when in
9599         GTK_DOESNT_TALK_UTF8_WE_DO.  Thus it matches the string width calc.
9601 2002-04-26  Hans Breuer  <hans@breuer.org>
9603         [ Instead of fixing about 70 occurances in 20 files
9604           where GTK_TALKS_UTF8_WE_DONT needed to be handled
9605           Dia on win32 from now on uses glib-2.0 and not 
9606           only talks utf-8 with gtk-1.3 but also internally.
9607           GTK_TALKS_UTF8_WE_DONT isn't supported/needed
9608           anymore. ]
9610         * config.h.win32 : #define UNICODE_WORK_IN_PROGRESS
9611         #undef GTK_TALKS_UTF8_WE_DONT
9613         * */makefile.msc : changes to use glib-2.0 (still
9614         using gtk+1.3(win32-production)
9616         * app/disp_callbacks.c : remove GTK_TALKS_UTF8_WE_DONT,
9617         adapt kevent->string handling, add <string.h>
9618         * app/render_gdk.c (get_text_width) : the length given
9619         is in chars, gdk_text_width() needs bytes
9621         * app/render_libart.c : 
9622         * app/render_pixmap.c : remove GTK_TALKS_UTF8_WE_DONT
9623         (could simplify the same way as done in render_gdk.c)
9625         * app/diagram_tree.c app/paginate_gdiprint.cpp
9626           app/sheets.c :
9627         * lib/prop_basic.c lib/prop_geomtypes.c 
9628           lib/propdialgs.c lib/propobject.c :
9629         added <string.h> which is now removed from charconv.h
9631         * lib/charconv.h : optional use infrastructure from
9632         glib-2.0 -> only five direct function mapping left
9634         * lib/charconv.c : avoid to build this with glib-2.0
9636         * lib/font.c : no string conversion needed anymore      
9637         when Dia and Gtk talk utf-8, also code adaptions
9638         for GLIB_CHECK_VERSION(2,0,0)
9640         * lib/libdia.def : removed charconv functions
9642         * lib/prop_inttypes.c : removed GTK_TALKS_UTF8_WE_DONT,
9643         replace charconv_unichar_to_utf8() with g_unichar_to_utf8()
9645         * lib/prop_text.c lib/prop_widgets.c lib/font.c : 
9646         removed GTK_TALKS_UTF8_WE_DONT
9648         * lib/text.c : finally(?) fixed cursor <place|move>ment 
9649         for Umlauts. Also fixed char insertion, still wondering
9650         how this could ever work. Does realloc on Linux 
9651         initialize the memory with zeros ?
9653         * objects/chronogram/chronoline_event.c
9654           objects/grafcet/boolequation.c :
9655         there is no uni_get_utf8 when building for glib-2.0.
9656         Replace with g_utf8_get_char() and g_utf8_next_char().
9658         * objects/uml/stereotype.c (bracketted_to_string) : 
9659         simplify while adding code for glib-2.0 build
9661 2002-04-27  Lars Clausen  <lrclause@cs.uiuc.edu>
9663         * app/diagram.h: Autosave field
9664         * app/diagram.c (diagram_set_modified): Sets autosave field.
9665         
9666         * objects/UML/usecase.c (usecase_update_data): 
9667         * objects/flowchart/ellipse.c (ellipse_update_data): 
9668         * objects/flowchart/parallelogram.c (pgram_update_data): 
9669         * objects/flowchart/diamond.c (diamond_update_data): 
9670         * objects/custom/custom_object.c (custom_update_data): 
9671         * objects/UML/state.c (state_update_data): 
9672         * objects/UML/small_package.c (smallpackage_update_data): 
9673         * objects/UML/object.c (objet_update_data): 
9674         * objects/UML/note.c (note_update_data): 
9675         * objects/UML/node.c (node_update_data): 
9676         * objects/UML/component.c (component_update_data): 
9677         * objects/UML/classicon.c (classicon_update_data): 
9678         * objects/UML/actor.c (actor_update_data): 
9679         * objects/SADT/box.c (sadtbox_update_data): 
9680         * objects/FS/function.c (function_update_data): 
9681         All now update text boundaries from update_data.
9682         
9683         * lib/widgets.c (dia_font_selector_set_styles): Made the style set
9684         correctly. 
9686 2002-04-26  Hans Breuer  <hans@breuer.org>
9688         * config.h.win32 : added VERSION definition here
9689         (and removed from makefile.msc's)
9691         * app/makefile.msc : added new files
9693         * app/app_procs.c (app_init): remove sheets_dialog_create()
9694         from start-up and ... 
9696         * app/sheet.c (sheets_dialog_show_callback) : ... lazy create
9697         sheet_dialog here when it is really needed.
9698         #include "../lib/message.h", make sheets_dialog_create() 
9699         return it's success or failing on (!custom_type_symbol). 
9700         Although editing shapes is nice IMHO it isn't crucial enough 
9701         to abort() Dia if       it isn't possible.
9703         * app/sheet.h : adapt create_sheet_dialog() prototype
9705         * app/sheets_dialog.c : add #ifdef HAVE_UNISTD_H
9707         * app/sheets_dialog_callbacks.c : #ifdef HAVE_UNISTD_H and
9708         #ifdef HAVE_UTIME_H. Otherwise #include <sys/utime.h> and
9709         name space corrections for utime() and utim_buf #ifdef
9710         G_OS_WIN32
9712         * lib/libdia.def : export new sheet functions
9714         * lib/makefile.msc : added new files
9716         * lib/render.c : don't put draw_bezier_with_arrows() in
9717         the DrawLineWithArrowsFunc slot
9719         * objects/custom/custom_object.c : #include <gmodule.h>
9720         and export 'custom_type' via G_MODULE_EXPORT
9722         * objects/uml/class_dialog.c : removed 'incompatible 
9723         types' warnings. Some refactoring while making it fit
9724         on screen with 800x600 again.
9726         * plug-ins/python/pydia-cpoint.h : add PyDiaConnectionPoint_Check
9728         * plug-ins/python/pydia-handle.h : extra parameter to
9729         PyDiaHandle_New to store the owner of the handle
9730         * plug-ins/python/pydia-handle.c : store handle owner
9731         on construction and use it in new method .connect()
9732         * plug-ins/python/pydia-object.c plug-ins/python/pydia-diagram.c : 
9733         adapt to changed prototype
9735 2002-04-24  Lars Clausen  <lrclause@cs.uiuc.edu>
9737         * lib/text.c (text_calc_boundingbox): Will now return early if box
9738         passed is NULL.
9740         * objects/flowchart/box.c (box_update_data): Now updates text
9741         width info from update_data.
9743 2002-04-23  Steffen Macke <sdteffen@web.de>
9745         * plug-ins/xfig/xfig-import.c: fixed text import
9746         
9747 2002-04-22  Lars Clausen  <lrclause@cs.uiuc.edu>
9749         * app/export_png.c: Moved dialog functions to their own file.
9750         * app/dialogs.[ch]: New files with standard functions for creating
9751         small, transient dialogs (e.g. export options).
9752         * app/Makefile.am: Added dialogs.[ch]
9754 2002-04-19  Steffen Macke <sdteffen@web.de>
9756         * shapes/Misc/folder.*:
9757         * shapes/Misc/file.*:
9758         * shapes/Misc/Makefile.am:
9759         * shapes/Makefile.am:
9760         * sheets/Misc.sheet.in:
9761         * sheets/Makefile.am:
9762         * configure.in: added new Misc sheet containing filesystem shapes
9763         
9764 2002-04-18  Lars Clausen  <lrclause@cs.uiuc.edu>
9766         * app/lineprops_area.c: Arrow selector in toolbox changed to use
9767         standard arrowdraw code.  Line is thinner to make some arrowheads
9768         distinguishable. 
9770 2002-04-18  Steffen Macke <sdteffen@web.de>
9772         * sheets/network.sheet.in:
9773         * shapes/network/telephone.shape:
9774         * shapes/network/Makefile.am: added telephone shape
9775         
9776 2002-04-16  Steffen Macke <sdteffen@web.de>
9778         * sheets/EML.sheet.in: commented out unavailable shapes
9779         
9780 2002-04-15  M.C. Nelson <mcn@kobayashimaru.org>
9782         * app/sheets_dialog_callbacks.c:  Fixed segfault caused by mis-ordered
9783           variable assignment.
9784         
9785 2002-04-15  Steffen Macke <sdteffen@web.de>
9787         * plug-ins/dxf/dxf-import.c: text import works again
9788         * shapes/Pneumatic/Makefile.am: added compush shape
9789         * sheets/Pneumatic.sheet.in: commented out unavailable shapes dist33
9790         and dist53
9791         
9792 2002-04-11  M.C. Nelson <mcn@kobayashimaru.org>
9794         * All these modifications are for the 'Sheets and Objects' dialog
9795           (new feature):
9797         * app/pixmaps/line_break.xpm: new icon representing a line break.
9798         
9799         * app/pixmaps/n_a.xpm: new empty icon representing not available.
9801         * app/Makefile.am: added sheets_*.[ch] files to compile list.
9802         
9803         * app/menus.c: added GNOME and gtk menu items for 'Sheets and Objects'
9804         
9805         * app/sheets_dialog.c: [new file] definition of 'Sheets & Objects' dlgs
9807         * app/sheets_dialog.h: [new file] support for Sheets & Objects dlgs 
9808         
9809         * app/app_procs.c: added call to sheets_dialog_create() in app_init()
9810         
9811         * app/sheets_dialog_callbacks.c: [new file] callbacks for S & O dialogs
9813         * app/sheets_dialog_callbacks.h: [new file] support for " " "
9815         * app/interface.c: added 'interface_current_sheet_name' global to 
9816           fill_sheet_wbox(); made fill_sheet_menu() non-static
9818         * app/interface.h: added extern declaration for aboves.
9820         * app/sheets.c: [new file] instantiation and other funcs for S & O dlgs
9822         * app/sheets.h: [new file] declarations for backing store structures
9824         * lib/sheet.c: modification of new_sheet() parameters; introduction
9825           of USER and SYSTEM scope for sheets; procedure for sorting sheets;
9826           changes to load_register_sheet().
9828         * lib/sheet.h: added 'user_data_type' field to SheetObject structure;
9829           added 'has_icon_on_sheet' flag to SheetObject structure; added 
9830           'filename', 'scope', 'shadowing' fields to Sheet structure.
9832         * lib/plug-ins.c: moved _PluginInfo declaration to header file where
9833           it belongs.
9835         * lib/plug-isn.h: see above.
9837         * lib/object.c: added 'sheet.h' to include list; added several 
9838           functions
9839           to detect objects which are not found on any sheet (for future use)
9840           object_type_detect_nosheet_callback(), object_types_detect_nosheet(),
9841           object_type_get_sheet_name(), object_type_strip_sheet_from_name().
9843         * lib/object.h: added public declarations for above functions where
9844           necessary.
9846         * objects/custom/custom.c: made custom_object_load() non-static so we
9847           can load and interpret .shape files from the Sheets & Objects dialog
9849         * objects/custom/custom_object.c: made 'custom_type' non-static so 
9850           we can differentiate between SVG shapes and other types.a
9852 2002-04-07  Hans Breuer  <hans@breuer.org>
9854         * app/object_ops.c (object_list_align_v): Fix the 'Leak fix'
9855         from 2002-01-22 to not destroy diagram->data->selected. 
9856         Avoids to crash on Objects/Align/Vertical/Top
9858         * app/render_eps.c (draw_string) : un-const buffer
9859         It isn't at all const (g_malloc(), assignment, g_free()).
9860         Doesn't gcc catch such ?
9862         * lib/arrows.h : prototype calculate_arrow_point()
9864         * lib/font.c (font_get_suckfont) : no need to
9865         special case gdk_draw_string() with GTK_TALKS_UTF8,
9866         cause all the parameter differences are handled above
9868         * lib/libdia.def : updated externals
9870         * lib/makefile.msc : removed string_prerenderer, added render
9872         * lib/render.c (draw_rect) : don't pass a Point** if a Point*
9873         is expected. [Sometimes it's good to read compiler warnings.]
9875         * objects/standard/image.c : simplified by use of g_strconcat()
9877         * plug-ins/python/makefile.msc : updated for Python 2.2
9879 2002-04-03  Lars Clausen  <lrclause@cs.uiuc.edu>
9881         * objects/standard/zigzagline.c (zigzagline_draw): Fixed
9882         directionality problem for zero-length line segments.
9884 2002-03-28  Lars Clausen  <lrclause@cs.uiuc.edu>
9886         * app/diagram.c (diagram_ungroup_selected) 
9887         (diagram_update_menu_sensitivity): Now allows ungrouping of
9888         several groups at once.
9890 2002-03-15  Lars Clausen  <lrclause@cs.uiuc.edu>
9892         * lib/render.c, all renderers: Binary incompatibility, change to
9893         expandable renderops structure.
9895 2002-03-15  Steffen Macke <sdteffen@yahoo.com>
9897         * objects/standard/Makefile.am:
9898         * objects/network/Makefile.am:
9899         * objects/UML/Makefile.am:
9900         * objects/ER/Makefile.am:
9901         * objects/FS/Makefile.am:
9902         * objects/flowchart/Makefile.am:
9903         * objects/custom/Makefile.am:
9904         * objects/GRAFCET/Makefile.am:
9905         * objects/chronogram/Makefile.am:
9906         * objects/SADT/Makefile.am:
9907         * plug-ins/cgm/Makefile.am:
9908         * plug-ins/pstricks/Makefile.am:
9909         * plug-ins/hpgl/Makefile.am:
9910         * plug-ins/wpg/Makefile.am:
9911         * plug-ins/svg/Makefile.am:
9912         * plug-ins/shape/Makefile.am: added $(UNICODE_CFLAGS)
9913         
9914 2002-03-13  Lars Clausen  <lrclause@cs.uiuc.edu>
9916         * app/render_eps.c: Support for dumping TrueType fonts (taken from
9917         ttfps).
9919 2002-03-12  Lars Clausen  <lrclause@cs.uiuc.edu>
9921         * lib/render.c: New abstract super class for renderers.
9923 2002-03-07  Akira TAGOH  <tagoh@redhat.com>
9925         * objects/ER/attribute.c (attribute_save): save a font property.
9926         (attribute_load): load a font property, and if can't load it, it's
9927         initialized.
9929         * objects/ER/entity.c (entity_save): save a font property.
9930         (entity_load): load a font property, and if can't load it, it's
9931         initialized.
9933         * objects/ER/relationship.c (relationship_save): save a font property.
9934         (relationship_load): load a font property, and if can't load it, it's
9935         initialized.
9937         * objects/UML/class.c (fill_in_fontdata): don't replace if it already
9938         has a vaule.
9939         (umlclass_save): save the font and the font size properties.
9940         (umlclass_load): load the font and the font size properties.
9942 2002-03-05  Cyrille Chepelov  <cyrille@chepelov.org>
9944         * lib/string_prerenderer.[ch] (REMOVED):
9945         * lib/render.h:
9946         * lib/diagramdata.c:
9947         * lib/Makefile.am:
9948         * app/render_eps.c: got rid of the string-specific string
9949         prerenderer, transitioned its functionality towards Lars'
9950         two-phase rendering
9952 2002-03-05  Lars Clausen  <lrclause@cs.uiuc.edu>
9954         * configure.in: Using Freetypes own check for ver >= 1.0.5.  You
9955         may need to rerun aclocal.
9957 2002-03-04  Lars Clausen  <lrclause@cs.uiuc.edu>
9959         * lib/font.c: First attempt at Unicodeness for Freetype.
9961 2002-03-02  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
9963         * lib/font.c (font_string_width): Fixed font_string_width for
9964         freetype.  BB is now almost right.
9966 2002-03-01  Lars Clausen  <lrclause@cs.uiuc.edu>
9968         * app/render_eps.h: 
9969         * app/paginate_psprint.c (paginate_psprint): 
9970         * lib/font.c: 
9971         * app/render_eps.c: Support for dumping postscript fonts into
9972         postscript files with freetype.  Fairly primitive, but works.
9973         Unicode version may have problems.
9975 2002-02-28  Akira TAGOH  <tagoh@redhat.com>
9977         * objects/UML/class_dialog.c (class_read_from_dialog)
9978         (class_fill_in_dialog), (class_create_page): add the font selector and
9979         the font size selector.
9981         * objects/UML/class.c (umlclass_draw): uses each font_height.
9982         (umlclass_calculate_data): ditto.
9983         (fill_in_fontdata): add initial value of new font_height.
9984         (umlclass_copy): add new font_height.
9986 2002-02-27  Cyrille Chepelov  <chepelov@calixo.net>
9988         Patch from Geoff Gerrietts <ggerrietts@yahoo.com>:
9989         
9990         * lib/font.c: calculate font metrics properly and stop guessing at
9991         string widths.
9993 2002-02-28  Akira TAGOH  <tagoh@redhat.com>
9995         * configure.in: changed gtk_advancement value to dia_talks_utf8.
9996         right now Dia is working with UTF-8 internally. it means Dia probably
9997         support most languages also including the languages which heretofore
9998         didn't work correctly.
10000 2002-02-26  Akira TAGOH  <tagoh@redhat.com>
10002         * objects/FS/function.c: add related text properties.
10003         (function_get_props), (function_set_props): add handling attribute.
10005         * objects/FS/flow.c: add related text properties.
10006         (flow_get_props), (flow_set_props): add handling attribute.
10008         * objects/FS/flow-ortho.c: add related text properties.
10009         (orthflow_set_props), (orthflow_get_props): add handling attribute.
10011         * objects/ER/relationship.c: add PROP_STD_TEXT_FONT to property.
10013         * objects/ER/entity.c: ditto.
10015         * objects/ER/attribute.c: ditto.
10017 2002-02-26  Cyrille Chepelov  <cyrille@chepelov.org>
10019         Patch contributed by Geoff Gerrietts <ggerrietts@yahoo.com>:
10020         
10021         * autogen.sh: add a check for missing intltoolize.
10023 2002-02-20  Akira TAGOH  <tagoh@redhat.com>
10025         * lib/ps-utf8.c (unicode_to_ps_name): if this function calls with same
10026         charcode, it was registered the duplicate item to HashTable. fix.
10028         * app/render_gnomeprint.c (get_width_string): add new function.
10029         (draw_string): fix non-multibyte specific code.
10031 2002-02-19  Cyrille Chepelov  <cyrille@chepelov.org>
10033         Patch contributed by Matthieu Sozeau <mattam@netcourrier.com>:
10034         
10035         * lib/font.c: do not try to search paths that do not begin with
10036         '/', like X Font Server addresses.
10037         
10038         * objects/UML/message.c (message_draw): free mname when not 
10039         message->text but CREATE or DESTROY.
10040         
10041         * objects/UML/uml.h:
10042         * objects/UML/uml.c:
10043         * objects/UML/class_dialog.c: added code to handle a stereotype 
10044         attribute for operations.
10046 2002-02-19  Akira TAGOH  <tagoh@redhat.com>
10048         * lib/Makefile.am: add LIBART_CFLAGS.
10050 2002-02-15  Hans Breuer  <hans@breuer.org>
10052         * lib/font.c (font_get_suck_font): the black and white pixel values 
10053         need to be taken from a 1 bit colormap rather than the default colormap.
10054         (fixed again, last time was 2000-05-26)
10056         Also handle the case where GTK_TALKS_UTF8 and expects all strings
10057         passed in to be in this encoding.
10059         * lib/libdia.def : export suck_font_free()
10061         * lib/text.c (text_draw) : avoid circular dependency to ../app
10062         at least for the !USE_XIM case, where it is unnecessary.
10064 2002-02-15  Cyrille Chepelov  <cyrille@chepelov.org>
10066         Changes contributed by Matts Kivik <kivik@firstlinux.net>:
10067         
10068         * shapes/Circuit/microphone_de.(shape|xpm) (NEW):
10069         * sheets/Circuit.sheet.in: added new shape microphone
10070         * shapes/Circuit/speaker_de.shape: Added a connection point.
10071         
10072 2002-02-13  Akira TAGOH  <tagoh@redhat.com>
10074         * app/render_libart.c (draw_string): fixed build issue for Win32.
10076         * lib/font.c (font_get_suckfont): fixed typo. it could't build under
10077         Win32.
10079         * configure.in: fixed testing gtk_advancement.
10081         * app/render_gnomeprint.c (draw_string): uses utfchar instead of char.
10083 2002-02-12  Akira TAGOH  <tagoh@redhat.com>
10085         * lib/text.c (text_draw): fixed XIM position, when menubar is shown for
10086         diagram window.
10088 2002-02-11  Lars Clausen  <lrclause@cs.uiuc.edu>
10090         * app/group.c (group_copy): Made new object properly initialized
10091         before copy.
10093 2002-02-11  Steffen Macke <sdteffen@yahoo.com>
10095         * app/Makefile.am: added plug-ins to DIA_LIB_PATH in run_dia.sh
10096         
10097 2002-02-10  Akira TAGOH  <tagoh@redhat.com>
10099         * lib/text.c (text_draw): fixed XIM transaction.
10101         * app/interface.c (create_display_shell): add signal for
10102         size_allocate.
10104         * app/disp_callbacks.c (ddisplay_size_allocate): add new function for
10105         XIM transaction.
10106         (set_input_dialog): remove.
10107         (ddisplay_canvas_events): remove XIM transaction. it can't transact
10108         correctly on this function.
10110 2002-02-10  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
10112         * app/app_procs.c:
10113         * app/export_png.c: Added checks for interactivity (maybe this
10114         should be a hook after all?).
10116         * app/filedlg.c (file_export_callback): Made export dialog add
10117         suffix when reopened.
10119         * app/export_png.c: Added dialog asking for export size.
10121 2002-02-09  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
10123         * lib/widgets.c: Fixed font reselection problem and first font
10124         bogus warning.
10126         * objects/UML/actor.c (actor_update_data): Changed to have
10127         connection points below text.
10129 2002-02-08  Akira TAGOH  <tagoh@redhat.com>
10131         * lib/text.c (text_split_line): use g_strndup() instead of g_malloc()
10132         and memcpy().
10134 2002-02-07  Akira TAGOH  <tagoh@redhat.com>
10136         * lib/font.c (font_get_suckfont): rewrited. generating suckfont from
10137         strings which is given.
10138         (suck_font): remove. it's any longer needed.
10140         * app/render_libart.c (set_font): don't get suckfont.
10141         (draw_string): get suckfont only which is needed for now.
10143 2002-02-05  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
10145         * lib/text.c: Fixes for misunderstood width functions.
10147 2002-02-05  Hans Breuer  <hans@breuer.org>
10149         * lib/dia_xml.c : use g_strconcat() instead of 
10150         malloc, strcpy, strcat dance
10151         * app/properties.c : same here and plug memory leak
10152         (gtk functions don't eat strings)
10154         * objects/UML/message.c : there is no g_sprintf()
10155         use g_strdup_printf() instead ...
10157 2002-02-05  Akira TAGOH  <tagoh@redhat.com>
10159         * lib/message.c (gtk_message_internal): doesn't need to convert to
10160         UTF-8.
10162         * app/render_libart.c (draw_string): fixed transaction for UTF-8
10163         support.
10164         (get_text_width): ditto.
10166         * app/Makefile.am (EXTRA_DIST):
10167         s/paginate_gdiprint.c/paginate_gdiprint.cpp/
10169         * app/render_gdk.c (gdk_freetype_copy_glyph): fixed build issue.
10170         This function needs ifdef HAVE_FREETYPE because don't use it for
10171         --disable-freetype
10173 2002-02-04  Cyrille Chepelov  <cyrille@chepelov.org>
10175         * NEWS: updated with the new dependencies.
10176         
10177         Patch from Matthieu Sozeau <mattam@netcourrier.com>:
10179         * objects/UML/class.h:
10180         * objects/UML/class.c:  
10181         * objects/UML/class_dialog.c: added code to handle the UMLParameterKind
10182         property using a GtkMenu. Options are Undefined, In, Out, In & Out
10184 2002-02-04  Lars Clausen  <lrclause@cs.uiuc.edu>
10186         * app/render_libart.c: Slow but working libart freetype renderer,
10187         with color!
10189 2002-02-03  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
10191         * app/render_gdk.c (draw_string): Fixed gc_function bug.
10193         * lib/widgets.c (dia_font_selector_init): Sorts the font list.
10195         * lib/font.c (freetype_render_string): 
10196         * lib/font.h:
10197         * app/render_gdk.c:
10198         * app/render_gdk.h: Changed freetype_render_string to use
10199         callback.  Rendering is broken.
10201 2002-02-03  Cyrille Chepelov  <cyrille@chepelov.org>
10203         Patch from Matthieu Sozeau <mattam@netcourrier.com>:
10205         * objects/UML/uml.h:    
10206         * objects/UML/uml.c: added UMLInheritanceType and isQuery
10207         (constant) UML Operation attributes. UMLInheritanceType is either
10208         UML_ABSTRACT or UML_POLYMORPHIC  or UML_LEAF.
10210         * objects/UML/class.h:
10211         * objects/UML/class.c:  
10212         * objetcs/UML/class_dialog.c: added code to handle new
10213         UMLOperation attributes via a GtkMenu and a checkbox.
10215 2002-02-03  Akira TAGOH  <tagoh@redhat.com>
10217         * app/disp_callbacks.c (ddisplay_realize): fixed XIM issue.
10218         several client doesn't work with previous codes.
10220 2002-02-01  Lars Clausen  <lrclause@cs.uiuc.edu>
10222         * lib/font.c (freetype_render_string): Kerning.  Very few fonts
10223         seem to use it.
10225 2002-02-02  Akira TAGOH  <tagoh@redhat.com>
10227         * app/disp_callbacks.c (ddisplay_canvas_events): fixed crashes,
10228         when doing the operation like invert the objects after active view is
10229         destroyed. when changes focus, it needs to set active_display.
10231         * app/layer_dialog.c (dia_layer_update_from_layer):
10232         (layer_dialog_edit_layer): need to convert to locale encoding
10233         if GTK_DOESNT_TALK_UTF8_WE_DO is defined.
10234         (edit_layer_ok_callback):
10235         need to convert to UTF8 if GTK_DOESNT_TALK_UTF8_WE_DO is defined.
10237         * lib/diagramdata.c (new_diagram_data): ditto.
10239         * app/layer_dialog.c (layer_dialog_new_callback): ditto.
10241         * lib/diagramdata.c (new_layer): use utfchar instead of char for
10242         argument.
10244         * lib/widgets.c: if HAVE_FREETYPE isn't defined, it can't build. fixed.
10245         (dia_font_selector_set_styles): when HAVE_FREETYPE is defined only,
10246         it's needed for now. also this function needs prototype declaration.
10248 2002-01-31  Lars Clausen  <lrclause@cs.uiuc.edu>
10250         * lib/widgets.c: Style now functional on font selector.  Some leak
10251         possible, but doesn't show up under stress test.
10253 2002-01-31  Akira TAGOH  <tagoh@redhat.com>
10255         * app/plugin-manager.c (clist_select_row): name and description needs to
10256         convert to locale encoding, when GTK_DOESNT_TALK_UTF8_WE_DO is defined.
10257         (get_plugin_manager): ditto.
10259         * lib/plug-ins.c (dia_plugin_info_init): name needs to convert to UTF-8.
10261         * app/diagram_tree.c (get_object_name): fixed transaction for UTF-8
10262         support.
10264         * lib/prop_text.c (stringprop_reset_widget): fixed crashes,
10265         when prop->string_data is NULL.
10267 2002-01-30  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
10269         * lib/widgets.c: 
10270         * lib/widgets.h: New font selector separating font and style.
10271         Style not functional yet.
10273 2002-01-30  Lars Clausen  <lrclause@cs.uiuc.edu>
10275         * lib/text.c: 
10276         * app/render_gdk.c (draw_string): More freetype support, now
10277         renders text.  Still broken is font selection and exporting.
10279 2002-01-30  Akira TAGOH  <tagoh@redhat.com>
10281         * objects/chronogram/chronoref.c (chronoref_create): missing gettextize
10282         for font.
10284         * objects/chronogram/chronoline.c (chronoline_create): ditto.
10286         * objects/UML/usecase.c (usecase_create): ditto.
10288         * objects/UML/state.c (state_create): ditto.
10290         * objects/UML/object.c (objet_create): ditto.
10292         * objects/UML/node.c (node_create): ditto.
10294         * objects/UML/message.c (message_create): ditto.
10296         * objects/UML/component.c (component_create): ditto.
10298         * objects/UML/classicon.c (classicon_create): ditto.
10300         * objects/UML/actor.c (actor_create): ditto.
10302         * objects/SADT/box.c (sadtbox_create): ditto.
10304         * objects/SADT/annotation.c (annotation_create): ditto.
10306         * objects/GRAFCET/transition.c (TRANSITION_FONT): ditto.
10308         * objects/GRAFCET/step.c (STEP_FONT):
10309         * (step_create): ditto.
10311         * objects/GRAFCET/condition.c (CONDITION_FONT): ditto.
10313         * objects/GRAFCET/action.c (ACTION_FONT):
10314         (action_create): ditto.
10316         * objects/FS/function.c (function_create): ditto.
10318         * objects/FS/flow.c (flow_create):
10319         (flow_load): 
10320         (flow_apply_defaults): ditto.
10322         * objects/FS/flow-poly.c (flow_create):
10323         (flow_load):
10324         (flow_apply_defaults): ditto.
10326         * objects/FS/flow-ortho.c (orthflow_create):
10327         (orthflow_load):
10328         (orthflow_apply_defaults): ditto.
10330         * objects/ER/relationship.c: use utfchar instead of char for structure.
10331         (relationship_create): name needs to convert to UTF-8.
10333         * objects/ER/attribute.c: use utfchar instead of char for structure.
10334         (attribute_create): name needs to convert to UTF-8.
10336         * objects/ER/entity.c: use utfchar instead of char for structure.
10337         (entity_create): name needs to convert to UTF-8.
10339         * app/interface.c (fill_sheet_wbox): needs to convert UTF-8 to locale
10340         encoding for tooltips, if GTK_TALKS_UTF8 isn't defined.
10341         (fill_sheet_menu): needs to convert UTF-8 to locale encoding for menu
10342         items. if GTK_TALKS_UTF8 isn't defined.
10344 2002-01-29  Akira TAGOH  <tagoh@redhat.com>
10346         * objects/UML/class.c (umlclass_calculate_data): fixed malloc size.
10347         it was my careless mistake...
10349         * lib/attributes.c (attributes_set_default_font): temporarily gettextize
10350         a font name, because there are strings which isn't shown by "Courier".
10351         We need to consider a way to feel free to choose a font at runtime.
10353         * lib/render_object.c (render_object_load): ditto.
10355         * lib/text.c (data_text): ditto.
10357         * objects/EML/instantiation.c (instantiation_create): ditto.
10359         * objects/EML/interaction-ortho.c (interaction_ortho_create):
10360         (interaction_ortho_load): ditto.
10362         * objects/EML/interaction.c (interaction_create):
10363         (interaction_load): ditto.
10365         * objects/EML/process.c (fill_in_fontdata): ditto.
10367         * objects/ER/attribute.c (attribute_create): 
10368         (attribute_load): ditto.
10370         * objects/ER/entity.c (entity_create): 
10371         (entity_load): ditto.
10373         * objects/ER/relationship.c (relationship_create): 
10374         (relationship_load): ditto.
10376         * objects/UML/association.c (association_create): 
10377         (association_load): ditto.
10379         * objects/UML/class.c (fill_in_fontdata): ditto.
10381         * objects/UML/constraint.c (constraint_create): ditto.
10383         * objects/UML/dependency.c (dependency_create): ditto.
10385         * objects/UML/generalization.c (generalization_create): ditto.
10387         * objects/UML/implements.c (implements_create): ditto.
10389         * objects/UML/large_package.c (largepackage_create): ditto.
10391         * objects/UML/note.c (note_create): ditto.
10393         * objects/UML/realizes.c (realizes_create): ditto.
10395         * objects/UML/small_package.c (smallpackage_create): ditto.
10397         * objects/custom/shape_info.h (FONT_DEFAULT): ditto.
10399         * objects/custom/custom_object.c (custom_create): ditto.
10401         * objects/network/antenna.c (render_to_store): ditto.
10403         * objects/network/computer.c (render_to_store): ditto.
10405         * objects/network/disc.c (render_to_store): ditto.
10407         * objects/network/flash.c (render_to_store): ditto.
10409         * objects/network/hub.c (render_to_store): ditto.
10411         * objects/network/modem.c (render_to_store): ditto.
10413         * objects/network/modularswitch.c (render_to_store): ditto.
10415         * objects/network/monitor.c (render_to_store): ditto.
10417         * objects/network/printer.c (render_to_store): ditto.
10419         * objects/network/rj45plug.c (render_to_store): ditto.
10421         * objects/network/scead-plug.c (render_to_store): ditto.
10423         * objects/standard/textobj.c (textobj_load): ditto.
10425         * objects/sybase/client.c (render_to_store): ditto.
10427         * objects/sybase/dataserver.c (render_to_store): ditto.
10429         * objects/sybase/ltm.c (render_to_store): ditto.
10431         * objects/sybase/repserver.c (render_to_store): ditto.
10433         * objects/sybase/rsm.c (render_to_store): ditto.
10435         * objects/sybase/stableq.c (render_to_store): ditto.
10437         * plug-ins/dxf/dxf-import.c (read_entity_text_dxf): ditto.
10439         * objects/UML/uml.h (UML_STEREOTYPE_START):
10440         (UML_STEREOTYPE_END): changes default strings.
10442 2002-01-28  Akira TAGOH  <tagoh@redhat.com>
10444         * objects/UML/stereotype.c (string_to_bracketted): fixed transaction
10445         for UTF-8 support. if GTK+ and Dia don't handle UTF-8, all of characters
10446         which is given to arguments isn't UTF-8. so don't need to convert it.
10447         if GTK+ handle UTF-8, also don't need to convert it.
10448         (strend): remove.
10449         (bracketted_to_string): fixed transaction for UTF-8 support.
10450         also start/end bracket is not necessarily 1 character. so that when use
10451         strend(), it doesn't work correctly.
10452         (string_to_stereotype): use utfchar instead of char.
10453         (remove_stereotype_from_string): ditto.
10454         (stereotype_to_string): ditto.
10456         * objects/UML/stereotype.h: ditto.
10458         * objects/UML/message.c: use utfchar instead of char for structure.
10459         (MESSAGE_CREATE_LABEL, MESSAGE_DESTROY_LABEL): remove.
10461         * objects/UML/small_package.c: use utfchar instead of char for structure.
10463         * objects/UML/realizes.c: ditto.
10465         * objects/UML/object.c: ditto.
10467         * objects/UML/large_package.c: ditto.
10469         * objects/UML/implements.c: ditto.
10471         * objects/UML/generalization.c: ditto.
10473         * objects/UML/dependency.c: ditto.
10475         * objects/UML/constraint.c: ditto.
10477         * objects/UML/component.c: ditto.
10479         * objects/UML/class_dialog.c (attributes_get_current_values):
10480         (attributes_list_new_callback, attributes_fill_in_dialog):
10481         (parameters_set_values, parameters_get_values):
10482         (parameters_get_current_values, parameters_list_new_callback):
10483         (operations_set_values, operations_get_values):
10484         (operations_get_current_values, operations_list_new_callback):
10485         (operations_fill_in_dialog, templates_set_values):
10486         (templates_get_values, templates_get_current_values):
10487         (templates_list_new_callback, templates_fill_in_dialog):
10488         fixed transaction for UTF-8 support.
10490 2002-01-27  Akira TAGOH  <tagoh@redhat.com>
10492         * objects/UML/message.c (message_draw): fixed transaction for UTF-8 support.
10494         * objects/UML/class_dialog.c (class_read_from_dialog):
10495         (class_fill_in_dialog):
10496         (attributes_get_values): ditto.
10498         * objects/UML/actor.c (actor_create): ditto.
10500         * objects/UML/class.c (umlclass_calculate_data): ditto.
10502         * objects/UML/association.c (association_apply_properties):
10503         (fill_in_dialog): ditto.
10505         * objects/UML/uml.c (uml_get_attribute_string):
10506         (uml_get_operation_string):
10507         (uml_get_parameter_string):
10508         (uml_get_formalparameter_string): use utfchar instead of char.
10510         * objects/UML/uml.h: gettextize UML_STEREOTYPE_START and
10511         UML_STEREOTYPE_END.
10513         * objects/UML/class.h: use utfchar instead of char.
10515         * lib/dia_xml.c (data_add_string): ditto.
10517         * lib/text.c (text_insert_char): fixed characters# calculation
10518         when includes multibytes character in strings.
10520 2002-01-26  Steffen Macke  <sdteffen@yahoo.com>
10522         Patch from Richard Rowell <rwrowell@bellsouth.net>:
10524         * app/lineprops_area.c:
10525         * lib/arrows.h:
10526         * lib/arrows.c: 
10527         * lib/widgets.c: added crow foot arrow and cross arrow
10528         
10529         Patch from Frank Gevaerts <frank.gevaerts@fks.be>:
10530         
10531         * plug-ins/svg/render_svg.c: fixed arcs, fill and text alignment
10533 2002-01-26  Cyrille Chepelov  <cyrille@chepelov.org>
10535         * po/update.pl (REMOVED):
10536         * po/update.sh (REMOVED):
10537         * xml-i18n-merge.in.kg (REMOVED):
10538         * xml-i18n-update.in.kg (REMOVED):
10539         * sheets/Makefile.am:
10540         * Makefile.am:
10541         * autogen.sh:
10542         * configure.in: converted from xml-i18n-tools to intltools
10544         This looks like it fixes the build bugs of the snapshot tarballs, 
10545         and it supersedes #69611.       
10547 2002-01-25  Akira TAGOH  <tagoh@redhat.com>
10549         * lib/text.c (text_insert_char): fixed characters# calculation.
10550         it's not string length.
10552         * lib/plug-ins.c (dia_plugin_info_init): when GTK_DOESNT_TALK_UTF8_WE_DO
10553         is defined, needs to convert a description to UTF-8.
10555         * app/render_gdk.c (get_text_width): fixed transaction for
10556         UTF-8 support. also should uses gdk_text_width_wc() instead
10557         of gdk_text_width().
10559         * app/render_gdk.c (draw_string): when GTK_DOESNT_TALK_UTF8_WE_DO
10560         is defined, needs to convert to locale encoding for display.
10561         Also use utfchar instead of char for argument.
10563 2002-01-24  Hans Breuer  <hans@breuer.org>
10565         * app/commands.c(edit_paste_callback and more) : 
10566         call diagram_modified(ddisp->diagram) to fix #68083
10567         (help_menu_callback) : plug a DIR leak
10569         * app/disp_callbacks.c(ddisplay_canvas_events) : handle 
10570         GTK_TALKS_UTF8_WE_DONT
10572         * app/render_gdk.c(get_text_with) : it's a bad idea to use
10573         gdk_string_with() when GTK_TALKS_UTF8_WE_DONT instead of
10574         gdk_text_width(). The length value is still questionable ...
10576         * lib/charconv.c : use functions already available in early
10577         GLIB-1.3 days whiches API hasn't changed since, to avoid
10578         version problems with the win32 build
10580         * lib/font.c : finally fix #58045 and #68208
10582         * lib/dia_xml.c (xmlDiaSaveFile) : gzdopen in binary mode
10584 2002-01-24  Akira TAGOH  <tagoh@redhat.com>
10586         * app/disp_callbacks.c (ddisplay_canvas_events): when event returned
10587         no strings, fixed transaction.
10589         * lib/charconv.h: fixed typo.
10591         * app/menus.c: fixed typo.
10593         * lib/charconv.c (charconv_utf8_strchr): remove. use uni_strchr instead.
10595         * objects/UML/object.c: attrib's type uses utfchar instead of char.
10597         * app/disp_callbacks.c (ddisplay_canvas_events): forget g_free()
10599         * lib/text.c (text_create_change): use unichar instead of char.
10601         * lib/text.c (data_add_text, data_text, apply_textstr_properties):
10602         use utfchar instead of char.
10604         * lib/text.c (text_insert_char, text_key_event): fixed transaction for
10605         UTF-8 support.
10607         * lib/charconv.c (charconv_utf8_get_char): add new function.
10609 2002-01-23  Akira TAGOH  <tagoh@redhat.com>
10611         * lib/text.c (text_delete_forward, text_delete_backward,
10612         text_split_line): fixed transaction for UTF-8 support.
10614         * lib/text.c (text_copy): when UNICODE_WORK_IN_PROGRESS is defined,
10615         strlen[] has string length for UTF-8, so has to use alloclen[].
10617         * dia.pot: remove.
10619         * .cvsignore: add dia.pot.
10621 2002-01-24  Stanislav Visnovsky  <visnovsky@nenya.ms.mff.cuni.cz>
10623         * configure.in: Added "sk" to ALL_LINGUAS.
10625 2002-01-22  Akira TAGOH  <tagoh@redhat.com>
10627         * lib/text.c (text_set_string, new_text, text_copy,
10628         text_get_string_copy, text_join_lines): use utfchar instead of gchar
10629         for strings.
10631         * lib/text.c (set_string): use charconv_utf8_strchr() instead of
10632         strchr().
10634         * lib/charconv.c (charconv_utf8_strchr): add new function.
10636         * lib/charconv.c (charconv_keyval_to_unicode): ditto.
10638         * lib/charconv.c (charconv_utf8_from_gtk_event_key): ditto.
10640         * app/disp_callbacks.c (ddisplay_canvas_events): needs to convert
10641         strings to the appropriate encoding.
10643 2002-01-22  Lars Clausen  <lrclause@cs.uiuc.edu>
10645         * app/object_ops.c (object_list_align_[hv]): Leak fix.
10647         * lib/Makefile.am (INCLUDES): Added debug flags.
10649         * app/object_ops.c: Fixed ordering problem of align equi-distant &
10650         adjacent. 
10652 2002-01-21  Akira TAGOH  <tagoh@redhat.com>
10654         * lib/font.c (font_string_width): use gdk_text_width_wc() instead of
10655         gdk_string_width().
10657         * objects/GRAFCET/boolequation.c: fixed invalid comment.
10659         * objects/UML/stereotype.c (string_to_bracketted): fixed build problem
10660         when defined UNICODE_WORK_IN_PROGRESS.
10662         * lib/dia_xml.c (data_add_string): fixed typo.
10664 2002-01-20  Akira TAGOH  <tagoh@redhat.com>
10666         * configure.in: fixed test gtk_advancement.
10668 2002-01-019  Steffen Macke  <sdteffen@yahoo.com>
10670         * plug-ins/svg/render_svg.c: fix for #69053, alignment of text
10671         exported to SVG
10673         Patch from M.C. Nelson <mcn@mani.kobayashimaru.org>: 
10675         * app/recent_files.[ch]: reworked to support GNOME, accelerators,
10676         tool tips, preferences, and arbitrarily long ~/.dia/history
10678         * app/menus.c: made 'Plugins' consistantly spelled and accelerated;
10679         removed 'Open Recent'; added new separators for recent documents on
10680         File menu.
10682         * app/interface.[ch] (interface_get_toolbox_shell): new function
10684         * app/diagram.c: added new parameter to recent_file_history_add() call
10686         * app/preferences.[ch]: added new 'Recent documents list size'
10687         preferences item
10688         
10689 2002-01-18  Akira TAGOH  <tagoh@redhat.com>
10691         * lib/font.c (font_get_gdkfont_helper): use gdk_fontset_load ().
10692         if it failed, should be used gdk_font_load ().
10694         * lib/font.c (font_data): added the font entries for CJK.
10696 2002-01-17  Steffen Macke  <sdteffen@yahoo.com>
10698         Patch from M.C. Nelson <mcn@mani.kobayashimaru.org>:
10700         * app/menus.c: replaced GDK_F1 with "F1" to fix segfault on startup
10701         
10702 2002-01-04  Cyrille Chepelov  <cyrille@chepelov.org>
10704         Patch from Martin Cracauer <cracauer@cons.org>:
10705         
10706         * app/menus.c: add missing #include <gdk/gdkkeysyms.h> (useful in the
10707         non-GNOME case ?)
10709 2002-01-01  Hans Breuer  <hans@breuer.org>
10711         * app/command.c : optional use GDI printing on windoze
10713         * app/preferences.[hc] : add option 'prefer_psprint' to 
10714         select the print engine to use (could be used for Dia/Gnome
10715         as well)
10717         * app/paginate_gdiprint.(h|cpp) : new files, which interlink the
10718         wmf plug-in with the common win32 print api. Now printing
10719         should work almost as expected from a windows program :-)
10721         * app/diagram.c app/menus.[hc] : rename _UpdatableMenuItems.delete
10722         to .edit_delete to avoid clashes with C++
10724         * app/makefile.msc : updated for GDI printing
10726         * plug-ins/wmf/wmf.cpp : some small modifications to support
10727         GDI printing. Also swap R and B channel in draw_image()
10729         * app/makefile.am : added windows only files to EXTRA_DIST
10731         * objects/uml/class.c(umlclass_set_props) : force recalculation
10732         when applying properties
10734         * lib/charconv.c lib/dia_xml.c : temporary back-ported to
10735         glib-1.3.2 (for win32) IMHO causes recent cvs introduces too
10736         many incompatible changes (and would force a gtk update)
10738         * objects/makefile.msc : don't build C-Objects which are
10739         already available as 'pure shape'
10741         * plug-ins/makefile.msc : remove diaimport from build. It was
10742         only available via mailing-list and is broken since the
10743         StdProp overhaul.
10746         Patch from Jose A Ortega Ruiz  <jaortega@acm.org>
10748         * app/preferences.[hc] : tweaked preferences.c to make 
10749         PREF_STRING work. Use it for 'diagram_tree_hidden'. Also
10750         added some more DiagramTree prefererences and their own
10751         notebook page.
10753         * app/diagram_tree.[hc] : allow to sort by object type or name
10754         and hide by type ...
10755         * app/diagram_tree_menu.[hc] : ... add respective menu entries ...
10756         * app/diagram_tree_menu_callbacks.[hc] : ... and callbacks.
10758         * app/diagram_tree_window.c : handle hidden types and window
10759         size restoring.
10761 2001-12-20  Hans Breuer  <hans@breuer.org>
10763         * plug-ins/python/Makefile.am : patch from Peter Moulder 
10764         <pmoulder@csse.monash.edu.au> to make the python plug-in
10765         compile on *nix too.
10767 2001-12-03  Cyrille Chepelov  <chepelov@calixo.net>
10769         Patch from Alan <horkana@tcd.ie>:
10771         * app/menus.c: bind the F1 shortcut to the Help/_Manual function.
10773 2001-11-20  Hans Breuer  <hans@breuer.org>
10775         * app/makefile.msc : add new diagram_tree_menu(_callbacks).obj
10777 2001-11-18  Jose A Ortega Ruiz  <jaortega@acm.org>
10779         * app/diagram_tree.[hc] : Added new functions and types for
10780         sorting diagram and objects, and attaching the popup menus.
10782         * app/preferences.h: Added more diagram tree preferences, using a
10783         DiagramTreeConfig struct in DiaPreferences. The new prefs are the
10784         height and width of the diagram tree window and the default sort
10785         orders for diagrams and objects.
10787         * app/preferences.c (prefs_data): Added new entries for the new
10788         diagram tree preferences.
10790         * app/preferences.c (prefs_tabs): New tab for diagram tree
10791         preferences.
10793         * app/diagram_tree_window.[hc] (create_diagram_tree_window): 
10794         * app/diagram_tree_window.c (diagram_tree_window_new): 
10795         * app/interface.c (create_tree_window): The diagram tree window is
10796         initialised using the DiagramTreeConfig part of prefs.
10799 2001-11-14  Jose A Ortega Ruiz  <jaortega@acm.org>
10801         * app/diagram_tree_menu.[hc]: New files. Functions to create the
10802         diagram tree popup menus.
10804         * app/diagram_tree_menu_callbacks.[hc]: New files. Callbacks for
10805         the diagram tree popup menus.
10807         * app/Makefile.am (dia_core_files): diagram_tree_menu* files
10808         added.
10810 2001-11-13  Jose A Ortega Ruiz  <jaortega@acm.org>
10812         * app/diagram_tree.c (double_click_callback, diagram_tree_new):
10813         double-clicking a diagram tree node raises the diagram window
10814         to the foreground (and, if a object node was clicked, selects the
10815         object in the diagram).
10817         * app/diagram_tree.c (select_tree_widget): selecting an object
10818         node with single click simply updates it (no raise).
10820 2001-11-08  Jose A Ortega Ruiz  <jaortega@acm.org>
10821         These changes make the diagram tree lazy: it is not created unless
10822         the diagram tree window is requested.
10823         
10824         * app/diagram_tree_window.[hc] (create_diagram_tree_window): new
10825         function for creating the tree window.
10827         * app/interface.c (create_tree_window): call
10828         create_diagram_tree_window() instead of diagram_window().
10830         * app/diagram_tree.c (diagram_tree_add, diagram_tree_remove) 
10831         (diagram_tree_update, diagram_tree_update_name) 
10832         (diagram_tree_add_object, diagram_tree_add_objects) 
10833         (diagram_tree_remove_object, diagram_tree_remove_objects) 
10834         (diagram_tree_update_object): accept a NULL tree as a nominal
10835         argument (and do nothing in this case!), so that the diagram tree
10836         is not initialised if not used.
10838         * app/diagram_tree_window.c (diagram_tree): do not create the
10839         diagram tree until diagram_window() or diagtree_show_callback()
10840         are invoked.
10842 2001-10-31  Jose A Ortega Ruiz  <jaortega@acm.org>
10843         [slightly modified and applied from Hans Breuer <hans@breuer.org>]
10845         * app/diagram_tree_window.[hc] : (new files) implementation of 
10846         the diagram tree window, a container for a diagram tree. [Removed
10847         the horizontal scroll bar glitch by disableing it]
10849         * app/diagram_tree.[hc] : (new files) implementation of the 
10850         diagram tree widget. [Don't rely on the layers GPtrArray to be
10851         NULL terminated, but use its ->len field] 
10853         * app/Makefile.am (dia_core_files): added new files
10854         diagram_tree.[hc] and diagram_tree_window.[hc]
10856         * app/interface.[hc] : (create_tree_window): this function 
10857         creates the new diagram tree window widget
10859         * app/undo.c (delete_objects_apply) (delete_objects_revert) 
10860         (insert_objects_apply) (insert_objects_revert) (group_objects_apply) 
10861         (ungroup_objects_apply) (ungroup_objects_revert): 
10862         every time that an undoable command modifies a diagram 
10863         adding/removing/(un)grouping objects, a diagram_tree_something() is 
10864         invoked to keep the diagram tree window in sync
10866         * app/properties.c (properties_apply): call to
10867         diagram_object_modified(), which updates the diagram tree window
10868         when the properties of an object are modified
10870         * app/preferences.[hc] : new "show_diagram_tree" configuration option 
10871         (whether the diagram tree window should be shown on dia startup)
10873         * app/menus.c : added '<Toolbox>/File/Diagram Tree' entry
10875         * app/diagram.h (diagram_object_modified): callback notifying of a
10876         diagram object modification
10878         * app/diagram.c (diagram_load_into): added call to
10879         diagram_tree_add() to add newly loaded diagrams to the diagram
10880         tree window
10881         (diagram_destroy): call to diagram_tree_remove() to remove a
10882         destroyed diagram from the diagram tree window
10883         (diagram_add_object): call to diagram_tree_add_object() to add an
10884         object to the diagram tree window
10885         (diagram_add_object_list): as above, but with an object list
10886         (diagram_selected_break_external): deletion of objects from the
10887         diagram is detected here, and diagram_tree_remove_object() is
10888         invoked to remove the object from the diagram tree window (it
10889         would be nice to have a diagram_remove_object() in the Diagram
10890         interface)
10891         (diagram_set_filename): update the diagram tree window when a
10892         diagram's filename changes
10894         * app/commands.c (file_new_callback): added call to
10895         diagram_tree_add() to add newly created diagrams to the diagram
10896         tree window
10898         * app/app_procs.c (app_init): added call to create_tree_window()
10900         * app/makefile.msc : updated
10902 2001-10-28  Hans Breuer  <hans@breuer.org>
10904         * app/preferences.h (DiaPreferences): 
10905         * app/preferences.c (prefs_data): new "show_diagram_tree"
10906         configuration option (whether the diagram tree window should be
10907         shown on dia startup)
10909         * app/menus.c: added the new "<Toolbox>/View/Diagram tree" menu
10910         entry (both for GNOME and gtk)
10912         * app/diagram.h (diagram_object_modified): callback notifying of a
10913         diagram object modification
10915         * app/diagram.c (diagram_load_into): added call to
10916         diagram_tree_add() to add newly loaded diagrams to the diagram
10917         tree window
10918         (diagram_destroy): call to diagram_tree_remove() to remove a
10919         destroyed diagram from the diagram tree window
10920         (diagram_add_object): call to diagram_tree_add_object() to add an
10921         object to the diagram tree window
10922         (diagram_add_object_list): as above, but with an object list
10923         (diagram_selected_break_external): deletion of objects from the
10924         diagram is detected here, and diagram_tree_remove_object() is
10925         invoked to remove the object from the diagram tree window (it
10926         would be nice to have a diagram_remove_object() in the Diagram
10927         interface)
10928         (diagram_set_filename): update the diagram tree window when a
10929         diagram's filename changes
10931         * app/commands.c (file_new_callback): added call to
10932         diagram_tree_add() to add newly created diagrams to the diagram
10933         tree window
10935         * app/app_procs.c (app_init): added call to create_tree_window()
10937 2001-10-28  Hans Breuer  <hans@breuer.org>
10939         * plug-ins/python/pydia-property.c : apparently I missed
10940         to commit this last time. Now it has some more SetAttr
10941         support (apply from property)
10943         * plug-ins/python/pydia-properties.h : added PyDiaProperty_Check
10945         * plug-ins/python/pydia-text.[ch] : new files
10947 2001-10-14  Hans Breuer  <hans@breuer.org>
10949         * lib/charconv.c : g_locale_to_utf8() does not handle NULL
10950         strings. Use g_strdup() for these.
10952         libxml2 does not produce 'any extra indentation when saving a tree'
10953         [libxml2-2.4.2/doc/upgrade.html] anymore, which was the default with
10954         libxml(1). To get human readable XML some extra tweaking is required.
10955         It is enabled by setting 'pretty_formated_xml' to 'true' in 'diarc'.
10956         * lib/dia_xml.[hc] : provide and use 'DIAVAR pretty_formated_xml'
10957         * app/preferences.[ch] : initialize 'pretty_formated_xml'
10959         * lib/libdia.def : updated externals
10961         * lib/properties.h : add prototype for prop_list_from_single ()
10963         * plug-ins/makefile.msc : build metapost plug-in
10965         * plug-ins/metapost/render_metapost.c : msvc does not like
10966         switch labels without operation 'default: }'. Added a noop.
10968         * plug-ins/python/pydia-text.[hc] : (new files) wrap DiaText
10969         * plug-ins/python/diamodule.c : added PyDiaText 
10970         * plug-ins/python/makefile.msc : dito. Also added LIBXML_CFLAGS.
10971         Although the python plug-in does not use libxml at all, the
10972         headers are required to use the lib/prop*.h headers
10974         * plug-ins/python/pydia-diagramdata.c : added wrappers for
10975         update_extents and get_sorted_selected (should I duplicate
10976         more functions from PyDiaDiagram or should they be moved?)
10978         * plug-ins/python/pydia-properties.c : allow to set (some) properties
10979         through the dictionary api
10980         * plug-ins/python/pydia-property.h : declare PyDiaProperty_ApplyToObject
10981         * plug-ins/python/pydia-property.c : implement it (currently only
10982         string properties can be set)
10984         Reimplement PyDiaProperty_GetAttr by means of the new StdProp api.
10985         Quoting myself: 'Still not convinced that this is better than an 
10986          integral property->type and some casting ...
10987          It is trading a straightforward 40 lines switch statement to
10988          this nice 'type safe' function mapping (about 125 lines)'
10989         (But now it works again, better than changing the News file :)
10990         
10991 2001-10-14  Cyrille Chepelov  <chepelov@calixo.net>
10993         patch from <robert.young@dsto.defence.gov.au>: 
10994         * objects/UML/component.c: remember to set font in UML component
10995         object (fixes #62132)   
10997 2001-10-02  Lars Clausen  <lrclause@cs.uiuc.edu>
10999         * plug-ins/metapost/metapost.c: 
11000         * plug-ins/metapost/Makefile.am:
11001         * plug-ins/metapost/render_metapost.c:
11002         * plug-ins/metapost/render_metapost.h:
11003         Metapost renderer from Chris Sperandio
11005 2001-09-14  Hans Breuer  <hans@breuer.org>
11007         * app/render_gdk.c : reflect the fact, that GTK already talks
11008         UTF8 on win32, fixes #59982, #56100, (#55992 ?) ...
11010         * lib/font.c : 
11011         * app/render_libart.c : trying to fix #58045 but it appears
11012         to be an Gdk/win32, too. 
11014         * lib/charconv.c : handle utf8 conversion with the help of
11015         glib-1.3 even in the !HAVE_UNICODE case.
11017         * lib/dia_xml.c : reduce complaing about missing encoding, by
11018         detecting if the default (utf8) would break the file.
11020 2001-09-13  Cyrille Chepelov  <chepelov@calixo.net>
11022         * lib/charconv.c: (get_local_charset): at least please try to not 
11023         silently change the logic, while avoiding crashes. 
11025         * lib/font.c: (suck_font): put a #error, we have a nasty something
11026         to fix there before we switch to Gtk 2.0.
11027         
11028 2001-09-09  Hans Breuer  <hans@breuer.org>
11030         * **/makefile.mingw : Approach to compile Dia with mingw.
11031         Compiling mostly works but running does not (yet) ... 
11033         * lib/geometry.h : 
11034         - use G_OS_WIN32 instead of _MSC_VER to drag in isinf, etc. definitions. 
11035           Apparently mingw needs it too.
11036         - enable 'normalization' of a null verctor. Otherwise the beziergon
11037           bounding box calculation would be broken at least with msvc. What's
11038           the mathematical correct result of 0.0/0.0 ?
11040         * lib/dia_xml.c : isinf() for mingw too.
11042         * lib/dia_dirs.c : use MAX_PATH instead of _MAX_PATH (works for mingw 
11043         and msvc)
11045         * lib/charconv.c : still crashes if strcmp(NULL, "UTF-8"). 
11046         Please don't do it.
11048         * lib/font.c : Trying to reflect that GTK_TALKS_UTF8_WE_DONT
11050         * lib/libdia.def : updated externals. Apparently mingw needs
11051         them to produce the right mangling.
11053         * plug-ins/shape/shape-exports.c : get prototypes for xmlStrdup
11054         and xmlDiaSaveFile
11056 2001-09-08  Wang Jian  <lark@linux.net.cn>
11058         * configure.in(ALL_LINGUAS): Renamed zh_CN.GB2312 to zh_CN
11060 2001-09-07  Cyrille Chepelov  <chepelov@calixo.net>
11062         * lib/dia_xml_libxml.h:
11063         * lib/dia_xml.c: (data_add_string), (xmlDiaSaveFile): Duplicated
11064         libxml1's code, to rework the output file before it gets committed
11065         to disk. This is rubbish, and will be removed when libxml2
11066         switches from discouraged to mandatory. 
11067         All in all, this fixes #60152. 
11068         
11069         * lib/charconv.h: 
11070         * lib/charconv.c: (charconv_unichar_to_utf8):
11071         made the type of the input parameter explicitly an unsigned long.
11073         * configure.in: Added a check for libz (we must now include it
11074         explicitly, for xmlDiaSaveFile).
11075         
11076         * app/load_save.c: (diagram_data_save):
11077         * lib/plug-ins.c: (ensure_pluginrc), (info_fill_from_pluginrc),
11078         (dia_pluginrc_write):
11079         * plug-ins/shape/shape-export.c: (new_shape_renderer),
11080         (end_render), (draw_string):
11081         * plug-ins/svg/render_svg.c: (new_svg_renderer), (end_render),
11082         (draw_string):
11084         Made sure we always write UTF-8 XML files, and through
11085         xmlDiaSaveFile().
11087         * NEWS: documented that fact.
11088         
11089 2001-09-07  James Henstridge  <james@daa.com.au>
11091         * configure.in (found_libxml): refactor the check for libxml a
11092         little so that it handles finding both libxml1 and 2 better.
11094 2001-09-03  Cyrille Chepelov  <chepelov@calixo.net>
11096         * app/app_procs.c: removed a spurious } which caused a compilation
11097         error in the (!HAVE_GNOME && HAVE_POPT_H) case
11099         * lib/charconv.c: (get_local_charset): some versions of iconv(1)
11100         don't know what ANSI X3.4-1968 is. I didn't know until this day,
11101         but it's just plain old ASCII. Added a check to shield the poor
11102         XML library.
11104         Patches from <robert.young@dsto.defence.gov.au>:
11106         * lib/text.c: (text_calc_boundingbox) Bounding box now calculates the
11107         width and height of text before calculating bounds. Fixes #59928
11109         * app/preferences.c: Moved grid related items into Grid Tab.
11110         
11111 2001-09-02  Cyrille Chepelov  <chepelov@calixo.net>
11113         * app/interface.c: (create_zoom_widget): connected one more signal
11114         to the Zoom selector combo's list. Fixes #59879.
11116         * app/app_procs.[ch]: (app_init) (do_convert)
11117         (build_output_file_name): brought back into the main executable
11118         the rare useful bits of the ill-fated diaconv. This means we have
11119         one new feature : --export-to-format (-t), which should make
11120         writing conversion scripts easier, and a crude implementation of
11121         -t and -e for the poptless argument parsing, which means the Win32
11122         port should be able to take advantage of it (that should make
11123         resolving #58197 possible).
11125         * app/diaconv.c: kept the poor duck compiling (but that's about
11126         it).
11128         * plug-ins/svg/render_svg.c: updated the SVG DTD header (I hope
11129         I've got it right).
11131         * NEWS: updated about the new feature above, and documented the 
11132         "missing encoding specification" complaint. 
11133         
11134 2001-09-01  Abel Cheung  <maddog@linux.org.hk>
11136         * configure.in: Rename zh_TW.Big5 -> zh_TW in ALL_LINGUAS.
11138 2001-09-01  Cyrille Chepelov  <chepelov@calixo.net>
11140         * objects/standard/bezier.c: used g_new0 instead of g_new, to take
11141         care of #59837.
11143 2001-09-01  James Henstridge  <james@daa.com.au>
11145         * */Makefile.am: various changes to include missing files, and fix
11146         sheets dir to handle building with builddir != srcdir.
11148         * autogen.sh: unconditionally pass the --enable-maintainer-mode
11149         and --enable-db2html flags so that builds from CVS work correctly.
11151         * configure.in: increment version number.  Also add an
11152         --enable-db2html flag.  Without the flag, db2html won't be run (if
11153         the flag is passed and db2html is not present, do nothing).
11155 2001-08-30  Cyrille Chepelov  <chepelov@calixo.net>
11157         * lib/poly_conn.c: (polyconn_copy): it's a wonder this routine
11158         even compiled. It's really too bad there is no lint tool easily
11159         available (or a more cautious, pedandic, paranoid and verbose
11160         compiler). Anyway, this fixes #59662. (this didn't affect 0.88.x)
11162 2001-08-27  Cyrille Chepelov  <chepelov@calixo.net>
11164         * app/load_save.c:
11165         * dia/lib/plug-ins.c: use g_strdup() instead of strdup(). Patch
11166         from <robert.young@dsto.defence.gov.au>. Fixes #59591.
11168         * app/menu.c: added ellipsis(...) to diagram properties menu item.
11169         * app/dia-props.c: diagram properties dialog contents did not
11170         represent current diagram settings.
11171         * app/dia-props.[ch]:
11172         * app/display.c: diagram properties contents now follows currently
11173         selected diagram.
11174         Patch also from <robert.young@dsto.defence.gov.au>, fixes #59409.
11176         * AUTHORS: added Robert Young.
11177         
11178 2001-08-27  Cyrille Chepelov  <chepelov@calixo.net>
11180         * app/modify_tool.c: (modify_button_release): Patch from
11181         <robert.young@dsto.defence.gov.au>. Fixes the remaining bit from
11182         #59090: if selection dragging was released outside of the window, 
11183         artifacts of the selection box remained.
11185 2001-08-25  Cyrille Chepelov  <chepelov@calixo.net>
11187         * Objects/custom/shape_info.c: added missing #include <xmlmemory.h>
11189 2001-08-19  Cyrille Chepelov  <chepelov@calixo.net>
11191         * configure.in:
11192         * sheets/Makefile.am: prepared the terrain for the Version of
11193         xml-i18n-tools Which Comes After 0.9 (and which will feature at
11194         last a sane behaviour with XML files). Some reasonible delay
11195         before enforcing that version *will* be given.
11197         * xml-i18n-merge.in.kg: included the current CVS xml-i18n-merge.in
11198         
11199         * lib/plug-ins.c: <xmlmemory.h> defines xmlFree(), otherwise it
11200         becomes a nonexistent symbol.
11201         
11202 2001-08-18  Hans Breuer  <hans@breuer.org>
11204         * app/app_procs.c : made it compile without ENABLE_NLS
11206         * app/diap_callbacks.c : strcmp isn't guaranteed to work
11207         with NULL pointers
11209         * app/load_save.c :
11210         * lib/plug-ins.c : 
11211         * objects/custom/shape_info.c : avoid mixing allocators and dealocators. 
11212         It has to be :
11213                 xmlGetProp, ... -> xmlFree
11214                 malloc, strdup -> free
11215                 g_new, g_malloc, g_strdup - > g_free
11217         * app/win32print.c : some more error checking, still not
11218         working on Win9x
11220         * lib/charconv.c : get_local_charset is used even with !HAVE_UNICODE
11222         * lib/dia_xml.c : msvc still has no unistd.h
11224         * lib/dia_xml.c :
11225         * lib/sheets.c : temporary resolved libxml include brokeness
11227         * plug-ins/python/pydia-*.c : reflect Font and StdProp api
11228         changes. Compiles again, but doesn't do anything useful anymore.
11229         (see THE_PROP_TYPE_IS_INTEGRAL)
11231         * **/makefile.msc : updated to use LIBXML2
11233         * lib/libdia.def : reflect api changes
11235 2001-08-17  Cyrille Chepelov  <chepelov@calixo.net>
11237         * config.h.win32: added defines telling that gtk speaks UTF8.
11238         Hans, I believe this reflects what GTK on Win32 does.
11240         * app/app_procs.c: if GTK talks UTF8, we'll feed it UTF8 localised
11241         strings.        
11242         * lib/prop_inttypes.c: 
11243         * lib/prop_text.c:
11244         * lib/prop_widgets.c: fixed typos in the GTK_TALKS_UTF8_WE_DONT
11245         code path.
11246         
11247         * lib/plug-ins.c: (dia_register_plugins_in_dir): If there is a
11248         trailing // (or whatever (G_DIR_SEPARATOR * 2) is), a recursive
11249         search for plug-ins is done.
11250         * app/Makefile.am: made app/run_dia.sh use the // capability. No
11251         need to update this anymore if we get a new plug-in library (or
11252         remove one).
11254         * lib/dia_xml.c: #include <unistd.h> was missing.
11255         
11256         * lib/properties.h: 
11257         * lib/proplist.c: (pdtpp_defaults): Added a new flag,
11258         PROP_FLAG_NO_DEFAULTS. Will be used in the "automatic defaults"
11259         support.        
11261 2001-08-16  Cyrille Chepelov  <chepelov@calixo.net>
11263         * sheets/civil.sheet: removed duplicate "Danish" entries.
11265         * autogen.sh:
11266         * configure.in: 
11267         * .cvsignore:
11268         * sheets/Makefile.am: 
11269         * po/POTFILES.in:
11270         * Makefile.am: applied the xml-i18n-tools README's instructions.
11272         * po/(da de fr hu nl nn no sl).po: merged the translations from
11273         the sheet files into the .po files. I hope I haven't mixed
11274         languages...
11275         * sheets/*.sheet (REMOVED):
11276         * sheets/*.sheet.in (NEW): moved the sheet files sans
11277         translations into .sheet.in files. 
11278         
11279         * sheets/xml-i18n-unicodify: (NEW) included from xml-i18n-tools,
11280         because we don't yet want to force all translators to work using
11281         UTF-8 editors. We'll want to do that sometime (sooner rather than
11282         later). Okay, I sing a slightly different tune in po/ChangeLog...
11284         * dia.desktop (REMOVED):
11285         * dia.desktop.in (NEW): used also the x18t infrastructure for
11286         this too.
11288         * xml-i18n-update.in.kg (NEW): This one will stay in CVS until an
11289         "official" version of x18t with support for .sheet files is available.
11290         * xml-i18n-merge.in.kg (NEW): This one will stay in CVS until an
11291         "official" version of x18t which doesn't corrupt UTF-8 data in XML
11292         is available.
11293         
11294         ** yes, we are now using xml-i18n-tools to manage the sheet
11295         translations. For the Win32 build, Nemo stores snapshots of
11296         translated strings next to the CVS snapshots. **
11298         * sheets/checktrans.py: suddenly, some sheets have lots of
11299         translations (objects which existed before sheets, mostly).
11300         Adapted the formatting.
11302         * po/README (REMOVED): this is obsolete ! It was ignored, anyway.
11304         * app/display.[ch]: (ddisplay_autoscroll), (ddisplay_scroll):
11305         * app/modify_tool.[ch]: (modify_motion): A (modified) patch from
11306         <robert.young@dsto.defence.gov.au>, to fix #59090.
11308         * app/display.c: (ddisplay_scroll): While at it, added some
11309         margin, so that autoscrolling can happen within a margin outside
11310         the diagram's extents.
11312         * app/tool.[ch]: 
11313         * app/interface.c:
11314         * app/disp_callbacks.c: Robert "forced" me to go when I usually
11315         don't, namely the app/ directory. So while I was there, I
11316         scratched a long-time itch. If no object has focus, pressing the
11317         space bar will select back the tool which was selected before the 
11318         current one (I find this especially useful with "reset after create" !)
11319         
11320         * lib/proplist.c: (prop_list_from_single): Renamed
11321         prop_list_singleton() to avoid confusion with the Singleton
11322         pattern (which it definitely is not).
11323         
11324         * lib/propobject.c: (object_prop_by_name_type),
11325         (object_prop_by_name): The "flags" parameter was not necessary.
11326         These don't return synthetic properties, but properties built from
11327         a real property description list; therefore, we don't call
11328         make_new_prop() but use the existing property descriptor, which
11329         has perfectly valid (and meaningful) flags.
11331         * lib/proplist.c: (pdtpp_synthetic), (pdtpp_from_object): These
11332         new predicates better reflect the reason why properties exist when
11333         they're created by make_new_prop() or object_prop_by_name().    
11335         * lib/propobject.c: (object_prop_by_name_type), (object_prop_by_name):
11336         * lib/prop_basic.c: (make_new_prop): used the new reasons instead
11337         of pdtpp_true().
11339         * lib/properties.h: reflects all the above changes.
11341         * objects/SADT/arrow.c:
11342         * objects/SADT/annotation.c:
11343         * sheets/SADT.sheet: minor renamings to better match FIPS 183's
11344         IDEF0 terminology.
11345         
11346 2001-08-15  Cyrille Chepelov  <chepelov@calixo.net>
11348         * lib/properties.h:
11349         * lib/proplist.c: (prop_list_singleton):
11350         * lib/propobject.c: (object_prop_by_name_type), (object_prop_by_name):
11351         Added these, to simplify interactions of plug-ins with the StdProp
11352         core.
11354         * lib/Makefile.am:
11355         * lib/dia_xml.h:
11356         * lib/dia_xml_libxml.h (NEW): 
11357         * app/load_save.c:
11358         * lib/dia_xml.c:
11359         * lib/plug-ins.c:
11360         * lib/sheet.c:
11361         * objects/custom/shape_info.c: A few prototypes were causing
11362         #include hell, because we generally attempt to not pull the whole
11363         libxml header set when we include dia_xml.h. Moved those
11364         prototypes away for the rare cases they're necessary.
11365         
11366 2001-08-15  Hans Breuer  <hans@breuer.org>
11368         * lib/font.c : made LARS_TRACE_MESSAGES Standard C conform
11370         * lib/libdia.def : 
11371         * lib/makefile.msc : updated
11373         * lib/prop_basic.c : __FUNCTION__ is a gcc extension. Please
11374         use G_GNUC_FUNCTION instead.
11376         * lib/prop_inttypes.c : include <stdlib.h> for strtol()
11378         * objects/sadt/annotation.c : disable TEMPORARY_EVENT_TEST for
11379         msvc instead of cleaning missing includes
11381         * plug-ins/wmf/wmf.cpp :
11382         * plug-ins/wmf/wmf_gdi.h : fixed for Font to DiaFont renaming
11384 2001-08-15  Cyrille Chepelov <chepelov@calixo.net>
11386         * app/app_procs.c:
11387         * app/load_save.c:
11388         * lib/dia_xml.c:
11389         * lib/plug-ins.c:
11390         * lib/sheet.c:
11391         * objects/custom/shape_info.c:
11392         * plug-ins/shape/shape-export.c:
11393         * plug-ins/svg/render_svg.c: used the libxml1/libxml2
11394         compatibility macros as taught by http://xmlsoft.org/upgrade.html;
11395         removed xmlKeepBlanksDefault(0) in favour for proper
11396         xmlIsBlankNode() testing. Lots of other fixups to use the
11397         "libxml1.5" (libxml2 parser embedded in recent libxml1), and to
11398         make libxml1 output correct files.
11400         * configure.in: use libxml2 (>= 2.3.9) if it's found, or
11401         libxml1 (>= 1.8.14). Exactly one of these must be installed (devel
11402         packages). If both devel packages are found, the build will stop 
11403         (Fredrik: please add a Build-Conflicts: on libxml2-dev for the moment) 
11405         * lib/bezier_conn.c: (bezierconn_init): Lars, you forgot to
11406         allocate the first handle :-)
11407         
11408         * lib/object.c: (object_init): <gratuitous>g_new() used instead of
11409         a cast and a sizeof.</gratuitous>
11411         * objects/custom/custom_object.c: (custom_copy): don't call
11412         text_get_attrbutes if the shape has no text...
11413         (custom_update_data): The info->resize_with_text code was a bit
11414         directive; basically, the shape's bounding box was forced to be 
11415         proportional to the text's bounding box.... This fixes #57187.
11416         
11417         * objects/custom/shape_info.c: (load_shape_info): Set an obvious
11418         default for info->aspect_ratio; unobfuscated a line about
11419         info->resize_with_text;
11420         
11421 2001-08-15  Cyrille Chepelov <chepelov@calixo.net>
11423         * lib/properties.h: added comments next to the PROP_TYPEs to tell
11424         which C Property subclass to use.
11425         
11426         * plug-ins/dxf/dxf-import.c: (read_entity_line_dxf): Removed the
11427         cast-ridden form of setting properties in a list, in favour for
11428         the "local pointers" form. I'll take any better offer...
11430 2001-08-14  Cyrille Chepelov <chepelov@calixo.net>
11431         
11432         * lib/font.c: fprintf(...) --> fprintf(format...)
11434         * configure.in: added a disabled versioned test for glib.
11435         * lib/prop_geomtypes.c: (bezpointprop_load), (bezpointprop_save),
11436         (bezpointarrayprop_load), (bezpointarrayprop_save): replaced
11437         g_critical() with a simple g_error(). Proper fix is to implement
11438         that stuff. 
11440         * lib/properties.h: PROP_STD_TEXT is a PROP_TYPE_TEXT, not a
11441         PROP_TYPE_STRING.
11442         
11443         * lib/properties.h:     
11444         * lib/propdesc.c: (prop_desc_list_calculate_quarks):
11445         * lib/proplist.c: (find_prop_by_name_and_type):
11446         * lib/prop_basic.c: (make_new_prop), (initialize_property):
11447         * lib/propoffsets.c: (do_set_props_from_offsets),
11448         (do_get_props_from_offsets), (prop_offset_list_calculate_quarks):
11449         Added a type_quark member to PropDescription, Property and
11450         PropOffset. Used it to implement a safety in
11451         do_[sg]et_props_from_offsets().
11452                 
11453         * objects/flowchart/diamond.c: the diamond's text was not saved,
11454         and thus not even copied (c&p).
11455         * objects/standard/textobj.c: ditto.
11457         Most of the above changes thanks to Robert Young's testing. Thanks !
11458         
11459 2001-08-14  Kjartan Maraas  <kmaraas@gnome.org>
11461         * sheets/*.sheet: Added some Norwegian translations (both nynorsk
11462         and bokmÃ¥l).
11463         
11464 2001-08-13  Cyrille Chepelov  <chepelov@calixo.net>
11466         * lib/proplist.c (prop_list_from_descs): added a call to
11467         prop_desc_list_calculate_quarks(). (find_prop_by_name_and_type):
11468         too embarrassing to tell.
11469         
11470         * lib/propdesc.c (prop_desc_list_calculate_quarks): converted the
11471         while loop to a for loop, for symmetry with
11472         prop_offset_list_calculate_quarks().
11474         * lib/geometry.h: new inline function, rectangle_equals.
11476         * lib/diagramdata.[ch]: refactored a bit the diagram extents
11477         computation logic, and changed it to always be the union of the
11478         visible layers' extents. This should close #58882 (Debian
11479         #107167), and fixes #55498.
11481         * app/display.c: made the initial visible box more coherent with
11482         the diagram being loaded's extents.
11484         * app/prop_attr.c: don't set the font (from offset) if font_data
11485         is NULL. Two brainos in colorprop_load() and fontprop_load().
11486         
11487 2001-08-13  Cyrille Chepelov  <chepelov@calixo.net>
11489         * lib/properties.[ch]: split in a lot of pieces: 
11491         * lib/prop_*.[ch] (NEW): all property types are now first-class
11492         objects, inheriting from the original abstract Property type.
11493         * lib/propdesc.c (NEW): property description handling routines
11494         * lib/propoffsets.c (NEW): property offset handling routines
11495         * lib/proplist.c (NEW): property list handling routines
11496         * lib/propobject.c (NEW): property list <-> object routines
11497         * lib/propregistry.c (NEW): holds the PropertyType-->PropertyOps
11498         relations.
11499         * lib/propinternals.h: prototypes for stuff not usually needed by 
11500         the outside of StdProps.
11501         * lib/Makefile.am: a lot of new files have been added...
11503         THE ABOVE CHANGES ARE MAJOR CHANGES AND AFFECT THE WHOLE TREE, IN
11504         BOTH INTERFACES AND RUN-TIME STABILITY.
11506         * lib/plug-ins.h: bumped up DIA_PLUGIN_API_VERSION
11507         
11508         * lib/object.h: removed the incestuous relationship with
11509         properties.h' contents. Now a Property list is a GPtrArray -->
11510         object interface change !
11512         * app/app_procs.c/app_init(): removed a disabled call to a
11513         non-existent routine. Added a call to stdprops_init().
11514         
11515         * objects/Makefile.am: disabled the construction of EML. I'm not
11516         touching these until a certain issue is solved (or this module
11517         removed).
11518         * app/group.c:  
11519         * objects/**/*.c except objects/EML/*: adapted all stdprop-using 
11520         objects to the interface changes.
11521         
11522         * app/disp_callbacks.c: killed a warning.
11523         * lib/dia_xml.[ch]: sprinkled "const" modifiers. 
11525         * app/commands.c: 
11526         The macros PROP_VALUE_* have disappeared. Adapted to using the new 
11527         interface.
11529         * plug-ins/dxf/dxf-import.c: 
11530         * plug-ins/xfig/xfig-import.c: 
11531         PROP_VALUE_* macros have been removed. Converted to the new API.
11533         * plug-ins/python/**/*: I gave up converting this; I can't
11534         compile --with-python (problems with object.h defined both by us
11535         and by Python). I'll gladly help whomever cares to fix it !
11536         (or, fix it myself if someone tells me how to compile it).
11537         
11538         * configure.in: added the UNICODE-related progress defines.
11539                 
11540         * configure.in:
11541         * lib/geometry.h: On Solaris and perhaps other systems, finite()
11542         is defined in ieeefp.h rather than in math.h. Patch from Andrew
11543         Halper <ashalper@acm.org> with further modifications, isinf() is
11544         provided by -lsunmath (sunmath.h).
11545         
11546         * lib/font.c: conditionally disabled Lars' debugging messages.
11547         Bracketed the definition of DiaFontFamily with #ifdef HAVE_FREETYPE.
11548         
11549 2001-08-11  Lars Clausen  <lrclause@cs.uiuc.edu>
11551         * lib/bezier_conn.h: 
11552         * objects/standard/bezier.c (bezierline_create): 
11553         * lib/bezier_conn.c (bezierconn_init): 
11554         Preparations for use of userdata for bezier lines.
11555         
11556         * objects/standard/polygon.c: 
11557         * objects/standard/create.h:
11558         * lib/polyshape.c:
11559         * lib/polyshape.h:
11560         * plug-ins/xfig/xfig-import.c:
11561         Use of user_data for polygon as well, including adding
11562         polyshape_set_points.  Include file for non-interactive 
11563         creation of standard objects, objects/standard/create.h
11565 2001-08-10  Lars Clausen  <lrclause@cs.uiuc.edu>
11567         * app/render_gdk.c: 
11568         * app/render_gdk.h: 
11569         * lib/font.c:
11570         * lib/font.h:
11571         * lib/widgets.c:
11572         More preliminary freetype support.  Not at all functional, crashes
11573         when rendering.
11575         * lib/poly_conn.h: 
11576         * lib/poly_conn.c: 
11577         * objects/standard/polyline.c: 
11578         Support for creating polyline objects with more than two points.
11579         This includes an extra function and a prototype change in the
11580         poly_conn lib object.
11582         * lib/object.c (object_copy): Fixed memory leak of handles and
11583         connections.
11585 2001-08-08  Abel Cheung  <maddog@linux.org.hk>
11587         * dia.desktop: added traditional Chinese strings
11589 2001-08-04  Cyrille Chepelov  <chepelov@calixo.net>
11591         * NEWS: updated to reflect build-time dependencies.
11593         * lib/properties.[ch]: wrote get_prop_descriptions() as a wrapper
11594         around obj->ops->describe_props(obj). Quarks are none of an
11595         object's business in the general case... 
11596         * lib/text.c: Added an apply_textattr_properties() function to
11597         factor out some common code related to applying a dialog's text
11598         attribute properties to a (Text *) which wasn't edited there. 
11599         Ditto for textstr, for the string part of an objet.
11601         * objects/GRAFCET/action.c:
11602         * objects/SADT/annotation.c:
11603         * objects/SADT/box.c: used apply_textattr_properties().
11604         
11605         * objects/UML/actor.c: 
11606         * objects/UML/branch.c:
11607         * objects/UML/component.c:
11608         * objects/UML/constraint.c:
11609         * objects/UML/small_package.c:
11610         * objects/UML/state.c:
11611         * objects/UML/usecase.c:
11612         * objects/UML/large_package.c:
11613         * objects/UML/note.c:
11614         * objects/UML/node.c:
11615         * objects/UML/message.c:
11616         * objects/UML/classicon.c:
11617         * objects/UML/object.c:
11618         * objects/UML/realizes.c:
11619         * objects/UML/dependency.c:
11620         * objects/UML/implements.c:
11621         slim-fast(tm) cure using more StdProps, and UTF-8 audit.
11622         (most objects were already using StdProps to some extent ; this
11623         systematises usage and removes some dead wood). 
11624         
11625         * objects/UML/stereotype.[ch]: use UTF-8 internally. const police work.
11626         * objects/UML/uml.[ch]: audited for UTF-8.
11628         * objects/UML/class.c: the UML_STEREOTYPE_* strings defined by
11629         uml.h can be in UTF-8... this code isn't yet ready. Duplicating a
11630         private (ISO-8859-1) definition.
11631         
11632         * lib/charconv.c: Added a warning if we didn't run
11633         nl_langinfo(CODESET) but rely instead on a hardcoded default.
11634         
11635 2001-08-02  Cyrille Chepelov  <chepelov@calixo.net>
11637         * lib/diamenu.h:
11638         * app/disp_callbacks.c: added a way for an object to cause an
11639         already realised menu to be destroyed (for instance if it changes
11640         too much).
11642         * objects/custom/custom_object.c: used the above to fix #55073.
11644 2001-08-01  Lars Clausen  <lrclause@cs.uiuc.edu>
11646         * configure.in: Remove 2.50 prereq.
11648 2001-07-30  Cyrille Chepelov  <chepelov@calixo.net>
11650         * po-checktrans.py: under some circumstances, there was one column 
11651         more than what was supposed to be, thus breaking the formatting.
11652         
11653 2001-07-29  Cyrille Chepelov  <chepelov@calixo.net>
11654         
11655         * objects/SADT/annotation.c: forgot to add a #include <stdlib.h>
11657         * NEWS: updated with new stuff since 0.88
11659         * shapes/network/antenna.shape: the text was misplaced ; fixed.
11661         * shapes/network/firewall.(shape|xpm) (NEW): a brick-wall looking
11662         firewall router (upon request from Cyril Lacoux
11663         <clacoux@easter-eggs.com>)
11665         * configure.in (didn't rename to configure.ac): autoconf 2.50
11666         constructs were used ; added an AC_PREREQ call to guard against
11667         older autoconfs.
11668         
11669 2001-07-27  Cyrille Chepelov  <chepelov@calixo.net>
11671         * lib/properties.c: minor clean-ups with the event delivery code.
11673         * EML/instantiation.c: brought this object back from stone and ice
11674         age.    
11676         * app/diaconv.c(NEW): added a command-line conversion tool. Still
11677         lacks a man page and correctness. In fact, it doesn't work. Please
11678         see #58196 if you want to finish it.
11679         
11680         * lib/message.[ch]: redefined things a little so that a different
11681         message_internal routine could be passed.
11682         applications can use that to fit themselves to the display model.
11684 2001-07-26  Cyrille Chepelov  <chepelov@calixo.net>
11686         * objects/SADT/box.c: 
11687         * objects/GRAFCET/action.c: spelling in property descriptors (name
11688         field...)
11689         * objects/SADT/annotation.c: ditto, plus a temporary test of the
11690         event delivery code (try to click on the "click me !" button !).
11692         * app/group.c: 
11693         * lib/properties.[ch]: improved (fixed) support for group event 
11694         handlers. Fixed various things from yesterday's code to make it
11695         not too obviously crash.
11697 2001-07-26  Cyrille Chepelov  <chepelov@calixo.net>
11699         * app/group.c: added delivery of events to the first member of the
11700         group which is able to process it.
11702         * lib/properties.c(prop_desc_lists_intersection): properties
11703         don't match if they don't have identical event handler.
11704         * lib/properties.h: simplified the PropEventHandler signature.
11706         Event delivery code is still untested so far, but should be
11707         lurking harmless.
11708         
11709 2001-07-25  Cyrille Chepelov  <chepelov@calixo.net>
11711         * lib/properties.[ch]: Added (untested !) property event handler
11712         capability. Added a new PROP_TYPE_BUTTON, for the purpose of
11713         generating such events. This stuff compiles, and should lurk
11714         around silently as long as you don't declare property descriptors
11715         with events (AFAICT).
11716         In object_create_props_dialog() and friends:
11717         attached a single structure with lots of data instead of lots of
11718         little attachments of data to the dialog widget.
11719         
11720         * lib/object.h: fixed mild typedef breakage introduced by the above.
11722 2001-07-17  Lars Clausen  <lrclause@cs.uiuc.edu>
11724         * lots of files: Changed Font to DiaFont
11725         * */Makefile.am: Added FREETYPE_LIBS
11726         * plug-ins/xfig/xfig-export.c: Improved (working:) color handling
11728 2001-07-13  Kjartan Maraas  <kmaraas@gnome.org>
11730         * configure.in: Added "nn" to ALL_LINGUAS.
11731         
11732 2001-07-09  Alex Larsson  <alexl@redhat.com>
11734         * app/disp_callbacks.c:
11735         Add gdk_im_ready() calls to XIM code.
11737 2001-07-04  Cyrille Chepelov  <chepelov@calixo.net>
11739         * lib/properties.[ch]: splitted prop_get_widget() into
11740         prop_get_widget() (gives a widget but doesn't fill it) and 
11741         prop_reset_widget() (fills an existing widget with a property's value).
11743         * lib/widgets.[ch]: const enforcement police work.
11745         * shapes/network/antenna.shape: added a connection point at top,
11746         upon request from <Emmanuel.Quemener@cri.ens-cachan.fr>.
11747         
11748 2001-06-25  Cyrille Chepelov  <chepelov@calixo.net>
11750         * intl/*: tested with gettext-0.10.38
11751         * configure.in: moved a macro call around (AM_PROG_CC) to keep
11752         some of autogen.sh from complaining.
11753         * INSTALL: added a warning against gettext older than at least 0.10.36
11754         
11755 2001-06-19  Cyrille Chepelov  <chepelov@calixo.net>
11757         * configure.in: added explicit calls to AM_LANGINFO_CODESET and
11758         AM_ICONV (both provided by gettext)
11760 2001-06-14  Cyrille Chepelov  <chepelov@calixo.net>
11762         * lib/charconv.c: corrected the degraded mode for when
11763         !HAVE_UNICODE. Thanks to Ben A. Hetland for reporting this.     
11765         * objects/chronoline/chronoline_events.c: UTF8 compliance.
11766         
11767 2001-06-13  Cyrille Chepelov  <chepelov@calixo.net>
11769         * lib/properties.[ch]: convenience macros around PROP_NOTEBOOKS ;
11770         new "eye candy" properties: PROP_MULTICOL_(BEGIN|PAGE|END) to lay 
11771         widgets on several columns, PROP_FRAME_(BEGIN|END) to put widgets
11772         into a frame box.
11774         * objects/chronogram/chronoline.c:
11775         * objects/chronogram/chronoref.c: took advantage of the above to
11776         make nicer looking dialogs.
11778         * lib/charconv.[ch]: added charconv_unichar_to_utf8 ("inspired"
11779         from libunicode's internals).
11780         * lib/message.c: convert strings to local encoding prior to
11781         display (UNICODE_WORK_IN_PROGRESS)
11782         * lib/properties.[ch]: convert strings to local encoding prior to
11783         display, and back to UTF8 (UNICODE_WORK_IN_PROGRESS).
11784         * lib/render.h: tagged strings as (utfchar *) instead of (char *)
11785         * lib/stringprerenderer.[ch]: ditto
11787         (lib/text.c has been audited for UTF8, but the size of the changes
11788         make them inappropriate for commit before 0.89)
11789         
11790 2001-06-12  Cyrille Chepelov  <chepelov@calixo.net>
11792         * objects/boolequation.h (<save|load>_boolequation): made the 
11793         prototypes for match the .c file.
11794         
11795         * samples/grafcet.dia: minor non-conformance with IEC-848
11796         fixed (in the transition from step 100 to step 101).
11798         * lib/properties.[ch]: added a flag (PROP_FLAG_DONT_MERGE) to
11799         disallow editing of properties if the object is part of a group.
11801         * objects/chronogram/chronoline.c: 
11802         * objects/SADT/annotation.c:
11803         * objects/SADT/box.c:
11804         * objects/GRAFCET/step.c:
11805         * objects/GRAFCET/transition.c:
11806         * objects/GRAFCET/condition.c: took advantage of PROP_FLAG_DONT_MERGE.
11807         
11808 2001-06-12  Hans Breuer  <hans@breuer.org>
11810         * lib/libdia.def : removed lazyprop exports
11811         * lib/makefile.msc : removed lazyprop.obj
11813         * objects/custom/custom_objects.c : use HAVE_UNISTD_H
11814         and avoid crashes by always creating a custom->text,
11815         when (custom->info->has_text) 
11817         * objects/makefile.msc : removed sybase from build
11819         * objects/GRAFCET/boolequation.c (<save|load>_boolequation) :
11820         ObjectNode is a pointer already, which is what we want
11821         instead of a pointer pointer.
11823         * plug-ins/wmf/wmf.cpp : fixed problem with arc scaling
11824         and implemented working export for images
11826         * shapes/network/zip-disk.shape : added connection points 
11828 2001-06-12  Cyrille Chepelov  <chepelov@calixo.net>
11830         * objects/SADT/box.c: removed lazyprops for standard props.
11831         * objects/chronograms/chronoline.c: removed lazyprops (phew !)
11832         * objects/chronograms/chronoref.c: ditto 
11834         * lib/Makefile.am:
11835         * lib/dummy_dep.h:
11836         * lib/connpoint_line.c:
11837         * lib/lazyprops.[ch] (DELETED): good riddance (closes #55895)
11838         * lib/properties.[ch]: new property types:
11839             - PROP_TYPE_STATIC: static text to be displayed in the dialog.
11840             - PROP_TYPE_MULTISTRING: same as string, but renders as a
11841             multi-line entry box.
11842             - PROP_TYPE_NOTEBOOK_BEGIN,_PAGE,_END: stuff to make dialogs
11843             in a tabbed-notebook style (this is a bit complicated to use; 
11844             see objects/chronograms/chronoline.c for an example).
11845                
11846 2001-06-11  Cyrille Chepelov  <chepelov@calixo.net>
11848         * objects/GRAFCET/boolequation.[ch]: zap lazyprops. Add standard props.
11849         * objects/GRAFCET/step.c: ditto.
11850         * objects/GRAFCET/vector.c: ditto.
11851         * objects/SADT/annotation.c: ditto.
11852         * objects/SADT/arrow.c: ditto (plus bounding box fixes).
11853         
11854         * lib/properties.[ch]: two more non-visible types
11855         (PROP_TYPE_ENUMARRAY and PROP_TYPE_INTARRAY).
11857         * lib/neworthconn.[ch]:
11858         * lib/orthconn.[ch]: added support for manipulation through
11859         standard properties.
11861         * configure.in: removed -fomit-frame-pointer, this seems to
11862         confuse recent gcc/gdb's, maybe we'll get better stack dumps in 
11863         bugzilla.
11865         * charconv.[ch]: more functions from unicode.h.
11866         get_local_charset() wasn't working properly, fixed now.
11867         A subtle crashbug in charconv_utf8_to_local8() nailed (thanks to 
11868         ElectricFence !)
11869         
11870         * objects/EML/process.h: pulled the bits of lazyprops.h it uses.
11871         * lib/lazyprops.[ch]: put a big fat warning in.
11873         * app/render_eps.c: one line mysteriously went away, causing a
11874         variable to be used uninitialised....
11876 2001-06-10  Cyrille Chepelov  <chepelov@calixo.net>
11878         * app/app_procs.c: commented out the call to
11879         bind_textdomain_codeset(): it's premature.
11880         
11881         * lib/connpoint_line.c: a NULL point can be given to
11882         connpointline_adjust_count(), in case there's not really a clicked
11883         point.
11885         * lib/textattr.h(NEW): moved the definition of TextAttributes to sort
11886         #include order troubles. #included by lib/text.h, so there is no 
11887         impact outside lib/.
11888         * lib/properties.[ch]: added support for CONNPOINT_LINE and
11889         (nonvisible) TEXT properties.
11891         * objects/GRAFCET/action.c:
11892         * objects/GRAFCET/vergent.c: dropped lazyprops for standard
11893         properties.
11894         
11895         * objects/UML/lifeline.c: pruned some legacy stuff (now pure
11896         standard properties code). Grafted a dynamic number of connection
11897         points (heavily inspired from what Vergent does). This is the real
11898         fix for #55863.
11900         * objects/GRAFCET/boolequation.[ch]: audited for UTF-8
11902         * lib/fonts.c: some hardening (mostly g_assert())
11903 2001-06-09  Cyrille Chepelov  <chepelov@calixo.net>
11905         * app/app_procs.c (app_init): added a call to
11906         bind_textdomain_codeset() so that gettext gives us UTF-8 strings
11907         (UNICODE_WORK_IN_PROGRESS).
11908         
11909 2001-06-08  Cyrille Chepelov  <chepelov@calixo.net>
11911         * plug-ins/xfig/xfig-import.c: corrected a typo (fixes #55910)
11913         * objects/UML/lifeline.c: patch from Marc <mrw@siemens.ch> 
11914         (fixes #55863) : some clean-ups in the handling of connection
11915         points. Now the total number of connection points is just a
11916         #define (the proper solution is to retrofit the GRAFCET Vergent's
11917         dynamic behaviour wrt connection points).
11918         
11919 2001-06-07  Cyrille Chepelov  <chepelov@calixo.net>
11921         * app/app_procs.c (app_init): added a call to unicode_init() (only
11922         if HAVE_UNICODE, of course).
11924         * lib/charconv.c: simplified the code which detects the local
11925         charset. No need to use <langinfo.h>, libunicode already takes the
11926         burden of figuring that out. Also, if local charset is utf8, no
11927         conversion will take place.
11928         Exposed a way to get the current charset (similar to
11929         unicode_get_charset() but actually working, hopefully).
11931         * lib/charconv.h: Added a partial non-UTF8 implementation of
11932         unicode.h if !HAVE_UNICODE (actually, all the time for the
11933         moment). The UTF8 implementation is just macros on libunicode (use
11934         the functions prefixed by uni_, as defined by charconv.h, not
11935         unicode_, unless that code is to be compiled only if HAVE_UNICODE).
11936         From now on, all strings which don't *need* to be ASCII should be
11937         utfchar *, not gchar *. Just include charconv.h, let it sort out
11938         the details (such as: "is libunicode available and enabled?") 
11940         * lib/ps-utf8.c: fixed a few name clashes. Used the charconv.h
11941         "API" instead of directly libunicode. Removed the now unnecessary
11942         speculative clustering of characters in encoding pages.
11944         * app/render_eps.c: made the local8->utf8 conversions dependent of
11945         !UNICODE_WORK_IN_PROGRESS (this is not where the local8/utf8
11946         boundary will be when this WIP is done).
11948         * lib/dia_xml.c (data_point): fixed a format string typo.
11950         * po/POTFILES.in: added all C files from lib/ 
11951         
11952 2001-06-06  Cyrille Chepelov  <chepelov@calixo.net>
11954         * app/disp_callbacks.c: make sure the objects' connected objects
11955         are updated when the objects' size changes after a keypress event
11956         (fixes #51222)
11958         * configure.in: added a big warning about the possible future
11959         non-optionality of --enable-unicode. 
11961         * TODO: removed entries which look like done ; added a few ones
11962         (Bugzilla "enhancement" bugs may be a better way to keep track of
11963         this)
11964         
11965 2001-06-05  Cyrille Chepelov  <chepelov@calixo.net>
11967         * objects/UML/message.c: got rid of #55564 and of message_copy()
11968         by using more standard properties (are the message_state_*()
11969         functions still necessary ?)
11971 2001-06-04  Fredrik Hallenberg  <hallon@lysator.liu.se>
11973         * lib/plug-ins.c: 
11974         * objecs/custom/shape_info.c:
11975         * plug-ins/shape/shape-export.c:
11976         * plug-ins/svg/render_svg.c: patch from obecian <obecian@openbsd.org>
11977         use xmlChar instead of obsolete CHAR.
11979 2001-06-03  Hans Breuer  <hans@breuer.org>
11981         * app/diagram.h : added prototype for diagram_update_menu_sensitivity()
11982         * app/commands.c : give the right number of parameters
11983         to diagram_update_menu_sensitivity ()
11985         * app/preferences.c : do proper initialization for DiaPrefsData:
11986         render_bounding_boxes. It would be a real surprise if 'hidden'
11987         properties would have ever worked before.
11988         Don't try to access the widgets of hidden property, it does not
11989         have one.
11991         * lib/diagramdata.h : make render_bounding_boxes a DIAVAR, cause
11992         it is defined in libdia, but initialized from dia app, which 
11993         otherwise gave nice start-up crashes.
11995         * lib/diagramdata.c : initialize the color for rendering bounding 
11996         boxes in the Dia range (0 .. 1.0)
11998         * lib/libdia.def : added *_bbox functions for export
12000         * lib/makefile.msc : added new sources
12002         * objects/custom/custom_object.c : use HAVE_UNISTD_H
12004 2001-05-30  Cyrille Chepelov  <chepelov@calixo.net>
12006         * app/interface.c:
12007         * app/menus.c: patch from Hubert Figuiere <hfiguiere@teaser.fr> ;
12008         removes a translation of menus (in a place where there shouldn't
12009         have been), which gets rid of a waterfall of warnings if LANG!=C,
12010         and a fix to #55047.
12012 2001-05-29  Steffen Macke     <sdteffen@yahoo.com>
12014         * lib/charconv.c : added #include <errno.h>
12016         * app/dia_embedd.c : updated menus_get_item_from_path usage
12017         
12018 2001-05-27  Cyrille Chepelov  <chepelov@calixo.net>
12020         * lib/ps-utf8.c: Strings in Symbol fonts were incorrectly rendered.
12021         Added a special case for Symbol strings, so that they're not
12022         re-encoded using the LN encoding (we use the bare Adobe encoding
12023         instead).
12025         * objects/custom/custom_object.c: Now that #52912 is fixed,
12026         I could remove the ugly hack I wrote to squash the shape bounding box
12027         problem shown by Ben A. Hetland a few months ago, and fix it
12028         properly this time.
12029         
12030         * lib/text.c: enlarged a little the bounding box to account for
12031         the cursor in rightmost position.
12032         
12033         * lib/diagramdata.c: draw bounding boxes only if the relevant
12034         variable is set (as before), but also only if the rendere is
12035         interactive (ie, don't bother rendering bounding boxes on 
12036         Postscript...)
12037         Made the bounding box's line width a fixed value, 0.01
12038         
12039         * lib/boundingbox.c: fixed the "pointy corners" code for polylines
12040         and assymmetric control beziers. Implemented ellipse_bbox().
12041         
12042         * Makefile.am: incantations to get po/dia.pot build, as suggested
12043         by Hubert in #55075.
12044         
12045         * shapes/network/computer.shape: typo fixed.
12046         * shapes/network/antenna.shape: fixed #55074 (antenna is now
12047         properly translucent, except for its base where it makes sense. It
12048         doesn't look that ugly anymore if transparent mode is on).
12050         * configure.in: --enable-unicode is now the default. This
12051         still currently affects only printing.
12052         
12053 2001-05-26  Cyrille Chepelov  <chepelov@calixo.net>
12055         * lib/boundingbox.c: fixed a minor logic error wrt closed shapes. 
12056         The overshoot code is buggy, and the bounding boxes for polyshapes
12057         looks a bit cheezy. To be done ASAP.
12059 2001-05-26  James Henstridge  <james@daa.com.au>
12061         * configure.in: call AM_PATH_PYTHON rather than AM_PATH_PYTHON_JH.
12062         This should clear up some of the build problems people have been
12063         having.
12065         * acinclude.m4: call AM_PATH_PYTHON_JH AM_PATH_PYTHON
12067 2001-05-26  Cyrille Chepelov  <chepelov@calixo.net>
12069         * lib/Makefile.am:
12070         * lib/boundingbox.[ch] (NEW): (some) refactoring of the bounding
12071         box code (beginning with lines, polylines and polybeziers), into a
12072         more generic facility. While at it, a better shot at correctly
12073         computing the bounding box of a Bezieroid (should take care of
12074         #53424, #51233 and of course is part 1 of #52912).
12076         * lib/diagramdata.c: turned the RENDER_BOUNDING_BOXES conditional
12077         into a hidden preference (set render_bounding_boxes in diarc).
12078         * app/preferences.[ch]: Added support for hidden preferences.
12080         * lib/geometry.[ch]: sprinkled with "const" modifiers.
12081         
12082         * lib/bezier_conn.[ch]:
12083         * lib/beziershape.[ch]:
12084         * lib/connection.[ch]:
12085         * lib/element.[ch]:
12086         * lib/poly_conn.[ch]:
12087         * lib/orth_conn.[ch]:
12088         * lib/neworth_conn.[ch]:
12089         * lib/polyshape.[ch]: adapted to take advantage of
12090         boundingbox.[ch] instead of relying on private (duplicate) code.
12092         * object/FS/flow.c:
12093         * object/GRAFCET/action.c:
12094         * objects/GRAFCET/condition.c:
12095         * objects/GRAFCET/vergent.c:
12096         * objects/GRAFCET/vector.c:
12097         * objects/SADT/annotation.c:
12098         * objects/SADT/arrow.c:
12099         * objects/ER/participation.c:
12100         * objects/UML/constraint.c:
12101         * objects/UML/implements.c:
12102         * objects/UML/lifeline.c:
12103         * objects/UML/message.c:
12104         * objects/UML/realizes.c:
12105         * objects/UML/generalization.c:
12106         * objects/UML/association.c:
12107         * objects/UML/dependency.c:
12108         * objects/FS/flow-ortho.c:
12109         * objects/network/bus.c:
12110         * objects/standard/arc.c:
12111         * objects/standard/bezier.c:
12112         * objects/standard/beziergon.c:
12113         * objects/standard/line.c:
12114         * objects/standard/polygon.c:
12115         * objects/standard/zigzagline.c:
12116         
12117         * objects/standard/polyline.c: Some *BBExtras structures changed
12118         names while moving to boundingbox.[ch]. A trivial mass-renaming.
12119         
12120 2001-05-20  Cyrille Chepelov  <chepelov@calixo.net>
12122         * app/disp_callbacks.c (ddisplay_canvas_events): Take into account
12123         wheel mouses for scrolling (from Patrick Sung <phsung@ualberta.ca>)
12125         * app/display.c (ddisplay_update_scrollbars): from Patrick's
12126         suggestion, remove the extra scrollable area (it was only visible
12127         to the scrollbars). This is experimental.
12128         
12129         * objects/custom/custom_object.c: If a shape's icon file doesn't 
12130         exist, warn and substitute a default icon, instead of crashing.
12131         (fixes #52913)
12132         
12133         * objects/network/network.c:
12134         * shapes/network/modularswitch.(shape|xpm) (NEW):
12135         * shapes/network/printer.(shape|xpm) (NEW):
12136         * shapes/network/genmonitor.(shape|xpm) (NEW):
12137         * shapes/network/computer.(shape|xpm) (NEW):
12138         * shapes/network/Makefile.am: four less objects, four more shapes.
12139         These were the last known RenderObjects. (phew !)
12141         * lib/Makefile.am:
12142         * lib/dummy_dep.h:
12143         * objects/sybase/Makefile.am: 
12144         * objects/network/Makefile.am: Removed the older Renderobjects
12145         from the build, and their infrastructure (not yet deleted,
12146         though).
12148         * shapes/network/sceadplug.shape:
12149         * shapes/network/antenna.shape:
12150         * shapes/network/modem.shape:
12151         * shapes/network/hub.shape:
12152         * shapes/network/rj45plug.shape:
12153         * shapes/sybase/client.shape:
12154         * shapes/sybase/dataserver.shape:
12155         * shapes/sybase/ltm.shape:
12156         * shapes/sybase/repserver.shape:
12157         * shapes/sybase/rsm.shape:
12158         * shapes/sybase/stableq.shape: Minor corrections (line widths were
12159         ten times too narrow).
12160         
12161 2001-05-19  Cyrille Chepelov  <chepelov@calixo.net>
12163         * objects/network/network.c:
12164         * shapes/network/sceadplug.(shape|xpm) (NEW):
12165         * shapes/network/antenna.(shape|xpm) (NEW):
12166         * shapes/network/modem.(shape|xpm) (NEW):
12167         * shapes/network/Makefile.am: four less objects, four more shapes.
12168         
12169         * lib/Makefile.am:
12170         * lib/diagramdata.c:
12171         * lib/render.h:
12172         * lib/string_prerenderer.[ch] (NEW):
12173         Add a new renderer primitive, predraw_string() (does nothing, to be
12174         used as a hook to optimise the character encodings if needed). 
12175         Added a string pre-renderer, which can be viewed as a filter
12176         renderer (to route draw_string() to predraw_string() and ignore
12177         the rest, in a first rendering pass)
12178         
12179         * app/render_eps.c: Took advantage of the above to make wholly
12180         optimised Postscript encoding page(s), even (especially) with 
12181         non-latin1 code (HAVE_UNICODE must be true).
12183         (#53512 in fact is wholly resolved).
12184         
12185 2001-05-18  Cyrille Chepelov  <chepelov@calixo.net>
12187         * lib/charconv.c: steps towards resolution of #53512 (inspired by
12188         Alexey Novodvorsky <aen@logic.ru>'s patch).
12190         * app/menus.c (dia_menu_signal_proxy): checked that the signal
12191         handler is not NULL before transferring control to it... (fixes #52836)
12193         * app/app_procs.c (app_init): removed non-constant initialiser
12194         (fixes #52950)
12196         * objects/custom/custom_object.c:
12197         * objects/custom/shape_info.[ch]:
12198         * objects/custom/test.xml: merged patch #53476 from Steven Hawkins 
12199         <skh@mathstar.com>. This add support for a <svg:text> shape
12200         element, and some related style properties (font, font height, 
12201         alignment)
12203         * doc/custom_shapes: a precision about the meaning of case in a
12204         SVG path (closes #52364)
12206         * lib/dummy_dep.h: fix for SGI IRIX 6.2 (#53053, reported and
12207         fixed by <drk@sgi.com>)
12208         
12209 2001-05-17  Cyrille Chepelov  <chepelov@calixo.net>
12211         * objects/network/network.c:
12212         * shapes/network/Makefile.am:
12213         * shapes/network/hub.(shape|xpm) (NEW):
12214         * shapes/network/flash.(shape|xpm) (NEW):
12215         * shapes/network/rj45plug.(shape|xpm) (NEW):
12216         More shapes, less renderobjects.
12218 2001-05-16  Cyrille Chepelov  <chepelov@calixo.net>
12219         
12220         * plug-ins/svg/render_svg.c: typo made exported ellipses
12221         corrupted (zero Y pseudo-radius).
12223         * objects/network/network.c:
12224         * objects/network/disc.c:
12225         * shapes/network/disc.(shape|xpm): Converted the first
12226         Renderobject into a shape. Normally, old diagrams should reload
12227         without problems (please check this against your diagrams). More
12228         flexibility should be gained that way. I intend to hunt and
12229         eradicate all renderobjects as I can commit cycles to that. 
12231         * objects/Makefile.am:
12232         * configure.in:
12233         * app/Makefile.am:
12234         * objects/sybase/sybase.c:
12235         * shapes/sybase/Makefile.am(NEW):
12236         * shapes/sybase/client.(xpm|shape) (NEW):
12237         * shapes/sybase/dataserver.(xpm|shape) (NEW):
12238         * shapes/sybase/ltm.(xpm|shape) (NEW):
12239         * shapes/sybase/repserver.(xpm|shape) (NEW):
12240         * shapes/sybase/rsm.(xpm|shape) (NEW):
12241         * shapes/sybase/stableq.(xpm|shape) (NEW): converted Sybase
12242         renderobjects into shapes. The Sybase objects are now not compiled
12243         anymore, and ready to be nuked if nobody objects in the next few weeks.
12244         
12245         * app/commands.c:
12246         * app/diagram.[ch]:
12247         * app/disp_callbacks.c:
12248         * app/display.[ch]:
12249         * app/interface.[ch]:
12250         * app/menus.[ch]:
12251         * app/modify_tool.c:
12252         * app/preferences.[ch]:
12253         * app/recent_files.c:
12254         * app/select.c: Added patch #52364 from Hubert Figuiere. This adds
12255         a menu bar reflecting the popup menu, to each display window. This
12256         is optional (changing the preference currently doesn't affect
12257         already opened windows; a few other rough edges to cut).
12259         * plug-ins/wpg/wpg.c:
12260         * plug-ins/xfig/xfig-import.c:
12261         * plug-ins/python/pydia-property.c:
12262         * plug-ins/python/pydia-properties.c:
12263         * plug-ins/python/pydia-geometry.c:
12264         * plug-ins/pstricks/render_pstricks.c:
12265         * lib/arrows.c:
12266         * objects/EML/dbox.c:
12267         * lib/ps-utf8.c: paleolithic C compilers choke on //. Should fix 
12268         #53054.
12270         * lib/ps-utf8.c: improved the clustering of alphabetic character
12271         definitions in custom encodings pages.
12272         
12273 2001-05-02  Hans Breuer  <hans@breuer.org>
12275         * lib/object.h : OBJECT_COMMON_PROPERTIES_OFFSETS correct type 
12276         of 'obj_bb' to PROP_TYPE_RECT
12278         * objects/custom/custom_object.c : take all quarks into account, 
12279         not only 4 as copy&paste suggests
12281         * objects/uml/objects.c : completed the implementation of the
12282         property api to avoid reading of totally bogus data. Removed
12283         the PROBABLY_DEAD_CODE. It actually was dead code, but not because
12284         there was too much but too less ...
12285   
12286         The above changes removed all known crashes (mentioned below) 
12287         from the Property API. Property access is still incomplete though.
12289         * objects/flowchart/box.c :
12290         * objects/flowchart/diamond.c :
12291         * objects/flowchart/ellipse.c :
12292         * objects/flowchart/parallelogram.c :
12293         * objects/uml/classicon.c :
12294         * objects/uml/state.c : calculate number of quarks from quark array 
12295         size instead of using hardcoded values for consistence and to avoid 
12296         future bugs like the above
12297         
12298         * objects/eml/nlist.c : include <string.h> for strcmp()
12300         * lib/dia_xml.c : relax g_warning for values, which
12301         appear to be too small. There is nothing which prevents
12302         them while saving
12304         * plug-ins/python/pydia-geometry.c : changed stringifying of
12305         geometry objects accept BezPoint back to %f, which does not
12306         crash anymore, because all the data is intialized now and it
12307         simply is more readable than %e ...
12309         * plug-ins/python/python-startup.py : removed dependency
12310         to PyGtk, because it isn't required here and probably won't
12311         in i.e.: export filters.
12313         * plug-ins/python/gtkcons.py : create the gtkoutfile even
12314         if sys.stderr.fileno() isn't supported
12316         * app/makefile.msc : make version 0.88
12317         * plug-ins/makefile.msc : make version 0.88 an added new
12318         xfig files to build
12320 2001-05-11  James Henstridge  <james@daa.com.au>
12322         * NEWS: remember to add news items this time.
12324         * dia.spec: update spec file for 0.88 release.
12326         * configure.in: up version number to 0.88
12328         * plug-ins/python/Makefile.am (EXTRA_DIST): fix up typo that was
12329         preventing any of the useful python scripts from being
12330         distributed.
12332         * sheets/Makefile.am (sheet-translation-report): fix bustage I
12333         introduced in my fixups for the 0.87 release :(
12335 2001-05-10  Lars Clausen  <lrclause@cs.uiuc.edu>
12337         * plug-ins/xfig/xfig-import.c: Finally got groups working.
12339 2001-05-09  Lars Clausen  <lrclause@cs.uiuc.edu>
12341         * plug-ins/xfig/xfig-import.c: Improvements to error handling and
12342         group manipulation.
12344 2001-05-09  Cyrille Chepelov  <chepelov@calixo.net>
12346         * lib/ps-utf8.[ch]:
12347         * lib/Makefile.am: fix makefile breakage which led to not
12348         including ps-utf8.[ch] in the released tarballs. 
12350 2001-05-09  James Henstridge  <james@daa.com.au>
12352         * Makefile.am (core-translation-report): dist scripts needed for
12353         this target, and change to $(srcdir) before running.
12355         * sheets/Makefile.am (EXTRA_DIST): actually dist the sheets.  DATA
12356         files aren't automatically included in the tarball by automake
12357         because they could be generated files.
12359         * objects/EML/Makefile.am (EXTRA_DIST): fix directory names.
12361         * doc/en/Makefile.am (install-data-hook): fix up where graphics
12362         are installed.
12364         * configure.in: up version number to 0.87
12366         * plug-ins/python/*.py: no longer necessary to explicitly set
12367         sys.argv, as python.c does it for us now (like it should).
12369         * plug-ins/python/gtkcons.py: fix up so it plays nicely as a dia
12370         python plugin.
12372         * plug-ins/python/python-startup.py: startup script that imports
12373         all modules in $(datadir)/dia/python and ~/.dia/python.
12375         * plug-ins/python/python.c (dia_plugin_init): change so that it
12376         only runs the $(datadir)/dia/python-startup.py script.  Make sure
12377         that sys.argv and __main__.__file__ are set when calling the
12378         startup script.
12380         * plug-ins/python/Makefile.am: update makefile.  Make it install
12381         gtkcons.py plugin.  I haven't set any other plugins to install, as
12382         they look like they are mainly for debugging purposes.
12384         * configure.in: add tests to detect if python is available, so we
12385         can build the python plugin.  Only run if --with-python passed to
12386         configure.
12388 2001-05-08  James Henstridge  <james@daa.com.au>
12390         * acinclude.m4: add macros for detecting python.
12392         * app/menus.c (dia_gnome_menu_get_widget): handle paths that point
12393         at GNOME_APP_UI_SUBTREE entries.
12394         (menus_add_path): function to add a menu item to the menubars.
12395         Uses a hash table to keep track of extra menu items it adds.  Also
12396         notifies the item factory about the entries so that accels can be
12397         saved for them.
12398         (menus_add_path): implement gtk only version.
12399         (menus_init): use menus_add_path() to add the menu.
12400         (plugin_callback): simplify.
12402 2001-05-08  Steffen Macke <sdteffen@yahoo.com>
12404         * app/menu.c: removed #ifndef GNOME; GNOME build was broken
12405         
12406 2001-05-08  Lars Clausen  <lrclause@cs.uiuc.edu>
12408         * plug-ins/xfig/xfig-export.c: 
12409         * plug-ins/xfig/xfig-common.c: 
12410         * plug-ins/xfig/xfig-import.c: 
12411         * plug-ins/xfig/xfig.c: 
12412         * plug-ins/xfig/xfig.h: 
12413         * app/Makefile.am: Added support for exporting to Fig format
12414         (except splits, which are less powerful in Fig).  Some refactoring
12415         along the way.
12417 2001-05-02  Hans Breuer  <hans@breuer.org>
12419         * plug-ins/python/debug_objects.py : added another
12420         test to get massive crashes from the Property API due
12421         to unintialized data.
12423         * app/menu.c : the callback_action wasn't incremented
12424         (should have checked my last optimization). Now more
12425         than one plug-in callback is supported again.
12427         * plug-ins/python/pydia-geometry.c : avoid crashes from
12428         glib, when trying to g_strdup_printf unintialized floats.
12430         * plug-ins/python/pydia-property.c : avoid crashes from
12431         because of string_data == NULL (PROP_TYPE_FILE, PROP_TYPE_STRING)
12433 2001-05-01  Hans Breuer  <hans@breuer.org>
12435         * objects/makefile.msc : added eml
12436         * objects/eml/instantiation.c : initialize 'inst' pointer
12437         before using, zero initialization for objects
12438         * objects/eml/interaction-ortho.c :
12439         * objects/eml/interaction.c : zero initialization for objects
12441         * app/menus.c : removed Gimp mru stuff which slipped in at
12442         2000-08-15, was never activated and will never be needed, 
12443         because of Steffens recent file list patch added at 2001-01-05.
12445         * objects/eml/*.c : some more zero initialization of objects
12446         to avoid infinite (uninitialized) bounding boxes
12448         Implemented a callback api which allows plug-ins to register
12449         menu call backs. Dia for Gnome should compile, but will need 
12450         some extra tweaking to make it work because I can't test it.
12452         * plug-ins/python/pydia-error.h :
12453         * plug-ins/python/pydia-render.c : moved Pxthon function return 
12454         value handling from pydia-render.c to pydia-error.h, to make it
12455         usable for
12456         * plug-ins/python/diamodule.c : implement callback function
12457         registration from and relaying to Python code
12459         * app/menus.c : register and use plug-in menu callbacks
12461         * lib/filter.[hc] : implement filter_register_callback() and
12462         filter_get_callbacks() for the above
12463         * lib/libdia.def : export them
12465         * plug-ins/python/debug_objects.py (new file): 
12466         sample using the above
12468 2001-04-27  Lars Clausen  <lrclause@cs.uiuc.edu>
12470         * plug-ins/shape/shape-export.c (new_shape_renderer): 
12471         The name of a shape is now taken from the dir, to conform with
12472         standard naming.
12474 2001-04-25  Lars Clausen  <lrclause@cs.uiuc.edu>
12476         * app/properties.c (properties_show): Added title containing
12477         object type, plus (hopefully) fix of the ghost properties dialog.
12479 2001-04-16  Cyrille Chepelov  <chepelov@calixo.net>
12481         * app/display.c: remove the display idle handler in case we
12482         destroy the ddisplay (caused crashes in ddd, probably random
12483         crashes elsewhere).
12485         * autogen.sh: 
12486         * configure.in:
12487         * Makefile.am: hack around gettext-0.10.36's new "features".
12488         
12489         * lib/properties.[ch]: added new function object_copy_props().
12490         Added new property type PROP_TYPE_ENDPOINTS
12492         * lib/connection.h: added support for load/saving through the
12493         properties interface.
12495         * lib/object.[ch]: object_load/save/copy_using_properties()
12496         support functions (code factorisations).
12497         
12498         * objects/GRAFCET/boolequation.c: check against null values in
12499         boolequation_set_value() and boolequation_destroy().
12501         * objects/GRAFCET/transition.c: Converted from lazyprops to
12502         standard properties. 31% less (x86) code !
12504         * objects/GRAFCET/condition.c: also converted from lazyprops to
12505         standard properties. Also killed lots of code.
12506         
12507 2001-04-13  Hans Breuer  <hans@breuer.org>
12509         * plug-ins/wmf/wmf.cpp : changed text conversion from
12510         g_utf8_utf16 to g_convert usage. The latter function is already
12511         available in tml's last "official" Gtk+ version (2000-12-26).
12512         This change allows to use recent Dia with either the official
12513         version or the latest cvs "gtk-1-3-win32-production"-branch.
12515 2001-04-14  Lars Clausen  <lrclause@cs.uiuc.edu>
12517         * Patch from David S. Thompson <dcthomp@mail.utexas.edu>:
12518         * app/disp_callbacks.c:
12519         - Allow submenus in DiaMenus.
12520         - Don't require DiaMenu.title to be non-null (so that
12521           submenus aren't required to have titles)
12523         * objects/FS/function.c:
12524         - object menu now has submenus, an almost complete list of
12525           standard-basis verbs, and a start on nouns.
12526         - box padding, dash length, and other visual attributes are
12527           scaled by the font size... eventually font height will be
12528           a function property.
12529         - draw functions with smaller font to make initial view hold
12530           a reasonable number of functions.
12531         
12532 2001-04-13  Cyrille Chepelov  <chepelov@calixo.net>
12534         * sheets/ER.sheet:
12535         * sheets/chronogram.sheet:
12536         * sheets/jigsaw.sheet:
12537         * sheets/sybase.sheet: Updated Dutch sheet translations from Dag
12538         Wieers <dag@wieers.com>
12540 2001-04-13  Hans Breuer  <hans@breuer.org>
12542         * app/app_procs.c (app_exit) : added g_return_if_fail (!app_exit_once)
12543         to ensure that all the deinitialization is only done once. Fixes
12544         recent app exit crash on win32
12546         * lib/dia_xml.c : provide isinf() replacement for msc which does only
12547         have _finite()
12549         * lib/libdia.def : updated
12551         * objects/makefile.msc : added wanlink.c 
12553         * objects/network/wanlink.c : added M_PI_2 definition for poor
12554         platforms which don't have one
12556         * objects/standard/arc.c :
12557         * objects/standard/zigzagline. c: part of ConectionBBExtras wasn't
12558         initialized which led to rather huge bounding boxes (try Ctrl^A on
12559         diagrams with Arcs or ZigZagLines).
12560         * objects/*/*.c : to avoid further bugs like the above changed all
12561         object initializations to g_malloc0 or g_new0
12564 2001-04-09  Cyrille Chepelov  <chepelov@calixo.net>
12566         * lib/paper.[ch]: get rid of "no previous prototype fo `foo'" by
12567         doing a s/T foo()/T foo(void)/ for all possible values of T and foo.
12569         * objects/UML/class.c: 
12570         * objects/UML/usecase.c:
12571         * objects/UML/large_package.c:
12572         * objects/UML/message.c:
12573         * objects/UML/object.c:
12574         * objects/UML/lifeline.c:
12575         * objects/FS/flow.c:
12576         * objects/FS/flow-ortho.c:
12577         * objects/FS/function.c:
12578         * objects/custom/custom_object.c:
12579         * objects/GRAFCET/vergent.c:
12580         * objects/chronogram/chronoref.c:
12581         * objects/SADT/box.c:
12582         * objects/SADT/annotation.c:
12583         * plug-ins/dxf/dxf-import.c:
12584         * plug-ins/xfig/xfig-import.c:
12585         * plug-ins/wpg/wpg.c:
12586         * app/command.c:
12587         * app/app_procs.c:
12588         * app/display.c: /* certainly more WIP than dead code there */
12589         Unused variables, unused static function definitions, forgotten or
12590         incomplete prototypes added or fixed, lack of const or unwanted const,
12591         etc. (mostly clean-ups of leftovers of the pre-properties era).
12592         Non-obvious cases bracketed by #define THIS_IS_PROBABLY_DEAD_CODE,
12593         please check these.
12595         * app/lineprops_area.c: More of the same. Missing prototypes
12596         added, and functions unused outside made static.
12598         * app/recent_files.c:
12599         * app/properties.c:
12600         * app/defaults.c: some variables are used only when doing a GNOME
12601         build.
12602         
12603         * app/magnify.c: missing #include <stdlib.h>.
12605         * app/paginate_gnomeprint.c: Unused variable; missing "message.h".
12607         These are a lot of clean-ups (by the way, this compiles and runs
12608         cleanly with "gcc-3.0 -O2 -Wall --std=gnu99" too !); please grep
12609         for DEAD_CODE, and if it's yours, judge it.
12610         
12611 2001-04-07  Cyrille Chepelov  <chepelov@calixo.net>
12613         * plug-ins/dxf-import.c: some progress with the arcs; still some
12614         clean-ups to do and line width scaling issues to figure out.
12616         * objects/standard/arc.c: start_point and end_point properties
12617         (duplicated from standard/line.c)
12619         * plug-ins/xfig/xfig-import.c: zip ! zap ! no more dead DXF import
12620         code there.
12621         
12622 2001-04-06  Cyrille Chepelov  <chepelov@calixo.net>
12624         * plug-ins/dxf-import.c: setlocale-related clean-ups and fixes ;
12625         preliminary support for arcs (doesn't work). Circles and ellipses are
12626         now transparent. Coordinate and width scaling are now a common 
12627         static constant (probably before morphing into a preference).
12628         
12629         * sheet/checktrans.py: improved error reporting. Made checktrans
12630         count lack of <name xml:lang="code"> as a lack of translation for
12631         language "code" (no, it's not a plot to bring down other
12632         language's scores !)
12633         
12634         * sheet/*.sheet: Ensured all sheets have an encoding="iso-8859-1"
12635         in the header, and have <name xml:lang="fr"> components.
12636         
12637 2001-04-05  Cyrille Chepelov  <chepelov@calixo.net>
12639         * objects/custom/custom_object.c: temporary hack to fix the shape
12640         bounding box reported by Ben A. Hetland. Proper fix isn't .87
12641         material, see bugzilla #52912.
12643 2001-04-05  Lars Clausen  <lrclause@cs.uiuc.edu>
12645         * objects/standard/image.c (get_directory): Now uses
12646         G_SEPARATOR_CHAR_S instead of "/"
12648         * sheets/network.sheet: 
12649         * sheets/Logic.sheet:
12650         * sheets/Flowchart.sheet:
12651         * sheets/Electric.sheet:
12652         * sheets/Circuit.sheet:
12653         * sheets/ER.sheet:
12654         * sheets/Pneumatic.sheet:
12655         * sheets/SDL.sheet:
12656         * sheets/UML.sheet:
12657         * sheets/GRAFCET.sheet:
12658         * sheets/MSE.sheet:
12659         * sheets/chronogram.sheet:
12660         * sheets/civil.sheet:
12661         * sheets/network.sheet:
12662         Danish translations.
12663         
12664         * objects/standard/image.c (get_directory): Changed get_directory
12665         to use g_dirname to find the directory part.
12667 2001-04-05  Cyrille Chepelov  <chepelov@calixo.net>
12669         * sheets/ER.sheet:
12670         * sheets/Electric.sheet:
12671         * sheets/Flowchart.sheet:
12672         * sheets/Logic.sheet:
12673         * sheets/network.sheet: More Dutch translations from Dag Wieers.
12675 2001-04-04  Cyrille Chepelov  <chepelov@calixo.net>
12677         * sheets/checktrans.py: now emits a warning when two descriptions
12678         for a single language code are found.
12680         * Makefile.am:
12681         * sheets/Makefile.am: -translation-reports now also depend on their
12682         checktrans.py
12683         
12684 2001-04-04  Cyrille Chepelov  <chepelov@calixo.net>
12686         * sheets/Circuit.sheet:
12687         * sheets/Contact.sheet:
12688         * sheets/Logic.sheet:
12689         * sheets/chronogram.sheet:
12690         * sheets/sybase.sheet: 
12691         Dutch translations from Dag Wieers <dag@wieers.com>
12693 2001-04-04  Cyrille Chepelov  <chepelov@calixo.net>
12695         * po-checktrans.py: Now shows the detailed counts alongside the
12696         percentage of translations.
12697         
12698 2001-04-03  Cyrille Chepelov  <chepelov@calixo.net>
12700         * Makefile.am:
12701         * po-checktrans (NEW):
12702         * po-checktrans.py (NEW): builds core-translation-report:
12703         percentages of core (gettext) translations done [Not placed into
12704         po/ where that should belong, because of integration fear^Wissues
12705         with gettextize]. 
12707         TO THE KIND ATTENTION OF PACKAGERS: core-translation-report and 
12708         sheets/sheet-translation-report probably ought to be copied on the 
12709         user's /usr/share/doc/dia (or equivalent) directory.
12711         * sheets/Makefile.am: sheet-translation-report now a simple
12712         EXTRA_DIST; make install won't install it by default. 
12713         
12714 2001-04-03  Cyrille Chepelov  <chepelov@calixo.net>
12716         * app/preferences.c: changed the default grid colour to something
12717         less intrusive. 
12719         * shapes/SDL/*.shape:
12720         * sheets/SDL.sheet: renamed all SDL shapes to conform to the
12721         "$LIBRARY - $NAME" convention. THIS REQUIRES FIXING THE EXISTING
12722         DIA FILES (well, for files using SDL), see the mailing list
12723         archive "SDL (ab)using the global shape namespace" for a script to
12724         do this conversion.
12726         * sheets/SDL.sheet: translated into French
12727         * sheets/network.sheet: fixed XML typos. Yay ! 100% :-)
12728         
12729 2001-04-02  Cyrille Chepelov  <chepelov@calixo.net>
12731         * lib/dia_xml.c: made data_point() more paranoid
12733         * sheets/Makefile.am:
12734         * sheets/checktrans (NEW):
12735         * sheets/checktrans.py: Made checktrans handle more gracefully the
12736         absence of python and python-xml packages, and made the error
12737         message more helpful.
12738         
12739 2001-04-01  Lars Clausen  <lrclause@cs.uiuc.edu>
12741         * lib/render_object.c (new_render_object): Made initial handles
12742         behave like on most other objects.
12744         * app/load_save.c (read_objects): Fixed premature free'ing ofr
12745         typestr causing garbage.
12747 2001-04-01  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
12749         * objects/FS/flow-ortho.c: Fixed a crashbug causes by not
12750         accouting for handle ordering through copy and save. (#51479)
12752 2001-03-31  Cyrille Chepelov  <chepelov@calixo.net>
12754         * sheets/Circuit.sheet: Norwegian translation mistagged to German.
12756 2001-03-31  Steffen Macke  <sdteffen@yahoo.com>
12758         * sheets/Circuit.sheet
12759         * sheets/UML.sheet
12760         * sheets/network.sheet: Updated German translations
12761         
12762 2001-03-30  Cyrille Chepelov  <chepelov@calixo.net>
12763         * lib/arrows.[ch]:
12764         * lib/widgets.c:
12765         * app/lineprops_area.c: The return of the revenge of the arrow
12766         heads. Now all types covered by ISO 10303-201 should be covered.
12767         
12768 2001-03-30  Cyrille Chepelov  <chepelov@calixo.net>
12770         * sheets/Flowchart.sheet: translations in probably Hungarian were
12771         a victim of cut-n-paste from the German one. Fixed (hopefully).
12772         * sheet/UML.sheet: translation in probably Norwegian was a victim
12773         of cut-n-paste from the French one. Fixed (hopefully).
12774         * sheets/Logic.sheet: French translation not tagged with
12775         xml:lang="fr".
12776         
12777         * sheets/checktrans.py:
12778         * sheets/Makefile.am: new file, sheet-translation-report, to be
12779         installed along the sheets, show how much of them has been
12780         translated into which language (I wish the result was prettier...)
12782         * po/README: most translators don't read this file, but anyway...
12784         * sheets/.cvsignore:
12785         * objects/network/.cvsignore: the usual negotiation with CVS.
12787 2001-03-30  Cyrille Chepelov  <chepelov@calixo.net>
12789         * sheets/*.sheet: French translations
12791 2001-03-28  Cyrille Chepelov  <chepelov@calixo.net>
12793         Added patch #52363 from Hubert Figuiere <hfiguiere@teaser.fr>:
12795         ** objects/network/network.c:
12796         ** objects/network/wanlink.c:
12797         ** objects/network/pixmaps/wanlink.c:
12798         ** sheets/network.sheet:
12799         ** objects/network/Makefile.am: a better object to use instead of
12800         the older WAN Connection.
12801         
12802         ** lib/geometry.[ch]: rotation matrix functions in geometry.c (derived from gimp)
12804         ** objects/GRAFCET/vector.c: renamed Vector to GRAFCETVector to avoid a
12805         name clash 
12807         * objects/GRAFCET/vector.c: Re-renamed GRAFCETVector into
12808         Arc; kept the C file name (because CVS wouldn't like it), and
12809         still registering the older object name (but advertising the newer
12810         one in sheets/GRAFCET.sheet).   
12812 2001-03-24  Hans Breuer  <hans@breuer.org>
12814         * app/dia.def : some plug-ins (currently only python, xfig) are using 
12815         functions from the dia executable. To get them working these functions 
12816         need to be explicit exported on win32. IMO the much cleaner way would
12817         be to move these functions to libdia, but that would require some
12818         long term restructuring ...
12820         * lib/libdia.def : updated
12822         * plug-ins/makefile.msc : build xfig plug-in
12824 2001-03-24  Hans Breuer  <hans@breuer.org>
12826         * app/diagram.c : g_strdup (dia->filename) because it will be
12827         g_free ()d
12829         * app/display.c : set ddisp->renderer to NULL after destruction.
12830         This may solve or help to identify erroneous access to it after
12831         destruction.
12833         * plug-ins/wmf/wmf.cpp : convert string from utf8 to wchar to
12834         get 'umlauts' working
12836 2001-03-22  Cyrille Chepelov  <chepelov@calixo.net>
12838         * object/chronogram/chronoline_event.c: stupid bug ; rises and falls
12839         were reversed... (look for the patch, and drink a beer to my
12840         stupidity)      
12841         
12842 2001-03-23  Hans Breuer  <hans@breuer.org>
12844         * app/app_procs.c : don't g_error () if the config directory
12845         can't be created (at least not on windoze) because it's quite
12846         common that the user don't read or understand the FAQ ...
12848         * app/cursor.c : use ddisplay_active () instead of active_display
12849         from app/display.c
12851         * app/display.[hc] : made active_display var static and provide
12852         an accessor funtion ddisplay_active_diagram ()
12854         * app/dia-props.c : don't store the active_diagram, but ask
12855         for it everytime it needed.
12857         * lib/properties.h : #include "intl.h"
12859         * lib/makefile.msc : need to take care of inclusion order to
12860         avoid clashes with gtk+2.0's gdk-pixbuf
12862         * objects/makefile.msc : added uml/stereotype.c to build
12864 2001-03-23  Lars Clausen  <lrclause@cs.uiuc.edu>
12866         * **/*.c: Added config.h to the remaining .c files, and changed
12867         all to be <config.h>.
12869 2001-03-22  Steffen Macke <sdteffen@yahoo.com>
12871         * lib/arrows.c
12872         * lib/arrows.h
12873         * lib/widgets.c
12874         * app/lineprops_area.c: added new arrow types with double
12875         heads
12876         
12877 2001-03-20  Steffen Macke <sdteffen@yahoo.com>
12879         * shapes/Civil/civil_gas_bottle.xpm
12880         * shapes/Civil/civil_gas_bottle.shape
12881         * sheets/civil.sheet
12882         * shapes/Civil/Makefile.am: Added gas bottle shape by Arne
12883         Battermann
12884         
12885 2001-03-20  Lars Clausen  <lrclause@cs.uiuc.edu>
12887         * objects/custom/shape_info.c (load_shape_info): 
12888         * objects/custom/shape_info.h: 
12889         * objects/custom/custom_object.c (custom_update_data): 
12890         Better support for text outside the box -- new attributes 'resize'
12891         and 'align' for text entity.  Align not fully supported yet.
12893         * lib/text.c (text_calc_boundingbox): Adding BB for cursor width.
12895 2001-03-20  James Henstridge  <james@daa.com.au>
12897         * app/interface.c (display_data_received_callback): comment out
12898         status message.
12900 2001-03-19  James Henstridge  <james@daa.com.au>
12902         * app/GNOME_Dia.oaf: rename from GNOME_Dia.oafinfo.
12904         * objects/UML/realizes.c: similar here.
12906         * objects/UML/implements.c: similar here.
12908         * objects/UML/component.c: similar here.
12910         * objects/UML/generalization.c: same here.
12912         * objects/UML/dependency.c: allow NULL for ->name and
12913         ->stereotype.  This fixes a number of problems in loading saved
12914         files.
12916         * lib/properties.c: various changes so that NULL string properties
12917         should work.
12919         * objects/standard/line.c (line_update_data):
12920         line->extra.start_long and line->extra.end_long were not being
12921         initialised.  This fixes potential problems with the bounding box
12922         of "Standard - Line" objects.
12924 2001-03-19  Hans Breuer  <hans@breuer.org>
12926         * app/commands.c : added win32 specific code to display a html
12927         file. #include "text.h" for text_delete_all prototype.
12929         * app/dia.ico :
12930         * app/dia.rc : (new) to give Dia win32 an icon
12932         * app/win32print.[ch] : new files to support direct postscript
12933         file printing on win32. Beware: it *requires* a ps-printer!
12935         * app/paginate_psprint.c : disable the signal code for win32 build
12936         and added small specific changes to support win32print.
12938         * app/makefile.msc : added win32print and linking shell32.lib
12940         * lib/libdia.def : updated
12942 2001-03-18  Kevin Breit <battery841@mediaone.net>
12944         * doc/en/dia-C.omf: Added file.  Dia should now list in the Nautilus
12945           Help tabs.
12947 2001-03-17  James Henstridge  <james@daa.com.au>
12949         * app/paginate_psprint.c (diagram_print_ps): add code that traps
12950         SIGPIPEs during printing.  This gets rid of a number of crashes
12951         caused by printing (eg. typing an incorrect print command).
12953         * dia.spec (%install): gzip the manpage.
12955         * lib/beziershape.c (beziershape_save): fix off by one error in
12956         beziershape save code, which was adding an extra segment to the
12957         object on save.
12959         * app/menus.c: add a separator in the gnome version of the help
12960         menu.
12962         * app/app_procs.c (app_init): add a --nosplash argument which
12963         disables the splash screen.
12965         * app/dia_embedd.c (main): don't leave the splash screen open for
12966         embeddable component.
12968         * app/splash.c (app_splash_init): the gtk_widget_show_now() call
12969         didn't seem to be showing the splash screen like expected, so I
12970         have replaced it with some code that calls gtk_main() until the
12971         first exposure of the window.
12973 2001-03-16  James Henstridge  <james@daa.com.au>
12975         * app/Makefile.am (EXTRA_DIST): add extra pixmaps.
12977         * objects/UML/Makefile.am (libuml_objects_la_SOURCES): add
12978         stereotype.h
12980         * lib/Makefile.am (libdia_a_SOURCES): add diavar.h here.
12982         * app/Makefile.am (dia_core_files): remove splash.h from file
12983         list, as it doesn't exist.
12985         * doc/en/Makefile.am (uninstall-local): remove the docdir on
12986         uninstall.
12988         * doc/Makefile.am (uninstall-local): target to remove the C
12989         symlink.
12991         * dia.spec (%files): include the documentation in the package.
12993         * app/menus.c (toolbox_menu_items): add menu item for manual,
12994         which calls help_manual_callback.
12996         * app/commands.c (help_manual_callback): find help file and load
12997         netscape to view it.
12999         * app/commands.h: add prototype for help_manual_callback()
13001         * doc/Makefile.am (helpdir): similar here.
13003         * doc/en/Makefile.am (helpdir): make the helpdir
13004         $(pkgdatadir)/help/en in the non gnome case.
13006         * configure.in (HAVE_GNOME): add conditional.
13008         * doc/en/Makefile.am: handle the graphics in a more general way,
13009         so it is easier for Kevin to add them to the build (just add them
13010         to the GRAPHICS var).
13012         * app/Makefile.am (embed_extra_print_files): make the case of
13013         building without gnome-print support but with bonobo support work.
13014         dia-embedd needs to be include the gnome-print
13016 2001-03-09  Cyrille Chepelov  <chepelov@calixo.net>
13018         * samples/Makefile.am: included all samples in the distribution....
13019         
13020 2001-03-09  Cyrille Chepelov  <chepelov@calixo.net>
13022         * configure.in: removed premature test for DPS. Added -*- m4 -*-
13023         at the beginning. Made HAVE_UNICODE non-default. po/es_ES.po has
13024         vanished, removed it from ALL_LINGUAS.
13026         * lib/charconv.[ch] (NEW): a very small wrapper around
13027         unicode_iconv to convert strings between utf8 and local charset
13028         (actually, ISO-8859-1, though one can do
13029         CFLAGS="-DEFAULT_8BIT_CHARSET=\"ISO-8859-2\"" and the like).
13031         * lib/ps-utf8.[ch] (NEW): A PostScript Unicoder ; a smallish
13032         library to help build Postscript streams which use as many custom
13033         font encodings as necessary to correctly represent all characters
13034         used (testing from users with non-latin1 and/or more than 256
13035         characters in routine use *very* welcome).
13037         * app/Makefile.am, lib/Makefile.am: integrated these into the
13038         build process.
13040         * shapes/Logic/.cvsignore (NEW): .cvsignore
13041         
13042         * app/render_eps.h: forwarded some changes Lars forgot to include.
13043         * app/render_eps.c: turned off ASCII85 and FILTERS, as this
13044         doesn't yet build.
13046 2001-03-08  Kevin Breit <battery841@mediaone.net>
13048         * doc/en/home_network.png: Added file.
13049         * doc/en/line_props.png: Added file.
13050         * doc/en/usage-objects.sgml: Added two graphics to file.
13051         * doc/en/usage-quickstart.sgml: Added one graphic to file.
13053 2001-03-06  Kjartan Maraas  <kmaraas@gnome.org>
13055         * app/grid.h: Place comment around text after #endif.
13056         * lib/bezier_conn.c: #include <string.h>.
13057         * lib/beziershape.c: #include <string.h>.
13058         * lib/connpoint_line.h: Comment after #endif.
13059         * lib/dia_dirs.c: #include <string.h>.
13060         * lib/element.c: Same.
13061         * lib/lazyprops.c: #include <config.h> and "intl.h".
13062         * lib/lazyprops.h: Comment out text after #endif.
13063         * lib/neworth_conn.c: #include <string.h>
13064         * lib/orth_conn.c: Same here.
13065         * lib/poly_conn.c: Here too.
13066         * lib/polyshape.c: And here.
13067         * lib/properties.c: Remove #include "intl.h" from here and add
13068         an array of static strings to work around bug in gettext that
13069         makes it miss strings in a #define body.
13070         * objects/GRAFCET/action_text_draw.h: Comment out text after #endif.
13071         * objects/GRAFCET/boolequation.h: Same here.
13072         * objects/chronogram/chronoline_event.h: Add prototype for
13073         destroy_cle().
13074         
13075 2001-03-05  Lars Clausen  <Lars R. Clausen <lrclause@cs.uiuc.edu>
13077         * objects/FS/function.c: 
13078         * objects/FS/flow.c: 
13079         * objects/FS/flow-ortho.c: 
13080         Updated to use properties.
13082 2001-03-03  James Henstridge  <james@daa.com.au>
13084         * lib/lazyprops.c (__propdlg_build_enum): translate the radio
13085         button labels when creating them.
13087 2001-02-28  Lars Clausen  <Lars R. Clausen <lrclause@cs.uiuc.edu>
13089         * objects/UML/actor.c
13090         * objects/UML/realizes.c 
13091         * objects/UML/implements.c 
13092         * objects/UML/generalization.c 
13093         * objects/UML/dependency.c 
13094         * objects/UML/constraint.c
13095         Updated to use properties.
13096         
13097         * objects/UML/stereotype.c 
13098         * objects/UML/stereotype.h
13099         Generalized to any kind of bracketting.
13100         
13101 2001-02-28  James Henstridge  <james@daa.com.au>
13103         * app/menus.c: add help entry to the help menu.  Need to get this
13104         working for the non GNOME case as well (maybe put help under
13105         $(datadir)/dia/help for non GNOME?)
13107         * doc/en/topic.dat: add a topic.dat file for GNOME menus.
13109         * doc/en/dia-manual.sgml (legalnotice): add an id attribute to
13110         this element so that we get a meaningful filename in the html
13111         translation.
13113         * doc/Makefile.am, doc/en/Makefile.am: new makefiles to handle the
13114         documentation.
13116         * configure.in (DB2HTML): add a check for the db2html program, and
13117         set an automake conditional if it is found.
13119         * Makefile.am: remove EXTRA_DIST rules that cover doc/ directory,
13120         and descend into doc/ directory while building.
13122         * configure.in (AC_OUTPUT): add doc/ makefiles to output list, now
13123         we need more complex rules for building the docs.
13125 2001-02-25  Hans Breuer  <hans@breuer.org>
13127         * config.h.win32 : some cleanup
13129         * app/prefererences.c : g_scanner_(freeze|thaw)_symbol_table
13130         are deprecated since glib-1.3.2. Sorry needing to use them
13131         contionally, but there is no glib-1.2 for win32
13133         * app/recent_files.c : use g_strescape (params) conditionally
13135         * lib/connection.c : include string.h for memcpy
13137         * lib/geometry.h : added some stuff for compatibility with
13138         msvc, which previously came from included config.h
13140         * lib/libdia.def : updated
13142         * objects/makefile.msc : updated
13144         * objects/GRAFCET/action.c(490) : fixed warning C4700: local variable 
13145         'extra' used without having been initialized
13147         * objects/network/bus.c(658) : initialize 'extra'
13149         * plug-ins/makefile.msc : updated
13151         * plug-ins/cgm/cgm.c :
13152         * plug-ins/pstricks/render_pstricks.c : 
13153         g_free() memory allocated by dia_image_rgb_data(). Plugs possibly 
13154         huge memory leaks.
13156         * plug-ins/python/python.c : use HAVE_DIRENT_H
13158 2001-02-23  Lars Clausen  <Lars R. Clausen <lrclause@cs.uiuc.edu>
13160         * lib/connection.c (connection_update_boundingbox): 
13161         Made the BB shrink on right and lower sides, too.
13163 2001-02-23  Kjartan Maraas  <kmaraas@gnome.org>
13165         * */*.c: #incude <config.h> at the top.
13166         * */*.h: Remove include of "config.h" since it should only
13167         be included in .c files and at the very top for things to
13168         work.
13169         * sheets/*.sheet: Updated Norwegian translations.
13170         
13171 2001-02-22  Lars Clausen  <Lars R. Clausen <lrclause@cs.uiuc.edu>
13173         * objects/UML/small_package.c: 
13174         * objects/UML/class.c: 
13175         * objects/UML/node.c: 
13176         * objects/UML/usecase.c:
13177         * objects/UML/lifeline.c: 
13178         * objects/UML/message.c:
13179         Various cleanup of properties in particular.  Now much more use of
13180         standard properties.
13182         * lib/diagramdata.c (layer_render): Visualization of bounding
13183         boxes, for debugging purpoises.
13185 2001-02-22  Cyrille Chepelov  <chepelov@calixo.net>
13187         * lib/geometry.h:
13188         * lib/connection.[ch]:
13189         * lib/poly_conn.[ch]:
13190         * lib/polyshape.[ch]:
13191         * lib/bezier_conn.[ch]:
13192         * lib/beziershape.[ch]:
13193         * lib/orth_conn.[ch]:
13194         * lib/neworth_conn.[ch]:
13195         * lib/element.[ch]: Changed a bit the _update_boundingbox()
13196         interface. Now the parent elements have an extra_spacing
13197         structure, which child objects just need to fill, to take care of
13198         most arrow & line width extra space needs.
13200         * objects/**/*.c: updated all objects to the new interface.
13201         While at it, killed all instances of (Object *) downcasts (phew !)
13203         * objects/GRAFCET/condition.c: removed the arrowhead, which IEC848
13204         doesn't speak about.
13205         
13206 2001-02-21  Lars Clausen  <Lars R. Clausen <lrclause@cs.uiuc.edu>
13208         * sheets/Logic.sheet: New sheet for Logic symbols.
13210 2001-02-21  James Henstridge  <james@daa.com.au>
13212         * app/menus.c (dia_gnome_menu_get_widget): new function to find a
13213         widget by its path name.  Walks the GnomeUIInfo heirachy rather
13214         than widget tree, compares untranslated label names and ignores
13215         underscores in the labels.
13216         (menus_get_item_from_path): use dia_gnome_menu_get_widget so that
13217         lookups are not dependent on the current locale, as with
13218         gnome_app_find_menu_pos.
13220         * acconfig.h: guard against multiple inclusion of config.h.
13222         * app/select.c (select_style_callback): simply set the selection
13223         style to the value of action.
13225         * app/menus.c (menus_init): simplify the item factory based menu
13226         code a bit.  It looks like it was using some code cut and pasted
13227         from the gimp, which looked a bit unnecessary.  Things work fine
13228         without it.
13229         (selectmenu): set the action to the type of selection mode
13230         requested.
13231         (display_menu_items): use the symbolic enumeration values for the
13232         action field.
13234         * app/plugin-manager.c: 
13235         * app/plugin-manager.h: 
13236         * app/filedlg.c:
13237         * app/filedlg.h: 
13238         * app/select.c:
13239         * app/select.h: change prototypes.
13241         * app/commands.c: update all callback prototypes, and get rid of
13242         some #ifdef GNOME's.
13244         * app/commands.h: change function prototypes.
13246         * app/dia_embedd.c (save_fn):
13247         s/ex_Bonobo_IOError/ex_BonoboStorage_IOError/
13249         * app/menus.c (menus_init): for gnome menus, use
13250         gnome_app_fill_menu_custom and pass in a GnomeUIBuilderData
13251         structure that proxies the callbacks to have the same signature as
13252         GtkItemFactory type 1 callbacks.
13253         (menus_init): for GTK menus, change from callback type 2 to type
13254         1.
13255         (display_menu_items): add back tearoffs.  I don't know who removed
13256         these for the gtk menu case.
13258 2001-02-20  Kevin Breit <battery841@mediaone.net>
13260         * doc/en/usage-objects-special.sgml: Fixed a few of the special
13261         object descriptions.  More to come in the next few days.
13263 2001-02-20  Lars Clausen  <lrclause@cs.uiuc.edu>
13265         * app/render_eps.c: Fixed for internationalized floating point
13266         output. 
13268         * objects/UML/note.c: Fixed properties -- was missing
13269         Get/ApplyPropertiesFunc.  Also improved update to recalculate text
13270         position. 
13272 2001-02-19  Lars Clausen  <lrclause@cs.uiuc.edu>
13274         * plug-ins/xfig/xfig-import.c: 
13275         File added importing xfig files.  Still very rough, but good
13276         enough to let others hack on it.
13278 2001-02-07  Cyrille Chepelov  <chepelov@calixo.net>
13280         * app/interface.c:
13281         * app/linewidth_area.c:
13282         * lib/lazyprops.c:
13283         * lib/properties.c:
13284         * lib/widgets.c:
13285         * objects/ER/attribute.c:
13286         * objects/ER/entity.c:
13287         * objects/ER/relationship.c:
13288         * objects/custom/custom_object.c:
13289         * objects/flowchart/box.c:
13290         * objects/flowchart/diamond.c:
13291         * objects/flowchart/ellipse.c:
13292         * objects/flowchart/parallelogram.c:
13293         * objects/standard/box.c:
13294         * objects/standard/textobj.c: per Vlad Harchev's request, made
13295         page sizes of gtk_adjustments different than their step sizes.
13296         When sensible values of page size weren't found (overwhelming
13297         majority of cases), page sizes were set to 10.0 * respective step
13298         size.   
13300 2001-02-07  Lars Clausen  <lrclause@cs.uiuc.edu>
13302         * objects/network/hub.c: 
13303         Patch from Hubert Figuiere applied, adding connection points.
13305 2001-02-02  James Henstridge  <james@daa.com.au>
13307         * app/display.c (new_display): set update id to 0 here.
13308         (ddisplay_update_handler): rename from ddisplay_flush, and set
13309         update_id to 0 at end of processing.
13310         (ddisplay_flush): new implementation that simply sets an idle
13311         handler to perform the actual drawing.
13313         * app/display.h: add structure member to hold the redraw idle
13314         handler id.
13316 2001-01-31  Lars Clausen  <lrclause@cs.uiuc.edu>
13318         * objects/standard/ellipse.c (ellipse_copy): 
13319         * objects/standard/zigzagline.c (zigzagline_copy): 
13320         Fix of copying provided by Martin Hawlisch.
13322 2001-01-23  Kevin Breit <battery841@mediaone.net>
13324         * doc/en/graphics/: added directory
13326         * doc/en/graphics/greendots.png: added file
13328         * doc/en/*sgml: made minor and some major changes to prepare for 1.4
13329         release.
13331 2001-01-23  Kevin Breit <battery841@mediaone.net>
13333         * doc/en/*sgml: made some grammar changes and fixed a few markup bugs.
13334                         thanks to John Fleck!
13336 2001-01-21  Kevin Breit <battery841@mediaone.net>
13338         * doc/en/*sgml: made just minor changes to a few lines; nothing major.
13340 2001-01-12  Michael Meeks  <michael@helixcode.com>
13342         * app/dia_embedd.c (init_server_factory): do a bonobo_activate
13343         so our POA gets setup properly.
13345         * app/paginate_gnomeprint.c (paginate_gnomeprint): g_free
13346         things we g_malloc.
13348         * configure.in: Use bonobox_print.
13350         * app/dia_embedd.c (embeddable_factory): add print interface.
13351         (object_print): impl.
13353 2001-01-11  Michael Meeks  <michael@helixcode.com>
13355         * app/dia_embedd.c (embeddable_factory): aggregate PersistFile.
13356         (load_fn, save_fn): impl.
13357         (view_factory): hide modified status bar, & use activate fn.
13358         (refresh_view): force redraws of the views.
13359         (view_show_hide): split from
13360         (dia_view_activate): here.
13362         * app/diagram.c (diagram_load_into): split from diagram_load.
13363         (new_diagram): simplify bu splittin stuff into
13364         (diagram_init): here.
13366 2001-01-10  Steffen Macke <sdteffen@yahoo.com>
13368         * shapes/jigsaw/*.shape: replaced #000000 with foreground
13369         and #ffffff with background
13370         
13371 2001-01-08  Steffen Macke <sdteffen@yahoo.com>
13373         *configure.in: GTK+-build was broken due to missing
13374         have_bonobo=no
13375         
13376 2001-01-06  Michael Meeks  <michael@helixcode.com>
13378         * app/dia_embedd.c (main): add running context support.
13379         (dia_embeddable_destroy): remove old running object counting.
13380         (embeddable_factory): ditto.
13381         (view_factory): comment out menu path hiding.
13383         * lib/sheet.c (load_register_sheet): use free to free
13384         stuff from libxml not g_free.
13386         * acconfig.h: kill cover for USE_BONOBOX and USE_OAF
13388         * configure.in: remove USE_OAF checks, check for a precice
13389         Bonobo version >= 0.31, revamp bits.
13391         * app/dia_embedd.c (init_server_factory): upd.
13392         (init_dia_factory): remove OAF conditionals, everything uses
13393         oaf now.
13395         * app/GNOME_Dia.oafinfo: rename OAFIIDs
13397         * app/Makefile.am: remove ancient gnorba code.
13398         rename dia.oafinfo to GNOME_Dia.oafinfo
13400 2001-01-07  Hans Breuer <Hans@Breuer.Org>
13402         * config.h.win32
13403         * install.win32
13404         * readme.win32 : some more files required or useful to build 
13405         Dia on win32
13407         * plug-ins/wmf/wmf.cpp : fixed open issues like fill_arc and
13408         fill_bezier implementation, boundary drawing in fill mode, etc.
13409         Next one complaining gets the source, uncommented ...
13411         * shapes/network/router-symbol.xpm 
13412         * shapes/network/switch-atm-symbol.xpm 
13413         * shapes/network/switch-symbol.xpm : removed "-*- picture -*- "
13414         from /* XPM */ header, cause it stopped Dia/gdk_pixbuf to detect 
13415         the files as XPMs. Maybe the X versions of these functions are more
13416         tolerant ...
13418 2001-01-06  Steffen Macke <sdteffen@yahoo.com>
13420         * plug-ins/python/Makefile.am: added libart path
13422         * plug-ins/python/python.c: added dirent.h
13424         * configure.in: added es_ES and pt_BR to ALL_LINGUAS
13425         
13426 2001-01-06  Hans Breuer <Hans@Breuer.Org>
13428         * objects/uml/actor.c
13429         * objects/uml/branch.c
13430         * objects/uml/class.c
13431         * objects/uml/classicon.c
13432         * objects/uml/component.c
13433         * objects/uml/large_package.c
13434         * objects/uml/node.c
13435         * objects/uml/note.c
13436         * objects/uml/object.c
13437         * objects/uml/small_package.c
13438         * objects/uml/state.c
13439         * objects/uml/usecase.c : started to implement the generic property
13440         interface for the uml objects. Would appreciate some help on how
13441         to implement properties which are list of properties themselves,
13442         e.g. member functions and their parameters of UMLClass.
13444 2001-01-06  Hans Breuer <Hans@Breuer.Org>
13446         * plug-ins/python/diamodule.c : finally ported to win32.
13447         Added new objects and implemented register_export function.
13449         * plug-ins/python/pydia-object.h
13450         * plug-ins/python/pydia-display.c
13451         * plug-ins/python/pydia-handle.c
13452         PyObject_HEAD_INIT needs some tweakink on win32. Done in
13453         pydia-object.h; others files simply using it.
13455         * plug-ins/python/pydia-layer.c : reflect 
13456         layer_find_closest_connection(_)point renaming
13458         * plug-ins/python/pydia-object.c : add property properties.
13459         Also change bounding_box to DiaRectangle.
13461         * plug-ins/python/python.c : extended error reporting; use
13462         all *.py files from Dia's plug-in dir instead of hardcoded
13463         test.py. This sollution should be fine with Win32, but on
13464         Unix it may need some tweaking (dunno) ...
13466         * plug-ins/python/export-object.py
13467         * plug-ins/python/export-render.py : test and documentation 
13468         implementations for export filter implementations in Python
13470         * plug-ins/python/pydia-color.[hc]
13471         * plug-ins/python/pydia-diagramdata.[hc]
13472         * plug-ins/python/pydia-error.[hc]
13473         * plug-ins/python/pydia-export.[hc]
13474         * plug-ins/python/pydia-font.[hc]
13475         * plug-ins/python/pydia-geometry.[hc]
13476         * plug-ins/python/pydia-image.[hc]
13477         * plug-ins/python/pydia-properties.[hc]
13478         * plug-ins/python/pydia-property.c
13479         * plug-ins/python/pydia-render.c : new objects in new files 
13481         * plug-ins/python/makefile.am : added new files but can't test it
13483         * plug-ins/python/pydia.def
13484         * plug-ins/python/makefile.msc : for win32 build
13486         * plug-ins/cgm/cgm.c
13487         * plug-ins/dxf/dxf-import.c
13488         * plug-ins/dxf/dxf-export.c
13489         * plug-ins/hpgl/hpgl.c : reflect export API change
13491         * plug-ins/shape/shape-export.c : reflect export API change
13492         and check for libart (better the availibility of a png exporter) 
13493         at run-time instead of compile-time. 
13495 2001-01-06  Steffen Macke <sdteffen@yahoo.com>
13497         * app/recent_files.h was missing from Hans's commit
13499         * plug-ins/shape/shape_export.c: shape export was broken
13500         due to interface changes
13501         
13502 2001-01-05  Hans Breuer <Hans@Breuer.Org>
13504         Applied Steffen's recent file list patch :
13505         * app/Makefile.am : added recent_files.[hc]
13506         * app/diagram.c : add files to recent file list
13507         * app/menus.c : add recent file menu
13508         * app/app_procs.c : changed initialization order to
13509         make recent file list work with command line processing.
13511         The Filter export()/import() functions have got an additional 
13512         parameter to allow multiple filters via one C callback (required
13513         for Python bindings)
13515         * app/commands.[hc] : corrected the signature for gtk menu callback
13516         functions, which actually use the second or third parameter. This
13517         is the absolute minimum change to make these functions/menu entries
13518         work again. Using the other possible gtk menu callback signature
13519         would have required one more function to change. (see mailing list
13520         thread "Objects/Align/Equal Distance" for more information.
13522         * app/disp_callbacks.c : applied Gustavo J.A.M. Carneiro's
13523         zoom-combo focus patch
13525         * app/display.c
13526         * app/interface.c : wrapped the Zoom Combo code into 
13527         #ifndef WITHOUT_ZOOM_COMBO because IHMO it isn't an useabilty
13528         improvement but cluttering the user interface. Also it wasn't
13529         compiling on Win32 anyway. The win32 version does define 
13530         WITHOUT_ZOOM_COMBO to keep the old look. 
13531         There are plans to use the statusbar to display size and placement
13532         of selected objects, whereas the Zoom Combo would need to get out
13533         of the way as well.
13535         Added "Save Changes?" to diagram close dialog. Hopefuly the
13536         Yes/No/Cancel option isn't too much windoze like. IHMO this is
13537         an useability improvement.
13539         * app/export_png.c
13540         * app/filedlg.c
13541         * app/load_save.c
13542         * app/layer_dialog.c
13543         * app/paginate_psprint.c
13544         * app/render_eps.c
13545         - reflect signature changing of filter->export function
13546         - replaced '/' with G_DIR_SEPARARTOR where appropriate
13548         * app/diaunitspinner.c
13549         * app/render_libart.c
13550         added misssing headers like <string.h>
13552         * app/object_ops.c : fixed copy&paste bug in dialog string
13554         * app/splash.c : gdk_widget_show_now () does not ensure actual
13555         drawing of the splash screen, at least not on win32. Reuse the
13556         previous implementation with gtk_main_iteration() again.
13558         * */makefile.msc : make use of the build module (available in
13559         gnome-cvs/build. Updated for other source changes
13561         * lib/filter.h : added an user_data pointer to <ex/im>port()
13562         function signature and Dia<Im/Ex>portFilter to allow different
13563         filters to reuse the same callback function
13565         * lib/font.c : #include <string.h>
13567         * lib/orth_conn.c 
13568         * lib/poly_conn.c 
13569         * lib/poly_shape.c 
13570         * lib/neworth_conn.c
13571         * lib/text.c : don't mix allocator functions (g_)realloc, free, ...
13573         * */*.def : export function definition files required by win32 build
13575         * objects/custom/custom.c : #include <string.h>
13577         * plug-ins/pstricks/render_pstricks.c
13578         * plug-ins/shape/shape_export.c
13579         * plug-ins/svg/render_svg.c
13580         reflect changes to filter export function signature
13582         * plug-ins/wmf/wmf.cpp : fixed indent and scaling. It now should
13583         mostly work as expected
13584         * plug-ins/wmf/wmf_gdi.[hc] : Updated comment. Still not used
13585         to build the wmf plug-in because on the one hand the GDI emulation 
13586         isn't finished and on the other hand it isn't required when building
13587         for win32. Is there anybody out there, who wants to save WMF on non
13588         windoze platforms ?
13590         * plug-ins/wpg/wpg.cpp : fixed scaling to take axis dependent
13591         offset into account.
13593 2001-01-02  Steffen Macke <sdteffen@yahoo.com>
13595         * app/Makefile.am: added missing plug-ins to run_dia.sh
13597         * lib/paper.c: added paper sizes A0, A1, A2
13599         * objects/UML/class.c
13600         objects/UML/class.h
13601         objects/UML/class_dialog.c: added support for colored UML
13602         classes
13603         
13604 2000-12-30  Kevin Breit <battery841@mediaone.net>
13606         * doc/en/usage-customization.sgml: added more content
13608 2000-12-24  Kevin Breit <battery841@mediaone.net>
13610         * doc/en/usage-layers.sgml: added file, contributed by Remypsb
13611         <remy.viard@laposte.net>
13613 2000-12-24  Steffen Macke <sdteffen@yahoo.com>
13615         * added limiting lines to Civil Engineering sheet,
13616         fixed vertical pump icon
13617         
13618 2000-12-20  Steffen Macke <sdteffen@yahoo.com>
13620         * updated/additional Civil Engineering shapes: better icons,
13621         shapes use foreground/background colors now and are filled
13622         
13623 2000-12-03  Kevin Breit  <battery841@mediaone.net>
13625         * doc/en/dia-manual.sgml Integrated a few diffs.  New section should be
13626         the selection <sect1>
13628 2000-11-29  Fredrik Hallenberg  <hallon@lysator.liu.se>
13630         * app/load_save.c (diagram_data_save): avoid using obsoleted
13631         libxml calls (only matters when compiling with libxml2)
13633 2000-11-25  James Henstridge  <james@daa.com.au>
13635         * app/disp_callbacks.c (ddisplay_drop_object): add a function to
13636         handle the tool drops on the canvas.
13638         * app/interface.c (display_data_received_callback): do the check
13639         to make sure that the drag is from a local toolbox here as well.
13641         * app/interface.c (create_tools): unref the pixmap/mask after
13642         creating the GtkPixmap.
13643         (tool_setup_drag_source): function to set up a drag source for
13644         create object tool buttons.
13645         (create_tools): setup drag source for CREATE_OBJECT_TOOL's.
13646         (fill_sheet_wbox): same here.
13647         (create_display_shell): set up the display canvas as a drag
13648         destination.
13649         (display_drop_callback, display_data_received_callback): functions
13650         to handle drops of tool buttons.
13652         * app/menus.c (menus_init): don't use gnome_popup_menu_new().  It
13653         does weird shit to the user_data pointer for a menu item.  Object
13654         alignment should work again now.
13656         * app/splash.c (get_logo_pixmap): don't unref the bitmap if it is
13657         NULL, and mark this function static.
13658         (app_splash_init): use gtk_widget_show_now() instead of the
13659         gtk_main_iteration loop.
13660         (app_splash_init): connecting gtk_widget_destroy to the destroy
13661         signal of a widget seems pretty useless.
13663 2000-11-23  Kevin Breit <battery841@users.sourceforge.net>
13665         * doc/en/dia-manual.sgml:
13666                 Added sect1 for advanced object types.  Starting development
13667                 on that part.
13669 2000-11-18  Kevin Breit <battery841@mediaone.net>
13671         * doc/en/dia-manual.sgml:
13672                 Stupid spelling fixes.
13674 2000-11-18  Kevin Breit <battery841@mediaone.net>
13676         * doc/en/dia-manual.sgml:
13677                 Just some small changes I made.  Props to Greg LeBlanc on the
13678                 recommendations.
13680 2000-11-17  Alexander Larsson  <alla@lysator.liu.se>
13682         * app/display.c:
13683         (ddisplay_add_display_area): Clip input rectangle to
13684         the visible part of the display.
13685         (ddisplay_scroll): Optimization, don't scroll and
13686         redraw if moving to the same position as before.
13688         * app/render_libart.c (renderer_libart_copy_to_window):
13689         Removed sanity check. Now moved to ddisplay_add_display_area().
13691         * lib/diavar.h:
13692         Added return at end of file.
13693         
13694 2000-11-13 Kevin Breit <battery841@mypad.com>
13695         * doc/en/dia-manual.sgml
13696                 Commited manual changes from Henry House <hajhouse@houseag.com>
13698 2000-10-21 Hans Breuer <Hans@Breuer.Org>
13699         * lib/beziershape.c :
13700                 The previous code was accessing unowned memory due to IHMO
13701                 wrong index calculation. Now it appears to be fixed.
13702                 *Please Review!*
13704         * lib/makefile.msc
13705         * plug-ins/makefile.msc
13706         * objects/makefile.msc
13707         * app/makefile.msc: (new files)
13708                 Makefiles for Dia on Win32, Micro$oft VC only.
13710         * plug-ins/pstricks/render_pstricks.c
13711         * plug-ins/dxf/dxf-import.c
13712         * plug-ins/shape/shape-export.c
13713         * plug-ins/svg/render_svg.c
13714         * app/commands.c
13715         * app/filedlg.c
13716         * app/preferences.c
13717         * app/render_eps.c
13718         * lib/sheet.c
13719         * lib/plug-ins.c
13720         * objects/custom/custom.c
13721         * objects/standard/image.c
13722                 portability (not only win32): use HAVE_UNISTD_H, HAVE_DIRENT_H 
13723                 where   appropriate, add missing prototypes like <string.h>
13725         * plug-ins/wmf/wmf_gdi.cpp
13726         * plug-ins/wmf/wmf_gdi.h:
13727                 start of wmf write functions for non Win32 platform. Not 
13728                 finished yet. The other way to get it working maybe to
13729                 link the plug-in against wine libs.
13730                 
13731         * plug-ins/wpg/wpg.c : add missing brace
13733         * app/load_save.c :
13734                 Handling for unknown objects at load time. Previously Dia
13735                 was crashing, if you try to load a file referencing objects
13736                 whiches plug-ins aren't installed/available. Now it spits out 
13737                 a warning and ignores the unknown objects.
13739         * app/interface.c
13740                 toolbox DND support for files like The Gimp does it.
13742         * app/main.c
13743         * app/app_procs.h
13744                 Simple splash screen support and usage.
13746         * app/app_procs.c
13747                 Splash screen, portability fixes, dont' g_error if there is
13748                 g_get_homedir return NULL. This may remove the one and only
13749                 FAQ for Win32.
13751         * app/menus.c :
13752                 Make it compile without ENABLE_NLS
13754         * app/render_libart.c :
13755                 Sanity check to avoid calling libart with wrong window coordinates.
13756                 They come from the update handler. Direct Gdk is dealing nicely
13757                 with coordinates out of range, libart does access un-owned memory
13758                 in this case, mostly causing crashes.
13760         * app/winmain.c: (new file) Export the Win32 Gui version of the
13761                 main function. This file is only required for Windoze.
13763         * app/splash.c: (new file) splash screen implementation
13765         * lib/color.h
13766         * lib/font.h
13767         * lib/diavar.h: (new file)
13768                 moved special variable export code to diavar.h, because it is
13769                 needed in color.h and font.h
13771         * lib/paper.c :
13772                 M$VC cann't export inlined functions. Quick hack to let it
13773                 link again. Probably the glib mechanics should be used here?
13775         * objects/UML/lifeline.c : initialize var before usage
13777         * objects/GRAFCET/step.c : removed unused var
13779 2000-10-14  James Henstridge  <james@daa.com.au>
13781         * app/render_gnomeprint.c (draw_image): change code so images
13782         don't get flipped when printing.
13784         * app/paginate_gnomeprint.c (diagram_print_gnome): check to make
13785         sure that the return value of
13786         gnome_print_context_new_with_paper_size is not NULL.
13788         * app/render_gnomeprint.c (draw_arc): add code to convert arcs
13789         into a series of bezier segments.
13790         (fill_arc): similar code to handle filled arc segments.
13792 2000-10-12  Fredrik Hallenberg  <hallon@lysator.liu.se>
13794         * app/app_procs.c
13795         * app/commands.c
13796         * app/dia-props.c
13797         * app/diagram.c
13798         * app/diagram.h
13799         * app/disp_callbacks.c
13800         * app/display.c
13801         * app/linewidth_area.c
13802         * app/paginate_psprint.c
13803         * app/preferences.c
13804         * app/undo.c
13805         * app/font.c
13806         * app/message.c
13807         * app/neworth_conn.c
13808         * app/orth_conn.c
13809         * objects/standard/box.c: various small changes to get rid of 
13810         annoying warnings (eg faulty prototypes and unused variables)
13812         * app/disp_callbacks.c
13813         * app/cursor.h
13814         * app/magnify.c
13815         * app/magnify.h: update magnify tool icon when pressing/releasing
13816         shift. I will try to make something more general so that similar
13817         things can be used by other tools.
13819         * shapes/SDL/inout.shape
13820         * shapes/SDL/return.shape: fixed some typos
13822 2000-10-09  James Henstridge  <james@daa.com.au>
13824         * objects/custom/shape_info.c (parse_path): apply patch from
13825         Robert Young <robertdotyoung@dsto.defence.gov.au> to fix bug
13826         #25221
13828 2000-10-08  James Henstridge  <james@daa.com.au>
13830         * objects/standard/image.c (image_set_props): if the file could not
13831         be loaded, show the broken image icon.
13833         * plug-ins/Makefile.am (SUBDIRS): add shape to the subdirs list.
13835         * plug-ins/shape/*: the shape export plugin by Steffen Macke.
13837         * app/interface.c (fill_sheet_wbox): use gdk-pixbuf to load the
13838         object icon when loading from a file.  This allows you to have PNG
13839         icon files for shapes.
13841 2000-10-07  James Henstridge  <james@daa.com.au>
13843         * app/Makefile.am (dia_LDADD): remove GDK_IMLIB_LIBS reference.
13845         * lib/Makefile.am, app/Makefile.am (INCLUDES): remove
13846         GDK_IMLIB_CFLAGS reference.
13848         * app/commands.c (help_about_callback): remove imlib code.
13850         * lib/dia_image.c: only include the pixbuf version of the image
13851         routines.
13853         * acconfig.h: remove the HAVE_GDK_PIXBUF flag from here.
13855         * configure.in (CPPFLAGS): remove the check for imlib, as we now
13856         require gdk-pixbuf.
13858         * plug-ins/pstricks/render_pstricks.c (new_pstricks_renderer):
13859         conditionally define \setfont as well.
13861 2000-10-05  James Henstridge  <james@daa.com.au>
13863         * plug-ins/pstricks/render_pstricks.c (new_pstricks_renderer): fix
13864         preamble so that we define \setlinejoinmode and \setlinecaps
13865         commands conditionally on them being undefined.  This way, the
13866         pstricks output files should work without modification, and will
13867         support the commands when they are implemented in pstricks.
13869 2000-10-05  Szabolcs Ban  <shooby@gnome.hu>
13871         * dia.desktop: added hungarian translations to dia.desktop
13873 2000-10-04  James Henstridge  <james@daa.com.au>
13875         * sheets/UML.sheet: fix typo.
13877         * objects/custom/shape_info.c: use strtod instead of g_strtod.
13878         (parse_path): actually call setlocale around strtod calls.
13880         * lib/dia_xml.c: use strtod rather than g_strtod.  We wrap each
13881         call in setlocale(LC_NUMERIC, "C"), so there is no reason to call
13882         the g_strtod wrapper.
13884         * shapes/SDL/: add SDL shapes from Rubens Ramos
13885         <rubens_ramos@yahoo.com>
13887         * acinclude.m4 (DIA_CHECK_CFLAG): fix up macro.
13889         * sheets/Makefile.am (SHEETS): add SDL.sheet to list.
13891         * shapes/MSE/: add Mobile Subscriber Equipment shapes from
13892         W. Michael Petullo <mike@flyn.org>.
13894         * sheets/Makefile.am (SHEETS): add civil.sheet (which got missed
13895         from the 0.86 tarball) and jigsaw.sheet.
13897         * configure.in: add shapes/jigsaw/Makefile to list of generated files.
13899         * shapes/jigsaw/: jigsaw shapes from Martin Hawlisch.
13901         * shapes/network/: add network-additional shapes here.
13903         * sheets/network.sheet: add the network-additional shapes from
13904         Martin Hawlisch <Martin.Hawlisch@bflow.com> to the main network
13905         sheet.
13907 2000-09-30  Fredrik Hallenberg  <hallon@lysator.liu.se>
13909         * configure.in: Updated ALL_LINGUAS
13911         * po/nl.po: Removed newline from translation
13913 2000-09-17  Asbjorn Pettersen  <asbjornP@dualog.no>
13915         * app/commands.c (help_about_callback): Use G_DIR_SEPARATOR_S in 
13916         logo filename generation. 
13918         * lib/dia_dirs.c (dia_get_data_directory): Handle empty subdir better.
13919         Avoiding "//dia_logo.png".
13921 2000-09-16  Asbjorn Pettersen  <asbjornP@dualog.no>
13923         * app/filedlg.c: add include <sys/types.h> to
13924         remove warning. (OS/2)
13926 2000-09-13  Cyrille Chepelov <chepelov@calixo.net>
13928         * objects/chronogram/chronoline_event.c (reparse_clevent):
13929         the __checksum routine was simply bogus. Redone it in a slightly
13930         saner way (reported by Michael Farr <mfarr@cs.latrobe.edu.au>).
13932 2000-09-10  Asbjorn Pettersen  <asbjornP@dualog.no>
13934         * app/create_object.c (create_object_button_press): 
13935         * app/modify_tool.c (click_select_object): 
13936         * lib/object.h: select renamed to selectf to prevent
13937         compiler problems with function select().  OS/2 version.
13939 2000-09-08  Karsten Weiss  <knweiss@gmx.de>
13941         * po/de.po: Updated.
13943 2000-09-07  Karsten Weiss  <knweiss@gmx.de>
13945         * dia.desktop: Added German translation
13946         * app/menus.c: "Diagram Propeties..." -> "Diagram Properties..."
13948 2000-08-29  Manuel de Vega Barreiro <barreiro@arrakis.es>
13950         * configure.in (ALL_LINGUAS): added "es"
13952 2000-08-28  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
13954         * app/magnify.c:
13955         * app/cursor.h:
13956         * app/cursor.c:
13957         * app/scroll_tool.c:
13958         Standardized cursor function get_cursor().  Magnify now has
13959         looking-glass cursor with + and -.
13961         * app/create_object.c (create_object_button_press): 
13962         Newly created connections now snap to connection points even when
13963         off the grid. 
13965 2000-08-17  Daniel Egger  <egger@suse.de>
13967         * app/menus.c: #ifdef'ed some code for the none GNOME
13968         case.
13969         * app/dia_embedd.c: Changed obvious hackery. Can anyone
13970         please have a look at the GNOME UI menu creation? The
13971         gnome-app-helper code is ages old and plainly broken!
13973 2000-08-15  Daniel Egger  <egger@suse.de>
13975         * app/commands.c:
13976         * app/commands.h:
13977         * app/diagram.c:
13978         * app/display.c:
13979         * app/menus.c:
13980         * app/select.c: First big patch to get the menus
13981         working again in the international version. Copied
13982         some code written by Sven and me from GIMP and
13983         thus implemented automatic tearoffmenu creation and
13984         proper translation. I also removed that pseudo
13985         radiomenu hack and cleaned up several translation
13986         hacks which have never really worked. All in all
13987         this is part I of the big menu patch. Enjoy and tell
13988         me if you detect any problems.
13990 2000-08-14  Daniel Egger  <egger@suse.de>
13992         * sheets/UML.sheet: Changed one German translation as
13993         suggested by Heribert Schuetz <hs@heribert-schuetz.de>.
13995 2000-08-10  Fredrik Hallenberg  <hallon@lysator.liu.se>
13997         * app/diapagelayout.c:
13998         * lib/diagramdata.c:
13999         * lib/diagramdata.h:
14000         * lib/Makefile.am:
14001         * lib/paper.c:
14002         * lib/paper.h: honour PAPERCONF env variable and /etc/papersize when
14003         selecting paper size for a new diagram. TODO: Use libpaper if 
14004         available and use gnome_paper-stuff if using GNOME.
14006         * sheets/Electric.sheet: fixed typo.
14007         
14008 2000-08-08  James Henstridge  <james@daa.com.au>
14010         * po/README: added a readme file to tell translators to translate
14011         the .sheet files as well.
14013         * app/commands.c (help_about_callback): fix small bug where we tried
14014         to gdk_bitmap_unref() the mask for the about box image, even though
14015         it was NULL.  Now check for a NULL mask.
14017 2000-08-07  Daniel Egger  <egger@suse.de>
14019         * sheets/*.sheet: Added translations for the name
14020         in the toolbar tab. Brushed up some descriptions 
14021         and some translations a bit.
14023 2000-08-06  James Henstridge  <james@daa.com.au>
14025         * plug-ins/svg/render_svg.c (new_svg_renderer): update public
14026         identifier and dtd url for SVG output.
14027         (new_svg_renderer): fix the output of the viewBox output.  The
14028         second two numbers are the width and height -- not the right
14029         and bottom sides of the box.
14031         * shapes/*/*.shape: update svg namespace URI.
14033         * objects/custom/shape_info.c (load_shape_info): change the
14034         namespace URI for custom shapes yet again to match the Candidate
14035         Recommedation.  It looks like this one will probably be the final
14036         one.
14038         * app/display.c (new_display): remove the code that sets ic and
14039         ic_attr members to NULL, as one of the previous function calls
14040         causes the display to be realised.  This means that the ic gets
14041         lost.  Thanks to Yukihiro Nakai <ynakai@redhat.com> for finding
14042         this one.
14044 2000-08-06  James Henstridge  <james@daa.com.au>
14046         * shapes/Makefile.am (SUBDIRS): add Civil back to list.
14048         * NEWS: fixed date in NEWS file, as I will release today.
14050         * README: updated the README a little.  Added note that Dia is now
14051         a GNU program.
14053         * dia.spec: fix up spec file.
14055         * plug-ins/wpg/wpg.c: changed DIAG_NOTE stuff here as well.
14057         * plug-ins/hpgl/hpgl.c: change Hans's DIAG_NOTE stuff so that we don't
14058         get heaps of warnings when you turn off debugging.
14059         Also made a few other warning fixes.
14061 2000-08-02  James Henstridge  <james@daa.com.au>
14063         * plug-ins/svg/Makefile.am (INCLUDES): add XML_CFLAGS to INCLUDES.
14065         * configure.in: update version number.
14067 2000-08-01  James Henstridge  <james@daa.com.au>
14069         * app/commands.c (help_about_callback): add Hans to about dialog.
14071         * doc/shape.dtd: dtd for shape file format.
14073         * doc/custom-shapes: update doc file about creating custom shapes.
14075         * shapes/*/*.shape: change namespace URI for the SVG portion to the
14076         one for the latest draft.
14078         * shapes/*/*.shape: fix up rect definitions.
14080         * objects/custom/shape_info.c (load_shape_info): recognise newer
14081         namespace tag for SVG.
14082         (parse_svg_node): the rect element should take attributes x, y, width
14083         and height -- not x1,y1,x2,y2.
14085         * plug-ins/svg/render_svg.c (new_svg_renderer): updated doctype
14086         output to use the newest draft DTD.
14088         * plug-ins/svg/svg.c: initialisation code for plugin.
14090         * plug-ins/svg/render_svg.c: move svg export code to a plugin.
14092         * plug-ins/svg/Makefile.am: makefile for svg plugin.
14094         * app/app_procs.c (internal_plugin_init): don't register the svg
14095         export filter here.
14097         * app/Makefile.am (dia_core_files): don't compile in render_svg.[ch]
14099 2000-07-31  James Henstridge  <james@daa.com.au>
14101         * objects/standard/textobj.c (textobj_get_defaults): 
14102         * objects/standard/polygon.c (polygon_get_defaults): 
14103         * objects/standard/image.c (image_get_defaults): 
14104         * objects/standard/ellipse.c (ellipse_get_defaults): 
14105         * objects/standard/box.c (box_get_defaults): 
14106         * objects/standard/beziergon.c (beziergon_get_defaults): 
14107         * objects/flowchart/parallelogram.c (pgram_get_defaults): 
14108         * objects/flowchart/ellipse.c (ellipse_get_defaults): 
14109         * objects/flowchart/diamond.c (diamond_get_defaults): 
14110         * objects/flowchart/box.c (box_get_defaults): 
14111         * objects/custom/custom_object.c (custom_get_defaults): 
14112         * objects/FS/flow.c (flow_get_defaults): 
14113         * objects/FS/flow-poly.c (flow_get_defaults): 
14114         * objects/FS/flow-ortho.c (orthflow_get_defaults): ref and sink the
14115         defaults widget.
14117         * app/defaults.c (defaults_show): don't keep on ref'ing the defaults
14118         widgets for various object types.
14119         (create_dialog): ref and sink the no_defaults_dialog.
14121         * app/preferences.c (prefs_create_dialog): change
14122         gtk_container_border_width call to gtk_container_set_border_width.
14124 2000-07-29  James Henstridge  <james@daa.com.au>
14126         * app/commands.c (view_aa_callback): show a warning dialog if
14127         you start AA mode.
14129         * app/interface.c (fill_sheet_menu): don't add a menu item for
14130         empty sheets.
14132 2000-07-26  James Henstridge  <james@daa.com.au>
14134         * plug-ins/dxf/dxf-export.c: updates from Steffen to fix bug #18677
14136         * app/menus.c: remove edit grid menu item.
14138         * app/commands.[ch] (view_edit_grid_callback): removed.
14140         * app/display.c (new_display): don't initialise removed Grid members.
14142         * app/grid.c: remove unused functions.
14144         * app/grid.h: remove dialog related stuff from Grid structure.
14145         Remove prototypes for dialog functions.
14147         * app/menus.c: add to menus
14148         
14149         * app/commands.[ch] (view_diagram_properties_callback): new command
14150         for showing the diagram properties dialog.
14152         * app/dia-props.[ch]: a new diagram properties dialog.  To replace
14153         the edit grid dialog.
14155 2000-07-25  James Henstridge  <james@daa.com.au>
14157         * app/grid.c (grid_x_update): 
14158         (grid_y_update): as the grid setting is stored with the diagram,
14159         update all displays when a change is made.
14161         * app/modify_tool.c (modify_motion): use new snap_to_grid sig.
14163         * app/create_object.c (create_object_button_press): 
14164         (create_object_motion): use new snap_to_grid signature.
14166         * app/grid.c (grid_draw): use the grid settings in the DiagramData,
14167         and handle invisible grid lines.
14168         (snap_to_grid): use new grid settings.  Also changed signature to
14169         take a DDisplay rather than Grid pointer.
14170         (grid_show_dialog): get the defaults from the correct place.
14172         * app/display.c (new_display): do not set ddisp->grid.width_[xy].
14174         * app/diagram.c (new_diagram): set the grid size defaults from the
14175         user preferences.
14177         * app/load_save.c (diagram_data_save): save grid and guide info to
14178         diagram file.
14179         (diagram_data_load): add guide and grid load support.
14181         * lib/diagramdata.c (new_diagram_data): set the new DiagramData
14182         members.
14184         * lib/diagramdata.h: add members to DiagramData for grid and guide
14185         settings.
14187         * configure.in (BONOBO_LIBS): update configure scripts
14189         * app/dia.oafinfo: oafinfo file for dia embeddables.
14191         * app/dia_embedd.c: add OAF support.
14193 2000-07-24  James Henstridge  <james@daa.com.au>
14195         * plug-ins/wpg/Makefile.am: 
14196         * plug-ins/pstricks/Makefile.am: 
14197         * plug-ins/hpgl/Makefile.am: 
14198         * plug-ins/dxf/Makefile.am: same here.
14200         * plug-ins/cgm/Makefile.am: remove LIBADD.  Dia already links with
14201         the required libraries, and the link line was causing libtool not
14202         to build a shared library on some systems :(
14204         * plug-ins/cgm/cgm.c (write_real): the initial if statement should
14205         be checking x, not n.
14207 2000-07-23  James Henstridge  <james@daa.com.au>
14209         * app/preferences.c (prefs_data): set the "reset tools after
14210         create" preference to true by default.  That seems to be what most
14211         people expect.
14213         * app/interface.c (create_sheets): instead of a notebook, use an
14214         option menu that updates the sheet tools.  The notebook tabs were
14215         getting a bit unwieldly, so the option menu should fix that.  This
14216         also reduces the number of widgets in the tools radio button
14217         group, which should make the UI a little more responsive.
14219 2000-07-19  Fatih Demir <kabalak@gmx.net>
14220         
14221         * configure.in: Added tr to ALL_LINGUAS.
14222                 [ Yeah, we're now having a Turkish translation,
14223                    too. ]
14224         
14225         * dia.desktop: Added the Turkish entries.
14227 2000-07-02  Fredrik Hallenberg  <hallon@lysator.liu.se>
14229         * doc/diagram.dtd: changed string-element so it conforms to the
14230         output from dia.
14232 2000-06-30  Fredrik Hallenberg  <hallon@lysator.liu.se>
14234         * configure.in: added chinese. 
14235         Use AM_PROG_LIBTOOL instead of AC_PROG_LIBTOOL.
14237         * app/app_procs.c:
14238           app/load_save.c:
14239           app/render_svg.c:
14240           lib/dia_xml.c:
14241           lib/plug-ins.c:
14242           lib/sheet.c:
14243           objects/custom/shape_info.c: 
14244           shapes/Circuit/npn.shape:
14245           shapes/Circuit/pnp.shape:
14246           sheets/*.sheet: dia now works with libxml2.
14247         Libxml2 is a bit more picky when parsing xml and reported errors on all 
14248         sheet files because they use non ascii characters (added 
14249         encoding="iso-8859-1"). Also "xml:lang=en@layman" is not proper xml so 
14250         I commented out these.
14252 2000-06-30  Christopher R. Gabriel  <cgabriel@linux.it>
14254         * configure.in (ALL_LINGUAS): added Italian
14256 2000-06-27  Sung-Hyun Nam  <namsh@lgic.co.kr>
14258         * configure.in (ALL_LINGUAS): added Korean
14260 2000-06-25  James Henstridge  <james@daa.com.au>
14262         * objects/flowchart/parallelogram.c (pgram_create): use default font
14263         and add properties interface support.
14265         * objects/flowchart/ellipse.c (ellipse_create): use default font and
14266         add properties interface support.
14268         * objects/flowchart/diamond.c (diamond_create): use default font and
14269         add properties interface code.
14271         * objects/flowchart/box.c (box_create): use default font.
14273         * objects/custom/custom_object.c (custom_create): use default font
14274         here too.
14276         * objects/standard/textobj.c (textobj_create): update to use default
14277         font.
14279         * lib/attributes.c: add implementations.
14281         * lib/attributes.h (attributes_[gs]et_default_font): add function
14282         prototypes for setting/getting a default font.
14284 2000-06-24  James Henstridge  <james@daa.com.au>
14286         * app/paginate_gnomeprint.h: updated prototype.
14288         * app/paginate_gnomeprint.c (paginate_gnomeprint): update to use
14289         diagram page settings.
14291         * objects/standard/beziergon.c (beziergon_copy): same here.
14293         * objects/standard/polygon.c (polygon_copy): copy the fill colour
14294         as well.
14296         * app/undo.h: 
14297         * app/tool.h (tool_options_dialog_show): 
14298         * app/scroll_tool.h (free_scroll_tool): 
14299         * app/render_svg.h: 
14300         * app/render_libart.h (renderer_libart_copy_to_window): 
14301         * app/render_gdk.h (renderer_gdk_copy_to_window): 
14302         * app/properties.h (properties_hide_if_shown): 
14303         * app/preferences.h (prefs_load): 
14304         * app/object_ops.h: 
14305         * app/modify_tool.h (free_modify_tool): 
14306         * app/magnify.h (free_magnify_tool): 
14307         * app/linewidth_area.h (linewidth_area_create): 
14308         * app/layer_dialog.h: 
14309         * app/handle_ops.h (handle_is_clicked): 
14310         * app/group.h: 
14311         * app/grid.h (grid_destroy_dialog): 
14312         * app/defaults.h (defaults_show): 
14313         * app/cut_n_paste.h (cnp_exist_stored_objects): 
14314         * app/create_object.h (free_create_object_tool): 
14315         * app/connectionpoint_ops.h (diagram_unconnect_selected): 
14316         * app/commands.h: 
14317         * app/color_area.h (color_area_create): 
14318         * app/app_procs.h (app_is_embedded): remove extern keyword from
14319         function prototypes.
14321         * lib/text.h: 
14322         * lib/sheet.h (load_all_sheets): 
14323         * lib/render_store.h: 
14324         * lib/render_object.h (render_object_load): 
14325         * lib/polyshape.h (polyshape_closest_segment): 
14326         * lib/poly_conn.h (polyconn_closest_segment): 
14327         * lib/orth_conn.h: 
14328         * lib/object.h: 
14329         * lib/objchange.h (new_object_state_change): 
14330         * lib/neworth_conn.h (neworthconn_add_segment): 
14331         * lib/message.h (message_error): 
14332         * lib/lazyprops.h: 
14333         * lib/geometry.h: 
14334         * lib/font.h (font_descent): 
14335         * lib/focus.h (remove_focus): 
14336         * lib/element.h: 
14337         * lib/diagramdata.h: 
14338         * lib/dia_xml.h (data_add_composite): 
14339         * lib/dia_image.h: 
14340         * lib/connpoint_line.h: 
14341         * lib/connection.h (connection_move_handle): 
14342         * lib/color.h: 
14343         * lib/attributes.h (attributes_set_default_line_style): 
14344         * lib/arrows.h (arrow_draw): remove extern keyword from function
14345         definitions.  It is not required for functions.
14347         * plug-ins/dxf/Makefile.am (INCLUDES): 
14348         * plug-ins/pstricks/Makefile.am (INCLUDES): 
14349         * plug-ins/cgm/Makefile.am (INCLUDES): 
14350         * objects/SADT/Makefile.am (INCLUDES): 
14351         * objects/chronogram/Makefile.am (INCLUDES): 
14352         * objects/GRAFCET/Makefile.am (INCLUDES): 
14353         * objects/flowchart/Makefile.am (INCLUDES): 
14354         * objects/sybase/Makefile.am (INCLUDES): 
14355         * objects/FS/Makefile.am (INCLUDES): 
14356         * objects/standard/Makefile.am (INCLUDES): 
14357         * objects/network/Makefile.am (INCLUDES):
14358         * objects/UML/Makefile.am (INCLUDES): same here.
14360         * objects/ER/Makefile.am: changed inclusion of some macros to
14361         variables.
14363         * lib/plug-ins.c (dia_register_plugins_in_dir): use a few defines to
14364         handle the plug in extension, rather than have all the #ifdef's in
14365         the code.
14367         * plug-ins/Makefile.am: add renderer.inc to dist.
14369         * plug-ins/dxf/dxf-import.c: Updates from Steffen Macke.
14371 2000-06-11  Asbjorn Pettersen  <asbjornP@dualog.no>
14373         * lib/plug-ins.c: Handle OS/2 dll's too.
14375 2000-06-07  James Henstridge  <james@daa.com.au>
14377         * app/plugin-manager.c (get_plugin_manager): set some table
14378         packing options to make it look a little nicer.
14380         * plug-ins/hpgl/Makefile.am, plug-ins/wpg/Makefile.am: added
14381         makefiles for these plug-ins.
14383         * plug-ins/{hpgl,wmf,wpg}/*: removed dos style cariage returns.
14385         * configure.in: added hpgl and wpg directories to build.  Added
14386         note about whether gnome-print support was enabled, and noted that
14387         it is not recommended.
14389 2000-06-06  James Henstridge  <james@daa.com.au>
14391         * plug-ins/{hpgl,wmf,wpg}/*: Hans Breuer's plug-ins.  They still need
14392         a little work, but I am checking them in so I don't lose them.
14394 2000-06-01  James Henstridge  <james@daa.com.au>
14396         * objects/standard/arc.c: added extra properties.
14398         * lib/beziershape.c (beziershape_closest_handle): fix a bug where I
14399         was using the wrong index into the handles array.  This gets corner
14400         type changing working correctly.
14402         * lib/properties.[ch]: add support for BezPoint's and BezPoint arrays
14403         to properties code (no editing or loading yet though).  Also added
14404         support for point array manipulation through the offsets interfaces.
14406         * lib/Makefile.am (INCLUDES): added include of gdk-pixbuf 
14408         * app/interface.c (origin_button_press): changes so the origin
14409         button doesn't grab the pointer when we pop up the menu.
14411         * app/commands.c (help_about_callback): fix small memory leak in
14412         about box code.
14414         * app/menus.c (menus_init): fixed breakage I introduced in the non
14415         gnome menus when I was doing the menu changes.  The tearoffs work
14416         really nicely in plain gtk mode as well.
14418         * objects/standard/beziergon.c (beziergon_create): changed the
14419         returned handles to match the handle numbering changes.  Now
14420         segment addition and removal works correctly with undo!
14422         * lib/beziershape.c: various changes to the code.  Changed the
14423         numbering of handles, and fixed the segment removal code.
14425 2000-05-31  James Henstridge  <james@daa.com.au>
14427         * objects/standard/beziergon.c: remove connection point handling.
14428         There is still a bit of work to be done to get adding and removing
14429         of segments working correctly.
14431         * lib/beziershape.c: add connection point handling to beziershape.
14432         I set it for two connection points per segment.
14434 2000-05-30  James Henstridge  <james@daa.com.au>
14436         * objects/standard/polygon.c: don't do connectionpoint handling.
14438         * lib/polyshape.c: changed to handle connection points internally.
14439         Also, don't worry about connections to handles on polyshape, as
14440         all handles are non connectable.
14442 2000-05-30 Ville Hautamaki <villeh@cs.joensuu.fi>
14444         * configure.in: Added finnish
14445         
14446 2000-05-30  James Henstridge  <james@daa.com.au>
14448         * sheets/*.sheet: translation updates to the .sheet files.
14450         * po/fr.po: updated po file from Christophe Merlet.
14452         * menus.h: removed prototypes for functions which have been removed.
14454 2000-05-29  James Henstridge  <james@daa.com.au>
14456         * app/layer_dialog.c (layer_dialog_set_diagram): set the selected
14457         item in the option menu when changing selected diagram.
14459         * app/dia_embedd.c (view_factory): fix up function to work with new
14460         menus API.
14462         * app/disp_callbacks.c (ddisplay_realize): remove call to
14463         display_set_active from here.
14464         (ddisplay_canvas_events): move call here.  This gets rid of all the
14465         warnings, as the renderer has been fully set up correctly at this
14466         point.
14468         * app/menus.c (menus_init): add the tearoff item to the start of the
14469         right click menu.
14471         * app/app_procs.c (create_user_dirs): we don't need to create the
14472         menus directory anymore.
14474         * app/disp_callbacks.c (ddisplay_popup_menu): it should not be
14475         necessary to update the menu state here, as it was done when the
14476         active display was set.
14478         * app/display.c (display_set_active): update the menu state when
14479         changing active displays.
14481         * app/interface.c (origin_button_press): set the display as active
14482         when a click is made on the menu button.
14484         * app/menus.c (menus_init): set up a quit function to save the accels
14485         at exit.
14486         Add tearoff items for the non GNOME menus, add accelerators for
14487         several GNOME menus.
14489         * app/disp_callbacks.c (ddisplay_popup_menu): get the menu with
14490         menus_get_image_menu().
14492         * app/menus.c (menus_get_item_from_path): use display_menus here
14493         rather than ddisp->popup.
14495         * app/display.h: remove the popup member in the DDisplay structure.
14497         * app/interface.c: remove option of not using wrap box.
14498         (create_toolbox): change to always use menus_get_toolbox_menubar
14499         even when using gnome menus.
14500         (create_display_shell): use menus_get_image_menu to load accelerators
14501         only -- not the actual popup menu.
14503         * app/menus.c (menus_init): new function to create the menus.
14504         (menus_get_toolbox_menubar): use this function whether gnome is
14505         in use or not.  Changed to use menus_init.
14506         (menus_get_image_menu): same here.  Also, now this function always
14507         returns the same menu, rather than a new one each time.
14508         (menus_init): read a menurc file to load accelerators here.
14510 2000-05-28  James Henstridge  <james@daa.com.au>
14512         * app/display.c (ddisplay_really_destroy): unset active display if
14513         active display is destroyed.
14514         (ddisplay_active): simplify function to return active_display as set
14515         by display_set_active.  This allows using a pinned menu with any
14516         display -- not just the one it was popped up from.
14517         (display_set_active): notify the layer dialog of change of diagrams
14518         when active diagram changes.
14520         * app/disp_callbacks.c (ddisplay_canvas_events): set active display
14521         on button and key presses.
14522         (ddisplay_realize): set active display on realize.
14524         * app/display.c (display_set_active): simple implementation of this
14525         function.
14527         * app/display.h (display_set_active): add prototype for setting
14528         the active display.
14530         * app/interface.c (create_display_shell): don't give focus to the
14531         menu button.
14533         * app/menus.c: fix up menus for Beziergon.
14535         * app/interface.c (create_display_shell): make the widget in the
14536         top left corner a button that can be used to pop up the right click
14537         menu, like in gimp and sketch.
14539         * app/disp_callbacks.c (ddisplay_popup_menu): new function to popup
14540         the display menu.
14542         * objects/standard/beziergon.c (beziergon_set_corner_type_callback):
14543         add code to set corner types for beziergon.
14545         * lib/beziershape.c (beziershape_set_corner_type): fix up corner type
14546         setting code.
14547         (beziershape_move_handle): use the previous corner type for right
14548         controls.
14550         * app/interface.c (tool_data): add beziergon to toolbox.
14552         * objects/standard/standard.c (dia_plugin_init): initialise the new
14553         Beziergon object type.
14555         * objects/standard/beziergon.c: an object based on BezierShape.
14557         * lib/dummy_dep.h (dummy_dep): added to dummy_dep.
14559         * lib/beziershape.[ch]: new files implementing a bezier shape.
14561 2000-05-26  James Henstridge  <james@daa.com.au>
14563         * lib/text.c (text_key_event): handle multibyte inserts.
14564         (text_key_event): also add home and end keybindings.
14566         * app/interface.c (create_display_shell): connect handlers for
14567         focus_in_event, focus_out_event, realize and unrealize signals.
14569         * app/display.[ch] (new_display): initialise input context members.
14571         * app/disp_callbacks.[ch]: added XIM support here.
14573         * lib/font.c (suck_font): the black and white pixel values should be
14574         taken from a 1 bit colormap rather than the default colormap.
14576         Hans Breuer's Windows patches ...
14578         * lib/font.c: use Courier New for fixed width font on windows
14579         machines.
14581         * lib/dia_image.h: change to "struct _DiaImage".
14583         * lib/dia_image.c: change "struct DiaImage" to "struct _DiaImage"
14585         * app/disp_callbacks.c (ddisplay_canvas_events): allow ctrl+right
14586         mouse button for object menu.  This will make two button mouse owners
14587         happier.
14589 2000-05-25  James Henstridge  <james@daa.com.au>
14591         * app/filedlg.c (file_open_ok_callback): use diagram_load here.
14593         * app/app_procs.c (app_init): add extra NULL argument to call of
14594         diagram_load.
14596         * app/load_save.h: remove prototype.
14598         * app/load_save.c: remove diagram_data function here.
14600         * app/diagram.h: added prototype.
14602         * app/diagram.c (diagram_load): new function here, which uses import
14603         filters.
14605         * plug-ins/dxf/dxf.c: register the import filter as well.
14607         * plug-ins/dxf/dxf-import.c: added (unfinished) DXF import filter from
14608         Steffen Macke <macke@heini.fbbwu.fh-lueneburg.de>
14610         * objects/standard/line.c: add start_point and end_point properties
14611         to standard line object.
14613 2000-05-21  James Henstridge  <james@daa.com.au>
14615         * app/paginate_psprint.c: added missing include of locale.h.
14617         * objects/custom/custom_object.c (custom_draw): use fabs rather than
14618         abs for scaling factors.
14619         (custom_distance_from): same here.
14621         * dia.spec: make sure rpm doesn't bomb out when LINGUAS isn't set.
14623 2000-05-18  James Henstridge  <james@daa.com.au>
14625         * po/POTFILES.in: updated POTFILES.in.
14627         * dia.spec: incremented version number in spec file.
14629         * NEWS: added (lots of) news items for the 0.85 release.
14631         * app/preferences.c (prefs_save): set LC_NUMERIC to C while writing
14632         the config file.
14634         * configure.in: updated version number here.
14636         * app/Makefile.am (run_dia.sh): include plug-ins in the lib path.
14638 2000-05-17  James Henstridge  <james@daa.com.au>
14640         * app/app_procs.c (internal_plugin_init): register the native import
14641         filter.
14643         * app/load_save.c (diagram_data_load, diagram_load): split this
14644         function into two -- one that does all the work on the DiagramData
14645         structure, and the other that provides compatibility with the old
14646         function.
14647         (dia_import_filter): use diagram_data_load to define an import
14648         filter.
14650         * app/diagram.h (new_diagram): added const to prototype.
14652         * app/filedlg.c (file_open_callback): change to use new import filter
14653         code.
14655         * lib/filter.c: added import filter management functions.
14657         * lib/filter.h: added prototypes for import filter interface.
14659         * app/commands.c (help_about_callback): updated about dialog to
14660         contain a few more names.
14662 2000-05-16  James Henstridge  <james@daa.com.au>
14664         * configure.in (Configuration): added a status message to the end of
14665         the configure script to give the user some idea of what was
14666         configured.
14668         * plug-ins/dxf/Makefile.am: Makefile for new plugin.
14670         * plug-ins/dxf/dxf.c (dia_plugin_init): added file to initialise the
14671         plugin.
14673         * plug-ins/dxf/dxf-export.c: new file -- Steffen Macke's DXF export
14674         filter for dia.
14676         * configure.in (AM_PATH_LIBART): use the check function provided
14677         with libart rather than our own code.  It is more reliable, and
14678         it only requires that people who build out of CVS have libart.m4
14679         installed (not necessarily all of libart).
14680         (AM_PATH_GDK_PIXBUF): same here for gdk-pixbuf.
14682 2000-05-12  Andreas Hyden  <a.hyden@cyberpoint.se>
14684         * dia.desktop: Added Swedish translation.
14686 2000-05-09  James Henstridge  <james@daa.com.au>
14688         * lib/dia_xml.c: you can't free a const pointer, so remove const
14689         from variable definitions.
14691         Explicitely set LC_NUMERIC where needed, as sometimes it isn't
14692         initialised correctly.
14694         * app/render_svg.c (export_svg): set locale to C.
14696         * app/paginate_psprint.c (paginate_psprint): set locale to C.
14698         * app/render_eps.c (export_eps): set locale to C for EPS export.
14700         * lib/dia_xml.c (data_add_real): change to C locale for snprintf call.
14701         (data_add_point): same here.
14702         (data_add_rectangle): same here.
14703         (data_real): use g_strtod to convert strings to real numbers, so that
14704         locales are taken into account.
14705         (data_point): same here.
14706         (data_rectangle): same here.
14708         * AUTHORS: added Henk and Jacek to authors file.
14710         Daniel Egger's code cleanups.
14712         * app/select.c (select_invert_callback): remove unused variable.
14714         * app/plugin-manager.c (get_plugin_manager): fix typo.
14716         * app/load_save.c (read_connections, write_objects): 
14717         (write_connections): made some functions static.
14719         * app/interface.c (toolbox_delete, toolbox_destroy): made some
14720         functions static.
14722         * app/filedlg.c (file_export_callback): remove unused variable.
14724         * app/app_procs.c: various warning fixes.
14726         Integrating Jacek Pliszka's pstricks export filter.
14728         * plug-ins/pstricks/pstricks.c: code to initialise the plugin.
14730         * plug-ins/pstricks/render_pstricks.[ch]: Jacek Pliszka's pstricks
14731         renderer (with a few small modifications by me).
14733         * plug-ins/pstricks/Makefile.am: new makefile for pstricks plug-in.
14735         * plug-ins/Makefile.am (SUBDIRS): add pstricks subdirectory.
14737 2000-05-07  Alexander Larsson  <alla@lysator.liu.se>
14739         * configure.in:
14740         * sheets/Makefile.am:
14741         * shapes/Makefile.am:
14742         * shapes/Civil/Makefile.am:
14743         * sheets/civil.sheet:
14744         * shapes/Civil/*:
14745         Added civil/hydraulic/structural engineering objects from
14746         sdteffen <macke@heini.fbbwu.fh-lueneburg.de>.
14747         
14748 2000-05-07  Alexander Larsson  <alla@lysator.liu.se>
14750         * objects/FS/flow-poly.c:
14751         * objects/FS/flow.c:
14752         Fix division by zero in point_normalize().
14753         Patch by David Thompson <dcthomp@mail.utexas.edu>
14755 2000-04-27  Lars Clausen  <lrclause@cs.uiuc.edu>
14757         * lib/arrows.c:
14758         * lib/bezier_conn.c:
14759         * lib/connpoint_line.c:
14760         Added checks for zero-length lines before calls to point_normalize.
14762 2000-04-24  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
14764         * app/preferences.c (prefs_data): Changed
14765         reversed_dragging_intersects to not make the dialog ridiculously
14766         wide.
14767         
14768 2000-04-22  James Henstridge  <james@daa.com.au>
14770         Hans's win32 patches:
14772         * app/export_png.c: include message.h
14773         * app/interface.c: include dia_dirs.h
14774         * app/linewidth_area.c: check for rint
14775         * app/main.c: include interface.h
14776         * app/paginate_psprint.c: remove unused variable.
14777         * app/preferences.c: include message.h
14778         * app/render_svg.c: include stdlib.h
14779         * app/select.c: include object_ops.h
14780         * lib/dia_dirs.c: miscelaneous fixes for win32.
14781         * lib/dia_image.c: include string.h
14782         * lib/plug-ins.c: look for .dll files rather than .la files on win32.
14783         * lib/properties.c: include stdlib.h
14784         * lib/properties.h: define extra data for standard properties as
14785         static variables on win32 (to get around dynamic linker problems).
14786         * objects/standard/polygon.c: polygon_create_change missing return
14787         statement.
14789 2000-04-18  Pablo Saratxaga <pablo@mandrakesoft.com>
14791         * configure.in (ALL_LINGUAS): added Catalan
14793 2000-04-18  James Henstridge  <james@daa.com.au>
14795         * objects/standard/bezier.c (bezierline_get_object_menu): add a
14796         separator to the object menu between the add/remove segment items
14797         and the corner type items.
14798         (bezierline_get_object_menu): add code to disable the menu item for
14799         the current corner type.  Really just a cosmetic change.
14801         * app/disp_callbacks.c (create_object_menu): handle DiaMenuItems with
14802         a NULL for the label or with no associated callback.
14804         * objects/standard/bezier.c (bezierline_menu_items): use the
14805         enumeration values rather than numeric values for the corner types.
14807         * lib/bezier_conn.[ch]: added a corner_types member to the BezierConn
14808         structure, and add code to handle it.  Also, don't save the corner
14809         types inline in the bez_points node.  The way it is conditionally
14810         including the element just feels like it will break.
14812         * lib/geometry.h (BezPoint): removed the corner_type stuff from
14813         BezPoint.  The corner type stuff is a user interface level idea rather
14814         than something required by the renderer, so should be taken care of
14815         at the object level.
14817 2000-04-17  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
14819         * configure.in: Fixed some problems with the gdk-pixbuf/imlib
14820         checks.  Weren't able to reproduce original bug, tough.
14822 2000-04-16  Cyrille Chepelov  <chepelov@calixo.net>
14824         * sheets/Electric.sheet:
14825         * sheets/Contact.sheet:
14826         * sheets/Pneumatic.sheet:
14827         * sheets/Circuit.sheet: sprayed some <br/>'s around.
14828         (added a few French translations in the last file)
14829         
14830 2000-04-16  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
14832         * lib/geometry.h: 
14833         * lib/bezier_conn.h: 
14834         * objects/standard/bezier.c: 
14835         * lib/bezier_conn.c: Support for cuspy, smooth and symmetric
14836         bezier points.  Only one minor problem known:  Menus are active
14837         for endpoints minor handles.
14838         11:28: Save and load now works, too.
14839         (bezierconn_closest_major_handle): 12:03: New function to get the
14840         non-control point handle associated with the nearest control
14841         point.  
14842         Also fixed the menu activation problem, and made remove_segment
14843         not remove the endpoint.
14845 2000-04-15  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
14847         * configure.in: Added check for gdk-pixbuf being >= 0.7.0 since
14848         new API is in use.
14850 2000-04-15  Asbjorn Pettersen  <asbjornP@dualog.no>
14852         * lib/plug-ins.c: Added <sys/types.h> and moved <fcntl.h> below
14853         <sys/stat.h>.   OS/2 patch.
14855 2000-04-15  James Henstridge  <james@daa.com.au>
14857         * objects/FS/flow-ortho.c, objects/FS/function.c: Applied David
14858         Thompson's patch that adds undo support to the function structure
14859         diagram objects.
14861 2000-04-14  James Henstridge  <james@daa.com.au>
14863         * objects/custom/custom_object.c (custom_distance_from): new
14864         implementation of distance algorithm that actually takes the
14865         display list into account when calculating the distance.  Much nicer
14866         than a simple bounding box.
14868 2000-04-13  Lars Clausen  <lrclause@cs.uiuc.edu>>
14870         * lib/geometry.c (line_crosses_ray): Fixed division by zero bug
14872 2000-04-12  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
14874         * objects/standard/polygon.c: Start of polygons own changes (for
14875         connectionpoints).  Need to do seperate changes in polyshape, too,
14876         rather than reuse the bezier changes.
14878 2000-04-13  James Henstridge  <james@daa.com.au>
14880         * lib/dia_image.c (dia_image_draw): use the new enumeration values
14881         from after the gdk-pixbuf cleanup.
14883         * lib/geometry.c (bez_point_distance_and_ray_crosses): fix up limit
14884         on for loop.  Last set of coefficients were not beeing calculated,
14885         which caused a bit of breakage.
14887         * lib/bezier_conn.c (bezierconn_closest_segment): use the new
14888         functions in geometry.c for calculating the closest segment.
14889         (bezierconn_distance_from): use distance_bez_line_point to calculate
14890         the distance.
14892         * lib/geometry.c (distance_bez_line_point): new function to calculate
14893         the distance from an open bezier line to a point.
14894         (distance_bez_shape_point): new function to calculate the distance
14895         from a closed bezier shape.
14896         (distance_ellipse_point): new function to calculate the distance from
14897         a filled ellipse to a point.
14899         * lib/geometry.h (BezPoint): moved this structure here from render.h
14901 2000-04-12  James Henstridge  <james@daa.com.au>
14903         * lib/geometry.c (distance_bez_seg_point): new function to calculate
14904         the distance from a bezier segment.
14906         * lib/polyshape.c (polyshape_distance_from): use distance_polygon_point
14907         to calculate the distance from the object.
14909         * lib/geometry.c (distance_polygon_point): function for calculating
14910         the distance from a polygon to a point.
14912 2000-04-12  Cyrille Chepelov  <chepelov@calixo.net>
14914         * app/interface.c:
14915         * lib/sheet.[ch]: added a <br/> tag in sheet files, so that line 
14916         breaks can be inserted in the tool box. 
14918         * doc/sheet.dtd: updated the DTD
14919         * sheets/GRAFCET.sheet: tried <br/> on that sheet (more to come).
14920         
14921 2000-04-12  James Henstridge  <james@daa.com.au>
14923         * app/plugin-manager.c (get_plugin_manager): use the GTK_DIALOG
14924         macro if the dialog is a GtkDialog :(
14926 2000-04-11  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
14928         * objects/standard/polygon.c: Connectionpoints now properly
14929         managed in a GList.  As far as I can tell, this will not dieturb
14930         the order (but I have the nagging doubt...)
14932         * lib/polyshape.c: No longer knows about connectionpoints.
14934 2000-04-11  James Henstridge  <james@daa.com.au>
14936         * app/Makefile.am: fix makefile for bonobo build.
14938         * configure.in: fix checks for bonobo.
14940         * app/menus.c: added entries for the plugin manager.
14942         * app/Makefile.am (dia_core_files): added plugin manager to files
14943         list.
14945         * app/plugin-manager.[ch]: the plugin manager dialog.
14947         * app/display.c (display_update_menu_state): set the antialiased
14948         menu entry to the correct value.
14950 2000-04-11  Cyrille Chepelov  <chepelov@calixo.net>
14952         * objects/custom/custom_object.c: not all renderers like ellipses with
14953         negative dimensions. This could cause ellipses to disappear when using
14954         the flip_h and flip_v functions.
14956         * samples/grafcet.dia: fixed speling and correctness.
14957         
14958 2000-04-11  James Henstridge  <james@daa.com.au>
14960         * lib/plug-ins.[ch]: added more accessors for use by a plugins dialog.
14961         exposed the dia_plugin_load and dia_plugin_unload functions.
14963         * lib/plug-ins.c (plugin_load): change plugin_load to work on an
14964         already created PluginInfo structure.
14966         * app/app_procs.c (app_exit): call dia_pluginrc_write() to write
14967         the pluginrc file.
14969         * lib/sheet.c: fix up call to dia_config_filename.
14971         * lib/plug-ins.[ch]: started writing code for handling a pluginrc
14972         file.  This would save information such as which plugins not to
14973         load during startup.
14975 2000-04-09  James Henstridge  <james@daa.com.au>
14977         * lib/sheet.c: use dia_config_filename to resolve file in ~/.dia.
14979 2000-04-10  Alexander Larsson  <alla@lysator.liu.se>
14981         * lib/plug-ins.c (dia_register_plugins):
14982         Don't free the value returned from g_getenv.
14984 2000-04-09  Anders Carlsson  <andersca@gnu.org>
14986         * app/preferences.h: Add reverse_rubberbanding_intersects preference variable.
14988         * app/preferences.c (prefs_data): Add reverse_rubberbanding_intersects preference data.
14990         * app/modify_tool.c (modify_button_release): If rubberbanding is done from 
14991         right to left, select objects that intersect the rubberbanding rectangle
14992         instead of selecting objects that are in the rectangle.
14994         * lib/diagramdata.c (layer_find_objects_intersecting_rectangle): Add function.
14996         * lib/diagramdata.h: Likewise.
14999 2000-04-09  James Henstridge  <james@daa.com.au>
15001         * lib/plug-ins.[ch]: add copyright messages to files.
15003         * plug-ins/cgm/cgm.c (dia_plugin_init): convert plugin over to new
15004         plugin interface.
15006         * objects/sybase/sybase.c (dia_plugin_init): 
15007         * objects/network/network.c (dia_plugin_init): 
15008         * objects/flowchart/flowchart.c (dia_plugin_init): 
15009         * objects/custom/custom.c (dia_plugin_init): 
15010         * objects/chronogram/chronogram.c (dia_plugin_init): 
15011         * objects/UML/uml.c (dia_plugin_init): 
15012         * objects/SADT/sadt.c (dia_plugin_init): 
15013         * objects/GRAFCET/grafcet.c (dia_plugin_init): 
15014         * objects/FS/fs.c (dia_plugin_init): 
15015         * objects/ER/er.c (dia_plugin_init): updated plugin load code for
15016         object libraries.
15018         * objects/standard/standard.c (dia_plugin_init): change over to new
15019         plugin interface.
15021         * lib/plug-ins.h (DIA_PLUGIN_CHECK_INIT): added a macro to define
15022         the version checker for plugins.
15024         * app/app_procs.c: remove plugin loading code from here, and use
15025         code from plug-ins.[ch].  Also move registration of internal
15026         objects/filters to a `builtin' plugin.
15028         * lib/Makefile.am (libdia_a_SOURCES): added plug-ins.[ch] to library.
15030         * configure.in: use AC_PROG_LIBTOOL rather than AM_PROG_LIBTOOL.
15032         * app/Makefile.am (EXTRA_DIST): you can't include a conditionally
15033         defined variable in EXTRA_DIST.
15035         * app/preferences.h: removed dia_config_filename from header.
15037         * app/preferences.c: removed dia_config_filename function.
15039         * lib/dia_dirs.c (dia_config_filename): moved function over to this
15040         file.  Also changed implementation slightly so that it should work
15041         on the win32 port correctly (and use NT home directories).
15043         * lib/dia_dirs.h (dia_config_filename): move dia_config_filename where
15044         it should have been.
15046         * lib/plug-ins.[ch]: new plugin loading code.
15048 2000-04-08  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
15050         * objects/standard/polygon.c: Fixed startup crash bug (do'h!).
15052         * lib/polyshape.c: Fix closest segment finding, exposes deeper
15053         bugs in adding corners to 'wraparound' segment.
15055         * objects/standard/polygon.c: Added connection points (fixed so
15056         far), set menu sensitivity.
15058         * lib/polyshape.c: Changed to box-style handles, fixed for start
15059         and ends not being special, added initial connections,
15061         * lib/dummy_dep.h: Added polyshape (gotcha!)
15063         * objects/standard/pixmaps/ellipse.xpm: 
15064         * objects/standard/pixmaps/box.xpm: 
15065         Filled element pixmaps with white.
15067         * lib/polyshape.c: 
15068         * objects/standard/polygon.c: 
15069         * lib/polyshape.h: 
15070         * objects/standard/standard.c: 
15071         * objects/standard/Makefile.am (libstandard_objects_la_SOURCES): 
15072         * lib/Makefile.am (libdia_a_SOURCES): 
15073         * app/menus.c: 
15074         * app/interface.c (tool_data): 
15075         Added Standard/Polygon object and PolyShape lib object.  Still
15076         needs inside grab and connection points.
15078         * app/commands.c (help_about_callback): Now uses gdk-pixbuf if
15079         available. 
15081         * configure.in: Made imlib a fallback if gdk-pixbuf is absent or
15082         not wanted.
15084         * app/app_procs.c (app_init): Moved gtk_init outside #ifdef, moved
15085         if (argv) outside ifdefs.
15087 2000-04-04  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
15089         * objects/standard/image.c (image_set_props): 
15090         Aspect ratio is back in town.
15092         * app/Makefile.am (dia_LDADD): 
15093         * acconfig.h: 
15094         * configure.in: 
15095         Check for gdk_pixbuf (by default disabled, for now)
15097         * app/render_eps.c (draw_image): 
15098         * app/render_libart.c (draw_image): 
15099         * app/render_gnomeprint.c (draw_image): 
15100         Support for alpha mask in rendering.  Color postscript, too.
15102         * lib/dia_image.c: 
15103         * lib/dia_image.h: 
15104         Support for gdk_pixbuf and proper masking for exports.
15106 2000-04-01  Kjartan Maraas  <kmaraas@online.no>
15108         * sheets/*.sheets: Updated Norwegian translations.
15109         
15110 2000-03-30  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
15112         * lib/text.c (text_insert_char): 
15113         * lib/render_store.c (add_data): 
15114         Made realloc double the alloced space rather than add
15115         a fixed amount, to reduce memory stress.
15117         * app/select.c: Added new select method 'Transitive'
15118         that select every reachable (by connections) object.
15120 2000-03-27  Kjartan Maraas  <kmaraas@online.no>
15122         * dia.desktop: Added Norwegian translation.
15123         
15124 2000-03-26  Alexander Larsson  <alla@lysator.liu.se>
15126         * app/render_eps.c:
15127         * app/render_svg.c:
15128         Don't dereference NULL pointer if the renderer
15129         couldn't open the file. Fix by Lars Clausen.
15130         Bug reported by Martin Chisholm <b1mt@unb.ca>
15131         
15132 2000-03-26  Alexander Larsson  <alla@lysator.liu.se>
15134         * dia.desktop:
15135         * po/pt.po:
15136         Updated pt translation from Pedro Morais <pmmm@rnl.ist.utl.pt>
15138 2000-03-25  Alexander Larsson  <alla@lysator.liu.se>
15140         * app/dia.gnorba (location_info):
15141         Changed to correct executable name.
15143 2000-03-25  Alexander Larsson  <alla@lysator.liu.se>
15145         * app/app_procs.c:
15146         Don't do any argument parsing or initialization
15147         if argv==NULL.
15149         * app/dia_embedd.c:
15150         Call init_server_factroy before app_init.
15151         Call app_init with argv==NULL
15152         Now we don't get any critical error on startup.
15154         * configure.in:
15155         Add Electric and Pneumatic to makefile list.
15156         
15157 2000-03-24  Cyrille Chepelov <chepelov@calixo.net>
15159         * shapes/Electric/*:
15160         * sheets/Electric.sheet:
15161         Add some Electric circuit shapes.
15163         * shapes/Pneumatic/*:
15164         * sheets/Pneumatic.sheet:
15165         Add some Pneumatic & Hydraulic circuit shapes
15166         (both sheets are still incomplete, though feature enough 
15167         things for basic circuits).
15169         * shapes/Contact/l_*.(xpm|shape):
15170         * sheets/Contact.sheet
15171         * shapes/Contact/Makefile.am
15172         made the older electric circuit shapes in Contact obsolete (disabled
15173         them in the sheet, made that sheet Ladder only). Fixed the makefile
15174         for forgotten items.
15175         
15176 2000-03-24  Alexander Larsson  <alla@lysator.liu.se>
15178         * app/Makefile.am:
15179         Add support for Dia bonobo component.
15180         Currently a bit raw, so it's commented out.
15181         
15182         * app/dia_embedd.c:
15183         * app/dia.gnorba:
15184         New files for embedding dia.
15185         The menu disabling hack is a bit gross. Esp. for GNOME.
15187         * app/app_procs.h:
15188         Add new function app_is_embedded();
15190         * app/diagram.c:
15191         Don't destroy diagram when last display is destroyed if embedded.
15192         
15193         * app/display.c:
15194         Change initialization of display so it works with embedding.
15196         * app/display.h:
15197         Clarify comment about display destruction.
15199         * app/interface.[ch]:
15200         Added top_level_window argument to create_display_shell.
15201         Don't open a top-level window if embedding.
15202         Don't quit app if trying to close toolbox window when embedding.
15203         Add toolbox_show() and toolbox_hide().
15205         * app/main.c:
15206         Added app_is_embedded() function (just returns false).
15207         Added toolbox_show() call in main().
15209         * app/menus.c:
15210         Added code for getting toolbox menus. This is used to
15211         hide some menu items when running embedded.
15212         
15213         * app/app_procs.c:
15214         Include sheet.h to remove warning.
15216         * objects/UML/association.c:
15217         Clarify association direction text.
15218         
15219 2000-03-16  Fredrik Hallenberg  <hallon@lysator.liu.se>
15221         * dia.1
15222         Fixed man page so whatis parsing works.
15224 2000-03-12  Alexander Larsson  <alla@lysator.liu.se>
15226         * app/render_libart.c (new_libart_renderer):
15227         Fix from segg <segg@infonet.ca> to compile without libart.
15228         I forgot to change the stub for new_libart_renderer when doing
15229         the interactive renderer stuff for libart.
15231 2000-03-11  Alastair McKinstry  <mckinstry@computer.org>
15233         * dia.desktop: Added Irish translation.
15234         
15235         * configure.in (ALL_LINGUAS): Added Irish (ga) translation.
15237 2000-03-07  Asbjorn Pettersen  <asbjornP@dualog.no>
15239         * app/load_save.c (fchmod): OS/2 defines only.
15241 2000-03-07  James Henstridge  <james@daa.com.au>
15243         * lib/properties.c (prop_get_widget): set the position in the option
15244         menu correctly.
15246 2000-03-06  Alexander Larsson  <alla@lysator.liu.se>
15248         * app/display.c:
15249         * app/export_png.c:
15250         * app/render_libart.[ch]:
15251         Don't export png:s with an interactive libart renderer.
15253 2000-03-03  Asbjorn Pettersen  <asbjornP@dualog.no>
15255         * lib/arrows.c (finite): define finite(d) isfinite(d)  for OS/2
15257 2000-03-02  James Henstridge  <james@daa.com.au>
15259         * dia.spec (%build): unset LINGUAS before running configure.  This
15260         ensures that all translations get included in the RPM.
15262         * lib/properties.c (object_create_props_dialog): put in a check for
15263         a NULL return from the describe_props() object method.
15264         (prop_desc_lists_union): make sure that the returned array is not
15265         NULL.
15266         (prop_desc_lists_intersection): same here.
15268 2000-02-29  Alexander Larsson  <alla@lysator.liu.se>
15270         * objects/ER/Makefile.am:
15271         * objects/FS/Makefile.am:
15272         * objects/UML/Makefile.am:
15273         Don't link object libs with gtk.
15275 2000-02-29  James Henstridge  <james@daa.com.au>
15277         * app/preferences.c (prefs_save): check to see if the file could
15278         be opened before writing the prefs.
15280         * app/disp_callbacks.c (popup_object_menu): pass the button event
15281         to gtk_menu_popup.  This allows you to click and release to open
15282         the object menu.
15283         (ddisplay_canvas_events): same here.
15284         (create_object_menu): set the object type menu item in the object
15285         menu to be insensitive.
15287         * app/render_svg.c (draw_string): call xmlEncodeEntitiesReentrant,
15288         as we are now requiring a new version of libxml.
15290         * dia.spec: updated version number.  Added requirement for
15291         libxml >= 1.8.5
15293         * configure.in: incremented version number to 0.84.
15294         Added check for libxml >= 1.8.5.  This will prevent some of the
15295         problems people have had with broken libxml versions.
15297         * NEWS: added news items.
15299         * app/interface.c (create_color_area): removed call to realize parent
15300         widget.  Segg <segg@infonet.ca> reported that it caused a warning,
15301         but I haven't seen it on my copy of dia.
15303 2000-02-28  James Henstridge  <james@daa.com.au>
15305         * app/export_png.c: added copyright notice, and made the band height
15306         a constant.
15308 2000-02-27  Alexander Larsson  <alla@lysator.liu.se>
15310         * lib/font.c (suck_font):
15311         Fixed off-by one bug in font pixmap height.
15312         Fixes the problem with garbage at the bottom of some text in aa mode
15313         and in png exported files.
15315 2000-02-27  James Henstridge  <james@daa.com.au>
15317         * app/app_procs.c: add the png export filter if it was compiled in.
15319         * app/export_png.c (export_png): new PNG export filter.  This requires
15320         the libart renderer to work as it needs a renderer that renders to a
15321         pixel buffer.
15323         * configure.in: add check for libpng.
15325         * lib/message.c (message_internal): use a GNOME dialog here as well.
15327         * app/display.c (ddisplay_close): use a GNOME dialog here.
15329         * app/render_eps.c (create_eps_renderer): use diagram scaling factor
15330         when exporting to EPS.  This is because some people said the EPS
15331         output was too large
15333 2000-02-26  James Henstridge  <james@daa.com.au>
15335         * app/defaults.c (create_dialog): use a GNOME dialog for the defaults
15336         window.
15338         * app/app_procs.c (app_exit): use a GNOME dialog here.
15340         * app/preferences.c (prefs_create_dialog): if GNOME support is
15341         enabled, show a GNOME dialog.
15343         * app/grid.c (grid_draw): use preferences when drawing page break
15344         lines.
15346         * app/preferences.c: add page break preferences to dialog.
15348         * app/preferences.h: added page break preferences.
15350 2000-02-25  James Henstridge  <james@daa.com.au>
15352         * sheets/UML.sheet: added new objects.
15354         * objects/UML/uml.c: link in the two new objects.
15356         * objects/UML/node.c: 
15357         * objects/UML/branch.c: new UML objects from Stfan Seefeld
15358         <seefelds@magellan.umontreal.ca>.
15360 2000-02-24  James Henstridge  <james@daa.com.au>
15362         * objects/custom/custom_object.c: converted to use the properties
15363         interface.  In the future, it would be nice to add support for
15364         defining custom properties for custom objects, but that can wait.
15366 2000-02-22  James Henstridge  <james@daa.com.au>
15368         * sheets/Circuit.sheet: added new circuit shapes to sheet.
15370         * plug-ins/cgm/cgm.c: cgm plugin updates from Henk Jan Priester
15371         <hj@justcroft.com>.  Fixes number encoding, colour encoding, fonts
15372         and adds a few new features.
15374 2000-02-21  Daniel Egger  <egger@suse.de>
15376         * sheets/*.sheets: Added German translations and made some
15377         corrections to the others.
15378         
15379 2000-02-21  James Henstridge  <james@daa.com.au>
15381         * shapes/Circuit/Makefile.am (SHAPES): added new shapes to list.
15383         * shapes/Circuit/...: added new shapes from Erik Janssens.
15385 2000-02-20  James Henstridge  <james@daa.com.au>
15387         * app/interface.c (create_color_area): realize the parent window
15388         first.
15390         * objects/standard/image.c: properties patch for standard image
15391         object, from Lars Clausen.
15393         * lib/properties.c: support for PROP_TYPE_FILE from Lars Clausen.
15395         * lib/properties.h (PropType): added file property type.
15397         * shapes/Circuit/speaker_de.xpm: changed size of pixmap to match
15398         other shapes.
15400         * app/interface.c: use wrap box for toolbox.
15402         * app/Makefile.am: added new files.
15404         * app/gtk*wrapbox.[ch]: added wrap box widget.
15406 2000-02-19  James Henstridge  <james@daa.com.au>
15408         * sheets/network.sheet: added extra shapes to networks sheet.
15410         * configure.in (AC_OUTPUT): added shapes/network/Makefile
15412         * shapes/network/*: added shapes that were posted to the list a while
15413         back.
15414         
15415         * shapes/Makefile.am (SUBDIRS): added network subdirectory
15417         * app/menus.c (toolbox_menu_items): don't right justify help menu for
15418         gtk+ version of menus.
15420         * app/properties.c (create_dialog): use a GnomeDialog if we happen
15421         to be using gnome.
15423 2000-02-18  James Henstridge  <james@daa.com.au>
15425         * objects/flowchart/box.c: set extra data for corner radius and text
15426         padding properties.
15428         * objects/standard/box.c: set extra data for corner radius property.
15430         * lib/properties.h: set extra data in some standard properties.
15432         * lib/properties.c (prop_get_widget): look at the extra data for
15433         int, real and enum property types.  They now use GtkSpinButton and
15434         GtkOptionMenu respectively.
15436         * lib/properties.h: extra data members for creating property setting
15437         widgets.
15439 2000-02-17  James Henstridge  <james@daa.com.au>
15441         * objects/flowchart/box.c: reverted load/save functions back to
15442         previous implementations.  Made box use standard property names.
15444         * plug-ins/cgm/cgm.c (set_linestyle): was missing a */
15446         * app/grid.c: add more digits to the grid edit dialog.  This patch
15447         was also from Lars Clausen.
15449         * objects/standard/zigzagline.c: 
15450         * objects/standard/textobj.c:
15451         * objects/standard/polyline.c:
15452         * objects/standard/line.c:
15453         * objects/standard/ellipse.c:
15454         * objects/standard/box.c: 
15455         * objects/standard/bezier.c: 
15456         * objects/standard/arc.c: patches to add properties code to standard
15457         objects.  Based on patches from Lars Clausen.  I have also removed
15458         some dead code from the files.
15460         * lib/properties.h (PROP_STD_*): define a number of standard
15461         properties.  Where appropriate, objects should include these
15462         properties in their PropDescription list.  This way, the intersection
15463         of properties of two different shapes will be greater.
15465 2000-02-14  James Henstridge  <james@daa.com.au>
15467         * objects/flowchart/box.c (box_load, box_save): use property save
15468         routines.  Make sure that any props not handled by object_load_props
15469         are loaded before calling object_load_props, or we get errors because
15470         update_data is called.
15472         * lib/properties.c (object_get_props_from_offsets): fixed an indexing
15473         error that could cause properties to be loaded incorrectly.
15474         (object_set_props_from_offsets): similar here.
15476         * lib/properties.[ch] (prop_{load,save}): functions for loading
15477         or saving a property in Dia's XML file format.
15478         (object_{load,save}_props): load or save some properties of an
15479         object.  These functions should help simplify the load/save methods
15480         of objects that implement the properties interface.
15482 2000-02-13  James Henstridge  <james@daa.com.au>
15484         * objects/flowchart/box.c: use offset code to simplify property
15485         get/set routines.
15487         * lib/element.h (ELEMENT_COMMON_PROPERTIES): standard element
15488         properties.
15489         (ELEMENT_COMMON_PROPERTIES_OFFSETS): offsets.
15491         * lib/object.h (OBJECT_COMMON_PROPERTIES): list of standard object
15492         properties.
15493         (OBJECT_COMMON_PROPERTIES_OFFSETS): the offsets of the properties.
15495         * lib/properties.[ch] (object_{get,set}_props_from_offsets): new
15496         functions 
15498 2000-02-12  Alexander Larsson  <alla@lysator.liu.se>
15500         * app/Makefile.am:
15501         Add the custom object to DIA_LIB_PATH in run_dia.sh
15503 2000-02-10  Cyrille Chepelov  <chepelov@calixo.net>
15505         * sheets/Circuit.sheet:
15506         * shapes/l_sout* (NEW):
15507         * shapes/l_outj.* (NEW): added new outputs : jump, and the power-saved
15508         variants of simple, inverted, set and reset outputs.
15509         Still to do: all Schneider/Telemecanique TSX *7 function blocks ; 
15510         probably a split of Contact and Ladder sheets. And then a major 
15511         revamping of the Contact sheet.
15513 2000-02-10  James Henstridge  <james@daa.com.au>
15515         * app/Makefile.am (dia_LDADD): don't link with libcustom_objects.
15517         * app/app_procs.c (register_all_objects): don't explicitely
15518         register the custom objects library -- let it be loaded by the
15519         normal plugin loading methods.
15521         * lib/Makefile.am (libdia_a_SOURCES): don't include custom.h here.
15523         * objects/custom/Makefile.am: build libcustom_objects as a shared
15524         library again.
15526         * objects/custom/shape_info.[ch]: don't read the description field
15527         of custom shapes.  It makes more sense to have these in the sheet
15528         file to localise the parts of dia that translators have to deal
15529         with.
15531         * objects/custom/custom_object.c (custom_object_new): do not
15532         create the sheet object for the new custom shape -- this is
15533         handled by the custom sheet code.
15535         * objects/custom/custom.c: change over to being a normal plug-in
15536         rather than being linked with the main dia executable.
15538 2000-02-09  James Henstridge  <james@daa.com.au>
15540         * sheets/Circuit.sheet: 
15541         * sheets/Flowchart.sheet: 
15542         * sheets/Contact.sheet: fixed up sheets.
15544         * objects/custom/custom_object.c (custom_object_new): set the
15545         extra ObjectType fields.
15547         * lib/sheet.c: use extra ObjectType fields when creating sheet
15548         objects.  Give a warning if <shape> tags are found in a sheet
15549         file.  Now the custom sheet code does not know about custom
15550         shapes -- they look like any other object type.
15552         * lib/object.h (ObjectType): added extra members
15554 2000-02-08  Alexander Larsson  <alla@lysator.liu.se>
15556         * app/linewidth_area.c:
15557         Added code to set arbitrary line width.
15558         Patch by Lars Clausen <lrclause@cs.uiuc.edu>
15560 2000-02-08  Alexander Larsson  <alla@lysator.liu.se>
15562         * app/linewidth_area.c: 
15563         * lib/font.[ch]:
15564         Add support for font-sucking.
15565         Implementation borrowed from gnome-canvas.
15566         
15567         * app/render_libart.[ch]:
15568         Implement text rendering.
15570 2000-02-07  Alexander Larsson  <alla@lysator.liu.se>
15572         * app/properties.c (create_dialog):
15573         ref and sink no_properties_dialog.
15575 2000-02-07  James Henstridge  <james@daa.com.au>
15577         * app/group.c (group_describe_props): new function.  Return the
15578         intersection of the properties of the contained objects that
15579         implement the describe_props interface.
15580         (group_get_props): implement by iterating through contained objects
15581         and calling their get_props method until all properties have been
15582         set.  Maybe this should go through all objects all the time??
15583         (group_set_props): implement by calling set_props method on all
15584         contained objects.
15585         (group_ops): use standard props dialog creation routines.
15587         * lib/properties.c (prop_desc_lists_intersection): fix implementation
15588         of intersection -- I was using i++ instead of i-- in a for loop :(
15590         * objects/custom/custom.c (custom_register_objects): fix usage
15591         of dia_get_data_directory again.
15593         * lib/sheet.c: fix up use of dia_get_data_directory, so that we
15594         actually read the sheets.
15596 2000-02-06  Alexander Larsson  <alla@lysator.liu.se>
15598         Win32 port by Hans Breuer <Hans@Breuer.org>
15600         * app/Makefile.am:
15601         Remove DATADIR and LIBDIR defines.
15603         * lib/Makefile.am:
15604         Add dia_dirs.c and dia_dirs.h
15605         Added DATADIR and LIBDIR defines.
15607         * lib/dia_dirs.[ch]:
15608         New files for handling special directories.
15610         * app/app_procs.c:
15611         * app/commands.c:
15612         * lib/sheet.c:
15613         * objects/custom/custom.c:
15614         Fix warnings.  Use directory functions.
15616         * app/diagram.h:
15617         Add prototype for diagram_redraw_all.
15619         * app/diaunitspinner.c:
15620         * app/filedlg.c:
15621         * app/interface.c:
15622         * app/preferences.c:
15623         Fix warning.
15625         * app/load_save.c:
15626         Win32 doesn't have mkstemp and fchmod.
15628         * app/paginate_psprint.c:
15629         Win32 calls popen _popen and pclose _pclose.
15630         
15631         * app/arrow.c:
15632         Win32 calls finite _finite.
15634         * lib/color.h:
15635         Win32 needs to dllexport the color vars.
15637         * objects/GRAFCET/step.c:
15638         * objects/chronogram/chronoref.c:
15639         snprintf -> g_snprintf
15641 2000-02-05  James Henstridge  <james@daa.com.au>
15643         * lib/properties.c: more fixes so that it doesn't crash when using
15644         properties.  The undo/redo stuff also works!!
15646         * objects/flowchart/box.c (box_{describe, get, set}_props): test
15647         object where I have implemented the new properties interface
15648         complete with automatic properties dialog generation.
15650         * lib/properties.c (object_apply_props): fixed stupid error when
15651         creating the old_props array.  Also, it no longer frees the props
15652         array -- you will have to do that yourself.
15654 2000-02-04  James Henstridge  <james@daa.com.au>
15656         * app/properties.c (properties_apply): pass object_part to
15657         apply_properties.
15659         * lib/object.h (ApplyPropertiesFunc): added widget argument.
15661         * lib/lazyprops.h (PROPDLG_CREATE): ref and sink properties dialogs
15662         created this way as well.
15664         * objects/*/*.c: ref and sink the properties dialog window for each
15665         widget.  It can't rely on ref count being incremented by
15666         properties_show anymore.
15668         * app/properties.c (properties_show): don't ref the widget before
15669         removing it, or its ref count will increase each time you open the
15670         properties dialog.  Don't unparent the widget, as container_remove
15671         does that for us.
15673         * lib/object.h: fixed up prototypes for new object methods.
15675         * lib/properties.[ch]: added functions for automatically creating
15676         a properties dialog from the output of describe_props, get_props and
15677         set_props.
15678         (object_apply_props): apply properties and return an ObjectChange
15679         structure that can be used for undo.
15681 2000-02-03  Cyrille Chepelov  <chepelov@calixo.net>
15683         * objects/GRAFCET/transition.c: minor leak plugged.
15685         * sheets/GRAFCET.sheet:
15686         * objects/GRAFCET/pixmaps/condition.xpm: (NEW)
15687         * objects/GRAFCET/condition.c: (NEW) added a new object type, action 
15688         conditions.
15689         * objects/GRAFCET/Makefile.am: fixed incorrect dependencies, added
15690         new ones (for condition.c).
15691         * objects/GRAFCET/action.c: added connection points for the conditions.
15692         * samples/grafcet.dia: updated the sample to improve conformance to
15693         IEC 848 and take advantage of dia's new features.
15694         
15695         * lib/geometry.h: (point_get_normed) fixed a typo.
15697 2000-02-02  James Henstridge  <james@daa.com.au>
15699         * lib/object.h: added object functions describe_props, get_props and
15700         set_props.  Do type definitions so that object.h doesn't need to
15701         include properties.h, since properties.h includes object.h.
15703         * lib/properties.[ch]: more hacking.
15705         * po/de.po: updated po file.
15707 2000-01-30  James Henstridge  <james@daa.com.au>
15709         * configure.in: don't add flags to CFLAGS unconditionally.  Instead,
15710         check to see if the C compiler accepts the flag beforehand.
15712         * lib/properties.[ch]: start of properties code.
15714         * shapes/Contact/Makefile.am (SHAPES): fix up makefile.
15716 2000-01-30  Cyrille Chepelov  <chepelov@calixo.net>
15717         
15718         * sheets/GRAFCET.sheet:
15719         * sheets/GRAFCET/etapemc.xpm: (NEW)
15720         * sheets/GRAFCET/etapesp.xpm: (NEW)
15721         * objects/GRAFCET/step.c: Added the macro and
15722         sub-program call step types.
15724         * objects/GRAFCET/receptivity.[ch]: renamed to 
15725         objects/GRAFCET/boolequation.[ch]. 
15726         * objects/GRAFCET/transition.c: changed (Receptivity *) to 
15727         (BoolEquation *)
15729         * lib/connpoint_line.[ch]: 
15730         * objects/chronogram/chronoline.c:
15731         * objects/chronogram/chronoref.c:
15732         * objects/GRAFCET/vergent.c:
15733         * objects/standard/line.c:
15734         * objects/SADT/box.c: Minor CPL interface changes, factored out the
15735         point count adjustment code into the CPL object.
15736         
15737 2000-01-29  Alexander Larsson  <alla@lysator.liu.se>
15739         * app/render_libart.c:
15740         Added support for images and bezier curves.
15741         Only text/fonts missing now.
15743         * app/render_gdk.c:
15744         Removed old erronous comment.
15746 2000-01-29  Cyrille Chepelov <chepelov@calixo.net>
15748         * objects/chronogram/chronoline_event.c: removed references to
15749         lround(). Please don't insist, I'm already red of shame.
15750         
15751 2000-01-29  Alexander Larsson  <alla@lysator.liu.se>
15753         * app/render_libart.[ch]:
15754         * app/Makefile.am:
15755         Non-finished libart renderer.
15757         * acconfig.h:
15758         Added HAVE_LIBART flag
15760         * configure.in:
15761         Added libart probe
15763         * app/app_procs.c:
15764         Call gdk_rbg_init().
15766         * app/connectionpoint_ops.c:
15767         * app/disp_callbacks.c:
15768         * app/grid.c:
15769         * app/handle_ops.c:
15770         * app/magnify.c:
15771         * app/modify_tool.c:
15772         Change ddisp->renderer type from RendererGdk * to Renderer *
15773         Draw zoom and select rects in ddisp->canvas->window instead
15774         of ddisp->renderer->renderer->pixmap.
15776         * app/display.[ch]:
15777         Add aa_renderer to DDisplay, and  support for it.
15778         New function ddisplay_set_renderer() for changing renderer.
15779         Add ddisplay_transform_coords_double() function, used by aa renderer.
15780         Change ddisp->renderer type from RendererGdk * to Renderer *
15782         * app/menus.c:
15783         Add antialias to menu.
15784         
15785         * app/commands.[ch]:
15786         add view_aa_callback function
15787         Change ddisp->renderer type from RendererGdk * to Renderer *
15789         * lib/geometry.[ch]:
15790         Added IntRectangle and int_rectangle_union.
15792 2000-01-28  James Henstridge  <james@daa.com.au>
15794         * app/commands.h: removed prototypes.
15796         * app/commands.c: removed the functions that have been moved to
15797         filedlg.c.
15799         * app/filedlg.h: added new prototypes.
15801         * app/filedlg.c (file_open_callback): move open dialog to this
15802         file.  This implementation should remember the current directory
15803         between file loads.
15804         (file_save_as_callback): moved this dialog as well.
15805         (file_save_callback): moved this function here.
15807         * app/paginate_psprint.c (paginate_psprint): if not in fit to mode,
15808         align page boundaries to the origin.
15810         * app/diagram.c (diagram_update_extents): redraw the diagram if the
15811         scaling factor changes while updating the extents.  This is so the
15812         page breaks get redrawn correctly.
15814         * app/pagesetup.c (pagesetup_apply): added diagram_flush call when
15815         applying changes.
15817         * app/grid.c (grid_draw): draw page breaks as well as grid lines.
15818         For normal mode, use (0,0) as the origin.  For `fit to' mode, use
15819         the corner of the bounding box.
15821         * app/pagesetup.c (create_page_setup_dlg): load new paper attributes
15822         into page setup dialog.
15823         (pagesetup_apply): apply new `fit to' attributes to the diagram.
15825         * app/load_save.c (diagram_load): load new paper `fit to' attributes.
15826         (diagram_data_save): save `fit to' data.
15828         * lib/diagramdata.c (new_diagram_data): initialise `fit to' members.
15829         (data_update_extents): when in `fit to' mode, update scale factor
15830         when we update the extents.
15832         * lib/diagramdata.h (PaperInfo): added `fit to' members to PaperInfo
15833         structure.
15835         * .../.cvsignore: added some cvsignore files to quieten cvs.
15836         
15837         * app/pagesetup.c (pagesetup_changed): added code to change the
15838         scaling/fit to values as you change the options in the page setup
15839         dialog.  I haven't added code so that the fit to options are saved
15840         though.
15842         * app/diapagelayout.[ch]: changed the scaling portion of the widget
15843         to make it easier to set a `fit to' style scaling factor.
15845 2000-01-27 Cyrille Chepelov <chepelov@calixo.net>
15846         * lib/neworth_conn.[ch]: (NEW) Temporary (hopefully) fork of orth_conn,
15847         but connpoint_line-based, so that there's a connection point at the 
15848         middle of each segment. Currently only the SADT arrow uses this.
15850         * objects/SADT/* (NEW): SADT (both idf0 and idf1) support.
15851         
15852 2000-01-26 Cyrille Chepelov <chepelov@calixo.net>
15853         * lib/lazyprops.[ch]:(NEW) Added a bunch of macros for loading, 
15854         saving and editing of properties (and default properties). 
15855         See the new objects (GRAFCET, SADT, chonograms) for examples.
15856         For already too hairy stuff, see objects/chronogram/chronoline.c.
15858         * lib/connpoint_line.[ch] (NEW): This subobject manages a line of 
15859         evenly spaced connection points, which the user can add or remove at
15860         will. An object can own several connection point lines. See the SADT
15861         Box, or the GRAFCET vergents for examples.
15863         * lib/dummy_dep.h: added dependencies to new files. Told gcc to keep 
15864         quiet about unused stuff.
15866         * objects/GRAFCET (NEW):
15867         * samples/grafcet.dia (NEW):
15868         Added support for GRAFCET charts. 
15870         * objects/chronogram (NEW):
15871         * samples/chronograms.dia (NEW):
15872         Added support for chronograms (feature requested by Ronald L. Chichest;
15873         I found I'd use it often, too).
15875         * objects/standard/line.c: Replace the middle connectionpoint by 
15876         a whole connection point line, which defaults to one point (hint, 
15877         hint). New Line object menu to take advantage of this. 
15878         "Bothwards" compatibility is preserved (although you may loose 
15879         connections if you load a newer file in a older dia).
15881         * app/lineprops_area.c:
15882         * lib/arrows.[ch]:
15883         * lib/widgets.c: Added hollow and filled ellipse arrow head type. 
15884         (feature requested by Benjamin Kahn).
15885         Merged in Steffen Macke's slashed arrow head type.
15887         * app/Makefile.am (app/run_dia.sh actually):
15888         Added $DEBUGGER in front of dia's invocation, so that
15889         you can call "DEBUGGER=ddd app/run_dia.sh" (maybe naive, but useful).
15890         Added $(EFENCE) to app/dia's LDFLAGS, so that you can do 
15891         "EFENCE=-lefence" to link with Electric Fence.
15893         * configure.in: Made gcc do more aggressive optimisations on i386, and
15894         enabled warnings.
15895         
15896 2000-01-24  James Henstridge  <james@daa.com.au>
15898         * lib/geometry.[ch]: added inline versions of functions.  Used
15899         glib's G_INLINE_FUNC stuff, so it should still work on systems
15900         without inline funcs.
15902         * plug-ins/cgm/cgm.c (draw_ellipse, fill_ellipse): fixed up so that
15903         it outputs the correct element id for the ellipse objects.
15905 2000-01-24 Cyrille Chepelov <chepelov@calixo.net>
15907         * lib/object.[ch]: added object_add_connectionpoint_at, similar to
15908         object_add_handle_at. Message typo fixed.
15909         
15910         * lib/sheet.c (load_register_sheet):
15911         potential bug fixed (warning hunt).
15913         * objects/custom/custom.c (custom_object_load): disabled an assertion
15914         which made dia abort upon failure to load a shape file. Fixed a
15915         subsequent crash. 
15917         * objects/custom/shape_info.c (load_shape_info): Made the custom 
15918         shape load code ignore XML comments between <?xml ...?> and the 
15919         root object (mostly useful to put the emacs magic comments).
15920         
15921         * app/load_save.c: Made dia do backup copies of files when saving,
15922         and complain in case of failure.
15924 2000-01-24  Cyrille Chepelov  <chepelov@calixo.net>
15926         * AUTHORS: fixed my address (ISP thought it was a great idea to change
15927         the domain name)
15928         
15929         * configure.in:
15930         * shapes/Contact:
15931         * shapes/Contact/*:
15932         * sheets/Contact.sheet:
15933         * sheets/Makefile.am:
15934         Added support for Contact and LADDER charts.
15936         * dia.desktop: Added a French translation.
15937         
15938 2000-01-23  James Henstridge  <james@daa.com.au>
15940         * app/commands.c (help_about_callback): don't die if can't load
15941         logo image.
15943         * app/render_gdk.c (bezier_add_lines): sanity check to try to weed
15944         out NaN's when performing bezier curve subdivision.
15946         * objects/custom/custom_object.c: initialise memory of Custom structs
15947         to zero.
15949         * app/render_svg.c (draw_image): added image support to the XML
15950         output filter.  The image is just referenced, rather than being
15951         included inline, so if you copy the SVG file somewhere else, you
15952         may need to move the images or fix up the links.
15954         * plug-ins/cgm/cgm.c (draw_string): output a text colour element,
15955         so the text is not just displayed in black all the time.
15957 2000-01-15  Fredrik Hallenberg  <hallon@lysator.liu.se>
15959         * configure.in: fixed libpopt test so we wont try to build with
15960         too old libpopt.
15962 1999-12-18  Yuri Syrota  <rasta@renome.rovno.ua>
15964         * configure.in: Added "uk" to ALL_LINGUAS.
15966 1999-12-24  James Henstridge  <james@daa.com.au>
15968         * po/ru.po: updated russian translation from Valek Filippov.
15969         
15970         * app/render_svg.c (new_svg_renderer): make output use 19991203
15971         version of SVG DTD.  Use viewBox to set the extents of the view.
15973         * INSTALL (FONTS): updated locations of gnome-xml and imlib.  List
15974         ftp.gnome.org as the download.
15976         * TODO (TODO): weeded out completed todo items and added a few extra.
15978         * Makefile.am (EXTRA_DIST): added documentation to EXTRA_DIST.
15980         * doc/sheet.dtd: first stab at a DTD for the sheet files.  It would
15981         be good to get rid of the object/shape distinction and separate
15982         the custom shape code out from the main application.
15984         * objects/custom/README, diagram.dtd: moved to new doc directory.
15985         Renamed the custom shapes README to custom-shapes.  Also updated
15986         custom shape docs a bit and removed the section on sheet files, as
15987         that has changed a bit.
15989         * plug-ins/cgm/cgm.c (draw_image): give an error if the row length
15990         of the image data is larger than the maximum cell array.  I should
15991         add code to break scan lines down further in this case, but for now
15992         an error message is better than an infinite loop.
15994         * app/filedlg.c (file_export_ok_callback): show a dialog if we
15995         couldn't determine the export filter to use.
15997         * app/commands.c (help_about_callback): fixed up about box logo
15998         expose bug.  Now just use a GtkPixmap widget rather than a
15999         GtkDrawingArea and calling gdk_imlib_paste_image.
16001         * app/Makefile.am (EXTRA_DIST): added print stuff to extra dist,
16002         because automake does not always get things right.
16004         * configure.in: updated version number to 0.83.
16006         * app/preferences.c (prefs_save): 
16007         * app/render_svg.c (new_svg_renderer): "wt" is not a valid flag string
16008         for fopen.  Text is the default file mode anyway.
16010         * app/commands.c (file_save_as_dialog_ok_callback, file_new_callback): 
16011         * app/grid.c (grid_x_update, grid_y_update, grid_show_dialog): 
16012         * app/load_save.c (write_objects, write_connections): 
16013         * app/filedlg.c (file_export_ok_callback): 
16014         * lib/dia_xml.c (data_add_int, data_add_enum, data_add_real): 
16015         * lib/dia_xml.c (data_add_point, data_add_rectangle): 
16016         * lib/font.c (init_x11_font, font_get_gdkfont): changed calls to
16017         snprintf to calls to g_snprintf.
16019         * plug-ins/cgm/cgm.c (export_cgm): write the original dia file name
16020         as the picture name.
16022 1999-12-23  James Henstridge  <james@daa.com.au>
16024         * plug-ins/cgm/cgm.c (write_int32, write_int16): fixed up output of
16025         negative numbers.  This fixes the upside down text problem I was
16026         having previously.
16027         (draw_image): implemented the image code.  It will try to split the
16028         image data up into bands if it is too big to fit into a single
16029         cgm cell array element.  It will have problems if you try to insert
16030         an image wider than about 10,000 pixels though.
16032         * Makefile.am: use gnomedatadir for the files that need to be
16033         installed in gnome's datadir.  This is mainly to help people doing
16034         packages for weird setups.
16036 1999-12-22  James Henstridge  <james@daa.com.au>
16038         * plug-ins/cgm/cgm.c: added support for text.  Now only images and
16039         beziers are left to do.  The text seems to be the wrong way up
16040         still.  This is probably a problem with character orientation
16041         element, but I have used what the settings given in the standard.
16042         Other than this, the CGMs dia produces are readable (and displayable)
16043         by ralcgm and corel draw.
16044         (draw_string): subtract from the X coord rather than the Y coord for
16045         center and right aligned text.
16047         * plug-ins/cgm/cgm.c: a few fixups for the output.  Use REALSIZE as
16048         the size of a real number, and changed name of write_double to
16049         write_real.  Consider changing to fixed real encoding.  Also, now
16050         all element headers are correct.  Once the real number encoding is
16051         fixed, only text, beziers and images are left to do.
16053 1999-12-21  James Henstridge  <james@daa.com.au>
16055         * Makefile.am (SUBDIRS): recurse into plug-ins.
16057         * configure.in: add plug-ins directory makefiles to list.
16059         * plug-ins/cgm/cgm.c: start of cgm export filter.  Beziers and text
16060         not done yet.  Also, the output files are not quite correct.
16062         * app/render_eps.c (print_reencode_font): don't reencode the Symbol
16063         font.  It doesn't work if you do.
16065 1999-12-20  James Henstridge  <james@daa.com.au>
16067         * app/app_procs.c (app_init): don't use diagram_export_to_eps to
16068         export the files.  Instead, use filter_guess_export_filter to
16069         guess the correct format to save in and use the appropriate filter.
16070         It defaults to postscript for compatibility.
16072         * app/diagram.[ch] (diagram_export_to_eps): removed export to eps
16073         function.
16075         * app/commands.[ch]: removed export to eps functions.
16077         * app/menus.c: removed export to eps menu items.
16079         * app/app_procs.c: register new export filters.
16081         * app/load_save.[ch]: define dia native export filter.
16083         * app/render_eps.[ch]: define eps export filter.
16085         * lib/filter.h: added diafilename argument to the DiaExportFunc
16086         prototype.  This is useful for putting the source of the diagram
16087         into the output file for instance.
16089         * app/app_procs.c (app_init): register the SVG export filter.  Have
16090         to get EPS code converted to this API, and maybe also allow saving in
16091         DIA's native format from the export dialog.  In fact, it is now
16092         possible to load an export filter from a shared library and it will
16093         integrate into the interface correctly.
16095         * app/menus.c: removed references to the SVG renderer.
16097         * app/commands.[ch]: removed svg stuff.
16099         * app/diagram.[ch]: removed diagram_export_to_svg function.
16101         * app/render_svg.[ch]: added a DiaExportFilter structure for this
16102         renderer.
16104         * app/filedlg.[ch]: code for the new export diagram dialog.  Will
16105         probably move the open/save dialogs to this file as well.
16107 1999-12-19  James Henstridge  <james@daa.com.au>
16109         * lib/filter.[ch]: start of interface for generalised handling of
16110         filters.  I have only done code for export filters so far.  I still
16111         need to do the gui for this, and convert the current SVG and EPS
16112         filters to the new API.
16114         * lib/bezier_conn.c (bezierconn_copy): fix up copy operation.  We
16115         weren't setting the last handle correctly.  It was actually assigning
16116         to the wrong position in the handles array, so the last handle was
16117         left as NULL, which caused the segfault.
16119         * objects/standard/image.c (image_copy): modified routine so that
16120         it just adds a reference to the DiaImage structure in the new image
16121         object.  This seems to have cleared up the problems with copying
16122         image objects.
16124         * dia.spec: spec file additions from John Gotts.
16126 1999-12-12  James Henstridge  <james@daa.com.au>
16128         * configure.in (GNOME_LIBS): updated version number to 0.82.  0.82
16129         has not been released yet though.
16131         * Makefile.am (EXTRA_DIST): distribute diagram.dtd.
16133         
16134         The following based on a patch from Lars Clausen:
16135         
16136         * objects/standard/bezier.c (bezierline_move_handle): when performing
16137         the initial drag of the bezierline, move the control points to keep
16138         the line straight.
16140         * lib/bezier_conn.c (bezierconn_add_segment): when adding a segment,
16141         make the new control points a bit closer to the major point.
16143         * app/create_object.c (create_object_motion): use HANDLE_MOVE_CREATE
16144         as the reason for the move.
16145         (create_object_button_release): use HANDLE_MOVE_CREATE_FINAL as the
16146         move reason.
16148         * lib/handle.h: new handle move reasons.
16150 1999-12-09  James Henstridge  <james@daa.com.au>
16152         * dia.spec: include the new files in RPMs.
16154         * Makefile.am: install these new files.
16156         * dia.keys.in: file describing actions and icon for dia diagrams for
16157         use in the gnome file manager.
16158         
16159         * dia.mime: a file defining the application/x-dia-diagram mime type.
16160         
16161         * dia-diagram.png: an icon for dia diagrams.
16163 1999-12-08  James Henstridge  <james@daa.com.au>
16165         * plug-ins/python/pydia-diagram.c: added heaps of new methods.
16167         * plug-ins/python/pydia-display.[ch]: wrapper for display.
16169         * objects/standard/ellipse.c: applied Lars's patch to optionally not
16170         draw the background of the ellipse.
16172         * app/load_save.c (read_connections): do some sanity checking on the
16173         handle and connection point numbers before performing the object
16174         connection.
16176         * lib/bezier_conn.c (bezierconn_load): give the correct number of
16177         handles when loading a BezierConn.
16179 1999-12-07  Kjartan Maraas  <kmaraas@online.no>
16181         * sheets/*.sheet: Finished Norwegian translations.
16182         
16183 1999-12-07  James Henstridge  <james@daa.com.au>
16185         * plug-ins/python/diamodule.c (PyDia_Load): load diagram function.
16186         (PyDia_GetObjectType): find object type function.
16188         * plug-ins/python/pydia-diagram.c (PyDiaDiagram_Save): added a save
16189         method for diagrams.
16191         * plug-ins/python/pydia-object.c: added methods for DiaObject and
16192         DiaObjectType.
16194         * AUTHORS: added Lars and Cyrille to the authors file.
16196         * objects/standard/bezier.c (bezierline_add_segment_callback): place
16197         new point correctly.
16199         * lib/bezier_conn.h (bezierconn_closest_segment): fixed prototype.
16201         * lib/bezier_conn.c: applied Lars's patch for placement of the new
16202         point when adding a segment to a BezierConn.
16204 1999-12-06  James Henstridge  <james@daa.com.au>
16206         * plug-ins/python/test.py: test script for the python plug-in.
16208         * plug-ins/python/python.c: this file contains the plug-in startup
16209         code for the python plugin.  Right now, it just initialises the
16210         dia module and executes a script.
16212         * objects/standard/polyline.c (polyline_draw): fix start arrow size.
16214         * objects/standard/bezier.c (bezierline_draw): draw control lines for
16215         bezier curve if we are using an interactive renderer (ie. only if
16216         displaying to the screen).
16218         * lib/bezier_conn.[ch] (bezierconn_draw_control_lines): function
16219         to draw control lines on to a bezier curve.  Based on implementation
16220         from Lars.
16222         * objects/standard/bezier.c (bezierline_delete_segment_callback):
16223         calculate segment number using closest_segment rather than
16224         closest_handle.  Sometimes the closest handle is part of a different
16225         segment.
16226         (bezierline_draw): use correct size for start arrow.
16228         The next few entries are from Peter Moulder <reiter@netspace.net.au>:
16229         * lib/geometry.c (distance_line_point): added notes to documentation
16230         in comment.
16231         * app/object_ops.c (object_list_align_v): 
16232         (object_list_align_h): fix of by one error when calculating free space
16233         for equal distance alignment.
16234         * app/menus.c (objects_align_h, objects_align_v): include align
16235         adjacent menu items in the gnome version of the menus.
16236         * app/diagram.c (diagram_update_menu_sensitivity): set sensitivity on
16237         align adjacent menu items correctly.
16240         * lib/dummy_dep.h (dummy_dep): added bezierconn to dummy dependency
16241         table.
16243         * objects/standard/bezier.c: converted bezierline to use BezierConn.
16244         Still a few bugs.  It crashes on deleting line segments.
16246         * lib/Makefile.am (libdia_a_SOURCES): added BezierConn to libdia.
16248 1999-12-05  James Henstridge  <james@daa.com.au>
16250         * lib/bezier_conn.[ch]: start of BezierConn object
16252         * app/interface.c: add bezierline to toolbox.
16254         * objects/standard/standard.c: initialise bezierline.
16256         * objects/standard/bezier.c: new object from Lars R. Clausen.  I have
16257         made a few modifications to get it working nicely.  It still needs
16258         a bit of work though.  Maybe create a BezierConn object in lib.
16260 1999-12-02  James Henstridge  <james@daa.com.au>
16262         * plug-ins/python/pydia-*.c: fixed compile errors in these files.
16263         
16264         * plug-ins/python/Makefile.am: tried building everything.  It is
16265         building as a library at the moment.  I will have to convert it
16266         to a libtool library and add some initialisation code.
16267         
16268         * plug-ins/python/diamodule.c: start of the dia module, using the
16269         other object wrappers.  Not complete.
16271 1999-12-01  James Henstridge  <james@daa.com.au>
16273         * plug-ins/python/pydia-object.c (PyDiaObject_GetAttr): implement
16274         the handles and connections attributes.
16276         * plug-ins/python/pydia-layer.c: added functions that use
16277         ConnectionPoint's.
16279         * plug-ins/python/pydia-handle.[ch]: wrapper for Handle's.
16281         * plug-ins/python/pydia-cpoint.[ch]: wrapper for ConnectionPoint's.
16283         * plug-ins/python/pydia-*.[ch]: starts of python scripting plug-in.
16284         I am currently wrapping the basic elements in the diagram in python
16285         objects -- nothing to see or play with yet.
16287 1999-11-30  Alexander Larsson  <alla@lysator.liu.se>
16289         * AUTHORS:
16290         * HACKING:
16291         James Henstridge <james@daa.com.au> is now the maintainer of Dia.
16293 1999-11-29  Alexander Larsson  <alla@lysator.liu.se>
16295         * configure.in:
16296         * po/ru.po:
16297         Added russian translation from Valek Filippov <frob@df.ru>
16299 1999-11-24  James Henstridge  <james@daa.com.au>
16301         * sheets/UML/*: 
16302         * sheet/ER/*: moved extra sheet pixmaps back to separate dirs as
16303         discussed with Alex.  Also added extra makefiles so that make install
16304         works correctly.
16306 1999-11-23  Alexander Larsson  <alla@lysator.liu.se>
16308         * app/preferences.[ch]:
16309         * app/display.c:
16310         Added snap to grid preference.
16311         Patch from Michael Leslie <mles@springboardwireless.com>
16313 1999-11-21  Alexander Larsson  <alla@lysator.liu.se>
16315         * app/load_save.c:
16316         * lib/dia_xml.c:
16317         * lib/sheet.c:
16318         * lib/text.c:
16319         * objects/custom/shape_info.c:
16320         All strings returned by libxml must be freed with free, not
16321         g_free, or there will be problems if you use memory debugging
16322         in glib.
16323         
16324 1999-11-21  Alexander Larsson  <alla@lysator.liu.se>
16326         * app/create_object.[ch]:
16327         * app/menus.c:
16328         * app/tool.[ch]:
16329         * app/commands.[ch]:
16330         * app/pixmaps.h:
16331         * app/interface.[ch]:
16332         Reverted the tool menu patch. It has some 'issues'.
16333         I liked it though, so it'll probably return.
16335 1999-11-21  Alexander Larsson  <alla@lysator.liu.se>
16337         Fixed a lot of memory leaks. Thanks to Bruce Mitchener
16338         <bruce@cybersight.com> for some purify runs and analysis.
16339         Also a great thank you to Owen Taylor for creating MemProf, a
16340         free memory leak detector that was used to find and verify a
16341         lot of these fixes.
16342         
16343         * app/diagram.c:
16344         * app/paginate_psprint.c:
16345         * app/render_eps.[ch]:
16346         * app/render_svg.[ch]:
16347         Free renderers.
16349         * app/interface.c:
16350         Don't add a reference to ddisp->shell. Why was this done in
16351         the first place?
16353         * app/load_save.c:
16354         * lib/dia_xml.c:
16355         * lib/sheet.c:
16356         * lib/text.c:
16357         Free all strings returned from xmlGetProp
16359         * app/modify_tool.c:
16360         Plug leak.
16362         * objects/custom/custom.c:
16363         Use closedir() after opendir().
16365         * objects/custom/shape_info.c:
16366         User g_free() instead of "if (tmp) free(tmp)".
16368         * sheets/ER.sheet:
16369         Add newline at end of file.
16370         
16372 1999-11-20  Alexander Larsson  <alla@lysator.liu.se>
16374         Based on patch from Patrick Reynolds <reynolds@cs.duke.edu>
16375         Adds tool menu and keyboard shortcuts.
16377         * app/create_object.[ch]:
16378         Use tool_set() instead of tool_reset().
16379         create_create_object_tool() takes extra type argument
16381         * menus.c:
16382         Add tools menu.
16383         
16384         * tool.[ch]:
16385         Moved tool_data here, export it.
16386         Add separate tool type for all create objects tools.
16387         new functions tool_set().
16389         * commands.[ch]:
16390         New callback tool_set_callback.
16392         * pixmaps.h:
16393         Moved some pixmaps to interface.c.
16394         
16395         * interface.[ch]:
16396         Remove tool_data array (moved to tool.c).
16397         Use the tool_data from tool.c.
16398         Remove modify_tool_button global var.
16399         
16400 1999-11-20  Alexander Larsson  <alla@lysator.liu.se>
16402         Patch from Patrick Reynolds <reynolds@cs.duke.edu>
16403         
16404         * app/app_procs.c:
16405         Interprets command-line arguments as files to open even when
16406         HAVE_POPT is not defined.
16408         * app/magnify.c:        
16409         Shift-clicking when zooming zooms out, like the Gimp.
16411         * app/menus.c:
16412         Has hotkeys for zoom-100% and snap-to-grid.
16414 1999-11-17  James Henstridge  <james@daa.com.au>
16416         * app/scroll_tool.c (scroll_motion): fixed shift style scrolling so
16417         that it is not jumpy.
16419         * app/Makefile.am (EXTRA_DIST): added extra files to extra dist list.
16421         * app/scroll_tool.c (scroll_motion): added `grabbing hand' type
16422         scrolling by pressing the shift key when using the scroll tool.
16424         * sheets/Makefile.am: fixed makefile so that install actually works
16425         if the directories $(pkgdatadir)/sheets/UML and $(pkgdatadir)/sheets/ER
16426         don't exist.
16427         (SHEETS): install Circuit.sheet
16429 1999-11-15  Alexander Larsson  <alla@lysator.liu.se>
16430         Patch from Cyrille Chepelov <chepelov@rmcnet.fr>
16432         * sheets/Circuit.sheet:
16433         * sheets/ER.sheet:
16434         * sheets/FS.sheet:
16435         * sheets/Flowchart.sheet:
16436         * sheets/UML.sheet:
16437         * sheets/network.sheet:
16438         * sheets/sybase.sheet:
16439         Changed name space
16441         * sheets/Circuit.sheet:
16442         added some missing French translations
16444         * lib/sheet.c:
16445         killed the temporary sheet namespace
16447         * objects/custom/custom.c:
16448         obsolete comment cleaned up
16450 1999-11-12  Alexander Larsson  <alla@lysator.liu.se>
16452         * configure.in:
16453         * po/pt.po:
16454         Added portugese translation from Pedro Morais
16455         <pmmm@rnl.ist.utl.pt>
16457 1999-11-11  Alexander Larsson  <alla@lysator.liu.se>
16459         Changed all sheets to be specified in xml.
16460         All sheet objects removed from the C code.
16461         Patch from Cyrille Chepelov <chepelov@rmcnet.fr>
16462         
16463         * Makefile.am:
16464         * configure.in:
16465         Adding shapes dir.
16466         Updated version to 0.81cvs.
16467         
16468         * app/Makefile.am:
16469         Update run_dia.sh with sheet-dir.
16470         
16471         * app/app_procs.c:
16472         Load all sheets on startup.
16473         Create sheet directory first time.
16474         Don't call custom_register_sheets().
16476         * lib/Makefile.am:
16477         Add sheetdir define
16479         * lib/custom.h:
16480         Remove custom_register_sheets().
16482         * lib/sheet.[ch]:
16483         Add sheet loading code.
16485         * sheet/Circuit.sheet:
16486         * sheet/ER.sheet:
16487         * sheet/FS.sheet:
16488         * sheet/Flowchart.sheet:
16489         * sheet/UML.sheet:
16490         * sheet/network.sheet:
16491         * sheet/sybase.sheet:
16492         Added sheet files.
16494         * sheet/ER/weakentity.xpm:
16495         * sheet/UML/aggregation.xpm
16496         * sheet/UML/umlclass_template.xpm
16497         Added sheet pixmaps.
16498         These are moved from their old places.
16500         * sheet/.cvsignore:
16501         Shut up cvs.
16503         * objects/*/*.c:
16504         Removed sheet objects and sheet registration.
16505         
16506         * objects/ER/Makefile.am:
16507         * objects/ER/pixmaps/weakentity.xpm:
16508         * objects/UML/Makefile.am:
16509         * objects/UML/pixmaps/aggregation.xpm:
16510         * objects/UML/pixmaps/umlclass_template.xpm:
16511         Removed alternative pixmaps. (Moved to sheet).
16513         * objects/custom/Makefile.am:
16514         * objects/custom/load_sheet.[ch]:
16515         Removed old sheet loading code.
16516         
16517         * objects/custom/custom.c:
16518         Load all shapes instead of sheets.
16519         Removed custom_register_sheets().
16521         * objects/custom/custom_object.c:
16522         Added debug code.
16524         * objects/custom/shape_info.[ch]:
16525         Added shape_info_getbyname().
16527         * objects/flowchart/Makefile.am:
16528         * objects/flowchart/collate.shape            
16529         * objects/flowchart/delay.shape              
16530         * objects/flowchart/display.shape            
16531         * objects/flowchart/document.shape           
16532         * objects/flowchart/extract.shape            
16533         * objects/flowchart/flowchart.c              
16534         * objects/flowchart/intstorage.shape         
16535         * objects/flowchart/magdisk.shape            
16536         * objects/flowchart/magdrum.shape            
16537         * objects/flowchart/magtape.shape            
16538         * objects/flowchart/manualinput.shape        
16539         * objects/flowchart/manualop.shape           
16540         * objects/flowchart/merge.shape              
16541         * objects/flowchart/offlinestore.shape       
16542         * objects/flowchart/offpageconn.shape        
16543         * objects/flowchart/or.shape                 
16544         * objects/flowchart/predefdproc.shape        
16545         * objects/flowchart/preparation.shape        
16546         * objects/flowchart/punchedcard.shape        
16547         * objects/flowchart/punchedtape.shape        
16548         * objects/flowchart/sort.shape               
16549         * objects/flowchart/sumjunction.shape        
16550         * objects/flowchart/terminal.shape           
16551         * objects/flowchart/transaction.shape        
16552         * objects/flowchart/transmittape.shape       
16553         * objects/flowchart/pixmaps/collate.xpm      
16554         * objects/flowchart/pixmaps/delay.xpm        
16555         * objects/flowchart/pixmaps/display.xpm      
16556         * objects/flowchart/pixmaps/document.xpm     
16557         * objects/flowchart/pixmaps/extract.xpm      
16558         * objects/flowchart/pixmaps/intstorage.xpm   
16559         * objects/flowchart/pixmaps/magdisk.xpm      
16560         * objects/flowchart/pixmaps/magdrum.xpm      
16561         * objects/flowchart/pixmaps/magtape.xpm      
16562         * objects/flowchart/pixmaps/manualinput.xpm  
16563         * objects/flowchart/pixmaps/manualop.xpm     
16564         * objects/flowchart/pixmaps/merge.xpm        
16565         * objects/flowchart/pixmaps/offlinestore.xpm 
16566         * objects/flowchart/pixmaps/offpageconn.xpm  
16567         * objects/flowchart/pixmaps/or.xpm           
16568         * objects/flowchart/pixmaps/predefdproc.xpm  
16569         * objects/flowchart/pixmaps/preparation.xpm  
16570         * objects/flowchart/pixmaps/punchedcard.xpm  
16571         * objects/flowchart/pixmaps/punchedtape.xpm  
16572         * objects/flowchart/pixmaps/sort.xpm         
16573         * objects/flowchart/pixmaps/sumjunction.xpm  
16574         * objects/flowchart/pixmaps/terminal.xpm     
16575         * objects/flowchart/pixmaps/transaction.xpm  
16576         * objects/flowchart/pixmaps/transmittape.xpm 
16577         Moved shapes and their pixmaps to shapes/flowchart
16579         * shapes/Circuit/Makefile.am:
16580         * shapes/Circuit/index.sheet:
16581         Removed index.sheet.
16582         
16583         * shapes/Makefile.am:
16584         * shapes/flowchart/Makefile.am:
16585         * shapes/flowchart/*.shape:
16586         * shapes/flowchart/*.xpm:
16587         Added flowchart shapes. (Moved from objects/flowchart)
16588         
16590 1999-11-07  Fredrik Hallenberg  <hallon@lysator.liu.se>
16592         * app/app_procs.c: Fixed popt stuff.
16594 1999-11-01  James Henstridge  <james@daa.com.au>
16596         * shapes/Circuit/[hv]led_de.{shape,xpm}: new circuit shapes from
16597         Andreas Scherf.
16599 1999-10-31  Alexander Larsson  <alla@lysator.liu.se>
16601         * dia.spec:
16602         * configure.in:
16603         Update version to 0.81.
16604         
16605         * NEWS:
16606         Update with news for 0.81.
16607         
16608         * shapes/Circuit/*:
16609         * shapes/Circuit_eu/*:
16610         Moved european circuit objects to Circuit sheet.
16612 1999-10-31  Alexander Larsson  <alla@lysator.liu.se>
16613         
16614         * lib/diagramdata.[ch]:
16615         Added layer_set_object_list() function.
16617         * app/undo.[ch]:
16618         Added support for undo of reordered objects.
16619         Fix the undo of delete to keep the right order on undo.
16620         
16621         * app/diagram.c:
16622         changed loop to object_add_updates_list() calls.
16623         Added undo support to bring to front/back.
16625         * app/disp_callbacks.c:
16626         * app/paginate_psprint.c:
16627         Remove warnings.
16629 1999-10-30  Alexander Larsson  <alla@lysator.liu.se>
16631         This plugs some leaks. Thanks to
16632         Bruce Mitchener <bruce@cybersight.com> for running
16633         Dia through purify for me.
16634         
16635         * app/app_procs.c:
16636         Free displays and diagrams on exit.
16638         * app/modify_tool.c:
16639         Free gc when freeing tool.
16641         * lib/diagramdata.c:
16642         Free layer name.
16643         
16644         * app/display.c:
16645         Free update and display lists when destroying display.
16646         
16647         * lib/diagramdata.c:
16648         Don't leak layer name.
16650         * objects/custom/load_sheet.c: 
16651         * objects/custom/shape_info.c:
16652         Free loaded xml documents.
16654 1999-10-28  Alexander Larsson  <alla@lysator.liu.se>
16656         * app/commands.c:
16657         * app/object_ops.[ch]:
16658         Add undo handling to alignment ops.
16659         Based partially on patch by Dan Cohn <dan@internap.com>.
16661         * objects/standard/image.c (image_move_handle):
16662         Don't divide by zero for small images.
16663         Patch by Dan Cohn <dan@internap.com>.
16665         * objects/UML/class.c (umlclass_destroy): 
16666         * objects/custom/custom_object.c (custom_destroy):
16667         Don't free connectionpoints before calling element_destroy
16668         which unconnects them.
16670 1999-10-26  Alexander Larsson  <alla@lysator.liu.se>
16672         * objects/custom/custom_object.c: 
16673         Load and save padding too. Fixes strange load crashes.
16675         * app/group.c (group_destroy):
16676         Don't unconnect already freed connectionpoints when
16677         destroying group. Probably fixes bug reported by
16678         Elliot Lee <sopwith@redhat.com>.
16680         * app/render_gdk.c:
16681         Don't crash on zero-size (broken) bezier curves.
16682         Different sort of fix. This should work on closed bezier curves
16683         too.
16685         * objects/standard/textobj.c:
16686         Activate default properties dialog for Text objects.
16688         * app/render_eps.c: 
16689         * app/load_save.c:
16690         * app/preferences.c:
16691         * app/render_svg.c:
16692         fopen files in binary or text mode.
16694 1999-10-26  Alexander Larsson  <alex@cendio.se>
16696         * app/render_gdk.c (bezier_add_lines):
16697         Don't crash on zero-size (broken) bezier curves.
16698         Fixes a crashing bug.
16700 1999-10-25  James Henstridge  <james@daa.com.au>
16702         * app/Makefile.am (run_dia.sh): allow dia to find internal shape files
16703         before it is installed.
16705         * objects/flowchart/flowchart.c: use relative paths to find shapes.
16707         * objects/custom/custom.c (custom_object_load): take file names
16708         relative to $(pkgdatadir)/shape-internal, and check an environment
16709         variable for an alternative directory.
16711         * app/...: added copyright messages to the top of my new code.
16713         * app/paginate_psprint.c: some general clean ups.  Also, give an error
16714         dialog if we can't open the command or output file for writing.
16716         * app/diapagelayout.c (dia_page_layout_set_orientation): fixed
16717         function so it would set orientation to landscape correctly.
16719         * app/paginate_psprint.c: use the paper settings that come with
16720         the diagram.  Also implemented landscape printing.
16722         * app/render_eps.c (new_psprint_renderer): use diagram paper metrics
16723         in PS header.
16725         * app/commands.[ch] (file_pagesetup_callback): added callback for
16726         the page setup dialog.
16728         * app/menus.c: added page setup menu item.
16730         * app/pagesetup.[ch]: implementation of the page setup dialog.
16732         * app/diapagelayout.[ch]: added accessors for the scaling factor.
16733         
16734         * app/load_save.c (diagram_load): load paper information from save
16735         file.
16736         (diagram_save): save the paper info.
16738         * lib/diagramdata.c (new_diagram_data): initialise paper info section
16739         of DiagramData structure.
16740         (diagram_data_destroy): free the paper name.
16742         * lib/diagramdata.h: added a paper member to the DiagramData structure
16743         that holds the page layout info for a diagram.
16745 1999-10-21  Alexander Larsson  <alla@lysator.liu.se>
16747         * objects/flowchart/box.c:
16748         * objects/flowchart/ellipse.c:
16749         * objects/flowchart/diamond.c:
16750         * objects/flowchart/parallelogram.c:
16751         Load and save padding too. Fixes strange load crashes.
16753 1999-10-21  Alexander Larsson  <alla@lysator.liu.se>
16755         * app/app_procs.c (name_is_lib):
16756         .dll, .sl and .so.0.0.0 are also libraries.
16758 1999-10-20  James Henstridge  <james@daa.com.au>
16760         * configure.in: added extra makefile.
16761         
16762         * shapes/Circuit_eu/*: a new set of european circuit shapes from
16763         Andreas Scherf <scherfa@fh-trier.de>.  Made a few small modifications
16764         (added fuses to makefile, fill the area of some of the components).
16766 1999-10-19  Alexander Larsson  <alla@lysator.liu.se>
16768         * lib/Makefile.am:
16769         * app/Makefile.am: 
16770         Add GDK_IMLIB_CFLAGS to includes.
16771         Changed --export-dynamic to -export-dynamic
16773         * lib/widgets.c:
16774         * objects/UML/message.c:
16775         Removed c++ comment.
16777         * lib/render_store.[ch]:
16778         Don't use empty structure. That is not Ansi C.
16780 1999-10-19  James Henstridge  <james@daa.com.au>
16782         * app/diapagelayout.c (dia_page_layout_init): use DiaUnitSpinner's for
16783         the margin entries, as they allow interpretation of units.
16784         (paper_size_change): display the current page dimensions.
16786         * app/diaunitspinner.[ch]: a widget derived from the standard
16787         GtkSpinButton that tries to take units into account.  So if you enter
16788         "1in" into the entry, it will convert it to 2.54cm.
16790 1999-10-18  Alexander Larsson  <alla@lysator.liu.se>
16792         * app/app_procs.c:
16793         Removed include of dlfcn.h
16795 1999-10-18  James Henstridge  <james@daa.com.au>
16797         * app/diapagelayout.c (paper_size_change, orient_changed): set upper
16798         bound on margin widths.  It is set to the paper width/height.
16800         * objects/flowchart/diamond.c (diamond_distance_from): fixed distance
16801         routine for the diamond.  This bug was found and fixed by Daniel Wang
16802         <danwang@CS.Princeton.EDU>
16804 Sun Oct 17 19:46:36 1999  ape@gandalf.spacetec.no  (Asbjorn Pettersen)
16806         * app/commands.c: Add <sys/types.h> before <sys/stat.h> to
16807         remove warning (OS/2 version).
16809 1999-10-17  Alexander Larsson  <alla@lysator.liu.se>
16811         * README:
16812         Put a pointer to objects/custom/README.
16813         
16814 1999-10-17  Alexander Larsson  <alla@lysator.liu.se>
16816         * dia.spec:
16817         Updated version to 0.80
16819         * configure.in:
16820         Updated version to 0.80cvs
16822 1999-04-08  Alexander Larsson  <alla@lysator.liu.se>
16824         * Released Dia 0.80
16825         Tag called DIA_0_80
16826         
16827 1999-10-17  Fredrik Hallenberg  <hallon@lysator.liu.se>
16829         * app/Makefile.am
16830         * lib/Makefile.am
16831         * objects/UML/Makefile.am
16832         * objects/ER/Makefile.am
16833         * objects/network/Makefile.am
16834         * objects/standard/Makefile.am
16835         * objects/FS/Makefile.am
16836         * objects/sybase/Makefile.am
16837         * objects/flowchart/Makefile.am
16838         * objects/custom/Makefile.am
16839         Added -I$(top_srcdir)/intl which is needed for
16840         --with-included-gettext.
16842         * POTFILES.in
16843         Updated.
16844         
16845         * po/sv.po
16846         Updated swedish translation.
16848 1999-10-16  Alexander Larsson  <alla@lysator.liu.se>
16850         * configure.in:
16851         Updated version number to 0.80.
16853         * KNOWN_BUGS:
16854         New file.
16856         * TODO:
16857         Updated. Moved bugs to KNOWN_BUGS.
16859         * NEWS:
16860         Updated with 0.80 release notes.
16861         
16862 1999-10-16  Alexander Larsson  <alla@lysator.liu.se>
16863         
16864         * lib/orth_conn.c:
16865         For backwards compatibility, make sure handle 0 and 1 are the
16866         first and last handle. Fixes compatibility with 0.41, breaks
16867         compatibility with cvs version.
16868         Fixed bug in undo/redo of adding deleting endpoint segments
16869         when the endpoint was connected.
16870         Start OrthConn objects with three segments.
16872 1999-10-16  James Henstridge  <james@daa.com.au>
16874         * objects/custom/custom_object.c (custom_update_data): changed
16875         resizing behaviour a bit so that shapes don't grow huge when you try
16876         to resize them to smaller than the size required by the text box.
16877         Also, now shapes will not grow with fixed aspect ratio when you enter
16878         text into them unless the shape has the fixed aspect ratio flag set.
16880 1999-10-15  James Henstridge  <james@daa.com.au>
16882         * objects/flowchart/flowchart.c: add new shapes to flowchart sheet.
16884         * object/flowchart/pixmaps/...: corresponding pixmaps for new shapes.
16886         * objects/flowchart/magdrum.shape: 
16887         * objects/flowchart/offlinestore.shape: 
16888         * objects/flowchart/punchedtape.shape: 
16889         * objects/flowchart/transmittape.shape: 
16890         * objects/flowchart/punchedcard.shape: new shapes.
16892         * objects/flowchart/flowchart.c: add new shapes to flowchart sheet.
16894         * object/flowchart/pixmaps/...: corresponding pixmaps for new shapes.
16896         * objects/flowchart/collate.shape:
16897         * objects/flowchart/delay.shape:
16898         * objects/flowchart/extract.shape:
16899         * objects/flowchart/intstorage.shape:
16900         * objects/flowchart/magdisk.shape:
16901         * objects/flowchart/magtape.shape:
16902         * objects/flowchart/merge.shape:
16903         * objects/flowchart/or.shape:
16904         * objects/flowchart/sort.shape:
16905         * objects/flowchart/sumjunction.shape: new shapes.
16907 1999-10-15  Alexander Larsson  <alla@lysator.liu.se>
16909         * TODO (BUGS):
16910         Added bug:
16911         Entering an erronous command as print command
16912         crashes dia.
16914         * app/paginate_psprint.c:
16915         Save all print dialog values for next time.
16916         
16917         * app/Makefile.am:
16918         Remove custom lib from DIA_LIB_PATH.
16920 1999-10-14  James Henstridge  <james@daa.com.au>
16922         * objects/flowchart/flowchart.c: add new shapes to flowchart sheet.
16924         * object/flowchart/pixmaps/...: corresponding pixmaps for new shapes.
16925         
16926         * objects/flowchart/offpageconn.shape: 
16927         * objects/flowchart/manualop.shape: 
16928         * objects/flowchart/preparation.shape: 
16929         * objects/flowchart/manualinput.shape: 
16930         * objects/flowchart/predefdproc.shape: 
16931         * objects/flowchart/terminal.shape: new shapes in the flowchart sheet.
16933 1999-10-13  James Henstridge  <james@daa.com.au>
16935         * app/diapagelayout.[ch]: added accessors to paper information.  The
16936         widget should be just about complete now.
16938         * app/diapagelayout.[ch]: fleshed out the page setup widget a bit more.
16939         It actually does something now.
16941 1999-10-12  James Henstridge  <james@daa.com.au>
16943         * app/pixmaps/portrait.xpm, app/pixmaps/landscape.xpm: support pixmaps
16944         for the page layout widget.
16946         * app/diapagelayout.[ch]: start of page layout widget.  Not actually
16947         built yet as it is not complete.
16949         * objects/flowchart/flowchart.c: added new shapes to sheet.
16951         * objects/flowchart/display.shape:
16952         * objects/flowchart/transaction.shape: new shapes.
16954         * AUTHORS: added my name to the spec file.
16956         * dia.spec: include the dia desktop entry to the spec file.
16958         * Makefile.am: install the dia.desktop file.
16960         * dia.desktop: added a gnome desktop entry so you can start dia
16961         from the gnome panel menu.
16963 1999-10-11  James Henstridge  <james@daa.com.au>
16965         * objects/custom/custom_object.c:
16966         * objects/custom/shape_info.c: warning fixes.
16968         * objects/flowchart/document.shape: a shape file for the `document'
16969         flowchart shape.
16971         * lib/custom.h: new header with the custom shape prototypes.
16973         * app/app_procs.c: register custom objects as well.
16974         (register_objects_in): close shared libraries if they don't load
16975         correctly, and call g_module_make_resident on libraries that load
16976         correctly.
16978         * app/Makefile.am (dia_LDADD): added libcustom_objects.a to link list.
16980         * objects/custom/custom.c: removed get_version, added custom_ prefix
16981         to register_objects and register_sheets.
16983         * objects/custom/Makefile.am: converted to a normal library.
16985 1999-10-10  Alexander Larsson  <alla@lysator.liu.se>
16987         * app/lineprops_area.c:
16988         * app/render_svg.c:
16989         * lib/objchange.c:
16990         * objects/custom/shape_info.c:
16991         * objects/flowchart/box.c:
16992         * objects/flowchart/diamond.c:
16993         * objects/flowchart/ellipse.c:
16994         * objects/flowchart/parallelogram.c:
16995         * objects/network/flash.c:
16996         * objects/network/scead-plug.c:
16997         * objects/sybase/client.c:
16998         Removed -Wall warnings.
16999         
17000         * objects/network/bus.c:
17001         Removed unused functions.
17003         * objects/FS/flow-ortho.c:
17004         * objects/FS/flow-poly.c:
17005         * objects/FS/flow.c:
17006         * objects/FS/function.c:
17007         
17008         Implemented "non-implemented" undo for FS objects.
17009         Now at least it won't crash.
17010         
17011 1999-10-10  Alexander Larsson  <alla@lysator.liu.se>
17013         * objects/network/bus.c:
17014         Implemented undo.
17015         Handles are now added and removed using the object menu.
17016         Default to 6 handles instead of 10.
17017         Changed name from "Standard - Bus" to "Network - Bus". Kept old
17018         name for backwards compatibility.
17020         * objects/network/network.c:
17021         Changed name from "Standard - Bus" to "Network - Bus". Kept old
17022         name for backwards compatibility.
17024         * app/properties.[ch]:
17025         * app/undo.c:
17026         Update properties in properties dialog if the shown object
17027         is part of and ObjectChange (undo or redo).
17029         * lib/poly_conn.c:
17030         Remove old known bugs list.
17032         * objects/UML/class_dialog.c:
17033         Removed debug printf's.
17035 1999-10-10  James Henstridge  <james@daa.com.au>
17037         * objects/custom/custom.c (custom_object_load): new function that
17038         provides a nice entry point to the custom shape code for when it
17039         gets used by other libraries.
17041         * configure.in: removed 11 makefiles from AC_OUTPUT list.  This
17042         speeds builds up a bit.
17044         * */Makefile.am (EXTRA_DIST): include pixmaps in distribution.
17045         (SUBDIRS): do not descend into pixmaps subdirs.
17047         * */pixmaps/Makefile.am: removed -- incorporate into parent makefiles.
17048         This speeds up build process.
17050         * objects/custom/custom.c (sheets): made variable static.
17052         * objects/custom/custom_util.[ch] (custom_get_relative_filename):
17053         renamed function.
17055         * objects/custom/load_sheet.[ch] (custom_sheet_load): renamed function.
17057         * objects/custom/custom.c: look in ~/.shapes instead of
17058         ~/.dia_shapes as the per-user shapes directory.
17060         * app/preferences.c (prefs_save): save config to ~/.diarc.
17061         (prefs_load): load configuration from ~/.diarc.  If the file
17062         does not exist, fallback on the old ~/.diarc location.
17064         * app/app_procs.c (create_user_dirs): create the ~/.dia directory
17065         on startup.
17066         (register_all_objects): look for user specific objects in
17067         ~/.objects rather than ~/.dia_libs.
17069 1999-10-10  Fredrik Hallenberg  <hallon@lysator.liu.se>
17071         * configure.in:
17072         * app_procs.c:
17073         * objects/flowchart/box.c
17074         * objects/flowchart/ellipse.c
17075         * objects/flowchart/flowchart.c 
17076         Use gmodule for dynamic linking. As gmodule is using
17077         RTLD_GLOBAL i had to change flowchart box and ellipse
17078         so the typenames doesn't conflict with the standard
17079         box and ellipse.
17081         * message.c
17082         * commands.c
17083         Use button box to make dialogs look better.
17085 1999-10-09  Alexander Larsson  <alla@lysator.liu.se>
17087         * objects/UML/class_dialog.c:
17088         * objects/UML/class.h:
17089         Implemented undo for "UML - Class" objects.
17090         Not 100% tested yet.
17092         * objects/UML/classicon.c:
17093         * objects/UML/constraint.c:
17094         * objects/UML/dependency.c:
17095         * objects/UML/generalization.c:
17096         * objects/UML/implements.c:
17097         * objects/UML/large_package.c:
17098         * objects/UML/lifeline.c:
17099         * objects/UML/message.c:
17100         * objects/UML/object.c:
17101         * objects/UML/realizes.c:
17102         * objects/UML/state.c:
17103         * objects/UML/usecase.c:
17104         Removed warnings.
17105         
17106         * lib/connectionpoint.h:
17107         Fixed typo.
17108         
17109 1999-10-09  James Henstridge  <james@daa.com.au>
17111         * objects/custom/*.[ch]: added copyright notices to custom object
17112         files.
17114         * shapes/Circuit/hdiode.shape:
17115         * shapes/Circuit/hzener.shape: 
17116         * shapes/Circuit/opamp.shape:
17117         * shapes/Circuit/vdiode.shape:
17118         * shapes/Circuit/vzener.shape: made adjustments to make the circuit
17119         shapes look nice after the custom shape code changes.
17121         * objects/custom/README: updated docs to cover changes to drawing
17122         code.
17124         * objects/custom/custom_object.c (custom_draw): honour the line
17125         properties when drawing the shape.
17127         * objects/custom/shape_info.[ch]: added support for setting line
17128         properties for individual drawing elements in a custom shape.  You
17129         can set the dash style, dash length, cap style and join style.
17131 1999-10-07  James Henstridge  <james@daa.com.au>
17133         * objects/custom/shape_info.c (parse_style): added a few extra synonyms
17134         for foreground and background.
17136         * objects/custom/custom_object.c (custom_draw): use the new style
17137         information when drawing the object.
17139         * objects/custom/shape_info.[ch]: store all shape style info in the
17140         GraphicStyle structure.  This makes adding support for extra CSS
17141         attributes easier -- we don't have to keep adding extra arguments to
17142         a lot of functions.
17144 1999-10-05  James Henstridge  <james@daa.com.au>
17146         * lib/intl.c (unalias_lang): merged in changes from the i18n code
17147         swiped from gnome-libs.
17149 1999-10-03  Alexander Larsson  <alla@lysator.liu.se>
17151         * objects/standard/image.c (get_directory):
17152         Fix memleak. Found by Kjartan Maraas <kmaraas@online.no>
17154 1999-09-28  Alexander Larsson  <alla@lysator.liu.se>
17156         * lib/poly_conn.c (polyconn_destroy):
17157         Fix bug. Access of freed memory.
17158         Rememeber, you can't free the handles of an object
17159         before calling object_destroy(), as it unconnects the handles
17160         therefore referencing them.
17162 1999-09-28  Alexander Larsson  <alla@lysator.liu.se>
17164         * app/undo.c:
17165         undo_clear() didn't set stack->depth to zero.
17166         This made other undo functions crash after this had been called
17167         on a "full" stack.
17168         
17169         * dia.xpm:
17170         Slightly modified by Chris Love <clove@exactis.com>
17172 1999-09-19  Alexander Larsson  <alla@lysator.liu.se>
17174         * objects/UML/class.h: 
17175         * objects/UML/class_dialog.c:
17176         Retrun NULL ObjectChange on class property change.
17177         This means no crashes, but "UML - Class" doesn't support undo yet.
17178         
17179 1999-09-19  Alexander Larsson  <alla@lysator.liu.se>
17180         
17181         * lib/text.c:
17182         Indentation fix.
17184         * objects/UML/classicon.c:
17185         * objects/UML/dependency.c:
17186         * objects/UML/generalization.c:
17187         * objects/UML/implements.c:
17188         * objects/UML/large_package.c:
17189         * objects/UML/lifeline.c:
17190         * objects/UML/message.c:
17191         * objects/UML/object.c:
17192         * objects/UML/realizes.c:
17193         * objects/UML/state.c:
17194         * objects/UML/usecase.c:
17195         Update to new undo (w. get/set_state).
17196         Add object menu to add/delete segments.
17198 1999-09-17  Alexander Larsson  <alla@lysator.liu.se>
17200         * app/menus.c:
17201         Add equal distance alignment.
17203         * app/object_ops.c:
17204         Add equal distance alignment.
17205         Fix bug in adjacent alignment.
17207 1999-09-16  Alexander Larsson  <alla@lysator.liu.se>
17209         * objects/UML/constraint.c: 
17210         Update to new undo (w. get/set_state).
17212 1999-09-15  Alexander Larsson  <alla@lysator.liu.se>
17214         * app/paginate_psprint.c:
17215         Save (parts, more todo) of the info in the print dialog to the
17216         next time it's opened.
17217         Patch from Yo Ric Dude <ricdude@toad.net>
17219 1999-09-14  Alexander Larsson  <alla@lysator.liu.se>
17221         * configure.in:
17222         Updated version string to 0.41cvs.
17224         * objects/UML/assocition.c:
17225         Update to new undo (w. get/set_state).
17226         Add object menu to add/delete segments.
17228         * app/app_procs.c:
17229         Added function debug_break() and called it after all
17230         objects and sheets are loaded. Place a breakpoint here if you
17231         want to debug objects. All symbols should be loaded.
17233 1999-09-12  James Henstridge  <james@daa.com.au>
17235         * app/menus.c (display_menu_items): added print menu item.
17236         (filemenu): always add print menu item -- even if gnome-print is
17237         not installed.
17239         * app/commands.h, app/commands.c (file_print_callback): the print
17240         menu item is now available for both gnome-print and non gnome-print
17241         setups.
17243         * app/paginate_psprint.c (diagram_print_ps): show a dialog to let you
17244         print with the non gnome-print driver.
17246 1999-09-11  James Henstridge  <james@daa.com.au>
17248         * app/paginate_gnomeprint.c (diagram_print_gnome): moved the gnome
17249         printer dialog code out of commands.c.
17251         * app/paginate_psprint.c: new file containing the pagination code for
17252         psprint.
17254         * app/render_eps.c: made a few modifications so as well as producing
17255         EPS files, this renderer can be set up to do postscript printing.
17256         This basically entailed adding an extra function to create a RenderEPS
17257         renderer which did not bother setting the viewport for the document.
17258         That was left for the pagination code.
17260 1999-09-10  James Henstridge  <james@daa.com.au>
17262         * app/render_gnomeprint.c (draw_ellipse, fill_ellipse): since
17263         gnome-print does not support elliptic arcs at the moment, approximate
17264         the ellipse with eight bezier curves.  This gives a pretty good
17265         match to a true ellipse.
17267 1999-09-09  James Henstridge  <james@daa.com.au>
17269         * app/commands.c (file_gnome_print_callback): added support for
17270         scaling the diagram.  Also fixed a few other bugs.
17272         * app/paginate_gnomeprint.c (print_page): added ability to scale
17273         document.  Fixed up test to see if the page has no objects on it.
17274         This should prevent some blank pages being printed.  Non square
17275         objects such as lines could still cause problems.
17277 1999-09-08  James Henstridge  <james@daa.com.au>
17279         * app/commands.c (file_gnome_print_callback): changed from using the
17280         standard printer selection dialog to one that also has a paper size
17281         selector as well.
17283         * commands.[ch]: added callbacks for the print menu item.  Currently
17284         it only does A4 output.  I will make it configurable soon.
17285         
17286         * app/menus.c: add a print diagram menu item if gnome-print support
17287         is enabled.
17288         
17289         * app/paginate_gnomeprint.c, app/paginate_gnomeprint.h: this is a
17290         bit higher level than the gnome-print renderer.  It splits the
17291         diagram into page size chunks and then renders them.  For each
17292         page, it only renders the objects whose bounding box intersects
17293         the page, and it sets the clip mask so that the diagram does not
17294         overlap the margins.
17295         
17296         * app/render_gnomeprint.c, app/render_gnomeprint.h: added a renderer
17297         that uses gnome-print as its back end.
17298         
17299         * configure.in: added a check for gnome-print.  It is disabled by
17300         default because the code is not really working correctly yet.
17302         * app/menus.c: the delete object menu item was missing from the
17303         GnomeUIInfo style menus.
17305 1999-09-07  Fredrik Hallenberg  <hallon@lysator.liu.se>
17307         * configure.in
17308         Added japanese to ALL_LINGUAS.
17309         Fix for Linux on Alpha.
17311 1999-09-07  Alexander Larsson  <alla@lysator.liu.se>
17313         * app/create_object.c (create_object_button_press):
17314         Always initialize tool->obj. Otherwise we store a null
17315         in the undo Change.
17317         * lib/text.c:
17318         Set linestyle before drawing cursor.
17319         Fix undo of backwards delete.
17321 1999-09-05  James Henstridge  <james@daa.com.au>
17323         * dia.spec: updated spec file to distribute $(prefix)/share/dia.
17325         * app/render_svg.c (draw_image): some fixes so that the appropriate
17326         style attributes are set.  Before it was setting line styles on
17327         fill_* functions.  Now it only does this for the draw_* variants.
17329         * app/Makefile.am (run_dia.sh): set the DIA_SHAPE_PATH environment
17330         variable so that custom shapes can be loaded.
17332         * shapes/: new directory for custom shapes.  The Circuit sheet has
17333         been moved here.
17335 1999-09-02  James Henstridge  <james@daa.com.au>
17337         * TODO: removed a few todo items that have been implemented.
17339         * app/interface.c (create_sheets): enabled the popup page menu to the
17340         notebook.  This can make it easier to select different sheets.
17342         * object/custom/Circuit/: added diode, zener diode, ground point and
17343         operational amplifier shapes.
17344         
17345         * objects/custom/Makefile.am: added a note about adding DEBUG_CUSTOM
17346         if you want the output.
17348         * objects/custom/shape_info.c (parse_path): same here.
17350         * objects/custom/load_sheet.c (load_with_readdir): don't print so
17351         much debugging output.  To get the previous level of output, define
17352         DEBUG_CUSTOM.
17354         * objects/custom/shape_info.c (parse_svg_node): polygons were being
17355         recorded as polylines in the ShapeInfo structure.
17357         * objects/custom/README: some notes on writing new custom shapes.
17358         
17359 1999-09-01  James Henstridge  <james@daa.com.au>
17361         * objects/custom/Circuit/hinductor.*:
17362         * objects/custom/Circuit/vinductor.*: added inductor shapes that
17363         also test out the bezier curve and SVG path support.
17364         
17365         * objects/custom/custom_object.c (custom_draw): added support for
17366         drawing bezier paths and filled shapes.
17368         * objects/custom/shape_info.c (parse_path): new function to parse
17369         SVG path elements.  It does not do quadratic beziers or elliptic
17370         arcs though.  Only moves, lines and cubic beziers.
17371         (*): added support for paths.
17373 1999-08-31  James Henstridge  <james@daa.com.au>
17375         * objects/sybase/ltm.c (render_to_store): use the newer bezier API.
17377         * app/render_svg.c (draw_bezier, fill_bezier): updated renderer
17378         interface
17380         * app/render_eps.c (draw_bezier, fill_bezier): updated renderer
17381         interface
17383         * app/render_gdk.c (draw_bezier, fill_bezier): updated renderer
17384         interface.
17386         * lib/render_store.[ch]: use newer bezier functions.
17388         * lib/render.h: changed the bezier drawing functions to use an array
17389         of BezPoint structures instead of normal Point structures to allow
17390         lineto's mixed in with the curveto's.
17391         
17392         * objects/custom/Circuit/pnp.*: added pnp transistor shape.
17393         
17394         * objects/custom/Circuit/Makefile.am (SHAPES): added index.sheet and
17395         xpm images for different shapes to Makefile.
17397         * objects/custom/custom_object.c (custom_object_new): set the icon
17398         for the sheet button if there is one.  Otherwise fall back on the
17399         default custom object icon.
17401         * objects/custom/shape_info.c (load_shape_info): read the sheet
17402         icon name from the shape file.
17404         * app/interface.c (create_sheet_page): if sheet_obj->pixmap == NULL,
17405         check the pixmap_file field for the name of a pixmap file to load
17406         for the tool.
17408         * lib/sheet.h (SheetObj): added pixmap_file field to structure.  It is
17409         at the end of the structure, and it isn't used if the pixmap field
17410         is non NULL, so it should not break binary compatibility.
17412         * objects/custom/load_sheet.[ch]: moved sheet loading code here.  Also
17413         added support for the use of an index.sheet file so you can specify
17414         the ordering of the shapes in the sheet, and also internationalise
17415         the sheet name and actually be able to give a description.  The old
17416         readdir based sheet loading code acts as a fallback if an index.sheet
17417         file can not be found.
17419         * objects/custom/custom_util.[ch]: new file containing useful routines
17420         needed by the custom object code.  Currently only contains a simple
17421         routine for resolving relative paths.
17423         * objects/custom/custom_object.c (custom_draw): fixed problem with
17424         drawing rectangles if the shape has been flipped.
17426 1999-08-30  James Henstridge  <james@daa.com.au>
17428         * objects/custom/custom_object.c (custom_get_object_menu): allow
17429         flipping of custom shapes.  This uses the miggle click object
17430         menu.
17432         * objects/custom/Circuit/npn.shape: fix aspect ratio.
17434         * objects/custom/custom_object.c (custom_update_data): honour the
17435         aspect ratio constraints.
17437         * objects/custom/shape_info.c (load_shape_info): updated aspect ratio
17438         tag parsing, so you can specify a free, fixed or a range for aspect
17439         ratios for the shape.
17441 1999-08-29  James Henstridge  <james@daa.com.au>
17443         * objects/custom/test.xml, objects/custom/Circuit/*.shape: fixed
17444         up shape namespace tag.
17446         * objects/custom/shape_info.c (load_shape_info): check xml:lang
17447         attribute on <description> elements to support i18n for custom
17448         shape descriptions.
17449         Also changed the shape namespace for custom shapes to something
17450         a little more sensible.
17452         * lib/dummy_dep.h (dummy_dep): added extra dummy dependency.
17454         * lib/intl.c: new file containing some functions for i18n stuff.
17456         * app/layer_dialog.c (create_button_box): fixed a warning.
17458         * objects/custom/custom_object.c: use current line style.  Save dash
17459         length.
17461         * objects/flowchart/diamond.c: use current line style.  Save dash
17462         length.
17464         * objects/flowchart/parallelogram.c: use current line style.  Save
17465         dash length.
17467         * objects/flowchart/ellipse.c: use current line style.  Save dash
17468         length.
17470         * objects/flowchart/box.c: use current line style.  Save dash length.
17472         * objects/standard/ellipse.c: make ellipse use current line style.
17474         * objects/standard/box.c: use the line style set in the toolbox for
17475         new boxes, and remember the dash length.
17477         * app/commands.c (view_toggle_rulers_callback): fix reshowing of
17478         rulers.
17480 1999-08-24  James Henstridge  <james@daa.com.au>
17482         * objects/flowchart/ellipse.c (ellipse_update_data): made some changes
17483         to try to stop ellipse to get infinite width/height when we resize,
17484         while trying to keep the text inside the ellipse.
17486         * objects/flowchart/box.c, objects/flowchart/parallelogram.c,
17487         * objects/flowchart/diamond.c, objects/flowchart/ellipse.c: fixed
17488         resizing behaviour, so that you can't push objects round the screen
17489         with the resize handles.
17491         * app/lineprops_area.c (dia_arrow_chooser_init, dia_line_chooser_init):
17492         get the OK buttons in the dialogs to take default clicks.
17494         * objects/custom/custom_object.c: added code so that resizing the
17495         shape does not end up pushing it round the screen.
17497 1999-08-23  Alexander Larsson  <alla@lysator.liu.se>
17499         * app/display.[ch]:
17500         Generate rectangle with the union of the damaged regions.
17501         This is used to optimize the grid paint and the object rendering.
17502         display_render_pixmap passes this info to grid_draw() and data_render().
17504         * app/grid.[ch]:
17505         grid_draw doesn't draw grid lines outside of damaged rectangle.
17506         Sets dashlength when drawing non-solid grid.
17507         
17508         * lib/diagramdata.[ch]:
17509         data_render() and layer_render() takes an optional damaged rectangle
17510         argument. No objects not intersecting this are drawn.
17512         * app/diagram.c:
17513         Fix warning.
17514         Call data_render with NULL update rectangle.
17515         
17516 1999-08-23  James Henstridge  <james@daa.com.au>
17518         * objects/custom/custom_object.c (custom_update_data): if the aspect
17519         ratio is fixed, make sure the shape is not distorted.
17521         * object/custom/shape_info.h, objects/custom/shape_info.c: notice if
17522         a <fixaspectratio/> tag is given in the shape file.
17524         * objects/custom/shape_info.[ch], objects/custom/custom_object.c:
17525         added support for stroke-width, stroke and fill CSS attributes
17526         specified in style attributes of the SVG elements.  The line width
17527         is relative to the user specified line width.  The stroke and fill
17528         attributes can only be used to swap the foreground/background
17529         colours.
17531         * lib/widgets.c (dia_line_style_selector_set_linestyle): set the
17532         sensitivity on the dash length selector when this function is called.
17534         * objects/standard/arc.c: same.  Also handle dash length.
17535         * objects/standard/zigzagline.c: same.
17536         * objects/standard/polyline.c: same.  Also handle dash length.
17537         * objects/standard/line.c: use default arrow/line styles.
17539         * app/interface.c: added callbacks to set the default attributes.
17541         * lib/attributes.c: added implementations of these functions.
17543         * lib/attributes.h: added extra prototypes for the new line properties
17544         area in the toolbox.
17546         * app/interface.c (create_lineprops_area): added line properties
17547         area to bottom of toolbox.
17549         * app/lineprops_area.h: a header exporting a few routines of the
17550         line properties area widgets.
17552         * app/lineprops_area.c: new file containing a selector for arrows
17553         and line styles to go in the main toolbox.
17555 1999-08-22  Alexander Larsson  <alla@lysator.liu.se>
17557         * HACKING:
17558         Update Gtk+ 1.0.5 comment to 1.2.0.
17560         * INSTALL:
17561         Demand libtool 1.3
17563         * acconfig.h:
17564         Add HAVE_LIBPOPT
17566         * configure.in:
17567         Make sure we don't propagate -ldl and -lpopt to all LIBS
17568         by adding new var APP_LIBS that only app/dia links with.
17569                 
17570         * app/Makefile.am:
17571         Update run_dia.sh to load custom and flowchart objects.
17573         * objects/ER/Makefile.am:
17574         * objects/FS/Makefile.am:
17575         * objects/UML/Makefile.am:
17576         * objects/network/Makefile.am:
17577         * objects/standard/Makefile.am:
17578         * objects/sybase/Makefile.am:
17579         Don't build versioned libs.     
17580         
17581 1999-08-22  James Henstridge  <james@daa.com.au>
17583         * configure.in: added objects/custom/Circuit/Makefile to AC_OUTPUT
17584         list.
17586         * objects/Makefile.am (SUBDIRS): added custom to subdir list -- it
17587         should actually work a bit now.
17589         * objects/custom/Circuit/*: a test sheet for the custom shape code.
17590         It is a small collection of circuit elements.
17592         * objects/custom/shape_info.c: fixed up loading of polylines and
17593         polygons.  Before it was removing negative signs :(
17595         * objects/custom/pixmaps/custom.xpm: drew the custom shape icon.  A
17596         placeholder was here before.  I still need to work out how to set
17597         icons for individual custom shapes.
17598         
17599         * objects/custom/custom.c: added code to load the shapes into sheets
17600         properly.  The shape files should be arranged into directories, and
17601         each directory represents a different sheet in the toolbox.  This
17602         will make it very easy to distribute a collection of dia shapes as
17603         a tarball.  I still need to work out internationalisation, and maybe
17604         also shape ordering in the sheet.
17606         * objects/custom/custom_object.c: fixed up dialogs for these objects.
17607         (custom_create): fix for objects without text areas.
17609         * objects/custom/shape_info.h, objects/custom/custom_object.c: loading
17610         and saving of custom object works correctly now.
17612 1999-08-21  James Henstridge  <james@daa.com.au>
17614         * objects/flowchart/ellipse.c: 
17615         * objects/flowchart/diamond.c: 
17616         * objects/flowchart/parallelogram.c: 
17617         * objects/flowchart/box.c: Fixed up a few bugs in these objects when
17618         copying or loading these object types.  Not all the connection
17619         points would be initialised correctly.
17621         * objects/flowchart/Makefile.am (libflowchart_objects_la_LDFLAGS):
17622         similar here.
17624         * objects/custom/Makefile.am (libcustom_objects_la_LDFLAGS): do not
17625         build a versioned library.  It will only ever be dlopen'd, so this
17626         is not a problem.
17628         * objects/custom/custom_object.c (custom_distance_from): allow
17629         selecting the object by clicking on the text.  This fixes problems
17630         where the text box is outside the graphic.
17632         * objects/custom/shape_info.c (load_shape_info): fixed up reading
17633         of connections points.  It should be possible to add connections
17634         to custom objects now.
17636         * objects/custom/custom_object.c (custom_update_data): fixed resizing
17637         due to changes to text.
17639         * configure.in: added extra makefiles.
17640         
17641         * objects/custom/shape_info.[ch]:
17642         * objects/custom/custom_object.c:
17643         * objects/custom/custom.c: the starts of custom shape support in dia.
17644         This is not built by default at the moment, since it is not quite
17645         complete.  When it is, it will let you create more shapes for dia
17646         without writing a line of C.  Its implementation includes buzzwords
17647         such as XML and SVG, so it must be good :)
17649 1999-08-19  Karsten Weiss  <karsten@addx.au.s.shuttle.de>
17651         * app/app_procs.c (app_exit): Use button labels "Quit" and
17652         "Cancel" instead of "Yes" and "No".
17653         Set default action to "Cancel" instead of "Quit".
17655 1999-08-19  James Henstridge  <james@daa.com.au>
17657         * objects/flowchart/flowchart.c: added ellipse object.
17658         
17659         * objects/flowchart/ellipse.c: a new shape for the flowchart toolbox.
17661 1999-08-18  James Henstridge  <james@daa.com.au>d
17663         * app/color_area.c (color_area_edit): small fix to prevent dia from
17664         segfaulting when you try to change the default foreground/background.
17666 1999-08-17  Alexander Larsson  <alla@lysator.liu.se>
17668         * app/diagram.[ch] (diagram_redraw_all):
17669         Added function that redraws all diagrams.
17671         * app/preferences.c (prefs_apply):
17672         Call diagram_redraw_all when prefs are changed.
17674         * app/render_svg.c:
17675         Don't use xmlEncodeEntitiesReentrant(). It doesn't exist on
17676         older libxml's, and the old version works good enought here.
17677         
17678 1999-08-17  James Henstridge  <james@daa.com.au>
17680         * lib/widgets.c: changed handlers that were connected to the GtkButton
17681         "pressed" signal to connect to the "clicked" signal.  This removes the
17682         problem where dialogs are inactive until you click a mouse button
17683         after using a colour selector.
17685         * configure.in: added extra makefiles to AC_OUTPUT list.
17686         
17687         * objects/Makefile.am (SUBDIRS): added flowchart module
17689         * objects/flowchart/*: a collection of shapes for use in flowcharts.
17691         * app/color_area.c (color_area_events): similar here.
17693         * app/linewidth_area.c (linewidth_area_events): sometimes a configure
17694         event is recieved with event->width == 0, which causes a warning if we
17695         try to create a pixmap of that width.
17697         * app/preferences.c, app/preferences.h, app/grid.c: added code to
17698         allow you to configure the colour of the grid, and also lets you
17699         set the grid to use dotted lines instead of solid ones.
17700         
17701         * app/commands.c, app/commands.h, app/diagram.c, app/diagram.h,
17702         app/menus.c, app/Makefile.am: added menu entry for exporting SVG files.
17703         
17704         * app/render_svg.h, app/render_svg.c: an SVG (Scalable Vector Graphics)
17705         export filter.  It is not quite complete, but for most shapes it
17706         works as expected.  Fonts still need a bit of work.
17708 1999-08-11  Robert Brady  <rwb197@ecs.soton.ac.uk>
17710         * configure.in: Added "en_GB" to ALL_LINGUAS.
17712 1999-08-04  Fredrik Hallenberg  <hallon@lysator.liu.se>
17714         * menus.c
17715         Added Undo and Redo to GNOME menus.
17716         
17717         * objects/ER/attribute.c:
17718         * objects/ER/entity.c:
17719         * objects/ER/participation.c:
17720         * objects/ER/relationship.c:
17721         Added get/set_state functions.
17723         * objects/ER/participation.c:
17724         Added add/delete segment.
17726         * po/sv.po
17727         Updated Swedish translation.
17729 1999-07-25  Alexander Larsson  <alla@lysator.liu.se>
17731         * app/preferences.[hc]:
17732         Added undo_depth pref.
17733         
17734         * app/undo.[ch]:
17735         Never grow stack larger than pref.undo_depth.
17736         undo_depth == 0 means unlimited.
17737         Converted printfs to conditionally compiled DEBUG_PRINTFs.
17738         
17739 1999-07-25  Alexander Larsson  <alla@lysator.liu.se>
17741         * app/diagram.c:
17742         * app/group.c:
17743         * lib/object.h:
17744         * lib/render_object.c:
17745         * objects/ER/attribute.c:
17746         * objects/ER/entity.c:
17747         * objects/ER/participation.c:
17748         * objects/ER/relationship.c:
17749         * objects/FS/flow-ortho.c:
17750         * objects/FS/flow-poly.c:
17751         * objects/FS/flow.c:
17752         * objects/FS/function.c:
17753         * objects/UML/actor.c:
17754         * objects/UML/association.c:
17755         * objects/UML/class.c:
17756         * objects/UML/classicon.c:
17757         * objects/UML/component.c:
17758         * objects/UML/constraint.c:
17759         * objects/UML/dependency.c:
17760         * objects/UML/generalization.c:
17761         * objects/UML/implements.c:
17762         * objects/UML/large_package.c:
17763         * objects/UML/lifeline.c:
17764         * objects/UML/message.c:
17765         * objects/UML/note.c:
17766         * objects/UML/object.c:
17767         * objects/UML/realizes.c:
17768         * objects/UML/small_package.c:
17769         * objects/UML/state.c:
17770         * objects/UML/usecase.c:
17771         * objects/network/bus.c:
17772         * objects/standard/arc.c:
17773         * objects/standard/box.c:
17774         * objects/standard/ellipse.c:
17775         * objects/standard/image.c:
17776         * objects/standard/line.c:
17777         * objects/standard/polyline.c:
17778         * objects/standard/textobj.c:
17779         * objects/standard/zigzagline.c:
17780         Removed all traces of is_empty(). It doesn't work in an
17781         Undo/Redo world.
17783 1999-07-25  Alexander Larsson  <alla@lysator.liu.se>
17785         * app/diagram.c:
17786         * app/group.[ch]:
17787         * app/undo.[ch]:
17788         Undoable grouping and ungrouping.
17790         * app/layer_dialog.c:
17791         * lib/diagramdata.[ch]:
17792         Undoable layer ops.
17794         * app/modify_tool.c:
17795         Undoable unconnect on handle move.
17797         * lib/orth_conn.[ch]:
17798         Working undoable add/remove segment.
17799         Removed endpoint_handles from OrthConn, renamed
17800         midpoint_handles to handles and put the endpoint
17801         handles there.
17803         * objects/standard/zigzagline.c:
17804         * objects/ER/participation.c:
17805         * objects/UML/association.c:
17806         * objects/UML/dependency.c:
17807         * objects/UML/generalization.c:
17808         * objects/UML/realizes.c:
17809         Update for the changes in OrthConn
17810         
17811 1999-07-23  Karsten Weiss  <karsten@addx.au.s.shuttle.de>
17813         * configure.in: Added "de" to ALL_LINGUAS.
17815 1999-07-17  Alexander Larsson  <alla@lysator.liu.se>
17817         * dia.1:
17818         Fixed typo.
17820         * app/display.c:
17821         * po/da.po:
17822         * po/fr.po:
17823         * po/hu.po:
17824         * po/no.po:
17825         * po/pl.po:
17826         * po/sv.po:
17827         Don't have the <Display> etc part of the menu strings
17828         i18n:ed. Patch from Fabrice.Bellet@imag.fr.
17830         * app/diagram.c:
17831         Don't have the <Display> etc part of the menu strings
17832         i18n:ed. Patch from Fabrice.Bellet@imag.fr.
17833         Don't remove is_empty() objects, that don't work with undo.
17835         * lib/objchange.[ch]:
17836         New files.
17837         Definition of ObjectChange. This is essentially an Change
17838         exported to the object libs. It encapsulates a change made
17839         to an objects internals. It can be applied, reverted and freed.
17840         There are also utility functions for doing ObjectChanges that
17841         only get/set the whole state of an object to store the change.
17842         This cannot be used when the object change deletes or adds a
17843         object which has references from other objects, eg. Handles which
17844         might be connected.
17846         * lib/Makefile.am:
17847         Added objchange.c and objchange.h.
17849         * lib/dia_image.c:
17850         Return NULL when loading fails.
17852         * lib/diamenu.h:
17853         Menu callbacks return an ObjectChange.
17855         * lib/dummy_dep.h:
17856         Reference objchange.o
17858         * lib/focus.h:
17859         Key events return ObjectChange if they modify the object.
17861         
17862         * lib/object.h:
17863         Added object_add_handle_at() function.
17864         Apply properties returns an ObjectChange.
17865         Remove ObjectState and the get/set state functions, these
17866         don't always work. Use the new ObjectChange instead.
17867         
17868         * lib/object.c:
17869         Added object_add_handle_at() function implementation.
17870         
17871         * lib/orth_conn.[ch]:
17872         Use ObjectChange. Not finished yet.
17873         Removed get/set/free state functions
17875         * lib/poly_conn.[ch]:
17876         Use ObjectChange.
17877         Don't remove segments that are small.
17878         Removed get/set/free state functions
17880         * lib/text.[ch]:
17881         Use ObjectChange.
17882         Added functions to get/set all text attributes.
17884         * objects/standard/arc.c:
17885         * objects/standard/box.c:
17886         * objects/standard/ellipse.c:
17887         * objects/standard/image.c:
17888         * objects/standard/line.c:
17889         * objects/standard/polyline.c:
17890         * objects/standard/textobj.c:
17891         * objects/standard/zigzagline.c:
17892         Use ObjectChange.
17893         fixed bug in image_set_state.
17894         zigzagline.c not finished yet.
17896         * app/disp_callbacks.c:
17897         Use ObjectChange that are returned from menu callbacks and
17898         key_events for undo.
17900         * app/properties.c:
17901         Use ObjectChange that are returned from properties apply
17902         for undo.
17904         * app/undo.c:
17905         * app/undo.h:
17906         New undo type: ObjectChangeChange. This wraps a change to the
17907         internals of an object (and ObjectChange) in code that does
17908         app specific stuff (object_add_updates etc.)
17910 1999-07-11  Alexander Larsson  <alla@lysator.liu.se>
17912         * lib/orth_conn.[ch]:
17913         Added code for add/delete segment.
17915         * objects/standard/zigzagline.c:
17916         Use the new orth_conn code.
17917         
17919 1999-07-08  Fredrik Hallenberg  <hallon@lysator.liu.se>
17921         * objects/FS/Makefile.am
17922         Removed fs.h from sources.
17924         * Makefile.am
17925         * dia.1
17926         Added man page.
17928 1999-07-07  Alexander Larsson  <alla@lysator.liu.se>
17930         * app/disp_callbacks.c (ddisplay_canvas_events):
17931         Fix for bug. Every other arrow-key press got lost.
17932         patch from Mr. Data Esq. <data@r47h102.res.gatech.edu>
17934         * INSTALL:
17935         change automake.sh to autogen.sh
17936         
17937 1999-06-24  Alexander Larsson  <alla@lysator.liu.se>
17939         * app/diagram.c:
17940         Don't remove 'empty' objects.
17941         This violent destruction of objects won't work
17942         with the new undo framework.
17944         * app/disp_callbacks.c:
17945         Save undo info for object menu calls and key_events.
17947         * app/properties.c:
17948         Save undo info on properties apply.
17950         * lib/dia_image.[ch]:
17951         Add refcounting for images.
17953         * app/render_eps.c:
17954         * app/render_gdk.c:
17955         * lib/render.h:
17956         DiaImage * -> DiaImage
17958         * app/undo.[ch]:
17959         Add undo functions for object state changes.
17961         * lib/focus.h:
17962         * lib/text.c:
17963         change of semntics for focus->key_event.
17964         Now returns TRUE if the object recieving the event
17965         was changed.
17967         * lib/object.h:
17968         Comment changes.
17970         * lib/orth_conn.[ch]:
17971         Don't automatically create and delete segments when
17972         handles are moved. This is incompatible with undo.
17973         Added state get, set and free functions.
17975         * lib/orth_conn.[ch]:
17976         Added state get, set and free functions.
17978         * objects/UML/object.c:
17979         * objects/UML/uml.c:
17980         Fixed typo "UML - Objet" -> "UML - Object".
17981         Saved old for backwards compatibility.
17983         * objects/standard/arc.c:
17984         * objects/standard/box.c:
17985         * objects/standard/ellipse.c:
17986         * objects/standard/image.c:
17987         * objects/standard/line.c:
17988         * objects/standard/polyline.c:
17989         * objects/standard/textobj.c:
17990         * objects/standard/zigzagline.c:
17991         Added get/set state functions.
17992         Textobj has a redo crash-bug.
17993         Zigzagline needs object menus to add segments.
17994         
17996 1999-06-20  Alexander Larsson  <alla@lysator.liu.se>
17998         * app/render_eps.c (set_dashlength):
17999         Don't generate eps files with zero dash-length.
18001 1999-06-16  Alexander Larsson  <alla@lysator.liu.se>
18003         * app/commands.c:
18004         * app/create_object.c:
18005         * app/undo.[ch]:
18006         Finished undo for create and paste.
18007         
18008         * lib/object.h:
18009         Started properties undo.
18011 1999-06-14  Alexander Larsson  <alla@lysator.liu.se>
18013         * TODO:
18014         Added resizeable groups.
18016         * app/app_procs.c:
18017         Removed unused variable.
18019         * app/commands.c:
18020         * app/undo.[ch]:
18021         Undo/redo for cut/delete done.
18023         * app/create_object.c:
18024         * app/modify_tool.c:
18025         * lib/diagramdata.[ch]:
18026         * app/diagram.[ch]:
18027         renamed diagram_add_selected -> diagram_select
18028         renamed diagram_remove_selected -> diagram_unselect
18029         
18030         * app/properties.[ch]:
18031         Added properties_hide_if_shown() function.
18033 1999-06-13  Alexander Larsson  <alla@lysator.liu.se>
18035         * app/undo.[ch]:
18036         * app/Makefile.am:
18037         Undo functions.
18038         
18039         * app/commands.[ch]
18040         * app/modify_tool.[ch]
18041         * app/object_ops.[ch]
18042         * app/connectionpoint_ops.c
18043         * app/menus.c
18044         Use undo functions.
18045         WARNING: Not finished. Will break.
18046         Finished: move object, move handle.
18048         * app/diagram.[ch]
18049         Added diagram_selected_break_external() function.
18050         It removes all connections between selected objects
18051         and non-selected.
18052         Add undo stack to Diagram.
18053         
18054         * lib/diagramdata.[ch]
18055         Added layer_remove_objects() function
18056         
18057 1999-06-11  Fredrik Hallenberg  <hallon@lysator.liu.se>
18059         * objects/FS/Makefile.am
18060         * objects/sybase/Makefile.am
18061         Now uses GNOME_CFLAGS.
18063         * app/app_procs.c
18064         Now compiles with GNOME even if popt.h isn't available.
18066 1999-06-10  Alexander Larsson  <alla@lysator.liu.se>
18068         * configure.in
18069         * objects/Makefile.am
18070         * objects/sybase/*
18071         First version of sybase objects from
18072         Brian Bruns <camber@umcc.ais.org>
18074 1999-06-10  Fredrik Hallenberg  <hallon@lysator.liu.se>
18076         * configure.in
18077         Added fr to ALL_LINGUAS
18079 1999-06-09  Fredrik Hallenberg  <hallon@lysator.liu.se>
18081         * configure.in
18082         * app/app_procs.c
18083         Popt-code is activated if popt is available.
18085 1999-06-08  Alexander Larsson  <alla@lysator.liu.se>
18087         This is a patch from David Thompson <dcthomp@mail.utexas.edu>
18088         
18089         * lib/orth_conn.[ch]:
18090         Added orthconn_get_middle_handle()
18092         * lib/text.[ch]:
18093         Added text_set_cursor_at_end()
18094         
18095         * objects/FS/*
18096         Added first version of functions structure diagrams.
18097         
18098 1999-05-24  Alexander Larsson  <alla@lysator.liu.se>
18100         * app/modify_tool.c:
18101         Include math.h to remove warning.
18103         * app/commands.c (dialogs_properties_callback):
18104         Bring up correct properties dialog when selected
18105         from menu.
18106         From Dan Cohn <dan@internap.com>
18108 1999-05-20  Alexander Larsson  <alla@lysator.liu.se>
18110         Patch from Lars R. Clausen 
18111         
18112         * app/modify_tool.c:
18113         Changed abs to fabs.
18115 1999-05-19  Alexander Larsson  <alla@lysator.liu.se>
18117         * INSTALL: 
18118         * configure.in:
18119         Require Gtk+ 1.2.0
18121 1999-05-18  Alexander Larsson  <alla@lysator.liu.se>
18123         Patches from Dan Cohn <dan@internap.com>
18124         
18125         * app/commands.[ch]: 
18126         * app/display.[ch]: 
18127         * app/menus.c:
18128         * app/preferences.[ch]:
18129         Implements ability to turn on/off connection points in
18130         current drawing and in global prefs.
18132 1999-05-18  Alexander Larsson  <alla@lysator.liu.se>
18134         * lib/widgets.c (dia_line_style_selector_init): 
18135         Fixed warnings.
18136         
18137         * lib/diagramdata.c (layer_update_extents):
18138         Fixed uninitialized variable error.
18140 1999-05-17  Alexander Larsson  <alla@lysator.liu.se>
18142         * lib/dia_image.c:
18143         Made some changes to the gdk_imlib visual+colormap setup.
18145 1999-05-17  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
18147         * objects/UML/usecase.c: 
18148        * objects/UML/lifeline.c
18149         Fine tunning.
18151         * objects/UML/object.c: 
18152         * objects/UML/message.c: 
18153         Changed font from Courier to Helvetica.
18155         * lib/widgets.c: 
18156         * lib/widgets.h:
18157         Added dash lenth to the LineStyle widget.
18158         
18159         * objects/standard/ellipse.c :
18160         * objects/standard/zigzagline.c: 
18161         * objects/standard/line.c: 
18162         Added dash lenght property.
18164 1999-05-16  Alexander Larsson  <alla@lysator.liu.se>
18166         * app/render_eps.c:
18167         First shot at latin1 encoded eps files.
18168         Works, but the eps files get a bit large.
18169         
18170 1999-05-16  Alexander Larsson  <alla@lysator.liu.se>
18172         * objects/UML/class.[ch]: 
18173         * objects/UML/uml.[ch]:
18174         Reverted the line wrap changes.
18175         Some day this might return, but it has to be selectable and
18176         default to off for loaded objects, otherwise it breaks file
18177         format compatibility.
18178         There was also some complains about how it looked, so a making it
18179         selectable is good for this too.
18181 1999-05-15  Alexander Larsson  <alla@lysator.liu.se>
18183         * objects/UML/class.[ch]:
18184         Some indentation cleanup.
18185         Added wrap_lines variable to class.
18186         I'll fix the line break stuff tomorrow.
18188 1999-05-13  Alexander Larsson  <alla@lysator.liu.se>
18190         * lib/dummy_dep.h:
18191         Added ref to poly_conn.o.
18193         * objects/standard/polyline.c (polyline_draw): 
18194         * objects/standard/zigzagline.c (zigzagline_draw): 
18195         * objects/standard/arc.c (arc_draw): 
18196         * objects/standard/line.c (line_draw):
18197         Draw lines before arrows. This makes hollow arrows not
18198         show the line.
18200 1999-05-13  Alexander Larsson  <alla@lysator.liu.se>
18202         Changes from Kim Peasley <kpeasley@ior.com> 
18203                 
18204         * objects/UML/class.c:
18205         Break lines with long operations so classes won't be
18206         so wide.
18208         * objects/UML/uml.[ch]:
18209         Helperfunctions for the above.
18210         
18211         * objects/UML/objects.c:
18212         Fix bug that duplicated the text in the attributes
18213         textwidget each time the object was selected.
18214         
18215 1999-05-12  Alexander Larsson  <alla@lysator.liu.se>
18217         Changes from Lars R. Clausen <lrclause@cs.uiuc.edu>
18218         
18219         * app/modify_tool.c:
18220         * app/modify_tool.h:
18221         Control-drag is restricted to vertical/horizontal movement
18222         
18223         * lib/object.h:
18224         ModifierKeys argument added to object_move_handle
18226         * app/connectionpoint_ops.c:
18227         * app/create_object.c:
18228         * app/object_ops.c:
18229         * objects/ER/attribute.c:
18230         * objects/ER/entity.c:
18231         * objects/ER/participation.c:
18232         * objects/ER/relationship.c:
18233         * objects/UML/actor.c:
18234         * objects/UML/association.c:
18235         * objects/UML/class.c:
18236         * objects/UML/classicon.c:
18237         * objects/UML/component.c:
18238         * objects/UML/constraint.c:
18239         * objects/UML/dependency.c:
18240         * objects/UML/generalization.c:
18241         * objects/UML/implements.c:
18242         * objects/UML/large_package.c:
18243         * objects/UML/lifeline.c:
18244         * objects/UML/message.c:
18245         * objects/UML/note.c:
18246         * objects/UML/object.c:
18247         * objects/UML/realizes.c:
18248         * objects/UML/small_package.c:
18249         * objects/UML/state.c:
18250         * objects/UML/usecase.c:
18251         * objects/network/bus.c:
18252         * objects/standard/arc.c:
18253         * objects/standard/box.c:
18254         * objects/standard/ellipse.c:
18255         * objects/standard/image.c:
18256         * objects/standard/line.c:
18257         * objects/standard/polyline.c:
18258         * objects/standard/textobj.c:
18259         * objects/standard/zigzagline.c:
18260         Changed calls to move_handle to pass the new argument.
18261         
18262         * lib/widgets.c:
18263         * lib/widgets.h:
18264         Default line width, color etc #define'd
18265         
18266         * po/da.po:
18267         Updates of danish menus
18269 1999-05-08  Fredrik Hallenberg  <hallon@lysator.liu.se>
18271         * dia.xpm
18272         * dia_gnome_icon.png
18273         * dia_gnome_menu_icon.png
18274         * dia_logo.png
18275         Graphics by Toussaint Frédéric <ftoussin@club-internet.fr>.
18277         * app/commands.c
18278         About dialog shows dia_logo.png. Removed the GNOME about dialog.
18280         * Makefile.am
18281         Distribute the icons and install logo in pkgdatadir.
18282         
18283         * app/Makefile.am
18284         Added DATADIR-define.
18285         
18286 1999-04-28  Alexander Larsson  <alla@lysator.liu.se>
18287         Patches from Enrico Scholz <enrico.scholz@wirtschaft.tu-chemnitz.de>
18289         * dia.spec:
18290         Updated version number, made setup quiet, can build from cvs,
18291         --enable-gnome, now using automake 1.4 DESTDIR feature, install-strip
18293         * lib/Makefile.am
18294         * objects/ER/Makefile.am
18295         * objects/UML/Makefile.am
18296         * objects/network/Makefile.am
18297         * objects/standard/Makefile.am
18298         now builds better with gnome
18300         * objects/UML/class_dialog.c
18301         Fixed typo -> po files must be updated too!!
18302         
18303 1999-04-28  Alexander Larsson  <alla@lysator.liu.se>
18305         * lib/dummy_dep.h:
18306         Added reference so that widgets.o gets linked to the app.
18308 1999-04-23  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
18310         * objects/UML/classicon.c: 
18311         Added object mode.
18313         * objects/UML/actor.c: 
18314         Changed position of 'snap-to-grid' so connection points are
18315         in the grid.
18317 1999-04-22  Alexander Larsson  <alla@lysator.liu.se>
18319         * objects/UML/classicon.c:
18320         Changed position of 'snap-to-grid'.
18321         By Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
18322         
18323 1999-04-22  Alexander Larsson  <alla@lysator.liu.se>
18325         * objects/network/antenna.c
18326         * objects/network/flash.c
18327         * objects/network/hub.c
18328         * objects/network/modem.c
18329         * objects/network/modularswitch.c
18330         * objects/network/rj45plug.c
18331         * objects/network/scead-plug.c
18332         * objects/network/network.c
18333         * objects/network/Makefile.am
18334         * objects/network/pixmaps/antenna.xpm
18335         * objects/network/pixmaps/flash.xpm
18336         * objects/network/pixmaps/hub.xpm
18337         * objects/network/pixmaps/modem.xpm
18338         * objects/network/pixmaps/modularswitch.xpm
18339         * objects/network/pixmaps/rj45plug.xpm
18340         * objects/network/pixmaps/sceadplug.xpm
18341         * objects/network/pixmaps/Makefile.am
18342         Lots of new network objects from
18343         Roland Steinbach <roland@support-system.com>.
18345 1999-04-15  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
18347         * objects/UML/classicon.c: 
18348         Fixed connection positions, saved type as int (it has 3 states),
18349         and other small fixes.
18350         
18351 1999-04-14  Alexander Larsson  <alla@lysator.liu.se>
18353         * app/preferences.c:
18354         * app/load_save.c:
18355         Added preference compress_save. It lets dia save uncompressed
18356         xml files.
18358         * objects/UML/class.c:
18359         Fixed bug with size calculation on methods that had class scope.
18360         
18361 1999-04-13  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
18363         * objects/UML/usecase.c: 
18364         Added collaboration mode
18365         Fixed connection points with text > ellipse bug and other 
18366         small things
18368         * objects/UML/state.c:
18369         Fixed bug of bad position of text after being either end
18370         or begin, moved and returned to text
18372 1999-04-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
18374         * app/preferences.c: Add prototype declaration for prefs_apply.
18376 1999-04-11  Alexander Larsson  <alla@lysator.liu.se>
18378         * app/preferences.c:
18379         Added 'ok' button.
18380         Apply don't hide window.
18382         * app/properties.c:
18383         Add 'ok' button.
18385         * objects/UML/object.c:
18386         * objdcts/UML/state.c:
18387         Some data was not copied on copy.
18389         This patch is from
18390         Ben Hochstedler <benh@eeyore.moneng.mei.com>
18392 1999-04-09  Alexander Larsson  <alla@lysator.liu.se>
18394         * app/Makefile.am:
18395         Changed link order between X and libxml.
18396         Some people had problems with an old libz in their
18397         x11 directory.  
18399 1999-04-09  Kjartan Maraas  <kmaraas@online.no>
18401         * po/no.po: updated translation.
18402         
18403 1999-04-08  Lars R. Clausen <lrclause@cs.uiuc.edu>
18405         * lib/message.c (message_error):
18406         Fixed small error.
18408         * app/commands.[ch]:
18409         * app/diagram.[ch]:
18410         Added begining of xfig importing
18412 1999-04-08  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
18414         * objects/UML/pixmaps/state.xpm: 
18415         * objects/UML/state.c: 
18416         New UML object state machine.
18418         * objects/UML/uml.c:
18419         * objects/UML/Makefile.am:
18420         * objects/UML/pixmaps/Makefile.am:
18421         Added the state object.
18422         
18423 1999-04-08  Alejandro Aguilar Sierra  <ale@bucefalo>
18425         * objects/UML/usecase.c: 
18426         Added dialog to allow move text outside the ellipse.
18428 1999-04-08  Alexander Larsson  <alla@lysator.liu.se>
18430         * Released Dia 0.41
18431         Tag called DIA_0_41
18433         * NEWS:
18434         Updates for 0.41.
18435         
18436 1999-04-08  Alexander Larsson  <alla@lysator.liu.se>
18438         * configure.in:
18439         Updated version number to 0.41
18441         * po/*.po:
18442         Update po-files
18444 1999-04-04  Fredrik Hallenberg  <hallon@lysator.liu.se>
18446         * app/app_procs.c
18447         Changed errormessage for --export-to-ps. Removed call to 
18448         g_log_set_always_fatal().
18450         * app/diagram.c
18451         * app/disp_callbacks.c
18452         * app/load_save.c
18453         (i18n) Removed gettext from some debugmessages.
18455         * app/menus.c
18456         Small fix in GNOME-menus. Added warning that will help track
18457         problems with translations.
18459         * po/sv.po
18460         (i18n) Updated swedish translation.
18462 1999-04-02  Alexander Larsson  <alla@lysator.liu.se>
18464         * po/da.po:
18465         New updates
18467 1999-04-01  Alexander Larsson  <alla@lysator.liu.se>
18469         * po/da.po:
18470         * po/no.po:
18471         Some fixes.
18472         
18473 1999-04-01  Alexander Larsson  <alla@lysator.liu.se>
18475         * po/da.po:
18476         (i18n) Updated the danish translation.
18477         From Lars R. Clausen.
18479 1999-04-01  Fredrik Hallenberg  <hallon@lysator.liu.se>
18481         * app/menus.c
18482         (i18n) The popup menu is translated now.
18484         * po/sv.po
18485         (i18n) Updated swedish translation.
18487 1999-03-29  Alexander Larsson  <alla@lysator.liu.se>
18489         * Released Dia 0.40
18490         Tag called DIA_0_40
18492         * NEWS:
18493         Updated for new release
18494         
18495 1999-03-29  Alexander Larsson  <alla@lysator.liu.se>
18497         * objects/network/bus.c:
18498         Added initialization of properties dialog to NULL.
18500         * app/commands.c (edit_cut_callback):
18501         Update menu sensitivity when cut object.
18503         * app/modify_tool.c (click_select_object):
18504         * app/modify_tool.c (modify_button_release): 
18505         Call diagram_update_menu_sensitivity() when
18506         selecting objects to update stuff that depends
18507         on selected/not selected.
18509 1999-03-29  Alexander Larsson  <alla@lysator.liu.se>
18511         * Makefile.am:
18512         Change order of subdir so that libintl.a builds.
18513         Now passed make distcheck.
18515 1999-03-28  Alexander Larsson  <alla@lysator.liu.se>
18517         * lib/font.c (init_x11_font):
18518         Stupid bug fixed.
18520 1999-03-28  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
18522         * objects/UML/pixmaps/classicon.xpm: 
18523         * objects/UML/classicon.c:
18524         * objects/UML/uml.c:
18525         Added the class stereotype icon objects.
18527         * app/commands.c:
18528         Changed default ps extension from .ps to .eps.
18529         
18530 1999-03-28  Alexander Larsson  <alla@lysator.liu.se>
18532         * lib/Makefile.am:
18533         Added diamenu.h and intl.h
18535         * lib/font.c:
18536         Stupid typo fix.
18537         
18538         * objects/UML/pixmaps/Makefile.am:
18539         Added message.xpm
18541         * objects/standard/pixmaps/Makefile.am:
18542         Added image.xpm
18544 1999-03-28  Alexander Larsson  <alla@lysator.liu.se>
18546         * lib/font.c:
18547         Use a scalable font before fixed when real font not found.
18549         * app/commands.c:
18550         Removed warning.
18552         * objects/standard/image.c:
18553         Better handling of loading/saving of images.
18555         * INSTALL:
18556         Added some text about cvs, fonts and rewrote some parts.
18558         * TODO:
18559         Updated with new stuff.
18560         
18561         * configure.in:
18562         Bump up version number to 0.40.
18563         
18564 1999-03-28  Alexander Larsson  <alla@lysator.liu.se>
18566         * app/display.c:
18567         Moved diagram_add_ddisplay() call into new_display().
18568         Fixed new_display to not use uninitialized variables
18569         causing loaded files to show up as black (or garbage).
18570         
18571         * app/commands.c:
18572         * app/app_procs.c:
18573         Removed unneeded calls to diagram_add_ddisplay().
18574         
18575 1999-03-28  Alexander Larsson  <alla@lysator.liu.se>
18577         * objects/UML/lifeline.c:
18578         Fixed bug in copy.
18579         Patch from Andreas Jaeger <aj@arthur.rhein-neckar.de>.
18581         * objects/UML/message.c:
18582         Fixed bug loading messages with null-text.
18583         Patch from Andreas Jaeger <aj@arthur.rhein-neckar.de>.
18585 1999-03-27  Fredrik Hallenberg  <hallon@lysator.liu.se>
18587         * po/sv.po
18588         Updated swedish translation.
18590         * app/menus.c
18591         (GNOME) Removed help-browser from help menu. Fixed typo.
18593         * app/interface.c
18594         (GNOME) Accelerators in diagrams should work now. 
18596 1999-03-25  Fredrik Hallenberg  <hallon@lysator.liu.se>
18598         * app/app_procs.c
18599         * app/commands.c
18600         * app/defaults.c
18601         * app/disp_callbacks.c
18602         * app/display.c
18603         * app/interface.c
18604         * app/menus.c
18605         * app/preferences.c
18606         * app/render_eps.c
18607         * lib/diagramdata.c
18608         * lib/font.c
18609         * lib/message.c
18610         * lib/widgets.c
18611         * objects/ER/*.c
18612         * objects/UML/*.c
18613         * objects/network/*.c
18614         * objects/standard/*.c
18615         * po/update_pofiles_in.sh
18616         * po/POFILES.in
18617         More i18n. All strings (expect rare debug messages) can be
18618         translated now. Moved intl.h from app to lib. Updated
18619         update_pofiles_in.sh to check all .c-files.
18621 1999-03-23  Alexander Larsson  <alla@lysator.liu.se>
18623         * app/disp_callbacks.c (ddisplay_canvas_events):
18624         Don't drop keys while num-lock, scroll-lock etc is on.
18626 1999-03-22  Alexander Larsson  <alla@lysator.liu.se>
18628         * app/render_eps.c (draw_image):
18629         Fixed exporting of images.
18630         Still not perfect, but not outright buggy.
18631         
18632 1999-03-22  Alexander Larsson  <alla@lysator.liu.se>
18634         * configure.in:
18635         * po/hu.po:
18636         Added hungarian translation. By Shooby Ban <bansz@szif.hu>.
18638         * app/Makefile.am:
18639         Added $* to the dia call in run_dia.sh
18641 1999-03-22  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
18642         
18643         * lib/color.[ch]:
18644         Added color_equals() call.
18646         * objects/standard/arc.c:
18647         * objects/standard/line.c:
18648         Don't save unneccesary data.
18649         
18650         * objects/standard/box.c:
18651         * objects/standard/ellipse.c:
18652         * objects/standard/image.c:
18653         * objects/standard/polyline.c:
18654         * objects/standard/zigzagline.c:
18655         Share properties dialog.
18656         Don't save unneccesary data.
18657         
18658 1999-03-22  Seth Alves  <alves@hungry.com>
18660         * app/menus.c:
18661         * app/diagram.c:
18662         * app/display.c:
18663         small changes so that gnome menus aren't broken
18664         
18665 1999-03-22  Alexander Larsson  <alla@lysator.liu.se>
18667         * po/da.po:
18668         Added danish translation from lrclause@cs.uiuc.edu.
18670         * po/POFILES.in:
18671         Updated file.
18673         * po/update_pofiles_in.sh:
18674         Added script that updates POFILES.in.
18675         This should probably be run automatically from somewhere.
18677 1999-03-19  Alexander Larsson  <alla@lysator.liu.se>
18679         * app/diagram.[ch]:
18680         Added function diagram_update_menu_sensitivity() which
18681         sets the sensitivity of some menu items. This function
18682         is called at each diagram state change (from diagram_modified()).
18683         This is needed  because otherwise the keyboard accelerators
18684         don't work correctly.
18686         * app/display.[ch]:
18687         Changed display_set_menu_sensitivity() to display_update_menu_state().
18688         Moved lots of code to diagram_update_menu_sensitivity() in
18689         diagram.c. Optimized to only look up menu-items from path:s once.
18690         
18691         * app/disp_callbacks.c:
18692         * app/interface.c:
18693         When we get a GDK_FOCUS_CHANGE, update menu sensitivity.
18694         Need to set GDK_FOCUS_CHANGE_MASK.
18695         
18696         * app/create_object.c:
18697         Call diagram_modified when an object has been created and
18698         selected so that the menu sensitivity is updated. 
18700         * app/menus.[ch]:
18701         removed menus_set_sensitive() and menus_set_state(). Exported
18702         renamed function menus_get_item_from_path().
18704 1999-03-15  Alexander Larsson  <alla@lysator.liu.se>
18706         * app/disp_callbacks.c:
18707         Show (empty) object menus on object that has none.
18708         Show title on object menus.
18710         * app/display.c:
18711         Set zoom factor correctly when opening new displays.
18712         Better setting of scrollbars.
18714         * app/grid.c:
18715         * app/menus.h:
18716         Some reformating cleanup.
18718         * lib/diamenu.h:
18719         Added title to object menus.
18721         * objects/*/*.c:
18722         Added object menu method (NULL-valued) to all objects.
18724         * objects/standard/polyline.c:
18725         Added title to object menu.
18727 1999-03-14  Alexander Larsson  <alla@lysator.liu.se>
18729         * app/preferences.[ch]:
18730         New files. Implements the preferences dialog and
18731         loading/saving of ~/.diarc.
18733         * app/Makefile.am:
18734         Added preferences.[ch].
18736         * app/app_procs.c:
18737         Load preferences on startup.
18739         * app/commands.[ch]:
18740         Added file_preferences_callback to show the preferences dialog.
18742         * app/create_object.c:
18743         Update extents when creating object.
18744         Use the reset_tools_after_create preferences setting.
18746         * app/display.c:
18747         Use preferences when creating new display.
18749         * app/menus.c:
18750         Add preferences to menu.
18752         * app/defaults.c:
18753         * app/layer_dialog.c:
18754         * app/properties.c:
18755         Don't allow shrinking of dialog.
18756         Add i18n of some strings.
18758 1999-03-11  Kjartan Maraas  <kmaraas@fib.hl.no>
18759         * po/no.po:
18760         Norwegian translation added.
18761         
18762 1999-03-11  Alexander Larsson  <alla@lysator.liu.se>
18764         * objects/standard/line.c: 
18765         * objects/standard/arc.c: 
18766         * objects/standard/polyline.c: 
18767         * objects/standard/zigzagline.c:
18768         Loading of arrow data fixed.
18770 1999-03-09  Alexander Larsson  <alla@lysator.liu.se>
18772         * app/commands.c:
18773         Update extents when saving and exporting to postscript.
18774         Fixes a bug with postscript bounding-box being wrong.
18776         * app/defaults.c:
18777         Changed border width from 5 to 2.
18779         * app/group.c:
18780         Move grouped objects by the move-point of the first object.
18781         Fixes bug that made all objects in the group be off-grid
18782         when moving the group, even though all objects was on-grid.
18784         * app/layer_dialog.c:
18785         Update extents when changing layer.
18787 1999-03-08  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
18789        * objects/UML/uml.c: 
18790        * objects/UML/component.c: 
18791        * objects/UML/pixmaps/component.xpm: 
18792        Added the UML component object
18793         
18794 1999-03-04  Seth Alves  <alves@hungry.com>
18796         * objects/UML/generalization.c (generalization_create): avoid
18797         math on uninitialized genlz->text_width (NaN causes sigfpe)
18798         
18799         * objects/UML/realizes.c (realizes_create): same
18801         * objects/UML/dependency.c (dependency_create): same
18803 1999-03-01  Seth Alves  <alves@hungry.com>
18805         * app/display.c (ddisplay_active): don't fly a warning panel
18806         if ddisplay_active is called when no views are open.
18808         * app/commands.c (set_default_file_selection_directory): set
18809         file selector's default directory if there is already
18810         a document open.
18812 1999-02-28  Alexander Larsson  <alla@lysator.liu.se>
18814         * INSTALL:
18815         New info about imlib requirements.
18817         * Configure.in:
18818         Added lib/pixmaps/Makefile to created makefiles.
18820         * app/app_procs.c:
18821         * app/commands.c:
18822         Change from obsoleted to newer gtk calls.
18823         
18824         * load_save.c:
18825         Pass filename of the diagram when loading and saving.
18826         This creates better oportunities to handle filename saving.
18828         * lib/object.h:
18829         Pass filenames to load and save methods.
18830         
18831         * lib/dia_image.[ch]:
18832         Added dia_image_get_broken() call that returns a image which
18833         is used for 'broken' images.
18834         
18835         * lib/pixmaps/.cvsignore:
18836         * lib/pixmaps/Makefile.am:
18837         * lib/pixmaps/broken.xpm:
18838         New files for the broken image bitmap.
18840         * lib/widgets.c:
18841         Fixed bug with double destroyed filedialog.
18843         * objects/*/*.c:
18844         Updated load and save prototypes to use the new filename argument.
18846         * objects/image.c:
18847         Render broken image instead of line when got no image.
18848         Use the new filename in load and save to save (if possible)
18849         relative pathnames and to better try to find loaded images.
18851 1999-02-28  Alexander Larsson  <alla@lysator.liu.se>
18853         * TODO:
18854         Some updates to the todo file.
18855         
18856         * app/menus.c:
18857         * app/display.c:
18858         Place over/place over => sent to back/bring to front.
18859         Added some keyboard shortcuts to menus.
18860         
18861 1999-02-28  Alexander Larsson  <alla@lysator.liu.se>
18863         * lib/dia_xml.c:
18864         Changed string saving/loading to a new method. This should
18865         be much better att handling &,<,> and whitespaces.
18866         Loading strings of the old kind is still supported for backwards
18867         compatibility.
18869         * samples/ER-demo.dia:
18870         * samples/UML-demo.dia:
18871         Updated to use the new strings.
18872         
18873         * app/load_save.c:
18874         statusbar modified update fix.
18876 1999-02-27  Seth Alves  <alves@hungry.com>
18878         * app/app_procs.c (app_init): added a --export-to-ps option
18879         which will cause dia to load a dia file and save it as ps
18880         and then exit.  this is a little bogus, because it still
18881         pops up a window.  this option only shows up if --enable-gnome
18882         is used
18884         * app/display.c (display_set_menu_sensitivity): no Edit/Delete
18885         menu when built with --enable-gnome
18887         * app/interface.c (create_display_shell): build status bar
18888         even if --enable-gnome is used
18890         * app/menus.c: menu fixes for --enable-gnome
18892         * app/commands.c (file_open_dialog_ok_callback): fixed up
18893         menus when --enable-gnome is used
18894         (file_export_to_eps_callback): set a default file name
18895         when dialog is created
18897 1999-02-27  Alexander Larsson  <alex@c125.ryd.student.liu.se>
18899         * objects/UML/association.c (association_create):
18900         Fixed usage of not initialized variable.
18901         Pointed out by Seth Alves <alves@hungry.com>.
18903 1999-02-24  Alexander Larsson  <alex@c125.ryd.student.liu.se>
18905         * configure.in:
18906         Fixed detection of gnome-xml.
18907         From Valtteri Vuorikoski <vuori@k.notcom.org>.
18908         
18909         * app/app_procs.c:
18910         Fixed error detection on dlsym calls. 
18911         From Valtteri Vuorikoski <vuori@k.notcom.org>.
18913 1999-02-23  Alexander Larsson  <alla@lysator.liu.se>
18915         * objects/UML/message.c (fill_in_dialog):
18916         Fixed warnings.
18918 1999-02-22  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
18920         * objects/standard/zigzagline.c:
18921         * objects/standard/polyline.c:
18922         * objects/standard/line.c:
18923         * objects/standard/arc.c:
18924         * lib/widgets.h:
18925         * lib/arrows.h:
18926         * lib/widgets.c:
18927         Support for sizeable arrows. 
18929         * objects/standard/box.c:
18930         * objects/standard/ellipse.c:
18931         * objects/standard/image.c:
18932         Changed creation handle to lower-right.
18933         Transparent box/ellipse.
18934         
18935         * objects/standard/image.c:
18936         Better layout of properties boxes.
18938 1999-02-20  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
18940         * objects/UML/message.c (fill_in_dialog): 
18941         Fixed dialog fill in. Common dialog for all messages.
18943         * objects/UML/object.c: 
18944         Added multiple instance. Dialog related bugs fixed.
18945         Common dialog for all instances. Completed copy and destroy.
18947         * objects/UML/lifeline.c (lifeline_load): 
18948         Conn initialization bug fixed and few bad loading prevention flags.
18949         Common dialog for all lifeline objects.
18950         
18951 1999-02-15  Alexander Larsson  <alla@lysator.liu.se>
18953         * lib/dia_image.[ch]:
18954         More work on the DiaImage abstraction.
18955         
18956         * app/app_procs.c:
18957         * app/render_eps.c:
18958         * app/render_gdk.c:
18959         * objects/standard/image.c:
18960         Use the new DiaImage calls.
18962 1999-02-15  Alexander Larsson  <alla@lysator.liu.se>
18964         * app/menus.c:
18965         * app/display.c:
18966         Reversed the meaning of align horizontal/vertical.
18968 1999-02-15  Alexander Larsson  <alla@lysator.liu.se>
18970         * app/load_save.c (diagram_load):
18971         Statusbar update fix.
18973 1999-02-15  Alexander Larsson  <alla@lysator.liu.se>
18975         * app/interface.c (create_display_shell):
18976         Fixed status bar size.
18977         
18978 1999-02-15  Alexander Larsson  <alla@lysator.liu.se>
18980         * lib/dia_image.[ch]:
18981         Added extern declaration for dia_image_release.
18982         Removed dia_image_draw, as it's not neseccary.
18984 1999-02-14  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
18985         
18986         * app/object_ops.c: 
18987         * app/menus.c: 
18988         Added equal distance alignment both vertical and horizontal.
18989         
18990         * objects/UML/object.c: 
18991         Added a couple of attributes to load/read that were missing.
18993         * objects/UML/lifeline.c: 
18994         Better handling of handles. Fixed another bug I forgot to add
18995         to my last patch.
18996         
18997 1999-02-13  Alexander Larsson  <alla@lysator.liu.se>
18999         Patch from Lars Clausen <lrclause@shasta.cs.uiuc.edu>
19000         
19001         * lib/dia_image.[ch]:
19002         * lib/Makefile.am:
19003         New files. DiaImage wraps the GdkImlibImage.
19005         * lib/render.h:
19006         * app/render_eps.c:
19007         * app/render_gdk.c:
19008         * lib/render_store.[ch]:
19009         * objects/standard/image.c:
19010         Use the new DiaImagetype.
19012         * lib/widgets.c:
19013         Removed unused variable to eliminate  warning.
19015 1999-02-11  Alexander Larsson  <alla@lysator.liu.se>
19017         * objects/standard/box.c:
19018         Added rounded corners on the box object.
19020         * lib/widgets.[ch]:
19021         Updated the DiaFileSelector widget.
19022         
19023 1999-02-09  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
19025         * objects/UML/object.c (objet_draw): 
19026         Completed underlining of all object name lines. 
19028         * objects/UML/message.c (fill_in_dialog): 
19029         Fixed a bug that filled incorrectly the message's dialog.
19031         * objects/UML/lifeline.c (lifeline_load): 
19032         Some cleanning and fixed a couple of bugs that caused
19033         crashes after reading diagrams with lifelines.
19035         * lib/text.c: 
19036         Added flags to prevent crash with void strings
19038 1999-02-07  Matthias Köster <Matthias.Koester@Informatik.Uni-Oldenburg.DE>
19039         * app/display.[ch]:
19040         Added statusbar to the display widget. Currently shows the zoom
19041         factor and modified flag of the viewed diagram. The statusbar is
19042         updated upon calls to ddisplay_zoom and ddisplay_update_statusbar.
19043         This caused the following additions:
19044         
19045         * app/diagram.[ch]:
19046         Added function diagram_set_modified. Calls
19047         ddisplay_update_statusbar for all displays showing the modified diagram.
19048         Changed diagram_modified to call diagram_set_modified.
19049         
19050         * app/interface.c:
19051         Added the creation of the statusbar.
19052         
19053         * app/load_save.c:
19054         diagram_save now calls diagram_set_modified instead of setting
19055         dia->modified. Needed to force call to display_update_statusbar
19056         
19057         * app/commands.c:
19058         Changed the way view_show_all works. Now calls ddisplay_zoom
19059         instead of directly setting the zoom_factor, so the zoom factor is
19060         correctly shown in the statusbar.
19062         * app/magnify.c:
19063         Fixed rubberband zoom to use ddisplay_zoom().
19064         
19065 1999-02-07  Fredrik Hallenberg  <hallon@lysator.liu.se>
19067         * app/app_procs.c
19068         Rudimentary GNOME session management.
19069         
19070         * app/disp_callbacks.c
19071         * app/interface.c
19072         * app/menus.c
19073         * app/menus.h
19074         GNOME menus. Problems: 
19075         Callbacks doesn't get user_data.
19076         Weird warnings when creating popup menus.
19077         menus_set_sensitive(), menus_set_state() doesn't work.
19079 1999-02-05  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
19081         * configure.in:
19082         Add AM_PATH_GDK_IMLIB() call.
19084         * app/Makefile.am:
19085         Add gdk_imlib to linking flags.
19087         * app/app_procs.c:
19088         Init gdk_imlib.
19089         Print library-loading error messages on stdout too.
19091         * app/interface.c:
19092         Add standard image to toolbox.
19093         
19094         * app/render_eps.c: 
19095         Set a more reasonable dot length.  Fixed
19096         missing initialization of dot length.
19097         Added draw_image methods.
19099         * app/render_gdk.c (new_gdk_renderer): 
19100         Dot a bit wider.  Looks good in normal mode now.
19102         * objects/standard/image.c:
19103         * objects/standard/pixmaps/image.xpm:
19104         New files. Standard object for images.
19105         
19106         * app/render_eps.c (set_linestyle):
19107         * app/render_gdk.c (set_linestyle):
19108         * lib/widgets.c (dia_line_style_selector_init): 
19109         * lib/render.h: 
19110         New line style DOTTED.
19112         * lib/render.h:
19113         * lib/render_store.c:
19114         Change DrawImage call to use gdk_imlib.
19116         * lib/widgets.[ch]:
19117         Added widgets for selecting files.
19118         Added dotted to the linestyle selector.
19120 1999-02-06  Alexander Larsson  <alla@lysator.liu.se>
19122         * objects/network/printer.c:
19123         * objects/network/network.c:
19124         * objects/network/pixmaps/printer.xpm:
19125         * objects/network/.cvsignore:
19126         * objects/network/Makefile.am:
19127         * objects/network/pixmaps/Makefile.am:
19128         New printer object in network.
19129         From Martin Hawlisch <hawlisch@roxi.rz.fh-mannheim.de>
19131         * TODO:
19132         Added known XML bug.
19133         
19134 1999-02-06  Alexander Larsson  <alla@lysator.liu.se>
19136         * app/load_save.c:
19137         * lib/dia_xml.c:
19138         Reverted back from #include <gnome-xml/tree.h> to
19139         #include <tree.h> as this is fixed by the xml-config program.
19140         The former way broke for some people.
19141         Reported by blizzard@redhat.com.
19143         * objects/UML/lifeline.c:
19144         * objects/UML/message.c:
19145         * objects/UML/object.c:
19146         Removed some warnings.
19147         
19148 1999-02-04  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
19150         * objects/UML/lifeline.c: 
19151         Fixed connection points over the life line when the focus of
19152         control is not drawn.
19154         * objects/UML/message.c: 
19155         Now a recursive message can be freely resized using the handles.
19157 1999-02-02  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
19159         * objects/UML/lifeline.c:
19160         Added connection points.
19161         Added properties dialog with the option to draw/hide focus of control
19162         box and destruction mark.
19164         * objects/UML/object.c: 
19165         Added properties dialog and stereotype, explicit state and attributes. 
19166         It's also possible to mark the object as active.
19168         * objects/UML/pixmaps/object.xpm: 
19169         Cosmetic change.
19171         * objects/UML/message.c:
19172         Added "recursive" message type (was not necessary to use OrthConn).
19174 1999-02-02  Alexander Larsson  <alla@lysator.liu.se>
19176         * objects/standard/arc.c:
19177         Removed old debug code. Fixes a visual bug. From lrclause@cs.uiuc.edu.
19179 1999-02-01  Alexander Larsson  <alla@lysator.liu.se>
19181         Patch from Lars R. Clausen <lrclause@cs.uiuc.edu>
19182         
19183         * app/load_save.c:
19184         * lib/dia_xml.c:
19185         Update xml includes to gnome-xml/*.h.
19187         * objects/standard/arc.c:
19188         Only one property dialog per type.
19189         Fix arrows directions.
19191         * objects/standard/box.c:
19192         * objects/standard/ellipse.c:
19193         * objects/standard/textobj.c
19194         Added default properties dialog.
19195         
19197 1999-01-31  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
19199         * objects/UML/Makefile.am: 
19200         * objects/UML/uml.c:
19201         * objects/UML/lifeline.c: 
19202         * objects/UML/object.c: 
19203         * objects/UML/message.c:
19204         * objects/UML/pixmaps/lifeline.xpm: 
19205         * objects/UML/pixmaps/object.xpm: 
19206         * objects/UML/pixmaps/message.xpm:
19207         Added 3 new UML objects for dynamic modeling. To avoid internal 
19208         conflicts, the name "objet" is used for object "object".        
19210         * lib/arrows.[ch]: 
19211         Added ARROW_HALF_HEAD arrow type to allow drawing asynchronous
19212         UML messages.
19213         
19214 1999-01-30  Alexander Larsson  <alla@lysator.liu.se>
19216         * app/display.[ch]:
19217         * app/modify_tool.c:
19218         Added autoscrolling while doing rubber-band select.
19219         This patch from Matthias Köster
19220         (Matthias.Koester@Informatik.Uni-Oldenburg.DE)
19221         
19223 1999-01-28  Alexander Larsson  <alla@lysator.liu.se>
19225         * app/defaults.[ch]:
19226         New files, deals with default properties dialog.
19228         * lib/diamenu.h:
19229         New file. Contains definitions for the new object menu.
19231         * lib/poly_conn.[ch]:
19232         New file. Base class for poly-line like objects.
19234         * objects/standard/polyline.c:
19235         * objects/standard/pixmaps/polyline.xpm:
19236         New files. Polyline object.
19238         * app/app_procs.c:
19239         Fixed bug with infinite loop when registering sheets.
19240         
19241         * app/commands.c:
19242         Removed unneccesary stuff.
19244         * app/disp_callbacks.c:
19245         Support for object menus.
19247         * app/interface.c:
19248         Added polyline to toolbox.
19249         Added call to tool_options_dialog_show() when double clicking on
19250         tool.
19252         * app/tool.[ch]:
19253         New function tool_options_dialog_show() for tool properties.
19255         * lib/arrows.[ch]:
19256         Added ARROW_NONE.
19258         * lib/object.h:
19259         Added ObjectType methods for handling object default dialogs.
19260         Added Object method for handling object_menu.
19261         Added unused methods to ObjectTypeOps for future binary
19262         compatibility.
19264         * lib/widgets.[ch]:
19265         Added DiaArrowTypeSelector widget.
19267         * objects/standard/arc.c:
19268         * objects/standard/zigzagline.c:
19269         Added support for default properties.
19271         * objects/standard/line.c:
19272         Added support for default properties.
19273         Just use one properties dialog for all line objects. NOTE: This
19274         seems to have a bug. We're working on it.
19276         * standard/standard.c:
19277         Add the polyline object.
19279 1999-01-27  Alexander Larsson  <alla@lysator.liu.se>
19281         * app/modify_tool.c:
19282         Commented out buggy transitive select function. It wasn't really
19283         meant to go into cvs.
19284         
19286 1999-01-25  Fredrik Hallenberg  <hallon@lysator.liu.se>
19288         * autogen.sh:
19289         * acconfig.h:
19290         * configure.in:
19291         * Makefile.am:
19292         * app/Makefile.am:
19293         * po/POTFILES.in:
19294         * app/intl.h
19295         i18n-support.
19297         * po/sv.po:
19298         Swedish translation. Not completed.
19299         
19300         * configure.in:
19301         * acconfig.h:
19302         Added possibility to enable GNOME specific code with configure.
19304         * configure.in:
19305         Added possibility to set debug level with configure.
19307         * commands.[hc]:
19308         Added about dialog.
19310         * app_procs.c
19311         * commands.c
19312         * interface.c
19313         * menus.c
19314         Added some GNOME specific code. Not ready for use.
19316 1999-01-24  Alexander Larsson  <alla@lysator.liu.se>
19318         * INSTALL:
19319         Added text about needing gtk 1.1.13 and gnome-xml.
19320         
19321         * NEWS:
19322         Described changes since last version (0.20).
19324         Released version 0.30, tagged DIA_0_30.
19326 1999-01-22  Alexander Larsson  <alla@lysator.liu.se>
19328         * app/magnify.c (magnify_button_release):
19329         Fixed a problem when zooming in on a very small box would
19330         not release the grabbed pointer-focus.
19332 1999-01-21  Alexander Larsson  <alla@lysator.liu.se>
19334         * app/load_save.c (diagram_load):
19335         Be somewhat more robust when loading files that
19336         are not diagrams.
19337         
19338 1999-01-21  Alexander Larsson  <alla@lysator.liu.se>
19340         * app/app_procs.c:
19341         * objects/ER/er.c:
19342         * objects/UML/uml.c:
19343         * objects/network/network.c:
19344         * objects/standard/standard.c:
19345         Added versioning of object libraries.
19347         * app/create_object.c:
19348         Don't change tool when an object is created.
19349         
19350         * objects/network/network.c:
19352         * TODO:
19353         Update
19355 1999-01-19  Alexander Larsson  <alla@lysator.liu.se>
19357         * configure.in:
19358         Updated gtk requirement to Gtk+ 1.1.13.
19360         * app/display.c:
19361         Always add one screenful of scrolling space on
19362         each side of a diagram window.
19364 1999-01-19  Jeff Garzik  <jgarzik@pobox.com>
19366         * autogen.sh:
19367         Tell automake to auto-install missing files.
19369         * app/menus.c:
19370         Renamed deprecated Gtk+ function.
19372 1999-01-16  Alexander Larsson  <alla@lysator.liu.se>
19374         * Makefile.am:
19375         * configure.in:
19376         * samples/Makefile.am:
19377         * samples/ER-demo.dia:
19378         * samples/UML-demo.dia:
19379         Added samples directory.
19380         Added samples for ER and UML.
19381         
19382         * app/commands.c:
19383         * app/disp_callbacks.c:
19384         * app/menus.c:
19385         Zoom is done by sqrt(2) instead of 2.
19386         Lots of more zoom options in the menu.
19388         * objects/ER/relationship.c:
19389         Relationships have 8 connectionpoints instead of 4.
19391         * objects/UML/class.c:
19392         UML class name font a bit smaller.
19393         Fixed stupid bug in the copy operation.
19394         
19395         * app/display.c:
19396         Displays are opened at 500x400 instead of 256x256.
19398         * app/load_save.c:
19399         Fixup of internal error message.
19401         * app/color_area.c:
19402         * app/diagram.c:
19403         * app/modify_tool.c:
19404         * lib/object.c:
19405         Removed debug printf's.
19406         
19407         * TODO (BUGS):
19408         Added new known bug.
19410 1999-01-16  Alexander Larsson  <alla@lysator.liu.se>
19412         * app/interface.c:
19413         * app/menus.c:
19414         Fixed so accelerator groups work in all windows.
19415         Updated to new gtk function names.
19417         * TODO (BUGS):
19418         Removed fixed bug.
19420         * app/display.c:
19421         Updated to new gtk function names.
19422         Set sensitivity of the align menu items.        
19424         * objects/ER/pixmaps/Makefile.am:
19425         * objects/UML/pixmaps/Makefile.am:
19426         * objects/network/pixmaps/Makefile.am:
19427         Fix so that make dist works.
19429         * app/app_procs.c:
19430         * app/color_area.c:
19431         * app/commands.c:
19432         * app/diagram.c:
19433         * app/grid.c:
19434         * app/layer_dialog.c:
19435         * app/load_save.c:
19436         * app/object_ops.c:
19437         * app/properties.c:
19438         * lib/diagramdata.[ch]: 
19439         * lib/message.c:
19440         * lib/objects/ER/attribute.c:
19441         * lib/objects/ER/entity.c:
19442         * lib/objects/ER/participation.c:
19443         * lib/objects/ER/relationship.c:
19444         * lib/objects/ER/.c:
19445         * objects/UML/actor.c:
19446         * objects/UML/association.c:
19447         * objects/UML/class_dialog.c:
19448         * objects/UML/dependency.c:
19449         * objects/UML/generalization.c:
19450         * objects/UML/large_package.c:
19451         * objects/UML/realizes.c:
19452         * objects/UML/.c:
19453         * objects/UML/.c:
19454         Updated to new gtk function names.
19455         Removed warnings.
19457 1999-01-15  Alexander Larsson  <alla@lysator.liu.se>
19459         * TODO:
19460         Update TODO.
19462         * app/app_procs.c:
19463         Fixed loading of diagrams specified as arguments.
19465         * objects/ER/attribute.c:
19466         * objects/ER/entity.c:
19467         * objects/ER/er.c:
19468         * objects/ER/participation.c:
19469         * objects/ER/relationship.c:
19470         Updated the ER objects.
19471         
19473 1999-01-14  Alexander Larsson  <alla@lysator.liu.se>
19475         * configure.in:
19476         * app/Makefile.am:
19477         * objects/Makefile.am:
19478         * objects/ER/attribute.c:
19479         * objects/ER/entity.c:
19480         * objects/ER/er.c:
19481         * objects/ER/participation.c:
19482         * objects/ER/relationship.c:
19483         * objects/ER/pixmaps/Makefile.am:
19484         * objects/ER/pixmaps/attribute.xpm:
19485         * objects/ER/pixmaps/entity.xpm:
19486         * objects/ER/pixmaps/participation.xpm:
19487         * objects/ER/pixmaps/relationship.xpm:
19488         * objects/ER/pixmaps/weakentity.xpm:
19489         First commit of entity relationship objects.
19490         These were done by hallon@lysator.liu.se.
19491         There are still stuff to do on these.
19492         
19493 1999-01-14  Alexander Larsson  <alla@lysator.liu.se>
19495         * TODO:
19496         Updates.
19498         * app/diagram.[ch]:
19499         Change diagram_remove_all_selected to take new argument
19500         delete_empty. Empty objects are deleted only if it is TRUE.
19501         Removed call to close_eps_renderer. This is now done in end_render
19502         in the eps renderer.
19504         * app/create_object.c:
19505         * app/layer_dialog.c:
19506         Update calls to diagram_remove_all_selected.
19508         * app/commands.c:
19509         Update calls to diagram_remove_all_selected.
19510         Some code reformating.
19511         Changed order of adding updates i align_h and align_v.
19513         * app/modify_tool.c:
19514         Update calls to diagram_remove_all_selected.
19515         Added pointer grab when doing rubber-band selection, this fixes
19516         the bug when draging the box over to another window.
19518         * app/connectionpoint_ops.[ch]:
19519         diagram_update_connections_object changed to take an argument
19520         update_nonmoved. This lets connections that has not moved, but
19521         the stuff they're connected to has been moved work.
19522         Update calls to the new diagram_update_connections_object.
19524         * app/properties.c:
19525         Update calls to the new diagram_update_connections_object.
19526         Update extents when properties are applied.
19527         
19528         * app/disp_callbacks.c:
19529         Added support for zooming with the '+' and '-' keys.
19531         * app/menus.c:
19532         Removed old keyboard shortcuts for zoom.
19534         * lib/render.h:
19535         Added calls begin_render and end_render to renderer.
19536         These can be used for setup and cleanup.
19538         * lib/diagramdata.c:
19539         Added calls to begin_render and end_render in data_render.
19541         * app/render_gdk.c:
19542         Added begin_render and end_render.
19544         * app/render_eps.[ch]:
19545         Added begin_render and end_render.
19546         Moved close_eps_renderer code to end_render.
19547         Various fixes to the generated eps code. This fixes importing
19548         generated eps into LYX.
19549         
19550 1999-01-12  Alexander Larsson  <alla@lysator.liu.se>
19552         * TODO:
19553         Update of todo.
19554         
19555         * app/menus.c:
19556         Menus for alignment updated.
19558         * app/object_ops.[ch]:
19559         Functions for object alignment updated.
19561         * app/commands.[ch]:
19562         Object alignment callbacks updated.
19563         New diagrams are called Untitled-<nr>.
19565         * app/layer_dialog.c:
19566         Active layer selected when showing layers from new
19567         diagram.
19569         * app/load_save.c:
19570         Compress xml files when saving.
19571         Use xml namespace 'dia'.
19573         * lib/object.h:
19574         Minor comment update.
19576         * objects/UML/class_dialog.c:
19577         Cleanup of the gkt_list_item moving code.
19578         Fixed bug with update of operation when moving parameters.
19580 1999-01-10  Alexander Larsson  <alla@lysator.liu.se>
19582         * app/layer_dialog.[ch]:
19583         Fixed the rest of the layers dialog.
19585         * app/dialog.c:
19586         Added call to redo layer dialogs diagram list when changing
19587         diagram name.
19589         * lib/diagramdata.[ch]:
19590         Added data_raise_layer and data_lower_layer functions for
19591         raising/lowering layers. Added data_add_layer_at for adding a
19592         layer at a specified index.
19594 1999-01-05  Alexander Larsson  <alla@lysator.liu.se>
19596         This is the asierra-990105 patch done by asierra@servidor.unam.mx.
19597                 
19598         * app/app_procs.c:
19599         Added support for reading diagrams from the command line.
19601 1998-12-21  Alexander Larsson  <alla@lysator.liu.se>
19603         This is the asierra-981220 patch done by asierra@servidor.unam.mx.
19604                 
19605         * app/commands.[ch]:
19606         Added objects_align_callback().
19608         * app/menus.c:
19609         Added align objects to menu.
19611         * app/object_ops.[ch]:
19612         Add object_list_align().
19613         
19614 1998-12-17  Alexander Larsson  <alla@lysator.liu.se>
19615         * app/layer_dialog.[ch]:
19616         New files. Handles the layers dialog. Needs a bugfix for glib to
19617         work. Sent patch to gtk-list.
19618         
19619         * app/pixmaps/new.xpm:
19620         * app/pixmaps/eye.xbm:
19621         * app/pixmaps/lower.xpm:
19622         * app/pixmaps/raise.xpm:
19623         * app/pixmaps/delete.xpm:
19624         New files. Images for the layer dialog buttons.
19625         
19626         * lib/diagramdata.h
19627         * lib/diagramdata.c
19628         New files for the DiagramData and Layer structures and functions.
19629         
19630         * app/app_procs.c:
19631         Added call to create_layer_dialog() on startup.
19632         
19633         * app/commands.[ch]:
19634         New callbacks for showing the properties and layout dialog.
19635         Changes for the new DiagramData structure.
19637         * app/connectionpoint_ops.c:
19638         * app/cut_n_paste.c:
19639         * app/diagram.[ch]:
19640         * app/display.[ch]:
19641         * app/group.c:
19642         * app/modify_tool.c:
19643         * app/object_ops.[ch]:
19644         * app/render_eps.c:
19645         * lib/object.[ch]:
19646         Changes for the new DiagramData structure.
19648         * app/interface.c:
19649         * app/properties.c:
19650         Set correct wmclasses.
19652         * app/load_save.c:
19653         Fix load and save of layers.
19655         * diagram.dtd:
19656         Update DTD for layers.
19657         
19658         * app/menus.c:
19659         New menus for dialogs.
19661         
19662         * TODO:
19663         Some updates.
19664         
19665 1998-12-06  Alexander Larsson  <alla@lysator.liu.se>
19667         * TODO:
19668         Removed the gtk 1.1.5 stuff.
19670         * configure.in:
19671         Updated gtk check to version 1.1.5.
19672         Updated version from 0.20 to 0.30
19674         * app/commands.[ch]:
19675         Updated some callbacks to be of type GtkItemFactoryCallback1.
19676         Not all are done yet, but it works anyway.
19678         * app/display.h:
19679         Removed Gtk 1.0.0 GtkAcceleratorTable references.
19680         
19681         * app/interface.c:
19682         * app/menus.[ch]:
19683         Update to Gtk 1.1.x functions.
19684         Use ItemFactory instead of MenuFactory.
19685         
19686         * app/render_gdk.c:
19687         Removed Gtk 1.0.0 references.
19689         * objects/UML/class_dialog.c:
19690         Scrolled window updates for Gtk 1.1.5.
19691         
19692         * lib/dia_xml.c:
19693         Removed ugly fix for gnome-xml bug. Make sure you get the
19694         newest version of gnome-xml from CVS.
19695         
19696 1998-12-05  Alexander Larsson  <alla@lysator.liu.se>
19698         * TODO:
19699         Removed the xml load/save line.
19701         * lib/files.[ch]:
19702         Removed files.
19703         
19704         * lib/Makefile.am:
19705         Removed building of files.c
19707         * app/load_save.c:
19708         * lib/connection.c:
19709         * lib/element.c:
19710         * lib/object.c:
19711         * lib/orth_conn.c:
19712         * lib/render_object.c:
19713         * objects/UML/actor.c:
19714         * objects/UML/association.c:
19715         * objects/UML/class.c:
19716         * objects/UML/constraint.c:
19717         * objects/UML/dependency.c:
19718         * objects/UML/generalization.c:
19719         * objects/UML/implements.c:
19720         * objects/UML/large_package.c:
19721         * objects/UML/note.c:
19722         * objects/UML/realizes.c:
19723         * objects/UML/small_package.c:
19724         * objects/UML/uml.c:
19725         * objects/UML/usecase.c:
19726         * objects/network/bus.c:
19727         * objects/standard/arc.c:
19728         * objects/standard/box.c:
19729         * objects/standard/ellipse.c:
19730         * objects/standard/line.c:
19731         * objects/standard/textobj.c:
19732         * objects/standard/zigzagline.c:
19733         Removed all includes of files.h
19735         
19736 1998-12-05  Alexander Larsson  <alla@lysator.liu.se>
19738         * dialog.dtd:
19739         Made the val property of string be implied.
19740         This makes it possible to save strings that
19741         are NULL. Just leave out val.
19743         * objects/lib/dia_xml.c:
19744         Fixed string so that it is possible to save strings
19745         that are NULL. Also made an ugly workaround of a
19746         bug in gnome-xml which removes empty properties.
19747         
19748         * objects/lib/orth_conn.c:
19749         Fixed a bug in saving. Forgot to step through the
19750         directions.
19751         
19752         * objects/UML/association.c: 
19753         * objects/UML/class.c: 
19754         * objects/UML/constraint.c: 
19755         * objects/UML/dependency.c: 
19756         * objects/UML/generalization.c: 
19757         * objects/UML/implements.c: 
19758         * objects/UML/large_package.c: 
19759         * objects/UML/note.c: 
19760         * objects/UML/small_package.c:
19761         * objects/UML/realizes.c:
19762         * objects/UML/usecase.c: 
19763         * objects/UML/actor.c: 
19764         Fixed UML objects to save as xml.
19765         The last two were done by asierra@servidor.unam.mx (asierra-981204)
19766         
19767         * objects/UML/uml.[ch]:
19768         Updated *_write() and *_read() functions to use xml.
19770         * objects/network/bus.c: 
19771         * objects/network/computer.c: 
19772         * objects/network/disc.c: 
19773         * objects/network/monitor.c:
19774         Updated network diagrams to use xml.
19776 1998-12-02  Alexander Larsson  <alla@lysator.liu.se>
19778         * dialog.dtd:
19779         New file. DTD that describes the xml file format
19780         dia uses.
19782         * lib/dia_xml.[ch]:
19783         New files. Support for saving object to xml files.
19785         * configure.in:
19786         * app/Makefile.am:
19787         * lib/Makefile.am:
19788         Added check for and usage of gnome-xml library.
19790         * app/load_save.c:
19791         Major chages. Now saves/loads diagrams as xml.
19793         * lib/object.[ch]:
19794         * lib/element.[ch]:
19795         * lib/connection.[ch]:
19796         * lib/orth_conn.[ch]:
19797         * lib/render_object.[ch]:
19798         * lib/text.[ch]:
19799         Updated object support load/save functions for xml:
19801         * object/standard/arc.c:
19802         * object/standard/box.c:
19803         * object/standard/ellipse.c:
19804         * object/standard/line.c:
19805         * object/standard/textobj.c:
19806         * object/standard/zigzagline.c:
19807         Updated all standard objects to use xml.
19808         
19809         NOTE NOTE NOTE
19810         Only the standard objects are converted right now, don't
19811         save or load uml or network diagrams yet. Also, since this
19812         is new code it is deemed a bit unstable.
19813         
19814         * TODO
19815         Added a know bug.
19817 1998-12-01  Alexander Larsson  <alla@lysator.liu.se>
19819         * objects/UML/class.c:
19820         Changed classname font to Helvetica.
19821         Added more space above the classname
19823         * objects/UML/usecase.c:
19824         Correct placements of connectionpoints on ellipse.
19825         Better algorithm for deciding aspect ration on
19826         ellipse.
19828         These changes were made by Alejandro Aguilar Sierra
19829         <asierra@servidor.unam.mx>. (asierra-981201)
19831 1998-11-30  Alexander Larsson  <alla@lysator.liu.se>
19833         * objects/UML/actor.c:
19834         Changed the extents and alignment of the element
19835         and the text.
19837         * objects/UML/.cvsignore:
19838         Added usecase.lo and actor.lo.
19840 1998-11-30  Alexander Larsson  <alla@lysator.liu.se>
19842         * objects/UML/actor.c:
19843         * objects/UML/usecase.c:
19844         * objects/UML/pixmaps/actor.xpm:
19845         * objects/UML/pixmaps/case.xpm:
19846         New files. Implements usecase and actor UML objects.
19847         These objects are done by Alejandro Aguilar Sierra
19848         <asierra@servidor.unam.mx>.
19849         
19850         * objects/UML/Makefile.am:
19851         * objects/UML/pixmaps/Makefile.am:
19852         Added usecase and actor to makefile.
19853         
19854         * AUTHORS:
19855         Added Alejandro and Jerome to autors list.
19856         
19857 1998-11-25  Alexander Larsson  <alla@lysator.liu.se>
19859         * objects/UML/class.c (umlclass_load):
19860         Fixed typo. Reported by Jerome.Abela@solsoft.fr
19862 1998-11-24  Alexander Larsson  <alla@lysator.liu.se>
19864         * app/properties.c:
19865         Update connections when doing apply in the properties window.
19867         * objects/UML/uml.[ch]:
19868         * objects/UML/class.[ch]:
19869         * objects/UML/class_dialog.c:
19870         Added connection points on both sides of attributes and
19871         operations in UML classes.
19872         Based on idea from Jerome.Abela@solsoft.fr
19873         
19874 1998-11-24  Alexander Larsson  <alla@lysator.liu.se>
19876         * README:
19877         Some new documentation about handles and connectionpoints.
19878         
19879         * lib/object.[ch]:
19880         Added functions object_add_connectionpoint and
19881         object_remove_connectionpoint for handling a dynamic
19882         number of connectionpoints.
19884         * objects/UML/class.c:
19885         Only reserve space for stereotype when it is shown.
19887         These changes are from Jerome Abela <Jerome.Abela@solsoft.fr>
19889 1998-11-08  Alexander Larsson  <alla@lysator.liu.se>
19891         * app/connectionpoint_ops.c:
19892         * app/commands.c:
19893         * app/disp_callbacks.c:
19894         * app/display.[ch]:
19895         * app/grid.c:
19896         * app/handle_ops.c:
19897         * app/magnify.c:
19898         * app/modify_tool.c:
19899         * app/render_gdk.[ch]:
19900         * lib/render.h:
19901         Huge cleanup of internal rendering system.
19902         Moved a lot of data (pixmap, width, height & gc) into the GdkRenderer.
19903         This gives a few new methods for Interactive Renderers for setting
19904         clipping regions and drawing pixel based lines and rects.
19905         Updated the rest of the code to use the new stuff.
19906         
19907         * app/render_eps.c:
19908         Fixed warning.
19910         * lib/widgets.c:
19911         * objects/standard/zigzagline.c
19912         Fixed unused variable warnings.
19914         * lib/font.c:
19915         Fixedbug with stringwidth where width==0.
19917         * TODO:
19918         Added known bug.
19920 1998-11-02  Alexander Larsson  <alla@lysator.liu.se>
19922         * lib/widgets.[ch]:
19923         Added suppot for setting the font of a
19924         DiaFontSelector widget.
19925         Also fixed some typos in the header.
19927         * lib/object.h: 
19928         Added a comment about the GetPRoperties method call.
19929         You have to make sure to update widget state when
19930         this method is called. (Not all objects do this yet,
19931         to be fixed.)
19933         * TODO:
19934         Some small updates
19936 1998-11-01  Alexander Larsson  <alla@lysator.liu.se>
19938         * lib/font.c
19939         Fixed problem with height of ascent and descent for fonts.
19940         It didn't use the whole height (==ascent+descent) when calculatine
19941         ascent_ratio and descent_ratio.
19943         * objects/standard/textobj.c:
19944         * objects/standard/box.c:
19945         * objects/standard/ellipse.c:
19946         * objects/standard/line.c:
19947         * objects/standard/arc.c:
19948         Updated and added property dialogs for these objects.
19949         Also added line width/color/style to those objects
19950         that didn't have it.
19951         This change breaks fileformat compatibility for these objects.
19952         
19953         * objects/standard/zigzagline.c:
19954         Changed zigzagline to be based on OrthConn, much nicer.
19955         Also added line style and color to properties.
19956         This change breaks fileformat compatibility for zigzagline.
19958         * lib/message.c:
19959         Fixed bug in message(). Forgot a pair of '&'.
19961 1998-10-29  Alexander Larsson  <alla@lysator.liu.se>
19963         * lib/widgets.[ch]:
19964         Added DiaColorSelector widget.
19965         This is a colored button that pops up a color selection
19966         dialog when pressed.
19968 1998-10-28  Alexander Larsson  <alla@lysator.liu.se>
19970         * lib/widgets.[ch]:
19971         * lib/Makefile.am:
19972         New files, added widgets for selecting fonts, alignment
19973         and line-style. Will be used later.
19975 1998-10-12  Alexander Larsson  <alla@lysator.liu.se>
19977         * app/Makefile.am:
19978         * lib/Makefile.am:
19979         * objects/UML/Makefile.am:
19980         * objects/network/Makefile.am:
19981         * objects/standard/Makefile.am:
19982         Changed "CFLAGS = -Wall -g" to "CFLAGS = @CFLAGS@"
19983         in all Makefile.am.
19985 1998-10-03  Alexander Larsson  <alla@lysator.liu.se>
19987         * app/handle_ops.c (handle_draw):
19988         connected HANDLE_MINOR_CONTROL also becomes red.
19990 1998-10-02  Alexander Larsson  <alla@lysator.liu.se>
19992         * Makefile.am:
19993         removed -ldl from linking. This is added if needed by configure.
19995         * app/app_procs.c:
19996         Open dlls with RTLD_LAZY if it is defined.
19997         Some cleanups: char *error -> const char *error
19998         Added fprintf()'s to where we exited because of errors.
20000         * lib/files.c:
20001         Include <sys/types.h>
20003 1998-10-01  Alexander Larsson  <alla@lysator.liu.se>
20005         * acconfig.h:
20006         * configure.in:
20007         * app/app_procs.c:
20008         Detect dlopen better.
20009         Detect wether dlopen needs an underscore in the identifier.
20010         This code was mostly borrowed from guile.
20012         * lib/sheet.[ch]:
20013         * app/app_procs.c:
20014         * objects/standard/standard.c:
20015         * objects/network/network.c:
20016         * objects/UML/uml.c:
20017         * most objects:
20018         Changed the way sheets reference objects to use just the
20019         name. Changed module loading to a two stage model:
20020         First register_objects() is called for all modules.
20021         Then register_sheets() is called. This means that
20022         sheets can safely include objects from other modules.
20023         
20025 1998-09-30  Alexander Larsson  <alla@lysator.liu.se>
20027         * objects/network/bus.c:
20028         * objects/network/network.c:
20029         * objects/network/Makefile.am:
20030         New file bus.c. Added new object: Ethernet bus.
20032         * objects/standard/box.c:
20033         Added call to gtk_spin_button_set_numeric for linewidth spinner
20034         in property dialog.
20036 1998-09-30  Alexander Larsson  <alla@lysator.liu.se>
20038         * app/connectionpoint_ops.c:
20039         * app/create_object.c:
20040         * app/group.c:
20041         * app/handle_ops.c:
20042         * app/modify_tool.c:
20043         * lib/connection.c:
20044         * lib/element.c:
20045         * lib/handle.h:
20046         * lib/object.c:
20047         * lib/orth_conn.c:
20048         * loads of objects:
20049         Changed handle->connectable to handle->connect_type.
20050         Now handles can be HANDLE_CONNECTABLE_NOBREAK, which means
20051         that their connections don't break when moving objects.
20053         * app/diagram.c:
20054         Always select the last handle in an object that has
20055         the closest distance.
20056         
20057         * lib/geometry.[ch]:
20058         Added rectangle_add_point function.
20059         
20061 1998-09-27  Alexander Larsson  <alla@lysator.liu.se>
20063         * app/properties.[ch]: New files. Handles the new properties
20064         dialog.
20066         * app/modify_tool.c: Changed to use new properties dialog.
20068         * app/object_ops.[ch]: Removed object_changed_callback, as it's
20069         not needed anymore. This is now handled differently in
20070         properties.c
20072         * lib/object.[ch]:
20073         Changed the properties ops for objects. Removed typedefs
20074         ChangedObjectTime and ObjectChangedFunc needed for the old way.
20075         Added object_return_null function.
20076         
20077         * app/group.c:
20078         * lib/render_object.c:
20079         * objects/*/*.c:
20080         Changed objects to use the new properties dialog.
20081         
20083 1998-09-14  Nuno Ferreira  <nmrf@rnl.ist.utl.pt>
20085         * */Makefile.am (INCLUDES): Changes to work with srcdir !=
20086         builddir.
20088         * autogen.sh: New file. Copied from gtk and added a call to
20089         libtoolize. Anyone knows why this isn't done in gtk?
20091         * Removed autogenerated files.
20093 1998-09-12  Alexander Larsson  <alla@lysator.liu.se>
20095         * Added call setlocale(LC_NUMERIC, "C") so that formating of
20096           floating-point numbers in postscript output will be correct.
20097         * Did some cleanup of generated postscript files.