Moved includes, updated libdia, fixed function call.
[dia.git] / ChangeLog
blobb30b911d03984ee5a787512478a954fccaa0b388
1 2006-11-28  Lars Clausen  <lars@raeder.dk>
3         * app/modify_tool.c (modify_make_text_edit): Call
4         text_line_destroy rather than undefined text_line_free.
6         * lib/libdia.def: Removed disappeared _scaled_ functions.
8         * lib/arrows.[ch]: Moving inclusions towards .c, as too many
9         includes in .h confuses MSVC.
11         * lib/text.h: Start of using TextLine for Text lines.
13 2006-11-26  Lars Clausen  <lars@raeder.dk>
15         * lib/text.[ch]: Encapsulated the arrays in Text to prepare for 
16         switching to one array of TextLine.  Simplified operations a lot
17         by using standard functions.
19 2006-11-25  Lars Clausen  <lars@raeder.dk>
21         * lib/font.[ch]: Use text_line for the few remaining functions
22         that used _scaled_ (non of them actually *were* scaled:), and get
23         rid of all the _scaled_ stuff!  One less horror of a kludge!
25         * app/diapsft2renderer.c (draw_string): Happy with using text_line
26         for string output.
28         * lib/diagdkrenderer.c: Make highlighted area match text area, and
29         use text_line in get_text_width.  These should later be
30         superfluous due to increased use of text_line at higher levels.
32         * lib/dialibartrenderer.c: Implement text_line based rendering of
33         text.  Works.  Also get_text_width uses a text_line.  Text
34         bounding box is still a little off, but that will help once
35         text_line is used in the text system.
37         * lib/arrows.c (arrow_get_name_from_type): Function to get arrow
38         names, and proper error messages when a loaded diagram has bad
39         arrows.  Finally fixes bug #144394, thanks to both Pontus Pihlgren
40         <pontus.pihlgren@farmbio.uu.se> and Vadim Zelenin
41         <green@visoft.spb.ru> 
43 2006-11-24  Lars Clausen  <lars@raeder.dk>
45         * samples/Metapost-Testcase.dia: A nice test case for MetaPost,
46         including most basic rendering things.
48         * lib/textline.[ch]: Little cache fix, and adding a function to
49         get alignment widths for a TextLine.
51         * lib/diagdkrenderer.c (draw_text_line): Make caching of renderer
52         data for textline work, get rid of last use of _scaled_ stuff.
53         
54 2006-11-23  Lars Clausen  <lars@raeder.dk>
56         * lib/diagdkrenderer.c (draw_text_line): 
57         * lib/textline.[ch]: Underlying implementation and first
58         (currently commented out) attempt at use of textline renderer data
59         cache.  Not debugged, but thennobody holds textline objects long
60         enough to make a difference yet. 
62 2006-11-22  Lars Clausen  <lars@raeder.dk>
64         * app/menus.c: Patch adding shortcuts for align functions, thanks
65         be to jan@uos.de.
67 2006-11-18  Djihed Afifi  <djihed@gmail.com>
68         
69         * configure.in: Added Arabic Language (ar).
71 2006-11-16  Lars Clausen  <lars@raeder.dk>
73         * lib/font.[ch] (get_layout_offsets): Start of function to adjust
74         all offsets in a layout line.  Not used yet, and not debugged.
75         Kept around for when we have more runs in a line.
77         * lib/textline.c (text_line_adjust_layout_line): Adjusts the glyph
78         sizes within a PangoLayoutLine to overcome the rounding problems
79         and ensure linear scaling of fonts.  Currently only fixes the
80         first run, since AFAIK that's all we can do with current text
81         input anyway.
83         * lib/diagdkrenderer.c (draw_text_line): Now uses
84         text_line_adjust_layout_line to avoid repeating Pango digging for
85         Freetype and GDK code both. Ready to merge freetype and GDK
86         duplicate code.
88 2006-11-15  Lars Clausen  <lars@raeder.dk>
90         * plug-ins/vdx/*: Update to version 0.6.1 yields improvements in
91         both export and import.
93 2006-11-13  Lars Clausen  <lars@raeder.dk>
95         * lib/font.c: Internally calculate glyph offsets at *20 font size
96         to avoid rounding problems.
98         * app/layer_dialog.c: Revamped the visibility toggling system to
99         make visibility change a properly undoable operation, making the
100         page borders resize in the process.
102         * objects/standard/line.c (line_load, line_save): 
103         * objects/standard/arc.c (arc_load, arc_save): 
104         * objects/standard/polyline.c (polyline_load, polyline_save): 
105         * objects/standard/bezier.c (bezierline_load, bezierline_save): 
106         * objects/standard/zigzagline.c (zigzagline_load, zigzagline_save):
107         Use generic load/save functions.
109         * lib/libdia.def: 
110         * lib/arrows.[ch]: Generic functions for loading and saving
111         arrows, including sanitizing on load, part of fixing bug #144394.
113         * objects/FS/flow-ortho.c (orthflow_draw): 
114         * objects/FS/flow-poly.c (orthflow_draw): Update to use modern
115         arrow rendering.
117         * app/modify_tool.c (modify_start_text_edit) 
118         (modify_make_text_edit): Don't use dia_font_scaled_* when
119         avoidable. 
121 2006-10-29  Steffen Macke <sdteffen@gmail.com>
123         * app/paginate_psprint.c: Made compile with MSVC again
125 2006-10-26  Lars Clausen  <lars@raeder.dk>
127         * app/interface.[ch]: Patch from jan@uos.de: Write the accelerator
128         keys in tooltips for standard tools.
130         * app/paginate_psprint.c: Patch for better printing: Reasonable
131         file name, check before overwriting, re-popup if file write
132         failed.  Thanks to Leon Stringer <leon.stringer@ntlworld.com> for
133         this patch.
135 2006-10-26  Hans Breuer  <hans@breuer.org>
137         * plug-ins/shape/shape-export.c : the icon export facility dependens
138         on the libart-size-hack; use filter_get_by_name("png-libart") instead
139         of filter_guess_export_filter(). Fixes bug #364491.
141 2006-10-19  Ignacio Casal Quinteiro  <nacho.resa@gmail.com>
143         * configure.in: Added 'gl' to ALL_LINGUAS
145 2006-10-16  Hans Breuer  <hans@breuer.org>
147         * objects/UML/class.c : the comment wrapping was only working for
148         plain ASCII, now it deals with UTF-8 (Vadim Zelenin, bug #349765)
150 2006-10-16  Theppitak Karoonboonyanan  <thep@linux.thai.net>
152         * configure.in : Add 'th' (Thai) to ALL_LINGUAS.
154 2006-10-14  Hans Breuer  <hans@breuer.org>
156         * plug-ins/vdx/vdx-import.c : don't try to print("%s", NULL). It is
157         not generally supported and crashes on win32. Fixes bug #349883
159         * lib/arrows.[hc] : draw hollow arrow heads with linewidth 0.0 
160         correctly. Patch from Michael Duelli fixing bug #358176
162         * objects/standard/arc.c : don't rely on the result of atan2(inf,inf),
163         it is C-runtime dependent. Fixes infinitesimal burning of CPU cycles,
164         bug #360013 and duplicates.
166         * app/load_save.c : protect gstdio.h by GLIB_CHECK_VERSION
167         and use the <glib/ form for installed version
169 2006-10-13  Hans Breuer  <hans@breuer.org>
171         * objects/UML/(actor|large_package|node|note).c : use 
172         element_update_connections_rectangle() instead of about 25 lines 
173         of copy and pasted code
175         * app/load_save.c : make it compile by defining W_OK if it is
176         not there and also use '#if GLIB_CHECK_VERSION(2,8,0)' instead
177         of '#ifdef GLIB_CHECK_VERSION(2,8,0)'. Strange that gcc 
178         apparently compiled this
180         * lib/parent.[ch] : parent_handle_move_in_check() was moving 
181         the checked point about twice as much as needed, bug #342773.
182         
183 2006-10-12  Lars Clausen  <lars@raeder.dk>
185         * app/load_save.c (diagram_data_save): If we have GTK 2.8, check
186         that we are allowed to write to the file in question (if it
187         exists) and to the directory (for backup/temp/newly created file).
189         * lib/dia_dirs.c (dia_get_lib_directory, dia_get_data_directory): 
190         * lib/Makefile.am (AM_CPPFLAGS): 
191         * app/Makefile.am (INCLUDES): Rename DATADIR and LIBDIR to
192         DIA_DATADIR and DIA_LIBDIR to avoid conflicts with libtool and the
193         like.  Thanks to lode leroy <lode_leroy@hotmail.com> for pointing
194         out the solution.
196         * plug-ins/pstricks/render_pstricks.c (export_pstricks) 
197         (draw_string): Use \psscalebox instead of \scalebox, courtesy of
198         Dan Bolser <dmb@mrc-dunn.cam.ac.uk> and the pstricks mailing list.
200         * shapes/Makefile.am (SUBDIRS): 
201         * configure.in: 
202         * shapes/BPMN/*
203         * sheets/BPMN.sheet.in: 
204         * sheets/Makefile.am (sheet_in_files): New shape set BPMN for
205         Business Process Modelling from anthonym@overture.com.
207         * doc/en/dia.dbk: Correctly describing connections.
209         * objects/standard/box.c: Patch from Michael Duelli
210         <m.duelli@web.de>: Set line attributes before drawing anything.
212 2006-10-08  Lars Clausen  <lars@raeder.dk>
214         * configure.in: Allow compiling without freetype on Unix systems.
215         The effect of changes to non-freetype parts of the code can now be
216         tested, and I have no excuse to not fix them anymore:(
218 2006-10-01  Lars Clausen  <lars@raeder.dk>
220         * app/modify_tool.c (modify_motion): Don't use null-ness of
221         connectionpoint to skip snap-to-grid for non-connectable handles.
222         Fixes bug #350246.
224         * shapes/flowchart/predefdproc.shape: Fixed midpoint.
226 2006-09-27  Steffen Macke <sdteffen@gmail.com>
228         * shapes/flowchart/datasource.png:
229         * shapes/flowchart/datasource.shape:
230         * shapes/flowchart/Makefile.am: 
231         * sheets/Flowchart.sheet.in:
232         * installer/win32/dia.nsi: Added new "Data source" shape
234 2006-09-24  Hans Breuer  <hans@breuer.org>
236         * lib/diagdkrenderer.c : I'm going to rip out all the Freetype
237         code the next time the GDK only compile breaks
238         
239 2006-09-23  Hans Breuer  <hans@breuer.org>
241         * app/commands.c app/create_object.c app/disp_callbacks.c : add
242         missing #include "lib/parent.h"
244         * lib/makefile.msc : build textline.obj
245         
246         * objects/makefile.msc : don't build newgroup.obj
247         * objects/misc/libmisc.c : with newgroup gone to app/ newgroup_type can 
248         not be registered from the module any longer - at least not on win32
250         * plug-ins/python/makefile.msc : removed obsolete references to 
251         Python 1.5, also removed misleading link to Python 2.2 debug build
253         * app/diagram.[ch] app/app_procs.c : don't use C++ keyword 'virtual' 
254         as variable name: s/virtual/is_default/
255         
256         * plug-ins/python/*.c : don't mix PyObject_NEW() with PyMem_DEL()
257         Newer versions of Python (2.5) are not tolerant about this anymore.
258         
259 2006-09-11  Lars Clausen  <lars@raeder.dk>
261         * lib/diasvgrenderer.c (draw_text_line): First stab at making svg
262         text line renderer, doesn't work yet.
264         * lib/textline.c (text_line_draw): Removed #define.
266         * lib/diagdkrenderer.c (draw_text_line): Slight cleanups.
268 2006-09-11  Steffen Macke <sdteffen@gmail.com>
270         * plug-ins/vdx/vdx-export.c:
271         * plug-ins/vdx/vdx-import.c:
272         * plug-ins/vdx/vdx-xml.c:
273         * plug-ins/vdx/vdx.h:
274         * plug-ins/vdx/visio-types.h: Update to version 0.5 (from 0.4) of
275         Visio import, thanks to Ian Redfern, who states: 
276         
277         This is the first version to support export to VDX - for now, just 
278         straight lines and text, but I'm working on the more complex bits. 
279         It currently writes Visio 2002 VDX as a lowest common denominator, 
280         but that won't handle Beziers, so when I get round to converting them 
281         to NURBS, only Visio 2003 users will be able to import them.
283         There are also several improvements to import, both to fix the layout 
284         and clean up the code, and it can now import embedded bitmaps - as Dia
285         needs them to be separate files, it puts them in /tmp (or wherever 
286         tempnam() goes to on your system). Alternative suggestions are welcome. 
287         NURBS import still doesn't work, but everything else seems pretty 
288         reliable.
289         
290         In addition, two small adjustments to compile on Windows
292 2006-09-08  Steffen Macke <sdteffen@gmail.com>
294         * app/makefile.msc:
295         * app/Makefile.am:
296         * app/dia-win-remote.c:
297         * installer/win32/dia.nsi: From Windows Explorer, open .dia files in the 
298         running Dia instance (if possible). Fixes bug #70718
300 2006-09-05  Lars Clausen  <lars@raeder.dk>
302         * lib/diatypes.h: 
303         * lib/Makefile.am (libdia_la_SOURCES): 
304         * lib/diarenderer.[ch]: 
305         * lib/font.[ch]: 
306         * lib/diagdkrenderer.c: 
307         * lib/textline.[ch]: TextLine now ready for commit.  Rendering
308         with it is much faster and significantly more precise than
309         without.  All renderers should implement a good definitions for
310         this (though there is a default one that uses draw_string), as it
311         can tell the expected width of a string.
312         
313         * lib/libdia.def: Newly defined functions.      
315 2006-08-29  Lars Clausen  <lars@raeder.dk>
317         * lib/textline.[ch]: New text rendering level: A self-contained
318         single-line text object that allows safer caching and hopefully
319         more accurate rendering at various zooms.  Using a PangoMatrix
320         didn't seem to help. 
322         * lib/font.c: Removing out-deffed layout cache code, it'll never
323         work.  Also a couple support functions for my quest of good zoom.
325 2006-08-20  Hans Breuer  <hans@breuer.org>
327         * plug-ins/cairo/diacairo.c : get rid of c++ coment
328         * app/diagram.h app/diagram.c app/modify_tool.c app/select.c 
329           app/undo.c : reverted 'Shortened diagram_unselect'. It broke
330         plug-ins/python, but more iomportant made one function fromm
331         app/diagram.h asymmetric with all the others. We should not leave
332         the common C OO-pattern of passing an explicit "this pointer" just
333         because that can also be deduced from the other object.
335 2006-08-18  Lars Clausen  <lars@raeder.dk>
337         * lib/render.[ch]: Finally removed unused render files now known
338         as diarenderer.[ch].
340 2006-08-17  Steffen Macke <sdteffen@gmail.com>
342         * installer/win32/dia-diagram.ico:
343         * installer/win32/dia.nsi: Assign icon to *.dia files
345 2006-08-16  Lars Clausen  <lars@raeder.dk>
347         * app/diagram.c (diagram_load): 
348         * lib/object.c (dia_object_is_selectable): Two silly null-pointer
349         errors detected by Michael Duelli <m.duelli@web.de>
351 2006-08-16  Steffen Macke <sdteffen@gmail.com>
353         * app/modify_tool.c:
354         * app/undo.c: Include parent.h
355         * lib/libdia.def: Include dia_object_is_selectable()
357 2006-08-13  Lars Clausen  <lars@raeder.dk>
359         * objects/Misc/libmisc.c:
360         * {app,objects/Misc}/Makefile.am:
361         * objects/Misc/newgroup.c:
362         * app/newgroup.c: Moved newgroup.
363         
364         * app/diagram.[ch]:
365         * app/undo.c: 
366         * app/modify_tool.c: 
367         * app/select.c: Trim diagram_unselect_object() to the one required
368         argument. 
370         * app/app_procs.c:
371         * app/interface.c (dia_dnd_file_drag_data_received): 
372         * app/recent_files.c (open_recent_file_callback): 
373         * app/filedlg.c (file_open_response_callback): 
374         * app/diagram.c (diagram_load): 
375         Make the diagram created at start-up be a virtual diagram that
376         if unchanged is filled in by the first opened diagram, like Gnumeric.
378 2006-08-11  Lars Clausen  <lars@raeder.dk>
380         * app/properties.c (properties_give_focus): Give focus to first
381         thing in a properties dialog.  Still need our own compound widgets
382         to get focus right.
384 2006-08-06  Lars Clausen  <lars@raeder.dk>
386         * objects/Misc/newgroup.c: 
387         * lib/diagramdata.c: 
388         * app/diagram.[ch]: 
389         * app/select.c: 
390         * app/modify_tool.c: 
391         * lib/object.[ch]: Work towards a more reasonable definition of
392         Groups. 
393         
394 2006-08-06  Steffen Macke <sdteffen@gmail.com>
396         * installer/win32/dia.nsi: Save diagrams by default in "My Pictures";
397         fixes bug #344247
399 2006-08-04  Steffen Macke <sdteffen@gmail.com>
401         * installer/win32/dia.nsi: Added vdx.dll, analog_clock.xpm 
402         newgroup.xpm , *ui.xml files
404 2006-08-03  Lars Clausen  <lars@raeder.dk>
406         * sheets/Makefile.am: EML sheet taken out since it's been empty
407         for five years anyway.  Fixes bug #347894.
409         * doc/eu/dia.dbk: 
410         * doc/en/dia.dbk: 
411         * doc/en/usage-layers.xml: Fixed obsolete references to
412         export-to-format.  Fixes bug #346510.
414 2006-08-02  Lars Clausen  <lars@raeder.dk>
416         * plug-ins/vdx/visio-types.h: 
417         * plug-ins/vdx/vdx.h: 
418         * plug-ins/vdx/vdx-xml.c: 
419         * plug-ins/vdx/vdx-import.c: 
420         * plug-ins/vdx/vdx-common.c: Update to version 0.4 (from 0.2) of
421         Visio import, thanks to Ian Redfern, who states: 
423         Version 0.4 does a passable job with curves, and has the first
424         implementation of Masters. It also handles XForm1D, and fixes a
425         potential crash. It gets some layers in the wrong order and still
426         has some major positioning and sizing issues. 
428         Version 0.3 gets object layout correct, and does a better job of
429         text, lines, arrows, layers etc. Some diagrams (that don't contain
430         curves) now render pretty much correctly. 
432 2006-07-16  Hans Breuer  <hans@breuer.org>
434         * app/cut_n_paste.[hc] : maintain a generation counter to count
435         how many times the stored object list is used
436         * app/commands.c : use the generation for paste placement. The
437         first one after cut is not moved at all: a nice way to move objects
438         between layers without changing their lateral position.
439         Also sprinkled some diagram_update_extents()
440         
441         * shapes/Civil/civil_rotor.shape : had inverted fg/bg colors, bug #347080
442         
443         * app/recent_files.c : don't g_return_if_fail() on common use case,
444         here an empty recent file list
445         
446         * lib/dia_image.c(dia_image_draw) : don't try to draw anything if
447         width or height is smaller than 1 pixel
448         
449         * plug-ins/cairo/diacairo.c : allow to export to svg if available 
450         with cairo. Some tweaking of surface sizes.
451         
452 2006-07-12  Lars Clausen  <lars@raeder.dk>
454         * {tests,test/exports,data,plug-ins/vdx}/.cvsignore: Added.
456 2006-06-28  Lars Clausen  <lars@raeder.dk>
458         * plug-ins/vdx/vdx-import.c: Removed create_standard_group which
459         is in create.c.
461 2006-06-25  Hans Breuer  <hans@breuer.org>
463         * app/display.c : avoid to call gettext on parameters for ngettext()
464         Should finally really fix bug #344896
465         
466         * data/ui/display-ui.xml data/ui/popup-ui.xml data/ui/toolbox-ui.xml :
467         removed expand="yes" because otherwise the files can't be read with
468         gtk+-2.6.x which follows Dia can't start. Fixes bug #344895
469         * app/menus.c app/Makefile.am : also find the ui files when run from
470         app/run_dia.sh
472 2006-06-17  Gintautas Miliauskas  <gintas@akl.lt>
474         * configure.in: Added lt to ALL_LINGUAS.
476 2006-06-15  Hans Breuer  <hans@breuer.org>
478         * app/display.c : use ngettext() for possible plural variations.
479         (Bug #344896, tokul@users.sourceforge.net)
481         * objects/UML/class.c : use g_list_append() rather than prepend
482         when copying attributes, operations, formalparams. Fixes bug #342902
483         Also removed some superfluous outcommented code and fixed a warning.
485         * objects/UML/class.c : dont break reading comment_line_length
486         by misguide compatibility code. Fixes bug #341887
488         * plug-ins/vdx/vdx-xml.c : added file missing from 0.3 
489         version commit. Fixes bug #344804
490         
491         * lib/create.h : add create_standard_group() prototype
492         * lib/libdia.def lib/makefile.msc objects/makefile.msc 
493           plug-ins/makefile.msc : added missing (files|exports)
495 2006-06-13  Lars Clausen  <lars@raeder.dk>
497         * plug-ins/vdx/*: Version 0.3 of Visio import filters, thanks
498         again to Ian Redfern.
500 2006-06-12  Elijah Newren  <newren gmail com>
502         * autogen.sh: Run configure by default, allow it to be skipped if
503         NOCONFIGURE is set in the environment.  #344574.
505 2006-06-12  Elijah Newren  <newren gmail com>
507         Pair of build fixes.  #344357
509         * Makefile.am: avoid cp errors when $(srcdir) == .
511         * objects/Misc/newgroup.c: include pixmaps/newgroup.xpm instead of
512         pixmaps/group.xpm as the latter doesn't exist.
514 2006-06-12  Hans Breuer  <hans@breuer.org>
516         * plug-ins/python/codegen.py : applied patch from Thomas D Ahle
517         which adds support for Java and inheritance. Closes bug #344187
518         
519 2006-05-28  Lars Clausen  <lars@raeder.dk>
521         * sheets/Misc.sheet.in: 
522         * objects/Misc/Makefile.am (EXTRA_DIST): 
523         * objects/Misc/pixmaps/newgroup.xpm: 
524         * objects/Misc/newgroup.c: 
525         * objects/Misc/libmisc.c: Start of new group model, with "visible"
526         object to test with.  This object will later become the default
527         group object and thus (mostly) invisible.
529         * lib/parent.c (parent_handle_move_in_check): 
530         * app/create_object.c (create_object_button_press): 
531         * app/diagram.c (diagram_unparent_children_selected): 
532         * app/disp_callbacks.c (ddisplay_drop_object): 
533         * app/load_save.c (write_objects): 
534         * objects/network/radiocell.c (radiocell_create): 
535         * objects/AADL/aadlbox.c (aadlbox_create): 
536         * objects/UML/large_package.c (largepackage_create): 
537         * objects/UML/component.c (component_create): 
538         * lib/object.[ch]: DiaObject API change: DiaObject now has gint
539         flags rather than gboolean can_parent, and utility function
540         object_flags_set.  Uses of can_parent changed to call to function.
542         * doc/en/dia.dbk: Removal of obsolete epsi references.
544 2006-05-27  Hans Breuer  <hans@breuer.org>
546         * app/menus.c : listen to Gtk-WARNING **: Unable to parse accelerator 
547         '<control>+': it wants '<control>plus', same for minus.
549         * tests/exports/cgm/* : cvs admin -kb *.cgm
550           tests/exports/png/* tests/exports/png-libart/* 
551           tests/exports/shape/* : cvs admin -kb *.png
552           tests/exports/wpg/* : cvs admin -kb *.wpg
553         mark binary files as such to not get them broken on platforms which
554         insist on replacing line-ends.
556         * app/app_procs.c app/display.c app/filedlg.c app/interface.c
557           app/load_save.c app/sheets.c lib/dia_image.c lib/message.c
558           plug-ins/python/diamodule.c plug-ins/python/pydia-error.c
559           plug-ins/wmf/wmf.cpp : fixed format string vulnerability on HEAD
560         as well. Patch from Hans de Goede, bug #342111
562 2006-05-27  Rob Staudinger <robert.staudinger@gmail.com>
564         * Makefile.am: 
565         * app/Makefile.am:
566         * app/diagram.c: 
567         * lib/Makefile.am:
568         * objects/standard/Makefile.am:
569         * plug-ins/python/Makefile.am:
570         Fix out of tree build (#340115).        
572 2006-05-25  Hans Breuer  <hans@breuer.org>
574         * app/interface.[hc] app/menus.c : rename ToolButton::menu_item
575         to action_name. Don't mark action names for translation. It is not
576         needed and some languages don't support CamelCase. Fixes bug #342895
577         
578         * app/menus.c : re-added a bunch of accelerators lost in translation
579         to the GtkAction framework. Use GTK_STOCK_FULLSCREEN conditionally
580         it was not available with gtk+-2-6-x.
581         Use dia_get_data_directory() instead of hardcoded UIDATADIR.
582         * app/dia_embedd.c : explain instead of out-comment
583         
584         * app/menu.c lib/autoroute.c lib/color.c lib/diagramdata.c 
585           lib/properties.h dia_xml.c : warningectomy
586           
587         * lib/create.h : create_standard_group()
588         * lib/libdia.def lib/makefile.msc : reflect moved stuff
589         
590 2006-05-25  Lars Clausen  <lars@raeder.dk>
592         * tests/exports/*.dia: A set of test diagrams for export
593         plug-ins.  The intention is to use these for regression tests by
594         ensuring that they don't change when code is altered, or if they
595         change that a manual inspection proves them ok.  The fact that an
596         export plug-in passes these tests doesn't mean it's perfect, just
597         that is hasn't degraded.
598         
599         * plug-ins/xfig/xfig-import.c: 
600         * plug-ins/vdx/vdx-import.c: 
601         * lib/create.[ch]: Functions taken from xfig to create some
602         standard objects easily.  Uses of them updated, no longer need to
603         take DiagramData.
605         * plug-ins/vdx/*: First draft of VDX (Visio XML) plug-in from Ian
606         Redfern <Ian Redfern <Ian.Redfern@LogicaCMG.com>.  Also a bunch of
607         samples for the purpose from the vdxtosvg project.
609 2006-05-21  Hans Breuer  <hans@breuer.org>
611         * app/interface.[hc] app/disp_callbacks.c : removed unused
612         global variable popup_shell
613         
614         * app/pagesetup.c app/diapagelayout.c : restrict every page margin
615         to a little less than half of the page. This guarantees margins
616         leaving some useable page area and thus avoids crashing on negative
617         page sizes. Fixes bug #339562 (also applied to dia-0-95 branch)
618         
619 2006-05-20  Hans Breuer  <hans@breuer.org>
621         Patch from Robert Staudinger to base dia menus on GtkAction framework
622         instead on deprecated GtkItemFactory. Tracked in bug #340352. 
623         En passant fixes bug #171397
624         * configure.in : placementof ui files added data/Makefile to AC_OUTPUT
625         * Makefile.am : added data dir
626         * app/Makefile.am : added $(uidatadir)
627         * app/commands.c app/commands.h app/dia_embedd.c app/diagram.c
628           app/diagram_tree_window.c app/diagram_tree_window.h
629           app/disp_callbacks.c app/display.c app/display.h
630           app/interface.c app/menus.c app/menus.h app/recent_files.c :
631         changed a bunch of callback signatures to take GtkAction
632         * app/pixmaps/Makefile.am 
633         * data/Makefile.am data/display-ui.xml data/toolbox-ui.xml
634           data/popup-ui.xml : new files containing the menu structure
635         * lib/filter.c lib/filter.h lib/plug-ins.h : callback filter
636           registration change to be more appropriate for actions
637         * lib/libdia.def : updated externals
638         * plug-ins/python/debug_objects.py plug-ins/python/diamodule.c
639           plug-ins/python/group_props.py plug-ins/python/gtkcons.py 
640           plug-ins/python/otypes.py plug-ins/python/pydiadoc.py 
641           plug-ins/python/scascale.py plug-ins/python/select_by.py :
642         adapted to API change dia.register_callback to dia.register.action
644         * app/authors.h : added Robert to the authors
645         * app/commands.c : got rid of compiler warnings
647 2006-05-14  Hans Breuer  <hans@breuer.org>
649         * plug-ins/python/python.c : protect the plug-in against 
650         initializing if Python already is initialized. This PyDia extensions
651         is designed for embedding Python.
652         
653         * plug-ins/python/pydia-property.c : LineStyle.dash may be either
654         Float or Integer.
655         
656         * plug-ins/python/diasvg_import.py : remove FontSize debug spew
657         
658         * lib/font.c : GDK_WINDOWING_WIN32: if called with a display already
659         setup use the pango context matching the display. Otherwise fallback
660         to a context from PangoWin32 (matches only for gtk+-2-6, not the one
661         used since gtk+-2-8 using cairo.
662         
663 2006-05-13  Hans Breuer  <hans@breuer.org>
665         [ also applied to branch dia-0-95 ]
666         * objects/UML/umloperationc: add "query" to umloperation_offsets.
667         Patch from Peter Allin, fixes bug #338336
669         [ also applied to branch dia-0-95 ]
670         * app/diagram.c(diagram_ungroup_selected) : operate on a copy
671         of data-Selected cause the original is modified during use.
672         Patch from Victor Stinner, fixes bug #334771
674         * configure.in config.h.win32 : development started again so 095+cvs.
675         Critical bugfixes may go on the dia-0-95 branch (may lead to 0.95.1 
676         if necessary)
677         
678         * app/diagram.c : removed long-time outcommented code
679         
680         * lib/diagramdata.h lib/filter.h lib/geometry.h lib/plug-ins.h
681           lib/properties.h : C++ aware by G_BEGIN_DECLS, G_END_DECLS
682         
683         * objects/UML/class.c : don't dia_assert_true(attr->comment != NULL)
684         it is handled everywhere else just fine.
685         
686 2006-04-19  Lars Clausen  <lars@raeder.dk>
688         * installer/win32/dia.nsi: 
689         * doc/en/dia.xml: 
690         * doc/eu/dia.xml: 
691         * doc/pl/dia.xml: 
692         * config.h.win32: 
693         * configure.in: 
694         * NEWS: Release 0.95
696         * shapes/Gane_and_Sarson/process.shape: Connectionpoint update
697         from Nick Moore <shiny.nickel@gmail.com>.
699 2006-04-17  Kjartan Maraas  <kmaraas@gnome.org>
701         * configure.in: Remove obsolete entry for no_NO
702         * po/no.po: And the translation.
704 2006-04-12  Lars Clausen  <lars@raeder.dk>
706         * installer/win32/dia.nsi: 
707         * doc/en/dia.xml: 
708         * doc/eu/dia.xml: 
709         * doc/pl/dia.xml: 
710         * config.h.win32: 
711         * configure.in: 
712         * NEWS: -pre9
714         * configure.in: Check for xgettext.  Apparently
715         AM_GLIB_GNU_GETTEXT notices it's missing but doesn't abort.
717 2006-04-04  Steffen Macke <sdteffen@gmail.com>
719         * installer/win32/dia.nsi:
720         * installer/win32/langmacros.nsh:
721         * installer/win32/locale/*.nsh: Added check for outdated libgtk dll;
722         closes bug #335477
724 2006-04-03  Lars Clausen  <lars@raeder.dk>
726         * installer/win32/dia.nsi: 
727         * doc/en/dia.xml: 
728         * doc/eu/dia.xml: 
729         * doc/pl/dia.xml: 
730         * config.h.win32: 
731         * configure.in: 
732         * NEWS: -pre8
734         * plug-ins/xfig/xfig-import.c: Initially place text in the right
735         place. 
737 2006-04-03  Steffen Macke <sdteffen@gmail.com>
739         * installer/win32/dia.nsi:
740         * installer/win32/locale/french.nsh: Added french installer
741         locale. Patch from Yannick Le Ny <y.le.ny@ifrance.com>
743 2006-04-02  Hans Breuer  <hans@breuer.org>
745         * doc/pl/dia.xml : "DOCTYPE book" closes bug #142098, Roland Stigge
747 2006-03-29  Daniel Drake  <dsd@gentoo.org>
749         * configure.in: Use standard pkg-config expressions to check for
750         GTK+/Glib, the GTK-supplied macro's conflict with our usage of
751         $GTK_MODULES (#335422)
753 2006-03-28  Lars Clausen  <lars@raeder.dk>
755         * app/Makefile.am (dia_LDADD): Patch from Peter for bug #336377:
756         Include libs and cflags in proper places.
758         * installer/win32/dia.nsi: 
759         * doc/en/dia.xml: 
760         * doc/eu/dia.xml: 
761         * doc/pl/dia.xml: 
762         * config.h.win32: 
763         * configure.in: 
764         * NEWS: -pre7
766         * shapes/network/mobile_phone.{png,xpm,shape}:
767         * shapes/network/telephone.shape:
768         * shapes/network/disc.shape:
769         Updates from W. Borgert <debacle@debian.org> improving looks and
770         positioning.
771         
772 2006-03-26  Lars Clausen  <lars@raeder.dk>
774         * objects/network/radiocell.c: Patch from W. Borgert
775         <debacle@debian.org> for extra midpoint, flicker, extraneous
776         properties.
777         
778         * objects/network/basestation.c: Patch for BB from W. Borgert
779         <debacle@debian.org>. 
781 2006-03-23  Hans Breuer  <hans@breuer.org>
783         * lib/widgets.c : use original fontname and fallback 'sans' to
784         render the font menu. Thus crashing (in Pango) is delayed until
785         the point where one chooses a font, which can't be rendered by
786         Pango. Fixes bug #335096 as far as Dia can.
787         
788 2006-03-21  Lars Clausen  <lars@raeder.dk>
790         * installer/win32/dia.nsi: 
791         * doc/en/dia.xml: 
792         * doc/eu/dia.xml: 
793         * doc/pl/dia.xml: 
794         * config.h.win32: 
795         * configure.in: 
796         * NEWS: -pre6
798         * plug-ins/xfig/xfig-import.c: Last missing stack underflow check.
800 2006-03-19  Hans Breuer  <hans@breuer.org>
802         * app/display.c app/preferences.c : unset transient, still issues
803         with transient handling, see bug #332828
804         
805         * app/makefile.msc lib/makefile.msc objects/makefile.msc
806           plug-ins/makefile.msc : removed stuff supposed to be used from
807         $(TOP)/glib/build/win32/make.msc
808         
809         * plug-ins/xfig/xfig-import.c : make it compile with strict type 
810         checking [these were real errors, freeing stack passed values instead
811         of the intended local variable] :
812         xfig-import.c(580) : error C4047: 'function' : 'struct _GArray *' 
813          differs in levels of indirection from 'struct _Point ** '
814         xfig-import.c(580) : warning C4024: 'g_array_free' : different types 
815          for formal and actual parameter 1
817         * lib/libdia.def : export connection_adjust_for_autogap 
818         
819         * plug-ins/hpgl/hpgl.c : there is one floating point value in the 
820         whole HPGL output - and it was locale dependent.
822 2006-03-12  Lars Clausen  <lars@raeder.dk>
824         * installer/win32/dia.nsi: 
825         * doc/en/dia.xml: 
826         * doc/eu/dia.xml: 
827         * doc/pl/dia.xml: 
828         * config.h.win32: 
829         * configure.in: 
830         * NEWS: -pre5
832         * objects/UML/constraint.c (constraint_update_data): 
833         * objects/UML/message.c (message_update_data): 
834         * objects/UML/implements.c (implements_update_data): 
835         * objects/SADT/annotation.c (annotation_update_data): 
836         * objects/Jackson/phenomenon.c (message_update_data): 
837         * objects/network/wanlink.c (wanlink_update_data): 
838         * objects/FS/flow.c (flow_update_data): Added autogap adjustment.
840         * objects/standard/line.c: 
841         * lib/connection.[ch] (connection_adjust_for_autogap): Moved autogap
842         functionality for connections.
844 2006-03-11  Lars Clausen  <lars@raeder.dk>
846         * lib/diagdkrenderer.c (draw_object): 
847         * lib/dialibartrenderer.c (draw_object): Don't draw highlighting
848         in the non-interactive rendering.
850         * dia.spec:
851         * installer/rpm/dia.spec:
852         * installer/rpm/README:
853         Moving dia.spec to installer directory, where distribution
854         maintainers can keep their own copies.
856         * objects/UML/uml.h: 
857         * objects/UML/class.h: 
858         * objects/UML/umloperation.c: 
859         * objects/UML/class.c: 
860         Preparations to fix bug #334037: Clean away the Lisp-like
861         constructs confusing the issue.
863 2006-03-10  Lars Clausen  <lars@raeder.dk>
865         * lib/object.c: Don't compare floats with ==, even in sanity checks.
867 2006-03-09  Lars Clausen  <lars@raeder.dk>
869         * plug-ins/xfig/xfig-import.c: Fix three buffer overflows in color
870         reading, depth reading, and points reading.  Thanks to 
871         
872         * COPYING: Added copyright info again.
874 2006-03-09  Steffen Macke <sdteffen@gmail.com>
876         * installer/win32/dia.nsi: don't uninstall old version; overwrite
877         existing files
879 2006-03-08  Steffen Macke <sdteffen@gmail.com>
881         * installer/Makefile.am:
882         * installer/win32/Makefile.am:
883         * installer/win32/locale/Makefile.am: Making sure that the installer
884         sources are included in the dia source distribution
885         * installer/win32/dia.nsi: Don't include makefiles in installer;
886         Add uninstaller link to start menu (bug #332650); added commandline 
887         option GTKBIN to specify GTK installation directory (fixes bug #332595)
888         * installer/win32/dia-diagram.ico:
889         * installer/win32/dia-header.bmp:
890         * installer/win32/dia-install.ico:
891         * installer/win32/dia-intro.bmp:
892         * installer/win32/dia-uninstall.ico:
893         * installer/win32/dia.nsi:
894         * installer/win32/langmacros.nsh:
895         * installer/win32/locale/english.nsh:
896         * installer/win32/locale/german.nsh: Added files to build the win32
897         installer using NSIS (http://nsis.sourceforge.net)
898         
899 2006-03-06  Lars Clausen  <larsrc@raeder.dk>
901         * doc/en/dia.xml: 
902         * doc/pl/dia.xml: 
903         * config.h.win32: 
904         * configure.in: 
905         * NEWS: -pre4
907         * samples/TexChars.dia: Added sample of the escaped chars for TeX.
908         
909         * plug-ins/pstricks/render_pstricks.c (tex_escape_string):
910         Changing escape of \, [, and ] to something that works.  $ is
911         fine.  Fixes parts of 333193.
913 2006-03-05  Lars Clausen  <larsrc@raeder.dk>
915         * plug-ins/xfig/xfig-import.c: Fixed locale issues with FIG import.
917         * lib/orth_conn.c (orthconn_update_data): 
918         * app/diagram.c: Removing debug info.
920         * app/object_ops.c (object_find_connectpoint_display): Don't
921         magnet to parents.
923 2006-02-26  Hans Breuer  <hans@breuer.org>
925         * app/Makefile.am : define DIA_PYTHON_PATH in app/run_dia.sh
926         * plug-ins/python/python.c : if set use it to find python-startup.py
927         (bug #332599, Torben H. Nielsen)
929         * app/app_procs.c : removed // from gtk_init() [shouldn't have commited
930         my test code]. Really closes #332177, thanks Mateus César Gröess.
932 2006-02-26  Lars Clausen  <lars@raeder.dk>
934         * doc/en/dia.xml: 
935         * doc/pl/dia.xml: 
936         * config.h.win32: 
937         * configure.in: 
938         * NEWS: -pre3
940         * lib/element.h (ELEMENT_COMMON_PROPERTIES): Turning off setting
941         of element_width and element_height until constraints can be 
942         properly checked.  Bug #328200
944         * dia.spec (Requires): Updated GTK requirements.
946 2006-02-25  Lars Clausen  <lars@raeder.dk>
948         * lib/diaarrowchooser.c (dia_arrow_chooser_new): Also making sure
949         other dynamic menus have proper translation.
951         * lib/widgets.c (dia_dynamic_menu_create_string_item): 
952         * app/interface.c (cmp_names): 
953         * app/sheets.c (sheets_optionmenu_create): 
954         * lib/sheet.c (load_register_sheet): Using C locale for sheet
955         names internally, translating on display instead.  Also sorting
956         by gettext order explicitly.  Bug #328570.
958 2006-02-25  Hans Breuer  <hans@breuer.org>
960         * app/interface.c(get_sheet_by_name) : be more tolerant about 
961         localization of the sheet name. ( Steffen Macke, #332070 )
962         
963         * app/app_procs.c(app_init) : if GDK_WINDOWING_WIN32 call gtk_init()
964         in any case. In contrast to X11/*nix displays are not optional on
965         windoze. And we need some help of gtk to render text to bitmaps.
966         ( Rob McDonald, bug #332177 )
967         
968 2006-02-21  Lars Clausen  <lars@raeder.dk>
970         * NEWS: 
971         * doc/pl/dia.xml: 
972         * doc/en/dia.xml: 
973         * configure.in: 
974         * config.h.win32: Update to -pre2.
976         * lib/beziershape.c (add_handles): Fixing CP pos calculation for
977         adding new CP's.  Fixes bug #331557.
979 2006-02-20  Lars Clausen  <lars@raeder.dk>
981         * lib/diarenderer.c (find_center_point): Better handling of some
982         degenerate cases.
983         (draw_arc_with_arrows): Draw line in all cases.  Doesn't handle
984         the truly degenerate cases well enough yet, but at least doesn't
985         break on common cases.  Probably need to do something special for
986         arcs with start and end point the same.  Improves but does not
987         entirely fix bug #331372.
989 2006-02-20  Hans Breuer  <hans@breuer.org>
991         * plug-ins/python/Makefile.am : dot.py was missing from EXTRA_DIST
992         
993 2006-02-18  Hans Breuer  <hans@breuer.org>
995         * plug-ins/metapost/render_metapost.c : text position gives the
996         baseline neither top nor bottom. ( Rob McDonald, #331491 )
998         * plug-ins/wmf/wmf.cpp : finally respecting the print margins
999         ( Rob McDonald, #331371 )
1000         * plug-ins/wmf/wmf_gdi.h : some more constants not useful 
1001         without a GDI printer (driver)
1002         
1003 2006-02-17  Hans Breuer  <hans@breuer.org>
1005         * plug-ins/metapost/render_metapost.c(draw_string) : dont query
1006         the font for it's height but use the 'height' parameter passed
1007         in. Close enough to the desired size - and independent of zoom -
1008         to close bug #331489 (Rob McDonald)
1009         
1010 2006-02-12  Lars Clausen  <lars@raeder.dk>
1012         * NEWS: 
1013         * dia.spec: 
1014         * doc/pl/dia.xml: 
1015         * doc/en/dia.xml: 
1016         * configure.in: 
1017         * config.h.win32: Updates for version 0.95-pre1.
1019 2006-02-12  Hans Breuer  <hans@breuer.org>
1021         * app/makefile.msc : build three components dia.exe (console
1022         application), diaw.exe (windows application) and dia-app.dll
1023         containing almost all of Dia's application shared between
1024         the two executables
1025         * app/main.c app/winmain.c app/app_procs.c app/dia.def : some 
1026         refactoring to accomplish the new dependency layout
1027         * objects/makefile.msc plug-ins/python/makefile.msc : need to
1028         link dia-app.lib now - if at all depending on app/*
1029         
1030 2006-02-11  Hans Breuer  <hans@breuer.org>
1032         * makefile.msc : nmake -f makefile.msc just compiles now
1033         * app/makefile.msc lib/makefile.msc : make not using FT2
1034         on win32 the default (works around bug #150813 by diabaling it)
1035         * objects/makefile.msc plug-ins/makefile.msc : remove -GD from
1036         $(CC) command line. It isn't understood by newer versions of cl.
1037         
1038         * app/authors.h : reflect the recent maintainers change
1039         
1040         * app/display.c app/load_save.c : removed debug spew
1041         
1042         * app/winmain.c : improved redirection
1043         
1044 2006-02-05  Hans Breuer  <hans@breuer.org>
1046         * app/menus.[ch] app/diagram.c : the GNOME specific menu code is dead 
1047         since 0.94. Fix somne left-overs, also properly disable the duplicate
1048         menu entry
1050         * po/POTFILES.in : added objects/network/wanlink.c
1052 2006-02-05  Hans Breuer  <hans@breuer.org>
1054         * lib/dialibartrenderer.c(renderer_finalize) : dont unref 
1055         parent_instance.font here. It will be done in DiaRenderer::finalize()
1056         Just another reason for crashing at diagram close with libart 
1057         renderer involved ...
1058         
1059 2006-02-04  Hans Breuer  <hans@breuer.org>
1061         * objects/standard/image.c : added mainpoint, patch from
1062         Torben H. Nielsen fixing bug #329603
1064         * app/layer_widget.c : avoid writing to Layer::connectable for a
1065         diagram possibly already gone. Fixes bug #329096.
1067         * lib/persitence.c(persistence_load) : dont leak filename
1068         in case of not existing file
1070         Code review via regex "[^_l>p](malloc|free|realloc)\("
1071         * objects/fs/function.c : what's g_strdup() must be g_free()'d
1072         * plug-ins/dxf/dxf-import.c : use g_realloc()/g_free()
1073         * plug-ins/xfig/xfig-import.c : use g_free() instead of plain free()
1075         * app/filedlg.c(file_save_as_response_callback) : before destroying 
1076         the save as dialog we need to drop the dialogs diagram reference.
1077         Fixes behaviour described in bug #123225#c7
1079         * app/interface.c(get_sheet_names) : need to sort sheets by their 
1080         display name to really fix bug #160101.
1081         
1082         * objects/UML/association.c : dont leak the role_name calculated
1083         with visibility attribute, use g_strdup_printf() instead of strcat().
1084         
1085         * configure.in : fix typo in error message
1087         * lib/object.c : remove duplicated prototype
1088         * lib/element.c : element_update_connections_rectangle() assumes nine
1089         connection points, i.e. requires 'mainpoint'. g_assert() for this.
1090         
1091 2006-02-03  Hans Breuer  <hans@breuer.org>
1093         * objects/network/bus.c : allow to tint it. Patch from
1094         Torben H. Nielsen, closes bug #328580.
1095         * objects/network/wanlink.c : allow to tint this as well.
1096         
1097 2006-01-29  Hans Breuer  <hans@breuer.org>
1099         * app/render_libart.c(draw_line) : make setting the pixel side-effect
1100         free; account for it in now (less) magic increments. Fixes bug #312147
1102 2006-01-28  Hans Breuer  <hans@breuer.org>
1104         * po/checktrans.py : make it work with recent pyxml (unknown url type)
1105         * po/AADL.sheet.in : remove duplicated _description
1106         => translation report works again
1108         * app/display.c : revert back to "_Discard Changes" to avoid
1109         accelerator clash. Also gtk_button_new_with_mnemonic() to
1110         'expand' the accelerator.
1112         * lib/dia_svg.c(dia_svg_style_init) : need to initialize
1113         linecap, linejoin, linestyle to avoid invalid settings.
1114         (Nguyen Thai Ngoc Duy, bug #328945)
1115         * lib/diagdkrenderer.c : add a place fro breakpoint to 
1116         detect invalid mode
1118         * lib/diarenderer.c(setfont) : if we get passed in the
1119         same font it must be ref'd before unref.
1121         * lib/text.c(set_string) : don't eat the trailing new-line
1122         Fixes bug #165092
1123         
1124         * app/app_procs.c app/display.c app/filedlg.c 
1125         attempt to provide more HIG compliant dialogs. Patch from
1126         Nguyen Thai Ngoc Duy, part of bug #138183
1127         
1128         * app/recent_files.c(recent_file_history_clear_menu) : instead of 
1129         messing with GtkMenuShell::children and gtk_widget_destroy() just 
1130         use gtk_container_remove. Avoids memory corruption causing the
1131         most 'random' crashes recently.
1132         
1133         * objects/UML/message.c : can't use PROP_STD_TEXT_COLOUR_OPTIONAL 
1134         cause it has PROP_FLAG_DONT_SAVE. It is designed to fill the 
1135         TextAttributes - not some subset. Fixes bug #327701
1136         * objects/UML/implements.c objects/UML/generalization.c
1137           objects/UML/constraint.c objects/UML/object.c
1138           objects/UML/large_package.c objects/UML/realizes.c : same here.
1139         * objects/UML/dependency.c : same here. Also draw the "Name" with the
1140         given color, not only the Stereotype.
1141         * objects/UML/class.c : same here. But we also need to restore 
1142         explicit restore "text_color" for the load case.
1143         
1144 2006-01-27  Hans Breuer  <hans@breuer.org>
1146         * configure.in : error out if GLib/GTK+ version is lower than required
1148         * app/filedlg.c lib/widgets.c : more default responses. Patch 
1149         from Nguyen Thai Ngoc Duy, part of bug #138183
1150         
1151         * NEWS : Main point feature correction. The line is supposed to
1152         start at the border of the object not the bounding box.
1153         
1154         * app/commands.c : respect difference between documenters and
1155         translators and show both in about dialog. Closes bug #328711.
1156         
1157         * app/interface.c : instead of g_warning for missing shape icon
1158         but use message_warning and show the 'missing' icon
1159         
1160         * lib/dialibartrenderer.c : with Gtk+ 2.8 gdk_draw_layout() does
1161         not match pango_win32_get_context(). Use gdk_pango_get_context ().
1162         Also removed my special win32-modified-pango code for draw_string()
1163         without the help of gdk.
1165         * Makefile.am : include MAINTAINERS file in tarball
1167         * lib/conectionpoint.h : removed double include of "geometry.h"
1168         
1169 2006-01-22  Hans Breuer  <hans@breuer.org>
1171         * app/splash.c app/commands.c : dont share the logo and finally leak
1172         it. Instead both place load and unref the logo themself. 
1173         Also unbreak GNOME case.
1175         * app/commands.c : use GtkAboutDialog instead of homegrown GTK+
1176         or GNOME specific one. 120 lines less code and more standard.
1177         * configure.in : require GTK+ >= 2.6
1179         * app/diapagelayout.c app/diaunitspinner.c app/layer_dialog.c :
1180         make GtkTypeInfo static const as usual elsewhere
1181         
1182         * app/recent_files.c : it almost certainly is an error to ignore
1183         the return value of g_list_remove_link()
1184         
1185         * lib/arrows.c lib/bezier_conn.[ch] lib/beziershape.h
1186           lib/boundingbox.[ch] lib/color.[ch] lib/connectionpoint.c
1187           lib/create.h lib/dia_svg.c lib/dia_xml.c lib/diaarrowchooser.c
1188           lib/diagramdata.[ch] objects/UML/activity.c objects/UML/class.[ch]
1189           objects/UML/uml.h : documentation fixes
1190         
1191         * lib/object.h lib/diagramdata.h : avoid circular inclusion
1192         * lib/connectionpoint.h lib/focus.h lib/group.h lib/handle.h
1193           lib/properties.h lib/sheet.h lib/diamenu.h
1194         : dont include "object.h", "diatypes.h" is enough. 
1195         Rule of thumb: only headers declaring an inheritant of DiaObject
1196         should include "object.h"
1197         * lib/diarenderer.h : include "font.h" not strictly needed by 
1198         this header, but needed in almost any plug-in/
1199         * app/diagram_tree_menu.c app/dialogs.[hc] app/display.c
1200           app/export_png.c app/interface.c app/load_save.c app/sheets.c
1201           app/sheets_dialog.c app/sheets_dialog_callbacks.c 
1202           lib/diagdkrenderer.c lib/object.c lib/propobject.c
1203           lib/text.c plug-ins/gprint/gnomeprint.c plug-ins/pixbuf/pixbuf.c
1204           plug-ins/svg/render_svg.c
1205           : some .c files now need to include "object.h" or <gtk/gtk.h>
1206         or e.g. "intl.h" direct, formerly dargged in indirectly
1207         * plug-ins/pgf/render_pgf.c : explicit inclusion of "arrows.h"
1208         
1209 2006-01-21  Hans Breuer  <hans@breuer.org>
1211         * lib/connection.c lib/connection.h lib/connectionpoint.h
1212           lib/diagramdata.h lib/diarenderer.h lib/diatypes.h
1213           lib/element.h lib/geometry.h lib/handle.h lib/objchange.h
1214           lib/object.c lib/object.h : documentation tweaking
1216         * objects/UML/class_dialog.c(attributes_create_page,
1217         operations_create_page) : dont connect
1218         to a not exisiting signal. Avoids "GLib-GObject-CRITICAL **:
1219         g_signal_connect_closure_by_id: assertion 'signal_id > 0' failed"
1220         (This was a leftover of introducing the GtkTextView instead of GtkEntry)
1222         * objects/UML/class_dialog.c objects/UML/class.c objects/UML/class.h :
1223         Introduce 'comment_tagging' switch which allows to hide the rendering
1224         {documentation = } Maybe a choice between ugliness and non-standard.
1225         Fixes bug #326214. (Unrelated: started to adapt casing of variables
1226         to Dia's common coding style)
1227                 
1228         * lib/object_defaults.c : pass is_default=TRUE to object_copy_props
1229           lib/proplist.c : fixed pdtpp_default()
1230           lib/propobject.c : correctly reflect is_default 
1231         * object/UML/class.c : correct setting of PROP_FLAG_NO_DEFAULTS and
1232         PROP_FLAG_DONT_MERGE. With the above this fixes bug #320934
1233         
1234         * lib/propdialogs.c : if PROP_NO_DEFAULTS is set dont try to show a
1235         widget in defaults dialog
1237         * app/display.c(initialize_display_widgets) : also append the Input 
1238         Methods menu to the diagram menubar. Now fixes bug #327862.
1240         * config.h.win32 : #undef LOCALEDIR
1241         * app/app_procs.c : runtime calculation of localedir. It now is
1242         $(executable_dir)/../locale. Should help fix bug #309763
1243         
1244         * sheets/AADL.sheet.in : remove left over xml:lang tag. 
1245         ( Nguyen Thai Ngoc Duy, bug #327519)
1247         * lib/dialibartrenderer.c : make text rendering work without
1248         PangoFT2 and PangoWin32
1251 2006-01-18  Lars Clausen  <lars@raeder.dk>
1253         * objects/UML/class.h: Enabling UML class mainpoint after failure
1254         to break it.
1256         * app/grid.c: Fix bug with grid being incorrectly drawn when gap <
1257         1.
1259 2006-01-14  Hans Breuer  <hans@breuer.org>
1261         * app/paginate_psprint.c : ensure we are not producing pages for
1262         epsilon. Floating imprecision is fun. Fixes bug #133856.
1263         * app/paginate_gdiprint.cpp : same here.
1265         * plug-ins/pstricks/render_pstricks.c(draw_string) : now that I've
1266         found the nice samples from bug #156171 it was quite simple to
1267         confirm that the y value need indeed to be inverted. Fixes bug #304974.
1268         Also special case strings starting with \tex - i.e. dont escape them -
1269         to keep the use-case of direct tex input.
1270         
1271         * lib/debug.c : #include <glib/gprintf.h> not just <gprintf.h>
1274 2006-01-14  Hans Breuer  <hans@breuer.org>
1276         * samples/Self/umlclass.dia : (new file) documenting part of the
1277         object relations of UMLClass. Also good for testing connections.
1278         
1279         * lib/debug.c : replace wrong call to vprintf() - missing file
1280         descriptor - with the more appropriate g_vprintf(). Thus 
1281         dia_assert_true() does not smash the stack anymore on win32.
1282         
1283         * objects/UML/class.c objects/UML/class_dialog.c objects/UML/uml.h
1284           objects/UML/umlattribute.c objects/UML/umloperation.c :
1285         reverted the memory managment of UMLAttribute/UMLOperation's 
1286         ConnectionPoint(s) back to how it was up until 0.94. This finally
1287         makes the UMLClass work again including undo/redo support. Fixes
1288         bug #314153 and en passant bug #326453.
1289         
1290 2005-01-12  Lars Clausen  <lars@raeder.dk>
1292         * objects/UML/umlattribute.c: 
1293         * objects/UML/class_dialog.c: Better way of handling
1294         connectionpoints: Don't copy them, just reference them.  Finally
1295         fixes bug #314153 (not quite the pi bug:)
1297         * app/menus.c (display_menu_items): 
1298         * app/filedlg.c (file_open_response_callback): 
1299         * app/display.[ch] (copy_display): 
1300         * app/commands.[ch] (view_clone_view_callback): 
1301         Added functionality to clone display.  Preparation for storing
1302         display info in diagram files (not happening this version, though).
1304         * INSTALL (NOTE FOR WINDOWS USERS): Added note for non-compiling
1305         users pointing at dia-installer.
1307 2006-01-08  Hans Breuer  <hans@breuer.org>
1309         * shapes/Gane_and_Sarson/Makefile.am : correct spelling of filenames.
1310         (Narcelio Filho, #326075)
1312         * objects/AADL/aadl.h : remove #include "app/display.h". It is not needed,
1313         plug-ins should not depend on app/* and it even breaks 'make distcheck'.
1314         * objects/AADL/Makefile.am : added edit_port_declaration.h
1315         * app/Makefile.am : added diaconv.c to EXTRA_DIST
1316         => 'make distcheck' passes again.
1318         * configure.in : use some more of gcc's useful warnings
1320         * lib/geometry.h : removed unused functions just producing warnings
1321         [sometimes it's good to read compiler warnings]
1322         * plug-ins/cairo/diacairo.c : somehow a function call got lost
1323         (left-hand operand of comma expression has no effect)
1324         * plug-ins/metapost/render_metapost.c : dia_message_filename()
1325         wants a char* not a FILE* (passing arg 1 of `dia_message_filename'
1326         from incompatible pointer type)
1329 2006-01-07  Hans Breuer  <hans@breuer.org>
1331         * objects/custom/shape_info.c(parse_path) : handle the case of 
1332         invalid path data more gracefully, i.e. show a warning instead 
1333         of crashing later on.
1334         * plug-ins/svg/svg-import.c(read_path_svg) : ditto.
1335         
1336         * configure.in sheets/Makefile.am shapes/Gane_and_Sarson 
1337           shapes/Makefile.am : added Gane & Sarson shapes 
1338         (Nick Moore, #319544)
1340         * objects/makefile.msc : building AADL on win32
1342 2006-01-06  Hans Breuer  <hans@breuer.org>
1344         * objects/AADL/aadl.h : avoid redefinition warnings by #undef
1345         min, #undef max before local definitions
1346         * objects/AADL/aadl.h : more prototypes
1347         * objects/AADL/aadltext.c : for C89 declarations must be at the
1348         beginning of a block. And Dia *must* be compileable with C89.
1350         * objects/AADL/** objects/Makefile.am sheets/Makefile.am 
1351         configure.in : AADL plug-in from Pierre Duquesne. See
1352         http://mail.gnome.org/archives/dia-list/2006-January/msg00005.html
1353         for more information
1354         * sheets/AADL.sheet.in : from the above patch but modified 
1355         to become translatable like the other sheet files. That is: the
1356         french translation got temporary removed cause it does not belong here.
1358         * plug-ins/pgf/render_pgf.c : no C99/C++ comments please
1360         * app/app_procs.c app/diaconv.c : get rid of run-on sentences
1361         (Adam Weinberger, bug #325567)
1362         
1363         * app/menus.c : removed some keybindings with <control><shift>[0-9A-F]
1364         and change some other to use <control><alt>. They collide with GTK's 
1365         Unicode input feature. Fixes bug #320495. For rationale see: 
1366         http://developer.gnome.org/projects/gup/hig/2.0/input-keyboard.html
1367         
1368         * app/display.c : pay attention to g_warnings() [should always run
1369         with --g-fatalwarnings ;)]. Only create the menubar IM menu if there
1370         actually is a menu bar.
1371         
1372         * lib/diarenderer.c : the righthand calculation accidentially broke
1373         some arcs direction. Should be fixed again.
1374         
1375 2006-01-02  Hans Breuer  <hans@breuer.org>
1377         * app/display.c(new_display) : also append the Input Methods menu to 
1378         the diagram menubar. Fixes bug #308576.
1380         * lib/widgets.c(dia_dynamic_menu_reset) : don't use an already
1381         freed string to dia_dynamic_menu_select_entry(). Fixes bug #323592.
1383         * lib/sheet.c(dia_sheet_sort_callback) : sort sheets according to 
1384         their localized name (with g_utf8_collate). Thus not relying on the 
1385         capabilities of the C libraries strcmp(). Fixes bug #160101.
1387         * lib/diarenderer.c(draw_arc_with_arrows) : don't recalculate center
1388         point and width from the (arrow-)corrected new points. Otherwise a 
1389         whole new wrong arc may emerge. Fixes bug #312641.
1390         
1391 2006-01-01  Hans Breuer  <hans@breuer.org>
1393         * objects/custom/custom_object.c(cutom_update_data) : depending 
1394         on the handle moving let one scale (x or y) take precedence. 
1395         (bug #308515, Eric Deplagne)
1396         
1397         * objects/UML/class.c : only perform the attributes check with
1398         attributes visible to ged rid of false warnings
1399         * objects/UML/class_dialog.c : need to setup Connection::object
1400         after uml_attribute_new() and uml_operation_new(), again less
1401         warnings but bug #314153 still not fixed.
1403         * NEWS : updated
1405         * plug-ins/python/diasvg.py : more correct svg by also writing 
1406         xmlns="http://www.w3.org/200/svg"
1408         * plug-ins/python/dot.py : skip unconnected connection lines
1409         * plug-ins/python/Makefile.am : added dot.py
1411         * plug-ins/python/pydiadoc.py plug-ins/python/codegen.py : fixed
1412         typos in comments
1414 2005-12-31  Hans Breuer  <hans@breuer.org>
1416         * objects/UML/class.[hc] objects/UML/class_dialog.c : removed the 
1417         caching of UMLClass::attributes_strings, operations_strings, 
1418         templates_strings.
1419         It was broken by the recent code restructuring in bug #303744 and
1420         - if necessary at all - nowadays it should be done on the 
1421         UMLAttribute, UMLOperation, UMLFormalParameter level anyway. 
1422         A small, much needed simplification of the code.
1424 2005-12-30  Hans Breuer  <hans@breuer.org>
1426         * objects/UML/class.c : Patch from Dave Klotzbach
1427         fixes crash bug #325151
1429         * app/app_procs.c : add command line parameter --nonew to allow
1430         avoiding the empty start-up diagram
1431         Also give a hint on where the object-libs were missing.
1432         Finally work around a misbehaviour upstreamm :
1433         g_option_context_parse() returning FALSE but not setting error.
1435         * app/commands.c app/app_diagram_tree.c app/interface.c :
1436         Use gdk_pixbuf_render_pixmap_and_mask_for_colormap as suggested by
1437         http://www.gtk.org/api/2.6/gdk/gdk-Pixbufs.html#gdk-pixbuf-render-pixmap-and-mask
1438         
1439         * lib/widgets.c : image file selection finally ported to the new
1440         gtk file chooser. Fixes bug #309383
1442 2005-12-28  Hans Breuer  <hans@breuer.org>
1444         * app/commands.c(file_new_callback) : convert to filename encoding before
1445         passing to new_diagram(), fixes bug #322400
1446         
1447         * app/interface.c(create_display_shell) : don't clip width on screen 
1448         height - now commited. Also lazy creation of tooltips.
1449         
1450         * objects/UML/actor.c : Actor is finally resizable, fixes bug #66915
1451         
1452 2005-12-27  Hans Breuer  <hans@breuer.org>
1454         * app/diapsft2renderer.c(draw_bezier_outline) : only call
1455         FT_Outline_Decompose() when FT_GLYPH_FORMAT_OUTLINE.
1456         Prefers no text output over crashing for bug #144212
1458         * app/interface.c : removed superfluous call to dia_canvas_set_size().
1459         Suggested by Roland Stigge, fixes bug #148149.
1461         * plug-ins/dxf/dxf-import.c : don't complain too loud on Binary
1462         DXF. It is not supported at all. Fixes bug #322101
1464         * lib/geometry.c : removed the ifdefed GLIB_CHECK_VERSION(2,7,0)
1465         define G_IMPLEMENT_INLINES. It breaks again with glib-2-8
1468 2005-12-27  Hans Breuer  <hans@breuer.org>
1470         * app/navigation.c : protect on_da_button_release_event() against being
1471         called twice. Also only popdown the navigation window after the first 
1472         draw (reusing nav->is_first_expose). Fixes bug #151696
1473         
1474         * app/interface.c(create_display_shell): don't clip width on screen height, 
1475         but height
1477         * lib/plug-ins.c : fixed typo in comment
1478         
1479         * lib/libdia.def : updated externals
1480         * lib/makefile.msc : build debug.obj
1482         * plug-ins/makefile.msc : building pgf in the right alphabetical order
1483         * plug-ins/pgf/render_pgf.c : include <glib/gprintf.h>
1484         
1485 2005-12-08  Lars Clausen  <lars@raeder.dk>
1487         * app/authors.h: 
1488         * plug-ins/pgf/pgf.c: 
1489         * plug-ins/pgf/render_pgf.[ch]: 
1490         * plug-ins/pgf/Makefile.am: 
1491         * plug-ins/Makefile.msc: 
1492         * plug-ins/Makefile.am (SUBDIRS): 
1493         * configure.in: Patch from Moritz Kirmse <momomaniac@gmail.com>: Add
1494         support for PGF output for including in (La)TeX documents that
1495         allows PDF generation.
1497         * samples/render-test.dia: Added samples of text in different
1498         sizes, standard fonts and styles with size markers.
1500 2005-12-04  Lars Clausen  <lars@raeder.dk>
1502         * lib/Makefile.am (gen_sources): Mark marshal files as generated.
1503         (BUILT_SOURCES): Added marshal files.
1505 2005-12-03  Lars Clausen  <lars@raeder.dk>
1507         * lib/Makefile.am (diamarshal.c): Fix marshal rules to not talk
1508         about $(srcdir) and confusing everybody.
1510         * app/undo.c:
1511         * lib/diagramdata.c:
1512         * lib/diagramdata.h:
1513         * lib/diamarshal.list:
1514         * plug-ins/python/pydia-diagram.c:
1515         * plug-ins/python/pydia-diagramdata.c:
1516         * plug-ins/python/python-startup.py: Patch from David Johansson
1517         <david.lgj@gmail.com>: Add signals emitted when objects are
1518         inserted or removed.
1520 2005-11-13  Lars Clausen  <lars@raeder.dk>
1522         * app/display.c (update_zoom_status): Fix of bug #321387: Avoid
1523         (small) buffer overflow by using g_strdup_printf instead of sprintf.
1525 2005-11-09  Lars Clausen  <lars@raeder.dk>
1527         * app/app_procs.c: 
1528         * plug-ins/dxf/dxf-import.c (import_dxf): Don't use g_error except
1529         when reaching the statement is a bug.  Using g_critical and exit() for
1530         fatally wrong inputs.
1532         * objects/UML/uml.c: 
1533         * objects/UML/class.c: Patch from dklotzbach@foxvalley.net (dave
1534         Klotzbach): Fixes template rendering and converts home-brew inline
1535         doc format to javadoc.  Doesn't yet fix bug #320934, but turns it
1536         into a dup.
1538 2005-11-07  Lars Clausen  <lars@raeder.dk>
1540         * lib/object.[ch]: Add 'enclosing box' as opposed to 'bounding
1541         box' since several objects have problems of using bounding box in
1542         different ways (see bug #300055).  For now, enclosing box ==
1543         bounding box, but over time objects will learn to expand the
1544         bounding box to include things only rendered interactively.
1546         * app/modify_tool.c (modify_motion): Make sure highlight is reset
1547         when moving between overlapping objects.
1549         * app/interface.c (interface_toggle_mainpoint_magnetism): Redraw
1550         diagram after toggling to make red X's come and go.
1552         * lib/font.c: #ifdef'd out layout cache for bug #307320.  Define
1553         it if you need faster rendering and aren't afraid of crashbugs:)
1555         * lib/objchange.c: Bugfix from dklotzbach@foxvalley.net
1556         (dave Klotzbach):  Fixes null pointer problems in free function.
1558         * objects/UML/class.c
1559         * objects/UML/class.h
1560         * objects/UML/class_dialog.c: Patch from dklotzbach@foxvalley.net
1561         (dave Klotzbach): Make UML comments conform to UML 1.0 standard
1562         and allow multi-line comments. Ugly as hell, but standard.  Time
1563         for a 'Strict UML' option?  Fixes bug #303744.
1564         
1565         * objects/UML/state.c: Patch from Peter Allin <peter@peca.dk>: Add
1566         entry, exit and do descriptions to a state object.  Fixes bug #65434.
1568 2005-11-03  Lars Clausen  <lars@raeder.dk>
1570         * lib/arrows.c:
1571         * lib/attributes.c:
1572         * lib/autoroute.c:
1573         * lib/bezier_conn.c:
1574         * lib/boundingbox.c:
1575         * lib/color.c:
1576         * lib/connection.c:
1577         * lib/connectionpoint.c:
1578         * lib/dia_dirs.c:
1579         * lib/dia_image.c:
1580         * lib/dia_svg.c:
1581         * lib/dia_xml.c:
1582         * lib/diaarrowchooser.c:
1583         * lib/diaerror.c:
1584         * lib/diagdkrenderer.c:
1585         * lib/diagramdata.c:
1586         * lib/element.c:
1587         * lib/object.c:
1588         * lib/object.h:
1589         * lib/parent.c:
1590         Added documentation java-doc style.  Also a few trivial cleanups.
1591         
1592 2005-10-13  Lars Clausen  <lars@raeder.dk>
1594         * lib/connectionpoint.h (DIR_ALL): Parentheses around operations
1595         in macros.
1597         * plug-ins/hpgl/hpgl.c (export_data): Correct error message.
1599         * lib/Makefile.am:
1600         * lib/debug.[ch]:
1601         * lib/object.[ch]: 
1602         * objects/UML/class.[ch]: 
1603         * objects/UML/uml.h: 
1604         * objects/UML/umlattribute.c: 
1605         * objects/UML/umloperation.c: 
1606         * objects/UML/class_dialog.c: 
1607         Rework of the UML class attribute/operation handling.  Now doesn't
1608         copy connection points into the dialog data, but only the "flat"
1609         data.  As part of debugging made sanity check functionality.
1610         Currently still dies when deleting an attribute/operation that has
1611         a connection to it.
1613 2005-10-09  Hans Breuer  <hans@breuer.org>
1615         * lib/properties.h : prefer american spelling of colo(u)r for
1616         user visible strings - i.e. to be translated ones.
1617         * objects/UML/uml.c : it is Implementation. Together fixes bug #313929
1618                                         ^
1619         * po/*.po : updated (by 'make distcheck')
1621 2005-10-09  Hans Breuer  <hans@breuer.org>
1623         * app/display.c : allow !"toolbox on top" without restart.
1624         (Chris Hellberg, bug #310702)
1626 2005-10-09  Hans Breuer  <hans@breuer.org>
1628         * lib/arrows.c : patch from Radek Krahl fixing the blanking
1629         of two arrowheads, bug #310157
1631 2005-10-08  Hans Breuer  <hans@breuer.org>
1633         * plug-ins/python/group_props.py : show a descriptive text instead of an 
1634         empty table if there are no common properties to change. Fixes bug #314432
1636 2005-10-08  Hans Breuer  <hans@breuer.org>
1638         * objects/UML/transition.c : inverted default direction of
1639         the direction. Patch from Peter Allin, fixes bug #318049
1640         [You possibly need to 'rm ~/.dia/defaults.dia' to have an effect]
1642 2005-10-08  Hans Breuer  <hans@breuer.org>
1644         * app/Makefile.am objects/standard/Makefile.am : match the
1645         referenced icons to the needed. Make 'make distcheck' pass
1646         and thus fixes bug #312152
1648         * objects/standard/textobj.c : no C++ comments please!
1650 2005-10-08  Hans Breuer  <hans@breuer.org>
1652         * objects/standard/textobj.c : preserve the position set on create
1653         [makes e.g. text positioning of diasvg_import.py work]
1655         * plug-ins/python/diasvg_import.py : restrict what eval() can do
1656         with strings from svg files. Fixes the arbitrary code execution from 
1657         bug #317637
1658         
1659         * app/pixmaps/mainpoints-(on|off).png : new icons to toggle center point
1660         magnetism. At least they are distinguishable from grid snapping.
1661         * app/makefile.msc app/Makefile.am : use them
1662         
1663         * lib/focus.c(reset_foci) : also remove_focus(). This fixes bug #172851
1664         I also can't reproduce bug #309044 anymore (on win32).
1665         
1666 2005-10-01  Lars Clausen  <lars@raeder.dk>
1668         * lib/connectionpoint.h (DIR_ALL): Parentheses around | expressions.
1670         * plug-ins/hpgl/hpgl.c (export_data): Listen to warnings and don't
1671         pass FILE * as gchar *.
1673         * lib/debug.[ch] (dia_assert_true): Debugging aids.
1675 2005-09-29  Lars Clausen  <lars@raeder.dk>
1677         * objects/UML/class.h: Enabling mainpoints for UML.
1679         * objects/UML/class.c (umlclass_set_props): Make sure to always
1680         realloc connection point list.
1682 2005-09-26  Ahmad Riza H Nst  <rizahnst@id.gnome.org>
1684         * configure.in: Added "id" in ALL_LINGUAS line.
1686 2005-09-14  Lars Clausen  <lars@raeder.dk>
1688         * objects/UML/class.c (umlclass_load): Set mainpoint obj upon
1689         loading.  Fixes bug #315427.
1691 2005-09-11  Hans Breuer  <hans@breuer.org>
1693         * objects/standard/arc.c objects/standard/textobj.c : fix
1694         C99isms, Dia is supposed to compile with C89 like msvc
1696         * app/makefile.msc : use the wrong center-point-magnetism
1697         icons for the win32 build, too.
1699         * plug-ins/python/pydia-error.c : dont crash on C escape
1700         sequences in the error string
1701         * plug-ins/python/pydia-render.c : dont free filename twice
1703         * plug-ins/python/dot.py : start of an exporter to DOT language
1704         which can be processed by www.graphviz.org tools
1706 2005-09-05  Iñaki Larrañaga  <dooteo@euskalgnu.org>
1708         * configure.in: Added "doc/eu/Makefile" for Basque documentation.
1710 2005-09-04  Iñaki Larrañaga  <dooteo@euskalgnu.org>
1712         * configure.in: Added "eu" to ALL_LINGUAS.
1714 2005-09-04  Lars Clausen  <lars@raeder.dk>
1716         * lib/element.h (ELEMENT_COMMON_PROPERTIES): Remove object
1717         dimensions frame to make ext_attributes work again.
1719         * app/grid.c (snap_to_grid): Bugfix from Zhang Lin-bo
1720         <zlb@lsec.cc.ac.cn>: Use dynamic grid setting from diagram, not
1721         global prefs.
1723         * objects/standard/textobj.c: Applied patch from Grégoire Dooms
1724         <dooms info ucl ac be>: Add vertical alignment for standard text
1725         object.  This should really be moved into lib/text.c and apply to
1726         all text objects.
1728 2005-09-03  Lars Clausen  <lars@raeder.dk>
1730         * app/connectionpoint_ops.c (connectionpoint_draw): Only draw
1731         mainpoint when snap-to-objects is not on.
1733         * app/Makefile.am (ICON_PNG_PAIRS): 
1734         Fake icons for snap-to-objects.
1736         * app/commands.[ch]: 
1737         * app/menus.c (menus_get_image_menubar): 
1738         * app/display.[ch]: 
1739         * app/interface.c (create_display_shell): 
1740         * app/create_object.c (create_object_button_release): 
1741         * app/disp_callbacks.c (ddisplay_drop_object): 
1742         * app/object_ops.[ch]: 
1743         * app/connectionpoint_ops.c (ddisplay_connect_selected): 
1744         * app/modify_tool.c (modify_button_release): 
1745         * app/display.[ch]: 
1746         Togglable snap-to-objects, also doesn't snap when moving entire
1747         object.  This should be more reasonable in practical use, and can
1748         be turned off when you want to place your arrows more precisely.
1750 2005-08-06  Hans Breuer  <hans@breuer.org>
1752         * plug-ins/cairo/diacairo.c : increased #ifdef MESS:
1753         With Gtk+-2.7.x cairo must be available so the HAVE_CAIRO case
1754         becomes even more ugly when the user has choosen *not* to build 
1755         the diacairo plug-in. If noone can come up with a very convincing 
1756         reason why it has to be done this way I'll probably go back to 
1757         my original dont-build-at-all approach when this breaks the 
1758         next time.
1760 2005-08-02  Lars Clausen  <lars@raeder.dk>
1762         * objects/standard/arc.c: Patch from Grégoire Dooms
1763         <dooms@info.ucl.ac.be>: An almost perfect arc autogap
1764         implementation.  "There is still a small bug when the non
1765         connected end of the arc is very close to the border of the
1766         connected object. I think this is due to rounding errors in the
1767         code for SHIFT-move handle which is reused to trim the arc in
1768         autogap. Also it is not yet possible to have a startgap and an
1769         endgap from/to the same central CP."
1771 2005-07-31  Hans Breuer  <hans@breuer.org>
1773         * plug-ins/cairo/diacairo.c congigure.in : dont wait any 
1774         longer for distributions official packages - depend 
1775         on cairo 0.6.0 - fixes bug #307144
1777 2005-07-20  Hans Breuer  <hans@breuer.org>
1779         * lib/element.h : remove stray NULL in ELEMENT_COMMON_PROPERTIES
1780         which must match PropDescription, that is make it at least compile.
1782 2005-07-19  Hans Breuer  <hans@breuer.org>
1784         * app/diagram.c(new_diagram) : what comes from g_object_new()
1785         MUST NOT be g_free()'d 
1787         * lib/message.h : added dia_message_filename() here as well.
1788         Mainly to not touch all files using. They *all* where using
1789         lib/message.h already! Maybe the implemantation should be moved
1790         to message.c as well cause the function has *nothing* to do
1791         with dynamic filename resolving. It is a wrapper around
1792         g_display_filename() mostly (only?) used for messages ...
1793         * lib/dia_dirs.c(dia_message_filename) : fix C99ism
1795 2005-07-18  Lars Clausen  <larsrc@raeder.dk>
1797         * objects/EML/instantiation.c (instantiation_load): 
1798         * objects/EML/interaction-ortho.c (interaction_ortho_type) 
1799         * objects/ER/participation.c (participation_type): 
1800         * objects/FS/flow-ortho.c (orthflow_type): 
1801         * objects/GRAFCET/vector.c (arc_load): 
1802         * objects/standard/zigzagline.c (zigzagline_type): 
1803         * objects/UML/transition.c (transition_load): 
1804         * objects/UML/realizes.c (realizes_load): 
1805         * objects/UML/dependency.c (dependency_load): 
1806         * objects/UML/generalization.c (generalization_type): 
1807         * objects/UML/association.c (association_type): 
1808         * objects/UML/component_feature.c (compfeat_load): 
1809         Make autorouting deafult on except for old diagrams.
1811         * plug-ins/cairo/diacairo.c (export_data): 
1812         * plug-ins/cgm/cgm.c (export_cgm): 
1813         * plug-ins/dxf/dxf-export.c (export_dxf): 
1814         * plug-ins/dxf/dxf-import.c: 
1815         * plug-ins/hpgl/hpgl.c (export_data): 
1816         * plug-ins/metapost/render_metapost.c: 
1817         * plug-ins/pixbuf/pixbuf.c: 
1818         * plug-ins/pstricks/render_pstricks.c: 
1819         * plug-ins/python/pydia-render.c: 
1820         * plug-ins/shape/shape-export.c: 
1821         * plug-ins/svg/render_svg.c: 
1822         * plug-ins/svg/svg-import.c: 
1823         * plug-ins/wpg/wpg.c 
1824         * plug-ins/xfig/xfig-export.c: 
1825         * plug-ins/xfig/xfig-import.c: 
1826         * plug-ins/xslt/xslt.c: Use dia_message_filename to ensure legal
1827         UTF-8 in message boxes.
1829 2005-07-18  Lars Clausen  <lars@raeder.dk>
1831         * lib/element.h (ELEMENT_COMMON_PROPERTIES): Allow Element objects
1832         to have their dimensions specified in properties.  Still needs to
1833         have proper update when setting properties cause constraint changes.
1835         * app/preferences.c (update_floating_toolbox): Allow
1836         toolbox_on_top setting to happen at once.
1838         * app/diagram.c
1839         * app/filedlg.c
1840         * app/load_save.c
1841         * app/render_eps.c
1842         * app/sheets_dialog_callbacks.c
1843         * lib/dia_dirs.c
1844         * lib/dia_dirs.h
1845         * lib/dia_xml.c
1846         * lib/diarenderer.c
1847         * lib/element.h
1848         * lib/object_defaults.c:
1849         Patch from lav@altlinux.ru (Vitaly Lipatov): Make filenames safe
1850         for displaying in messages - better than crashing!  Mostly fixes
1851         #310087.
1852         
1853         * objects/UML/class.c:  Save normal_font_height under the same
1854         name it gets loaded as.  Fixes bug #310515.
1856         * doc/en/authors.xml
1857         * doc/en/usage-customization.xml
1858         * doc/en/usage-objects-special.xml
1859         * doc/en/usage-objects.xml: Some documentation fixes.  Fixes bug
1860         #308315.
1862 2005-07-17  Lars Clausen  <lars@raeder.dk>
1864         * doc/en/usage-customization.xml: 
1865         * doc/en/usage-objects.xml: 
1866         * doc/en/authors.xml: 
1867         * doc/en/usage-objects-special.xml: Applied patch from
1868         stigge@antcom.de (Roland Stigge):  Diverse typos and
1869         misencodings.  Fixes bug #308315.
1871         * objects/UML/class.c (umlclass_save): Patch from
1872         i.pilcher@comcast.net: Save normal font height under correct name
1873         to reload it.  Fixes bug #310515.
1875 2005-07-10  Hans Breuer  <hans@breuer.org>
1877         * app/connectionpoint_ops.c app/object_ops.c : make the
1878         'whole object' connection point only center point again. 
1879         That is: it is visible and far less magnetic. Only the
1880         line gap handling make it special. For me this probably
1881         fixes bug #303301
1883         * lib/neworth_conn.c : apply the same as for bug #173031.
1884         This OrthConn fork got broken as well. Fixes bug #309381
1886         * app/makefile.msc objects/makefile.msc : adapt to icon changes
1888         * app/interface.c app/diagram_tree.c : a char** is still not 
1889         a char* and the win32 build is configured to error on 
1890         sloppiness like this
1892         * plug-ins/wmf/wmf.cpp : fix typo in preprocessor condition
1894 2005-07-10  Hans Breuer  <hans@breuer.org>
1896         [
1897           Take part in the toolbox icon redesign context! If you want to 
1898           make them really prettier, please keep the following in mind :
1899           - the size *must* be 22x22 otherwise button reflow will get broken.
1900             Or you need to change about 800 icons at once.
1901           - one important part of Dia are control points, so maybe the icons
1902             should reflect that. (IMO gathering random icons form other 
1903             apps wont work)
1904           - the icons should at least look consistent in their group
1905         ]
1907         * app/Makefile.am : use 22x22 variants mostly lent from The GIMP
1908         * app/pixmaps/*.png : added arrow-22.png scroll-22.png zoom-22.png
1910         * objects/standard/*.c : get rid of xpm includes to avoid mixing icon sets
1911         * objects/standard/pixmap/* : added arc.png beziergon.png 
1912         bezierline.png box.png ellipse.png image.png line.png polygon.png 
1913         polyline.png text.png zigzagline.png
1914         * objects/standard/Makefile.am : use the new icon set including
1915         text and arc ...
1917         * app/interface.c : remove the "will probably crash" debug spew
1919 2005-07-09  Lars Clausen  <lars@raeder.dk>
1921         * objects/standard/pixmaps/*.png:
1922         * objects/standard/Makefile.am:
1923         * objects/standard/*.c:
1924         * app/interface.c: 
1925         * app/diagram_tree.c (create_object_pixmap): Fix icon loading. use
1926         new icons. [Slightly belated entry]
1928 2005-07-03  Hans Breuer  <hans@breuer.org>
1930         * app/diagram_tree.c : dont leak display name
1931         * app/app_procs.c : dont leak GOptionContext
1932         * app/prop_widgets.c(frame_beginprop_get_widget) : 
1933         Gtk api still not eating strings ...
1935         * objects/UML/class.c() : don't load properties once more 
1936         which are already loaded by StdProps. In case of strings 
1937         (data_string) it has even produced leaks.
1939         * app/paginate_psprint.c app/diagram.[hc] : the last
1940         of the related dialogs is gone and with it the 
1941         misconception of destroying widgets from 
1942         diagram::finalize()
1943         * app/display.c : ensure the diagram is still threre
1944         when we remove the display from it's list
1946 2005-07-01  Hans Breuer  <hans@breuer.org>
1948         * lib/widgets.c(dia_color_selector_more_callback): dont 
1949         free old_color twice
1951         * plug-ins/wmf/wmf.cpp : finally added enahnced meta file
1952         option. Thus linestyles can be preserved on export - at 
1953         least on NT based systems.
1955         * NEWS : clarify the wmf outside of windows issue
1957         * app/modify_too.c : fix C99ism
1959         * objects/standard/arc.c : debug spew optional at compile time
1961 2005-06-26  Hans Breuer  <hans@breuer.org>
1963         [ Cyrille would call it: warningectomy :-]
1965         * lib/font.c app/create_object.c : `...' might be used uninitialized
1966         in this function. Yes they were.
1967         * app/modify_tool.c : modify_tool.c:610: warning: `obj' might be used 
1968         uninitialized in this function. Yes it was with textedit_activate_object()
1969         Also some static correctness.
1970         * lib/diarenderer.c:678: warning: no previous prototype for 
1971         `calculate_min_radius'. Made static.
1972         * lib/dia_svg.c : ptr is a gchar *
1973         * dia_xml.c(data_point,data_rectangle) : gchar *str for parsing
1974         * lib/prop_text.c(multistringprop_get_widget) : use G_CALLBACK
1975         * app/app_procs.c : confirm warning and make dump_dependencies() static
1976         * app/autosave.c : #if 0'd old stuff
1977         * app/display.c : GTK_CHECK_MENU_ITEM() for snap_to_grid
1978         * 
1979         * lib/text.c lib/font.c objects/standard/line.c object/UML/class.c
1980           objects/Istar/goal.c objects/standard/bezier.c objects/standard/beziergon.c
1981           plug-ins/cgm/cgm.c plug-ins/cairo/diacairo.c plug-ins/hpgl/hpgl.c
1982           plug-ins/wpg/wpg.c plug-ins/svg/svg-import.c plug-ins/shape/shape-export.c
1983           plug-ins/dxf/dxf-export.c plug-ins/gprint/diagnomeprintrenderer.c
1984           plug-ins/gprint/diagnomeprint.c  plug-ins/xfig/xfig-export.c
1985           app/diagram_tree_menu_callbacks.c app/recent_files.c app/undo.c app/menus.c
1986           app/diapsrenderer.c app/diagram.c app/disp_callback.c : 
1987         removed unused variables and functions
1988         * objects/UML/umlattribute.c objects/UML/umloperation.c 
1989           objects/UML/umlparameter.c objects/UML/umlformalparameter.c : 
1990         neither 'missing braces around initializer' nor 'initialization from 
1991         incompatible pointer type'
1992         * objects/UML/class_dialog.c : more static
1993         * app/interface.c : static and almost const correctness and some
1994         less unitialized variables.
1995         * app/diapsft2renderer.c : use (int) casts like the original 
1996         (http://imagic.weizmann.ac.il/~dov/freesw/paps/ v0.4) does
1997         * app/render_gdk.c: stop assignment from incompatible pointer type,
1998         make member functions match the prototype.
1999         * app/render_libart.c : Dito. Also stop caching the copy_gc in
2000         a static variable. Otherwise it finally leaks and also may cause 
2001         BadMatch with changing windows
2002         => warning count down from about 250 to about 60, one or two hand full 
2003            crash bugs less.
2005 2005-06-26  Hans Breuer  <hans@breuer.org>
2007         * lib/libdia.def : added dia_font_get_description, missing
2008         from my last commit
2010         * app/app_procs.c : use png_get_header_ver(NULL), that is:
2011         prefer function call over exported variable to get the 
2012         runtime version of libpng
2014 2005-06-19  Hans Breuer  <hans@breuer.org>
2016         * plug-ins/python/Makefile.am : added codegen.py to EXTRA_DIST
2017         as suggested by Roland Stigge, bug #308310
2019 2005-06-19  Hans Breuer  <hans@breuer.org>
2021         * app/filedlg.c(file_export_callback) : oops, gtk_widget_show() wasn't 
2022         called anymore
2024 2005-06-18  Hans Breuer  <hans@breuer.org>
2026         * NEWS : mention new file dialog
2028         [plugged remaining leaks from bug #142669]
2029         * lib/prop_attr.c(fontprop_free) : not only unref the font
2030         but free the property itself, too. 
2031         * app/diagram_tree.c(create_diagram_children): remember the
2032         original list start to not only free the last element 
2034         * lib/prop_sdarray.c:64: warning: `arrayprop_free' defined 
2035         but not used. Here it meant a potentially huge leak.
2037 2005-06-18  Hans Breuer  <hans@breuer.org>
2039         * po/POTFILES.in : removed app/diaconv.c which isn't referenced 
2040         by app/Makefile.am anymore either. Should finally fix 'make distcheck' 
2041         for others, too. ( Roland Stigge, bug #144527 )
2043 2005-06-18  Hans Breuer  <hans@breuer.org>
2045         * plug-ins/wmf/Makefile.am : prevent installation. It 
2046         doesn't do anything useful on *NIX and even seems to be
2047         linked wrong by gcc (or me;). Fixes bug #172830 
2049 2005-06-18  Hans Breuer  <hans@breuer.org>
2051         * app/textedit.[hc] lib/arrows.[hc] plug-ins/xslt/xslt.h
2052           plug-ins/xslt/xsltdialog.c plug-ins/xslt/xslt.c : fix for sloppiness
2053         in function declarations. 'f();' for a function without parameters is
2054         a C++ism. Though I can't get any of my compilers to warn about it.
2055         Finally fixes bug #142663.
2057 2005-06-18  Hans Breuer  <hans@breuer.org>
2059         * app/textedit.[hc] lib/arrows.[hc] plug-ins/xslt/xslt.h
2060           plug-ins/xslt/xsltdialog.c plug-ins/xslt/xslt.c : fix for sloppiness
2061         in function declarations. 'f();' for a function without parameters is
2062         a C++ism. Though I can't get any of my compilers to warn about it.
2063         Finally fixes the rest of bug #142663.
2065 2005-06-18  Hans Breuer  <hans@breuer.org>
2067         * lib/font.h lib/font.c : _DiaFont is now private to prepare bigger 
2068         changes but doesn't hurt anyway. See bug #162034 
2069         * app/diapsft2renderer.c app/modify_tool.c 
2070           plug-ins/gprint/diagnomeprintrenderer.c : use dia_font_get_description() 
2071         instead of messing with internals
2072         * app/display.c : give interactive renderers more begin/end render. 
2073         It is guaranteed that the scale wont change between these.
2075 2005-06-18  Hans Breuer  <hans@breuer.org>
2077         * app/app_procs.c : const correctness for stderr_message_internal
2078         * app/dia-props.c : gtk_toggle_*() functions want GTK_TOGGLE_BUTTON 
2079         not GTK_CHECK_BUTTON, also some G_CALLBACK casts
2080         * app/disp_callbacks.c : don't dereference the to the function call
2081         when the function pointer in meant to be checked against 0
2082         * app/interface.c : warning fixes by using correct types
2083         * app/modify_tool.c : describe_props() members returns const pointer
2084         * app/render_libart.c : removed most of the render function again.
2085         They happily live in lib/dialibartrenderer.c since almost 3 years
2086         http://cvs.gnome.org/viewcvs/dia/app/render_libart.c?r1=1.31&r2=1.32
2087         * lib/dia_dirs.c : dia_get_canonical_path() const correctness
2088         * lib/dia_svg.c lib/dia_xml.c : some char to xmlChar changes
2089         * lib/dialibartrenderer.c(set_line_join): actually set the join_style
2090         instead of the cap_style. Don't initialize Art* enums with GDK_* constants.
2091         Both mentioned in bug #159814 and not warned by most other compilers.
2092         * lib/diagtkfontsel.c : at least the watcom compiler did not like the
2093         trailing colon in the GtkTypeInfo initialization
2094         * lib/properties.c : avoid redefinition of LIBDIA_COMPILATION
2095         * lib/dialinechooser.c lib/diagdkrenderer.c : there may be a difference 
2096         between char and gint8
2097         * plug-ins/metapost/render_metapost.c : replace invalid escape \% with %%
2098         * plug-ins/wpg/wpg.c : consitently use guint8
2099         * config.h.win32 : change HAVE_* defines to 1 not empty, avoids 
2100         redefinition warnings for python and xslt plug-ins
2102 2005-06-18  Hans Breuer  <hans@breuer.org>
2104         * lib/diagramdata.c : really get rid of diagram_data_destroy 
2105         and new_diagram_data [ no previous prototype for `...' is either
2106         a sign of missing static or of a function to vanish :-]
2108         * lib/geometry.c : apparently the G_INLINE stuff was working only
2109         with particular GLib version(s), glib-2.6.4 does not. Conditionally
2110         reverting to the old mecanics.
2112 2005-06-17  Hans Breuer  <hans@breuer.org>
2114         * plug-ins/python/pydia-*.c : include order tweaking to 
2115         get rid of redefinition warnings. Ensure to include <Python.h> 
2116         before any 'system' header, some dragged in by glib.h
2117         * plug-ins/python/pydia-diagramdata.c(PyDiaDiagramData_Str)
2118           pydia-properties.c(PyDiaProperties_Str)
2119           plug-ins/python/pydia-property.c(PyDiaProperty_Str) : 
2120         use %p to format pointers
2121         * plug-ins/python/pydia-geometry.c(PyDiaArrow_Str) : 
2122         dont cast to float for %d
2123         * plug-ins/python/pydia-handle.c(PyDiaHandle_Connect) : 
2124         use correct pointer type
2125         * plug-ins/python/pydia-image.c(PyDiaImage_Str) :
2126         dont discard qualifier aka dont free const strings
2127         * plug-ins/python/pydia-properties.c : casts to PyCFunction
2128         * plug-ins/python/pydia-property.c : removed unused function,
2129         make ensure_quarks() static
2130         * plug-ins/python/pydia-render.c : removed unused vars, use
2131         the correct signature for begin_render
2132         (dia_py_renderer_finalize): pluged a leak
2133         => except -fno-strict-aliasing there is no warning left in 
2134            all of PyDia
2136 2005-06-12  Hans Breuer  <hans@breuer.org>
2138         * app/filedlg.c : really fix the file extension mismatch on export dialog
2139         by working around some gtk+-2.6 behaviour (bug #307378). Fixes bug #305850
2141 2005-06-11  Hans Breuer  <hans@breuer.org>
2143         * configure.in config.h.win32.h : mark as +cvs (should have been 
2144         done directly after the 0.94 release)
2145         * NEWS : attempt to summarize 2/3 year of development
2147         [ 
2148           WANT_AUTOMAKE=1.7 ./autogen.sh && ./conifugre  --enable-maintatiner-mode && make distcheck
2149           finally passes again
2150         ]
2151         * app/app_procs.c : force use of POPT for the GNOME case, otherwise
2152         app/run_dia.sh --credits > THANKS => Segmentation fault
2153         * app/pixmaps/Makefile.am : added group.png and ungroup.png
2154         * Makefile.am : work around scrollkeeper bug
2155         * doc/en/Makefile.am : explicit list DISTCLEANFILES = dia.1
2157         * po/*.po : 'noise' produced by make dist
2159 2005-06-10  Hans Breuer  <hans@breuer.org>
2161         * lib/properties.h : define PROP_STD_SHOW_BACKGROUND_OPTIONAL ...
2162         * objects/custom/custom_object.c : ... and use it to avoid 
2163         complains about missing attribute "show_background". It is 
2164         safe to leave this uninitialized. Same for flip_* and "text",
2165         the latter with comment cause it usually is *not* safe to do 
2166         it for the general case. Fixes remaining issues with bug #169006
2167         which where caused by an incompatible change in the shape file.
2169         * app/commands.c : use "gnome-open" instead of "netscape" as
2170         fallback for $BROWSER not set. Still not optimal but better
2171         to try some common desktop tool than an obsolete browser;)
2172         Fixes bug #307142. Also some whitespace changes.
2174         * app/interface.c(toolbox_delete): avoid random return value.
2175         Patch from Stanislav Brabec, fixes bug #307143
2177         * shapes/Cisco/Makefile.am : added a bunch of new shapes/pngs.
2178         Patch from Torben H. Nielsen (bugzilla is still the preferred way)
2179         http://mail.gnome.org/archives/dia-list/2005-June/msg00015.html
2181 2005-06-06  Lars Clausen  <lars@raeder.dk>
2183         * app/diagram.c: 
2184         * app/modify_tool.c:
2185         * app/textedit.[ch]:
2186         Better support for text edit highlight.
2188         * app/connectionpoint_ops.c (connectionpoint_draw): Stop making
2189         the mainpoint extra visible.
2191 2005-06-02  Lars Clausen  <lars@raeder.dk>
2193         * objects/UML/class_dialog.c:
2194         * objects/UML/class.[ch]:
2195         The final fixes for mainpoint on UML Class.
2197         * sheets/cisco*.in, shapes/Cisco/*: New set of Cisco icons from
2198         Ian Redfern, now in color and with mainpoints!  Very pretty!
2200 2005-06-02  Hans Breuer  <hans@breuer.org>
2202         * objects/UML/class_dialog.c : the memory managment with respect to
2203         attribute/operation connections was/is a mess. But it should work again ;)
2205         * samples/UMLPackages.dia samples/Composite-Action.dia : some diagrams
2206         directly from the UML Specification - to show the power of Dia and 
2207         some weakness. Watch the bug reports following ;)
2209 2005-06-01  Hans Breuer  <hans@breuer.org>
2211         * app/dia.def : export diagram_update_connections_object
2212         * plug-ins/python/pydia-diagram.c : wrap diagram_update_connections_object
2213         Patch from Paolo Bernardi, together with the property setting closes bug #300572
2215 2005-06-01  Hans Breuer  <hans@breuer.org>
2217         * plug-ins/python/pydia-property.c : complete refactoring of property 
2218         setting, now also supports setting of property arrays
2219         * plug-ins/python/pydia-*.c plug-ins/python/diamodule.c : adapt to 
2220         Python namespacing conventions
2221         * plug-ins/python/pydiadoc.py : use the stuff above to produce more 
2222         complete UML Classes with attributes and operations
2223         * plug-ins/python/otypes.py : now also show the properties of the objects
2225         * objects/UML/class.c(umlclass_set_props) : need to update object::connections
2226         (pointers), they might be changed with attributes and opertions changing
2228         * plug-ins/python/pydia-property.c : PointArray and BezPointArray property getters
2229         were broken. Apparently noone used them before.
2231         * plug-ins/python/pydia-diagram.c plug-ins/python/pydia-diagramdata.c : moved methods
2232         which only operate on the DiagramData to the latter file. To get on the DiagramData
2233         object of a Diagram use diagram.data. [In C the Diagram is a subclass of DiagramData, 
2234         but I don't know how to reflect that in the bindings. And for backward compatibility 
2235         there also is the 'data' member.]
2237         * objects/UML/uml.c objects/UML/umlattribute.c objects/UML/umloperation.c 
2238           objects/UML/umlparameter.c : describe enums with PropEnumData
2240         * app/commands.c(view_show_all_callback) : if there is something selected show 
2241         that instead of all exisiting objects. If there is noting or all selcted it 
2242         "Show all" shows the old behaviour.
2244         * lib/parent.[hc] lib/object.c app/disp_callbacks.c app/diagram.c : plug some memory 
2245         leaks and use less allocations caused by misguided API. Also some adaption to common 
2246         coding style
2248         * objects/UML/class.h : add some comment about the brokeness of UML_MAINPOINT
2250         * app/makefile.msc : added new icons and build as console app while 
2251         not releaseing to the general public
2253         * objects/custom/shape_info.c : use g_strdup("") for a field to be g_free()'d
2254         and keep a refernce when storing the a font from style="" in s.font. This should
2255         finally allow to have shapes with fully predefined text (and no 'random' crashes)
2257         * plug-ins/gprint/diagnomeprint.c : disable GNOME_SVG until I've found a program
2258         capable to interpret it's output
2260 2005-05-31  Lars Clausen  <lars@raeder.dk>
2262         * sheets/ER.sheet.in: No more xpms referenced in sheets. Fixes bug #151811.
2264 2005-05-30  Pawan Chitrakar  <pawan@nplinux.org>
2266         * configure.in: Added ne in ALL_LINGUAS
2268 2005-05-24  Lars Clausen  <lars@raeder.dk>
2270         * lib/font.c: Change to make DIA_FONT_ITALIC turn into -Oblique PS
2271         fonts for legacy fonts.  They don't have DIA_FONT_OBLIQUE setting
2272         anyway. 
2274 2005-05-23  Lars Clausen  <lars@raeder.dk>
2276         * lib/paper.c: Added Ledger size paper.  Fixes bug #305254.
2278 2005-05-21  Lars Clausen  <lars@raeder.dk>
2280         * lib/diaarrowchooser.c: 
2281         * lib/arrows.[ch]: Patch from Radek Krahl <ptasz3k@o2.pl>: Add
2282         'infinite' line (three dots) arrowhead.  Fix line length in arrow
2283         preview.  And fix typo.  Fixes bug #303904. 
2285 2005-05-20  Hans Breuer  <hans@breuer.org>
2287         * lib/text.c : advice from valgrind and data_string() review:
2288         neither g_free() memory on the stack
2289         * objects/GRAFCET/boolequation.c : ... nor const strings 
2290         * objects/UML/association.c:934 : definitely lost. Even g_strdup("")
2291         wants to be freed
2293         * app/diagram.c : a g_object_ref() following g_object_new() is almost
2294         always wrong. Why would we need two refernces?
2295         * app/app_procs.c : same here.If it crashes later on someone is dropping
2296         refernces he does not own, and *that* needs to be fixed. This is reverting
2297         "Remember to ref g_object_new'd object" (bug #170972) below, which 
2298         causes more harm (leaking, hiding bugs elsewhere) than good.
2300         * app/app_procs.c lib/diagramdata.[ch] lib/libdia.def : get rid of
2301         diagramdata_destroy() which was only a wrapper to g_object_unref()
2303         * app/display.c(selection_changed) : don't g_strdup_printf() without
2304         g_free() later /or/ a C++ comment of me mostly denotes an error
2306         * app/diagram.c : diagram_parent_sort_cb make signature match GCompareFunc
2308         * lib/widget.c : dia_dynamic_menu_select_entry() cleanup. If it takes a
2309         const gchar* entry it must not eat memory, added a lot of g_free() and
2310         some const. Fixed a bunch - i.e. *all* - warnings.
2311         * lib/widget.h : removed unused/deleted functions
2313         * app/layer_dialog.c(dia_layer_widget_connectable_toggled) : trying to
2314         avoid 'Invalid write of size 4', no luck yet
2316 2005-05-19  Lars Clausen  <lars@raeder.dk>
2318         * objects/UML/class.c: 
2319         * objects/UML/class.h: 
2320         * objects/UML/class_dialog.c: Work on getting a proper mainpoint
2321         for uml class object.  #ifdef'd out right now.
2323 2005-05-18  Lars Clausen  <lars@raeder.dk>
2325         * objects/standard/line.c: Make line adjust its actual endpoints
2326         for autogap -- looks and feels better.
2328         * objects/standard/arc.c: 
2329         * lib/geometry.h: 
2330         * app/modify_tool.c: Patch from Grégoire Dooms
2331         <dooms@info.ucl.ac.be>:  First stab at autogap for arcs, and
2332         shifted arc angle movement.
2334 2005-05-16  Hans Breuer  <hans@breuer.org>
2336         * lib/widget.c : variable declarations need to be at the start of a block,
2337         at least as we are not using C++ or C99
2339         * plug-ins/python/pydia-property.c : implment the read part for Property
2340         arrays - aka. umlclass.properties["operations"], umlclass.properties["attributes"]
2341         They are working quite well as can be seen with export-object.py
2343         * plug-ins/python/codegen.py : prove it once more with the generation of C++
2344         or Python code from an UML Diagram. Simply save as .py or .cxx ...
2345         * plug-ins/python/Makefile.am : install it
2347 2005-05-16  Lars Clausen  <lars@raeder.dk>
2349         * app/pixmaps/{un}group.png: 
2350         * app/Makefile.am (ICON_PNG_PAIRS): 
2351         * app/menus.c (display_menu_items): 
2352         New icons for grou/ungroup finally added, closing bug #105519.
2354         * app/Makefile.am: Dependencies for pixmaps.
2356         * app/pixmaps/connectable.png: An icon that actually makes sense
2357         for switching connectability.
2359 2005-05-15  Hans Breuer  <hans@breuer.org>
2361         * lib/group.c object/UML/classicon.c : fixed leftovers of
2362         'Adding connectionpoint to _move_handle
2364         * lib/widgets.c : gtk+ *NEVER* eats strings, so gtk_something(widget, g_strdup())
2365         is *ALWAYS* a memory leak. Plug some more.
2367         [
2368          In preparation to make UML operations/attributes/parameters setable by Python
2369          UML class became more StdProp conformant. A nice experience to be the first 
2370          to use the PROP_TYPE_DARRAY stuff about four years after it was written ;-)  
2371         ]
2372         * objects/UML/umlattribute.c objects/UML/umloperation.c 
2373           objects/UML/umlparameter.c objects/UML/umlformalparameter.c : (new files) 
2374         split from objects/UML/uml.c and made StdProp aware
2375         * objects/UML/class.c : finally make "attributes", "operations", "templates"
2376         <template parameters> first class StdProps citizens.
2377         (umlclass_load) : removed hand-written parsing for the above, it is all done
2378         by object_load_props() now. The old write code is still in place, so be very
2379         careful when changing something - at the moment load/save it is 100% compatible 
2380         as it needs to be.
2381         * objects/UML/uml.c : now just type registration here, as it is supposed to be
2382         * objects/UML/Makefile.am objects/makefile.msc : build the new files
2384         * lib/properties.h(PropDescCommonAreaExtra) : need a place to store the 
2385         in-record offsets
2386         * lib/prop_sdarray.c : made the DARRAY case work, SARRAY still untested
2387         (darray_prop_adjust_object_records) : don't loop forever
2388         (whole file) : use the new (working) way to get on the second level offsets.
2389         Also resolved some abbreviations, it is complicated enough without them ;)
2390         * lib/proplist.c : even complete list contents may be optional
2392 2005-05-15  Hans Breuer  <hans@breuer.org>
2394         * lib/bezier_conn.c(remove_handles) : don't try to remove 
2395         non-exisitng handles (patch from Radek Krahl, bug #302273)
2397 2005-05-15  Hans Breuer  <hans@breuer.org>
2399         * plug-ins/metapost/render_metapost.c : locale independent output
2400         (Radek Krahl, bug #301866)
2402 2005-05-12  Lars Clausen  <lars@raeder.dk>
2404         * shapes/Cisco/*.{shape,png}:
2405         * sheets/cisco*.sheet.in:
2406         Updated with color icons from Ian Redfern, closing bug #303889.
2407         Added automatic midpoints, not attempt at adjusting them.
2409 2005-05-11  Lars Clausen  <lars@raeder.dk>
2411         * many shapes:  Use mid of bounding box for midpoint, better than
2412         mid of connection points generally.
2414 2005-05-10  Lars Clausen  <lars@raeder.dk>
2416         * lib/widgets.c: Decided on one way for the ratio thing in arrow
2417         size selector:  Fixed ratio is on by default and keeps the sizes
2418         at the given ratio, but doesn't clamp them to be the same.  Fixes
2419         bug #302861.
2421         * lib/font.c: Fix for bug #303695: Allow more than one entry of
2422         each legacy name, thereby correctly encoding bold and italic of
2423         the three main fonts.  Also use | rather than || to combine slant
2424         and weight, so matching works.  Had to remove binary search for
2425         new font name, but the list is short enough it's not a problem.
2427 2005-05-09  Lars Clausen  <lars@raeder.dk>
2429         * lib/autoroute.c (autoroute_layout_orthconn): Remove debugging info.
2431 2005-05-08  Hans Breuer  <hans@breuer.org>
2433         * objects/UML/class.c : Reverted to have no center point.
2434         At first it looked as if there was only the bug to not increase
2435         class.h:UMLCLASS_CONNECTIONPOINTS. But the UMLClass has 
2436         potentially much more dynamic connection points (to the left
2437         and right of every attribute/operation). Now simply adding one
2438         between see static and dynamic will screw up any existing diagram
2439         which makes use of the dynamic connection points. The would all
2440         be connected with an off-by-one error. I have no idea how to
2441         code around that. But breaking backward compatibility is no 
2442         option here. Does not completely fix bug #303301 ...
2443         
2444         * lib/widget.c(dia_font_selector_set_font): actually set the options 
2445         menu state. So we are not any longer resetting the font style on Apply.
2446         Use "UML - Class" dialog as stress text example.
2448         * app/command.c : some people insist to close diagrams already
2449         closed using tear-off menus. Maybe we should add a dialog 
2450         "Do you want to call Dr. Watson now?". If there is no diagram
2451         to close anymore just do nothing, fixes bug #303221
2452         * app/display.c(ddisplay_close) : use g_return_if_fail(ddisp != NULL);
2453         Calling this with no display to close is a pathological case.
2455         * app/diagram.[hc] : moved object.h and other DiaObject stuff
2456         to the implementation in preparation of Big Things(tm)
2458         * app/interface.c : less warnings and make it compile. strncmp()
2459         does not take a char**, neither does gdk_pixbuf_new_from_inline().
2461         * objects/makefile.msc plug-ins/makefile.msc : less output
2463 2005-05-08  Lars Clausen  <lars@raeder.dk>
2465         * lib/orth_conn.c (orthconn_init): The right place to set the
2466         default autorouting value.  Fixes bug #303291.
2468         * app/display.c (ddisplay_close): Patch from Radek Krahl
2469         (ptasz3k@o2.pl):  Fix crash when using from detached menu
2470         (#303221)
2471         
2472 2005-05-07  Lars Clausen  <lars@raeder.dk>
2474         * lib/orth_conn.c (orthconn_load): Autorouting should default to
2475         off in diagrams that don't have it explicitly.  All diagrams
2476         should be explicit about it.
2478 2005-05-06  Hans Breuer  <hans@breuer.org>
2480         * app/samples/Self/*.dia : some UML diagrams describing Dia's
2481         inner working (or it's future;)
2483 2005-04-26  Lars Clausen  <lars@raeder.dk>
2485         * app/connectionpoint_ops.c (connectionpoint_draw): Temporary
2486         change to display of mainpoint to be easier to debug autogenerated
2487         ones. 
2489 2005-04-23  Hans Breuer  <hans@breuer.org>
2491         * plug-ins/python/diamodule.c plug-ins/python/pydia-object.h
2492           plug-ins/python/pydia-properties.h : use lib/ prefix for
2493         Dia internal headers with too common names (fixes bug #173061)
2495         * app/display.c : stop special casing the first display of
2496         a diagram. Every display now has it's own refernce. The initial
2497         reference gets dropped when there is no display anymore. See
2498         diagram_remove_ddisplay(). Fixes bug #300744.
2500         * app/diapsft2renderer.c : locale independent output
2501         (Radek Krahl, bug #300847)
2502         * app/paginate_psprint.c :  fixing use of setlocale() calls
2503         (Radek Krahl, bug #300886)
2504         * plug-ins/shape/shape-export.c : fixing use of setlocale() calls
2505         (Radek Krahl, bug #300889)
2507         * objects/UML/class.c : fix another crash with the line 
2508         wrapping code (Gabor Simon, bug #160865)
2510         * plug-ins/cairo/diacairo.c : image rendering had an endianess 
2511         issue (or is this working around a libpixman bug?;)
2513 2005-04-21  Lars Clausen  <lars@raeder.dk>
2515         * lib/polyshape.c (polyshape_update_data): Fixed numpoint off-by-one.
2517         * shapes/**/*.shape: All shapes now have midpoints.
2519 2005-04-20  Lars Clausen  <lars@raeder.dk>
2521         * lib/orth_conn.c (orthconn_update_data): Patch from ptasz3k@o2.pl
2522         (Radek Krahl): Make sure there's enough handles for the line.
2523         Fixes bug #173031.
2525         * objects/UML/node.c (node_draw): Better drawing method avoids
2526         garbage after moving.  Fixes bug #301032.
2528 2005-04-17  Hans Breuer  <hans@breuer.org>
2530         * plug-ins/cairo/diacairo.c : again adapt to Cairo API 
2531         changes (whould compile with current cvs and 0.(3|4).0
2533 2005-04-11  Lars Clausen  <lars@raeder.dk>
2535         * xmldocs.make (all): Fix to put installed docs in right place
2536         under disable-gnome.
2538         * doc/en/Makefile.am: Use xml_files var for xml files, EXTRA_DIST
2539         only for dia.dbk.
2541         * app/commands.c (help_manual_callback): Patch from p@kapcoweb.com
2542         (Leonardo Boshell): Use standard gnome help if called with Gnome.
2544         * app/diapsrenderer.c: Patch from ptasz3k@o2.pl (Radek Krahl): Fix
2545         locale issues for eps output.  Fixes bug #173135.
2547 2005-04-10  Hans Breuer  <hans@breuer.org>
2549         * plug-ins/cairo/diacairo.c : adapt to Cairo PNG API 
2550         changes (somewhat broken)
2551         
2552         * plug-ins/pstricks/render_pstricks.c : still C89 ...
2553         * objects/custom/shape_info.c : ... but with prototypes
2554         
2555 2005-04-07  Lars Clausen  <lars@raeder.dk>
2557         * lib/dia_xml.c: 
2558         * plug-ins/svg/render_svg.c: 
2559         * lib/diasvgrenderer.c: Patches from ptasz3k@o2.pl (Radek Krahl):
2560         Make decimal separators be correct in save file formats
2561         (non-localized).  Fixes bugs #172529 and 172531.
2563 2005-04-06  Lars Clausen  <lars@raeder.dk>
2565         * app/create_object.c (create_object_button_release): 
2566         * app/modify_tool.c (modify_button_release): Correct activations
2567         of text edits.
2569 2005-04-05  Simon KÃ¥gström  <ska@bth.se>
2571         * app/app_procs.c: the --show-layers option can now handle numeric
2572         ranges of layers.
2574 2005-04-05  Lars Clausen  <lars@raeder.dk>
2576         * lib/diagdkrenderer.c (draw_string): Patch from tomkast@yahoo.com
2577         (Tom Kast): Avoid blockiness caused by bad updates.
2579 2005-04-03  Lars Clausen  <lars@raeder.dk>
2581         * lib/polyshape.c: 
2582         * lib/beziershape.c: Main points.  A crude solution, having the
2583         center in the middle of the bb.  Shows a bug in the distance_from
2584         code for polyshape when a side is horizontal.
2586 2005-04-02  Lars Clausen  <lars@raeder.dk>
2588         * plug-ins/pstricks/render_pstricks.c: 
2589         * plug-ins/xfig/xfig-export.c: Patch from Radek
2590         Krahl <ptasz3k@o2.pl>: Fix decimal point problems. Fixes bugs 
2592 2005-04-02  Hans Breuer  <hans@breuer.org>
2594         * lib/dia_image.c(dia_image_filename) : return the path 
2595         again. (bug #172416, Radek Krahl)
2596         
2597 2005-04-01  Steve Murphy  <murf@e-tools.com>
2599         * configure.in: Added "rw" to ALL_LINGUAS.
2601 2005-03-31  Lars Clausen  <lars@raeder.dk>
2603         * lib/neworth_conn.c (neworthconn_update_data): Handle autogap.
2605         * lib/orth_conn.c (orthconn_update_data): Handle autogap while not
2606         autorouting.  
2608         * objects/network/basestation.c: Main points.
2610 2005-03-27  Hans Breuer  <hans@breuer.org>
2612         * app/Makefile.am : removed some pixmap/*.xpm from EXTRA_DIST
2613         * app/pixmaps.h : removed arrow.xpm
2614         * lib/Makefile.am : added diamarshal
2615         * plug-ins/python/Makefile.am : added makefile.msc to EXTRA_DIST
2616         => makes 'make dist' pass and produce a useable package
2618         * po/*.po : 'noise' profuced by make dist
2620 2005-03-24  Lars Clausen  <lars@raeder.dk>
2622         * objects/flowchart/parallelogram.c (pgram_update_data): 
2623         * objects/flowchart/ellipse.c (ellipse_update_data): 
2624         * objects/flowchart/diamond.c (diamond_update_data): 
2625         * objects/flowchart/box.c (box_update_data): Main points.
2627         * objects/custom/custom_object.c (custom_create): 
2628         * objects/custom/shape_info.h: 
2629         * shapes/Assorted/square.shape: 
2630         * objects/custom/shape_info.c (load_shape_info): 
2631         * doc/shape.dtd: Added main point support to shapes, and an
2632         example of how to use it.
2634 2005-03-21  Lars Clausen  <lars@raeder.dk>
2636         * lib/autoroute.c (autoroute_layout_orthconn): Remember to
2637         unnormalize from same point as you normalize, or else!
2639 2005-03-20  Lars Clausen  <lars@raeder.dk>
2641         * app/app_procs.c (do_convert): Patch from crux@gorodmasterov.com:
2642         Remember to ref g_object_new'd object.
2644 2005-03-19  Hans Breuer  <hans@breuer.org>
2646         * plug-ins/xslt/xslt.c : don't crash if both places ($SHARE, $HOME)
2647         have configurations, fixes bug #170962
2649         * objects/UML/state.c : ("UML - State")::type is PROP_FLAG_OPTIONAL,
2650         or better not used any longer. Fixes bug #169142.
2652         * lib/element.c(element_update_connections_rectangle): don't initialize 
2653         the eighth point twice but instead the nineth once
2655         * objects/standard/bezier.c : no C++ comments *please*
2657         * lib/plug-ins.h : increment DIA_PLUGIN_API_VERSION
2659         * lib/dia_image.[ch] : dia_image_filename() returns a string not to be freed ...
2660         * plug-ins/python/pydia-image.c : ... so, don't do it!
2662         * lib/dia_svg.c : refactor color parsing and support the "rgb(127,255,0)" form,
2663         also named colors via pango_color_parse()
2665         * lib/prop_text.c : don't try to g_strdelimit(NULL), fixes bug #169367
2667         * lib/libdia.def : updated externals
2669         * app/object_ops.c : still not C99 everywhere
2671 2005-03-19  Hans Breuer  <hans@breuer.org>
2673         * lib/autoroute.c : at least it should compile ;)
2674         
2675 2005-03-19  Lars Clausen  <lars@raeder.dk>
2677         * lib/autoroute.c: Orthconns now do autogap.
2679 2005-03-17  Lars Clausen  <lars@raeder.dk>
2681         * app/authors.h: Added Gregoire Dooms for gap stuff.
2683         * objects/standard/polyline.c: Patch from Grégoire Dooms
2684         <dooms@info.ucl.ac.be>: Autogap and absolute gap for polyline.
2685         
2686         * objects/standard/bezier.c: Patch from Grégoire Dooms
2687         <dooms@info.ucl.ac.be>: Fixes two bugs.  Also autogap no longer a
2688         property. 
2689         
2691         * objects/UML/state_term.c: 
2692         * objects/UML/large_package.c: 
2693         * objects/UML/node.c: 
2694         * objects/UML/object.c: 
2695         * objects/UML/small_package.c: 
2696         * objects/UML/state.c: 
2697         * objects/UML/usecase.c: 
2698         * objects/UML/note.c: 
2699         * objects/UML/actor.c: 
2700         * objects/UML/classicon.c: 
2701         * objects/UML/component.c: 
2702         * objects/Misc/analog_clock.c: 
2703         * objects/Jackson/requirement.c: 
2704         * objects/Istar/goal.c: 
2705         * objects/Istar/actor.c: 
2706         * objects/FS/function.c: 
2707         * object/standard/box.c:
2708         * objects/ER/entity.c: 
2709         * objects/ER/relationship.c: 
2710         * objects/ER/attribute.c: Main points added.   Distance_from fixed
2711         in attribute, broken in relationship, I* goal, Jackson
2712         requirement, analog_clock, all non-rectangular UML elements, 
2714         * lib/libdia.def: 
2715         * lib/element.[ch]: New method to help update connection points.
2717         * app/menus.c: Change Help/Manual to Help/Contents to follow
2718         standard.
2719         
2720         * objects/standard/line.c:
2721         * lib/geometry.[ch]: 
2722         * objects/standard/bezier.c: Patch from Grégoire Dooms
2723         <dooms@info.ucl.ac.be>: Add absolute gap and autogap for line and
2724         bezier objects.   Autogap nowchanged to be a function of the
2725         connpoints.
2727         * lib/libdia.def: 
2728         * lib/connectionpoint.[ch]: New function to ask if a connpoint has the
2729         autogap flag.
2731         * app/connectionpoint_ops.c (connectionpoint_draw): Don't draw
2732         CP_FLAG_ANYPLACE connpoints.
2734 2005-03-16  Lars Clausen  <lars@raeder.dk>
2736         * app/interface.c (create_tools): Removed debug printf.
2738 2005-03-15  Lars Clausen  <lars@raeder.dk>
2740         * lib/widgets.[ch]: Constification.
2742         * app/interface.c: Work on using gdk-pixbuf-csource'd data, not
2743         working yet.
2745         * objects/standard/ellipse.c: Use CP_FLAG_MAIN for central CP.
2747         * lib/connectionpoint.h: Flags for connection points.
2749         * app/create_object.c (create_object_motion): 
2750         * app/modify_tool.c (modify_motion): Minor refactoring.
2752         * app/object_ops.c (object_find_connectpoint_display): Extend with
2753         finding connpoints that cover entire objects.
2755         * app/layer_dialog.c (dia_layer_widget_init): Get rid of warnings.
2757         * objects/custom/custom_object.c (custom_setup_properties): Avoid
2758         uninitialized use.
2760 2005-03-13  Hans Breuer  <hans@breuer.org>
2762         * plug-ins/svg/svg-import.c : handle the <circle/> tag as well
2764 2005-03-13  Hans Breuer  <hans@breuer.org>
2766         * lib/dia_svg.[hc] objects/custom/shape_info.[hc] plug-ins/svg/svg-import.c :
2767         s/DiaSvgGraphicStyle/DiaSvgStyle/, added and use convenience functions 
2768         dia_svg_style_copy(), dia_svg_style_init()
2770         * objects/custom/shape_info.c : use dia_svg_parse_path() from lib/ (it got
2771         moved out of this)
2773         * lib/dia_svg.c(dia_svg_parse_path) : also handle style properties which are
2774         not wrapped in the style attribute
2776         * plug-ins/svg/svg-import.c : implement nested group handling and style
2777         'style inheritance'. Still no transformations, no <image/>, no <style/> 
2778         <defs/>...
2780         * plug-ins/svg/svg-import.c(import_svg) : use message_warning instead of g_warning,
2781         the latter is for programmers.
2782         Also be more tolerant if the document root namespace is not 'svg'. If the svg 
2783         namespace is defined in the file search for the top node including svg. This
2784         allows us to re-read the svg part of our own shape format.
2786         * lib/libdia.def : there is no give_focus_to_object
2787         * app/textedit.c : still no C99,  aka. error C2275: 'Focus' : illegal use of this 
2788         type as an expression
2790         * lib/geometry. c : use G_IMPLEMENT_INLINES
2791         * lib/libdia.def : export point_get_perp (used by xfig plug-in)
2793         * app/textedit.c(textedit_end_edit) : don't crash if the display is already
2794         gone when trying to remove the focus
2796         * plug-ins/cairo/diacairo.c : CAIRO_HAS_WIN32_SURFACE does not any longer mean
2797         it has *my* Cairo Win32 Backend. [The official one isn't useful for the use
2798         case of this plug-in, i.e. producing output files]
2800 2005-03-13  Lars Clausen  <lars@raeder.dk>
2802         * lib/Makefile.am (BUILT_SOURCES): 
2803         * app/Makefile.am (BUILT_SOURCES): Use the Right Way[tm] to force
2804         the building of the icons header files.
2805         * app/dia-lib-icons.h: Out of CVS now that it's correctly generated.
2807 2005-03-13  Hans Breuer  <hans@breuer.org>
2809         * configure.in : require Cairo 0.3.0
2810           plug-ins/cairo/diacairo.c : changed to match ;-)
2812         * app/app_procs.c() : new function dump_dependencies()
2813         which gets called by: dia --version --verbose
2814         and may help to track version dependent problems in
2815         our dependencies
2817         * lib/font.c : reverted to previous version cause using
2818         not implemented Pango API did not improve the issue.
2819         See: http://bugzilla.gnome.org/show_bug.cgi?id=162034
2820         for more information.
2822         * lib/dialinechooser.c : a little shrinking of the 
2823         initial size (to work around line wrappjing the right 
2824         arrow control)
2826 2005-03-11  Lars Clausen  <lars@raeder.dk>
2828         * app/textedit.c: Concentrate start/end editing in single functions.
2830 2005-03-10  Lars Clausen  <lars@raeder.dk>
2832         * lib/text.h: 
2833         * lib/object.h: Added new object function to allow the object to
2834         be notified when its text is being edited.
2836         * lib/libdia.def: 
2837         * app/modify_tool.c: 
2838         * app/commands.c: 
2839         * app/textedit.c: 
2840         * lib/focus.c: Remove sideeffects from focus objects, add getter
2841         for focus->obj.
2843 2005-03-09  Lars Clausen  <lars@raeder.dk>
2845         * lib/Makefile.am (dia-lib-icons.h): 
2846         * app/Makefile.am: Minor cleanup.
2848 2005-03-06  Hans Breuer  <hans@breuer.org>
2850         * app/app_procs.c : avoid "assignment within conditional expression"
2851         and handle -L for the GOption case as well.
2853         * lib/widget.c : strchr() does not return -1 on not found but NULL;
2854         avoids widgets.c(307) : error C4047: '!=' : 'char *' differs in levels of 
2855         indirection from 'const int '
2857         * lib/diasvgenderer.c(draw_arc|fill_arc) : finally correct sweep and 
2858         large_arc, thus produce correct arc output (like diasvg.py does;),
2859         fixes bug #144401
2861         * lib/dia_svg.[hc](dia_svg_parse_path) : new function copied and adapted 
2862         from objects/custom/shape_info.c to be shared with object/custom and
2863         plug-in/svg -> finally the C based svg-import reads pathes again.
2864         Added arc parsing while I was there, which fixes bug #169191
2865         * objects/custom/shape_info.c(parse_path) : 
2866         * plug-ins/svg/svg-import : reuse above function
2867         Also fix the "root element was 'svg' -- expecting 'svg'" bug #108502.
2868         But in general this does only support a small subset of what is 
2869         possible in SVG.
2871 2005-03-06  Lars Clausen  <lars@raeder.dk>
2873         * objects/UML/association.c: Patch from Dave Klotzbach applied:
2874         Add visibility to association arrow.  Fixes bug #157012.
2876         * app/grid.c: Patch from Lawrence Withers fixes grid messiness,
2877         closing bug #161040.
2879         * app/layer_dialog.c (create_button_box): Use stock icons instead
2880         of homemade onces.  Gets us rid of four more XPMs.
2882 2005-03-05  Sampo Kellomaki <sampo@iki.fi>
2884         * app/app_procs.c: Implemented --show-layers=LAYER,LAYER,... option
2885         This option permits command line control of which layers are visible.
2886         Useful when automatically exporting multiple versions of the same
2887         diagram, e.g. slides with overlays. Added-n switch parsing without POPT.
2888       * app/app_procs.h: moved prototype of do_convert() to app/app_procs.c
2889         and made it static since its only used in that file.
2890         * app/authors.h: added myself
2891         * doc/en/dia.1: documented the switch
2892         * doc/en/usage-layers.xml: ditto
2893         
2894 2005-03-05  Alan Horkan <horkana@tcd.ie>
2896         * app/interface.c Change Horizontal scroll policy to NEVER for sheets
2897         this restores how Dia behaved before the GTK2 port and seems to help 
2898         allow the toolbox to be more easily resized.  Bug #108891.
2900 2005-03-05  Lars Clausen  <lars@raeder.dk>
2902         * Civil/civil_motor.shape:
2903         * Civil/civil_rotor.shape:
2904         * Logic/and.shape:
2905         * Logic/buffer.shape:
2906         * Logic/connector.shape:
2907         * Logic/inverter.shape:
2908         * Logic/nand.shape:
2909         * Logic/nor.shape:
2910         * Logic/not.shape:
2911         * Logic/or.shape:
2912         * Logic/xor.shape:
2913         * shapes/Assorted/arrow-left-up.shape: 
2914         * shapes/Assorted/heptagon.shape: 
2915         * shapes/Assorted/star5.shape: 
2916         * shapes/Assorted/trapezoid.shape: 
2917         * shapes/Assorted/triangle-rightangle.shape: Fixed bad use of
2918         defaults, see bug #169143.
2920         * sheets/Assorted.sheet.in: Fixed typo patch applied, bug #169114.
2922         * configure.in: 
2923         * doc/en/Makefile.am: Finally figured out the right way to ask for
2924         the manpage xslt.  Closes bug #144539.
2926 2005-03-01  Lars Clausen  <lars@raeder.dk>
2928         * lib/Makefile.am (nodist_include_HEADERS): 
2929         * app/Makefile.am: Correctly generate these files from PNGs with
2930         automake.
2932         * lib/widgets.h: 
2933         * lib/libdia.def:
2934         * lib/widgets.c: Refactor toggle button factory to allow inline
2935         data.
2937         * lib/pixmaps/Makefile.am: Unify lib pixmaps.
2939         * app/makefile.msc (ICON_PNG_PAIRS): 
2940         * app/dia-app-icons.h: Updated with more icons.
2942         * lib/Makefile.am: 
2943         * app/Makefile.am: Use gdk_pixbuf_csource to create inline data
2944         from pngs.
2946         * app/interface.c (create_display_shell): 
2947         * app/layer_dialog.c (dia_layer_widget_init): 
2948         * lib/dia_image.c (dia_image_get_broken): Use inlined data
2949         generated from png.
2951         * app/display.c (ddisplay_close): Removed unused includes.
2953 2005-03-01  Lars Clausen  <lars@raeder.dk>
2955         * app/sheets.c (create_object_pixmap): Create a placeholder image
2956         for when the real image is missing.  Better than crashing:)
2957         Closes bug #166786.
2959 2005-02-25  Hans Breuer  <hans@breuer.org>
2961         * app/app_procs.c : don't requets to open a default display with
2962         g_option_context_add_group (crux@gorodmasterov.com, bug #168523)
2964 2005-02-22  Lars Clausen  <lars@raeder.dk>
2966         * plug-ins/gprint/diagnomeprint.c (export_data): GNOME, not Gome.
2967         Fixes bug #168125.
2969 2005-02-19  Lars Clausen  <lars@raeder.dk>
2971         * app/menus.c (display_menu_items): Applied patch from bug #94019:
2972         Menu cleanup and addition of icons.  Also a few additional stock
2973         icons. 
2975         * app/layer_dialog.c (create_layer_dialog): Bug #159598: Clean up
2976         the layers dialog.
2978 2005-02-14  Lars Clausen  <lars@raeder.dk>
2980         * INSTALL (ftp): Fixed Pango release typo (bug #153007)
2982 2005-02-13  Lars Clausen  <lars@raeder.dk>
2984         * lib/font.c: First stab at using Gtk 2.4 functions for fixing
2985         width.  Seems to work.  Once tested some more, needs old code
2986         removed. 
2988         * lib/widgets.c (dia_font_selector_create_string_item): Avoid
2989         warning by escaping & properly.
2991 2005-02-06  Lars Clausen  <lars@raeder.dk>
2993         * app/filedlg.c (file_export_callback): Set correct extension as
2994         soon every time the dialog is shown.  Fixes bug #162535.
2996         * app/display.c (ddisplay_set_origo): Use more standard
2997         transformations.
2999         * app/modify_tool.c (modify_motion): 
3000         * app/create_object.c (create_object_motion): Put coordinates of
3001         handle/object in status bar while moving. Fixes bug #163164.
3003 2005-02-03  Lars Clausen  <lars@raeder.dk>
3005         * lib/.cvsignore: Added generated files diamarshal.[ch]
3007 2005-02-02  Lars Clausen  <lars@raeder.dk>
3009         * configure.in: Add GLIB_GENMARSHAL def as suggested in
3010         http://ignore-your.tv/software/libgtcpsocket/docs/client-subclassing.html.
3011         Now compiles on Linux.
3013 2005-02-01  Lars Clausen  <lars@raeder.dk>
3015         * app/sheets.c (sheet_object_mod_get_type_string): We don't really
3016         need to translate the empty string.  Especially not after
3017         g_assert_not_reached().  Fixes bug #165966.
3019 2005-01-07  Tim Olsen  <tolsen@alum.mit.edu>
3021         * objects/UML/activity.c : add fill- and line-colour properties
3022         [applied by Hans Breuer, fixes bug #163260]
3024 2004-01-28  Hans Breuer  <hans@breuer.org>
3026         * doc/en/*.xml doc/en/dia.dbk app/authors.h : documentation
3027         update provided by Alan Horkan (fixes bug #159592)
3029 2004-01-28  Hans Breuer  <hans@breuer.org>
3031         [Extented version for UML to C++ conversion by Dave Klotzbach, bug #155255]
3032         * plug-ins/xslt/dia-uml2cpp.xsl : (new file) ... handles associataions,
3033         generalization, dependancies, parameterized classes ...
3034         * plug-ins/xslt/styleshetts.xml : refernce it
3035         * plug-ins/xslt/dia-uml.xsl : handle more UML types uesd above
3037 2004-01-28  Hans Breuer  <hans@breuer.org>
3039         * objects/UML/transition.c : fill out the extra_spacing struct 
3040         in the OrtConn member, in order to avoid artifacts when draggin 
3041         the transition. (patch by Peter Allin, bug #144956)
3043 2004-01-15  Hans Breuer  <hans@breuer.org>
3045         * plug-ins/cairo/diacairo.c : initialized the renderers default dash_length
3046         to something differnt than 0. Apparently there are case where Dia misses
3047         to appropriately set it before requesting a dashed line (simple line with
3048         arrow as described in bug #151716)
3050         * lib/dia_dirs.c : special casing for drive letters which I broke with
3051         the previous change
3053 2005-01-13  Hans Breuer  <hans@breuer.org>
3055         * app/interface.c(create_sheet_page) : remved dead long time code
3057         * lib/propdialogs.c : removed pdtpp_is_visible_no_standard() prototype,
3058         it is availbale via header - which is the better style anyway
3060 2004-12-31  Hans Breuer  <hans@breuer.org>
3062         * lib/dia_dirs.c(dia_get_canonical_path) : complete
3063         rewrite to handle something like /mnt/some/where/../else
3064         too. Workaround for bug #162637.
3065         * app/filedlg.c : call gtk_file_chooser_set_current_name()
3066         to workaround gtk_file_chooser_set_filename() not setting
3067         it if the file does not exist
3069         * sheets/Jackson.sheet.in app/menus.c : fixed typos
3070         (Frank Arnold, bug #161676)
3072 2004-12-31  Steffen Macke <sdteffen@gmail.com>
3074         * doc/pl/*.xml: Added XML prolog
3075         * makefile.msc: Added libxslt, fixed libxml, libart
3077 2004-10-29  Alexander Shopov  <ash@contact.bg>
3079         * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
3081 2004-12-29  Lars Clausen  <lars@raeder.dk>
3083         * configure.in: Make gnomeprint be truly off by default (typo) and
3084         show optional compilation correctly.
3085         * plug-ins/gprint/Makefile.am: Exclude gnomeprint if not optioned in.
3087 2004-12-22  Hans Breuer  <hans@breuer.org>
3089         * lib/widgets.c : destroy handlers can be called more than once, 
3090         see http://developer.gnome.org/doc/API/2.0/gtk/gtk-changes-2-0.html
3092         * app/app_procs.c : #ifdef GLIB(2.6.0) but GTK(2.4.x)
3093         
3094         * app/display.c : temporary debug code showing the
3095         timing the rendering
3097         * app/dialibartrenderer.c(draw_string) : removed dead
3098         code loading and leaking font and face
3100 2004-12-15  Hans Breuer  <hans@breuer.org>
3102         * app/display.c : actually use the selction-changed signal for something
3103         useful. Show selections representation on statusbar.
3104         * lib/object.h lib/prop_text.c lib/libdia.def : provide objet_get_displayname() 
3105         * app/diagram_tree.c : use new function (as in app/display.c) and only
3106         poke into property internals at one place
3107         * app/diagram.c : use g_signal_handlers_block_by_func to avoid has-no-handler-
3108         complains
3110 2004-12-12  Hans Breuer  <hans@breuer.org>
3112         * lib/libdia.def app/dia.def : updated externals
3114         * objects/custom/custom_object.c : custom_destroy is called per object. 
3115         It _must not_ destroy class stuff (ShapeInfo) cause it does not hold a 
3116         reference to it. Fixes e.g. bug #158288, #160550, ...
3118         * objects/UML/association.c(association_draw) : completed porting to
3119         draw_polyline_with_arrows()
3120         (association_update_data_end) : fixed typo in point compare
3121         (association_update_data) : for name placement take degenerated 
3122         segements into account. Together this fixes bug #143891
3124 2004-12-11  Hans Breuer  <hans@breuer.org>
3126         * lib/widgets.c(set_size_sensitivity) : revert inverted
3127         logic for arrorw size selections, fixes bug #160527
3129 2004-12-11  Hans Breuer  <hans@breuer.org>
3131         * lib/widgets.c(dia_font_selector_set_font) : initialize
3132         the font style widget, too. Gets rid of empty font
3133         style and thus default broken font style, e.g. UML::class_name
3135         * lib/widgets.c(dia_color_selector_more_callback) : fill
3136         the color palette from dynamic menu entries and also
3137         preselect the current color to the last select entry
3138         
3139         * plug-ins/python/pydia-diagramdata.c : hold a reference
3140         to the underlying GObject
3141         
3142         * app/Makefile.am app/diagrid.h : new file containing the 
3143         grid 'class' moved from DiagramData to Diagram. 
3144         Also moved pagebreak_color and guides cause they are only 
3145         used for visual appearance not 'data'.
3146         * lib/diagramdata.[ch] app/diagram.h app/dia-props.c app/grid.c
3147           app/load_save.c plug-ins/python/pydia-diagramdata.c : reflect 
3148         the above change
3150         * lib/diagramdata.[ch] app/app_procs.c app/diagram.c 
3151           lib/libdia.def : get rid of new_diagram_data() 
3152         Diagram _is_ DiagramData (and does not have one any longer,
3153         just a compatibility pointer)
3154         
3155         * lib/diarenderer.h : a small doc improvement
3157 2004-12-11  Hans Breuer  <hans@breuer.org>
3159         * objects/UML/class.c : line wrapping code buffer
3160         overrun fixed by Gabor Simon, bug #160865
3162 2004-12-11  Hans Breuer  <hans@breuer.org>
3164         * plug-ins/python/pydia-diagram.c : hold a reference
3165         to the diagram in PyDiaDiagram, avoids bug #159080
3166         [another way to avoid is to detroy the dialog by
3167         clsoing it. But now there is still a diagram to
3168         apply the changes to, even if it's thrwon away just
3169         afterwards]
3171 2004-12-10  Hans Breuer  <hans@breuer.org>
3173         * **/*.c : fixed a bunch of warnings, not only for -ansi
3174         (still too many of them, but -ansi works)
3175         lib/
3176         prop_geomtypes.h prop_geomtypes.c:306: warning: static 
3177         declaration for `fontsizeprop_reset_widget' follows non-static
3178         dia_dirs.c:196: warning: return discards qualifiers from 
3179         pointer target type
3181         objects/custom/
3182         shape_info.c:121: warning: static declaration for `parse_path' 
3183         follows non-static
3185         objects/SADT/
3186         arrow.c:228: warning: `draw_arrowhead' declared `static' but never defined
3187         arrow.c:244: warning: unused variable `i'
3188         arrow.c:245: warning: unused variable `p'
3189         arrow.c:246: warning: unused variable `zzr'
3190         
3191         object/Istar/*.c object/Jackson/*.c  object/KAOS/*.c : 
3192         finally removed c++ comments
3193         
3194         objects/Istar/goal.c : initialize connections::directions
3195         while I was there - helps autorouting
3197         * objects/KAOS/metaandorrel.c objects/Istar/link.c 
3198           objects/KAOS/metabinrel.c : removed struct _DiaImage hack
3199         (it would be quite simple to add image-from-memory support
3200         to lib/ if needed)
3202         * pydia-*.h : warning: no newline at end of file
3203         
3204         * plug-ins/gprint/diagnomeprint.c : allow to unregister
3205         and follow new unique name naming convention
3206         * plug-ins/gprint/diagnomeprintrenderer.c : no c++ comments
3207         here either
3209 2004-12-07  Hans Breuer  <hans@breuer.org>
3211         * objects/UML/message.c : better default for initial text placement
3212         a suggested in bug #154306, Henning Mersch
3213         * objects/UML/constraint.c : doing the same
3215         * app/filedlg.c : include persistence.h for persistence_get_integer
3216         * lib/libdia.def export it
3218 2004-12-05  Hans Breuer  <hans@breuer.org>
3220         * app/grid.c : respect dynamic grid during snap-to, fixes 
3221         bug #135124, Dmitriy Morozov. Added some additional magic
3222         to make the grid size more useable.
3224 2004-12-05  Hans Breuer  <hans@breuer.org>
3226         * app/app_procs.c : make it compile for the HAVE_POPT and
3227         G_LIB_CHECK_VERSION(2,5,5) case, minor formating
3228         
3229         * lib/plug-ins.c : don't pass non exiting files to xmlDiaParseFile()
3230         * app/app_procs.c : only dia_pluginrc_write() and create_user_dirs()
3231         when interactive. Fixes bug #119329
3232           
3233         * plug-ins/cairo/diacairo.c : adapt to new type naming
3234         scheme (introduced by accident;-) for pixbuf-*
3235         * app/app_procs.c : reflect both type name changes
3237 2004-12-04  Hans Breuer  <hans@breuer.org>
3239         * objects/standard/image.c : fix the correct warning
3240         `image_file_name' might be used uninitialized
3241         
3242         * app/filedlg.c : near complete rewrite
3243         - removed 'related dialog', GtkOptionMenu, most global vars,
3244         also don't hide the dialog but let it go.
3245         - added: filter view by extension, hopefully working diagram
3246         referencing, GtkComboBox usage
3247         
3248         * plug-in/pixbuf/pixbuf.c : switched to dynamic generation
3249         of im/export filter entries. So the user interface reflects
3250         the dynamic nature of pixbuf loaders
3252         * lib/filter.[ch] : implement filter_unregister_*port
3253           lib/libdia.def : added new functions
3254           plug-ins/cgm/cgm.c plug-ins/dxf/dxf.c
3255           plug-ins/hpgl/hpgl.c plug-ins/metapost/metapost.c
3256           plug-ins/pstricks/pstricks.c plug-ins/svg/svg.c
3257           plug-ins/wpg/wpg.c plug-ins/xfig/xfig.c
3258           plug-ins/cairo/cairo.c plug-ins/pixbuf/pixbuf.c :
3259         use them in _plugin_unload () thus all these plug-ins
3260         can be loaded used and unloaded during Dia's runtime
3262 2004-12-04  Lars Clausen  <lars@raeder.dk>
3264         * lib/diagramdata.h: Access methods for units defined per diagram.
3266         * lib/font.c (dia_font_new_from_style): More proper object creation.
3268         * lib/properties.h: Refactored the PROP_STD_* macros to allow
3269         different options.
3271         * app/diagram.c (diagram_init): Force filename to be absolute
3272         path, easing the job for load/save.
3274 2004-12-03  Hans Breuer  <hans@breuer.org>
3276         * lib/libdia.def : removed dia_marshal_*, they are implemented as macros.
3277         added dia_font_set_height, dia_font_copy (note to self: don't try to
3278         maintain these from the *NIX side ;)
3280         * lib/widgets.h : removed DiaColorSelector::col, it is not maintained by
3281         the new color selection anymore
3282         * objects/UML/class_dialog.c : with the above change it would have been more 
3283         easy to fix the color loss bug #156996 which had nothing to do with 'a pointer
3284         problem' but only was an unfinished usage of dia_color_slector(get|set)_color
3286         *  objects/UML/class_dialog.c  objects/UML/class.[ch] : uml_apply_properties
3287         (used in object vtable) and make its prototype match
3289         * lib/widgets.c : made all the GtkTypeInfo 'static const'. I can't directly
3290         correlate any of these strange crashing bug with it, but assume bad things to 
3291         happen when one passes stack allocated stuff to gtk_type_unique()
3293         * lib/widgets.c(dia_font_selector_get_font) : don't access menuitem if it is
3294         not there. Fixes most of the warnings from bug #156996
3296         * lib/makefile.msc : rules to generate diamarshal.[ch]
3298 2004-11-29  Hans Breuer  <hans@breuer.org>
3300         * app/disp_callbacks.c : reenable so-called preedit
3301         as described in bug #158859, Etsushi Kato
3302         Also fixed some compiler warnings while there.
3303         
3304         * objects/standard/image.c(get_directory) : make
3305         the documentation match the implementation.
3306         (image_save) : don't write a leading slash on 
3307         relative filenames 
3309         * plug-ins/gprint/diagnomeprintrenderer.c :
3310         switched to gnome-print-pango usage
3311         
3312         * app/app_procs.c configure.in : although Dia
3313         is not threaded it appears as if we have to
3314         g_thread_init() to avoid crashing in some
3315         libraries which are thread enabled
3317         * lib/diamarshal.list lib/Makefile.am : start of
3318         using GSignal to clean up some object relations
3319         * lib/libdia.def : export marshallers
3320         * app/diagram.[ch] : emit signals when REMOVED,
3321         SELECTION_CHANGED
3322         * app/display.c : added a connection to 
3323         SELECTION_CHANGED to test the new signal stuff
3324         
3325         * app/diagram.c : fixed diagram_finalize while I
3326         was there.
3328 2004-11-28  Hans Breuer  <hans@breuer.org>
3330         * plug-ins/wmf/wmf.cpp(draw_string) : write the widechar version of 
3331         the text if conversion to current locale fails. [This is actually
3332         using code written four years ago;]
3333         * plug-ins/wmf/wmf_gdi.(h|cpp) : added TextOutW (no real implemantation)
3335         * objects/standard/image.c(image_load) : be more robust against 
3336         filenames which seem to be absolute
3338 2004-11-27  Hans Breuer  <hans@breuer.org>
3340         * app/filedlg.c(file_save_callback) : convert to
3341         filename encoding before passing to diagram_save()
3342         Fixes bug #158381, thanks to Robert Ã–gren
3344 2004-11-27  Hans Breuer  <hans@breuer.org>
3346         * lib/dialibartrenderer.c : sometimes its good to read
3347         compiler warnings. Not only define renderer_finalize
3348         but actually *use* it. Should plug a potential huge
3349         memory leak.
3351         * configure.in plug-ins/Makefile.am 
3352           plug-ins/gprint/Makefile.am : build the experimental
3353         gnomeprint plug-in on *NIX, too.
3354         * plug-ins/gprint/diagnomeprint.c : don't include
3355         specific (private) backend headers but instead select
3356         the desired backend via config key setting
3358         * lib/diagdkrenderer.c : add 1 to size of filled arc 
3359         to be rendered by gdk. Fixes bug #150896.
3361         * plug-ins/gprint/diagnomeprint.c 
3362           plug-ins/gprint/diagnomeprintrenderer.c : added magic
3363         to better match page and dash sizes
3365 2004-11-27  Hans Breuer  <hans@breuer.org>
3367         * plug-ins/shape/shape-export.c : it's g_strdup_printf
3369 2004-11-27  Hans Breuer  <hans@breuer.org>
3371         * app/app_procs.c : mention eps-builtin aka. "using
3372         latin1", does not fix the eps-pango issues but #150571
3374 2004-11-27  Hans Breuer  <hans@breuer.org>
3376         * sheets/Cybernetics.sheet.in : changed encoding to 
3377         utf-8, patch from Takeshi AIHANA, fixes #149580
3379 2004-11-27  Hans Breuer  <hans@breuer.org>
3381         * objects/custom/custom_object.c : many existing shapes
3382         rely on a square default size, revert to it although
3383         it originally was by a typo. Fixes bug #148527.
3385 2004-11-27  Hans Breuer  <hans@breuer.org>
3387         * app/load_save.c(dia_cleanup_autosave) 
3388           app/diagram.c : don't use dia->filename if already 
3389         freed and dont use printf at all.
3391         * app/paginate_psprint.c : not only set the renderer::paper
3392         but also renderer::is_portrait. Should fix bug #142524
3394 2004-11-26  Hans Breuer  <hans@breuer.org>
3396         * dia.desktop.in : added Bug Buddy headers (as seen
3397         in planner). Hopefully the automatically filling of
3398         bugs is more meaningful by this.
3399         
3400         * objects/custom/custom_util.c objects/standard/image.c
3401           lib/plug-ins.c : getting rid of deprecated g_dirname,
3402         fixes some more memory bugs : AddrAddress 0x3586C010 is 24 
3403         bytes inside a block of size 44 free'd
3404         
3405         * lib/persistence.c(persistence_load_list) : don't
3406         leak string
3407         
3408         * lib/diaerror.[ch] : (new file) start of better error handling
3409         * lib/Makefile.am lib/makefile.msc lib/libdia.def: 
3410         added new files/funcs
3411         * lib/proplist.c lib/propinternals.h (prop_list_load) : 
3412         allow to propagate error to caller. Also set PXP_NOTSET
3413         to avoid applying unset properties, fixes bug #155255
3414         * lib/propobject.c lib/prop_sdarray.c : still spewing
3415         g_warnings but now with context information
3416         
3417         * app/filedlg.c : more absolute filenames where required
3418         and strip them where we need the filename only
3419         Also explicit DONT choose gnome-vfs backend cause its
3420         threading appears to crash Dia - at least in GNOME build,
3421         see bug #159558
3423 2004-11-26  Hans Breuer  <hans@breuer.org>
3425         * app/filedlg.c : don't use relative filenames for
3426         gtk_file_chooser_set_filename(), GtkFileChooserDialog is very
3427         pedantic about it.
3428         (export_set_extension) : if we don't have a filename don't
3429         use it in strrchr() to avoid crashing
3430         
3431 2004-11-23  Hans Breuer  <hans@breuer.org>
3433         * app/app_procs.c : fixed build for the GNOME case
3434         (let's rip out POPT and depend on glib-2.6, please ;-)
3436 2004-11-23  Hans Breuer  <hans@breuer.org>
3438         * app/app_procs.c : fixed typo which broke the
3439         build for HAVE_POPT case
3440         
3441 2004-11-21  Hans Breuer  <hans@breuer.org>
3443         * app/app_procs.c : some more #if-mess, but one day
3444         we should rely on GLib's 2.6 Option Parser alone
3445         
3446         * plug-ins/wmf/wmf.cpp : use SC() when scaling width
3447         and height for RoundRect() - otherwise size depends on offset,
3448         shorten the unique name
3449         
3450         * plug-ins/python/diamodule.c : provide a unique name
3451         for python filters as well
3453         * lib/dialibartrenderer.c : fix the drawing of Gdk based text
3454         by using the right colors (need black background cause we
3455         are tinitng it with the real color later)
3457         * lib/dia_dirs.c(dia_get_canonical_path) : use G_DIR_SEPARATOR_S
3458         instead of hardcoded slahes, improved portability 
3460         * app/paginate_gdiprint.cpp : use the right filter name to find wmf
3461         plug-in. Also added some more error reporting (e.g. no printer driver)
3463         * plug-ins/gprint/diagnomeprintrenderer.[hc] plug-ins/gprint/diagnomeprint.c
3464           plug-ins/makefile.msc : resurrection of the gnome print renderer. 
3465         Kinda works (alpha quality) for export but does not print yet. 
3466         With bug #158972 resolved this does even work on win32 :-)
3468 2004-11-07  Hans Breuer  <hans@breuer.org>
3470         * doc/diagram.dtd : <composite> can have <composite/>,
3471         <font/> has two 'optional' atributes 'style' and 'family',
3472         these are used to store new (since 0.91) font info.
3473         With this changes non of the issues in bug #147431 remains.
3475         * plug-ins/python/otypes.py : starting to implement an
3476         'create all known object' file as ne stress test source
3477         for the dtd and Dia in general.
3479 2004-11-06  Hans Breuer  <hans@breuer.org>
3481         * app/diapsrenderer.c : don't convert to locale but to 
3482         "LATIN1", fixes bug #146641
3484 2004-11-06  Hans Breuer  <hans@breuer.org>
3486         * app/diagram_tree.c : still no C99 everwhere ...
3487         * lib/libdia.def : update externals
3488         * plug-ins/pstricks/render_pstricks.c : #include <locale.h>
3490         * app/app_procs.[hc] : declare, use ...
3491            app/winmain.c : ... and implement dia_redirect_console().
3492         Even though newer Gtk version don't popup a console window
3493         anymore redirecting the error messages to a file in $TEMP appears
3494         to be much more reasonable than just ignoring it. Fixes bug #150777
3495         based on a patch from Steffen Macke
3497 2004-11-06  Hans Breuer  <hans@breuer.org>
3499         * plug-ins/wmf/wmf.cpp plug-ins/wmf/wmf_gdi.* : added/used
3500         RoundRect() for high level renderer api implementation thus
3501         fixing bug #138744 reported by Lars Clausen
3503 2004-11-06  Hans Breuer  <hans@breuer.org>
3505         * app/prefernces.c : applied patch to make showing the diagram 
3506         menubar the default (advanced users know how to switch it off)
3507         Fixes bug #150706, Steffen Macke
3509 2004-11-06  Hans Breuer  <hans@breuer.org>
3511         * app/commands.c app/commands.h : added view_fullscreen_callback()
3512           view_unfullscreen()
3513           app/menus.c : use it (/View/Fullscreen) thus fixing bug #94090
3514         * app/disp_callbacks.c : use view_unfullscreen() for GDK_Escape
3515         ALso modified to allow handling of unmodified keys again (aren't
3516         there plenty of bug reports for this?
3518 2004-11-06  Hans Breuer  <hans@breuer.org>
3520         * objects/UML/class_dialog.c : fixed casts for usage
3521         of dia_color_selector_set_color()
3522         
3523         * app/filedlg.c : pass a valid filenames to 
3524         gtk_file_chooser_set_filename(), if we don't have a name
3525         don't call it at all. Gets rid of "libgnomevfs-CRITICAL **: 
3526         file gnome-vfs-utils.c: line 749 (gnome_vfs_get_uri_from_local_path): 
3527         assertion `local_full_path[0] == '/'' failed"
3528         
3529 2004-11-06  Lars Clausen  <lars@raeder.dk>
3531         * app/properties.c (create_dialog): 
3532         * app/diagram_tree_window.h: 
3533         * app/diagram_tree.h (HIDDEN_TYPES_NAME): 
3534         * app/diagram_tree_menu_callbacks.c: 
3535         * app/diagram_tree_window.c: 
3536         * app/diagram_tree_menu.c: 
3537         * app/diagram_tree.c: Changed to use persistence instead of
3538         strange hacks in preferences.
3540         * lib/persistence.h:
3541         * lib/persistence.c (persistent_list_get_glist): Don't deref null
3542         pointer.  New function persistent_list_remove_all, and
3543         fixed persistent_list_remove to ... work!
3545 2004-11-05  Lars Clausen  <lars@raeder.dk>
3547         * app/paginate_psprint.c (diagram_print_ps): Call
3548         diagram_print_destroy on destroy rather than delete_event.  That
3549         way the gtk_widget_destroy() calls cleans up properly.  Fixes bug
3550         #154898. 
3552 2004-11-02  Lars Clausen  <lars@raeder.dk>
3554         * objects/UML/class.c (umlclass_load): Actually load the saved
3555         fonts and font sizes. Fixes bug #157016
3557         * configure.in: Require at least GTK+ 2.4.
3559         * app/filedlg.c: Changed to use 2.4 file dialog!  Finally,
3560         finally, finally.  Not quite bulletproof yet, and I need to figure
3561         out a minimum version of Gtk that doesn't spew warnings all over.
3563         * app/diagram.[ch]: diagram_set_filename with const filename.
3565         * app/sheets_dialog_callbacks.c
3566         (on_sheets_dialog_button_apply_clicked): Sheet menu now almost
3567         correctly recreated.  Still something fishy with the sheet menu in
3568         the dialog after adding a new sheet.  Probably the sheet name
3569         being stomped.
3571 2004-11-01  Lars Clausen  <lars@raeder.dk>
3573         * lib/widgets.[ch] (dia_dynamic_menu_reset): Harden against memory
3574         stmping.  Now requires g_free here and there.
3576         * app/preferences.[ch] (prefs_data): Got rid of hidden prefs value
3577         for remembering last sheet, better off as persistent string.  Must
3578         hunt down other things like that.
3580         * app/interface.c (create_sheets): Now remembers last sheet
3581         selected again. Fixes bug #157036.
3583 2004-11-01  Hans Breuer  <hans@breuer.org>
3585         * plug-ins(tex_escape_string) : fixed it [g_utf8_next_char
3586         will never become NULL but only point to the next char
3587         which might indeed be \0]
3588         Use tex_escape_string() to avoid writing invalid tex,
3589         fixes bug #112377
3591         * **/* : a bunch of changes caused by trying 'make distcheck'
3592         which still fails, see Bug #144527
3594 2004-10-31  Lars Clausen  <lars@raeder.dk>
3596         * plug-ins/pstricks/render_pstricks.c (export_pstricks): Avoid
3597         floating point numbers being printed with commas.  Fixes bug
3598         #156148.
3599         
3600         * app/interface.c (create_sheet_dropdown_menu): New function to
3601         create the sheet menu, and also allow recreation.  Still buggy and
3602         slightly prone to magic.
3604         * objects/UML/class_dialog.c
3605         (attributes_list_selection_changed_callback): Don't try to update
3606         the widgets after they're destroyed.  Fixes bug #156706 (I think).
3608         * lib/widgets.c (dia_unit_spinner_new): Avoid crash on NULL
3609         adjustement.  Fixes bug #154637
3611         * sheets/ER/Makefile.am (PIX): 
3612         * sheets/GRAFCET/Makefile.am (PIX): 
3613         * sheets/Jackson/Makefile.am (PIX): 
3614         * sheets/Istar/Makefile.am (PIX): 
3615         * sheets/KAOS/Makefile.am (PIX): Actually install PNG instead of
3616         XPM.  Why these have their pictures in sheets rather than shapes I
3617         don't know.  Fixes bug #152142.
3619 2004-10-31  Hans Breuer  <hans@breuer.org>
3621         * plug-ins/pixbuf/pixbuf.c : when running non interactive
3622         Dia won't call color_init() as it assumes no display. If
3623         we have one as tested ourselve we can as well color_init()
3624         to avoid g_warnings() and produce the right collors.
3625         Fixes bug #155495.
3626     
3627         * app/app-procs.c : try to be a little more helpful
3628         and correct with regard to the command line options.
3629         Renamed --export-to-format to --export-filter and some
3630         other string changes
3632 2004-10-31  Hans Breuer  <hans@breuer.org>
3634         * plug-ins/wmf/wmf_gdi.cpp plug-ins/wmf/wmf_gdi.h :
3635         added GetDeviceCaps() dummy implementation to make 
3636        'wmf' compile on Linux, too.
3638 2004-10-31  Hans Breuer  <hans@breuer.org>
3640         * plug-ins/wmf/wmf.cpp : patch from Robert Ã–gren <gtk@roboros.com>
3641         to finally fix the long lasting clipping issue, bug #85831
3642         Also fixed the line style issue for printing on XP and don't 
3643         miss to ReleaseDC()
3645         * plug-ins/wmf/wmf_gdi.[hc] : added ReleaseDC()
3647         * plug-ins/python/diasvg.py : filter illegal characters from <text/> section
3648         (e.g. &lt; instead of <), fixes bug #155697 (Duncan Palmer)
3650         * plug-ins/python/pydia-error.[hc] : improvede exception handling to transfer 
3651         some info from the console (soon gone on windoze) to message_error()
3652         * plug-ins/python/pydia-render.c plug-ins/python/diamodule.c : use it.
3653         Also some setlocale() hack to let Python behave as expected for LC_NUMERIC
3655         plug-ins/python/diasvg_import.py : re.compile() only once per expression
3656         and some more playing with scaling
3658         * plug-ins/python/makefile.msc : updated
3660 2004-10-30  Hans Breuer  <hans@breuer.org>
3662         * shapes/Civil/civil_arrow_right.shape : removed
3663         <aspectratio type="fixed" /> thus allowing to change
3664         width and height independently, fixes #154897 
3665         (Serge Robinson) by making it consistent with the
3666         up arrow
3668 2004-10-30  Hans Breuer  <hans@breuer.org>
3670         * plug-ins/xfig-xfig-export.c(hasArrow) : don't crash
3671         on arrow being NULL, fixes bug #143063
3673 2004-10-30  Hans Breuer  <hans@breuer.org>
3675         * lib/diagramdata.c app/diagram.c app/disp_callbacks.c
3676           plug-ins/python/pydia-diagram.c plug-ins/python/pydia-diagramdata.c :
3677         removed use of chached variable DiagramData::selected_count
3678         * lib/diagramdata.h : renamed to selected_count_private
3679         (kept for binary compatibility and sanity checks)
3680         * lib/diagramdata.c : more checks on a screwed up selection list
3682         * app/diagram.c(diagram_group_selected) : don't screw up the
3683         DiagramData::selected list, was assignment of parent_list_affected(),
3684         * lib/diagramdata.c (data_select, data_unselect) : protect against
3685         multiple selections of the same object and removement of a not selected
3686         object (apparently caused by the recently added group undo stuff)
3687         together with the above this finally fixes bug #153525
3689         * app/Makefile.am : fix ./autogen.sh ->
3690         app/Makefile.am:171: blank line following trailing backslash
3692         * app/commands.c(objects_group_callback,objects_ungroup_callback) :
3693         ddisplay_do_update_menu_sensitivity() here as well
3695         * configure.in : make the experimental state of the cairo plug-in
3696         more visible
3697         
3698         * app/dia-props.c(diagram_properties_update_sensitivity) : don't
3699         try to update anything if we can't find an active diagram
3700         Additionally set static dialog pointer to NULL by gtk_widget_destroyed
3701         
3702         * configure.in : another attempt to fix bug #156116. If there is
3703         anyone with autotools knowledge reading this - help appreciated ;-)
3705 2004-10-30  Hans Breuer  <hans@breuer.org>
3707         * objects/makefile.msc objects/UML/Makefile.am
3708           objects/UML/uml.c objects/UML/transition.c 
3709           objects/UML/pixmaps/transition.xpm sheets/uml.sheet.in : 
3710         Patch from Peter Allin adds statechart transitions to the UML sheet -
3711         bug #144956 - modified to not print("%s", NULL) which crashes on
3712         newer glib versions. Also added pixmap/transition.xpm to Makefile.am
3714 2004-10-30  Hans Breuer  <hans@breuer.org>
3716         * doc/sheet.dtd doc/diagram.dtd : the namespace does *not* 
3717         match the website anymore, i.e. sould remain unchanged. 
3718         See below and lib/dia_xml.h for the reasoning
3720         * lib/libdia.def : removed dia_color_selector_get_type
3722         * lib/dia_image.c(dia_image_load) : check for pixbuf warnings
3723         (like broken PNG) and g_warning if appropriate
3725         * app/interface.c : #include "message.h"
3727         * app/diaunitspinner.hc : replaced the superfluous #if-0-juggling,
3728         used #error "Moved to lib/widgets.[hc]" instead (IMO it would be
3729         better to just move diaunitspinner to lib/ instead of polluting
3730         widgets.[hc] even more ;)
3731         * app/makefile.msc lib/libdia.def : updated
3733         * app/filedlg.c : patch from gtk@roboros.com, fixes #156224
3734         * app/app_procs.c : patch from gtk@roboros.com, fixes #156088
3736         * config.h.win32 : #define HAVE_CAIRO to let the Cairo plug-in
3737         do something useful when compiled
3739         * plug-ins/cairo/diacairo.c : added 'PNG with alpha' rendering.
3740         Also some more #ifdefed backends usage.
3742 2004-10-10  Lars Clausen  <lars@raeder.dk>
3744         * lib/widgets.c: Better labels for color selector menu.
3746         * app/dia-props.c (diagram_properties_respond): 
3747         * app/preferences.c (prefs_get_value_from_widget): Don't assume
3748         that a dia color selector is of type DiaColorSelector:)
3750         * lib/widgets.[ch]: Color selector changed to dynamic menu.
3752         * lib/prop_attr.c (colorprop_set_from_widget): Don't assume
3753         DiaColorSelector. 
3755 2004-10-09  Lars Clausen  <lars@raeder.dk>
3757         * lib/diaarrowchooser.c (dia_arrow_preview_init): Slightly wider
3758         arrow preview to avoid long arrow heads flipping.
3760         * lib/arrows.[ch]: Support for getting from name to arrow type,
3761         and for listing all arrow names.
3762         
3763         * lib/widgets.[ch]: Changed arrow selector to use dynamic menu.
3765         * lib/libdia.def: Added new global functions.
3767         * lib/persistence.[ch]: Two of the persistent_list functions to
3768         return whether the item was found in the list.
3770         * app/interface.c (create_sheets): Use DiaDynamicMenu to handle
3771         the growing number of sheets.
3773         * lib/widgets.[ch]: Add DiaDynamicMenu as a generalization of the
3774         font menu.
3776 2004-10-05  Lars Clausen  <lars@raeder.dk>
3778         * objects/UML/association.c: Patch from Harvey Thompson
3779         <harveyandsu@yahoo.com>:  Better placement of association texts.
3781 2004-10-03  Lars Clausen  <lars@raeder.dk>
3783         * lib/widgets.c (dia_font_selector_add_menu_item): Make font menu
3784         use the fonts in question.  Can't set tooltips with the name since
3785         lib objects don't know the tool_tips thing, which is rather
3786         app-related.
3788 2004-09-19  Hans Breuer  <hans@breuer.org>
3790         * plug-ins/xslt/*.xsl : s/apply-templates match/apply-templates select/
3791         fixes bug #148278, carlosrp@idea.com.py (Carlos Ra�l Perasso)
3793 2004-09-19  Hans Breuer  <hans@breuer.org>
3795         * dia.desktop.in : string changes as proposed in bug #151822
3796         
3797         * lib/Makefile.am : remove -module from libdia_la_LDFLAGS,
3798         appearts not to be needed on Linux and breaks the build 
3799         on OSX. Fixes bug #152970
3800         
3801 2004-09-18  Lars Clausen  <lars@raeder.dk>
3803         * app/commands.c (view_show_all_callback): Add a bit of border
3804         around Ctrl-E'd diagram, for easier select and better view of edges.
3806 2004-09-19  Hans Breuer  <hans@breuer.org>
3808         * app/Makefile.am : trying to fix the fix from 2004-02-15
3809         Overwriting AM_LDFLAGS still gave a automake warning and it 
3810         also appeard to break linking against gtklibs in a differnt 
3811         prefix. Use dia_LDFLAGS instead.
3813         * plug-ins/svg/svg-import.c : initialize 'end' before usage
3814         patch from dcbw@redhat.com (Dan Williams), fixes bug #150548
3815         
3816         * lib/diarenderer.c : don't try to draw lines which are so much 
3817         degenerated that their point count became negative, fixes bug #148139
3818         
3819         * lib/font.c(layout_cache_equals) : don't crash on nonexisting 
3820         strings (NULL from g_strdup()) 
3822 2004-09-10  Steffen Macke <sdteffen@web.de>
3824         * lib/libdia.def: added color_new_rgb(), focus_previous(),focus_next(),
3825         give_focus(),give_focus_to_object(),remove_focus(),reset_foci()
3826         * app/create_object.c:
3827         * app/diaunitspinner.c:
3828         * app/disp_callbacks.c:
3829         * app/makefile.msc:
3830         * app/modify_tool.c:
3831         * lib/prop_geomtypes.c:
3832         * lib/prop_geomtypes.h: made compile with msvc
3834 2004-09-10  Lars Clausen  <lars@raeder.dk>
3836         * lib/widgets.c: Insulate conversion from outside API by adding
3837         internal function to set value.  Adjustment not appropriate for
3838         units yet.
3840         * lib/prop_geomtypes.c (lengthprop_get_widget): Remove debug info
3842 2004-09-07  Lars Clausen  <lars@raeder.dk>
3844         * app/diapagelayout.c: Include from widgets.c rather than
3845         diaunitspinner.
3847 2004-09-03  Lars Clausen  <lars@raeder.dk>
3849         * objects/standard/box.c: Use PROP_TYPE_LENGTH for corner_radius
3850         as unit-based property testbed.
3852         * lib/prop_geomtypes.c (lengthprop_reset_widget): Implement length
3853         and fontsize widgets. 
3855         * app/Makefile.am (dia_core_files):
3856         * app/diaunitspinner.h: 
3857         * app/diaunitspinner.c: 
3858         * lib/widgets.h: 
3859         * lib/widgets.c (dia_unit_spinner_update): Move diaunitspinner to
3860         lib/widgets.[ch], as it's used in the properties code now.
3862 2004-08-31  Steffen Macke <sdteffen@web.de>
3864         * doc/en/usage-objects-basic.xml: Mentioning supported image formats.
3866 2004-08-30  Lars Clausen  <lars@raeder.dk>
3868         * app/textedit.c: 
3869         * app/diagram.c (diagram_remove_all_selected): Remove debugging
3870         information. 
3872         * lib/color.[ch]: 
3873         * app/undo.c: 
3874         * app/disp_callbacks.c: 
3875         * app/Makefile.am: 
3876         * app/create_object.c: 
3877         * app/textedit.[ch]: 
3878         * app/modify_tool.c: 
3879         * app/diagram.c: 
3880         * lib/text.c: 
3881         * lib/focus.[ch]: Change in focus mechanism to allow highlight of
3882         current input object, multiple inputs per object, and tabbing
3883         between objects.
3885 2004-08-28  Steffen Macke <sdteffen@web.de>
3887         * makefile.msc: added bs to ALL_LINGUAS; adjusted .mo file creation to
3888         allow separate installer component "Translations"
3890 2004-08-27  Akagic Amila  <bono@linux.org.ba>
3892         * configure.in: Added 'bs' to ALL_LINGUAS.
3894 2004-08-26  Steffen Macke <sdteffen@web.de>
3896         * app/makefile.msc: using /subsystem:windows again
3897         * makefile.msc: updated ALL_LINGUAS
3899 2004-08-21  Kjartan Maraas  <kmaraas@gnome.org>
3901         * configure.in: Add Â«nb» to ALL_LINGUAS.
3903 2004-08-21  Steffen Macke <sdteffen@web.de>
3905         * plug-ins/dxf/dxf-export.c: Patch from 
3906         Takeshi Hamasaki <hma@syd.odn.ne.jp>, fixes text alignment
3908 2004-08-17  Lars Clausen  <lars@raeder.dk>
3910         * config.h.win32: 
3911         * dia.spec (Release): 
3912         * doc/pl/dia.xml: 
3913         * doc/en/dia.xml: 
3914         * NEWS: 
3915         * configure.in: 
3917 2004-08-13  Ankit Patel <ankit@redhat.com>
3919         * configure.in: Added "gu" in ALL_LINGUAS.
3921 2004-08-07  Lars Clausen  <lars@raeder.dk>
3923         * configure.in:
3924         * config.h.win32: 
3925         * doc/pl/dia.xml: 
3926         * doc/en/dia.xml: 
3927         * dia.spec (Release): 
3928         * NEWS: New release 0.94-pre6
3930 2004-08-07  Lars Clausen  <lars@raeder.dk>
3932         * app/highlight.c (highlight_reset_objects): Unhighlight inside
3933         groups as well.
3935         * app/load_save.c: 
3936         * plug-ins/shape/shape-export.c: String capitalization fix from
3937         Alan Horkan <horkana@tcd.ie>
3939         * objects/UML/class.c (umlclass_show_comments_callback): Make UML
3940         Class object menu kinda work, rather than blow up.  Doesn't do a
3941         proper undoable change yet.
3943 2004-08-06  Lars Clausen  <lars@raeder.dk>
3945         * app/filedlg.c (file_save_as_callback): Don't remove related
3946         dialogs from the NULL diagram.
3948 2004-08-02  Lars Clausen  <lars@raeder.dk>
3950         * config.h.win32: 
3951         * doc/pl/dia.xml: 
3952         * doc/en/dia.xml: 
3953         * dia.spec (Release): 
3954         * NEWS: Pre5 with leak fix.
3956         * lib/font.c (dia_font_build_layout): Don't try to save an
3957         allocation of LayoutCacheItem if it breaks layout cache hash.
3958         Also make hash function correct, remove explicit height entry
3959         (it's in pfd), and make sure things are correctly unreffed.
3960         Finally fixes #148141.
3962         * lib/text.c (text_set_attributes, text_set_font): Safely unref
3963         when changing font, and actually set the new font in
3964         text_set_font(!).
3965         (text_get_attributes): Ref copied font.
3967 2004-08-01  Lars Clausen  <lars@raeder.dk>
3969         * NEWS: 
3970         * configure.in: 
3971         * dia.spec (Release): 
3972         * config.h.win32: 
3973         * doc/pl/dia.xml: 
3974         * doc/en/dia.xml: Prerelease 4.
3976         * lib/font.c (dia_font_build_layout): Better comparision and
3977         freeing of font cache.
3979 2004-07-31  Lars Clausen  <lars@raeder.dk>
3981         * lib/font.c (dia_font_build_layout): Faster update to avoid
3982         memory leaks.
3984         * app/app_procs.c: Fix from Tom Parker <palfrey@bits.bris.ac.uk>:
3985         Correctly initialize export filter variable.
3987 2004-07-25  Lars Clausen  <lars@raeder.dk>
3989         * dia.spec (Release): 
3990         * configure.in: 
3991         * NEWS: 
3992         * config.h.win32: 
3993         * doc/en/dia.xml: 
3994         * doc/pl/dia.xml: Pre3 coming out.
3996         * lib/diarenderer.c (draw_polygon): 
3997         * plug-ins/dxf/dxf-export.c (export_dxf): Two fixes by Takeshi
3998         Hamasaki <hma@syd.odn.ne.jp>: Correct header to be a 0 (zero)
3999         rather than O (letter), and assert num_points > 1 rather than the
4000         other way around.
4002         * app/recent_files.c: 
4003         * app/filedlg.c: 
4004         * app/diagram.c: 
4005         * app/app_procs.c: Patch from Vitaly Lipatov <lav@altlinux.ru>:
4006         Make filenames conform to filesystem encoding.
4008         * RDP/.cvsignore: Added standard ignore.
4009         
4010         * shapes/network/Makefile.am (SHAPES): Use PNG instead of XPM for
4011         last entry patch-panel, too.
4013         * app/*.png:
4014         * shapes/Circuit/*.png:
4015         * shapes/Civil/*.png:
4016         * shapes/Contact/*.png:
4017         * shapes/Electric/*.png:
4018         * shapes/MSE/*.png:
4019         * shapes/Pneumatic/*.png:
4020         * shapes/SDL/*.png:
4021         * shapes/flowchart/*.png:
4022         * shapes/jigsaw/*.png:
4023         * shapes/network/*.png:
4024         * shapes/sybase/*.png:
4025         * samples/dia*.png:
4026         * dia_gnome_icon_large.png:
4027         * doc/pl/graphics/*.png: Set -kb for PNGs.
4028         
4029         * sheets/{ER,GRAFCET,Istar,Jackson,KAOS}: Added .png files.
4031 2004-07-22  Lars Clausen  <lars@raeder.dk>
4033         * NEWS: 
4034         * config.h.win32: 
4035         * doc/en/dia.xml: 
4036         * doc/pl/dia.xml: 
4037         * dia.spec (Release): 
4038         * configure.in: Update to version 0.94-pre2.
4040         * app/load_save.c (diagram_data_write_doc): Use new namespace
4041         here, too.
4043         * lib/object.h (OBJECT_COMMON_PROPERTIES): Remove 'Dia' from
4044         hidden objects properties.
4046         * objects/standard/line.c: Remove halffinished line gap box from
4047         properties list.
4049         * app/paginate_psprint.c: 
4050         * app/filedlg.c: Patch from kimmidi@novell.com (Kiran Kumar
4051         Immidi): Close export and print dialog with diagram as well.
4052         (#129520)
4053         
4054         * lib/diaarrowchooser.[ch]: Patch from pborelli@katamail.com (paolo
4055         borelli):  Remove deprecated stuff (#137693)
4057         * app/dia-props.c (create_diagram_properties_dialog): Patch from
4058         kimmidi@novell.com (Kiran Kumar Immidi):  Close properties dialog
4059         on destroy.
4061 2004-07-21  Ray Strode  <rstrode@redhat.com>
4063         * dia/dia.desktop.in: Add MimeType line to desktop file
4064         new mime sytem.
4066 2004-07-18  Hans Breuer  <hans@breuer.org>
4068         * shapes/(Circuit|Contatct|MSE|network|Pneumatic|SDL|sybase)/Makefile.am 
4069           sheets/UML/*.png : icons in png format
4070         Partial fixup of stuff broken with the following comment:
4071         "7 days : xpm->png, namespace fix, first rotation bits."
4073         * app/load_save.c(read_objects) : don't add objects to the layer.
4074         This function is called recursively and only the topmost objects
4075         belong in the layers object list. Fixes bug #145417 and is the
4076         the real fix for bug #142480
4077         
4078         * app/app_procs.c : make the --size hack even uglier, but work again
4079         
4080         * lib/dia_dirs.c(dia_get_absolute_filename) : must not free()
4081         but g_free() what is returned by g_build_filename()
4082         
4083         * objects/custom/custom_object.c(custom_destroy) : handle all enum
4084         values in switch to get rid of the warning
4085         
4086         * objects/custom/shape_info.c : use g_ascii_strtod(), get rid 
4087         of setlocale()/strtod()
4088         * lib/dia_svg.c : dito
4089         * lib/dia_xml.c : almost
4091         * plug-ins/python/group_props.py : use the string representation of 
4092         value to ensure "unique values". If the strings would not be different
4093         the user cann't see the difference either
4095 2004-07-17  Lars Clausen  <lars@raeder.dk>
4097         * lib/persistence.h: Have "void" in prototypes (#142663)
4099         * lib/widgets.c (dia_font_selector_init): Better string handling
4100         (#142663) 
4102         * lib/persistence.c (persistence_save_type): Small fixes (#142663)
4104         * objects/standard/image.c (image_load): Use path of diagram
4105         rather than running directory as base for image file place.
4107         * doc/{diagram,sheet}.dtd: Move DTD namespace to new site, and
4108         syntactic fixes. 
4109         
4110         * app/disp_callbacks.c (ddisplay_canvas_events): Patch from
4111         Ambrose Li <a.c.li@ieee.org>:  Better IM context handling.
4113         * Re-added new sample diagrams binarily.
4115 2004-07-17 Sagar Rastogi <rastogi@students.iiit.net>
4117         * app/disp_callbacks.c: Fixed #144962 (also in KNOWN_BUGS),
4118         Disabled keyboard accels when dragging an object.       
4120 2004-07-14  Lars Clausen  <lars@raeder.dk>
4122         * app/grid.c (snap_to_grid): Use diagrams grid setting to
4123         determine hex grid snap.
4125         * doc/pl/Makefile.am: Avoid error based on backslash in comment.
4126         
4127         * app/interface.h: Avoid multiply defined symbols (#147396)
4129 2004-07-10  Lars Clausen  <lars@raeder.dk>
4131         * app/sheets_dialog_callbacks.c (write_user_sheet): 
4132         * lib/sheet.c (load_register_sheet): Don't introduce double
4133         slashes in namespace.
4135         * lib/dia_xml.h (DIA_XML_NAME_SPACE_BASE): Keep consistent with
4136         old diagrams, or XSLT will barf all over.
4137         
4138         * shapes/RDP/place.shape: 
4139         * shapes/RDP/transition.shape: 
4140         * shapes/RDP/Makefile.am: Added .png entries to SHAPES and changed
4141         shapes to use those.
4143 2004-07-07  Lars Clausen <lars@raeder.dk>
4145         * config.h.win32: 
4146         * doc/{en,pl}/dia.xml: 
4147         * dia.spec: 
4148         * configure.in: 
4149         * NEWS: First prerelease of version 0.94.  Now with release
4150         versions in a branch and main devel in the trunk.
4152 2004-07-05  Hans Breuer  <hans@breuer.org>
4154         * */*.[hc] */*/*.c : a bunch of changes to make Dia compile with
4155         -std=c89. Mostly //-comments and M_PI -> G_PI
4156         [Istar, Jackson, KAOS were removed from build cause they
4157         simply have *too* much C++ comments ;]
4158         * object/UML/association.c : use g_strdup() not plain strdup()
4159         * app/paginate_psprint.c : avoid storage size of `pipe_action' 
4160         isn't known with more portable signal code
4161         
4162         * app/app_procs.c : don't call gtk_init() if just --version
4163         is requested (bug #144321, Vladimir Kondratiev)
4164         
4165         * lib/prop_attr.c(fontprop_set_from_offset) : only unref 
4166         DiaFont* if not NULL
4167         * objects/UML/class.c : moved fill_in_fontdata() to 
4168         umlclass_load() to avoid such trouble, though unsure if
4169         this really is an improvement...
4170         
4171         * shapes/network/makefile.am : patch-panel added here too
4173 2004-07-04  Hans Breuer  <hans@breuer.org>
4175         * sheets/network.sheet.in shapes/network/patch-panel.xpm
4176           shapes/network/patch-panel.xpm : added 24-Port-Patch-Panel
4177         fixes bug #136629, James McDonald
4179 2004-07-04  Hans Breuer  <hans@breuer.org>
4181         * lib/persistence.c app/load_save.c app/sheet_dialog_callbacks.c
4182           lib/object_defaults.c : revert changing of Dia's XML namespace
4183         * lib/dia_xml.h : #define DIA_XML_NAME_SPACE_BASE with a comment
4184         about its purpose and relation to real world urls.
4186         * lib/plug-ins.h : increment DIA_PLUGIN_API_VERSION and 
4187         added comment about when to do so
4188         [Should have been long time ago and probably multiple times
4189         to avoid crashing on older plug-ins]
4190         * RELEASE-PROCESS : mention DIA_PLUGIN_API_VERSION
4191         * plug-ins/xslt/xslt.c : use DIA_PLUGIN_CHECK_INIT
4193         * lib/object.c objects/UML/class.c : there are still compilers not 
4194         supporting C99 and other GCCISMs like allocating dynamic sized arrays 
4195         on the stack
4196         * objects/UML/class.h : there is a differnce between a list pointer
4197         and a list pointer pointer. We and GLib want the former.
4199         * plug-ins/pixbuf/pixbuf.c : don't use app_is_interactive () to detect
4200         if Gtk is initialized. Using gdk_display_get_default () avoids the
4201         app/* dependency and is also closer to the requirements of the
4202         plug-ins working.
4204         * plug-ins/cairo/diacairo.c : initialize "unique name" field. Also
4205         some #ifdefed support for Cairo backends not public available yet.
4207         * plug-ins/wmf/wmf.cpp : finally do extended linestyles if the
4208         windoze platform supports them. This should fix bug #109818, at
4209         least for the majority running NT or above ...
4210         * plug-ins/wmf/wmf_gdi.[hc] : portability stuff for the above
4212         * objects/makefile.msc : build Istar, Jackson and Kaos
4214         * objects/UML/class.c(umlclass_load) : don't wrap by default to 
4215         keep old diagrams as they were - instead of this nice new effect ;-)
4216         Also make "wrap_operations" PROP_TYPE_BOOL in PropDescriptions
4218         * objects/UML/class.c : mark for translation _("Wrap ...
4220         * objects/UML/class.c : more correct types, also some default properties
4221         dialog pages adjustment (triggering a bug in lib/prop_widgets.c ?;)
4223         * objects/UML/activity.c : removed a leftover from the 
4224         use-localization-for-font-substitution-hack
4226         * shapes/ChemEng shapes/Cybernetic shapes/Map/Isometric :
4227         'cvs admin -kb *.png' PNG files should already be *added* as binary,
4228         otherwise they are not readable on line-end-converting-platforms
4230         * plug-ins/python/use g_new0(Dia<Im|Ex>portFiler), avoids crashing 
4231         filter_get_by_name()
4233         * plug-ins/python/pydia-property.c : some more g_warnings for
4234         not implemented conversions
4236         * plug-ins/python/group_props.py : ensure unique property values
4237         at the right place. Now something like :
4238         - load an old UML class diagram
4239         - change one of the classes to wrap operations
4240         - select all classes (/Select/Same Type)
4241         - /Dialogs/Group Properties : check wrap_operations, select '1'
4242         - Ok, works like a charm :-)
4244 2004-07-04  Lars Clausen  <lars@raeder.dk>
4246         * lib/diagdkrenderer.c (draw_string): Don't unref NULL
4247         pixbuf. (#145362)
4248         
4249 2004-07-03  Lars Clausen  <lars@raeder.dk>
4251         * app/app_procs.c (do_convert): Two patches from Vitaly Lipatov
4252         <LAV@VL3143.spb.edu>: Fixes console output problems and some
4253         interactiveness problems.
4255 2004-07-02  Lars Clausen  <lars@reader.dk>
4257         * plug-ins/pixbuf/pixbuf.c (dia_plugin_init): Don't load if the
4258         app isn't interactive.
4260 2004-07-01  Lars Clausen  <lars@raeder.dk>
4262         * plug-ins/cairo/diacairo.c: Add init of last field of filter
4263         struct to remove crash.
4265         * sheets/Makefile.am (sheet_in_files): 
4266         * shapes/Makefile.am: 
4267         * sheets/ChemEng.sheet.in: 
4268         * shapes/ChemEng/Makefile.am: 
4269         * configure.in: 
4270         New sheet from "Federico Zenith" <zenith@chemeng.ntnu.no>:
4271         Chemical engineering shapes.
4272         
4273         * app/Makefile.am (run_dia.sh$(EXEEXT)): Changed $* to $@ to allow
4274         multiple arguments when using devel script.
4276         * app/display.c (new_display): 
4277         * app/dia-props.c: 
4278         * lib/diagramdata.c (new_diagram_data): 
4279         * lib/diagramdata.h: 
4280         * app/preferences.h: 
4281         * app/preferences.c: 
4282         * app/grid.c: 
4283         * app/diagram.c: 
4284         * lib/diagramdata.c (new_diagram_data): Patch from Peter Poulsen
4285         <peter_poulsen@stofanet.dk>: Add hexagonal grid!
4287         * HACKING: 
4288         * doc/pl/authors.xml: 
4289         * doc/en/authors.xml: 
4290         * lib/object_defaults.c (dia_object_defaults_save): 
4291         * readme.win32 (BTW): 
4292         * lib/persistence.c (persistence_save): 
4293         * app/load_save.c (diagram_data_write_doc): 
4294         * app/commands.c (help_about_callback): 
4295         * README: Fix links to home page.
4297         * lib/font.c: 
4298         * app/load_save.c (diagram_data_load): 
4299         * lib/prop_text.c (stringprop_load): Avoid NULL strings when
4300         loading, and guard against them when fonting.
4302         * lib/diarenderer.c (draw_rounded_polyline): Patch from
4303         anthonym@overture.com:  Make limited rounding a corner-specific
4304         rendering-only thing.
4306 2004-06-30  Lars Clausen  <lars@raeder.dk>
4308         * lib/font.c (dia_font_build_layout): Return to 0.93.1 font size
4309         adjustment: If you can't fix it, at least don't change it.
4311         * objects/SADT/arrow.c (sadtarrow_draw): Use new rounded arrow
4312         code instead of individual code in here.
4314 2004-06-29  Lars Clausen  <lars@raeder.dk>
4316         * objects/UML/association.c: Patch from Kiran
4317         Kumar Immidi <kimmidi@novell.com>:  Fix bounding box for line end
4318         text. 
4320         * lib/geometry.c: 
4321         * lib/geometry.h: 
4322         * lib/diarenderer.c (draw_rounded_polyline): 
4323         * objects/standard/polyline.c (polyline_draw): 
4324         * objects/standard/zigzagline.c (zigzagline_draw): 
4325         Patch from anthonym@overture.com:  Add rounded polylines.
4327 2004-06-27  Lars Clausen  <lars@raeder.dk>
4329         * lib/font.c (dia_font_new_from_style): Initialize legacy name.
4331         * lib/widgets.c (dia_font_selector_get_family_from_name): Don't
4332         free family list before taking out the pointer we need. Also set
4333         the entry_nr correctly so we get the menu set up right.
4335 2004-06-23  Lars Clausen  <lars@raeder.dk>
4337         * lib/widgets.c (dia_toggle_button_new_with_images): Sink the
4338         images at the right place.
4340         * objects/Istar/actor.c
4341         * objects/Istar/goal.c
4342         * objects/Istar/istar.c
4343         * objects/Istar/istar.h
4344         * objects/Istar/link.c
4345         * objects/Istar/other.c
4346         * objects/Jackson/domain.c
4347         * objects/Jackson/jackson.c
4348         * objects/Jackson/jackson.h
4349         * objects/Jackson/phenomenon.c
4350         * objects/Jackson/requirement.c
4351         * objects/KAOS/goal.c
4352         * objects/KAOS/kaos.c
4353         * objects/KAOS/kaos.h
4354         * objects/KAOS/metaandorrel.c
4355         * objects/KAOS/metabinrel.c
4356         * objects/KAOS/other.c: Patch from Patch from Christophe Ponsard
4357         <cp@cetic.be>: Fix instability issues caused by not returning NULL
4358         in *_move_handle and *_move.  Also improved the headers with
4359         correct (c) information.
4361 2004-06-22  Lars Clausen  <lars@raeder.dk>
4363         * objects/KAOS/goal.c:
4364         * objects/KAOS/other.c:
4365         * objects/Istar/actor.c:
4366         * objects/Istar/goal.c:
4367         * objects/Istar/other.c:
4368         * objects/Jackson/domain.c:
4369         * objects/Jackson/phenomenon.c: Patch from Christophe Ponsard
4370         <cp@cetic.be>: Fix resize issues.
4372         * app/filedlg.c (file_dialog_hide): Patch from Kiran
4373         Kumar Immidi <kimmidi@novell.com>: Check for null when removing
4374         related dialog. #129520.
4376         * app/dia-props.c (diagram_properties_show): Patch from Kiran
4377         Kumar Immidi <kimmidi@novell.com>: Make sure properties dialog is
4378         a child of its diagram. #129520.
4380         * objects/UML/association.c (association_load): Patch from Kiran
4381         Kumar Immidi <kimmidi@novell.com>: Update positions properly for
4382         text placement. #118313.
4384 2004-06-17  Lars Clausen  <lars@raeder.dk>
4386         * objects/KAOS/Makefile.am: Add pixmaps/goal.xpm to EXTRA_DIST
4388         * Makefile.am: Make THANKS only be generated by maintainers.
4390         * doc/pl/Makefile.am: Removed usage+objects+basic.xml from
4391         Makefile, too.
4393         * configure.in: Added three missing Makefiles.
4395         * app/diagram.[ch]: 
4396         * app/filedlg.c:
4397         Patch from shuveb@yahoo.com (Shuveb Hussain): Remove
4398         diagram-related (save) dialog when closing diagram.  To be
4399         extended to other dialogs.
4401         * doc/pl/dia.xml: Removed reference to objects-basic. (#144527)
4403         * samples/Istar.dia:
4404         * samples/Jackson.dia:
4405         * samples/KAOS.dia:
4406         * sheets/Istar.sheet.in:
4407         * sheets/Jackson.sheet.in:
4408         * sheets/KAOS.sheet.in:
4409         * sheets/Istar/*:
4410         * sheets/Jackson/*:
4411         * sheets/KAOS/*:
4412         * objects/Istar/*:
4413         * objects/Jackson/*:
4414         * objects/KAOS/*:
4415         * configure.in: 
4416         * objects/Makefile.am (SUBDIRS): 
4417         * sheets/Makefile.am (SUBDIRS): 
4418         * samples/Makefile.am: Additions from Christophe Ponsard
4419         <cp@cetic.be>: Jackson, I* and KAOS diagram support.  Needs a bit
4420         of hacking still.
4422 2004-06-12  Lars Clausen  <lars@raeder.dk>
4424         * lib/properties.h: 
4425         * lib/prop_geomtypes.[ch]: Preparation for selectable units.
4427         * lib/font.h: Toning down comments a bit:)
4429         * lib/font.c (dia_font_build_layout): Playing around with DPI 
4431         * objects/UML/association.c (association_load): Avoid crashes on
4432         strcmp with NULL.
4434         * objects/UML/association.c: Patch from kimmidi@novell.com:
4435         Improve placement of labels when vertical.  Part fix of #118313
4437         * lib/object.c (dia_object_is_selected): Grouped objects are not
4438         selected, only the group itself.  Thus, don't crash when grouping
4439         beziers. #143681
4441         * objects/UML/association.c: Patch from kimmidi@novell.com:  Agree
4442         on how to represent empty strings.  Fixes #143639.
4444         * lib/object.c (dia_object_is_selected): Added comment answer.
4446 2004-06-12  Hans Breuer  <hans@breuer.org>
4448         * lib/diagramdata.c lib/object.c : deal with grouped objects
4449         not knowing their parent_layer, i.e. avoid crashing in 
4450         dia_object_is_selected() via group_draw() [ Triggered by
4451         playing with the Visio generated svg from bug #143455 ]
4453         * plug-ins/python/diasvg_import.py : started to implement
4454         transformation="translate(...)" and <style/> handling. Also
4455         use some other completely bogus values for em/ex scaling
4456         
4457 2004-06-08  Lars Clausen  <lars@raeder.dk>
4459         * plug-ins/cairo/.cvsignore: CVS-ignore generated makefiles.
4461 2004-06-07  Lars Clausen  <lars@raeder.dk>
4463         * app/layer_dialog.c (layer_dialog_set_diagram): 
4464         * app/display.c: Layer widget crash more properly dealt with in
4465         layer dialog code.
4466         
4467         * app/display.c (ddisplay_flush): Fixed crash when closing:  Layer
4468         widget deselect was called during destroy, but called
4469         ddisplay_flush, leading to a new display timeout after renderer
4470         was dead.
4472         * lib/widgets.c (dia_toggle_button_destroy): 
4473         * app/recent_files.c (recent_file_menuitem_create): 
4474         * lib/persistence.c (persistence_save_list): 
4475         * app/commands.c (edit_delete_callback): 
4476         * lib/object_defaults.c (dia_object_defaults_save): 
4477         * lib/parent.c (parent_list_affected_hierarchy): Killed leaks
4478         (#142669)
4479         
4480         * lib/widgets.c (dia_toggle_button_new_with_images): Remove
4481         debugging info.
4483         * lib/diagramdata.c (new_layer): Initialize connectibility.
4485         * app/display.c (ddisplay_obj_render): 
4486         * app/diagram.c (diagram_find_closest_connectionpoint): Take
4487         connectibility into account.
4489         * app/layer_dialog.h (struct _DiaLayerWidget): 
4490         * app/layer_dialog.c:
4491         Connectible toggle updates, now works fairly well.
4493         * app/select.c (select_transitive_callback): Make sure we're only
4494         selecting in the same layer.
4496 2004-06-04  Lars Clausen  <lars@raeder.dk>
4498         * app/pixmaps/Makefile.am: Also install connectable images.
4499         
4500         * app/layer_dialog.c (dia_layer_update_from_layer): Initially set
4501         layer toggles from layer itself.  Also update diagram correctly
4502         for visibility.  Still need updates for connectivity behaviour.
4504 2004-06-03  Hans Breuer  <hans@breuer.org>
4506         * plug-ins/wpg/wpg.c(draw_image) : take rowstride into account
4508         * lib/diagdkrenderer.c(set_linejoin) : actually set
4509         join_style not cap_style
4510         (set_dashes): with the correct number of dashes
4512 2004-06-03  Lars Clausen  <lars@raeder.dk>
4514         * app/modify_tool.c (click_select_object): 
4515         * lib/text.c (text_set_cursor): 
4516         * app/disp_callbacks.c (ddisplay_canvas_events): Turn off text stuff.
4518 2004-05-31  Hans Breuer  <hans@breuer.org>
4520         * lib/object_defaults.c : don't 'failed to load external 
4521         entity "NULL"' when the defaults file does not exist, 
4522         bug #108764 [again: somehow this got lost]
4524         * app/paginate_gdiprint.cpp : don guess the WMF export 
4525         filter used for printing but find it by unique name.
4526         Also update for export_func renaming
4527         * plug-ins/wmf/wmf.cpp plug-ins/cairo/diacairo.c
4528         provide some unique names
4530         * app/commands.c app/disp_callbacks.c app/paginate_psprint.c 
4531           app/select.c : fix bug #140789 by always checking if there
4532         still is an active diagram before accessing it
4534         * app/defaults.c app/properties.c : user visible string should 
4535         not read DiaObject but stay as "Object defaults/properties"
4537         * app/app_procs.c : reduce the hack to pass --size to the
4538         export via user_data to the only filter supporting it. Other
4539         filters would crash on it or do worse ;(
4541         * plug-ins/wpg/wpg.c : not every 'Object' is a DiaObject ...
4543 2004-05-31  Lars Clausen  <lars@raeder.dk>
4545         * lib/widgets.h: 
4546         * lib/widgets.c: Use GtkType rather than guint for
4547         dia_size_selector_get_type. 
4549 2004-05-29  Lars Clausen  <lars@raeder.dk>
4551         * app/diapsrenderer.c (fill_bezier): Use even-odd winding rule so
4552         that it matches the screen output for selfoverlapping polygons and
4553         beziers. 
4555 2004-05-28  Hans Breuer  <hans@breuer.org>
4557         * app/load_save.c : ignore empty groups on load and don't
4558         write empty groups while saving
4559         * lib/group.h (group_update_data): there is no first object
4560         in empty groups and they probably don't need an update at 
4561         all. Maybe the shold just not exist ?
4563         * plug-ins/cairo/diacairo.c : fixed arc drawing, right aligned
4564         text positioning as well as drawing of images with alpha
4566         * plug-ins/wmf/wmf.cpp : include windows.h if eiher
4567         HAVE_WINDOWS_H or G_OS_WIN32 is defined
4569 2004-05-28  Lars Clausen  <lars@raeder.dk>
4571         * app/pixmaps/Makefile.am (imagedir): 
4572         * app/pixmaps/visible.png:
4573         * app/pixmaps/visible-empty.png: New images for the visibility
4574         button in the layer dialog.
4576         * lib/widgets.c (dia_toggle_button_new_with_images): Remove even
4577         more border around the button.  Still some left when hovering the
4578         mouse or selecting, and the grey background is annoying.
4580         * app/layer_dialog.c (dia_layer_widget_init): Use real buttons for
4581         visibility connector.
4583 2004-05-26  Lars Clausen  <lars@raeder.dk>
4585         * configure.in (DB2MAN): Better check for db2man docbook place.
4586         Need something even better.
4588         * doc/en/Makefile.am (dia.1): Conditional on having DB2MAN.
4590         * lib/widgets.c (dia_toggle_button_new_with_images): Remove
4591         extraeneous borders.
4593         * dia_logo.png:
4594         * dia_gnome_icon.png:
4595         * samples/render-test.dia: Rendering test from Hans.
4597 2004-05-24  Hans Breuer  <hans@breuer.org>
4599         * lib/filter.h : renamed DiaExportFilter::export to
4600         _DiaExportFilter::export_func (should not use c++ 
4601         keywords (g++ specifc ?) in headers. Same for import
4602         out of pure symmetry reasons
4603         * plug-ins/shape/shape-export.c plug-ins/python/diamodule.c
4604           app/diagram.c app/filedlg.c : reflect functions renaming
4606         * plug-ins/wmf/Makefile.am : finally compile the wmf plug-in
4607         under *NIX, too. [If you want something done, do it yourself ;-]
4608         * plug-ins/wmf/wmf_gdi.[hc] : some more stuff to catch up
4609         with wmf.cpp's GDI usage
4610         * plug-ins/wmf/wmf.cpp : compile even without HAVE_WINDOWS_H,
4611         [For the moment it does not much more than compiling, i.e. 
4612         the produced WMF files are invalid, if not created on windoze.]
4614         * configure.in : check for C++ to compile plug-in/wmf
4615         
4616         * objects/GRAFCET/boolequation.c : looks like fixing 
4617         another leak (untested)
4619 2004-05-23  Hans Breuer  <hans@breuer.org>
4621         * acinclude.m4 : another attempt to fix 
4622         bug #142032 (still not sure it's the right one,
4623         but works for me(tm), which the other does not ;)
4624         
4625         * plug-ins/cairo/Makefile.am
4626           plug-ins/Makefile.am 
4627           configure.in : support building the new cairo
4628         plug-in, if given --with-cairo and the cairo
4629         packages are found, see http://cairographics.org
4630         and also http://hans.breuer.org/dia/dia-cairo.htm
4632         * plug-ins/cairo/diacairo.c : make it compile
4633         with DEBUG_CAIRO defined, too.
4635 2004-05-23  Hans Breuer  <hans@breuer.org>
4637         * plug-ins/cairo/Makefile.am : initial attempt
4639         * plug-ins/cairo/diacairo.c : a new exporter based on
4640         Cairo http://cairographics.org rendering api. Currently
4641         it just can export PNG and PS but one day it might get
4642         PDF and more almost for free. [It is not yet included
4643         in the *NIX build system due to lack of auto* magic.]
4645         * plug-ins/pixbuf/pixbuf.c : always register the export
4646         filter part. If the user does not want it it can be 
4647         disabled by File/Plugins or explicit selected the other
4648         one in the Export Formats List
4650 2004-05-23  Hans Breuer  <hans@breuer.org>
4652         * lib/dia_dirs.c : #include "message.h"
4653           lib/widgets.c : #include "persistence.h"
4654           lib/widgets.c(dia_font_selector_init) : still not C99
4655           lib/persitence.h : removed unimplemented prototype
4656           lib/persitence.c(persistence_load_list) : still not C99
4657           app/create_object.c : #include "highlight.h"
4658           app/layer_dialog.c : #include "widgets.h"
4659           app/modify_tool.c : prototype functions before usage
4660           lib/object.c : if there is G_END_DECLS there _must_ be G_BEGIN_DECLS
4661         [otherwise one will have a hard time to make C++ compile ;]
4662           lib/dia_dirs.c : #include "message.h"
4663           lib/font.c : #include <gtk/gtk.h> /* just for gtk_get_default_language() */
4664           lib/
4666         * plug-ins/xfig/xfig-import.c : dont initialize an int with
4667         a string pointer
4669         * lib/dia_image.[hc](dia_image_rgba_data) : make it work
4670         as documented, i.e. _not_ copying. Plugs a memory leak in
4671         lib/dialibartrenderer.c
4673         * lib/diarenderer.c(*_rounded_rect) : renamed parameter rounding
4674         to radius to more of a clue what it is representing
4676         * */makefile.msc lib/libdia.def : updated
4678         ChangeLog : fixed some date copy&paste bug
4680 2004-05-21  Lars Clausen <lars@raeder.dk>
4682         * NEWS: Release tag.
4684         * config.h.win32: Now 0.93+cvs
4686         * RELEASE-PROCESS: Update with new info about release branches.
4687         
4688         * Many files:  Moved devel branch back into main trunk.  Should
4689         have been done in the opposite way, with release in a branch.  
4690         
4691 2004-05-20  Hans Breuer  <hans@breuer.org>
4693         * acinclude.m4 : disable setting of PYTHON_PREFIX
4694         and PYTHON_EXEC_PREFIX from prefix and exec_prefix
4695         as workaround for bug #142032 (the real fix would 
4696         involve some auto* knowledge which I don't have
4697         either;)
4698         
4699         * plug-ins/python/Makefile.am : more python 
4700         plug-ins to be installed (especially svg import,
4701         but also 'simple scale' should be useable 
4702         sometimes)
4703         
4704         * plug-ins/python/scascale.py : update display
4705         after modifying selected objects
4706         
4707         * plug-ins/python/diasvg_import.py : initialize
4708         stroke to none
4709         
4710 2004-05-18  Lars Clausen  <lars@raeder.dk>
4712         * app/diagram_tree.c (select_node): Use
4713         diagram_remove_all_selected to kill selected list.
4715         * lib/font.c: Set language when using a different context.
4717         * plug-ins/svg/svg-import.c: Changed isdigit to g_ascii_isdigit
4718         and removed ctype include (#142661).
4720         * lib/paper.c (get_default_paper): Changed isalnum to
4721         g_ascii_isalnum and removed ctype include. (#142661)
4723         * objects/custom/shape_info.c: 
4724         * lib/dia_svg.c: 
4725         * app/diaunitspinner.c: Removed unrequired ctype.h include. (#142661)
4727 2004-05-17  Hans Breuer  <hans@breuer.org>
4729         * lib/object_defaults.c : don't 'failed to load external 
4730         entity "NULL"' when the defaults file does not exist, 
4731         bug #108764
4733         * lib/widgets.c : fixed possible menu leak
4734         * lib/dialinechooser.c lib/diaarrowchooser.c : finally
4735         avoid finalization of floating references, bug #142307
4737 2004-05-15  Lars Clausen  <lars@raeder.dk>
4739         * plug-ins/xfig/xfig-import.c: Handle default fonts and illegal
4740         fonts better (#138655)
4741         
4742         * doc/pl/Makefile.am (EXTRA_DIST): Also include all xml files here.
4744         * doc/en/Makefile.am (EXTRA_DIST): Including all required files in
4745         dist, xml, dbk and man.  Also the sub-xml files. (#142098)
4747         * Makefile.am (CLEANFILES): 
4748         * sheets/Makefile.am (EXTRA_DIST): Not distributing the
4749         translation-reports, they are generated automagically.  THANKS
4750         file not considered locally generated, so is not locally
4751         cleaned. (#133735) 
4753         * lib/widgets.[ch]: Changing dia_arrow_selector to be a gobject.
4755         * lib/diaarrowchooser.c: 
4756         * lib/prop_attr.c: Fixing naming for arrowselector.
4758         * objects/UML/object.c (objet_type): Oops, little too aggressive
4759         with the DiaObject thing here:)
4761         * objects/custom/shape_info.c (parse_svg_node): Use
4762         g_ascii_isdigit instead of isdigit.
4764         * app/diaunitspinner.c (dia_unit_spinner_update): 
4765         * lib/dia_svg.c (dia_svg_parse_style): Using g_ascii_isspace
4766         instead of isspace avoids char subscript issues (#142467).
4768         * lib/persistence.c (persistence_get_string): Fixed 0/NULL/FALSE
4769         return value conflict.
4771         * app/display.c (ddisplay_update_handler): Fixed 0/FALSE return
4772         value conflict.  Also improved signature. (#142466)
4774         * app/load_save.c (diagram_data_load): Don't overwrite the list in
4775         the layer, but instead free the returned list (#142480)
4777         * app/pixmaps/Makefile.am (IMAGES): Added png's to be installed
4778         for the grid widget.
4780         * doc/en/Makefile.am (dia.1): Make proper rule for making dia.1
4782         * configure.in (DB2MAN): Currently just check for two known
4783         positions for the docbook xsl.  Don't know a generic way to find
4784         this info.  Ought to add an option for it, but then it's really
4785         only required for maintainers, I think.  Maybe.
4787         * app/display.c (update_snap_grid_status): Remove nasty image
4788         toggling code not require for grid toggle button anymore. (#142475)
4790         * app/interface.c (create_display_shell): Use
4791         dia_toggle_button_new_with_images to create grid toggle button.
4792         Much nicer. (#142475)
4794         * app/menus.c (menus_initialize_updatable_items): Free the string
4795         along with the GString. (#142475)
4797         * lib/intl.c (free_alias_table): Free hash table entries in a
4798         proper way, avoiding duplicate frees. (#142475)
4800         * lib/object_defaults.c (_obj_store): Only free layer_name if it's
4801         not put in the hash (avoid reading freed memory). (#142476)
4803         * lib/widgets.c (dia_font_selector_set_styles): Stop leaking
4804         faces. (#142484)
4805         (dia_font_selector_get_family_from_name): Stop leaking
4806         families. (#142482) 
4808 2004-05-14  Lars Clausen  <lars@raeder.dk>
4810         * Transfer of fixes from release branch.  Not the prettiest way to
4811         do it, this should be done during release, not afterwards.
4813         Tomasz KÅ‚oczko <kloczek@pld.org.pl>:
4815         * acinclude.m4: minor fixes (added missing [] quotation).
4817         Lars Clausen  <lars@raeder.dk>:
4819         * app/interface.c (toolbox_delete): 
4820         * app/app_procs.[ch] (app_exit): Stop the delete event if the user
4821         cancels quit due to modified diagrams.
4823         Samúel Jón Gunnarsson  <sammi@techattack.nu>:
4825         * is.po: Added "is" to ALL_LINGUAS.
4827         Lars Clausen  <lars@raeder.dk>:
4829         * dia.spec: Updated as per mail from Zhang Lin-bo <zlb@lsec.cc.ac.cn>
4831         Hans Breuer  <hans@breuer.org>:
4833         * lib/makefile.msc : removed -DGTK_DISABLE_DEPRECATED; the 
4834         burden should be shared and not be win32 only ;) [this time 
4835         build was broken by adding GtkType to widget.h]
4837         * objects/standard/box.c objects/standard/ellipse.c :
4838         for code clarification compare (obj->aspect != FREE_ASPECT)
4839         and not (obj->aspect); no binary effect.
4841         * app/paginate_psprint.c : don't leak printcmd
4843         * objects/standard/box.c objects/standard/ellipse.c : fix gccisms :
4844         standard C requires variables to be declared at the beginning of 
4845         a block, also there is no fabsf() with msvc
4846         
4847         * app/win32print.[ch] : make win32_printer_close() return an
4848         error code, it's used as pclose replacement
4850         Lars Clausen  <lars@raeder.dk>:
4852         * RELEASE-PROCESS: Mention PATCH keyword in release process.
4854 2004-05-06  Lars Clausen  <lars@raeder.dk>
4856         * lib/widgets.[ch]: Utility function to make a widget with two
4857         images (selected and non-selected).
4859         * lib/diagramdata.h: Renamed selectable to connectable.
4860         Selectable will come later.
4862         * configure.in: 
4863         * app/pixmaps/Makefile.am (imagedir): 
4864         * app/pixmaps/connectable.png:
4865         * app/pixmaps/connectable-empty.png: New images for the
4866         selectability widget.  Proper installation, too.
4868         * app/layer_dialog.[ch]: Adding new button showing connectability
4869         status.  Much cleaner way of doing the button, but some problems
4870         with the item getting selected
4872         * lib/widgets.h: Reminder of how to install images for use by
4873         dia_get_image_from_file.
4875 2004-05-05  Lars Clausen  <lars@raeder.dk>
4877         * objects/network/Makefile.am: 
4878         * objects/network/pixmaps/radiocell.xpm: 
4879         * objects/network/pixmaps/basestation.xpm: 
4880         * objects/network/network.c: 
4881         * objects/network/basestation.c: 
4882         * objects/network/radiocell.c: 
4883         Patch from W. Borgert <debacle@debian.org>: Radio cell and base
4884         station objects.
4886         * lib/arrows.[ch]: Patch from Anthony <anthonym@overture.com>:
4887         Backslash arrow head. 
4889         * app/pagesetup.c (pagesetup_respond): Do not free ps twice.
4890         Notify takes care.  Should maybe use that more.
4892         * lib/diagramdata.[ch]: 
4893         * app/filedlg.c (file_export_ok_callback): 
4894         * app/diagram.c (diagram_finalize): DiagramData now a GObject.
4896         * app/dia-props.c (diagram_properties_respond): 
4897         * app/diagram.c (diagram_set_modified): 
4898         * app/undo.c: 
4899         * app/disp_callbacks.c: 
4900         * app/commands.c: 
4901         * app/load_save.c (diagram_save): 
4902         Better handling of undo and modified status -- only diagram
4903         properties and page setup explicitly set modified status, all
4904         other important changes should be done through the undo stack
4905         now.
4907 2004-05-04  Lars Clausen  <lars@raeder.dk>
4909         * app/app_procs.c (app_init): Consistently open a new diagram if
4910         none specified, with standard name Diagram1.dia.
4912         * app/layer_dialog.c: 
4913         * app/diagram.c (diagram_finalize): 
4914         * app/commands.c (dialogs_layers_callback): 
4915         * app/filedlg.c (file_export_ok_callback): 
4916         * app/app_procs.c (app_exit): 
4917         * app/display.c (display_set_active): 
4918         * app/interface.c (dia_dnd_file_drag_data_received): 
4919         * app/recent_files.c: 
4920         Undone attempt at unifying the multi-diagram windows (like
4921         layers).  It broke the layers and didn't make much sense for the
4922         diagram properties dialog anyway.
4924         * lib/group.c: 
4925         * lib/diatypes.h: 
4926         * lib/diagramdata.c: 
4927         * lib/object.h: 
4928         * lib/object.c: Undone attempts at GObject'ifying DiaObject -- too
4929         many subclasses have to be fixed.  Fixed remaining
4930         Object/ObjectType renaming issues.
4932 2004-05-02  Lars Clausen  <lars@raeder.dk>
4934         * lib/object.[ch]: Making DiaObject a GObject.  Now can I avoid
4935           having to make all the children objects conform to
4936           GObject style at once?  Warning!  Does not compile right now.
4938         * many, many files: Rename Object to DiaObject in preparation for
4939           making it a GObject.
4940         
4941         * app/diagram.[ch]: Turn diagram into a real GObject.
4943         * app/pagesetup.c: 
4944         * app/filedlg.c: Correctly ref and unref diagram. 
4946         * lib/diagramdata.h: Starting to turn it into a GObject as well.
4948 2004-05-02  Lars Clausen  <lars@raeder.dk>
4950         * lib/object.[ch]: Starting to convert Object to DiaObject, son of
4951         GObject. 
4953         * app/dia-props.c: Undo the attempt at making it really
4954         multi-diagram, now going for a one-diagram dialog.
4956 2004-04-30  Lars Clausen  <lars@raeder.dk>
4958         * app/undo.c: Undoing broken undo stuff for diagram properties and
4959         page setup.  Shouldn't be mixed into undo at all.
4961         * app/render_gdk.c (draw_pixel_line): Use the dash-setting
4962         function to avoid in particular the grid crawling.
4964         * lib/diagdkrenderer.[ch] (dia_gdk_renderer_set_dashes): Function
4965         to allow aligning dashes, so they don't crawl.
4967 2004-04-28  Lars Clausen  <lars@raeder.dk>
4969         * app/Makefile.am: New files diacanvas.[ch]
4971         * app/interface.c (create_display_shell): Use new diacanvas that
4972         allows placing widgets on canvas, for text edit.
4974         * lib/object.h: 
4975         Early work towards rotation.  No implementation yet.
4977         * app/layer_dialog.c (undo_layer): 
4978         * objects/network/bus.c (bus_create_change): 
4979         * objects/standard/box.c (aspect_create_change): 
4980         * objects/standard/ellipse.c (aspect_create_change): 
4981         Use g_new0 for change struct.
4983         * app/undo.c (diagram_change_apply_or_revert): 
4984         Support for undo of diagram properties and page setup.
4986         * app/disp_callbacks.c (ddisplay_canvas_events): 
4987         * lib/text.h: 
4988         * lib/diagramdata.h: 
4989         * app/modify_tool.c (click_select_object): 
4990         * lib/text.c (text_register_editable): 
4991         Starting work on new text editing model.  Guarded by #ifdef so
4992         far. 
4994 2004-04-07  Lars Clausen  <lars@raeder.dk>
4996         * app/recent_files.c (open_recent_file_callback): 
4997         * app/interface.c (origin_button_press): 
4998         * app/filedlg.c (file_open_ok_callback): 
4999         * app/display.c: 
5000         * app/diagram.[ch]: 
5001         * app/commands.c (dialogs_layers_callback): Using new
5002         diagram_set_current() function to ensure auxilliary windows are
5003         updated. 
5005         * app/layer_dialog.c: Trying to unify with dia-props.  Diagram
5006         menu now borken.  *sniff*
5008         * app/dia-props.c: Diagram properties window attempted
5009         persistentified.  Trying to make more like layer dialog (since it
5010         already changes when the diagram changes), but some things still
5011         borken. 
5013 2004-04-06  Lars Clausen  <lars@raeder.dk>
5015         * lib/dialinechooser.[ch] (dia_line_chooser_set_line_style): 
5016         * lib/attributes.c (attributes_set_default_line_style): 
5017         * app/interface.c (create_lineprops_area): 
5018         Make line style persistent as well.  Added function to directly
5019         set the style and dashlength of a dialinechooser. 
5021 2004-04-03  Lars Clausen  <lars@raeder.dk>
5023         * objects/standard/ellipse.c (ellipse_move_handle, ellipse_copy):
5024         Copy the ellipse extra handle correctly.
5026         * objects/standard/box.c (box_move_handle): Move definitions
5027         according to bug #138925.
5029 2004-04-02  Lars Clausen  <lars@raeder.dk>
5031         * app/recent_files.c: Use absolute name for recent files list.
5033         * lib/attributes.c: Set start and end arrow types, correctly.
5035         * lib/widgets.c (dia_arrow_selector_set_arrow): Use new function
5036         to get arrow index.
5038         * lib/diaarrowchooser.[ch]: Support for setting arrow info.
5040         * app/interface.c (create_lineprops_area): Set persistently stored
5041         arrow info.
5043         * lib/arrows.[ch]: New function to get arrow index (in arrow_types)
5044         from arrow type.
5046         * lib/dia_dirs.c: dia_get_absolute_path now creates a canonical
5047         path (i.e. without '.' or '..').  Not tuned for Win32 yet.
5049         * plug-ins/xfig/xfig-import.c: Redone ordering of import to comply
5050         with what xfig does.  Text now converted from latin-1 to utf-8
5051         (latin-1, since that's what xfig seems to use.  Would like to see
5052         examples of non-latin-1 figs).  String case problems fixed.
5054 2004-04-01  Lars Clausen  <lars@raeder.dk>
5056         * lib/attributes.c: 
5057         * app/interface.c: Default arrows now stored persistently, too.
5059         * lib/arrows.[ch]: New function to get arrow type from name.
5061         * app/color_area.c (color_area_create): 
5062         * lib/attributes.c: 
5063         * app/linewidth_area.c: Also persistent colors and line width.
5064         That was easy.  Arrows and line style will take a bit more work,
5065         but not much.
5067 2004-04-01  Lars Clausen  <lars@raeder.dk>
5069         * app/preferences.c:   All preferences are now
5070         handled by persistence, old prefs load and store code is gone.
5072         * lib/persistence.[ch]: Added string and color persistents.  This is
5073         a different string from the one used in the printer dialog, that
5074         one has a GtkEntry attached -- may want to make that one an
5075         encapsulation of this one or something.
5077 2004-03-31  Lars Clausen  <lars@raeder.dk>
5079         * app/app_procs.c: Do persistence before prefs.  Prefs are to be
5080         phased out anyway.
5081         
5082         * lib/persistence.[ch]: 
5083         * app/preferences.c: Adding persistence for integers, reals,
5084         booleans.  Fixed stupid list bug.  Test persistence for prefs.
5086 2004-03-30  Lars Clausen  <lars@raeder.dk>
5088         * app/recent_files.c: 
5089         Debugging of deallocation.
5090         
5091         * lib/widgets.c: 
5092         Font menu now uses persistence.  Ordering needs fixing, or it must
5093         be sorted.
5095         * lib/libdia.def: 
5096         * lib/Makefile.am (libdia_la_SOURCES): 
5097         * app/Makefile.am (dia_core_files): 
5098         * app/persistence.[ch]: 
5099         * lib/persistence.[ch]: Moved to lib as widgets need it.  Also a
5100         number of fixes, including multiple entries now being read
5101         properly.  Still some oddity about the persistent list having the
5102         role as first entry (which makes the font menu crash after a few
5103         iterations). 
5105 2004-03-26  Lars Clausen  <lars@raeder.dk>
5107         * app/persistence.c:
5108         * app/recent_files.[ch]: Redoing the recent-files list using
5109         persistence, reducing code by about 50%.  Still a problem when
5110         selecting an item from the menu -- possibly it doesn't like the
5111         menu being destroyed while in the callback?
5113 2004-03-25  Lars Clausen  <lars@raeder.dk>
5115         * app/persistence.c (persistence_load_string): Missing semicolon?!?
5117 2004-03-24  Lars Clausen  <lars@raeder.dk>
5119         * RELEASE-PROCESS: 
5121         * app/persistence.[ch]: 
5122         * app/paginate_psprint.c (diagram_print_ps): New type of data can
5123         be stored persistently:  Strings.  Only the printer command/file
5124         go in here now, but things like creator, organization, diagram
5125         comments etc could also be handled this way.
5127         * objects/standard/beziergon.c (beziergon_draw): Avoid control
5128         lines when the object is not selected.
5130 2004-03-23  Lars Clausen  <lars@raeder.dk>
5132         * lib/connectionpoint.h: 
5133         * app/load_save.c: Allow connection points to have names, and
5134         handle that in load/store.
5136         * lib/dialibartrenderer.c: Better highlighting for text.
5138         * lib/diagdkrenderer.h (struct _DiaGdkRenderer): 
5139         * lib/diagdkrenderer.c: Better highlighting for all, using same
5140         principles as libart highlighter.
5142 2004-03-22  Lars Clausen  <lars@raeder.dk>
5144         * lib/dialibartrenderer.[ch]: 
5145         * lib/diagdkrenderer.c: 
5146         * lib/object.h: 
5147         * app/object_ops.c:
5148         * app/diagram.[ch]:
5149         * app/display.[ch]:
5150         * app/Makefile.am: 
5151         * app/modify_tool.c: 
5152         * app/create_object.c: 
5153         * app/highlight.[ch]: 
5154         Added simple object highlighting.  In GDK rendering, highlights
5155         the bbox, in libart highlights the outline of the object (except
5156         for texts).
5158 2004-03-22  Lars Clausen  <lars@raeder.dk>
5160         * RELEASE-PROCESS: Added info on how to do a branch for
5161         development during release process.
5163 2004-03-20  Lars Clausen  <lars@raeder.dk>
5165         * RELEASE-PROCESS: Mention PATCH keyword in release process.
5167 2004-03-19  Lars Clausen  <lars@raeder.dk>
5169         * xmldocs.make: Fixed apparent uninstall error.
5171         * config.h.win32: 
5172         * doc/en/dia-manual.xml: 
5173         * doc/pl/dia-manual.xml: 
5174         * dia.spec: 
5175         * configure.in: 
5176         * NEWS: Version 0.93-pre1.
5178         * lib/dialinechooser.[ch]: Patch from pborelli@katamail.com (paolo
5179         borelli):  Remove some deprecated stuff.
5181 2004-03-18  Lars Clausen  <lars@raeder.dk>
5183         * Makefile.am: Try better uninstall thing for scrollkeeper.
5185         * objects/ER/entity.c: 
5186         * lib/arrows.[ch]: Patch from Georg Lothar Thimm
5187         <MGEORG@ntu.edu.sg>: Adds new ER arrows 1 or many, 0 or many, 0 or
5188         1, 1 exactly, as well as associative ER entities.
5190 2004-03-17  Lars Clausen  <lars@raeder.dk>
5192         * Makefile.am: Make distcheck not complain about scrollkeeper
5193         problems (as per advice from James Henstridge).
5195         * doc/pl/*.{xml,sgml}: Converted SGML manuals to XML to get better
5196         standard installation.
5198         * objects/standard/ellipse.c: Better strings for object menu.
5200         * app/sheets_dialog_callbacks.c: Fixed crashes from broken caching
5201         of dialogs (shame on you, glade!)
5203         * objects/custom/custom_object.c (custom_setup_properties):
5204         Removed debugging output
5206         * app/paginate_psprint.c (diagram_print_ps): Slightly more
5207         readable printer error messages.
5209         * xmldocs.make: 
5210         * omf.make: 
5211         * doc/en/Makefile.am: 
5212         * doc/pl/Makefile.am: 
5213         New more standard way to install the XML-based manuals.  
5215 2004-03-15  Lars Clausen  <lars@raeder.dk>
5217         * objects/standard/box.c (box_move_handle): More intuitive fixed
5218         aspect behaviour.
5220         * objects/standard/ellipse.c: 
5221         * objects/standard/box.c: 
5223         * lib/widgets.[ch]:
5224         * app/layer_dialog.[ch]:
5225         Patch from Steve Langasek <vorlon@debian.org>:
5226         Fixes startup crash on Alpha (bug #137169)
5227         
5228         * objects/standard/box.c: Aspect fixing like ellipses.
5230         * app/Makefile.am (dia_core_files): Include dia-app-icons.h
5232         * lib/pixmaps/Makefile.am (imagedir): Better Makefile.am for
5233         pixmaps, now can uninstall properly.
5235         * objects/standard/ellipse.c: Patch from dooms@info.ucl.ac.be:
5236         Fixed and circle aspect ratios for ellipses.  Bug #137156, #87966,
5237         #93940. 
5238         Added object menu access.
5240 2004-03-07  Hans Breuer  <hans@breuer.org>
5242         * lib/diaarrowchooser.c lib/dialinechooser.c : #undef
5243         GTK_DISABLE_DEPRECATED (I'd rather like if these widgets
5244         would not use deprecated apis, but it's much simpler this way)
5246         * lib/makefile.msc : build the above new widgets and render_pixmap
5247         * lib/libdia.def app/dia.def app/makefile.msc : updated
5249         * app/disp_callbacks.c : fix gccisms (without being able to make much sense of 
5250         what I saw, i.e. how big is an empty array supposed to be ? ;-). 
5251         Previously it gave :
5252         disp_callbacks.c(188) : error C2059: syntax error : '}'
5253         disp_callbacks.c(191) : warning C4034: sizeof returns 0
5255         * app/interface.c : #include "dialinechooser.h"
5257         * lib/diagdkrender.c : make the !HAVE_FREETYPE case compile again
5258         [one more reason not to use it here : it's quite slow compared to
5259          the native win32 font renderer ;]
5261         * app/app_procs.c app/filedlg.c : gtk_widget_destroy does not take
5262         a GtkDialog*, removed unneeded cast
5264         * app/render_eps.c : avoid assignment warning for void* user_data
5265         not being an int 
5267 2004-03-06  Steffen Macke sdteffen@web.de>
5269         * shapes/Map/Isometric/Makefile.am: added Makfile for Isometric
5270         shapes
5272 2004-03-06  Lars Clausen  <lars@raeder.dk>
5274         * lib/arrows.h (DEFAULT_ARROW_SIZE): Downed default arrow size to
5275         0.5, as per poll.
5277         * lib/font.c: Simple cleanup system for layout cache removes any
5278         layout that hasn't been used for 10 minutes, but only during idle
5279         time. 
5281 2004-03-05  Lars Clausen  <lars@raeder.dk>
5283         * sheets/Electric.sheet.in: Added patch from padro@lsi.upc.es
5284         (lluis padro) (#130887): Extended Electric shapes with vertical
5285         versions. 
5287         * sheets/Cybernetics.sheet.in: Normalize shape descriptions (never
5288         start with "Create a" or "A", always capitalize first word).
5290         * objects/standard/ellipse.c: Patch from Grégoire Dooms
5291         <dooms@info.ucl.ac.be>: Add extra connection point in center of
5292         ellipse.  Additionally added a handle in the center, and resize is
5293         now around the center.
5295         * configure.in: 
5296         * sheets/Makefile.am (SUBDIRS): 
5297         * sheets/IsometricMap.sheet.in: 
5298         * shapes/Map/Isometric/*
5299         * shapes/Makefile.am (SUBDIRS): Added Isometric shapes.
5301 2004-03-04  Lars Clausen  <lars@raeder.dk>
5303         * lib/Makefile.am: 
5304         * lib/pixmaps/Makefile.am: 
5305         * configure.in: 
5306         Better installation handling of pixmaps.
5307         
5308         * lib/diagdkrenderer.c: 
5309         * lib/diagtkfontsel.h (struct _DiaGtkFontSelectionClass): 
5310         * lib/diagtkfontsel.c (dia_gtk_font_selection_show_available_fonts): 
5311         Constness fixes.
5313 2004-03-03  Lars Clausen  <lars@raeder.dk>
5315         * lib/diagtkfontsel.h (struct _DiaGtkFontSelection): 
5316         * lib/diagdkrenderer.c: 
5317         * lib/diasvgrenderer.c:
5318         * lib/dialibartrenderer.c:
5319         * lib/diainteractiverenderer.c: 
5320         * lib/prop_text.c (multistringprop_handle_key): 
5321         * lib/dia_dirs.c: 
5322         * lib/dia_image.c (dia_image_rgba_data): 
5323         * lib/widgets.c: 
5324         * lib/diagramdata.c (layer_set_object_list): 
5325         * lib/font.h: 
5326         * lib/font.c: 
5327         Getting rid of compile warnings.
5329         * lib/widgets.c: Handle destroy properly, i.e. unref the two extra
5330         images.  Also remove unused decls.
5332 2004-03-02  Lars Clausen  <lars@raeder.dk>
5334         * lib/widgets.h: 
5335         * lib/widgets.c (dia_size_selector_init): Add images to the size
5336         selector chain widget.  Also new function to load installed images
5337         from files (better than from included XPM, IMHO).
5339 2004-03-02  Lars Clausen  <lars@raeder.dk>
5341         * lib/libdia.def: 
5342         * lib/pixmaps/[un]broken-chain.xpm: Icons stolen from GIMP for the
5343         size selector.
5345         * lib/Makefile.am: 
5346         * lib/widgets.c (dia_size_selector_init): Work
5347         on getting proper icon onto the size selector.  Need simple image
5348         load mechanism in utils.
5350         * lib/text.c: 
5351         * app/display.[ch]:
5352         * app/disp_callbacks.c: Patch from kou@cozmixng.org: Show preedit
5353         strings, handle utf8 strlen properly.  Bug #135930.
5355 2004-03-01  Lars Clausen  <lars@raeder.dk>
5357         * shapes/Cybernetics/*:
5358         * sheets/Cybernetics.sheet.in:
5359         * sheets/Makefile.am:
5360         * shapes/Makefile.am: 
5361         * configure.in: Patch from charly.meyer@t-online.de (Thorsten
5362         Roggendorf): Cybernetic shapes (#95553).
5364 2004-03-01  Lars Clausen  <lars@raeder.dk>
5366         * app/Makefile.am: Fixed $(EXEEXT) warning from automake.
5368         * lib/diatypes.h: New type DiaSizeSelector.
5370         * lib/widgets.[ch]: New size selector widgets that selects two
5371         values (width and height, nominally) optionally linked to keep
5372         aspect ratio.
5374 2004-03-01  Hubert Figuiere  <hfiguiere@teaser.fr>
5376         * plug-ins/svg/render_svg.c (new_svg_renderer): Add DTD declaration
5377         in front of file. Bug #128600.
5379         * app/Makefile.am:
5380         * app/interface.h:
5381         * app/lineprops_area.[ch]:
5382         * lib/Makefile.am:
5383         * lib/dialinechooser.[ch]:
5384         * lib/widgets.c (dia_line_style_selector_init): use line preview 
5385         instead of text labels. This involve moving away line_chooser to lib
5386         from app.
5388         * lib/diaarrowchooser.[ch] (close_and_hide): Make static to avoid
5389         symbol conflicts.
5391         * app/Makefile.am (dia_core_files): 
5392         * app/interface.c (create_lineprops_area):
5393         * app/render_pixmap.[ch]:
5394         * lib/Makefile.am:
5395         * lib/diaarrowchooser.[ch]:
5396         * lib/libdia.def:
5397         * lib/prop_attr.c:
5398         * lib/propdialogs.c:
5399         * lib/render_pixmap.[ch]:
5400         * lib/widgets.c (dia_arrow_fill_menu): Use arrow preview instead
5401         of text labels. This involve moving away arrow_chooser to lib from
5402         app.
5404 2004-02-29  Lars Clausen  <lars@raeder.dk>
5406         * objects/UML/class.[ch]: Puny kludge to avoid GtkList objects
5407         being updated half-way through destruction.  To be removed when
5408         the lists are replaced by something better.
5410         * objects/UML/class_dialog.c: Patch from luc@handhelds.org:
5411         Accelerators for class dialog.  Bug #130995.
5412         Patch from luc@handhelds.org: Better aligning of widgets.  Bug #130994.
5414         * app/dia-props.c:
5415         * app/preferences.c:
5416         * lib/properties.c:
5417         * objects/GRAFCET/step.c:
5418         * objects/Misc/analog_clock.c:
5419         * objects/chronogram/chronoline.c:
5420         * objects/chronogram/chronoref.c:
5421         Change to american spelling (color, not colour) to ease
5422         translators job.  Note that a number of translations may need an
5423         update now.  Bug #120466.
5425 2004-02-29  Lars Clausen  <lars@raeder.dk>
5427         * plug-ins/xfig/xfig-export.c: Patch from solworth@cs.uic.edu:
5428         Better arrow handling for missing arrows.
5430         * plug-ins/metapost/render_metapost.[ch]: Patch from
5431         phred@cs.berkeley.edu (Fred Reiss): Add font faces and font
5432         size. See bug #135363.
5434         * app/app_procs.c (app_init): If non-interactive, or if
5435         --log-to-stderr used, send all messages to stderr.  This should
5436         mean that old diaconv == dia --export-to-format=FOO BAR
5438 2004-02-29  Hubert Figuiere  <hfiguiere@teaser.fr>
5440         * app/menus.c: Get rid of GNOME menus. Deprecated APIs in GNOME 2.
5442 2004-02-28  Lars Clausen  <lars@raeder.dk>
5444         * lib/text.c (text_key_event): Patch from Kouhei Sutou
5445         <kou@cozmixng.org>: Fix wrong utf8 strlen handling.
5447 2004-02-27  Lars Clausen  <lars@raeder.dk>
5449         * KNOWN_BUGS: Added info on most commonly reported bugs, with
5450         BugZilla numbers.
5451         
5452         * app/disp_callbacks.c (popup_object_menu): Unified properties
5453         entry, fixes bug #105080.
5455         * app/diagram.c (diagram_update_menu_sensitivity): 
5456         * app/menus.h (struct _UpdatableMenuItems): 
5457         * app/menus.c (menus_initialize_updatable_items): Menu items
5458         changed around, align menus flattened, properties entry ghosted,
5459         dialogs menu removed, more shortcuts added.  Closing bugs #94018,
5460         #117495, #135125.
5461         Also taking out Gnome menus for now.  They don't allow shortcuts,
5462         so what are they good for?
5464 2004-02-27  Lars Clausen  <lars@raeder.dk>
5466         * app/menus.c (display_menu_items): 
5467         * app/commands.[ch]: Added duplicate menu item from Alan Horkan
5468         (bug #95546).
5470 2004-02-24  Adam Weinberger  <adamw@FreeBSD.org>
5472         * configure.in: Added 'en_CA' (Canadian English) to ALL_LINGUAS.
5474 2004-02-23  Lars Clausen  <lars@raeder.dk>
5476         * app/app_procs.c (app_init): Comments for translators.
5478 2004-02-22  Hubert Figuiere  <hfiguiere@teaser.fr>
5480         * app/preferences.c (prefs_create_dialog): Change packing policy
5481         for widget to expand.
5483         * app/Makefile.am (run_dia.sh): Fixed a typo in wrapper that prevented
5484         running with a debugger.
5486 2004-02-19  Lars Clausen  <lars@raeder.dk>
5488         * app/undo.[ch]: Adding last-saved information to undo to allow a
5489         diagram with all changes since last save undo to be marked as
5490         nonmodified.  Still needs integration with actual undo
5491         apply/revert calls.
5493         * app/diagram.h: 
5494         * app/diagram_tree.c (diagram_tree_update): 
5495         * app/diagram.c: 
5496         * app/display.c (update_modified_status): 
5497         * plug-ins/python/pydia-diagram.c (PyDiaDiagram_GetAttr): 
5498         * app/autosave.c (autosave_check_autosave): Encapsulate modifed
5499         test. 
5501         * app/render_eps.[c]: Restructure to better handle PS vs. EPS
5502         vs. EPSI, comment out EPSI until preview is in there.
5504         * lib/render.c: 
5505         * lib/diarenderer.c: Removing debugging printfs.
5507         * app/diapsrenderer.[ch]: Preparations for proper EPSI rendering
5508         (with preview)
5510         * objects/standard/arc.c (arc_update_handles): Check to avoid
5511         crash when start and end points are the same.
5513 2004-02-19  Lars Clausen  <lars@raeder.dk>
5515         * objects/standard/bezier.c: 
5516         * objects/standard/line.c (line_load): 
5517         * objects/standard/polyline.c (polyline_load): 
5518         * objects/standard/zigzagline.c (zigzagline_load): 
5519         * objects/standard/arc.c (arc_load): 
5520         * lib/widgets.h (DEFAULT_ARROW_WIDTH): Use DEFAULT_ARROW_SIZE
5521         instead of hardcoding.
5523 2004-02-18  Hubert Figuiere  <hfiguiere@teaser.fr>
5525         * app/disp_callbacks.c (popup_object_menu): append a menu item to 
5526         display properties.
5528 2004-02-17  Hubert Figuiere  <hfiguiere@teaser.fr>
5530         * app/app_procs.c: declare rc properly with the proper #ifdef
5532 2004-02-17  Lars Clausen  <lars@raeder.dk>
5534         * plug-ins/xfig/xfig-import.c: Correct ordering of imported FIG
5535         objects (which seemingly FIG itself breaks, or else there is no
5536         ordering).
5538 2004-02-16  Lars Clausen  <lrclause@cs.uiuc.edu>
5540         * plug-ins/xfig/xfig-export.c (figLineWidth): Check for minimum
5541         width renderable in xfig.  Helps on bug #133637, but does not
5542         quite fix it -- something about depth is wrong.
5544         * plug-ins/xslt/xslt.[ch]: Patch #133913 from phenning@lanl.gov:
5545         Extern definitions for Mac compilation.
5547         * app/app_procs.c: Patch #131159 from J. H. M. Dassen
5548         (jdassen@debian.org): Include fix.
5550         * app/interface.c: Patch #130100 from luc@handhelds.org:  Make
5551         sure the initial diagram size is correct.
5553 2004-02-15  Lars Clausen  <lrclause@cs.uiuc.edu>
5555         * lib/Makefile.am (AM_CPPFLAGS): Override AM_CPPFLAGS instead of
5556         CPPFLAGS, as per automake warning.
5557         * app/Makefile.am (AM_LDFLAGS): Override AM_LDFLAGS instead of
5558         LDFLAGS, as per automake warning.
5559         (run_dia.sh): More robust creation, and more easily moved.
5561         * app/undo.c (group_objects_revert): Don't double-free the objects
5562         list.  (#129221) Call object_add_updates on grouped objects.
5563         (ungroup_objects_revert): Call object_add_updates on grouped objects.
5565         * lib/diagramdata.c: Internal
5566         documentation. 
5568         * lib/polyshape.c (polyshape_update_data): Correctly calculate
5569         directions for polyshape corners (thanks, Valgrind!)
5571         * lib/attributes.c: 
5572         * lib/prop_attr.c (arrowprop_load): Use default arrow size.
5574         * lib/arrows.h: Default arrow size defined.  After all are using
5575         this, may lower to 0.4 or so.
5577         * app/lineprops_area.[ch]: New function to set the arrow type for an
5578         arrow chooser.
5580         * app/interface.c (create_lineprops_area): Set default line to
5581         have an arrow (fairly likely to be what's wanted, plus it shows
5582         the user where arrows are set).
5584         * app/app_procs.c: #ifdef HAVE_POPT popt args to process_opt
5586 2004-02-14  Lars Clausen  <lrclause@cs.uiuc.edu>
5588         * plug-ins/metapost/render_metapost.c (draw_with_linestyle):
5589         Dotted lines should use dot_length, not dash_length.
5591 2004-02-06  Hans Breuer  <hans@breuer.org>
5593         * app/interface.c : don't use gtk_drawing_area_size() to avoid
5594         the defaut size being also the minimum size. Instead use
5595         gtk_window_set_default_size() on the display shell. Fixes #130982.
5597         [fixing #131210, but umlauts in the 'main' filename still not really 
5598          supported on systems where filesystem encoding != utf8
5599         (Problems with recent file menu and window title)]
5600         * lib/dia_xml.[hc] : add data_filename() and data_add_filename()
5601         to deal with possible differnces in filename encodings, see
5602         g_filename_<to|from>_utf8()
5603         * objects/standard/image.c : use them.
5605         * lib/widgets.c : handle possible encoding difference here, too.
5606         Also get rid of most warnings by using const and GTK casts where 
5607         appropriate; one wrong cast (probably causing a crash) was found/fixed 
5608         by this - the remaining give a hint on finally leaking FontSelectorEntry.
5610         * lib/widgets.[hc] : hide _DiaFileSelector and *Class in .c. Modified
5611         dia_file_selector_<get|set>_file to behave like the respective Gtk 
5612         functions do : encoding- and const-wise ;-)
5614 2004-02-01  Robert Sedak  <robert.sedak@sk.htnet.hr>
5616         * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
5618 2004-01-19  Hans Breuer  <hans@breuer.org>
5620         * app/app_procs.c app/diaconv : 
5621         only call bind_textdomain_codeset when available, what's good 
5622         for The Gimp (bug #131215) can't be wrong for Dia : bug #125926
5623         * config.h.win32 : define HAVE_BIND_TEXTDOMAIN_CODESET
5625 2004-01-19  Steffen Macke <sdteffen@web.de>
5627         * makefile.msc: updated for new GAIM-like installer build; sync'ed
5628         ALL_LINGUAS with configure.in
5630 2004-01-18  Hans Breuer  <hans@breuer.org>
5632         * app/app_procs.c (myXmlErrorReporting) : avoid possible crash 
5633         by not passing NULL to g_print()
5635         * app/interface.c (create_toolbox) : actually use
5636         persitence_register_window() to restore toolbox window size
5638         * app/makefile.msc lib/makefile.msc : allow to deselect
5639         building with Freetype by command line to nmake like :
5640                 nmake -f makefile.msc "NOFT2=1"
5642         * plug-ins/python/diasvg_import.py : handle 'stroke-array' as
5643         far as possible with Dia's limited line style
5644         * plug-ins/python/pydia-property.c : allow to get and set
5645         Linestyle, style and dash(length)
5647         * lib/object.h : removed typedef for ObjectId not use anywhere
5649 2004-01-17  Hans Breuer  <hans@breuer.org>
5651         * objects/custom/shape_info.[hc] objects/custom/custom_object.c
5652           doc/shape.dtd doc/custom-shapes : 
5653         support for images in custom shapes, also removed some long-time
5654         dead code
5656         * doc/en/*.xml : fixed crippled line ends which get created
5657         when windoze line ends are checkin from the unix side
5659 2004-01-13  Laurent Dhima  <laurenti@alblinux.net>
5661         * configure.in: Added "sq" to ALL_LINGUAS.
5663 2004-01-11  Hans Breuer  <hans@breuer.org>
5665         [more less leaks ;-]
5666         
5667         * objects/SADT/annotation.c : use text_destroy() not g_free()
5668         
5669         * objects/chronogram/chronoline.c : neither leak chronoline::events
5670         nor chronoline::name
5672         * objects/wpg/wpg.c : don't g_free() but g_object_unref(renderer);
5674 2004-01-11  Hans Breuer  <hans@breuer.org>
5676         * lib/properties.h :
5677         * objects/custom/custom_object.c : more properties optional
5678         to be backward compatible for older diagrams not having them 
5679         set. (Try to load samples/all_objects.dia)
5680         
5681         [less memory leaks thanks valgrind ;-]
5682         
5683         * app/recent_files.c (recent_file_history_write) : 
5684         g_free(history_filename);
5685         (recent_file_menu_item) : use g_path_get_basename() 
5686         which already strdups, free result of g_strescape()
5687         
5688         * app/filedlg.c (create_export_menu) : return of
5689         filter_get_export_filter_label() must be g_free()'d
5690         (create_open_menu) : same for import
5691         
5692         * app/export_png.c (export_png_ok) : destroy info ptr
5693         with png_destroy_write_struct()
5694         
5695         * app/app_procs.c (app_init) : g_free(export_format_string);
5696         
5697         * lib/font.c (dia_font_finalize) : finalize parent_class, too
5698         (dia_font_new_from_style) : stop leaking almost all DiaFont by not
5699         refing it a second time, g_type_create_from_instance() is enough
5700         
5701         * lib/object_defaults.c (_obj_store) : don't mess with names
5702         len 0 (should avoid 'Invalid read of size 1, but doesn't ;)
5703         
5704 2004-01-11  Steffen Macke <sdteffen@web.de>
5706         * app/diapsftrenderer.c: including ftoutln.h
5707         * app/makefile.msc: updated for freetype build
5708         * lib/libdia.def: added dia_font_get_context()
5709         * lib/dialibartrenderer.c (draw_string): added cast
5710         
5711 2004-01-10  Hans Breuer  <hans@breuer.org>
5713         * lib/diagdkrenderer.c (draw_string) : gdk_draw_line with
5714         transformed coordinates, fixes bug 130804
5716 2004-01-10  Hans Breuer  <hans@breuer.org>
5718         * app/filedlg.c app/app_procs.c : don't try to destroy 
5719         'gtk_dialog_run'-dialogs dialogs by connecting to the "response"
5720         signal but simply by gtk_widget_destroy() after gtk_dialog_run()
5721         returns. Fixes 'has no handler' bugs like #121019
5723 2004-01-10  Hans Breuer  <hans@breuer.org>
5725         * objects/UML/class.c objects/UML/class_dialog.c : 
5726         handle umlclass->name being empty to avoid, i.e. fix #127968
5728         [plugging memleaks, thanks valgrind :-]
5729         
5730         * lib/dia_xml.c (data_string) : don't leak return value
5731         of xmlNodeListGetString()
5732         
5733         * lib/dia_xml.c (xml_file_check_encoding) : g_free(buf)
5734         before returning, maybe alloca() would be the better 
5735         choice but anyway ;)
5737         * objects/custom/custom_object.c:306 : adde xmlFree(str) below
5738         
5739         * lib/font.c (dia_font_build_layout) : don't leak result
5740         of g_utf8_strdown()
5741         
5742         * lib/diagdkrenderer.c (draw_string) : don't leak rgba
5743         (this is the one which got me started using valgrind, see #130816)
5744         
5745 2004-01-07  Sanlig Badral  <badral@openmn.org>
5747         * configure.in: Added "mn" to ALL_LINGUAS.
5749 2004-01-04  Hans Breuer  <hans@breuer.org>
5751         * lib/diagdkrenderer.c : replace rendering of really small (height
5752         less than 2 pixels) with a simple dashed line, you wont notice the 
5753         differnce beside it being much faster. This allows ...
5754         * lib/diagdkrenderer.h : ... to remove gboolean rendertext ...
5755         * app/navigation.c : ... and lets you see an read rendered text even 
5756         in the nice navigation popup.
5758         * lib/dialibartrenderer.c : FONT_SCALE defined as 1.0 for G_OS_WIN32, too. 
5759         (draw_string) : don't leak temporary image
5761 2004-01-04  Hans Breuer  <hans@breuer.org>
5763         * app/dia-app-icons.h : TODO : to be removed when autogenerated on *NIX, too.
5764         * app/interface.c : use dia-app-icons.h to give Dia window icons
5766         * lib/dia_image.c lib/color.c : _never_ call functions implemented
5767         in app/ from lib/. It is not portable and broken from design
5768         * app/app_procs.c : call color_init() and dia_image_init() conditional,
5769         i.e. only if running interactive.
5771         * lib/font.h : #include <time.h>
5773         * lib/libdia.def : updated externals
5775         * objects/UML/actor.c 
5776             objects/UML/association.c (todo)
5777           objects/UML/branch.c
5778           objects/UML/class.[hc] objects/UML/class_dialog.c
5779           objects/UML/classicon.c
5780           objects/UML/component.c 
5781           objects/UML/constraint.c
5782           objects/UML/dependency.c
5783           objects/UML/generalization.c
5784           objects/UML/implements.c
5785           objects/UML/large_package.c
5786           objects/UML/lifeline.c
5787           objects/UML/message.c
5788           objects/UML/node.c
5789           objects/UML/object.c
5790           objects/UML/realizes.c
5791           objects/UML/small_package.c
5792           objects/UML/state.c
5793           objects/UML/usecase.c
5794           objects/UML/
5795         : ported coloring of most UML objects (bug #97517, orginal
5796           work Mathias Hasselmann)
5798         * lib/properties.h : add _OPTIONAL variants for 
5799         PROP_STD_(LINE|FILL|TEXT)_COLOUR which allows to load old -
5800         i.e. default colored - UML diagrams without complaining
5801         * lib/proplist.c lib/propoffsets.c : avoid setting _OPTIONAL,
5802         not set properties with the help of PXP_NOTSET. Otherwise 
5803         optional attributes would lead to wrong initialization. 
5805         * lib/widgets.[hc] : moved _DiaFontSelector from .h to .c
5806         to hide details and restict #undef GTK_DISABLE_DEPRECATED to .c
5807         Same for most other selectors which probably should be rewritten
5808         to the combo box with tree model from Gtk+ 2.4
5810 2004-01-04  Lars Clausen  <lrclause@cs.uiuc.edu>
5812         * INSTALL (PLATFORM NOTES): Mention the Gnu gettext and iconv as
5813         being the Right Thing(tm) to use on Solaris.
5815         * objects/standard/bezier.c (bezierline_draw): Don't draw
5816         guidelines if not selected.
5818         * lib/object.[ch] (dia_object_is_selected): Function to check whether
5819         a given object is selected. O(n), where n is # selected objects.
5820         
5822 2004-01-03  Lars Clausen  <lrclause@cs.uiuc.edu>
5824         * lib/widgets.[ch]: Make sure old font is re-chosen when the Other
5825         Fonts dialog is closed without pressing Ok (bug #128646).
5827 2004-01-02  Lars Clausen  <lrclause@cs.uiuc.edu>
5829         * app/Makefile.am: Quote arguments correctly for run_dia.sh (bug
5830         #130099). 
5832 2004-01-01  Lars Clausen  <lrclause@cs.uiuc.edu>
5834         * INSTALL: Updated list of requirements (bug #129653)
5836         * doc/en/dia.dia: Beginning class diagram for Dia from Luc
5837         Pionchon <luc@handhelds.org>.
5839 2003-12-31  Lars Clausen  <lrclause@cs.uiuc.edu>
5841         * lib/diagdkrenderer.c (draw_string): Don't attempt to render
5842         empty or NULL strings (bug #130097).
5844 2003-12-31  Chris Sperandio <sperandi@eng.usf.edu>
5845         
5846         * plug-ins/metapost/render_metapost.c: Fixed string colorization.
5847         Added checks against color_black.
5849 2003-12-31  Lars Clausen  <lrclause@cs.uiuc.edu>
5851         * plug-ins/xfig/xfig-export.c (figArrow): Output nothing for
5852         ARROW_TYPE_NONE.  Thanks to Jon A. Solworth for showing that this
5853         can happen.
5855         * objects/UML/component_feature.c: Patch from W. Borgert
5856         <debacle@debian.org>:  Add handle to component feature text.
5858         * lib/diagdkrenderer.c (draw_string): Remove poorly placed caching.
5860         * lib/font.c: Caching PangoLayout for better rendering speed.
5862 2003-12-30  Lars Clausen  <lars@raeder.dk>
5864         * lib/dia_dirs.[ch] (dia_get_absolute_filename): New function to
5865         get absolute file name from relative.
5866         * app/recent_files.c (recent_file_history_add): Use absolute
5867         filenames for recent files menu so that files can be found when
5868         Dia is invoked from other places.  
5870         * app/app_procs.c (handle_all_diagrams): Fix for 1/3 of 130098:
5871         Actually load different diagrams if such are requested on command
5872         line.  
5874         * objects/UML/class_dialog.c (class_create_page): Fix from Luc
5875         Pionchon <luc@handhelds.org>: Correctly align labels for colors.
5877         * lib/diagdkrenderer.[ch]: From Luc: New option to GdkRenderer to
5878         remove text rendering.  May be turned into greeking at some later
5879         stage.
5881         * app/interface.c: 
5882         * app/Makefile.am (dia_core_files): 
5883         * app/navigation.[ch]: Patch from Luc Pionchon <luc@handhelds.org>:
5884         Adds navigation window a la Gimp, though without text being
5885         rendered at all.
5887 2003-12-27  Luc Pionchon <luc@handhelds.org>
5889         * app/navigation.h: (new file)
5890         * app/navigation.c: (new file) creates a navigation window with a
5891         thumbnail view of the whole diagram.
5892         * app/Makefile.am (dia_core_files): added new files.
5894         * app/interface.c (create_display_shell): added a button between
5895         the scrollbars to popup a navigation window.
5897         * lib/diagdkrenderer.h (struct_DiaGdkRenderer): added rendertext
5898         boolean
5899         * lib/diagdkrenderer.c (renderer_init): set rendertext TRUE by default
5900         * lib/diagdkrenderer.c (draw_string): returns if the renderer do
5901         not want text rendering.        
5903 2003-12-14  Lars Clausen  <lrclause@cs.uiuc.edu>
5905         * shapes/Circuit/hresistor.shape: Uses new extra attribute thing.
5907         * objects/custom/shape_info.[ch]: Cleanup.
5909         * objects/custom/custom_object.[ch]: Changed to use new props
5910         interface.
5912         * lib/properties.h: 
5913         * lib/prop_text.c: 
5914         * lib/prop_inttypes.c: 
5915         * lib/prop_geomtypes.c: Added *prop_get_data_size.
5917         * lib/libdia.def: Added object_load_props.
5919         * configure.in: Better FT2 version test, from bug #129225.
5921         * dia.spec (BuildRequires): Changed to match makefile (bug #129131)
5923         * plug-ins/xslt/dia-uml2python.xsl: Added Python sheet from Holger
5924         Lehmann <holger.lehmann@catworkx.de>.
5926         * plug-ins/xslt/Makefile.am: 
5927         * plug-ins/xslt/stylesheets.xml: Added Python, Component List,
5928         and OWL XSLT sheets.
5930 2003-12-13  Lars Clausen  <lrclause@cs.uiuc.edu>
5932         * lib/diagdkrenderer.c: Add implementation so text is still
5933         rendered.  May be improved later.
5935         * lib/dia_image.c: 
5936         * app/main.c: 
5937         * app/export_png.c: 
5938         * app/diagram.c: 
5939         * app/app_procs.c: Patch from W. Borgert <debacle@debian.org>:
5940         Allow running without a $DISPLAY!
5942         * lib/color.c: Remove warnings for non-interactive run.
5944         * doc/en/dia.dbk: 
5945         * app/export_png.c: 
5946         * app/diaconv.c: 
5947         * app/app_procs.[ch]: 
5948         Patch from W. Borgert <debacle@debian.org>: Allow a --size argument
5949         to specify size for PNG output.
5951         * app/lineprops_area.c (dia_arrow_preview_expose): Make arrows
5952         render a little smaller, so as to fit the big ones.
5954         * lib/arrows.[ch]: New arrow type from W. Borgert
5955         <debacle@debian.org>: Filled Dot and Triangle.
5957 2003-12-02  Lars Clausen  <lrclause@cs.uiuc.edu>
5959         * doc/pl/Makefile.am (install-data-hook): Fixed installation bug
5960         for gif images.
5962         * plug-ins/xslt/dia-uml2owl.xsl: Added OWL XSLT from Dan Connolly.
5964         * acinclude.m4: Better Python configure code patch (can't find
5965         author, author please speak up!)
5967 2003-12-01  Lars Clausen  <lrclause@cs.uiuc.edu>
5969         * lib/diagdkrenderer.c (get_cached_text): Stupid bugs replaced by
5970         smarter ones.
5972 2003-11-30  Hans Breuer  <hans@breuer.org>
5974         * plug-ins/python/diasvg.py : initialize self.dash_length
5975         in constructor to avoid crashing if the renderer user
5976         does not set it before first usage.
5978 2003-11-30  Lars Clausen  <lrclause@cs.uiuc.edu>
5980         * lib/diagdkrenderer.c: Start of cache GDK text renderer -- not
5981         active yet.
5983         * configure.in: 
5984         * config.h.win32: Set version number to 0.92.2+cvs to distinguish
5985         development and stable versions.
5987         * lib/text.c (text_draw): Use new renderer function to draw the
5988         text.
5990         * lib/diarenderer.h: 
5991         * lib/diarenderer.c: New renderer function "draw_text" with
5992         default implementation.  This function should eventually be the
5993         main interface, as it will be able to handle width and caching of
5994         rendering internally.  All users of draw_string should convert to
5995         use Text objects and call either renderer->draw_text or text_draw,
5996         the latter if the text can be edited in-place (as should be the
5997         goal, eventually).
5999 2003-11-29  Lars Clausen  <lrclause@cs.uiuc.edu>
6001         * shapes/Circuit/hresistor.shape: First example of extra
6002         attributes. 
6004 2003-11-28  Lars Clausen  <lrclause@cs.uiuc.edu>
6006         * plug-ins/shape/shape-export.c: 
6007         * lib/diasvgrenderer.h: 
6008         * lib/diasvgrenderer.c: 
6009         * plug-ins/svg/render_svg.c (new_svg_renderer): 
6010         Actually store the font size, using DiaRenderer's font fields.
6012 2003-11-27  Lars Clausen  <lrclause@cs.uiuc.edu>
6014         * objects/custom/shape_info.[ch]: 
6015         * objects/custom/custom_object.[ch]: 
6016         Support for extra attributes in custom objects.
6017         
6018 2003-11-23  Lars Clausen  <lrclause@cs.uiuc.edu>
6020         * app/diagram.c (diagram_update_menu_sensitivity): More
6021         intelligent checks for menu sensitivity.  Might be slow on huge
6022         diagrams, but I think other things outweigh it by a lot.
6024         * app/menus.[ch]: Make "Bring Forwards"
6025         and "Send Backwards" updateable.
6027 2003-11-22  Steffen Macke <sdteffen@web.de>
6029         * shapes/Assorted/arrow-turn-up.shape:
6030         * shapes/Assorted/arrow-turn-up.png:
6031         * sheets/Assorted/Makefile.am:
6032         * sheets/Assorted.sheet.in: Added new arrow
6034 2003-11-17  Lars Clausen  <lrclause@cs.uiuc.edu>
6036         * app/app_procs.c
6037         * app/color_area.c
6038         * app/commands.c
6039         * app/defaults.c
6040         * app/dia_embedd.c
6041         * app/diagram.c
6042         * app/diagram_tree.c
6043         * app/diagram_tree_menu.c
6044         * app/diagram_tree_window.c
6045         * app/diapagelayout.c
6046         * app/diaunitspinner.c
6047         * app/export_png.c
6048         * app/filedlg.c
6049         * app/interface.c
6050         * app/layer_dialog.c
6051         * app/lineprops_area.c
6052         * app/linewidth_area.c
6053         * app/menus.c
6054         * app/pagesetup.c
6055         * app/paginate_psprint.c
6056         * app/persistence.c
6057         * app/plugin-manager.c
6058         * app/preferences.c
6059         * app/properties.c
6060         * app/recent_files.c
6061         * app/sheets.c
6062         * app/sheets_dialog.c
6063         * app/sheets_dialog_callbacks.c
6064         * app/tool.c: Patch from Sebastien Tricaud <toady@gscore.org>:
6065         GTK-2 compatibility update, mostly gtk_foo -> g_foo.
6067         * TODO: Updated, note on EPS transparency.
6069 2003-11-07  Lars Clausen  <lrclause@cs.uiuc.edu>
6071         * objects/UML/class.c (umlclass_draw): Allow classes with no name
6072         without crashing.
6074 2003-11-01  Lars Clausen  <lrclause@cs.uiuc.edu>
6076         * config.h.win32: 
6077         * doc/en/dia-manual.xml: 
6078         * dia.spec: 
6079         * configure.in: 
6080         * NEWS: Another Brown Bag release for parenting problems,
6081         including a crash bug fix.
6083         * app/connectionpoint_ops.c (diagram_update_connections_object):
6084         Also update connections when moving children.  This can cause
6085         move_handle to be called twice, so it must be idempotent.
6087         * app/load_save.c: Loading and saving of children totally redone.
6088         Now doesn't violate assumption that all objects in a layer are
6089         placed in order in XML file.
6091         * objects/UML/branch.c (branch_create): Don't lie about being
6092         resizable. 
6094         * objects/UML/node.c (node_create): 
6095         * objects/UML/large_package.c (largepackage_create): Drag with
6096         lower right-hand handle at creation like all other objects.
6098 2003-10-28  Lars Clausen  <lrclause@cs.uiuc.edu>
6100         * app/disp_callbacks.c (ddisplay_drop_object): Change initial
6101         parenting drop to behave like a move inside, i.e. constrain place
6102         instead of trying to resize.  'Cause, resizing cannot be done for
6103         all objects (e.g. UML Class). Also simplified the algorithm a lot
6104         at the same time.
6106         * app/load_save.c: Saving and loading of connection points for
6107         children added.  Prototypes for static functions added.
6109         * lib/dynamic_obj.c: Removed debugging output.
6111 2003-10-26  Lars Clausen  <lrclause@cs.uiuc.edu>
6113         * doc/en/dia-manual.xml: 
6114         * doc/pl/dia-manual.sgml: 
6115         * dia.spec: 
6116         * config.h.win32: 
6117         * configure.in: 
6118         * NEWS: Brown Bag release 0.92.1
6120         * lib/dynamic_obj.c: Fixed embarassing dynamic object removal bug.
6122 2003-10-25  Lars Clausen  <lrclause@cs.uiuc.edu>
6124         * app/app_procs.c (app_init): Rearrangement for translators.
6126 2003-10-24  Steffen Macke <sdteffen@web.de>
6128         * lib/text.c(text_key_event): enforcing the inserted text length now,
6129         fix for bug #125348
6131 2003-10-22  Lars Clausen  <lrclause@cs.uiuc.edu>
6133         * MAINTAINERS: Change Debian maintainer to be the default address.
6135         * objects/Misc/analog_clock.c (analog_clock_move_handle): Reorder
6136         args to match prototype, thus removing crashbug #125159.
6138         * RELEASE-PROCESS: Note to self.
6140 2003-10-22  Steffen Macke <sdteffen@web.de>
6142         * doc/en/dia-manual.xml: removed superfluous external references
6143         
6144 2003-10-21  Steffen Macke <sdteffen@web.de>
6146         * lib/libdia.def: added filter_get_by_name
6147         * app/render_eps.c: moved extensions definition outside #ifdef
6149 2003-10-19  Lars Clausen  <lrclause@cs.uiuc.edu>
6151         * Makefile.am: 
6152         * dia.1:
6153         Removed old Dia manual, put new one in doc/en/.  Translations
6154         should go in doc/??/.
6156         * doc/en/dia-manual.xml: 
6157         * doc/pl/dia-manual.sgml: 
6158         * dia.spec (Release): 
6159         * config.h.win32: 
6160         * configure.in: 
6161         * NEWS: 0.92 is here!
6163         * doc/en/dia.dbk: 
6164         * doc/en/dia.1: 
6165         * doc/en/Makefile.am (man_MANS): Added man page, thanks to Fredrik
6166         HallenBerg, W. Borgert.  Not currently autogenerated from dia.dbk,
6167         but it shall be.
6169         * doc/en/usage-objects.xml: Fixed lower-case PNG tags.
6171         * doc/en/usage-objects-selecting.xml: Commented out empty note.
6173 2003-10-14  Lars Clausen  <lrclause@cs.uiuc.edu>
6175         * doc/pl/dia-manual.sgml: 
6176         * doc/en/dia-manual.xml: 
6177         * config.h.win32: 
6178         * NEWS: 
6179         * configure.in: 
6180         * dia.spec (Release): Pre7.
6182         * app/diapsrenderer.c (draw_string): Convert string to print based
6183         on current locale.  If conversion fails, fall back to UTF-8 (which
6184         is almost certain to be messy).
6186 2003-10-13  Lars Clausen  <lrclause@cs.uiuc.edu>
6188         * doc/pl/dia-manual.sgml: 
6189         * dia.spec (Release): 
6190         * configure.in: 
6191         * NEWS: 
6192         * config.h.win32: 
6193         * doc/en/dia-manual.xml: Pre6.
6195         * plug-ins/pstricks/render_pstricks.c (draw_string): Don't escape
6196         TeX chars in strings -- must be possible to use TeX text in there.
6197         Also avoids infinite loop bug (#124464) Will get option for this
6198         later.
6200 2003-10-11  Lars Clausen  <lrclause@cs.uiuc.edu>
6202         * shapes/Cisco/Makefile.am: Cisco shapes now install correctly.
6204         * doc/en/dia-manual.xml: 
6205         * doc/pl/dia-manual.sgml: 
6206         * dia.spec (Release): 
6207         * configure.in: 
6208         * config.h.win32: 
6209         * NEWS: pre5.
6211         * app/authors.h: Removed duplicate of M. C. Nelson.
6213         * plug-ins/pixbuf/pixbuf.c: Unique name for pixbuf export: gdkpixbuf.
6215         * app/export_png.c: Unique name for libart PNG export: png-libart.
6217         * app/render_eps.c: Unique names for the two eps export methods:
6218         eps-builtin, eps-pango.
6220         * lib/filter.h: Binary compatibility change: 
6221         Added unique name to export filters.  Can be NULL.
6222         * lib/filter.c (filter_get_by_name): Finding a filter by
6223         non-extension name.
6225         * app/app_procs.h: Changed prototype for do_convert.
6226         * app/app_procs.c (app_init): Support for non-extension file
6227         format selection for export.  Also allow extension to differ from
6228         that specified by the filters.  A bit of refactoring, too.
6230 2003-09-28  Steffen Macke <sdteffen@web.de>
6232         * makefile.msc: added target po to update the translations
6234 2003-09-27  Lars Clausen  <lrclause@cs.uiuc.edu>
6236         * config.h.win32: 
6237         * dia.spec (Release): 
6238         * NEWS: 
6239         * doc/pl/dia-manual.sgml: 
6240         * doc/en/dia-manual.xml: 
6241         Pre4 is given a short try.
6242         
6243         * configure.in: Give all necessary libs to PNG test.
6245         * lib/font.c: Added legacy entries for sans, serif and monospace.
6247         * app/app_procs.c (internal_plugin_init): 
6248         * app/render_eps.h: 
6249         * app/render_eps.c: 
6250         Added PS fonts output for Unix.
6252         * app/diapsrenderer.c (set_font): Adjusted height by the magic .7
6253         factor to make PS fonts stay in boxes.
6254         
6255 2003-08-03  Hans Breuer  <hans@breuer.org>
6257         * config.h.win32 : close the version string
6259         * lib/libdia.def : with color_white, color_black being static
6260         on win32 they can not be exported anymore either
6262         * lib/dialibartrenderer.c : text rendering is back on win32,
6263         only by Gdk though; almost a year seems to be enough to
6264         wait for my patch at bug #94791 to be accepted ...
6266 2003-09-23  Lars Clausen  <lrclause@cs.uiuc.edu>
6268         * shapes/network/{digitizing_board.png,plotter.png,
6269         laptop.png,telephone.png}: 22x22 icons.
6271 2003-09-22  Lars Clausen  <lrclause@cs.uiuc.edu>
6273         * doc/pl/dia-manual.sgml: 
6274         * doc/en/dia-manual.xml: 
6275         * dia.spec (Release): 
6276         * configure.in: 
6277         * config.h.win32: 
6278         * NEWS: 
6279         pre3 improves font rendering speed.
6281         * app/app_procs.c (app_init): Don't do pango init here, it's done
6282         on demand in font.c now.
6284         * lib/font.c: Load pango context on demand rather than during
6285         init/all the time strikes a better balance between working font
6286         size and speed.  Still need to cache width calculations.
6288 2003-09-18  Lars Clausen  <lrclause@cs.uiuc.edu>
6290         * lib/dia_xml.c: Enable pretty printing.  Should have been added
6291         on 8/12. 
6293 2003-09-11  Lars Clausen  <lrclause@cs.uiuc.edu>
6295         * lib/arrows.c (calculate_arrow_point): Adjust arrow line
6296         adjustment a bit for half diamond and open round.
6298         * RELEASE-PROCESS: Added note about notifying translators and
6299         maintainers. 
6301         * doc/pl/dia-manual.sgml: 
6302         * doc/en/dia-manual.xml: 
6303         * dia.spec (Release): 
6304         * configure.in: 
6305         * config.h.win32: 
6306         * NEWS:
6307         Update to 0.92-pre2.
6308         
6309 2003-09-10  Lars Clausen  <lrclause@cs.uiuc.edu>
6311         * lib/arrows.c (calculate_arrow_point): Some fixing-up of arrow
6312         calculation for half diamond and open round.
6314         * lib/arrows.c: 
6315         * objects/UML/component_feature.c: 
6316         * lib/arrows.h: Patch from W. Borgert <debacle@debian.org>: Use
6317         arrows instead of specific little hacks.  Much nicer, but damn
6318         there's a lot of arrows.
6320         * lib/dialibartrenderer.c (begin_render): 
6321         * app/render_libart.c (begin_render): Use correct DPI for screen
6322         (well, actually the default DPI of 75 for now).
6324         * app/display.h: Informative notes on the DDISPLAY_*_ZOOM macros.
6326         * lib/diagdkrenderer.c (draw_string): Some reformatting.
6328         * app/app_procs.c (app_init): Note on what should be done for the
6329         pango context now, only it doesn't work:(
6331         * lib/font.c (dia_font_new): Make sure to load fonts that are
6332         used, using a reasonable pango_context.  Also a comment on the
6333         global_zoom_factor, 
6335 2003-09-09  Lars Clausen  <lrclause@cs.uiuc.edu>
6337         * doc/pl/graphics/*.png:
6338         * doc/pl/Makefile.am: Added graphics to distro, avoiding empty
6339         loop (bug #121817).  PL translator may want to change the
6340         home_network png to be in Polish.  If the docs get translated into
6341         more languages, we'll want to find out how to share these things.
6343 2003-09-08  Lars Clausen  <lrclause@cs.uiuc.edu>
6345         * app/splash.c (app_splash_init): Patch from Sébastien Tricaud
6346         <stricaud@mwsp.net>: Use g_signal_* instead of gtk_signal_* in
6347         splash.
6349         * app/filedlg.c (file_save_as_callback): Put filename setting
6350         together.  (Preparation for allowing default save dir.)
6352         * app/paginate_psprint.c (diagram_print_ps): Use $PRINTER
6353         correctly this time:)
6355         * app/dia-props.c (diagram_properties_show): 
6356         * app/properties.c (properties_show): Make sure the
6357         dialogs are transient for the correct diagram.
6359 2003-09-07  Lars Clausen  <lrclause@cs.uiuc.edu>
6361         * configure.in: Make sure -lz -lm is passed into second png test
6362         as well (stupid AC_LINK_IFELSE can't take it as an argument).
6364         * plug-ins/xfig/xfig-import.c: Skip XFig comments to make certain
6365         comment-filled files readable.  Once we have a 'generic data'
6366         system, we can put comments in there.
6368 2003-09-06  Steffen Macke <sdteffen@web.de>
6370         * plug-ins/pstricks/render_pstricks.c(tex_escape_string): using
6371         g_string_sized_new() instead of g_string_new() to make it compile
6372         * app/Makefile.am: including dia.ico and dia.rc in the tarball
6373         * plug-ins/wmf/wmf.cpp (set_linestyle): In WMF maximum linewidth is 1 
6374         for non-solid linestyles - otherwise custom linestyles have to be used.
6376 2003-09-02  Steffen Macke <sdteffen@web.de>
6378         * app/commands.c(help_manual_callback): using dia-manual.chm instead of 
6379         dia.chm
6381 2003-09-02  Christian Neumair  <chris@gnome-de.org>
6383         * sheets/Pneumatic.sheet.in: Slight unification fix.
6385 2003-09-02  Lars Clausen  <lrclause@cs.uiuc.edu>
6387         * config.h.win32: 
6388         * configure.in: 
6389         * dia.spec (Release): 
6390         * doc/en/dia-manual.xml: 
6391         * doc/pl/dia-manual.sgml: 
6392         * NEWS: Update to 0.92-pre1.
6394         * app/properties.c (properties_key_event): Removing Esc/Enter
6395         handling for now, interferes to much with regular dialog usage.
6397         * plug-ins/pstricks/render_pstricks.c (tex_escape_string):
6398         Function to escape special TeX characters.  Not in use yet, as
6399         PSTricks output by default is TeX strings.  Should get a save-time
6400         selector. 
6402 2008-09-01  Steffen Macke <sdteffen@web.de>
6404         * lib/paper.h: explanatory comment on width and height
6406 2003-08-30  Steffen Macke <sdteffen@web.de>
6408         * lib/color.c:
6409         * lib/color.h: made color_white, color_black static on win32
6411 2003-08-28  Lars Clausen  <lrclause@cs.uiuc.edu>
6413         * configure.in (PNG_LIBS): Something in the png tests added an
6414         extra -lpng to $LIBS.  Saving old $LIBS to avoid that.
6416 2003-08-27  Lars Clausen  <lrclause@cs.uiuc.edu>
6418         * configure.in: Quote correctly for temporarily adding freetype
6419         cflags to CPPFLAGS.
6421         * app/preferences.c (prefs_save): Remove debugging g_print.
6423 2003-08-26  Lars Clausen  <lrclause@cs.uiuc.edu>
6425         * objects/flowchart/parallelogram.c (pgram_update_data):
6426         Directions for connections, better system for placing
6427         connectionpoints. 
6429 2003-08-25  Lars Clausen  <lrclause@cs.uiuc.edu>
6431         * lib/diagramdata.c (layer_find_closest_object_except): Look all
6432         the way through the object list, so the foremost object is selected.
6434         * lib/diagramdata.h: Removing dynamic_obj.h, it should only be
6435         included for diagramdata.c.
6437         * lib/prop_text.c (multistringprop_handle_key): Attempt at making
6438         newline in multistringprop not close the dialog.  Failed so far.
6440 2003-08-25  Steffen Macke <sdteffen@web.de>
6442         * app/commands.c: using CHM instead of HTML on win32 if available
6443         * lib/diagramdata.h: including dynamic_obj.h
6445 2003-08-25  Lars Clausen  <lrclause@cs.uiuc.edu>
6447         * app/properties.c (properties_key_event): Make Enter = Ok for
6448         properties dialogs.  Still some problems with this and Esc for
6449         Cancel, for instances escaping out of a menu closes the dialog.
6451         * objects/UML/association.c (association_get_properties): 
6452         * objects/UML/class_dialog.c (class_create_page): Grab appropriate
6453         focus. 
6455         * app/diapsft2renderer.c (draw_string): Use
6456         dia_font_scaled_build_layout to ensure similarity of text.
6458         * lib/diagramdata.c: Remove obj from dynobj list when removing
6459         from layer to avoid nasty race conditions.
6461         * app/undo.c (group_objects_revert): Make sure to unparent and
6462         remove from dynobj list when changing layers objects.
6464 2003-08-23  Steffen Macke <sdteffen@web.de>
6466         * plug-ins/wmf/wmf.cpp (draw_image): replaced BitBlt() with 
6467         StretchBlt(); fixes #92249
6468         
6469 2003-08-23  Lars Clausen  <lrclause@cs.uiuc.edu>
6471         * app/filedlg.c (file_save_as_callback): 
6472         * app/preferences.h: 
6473         * app/preferences.c (prefs_data): 
6474         * lib/diagramdata.h: 
6475         * lib/diagramdata.c (new_diagram_data): 
6476         * app/load_save.c (diagram_data_load): 
6477         Let the document remember whether it was compressed.  The user can
6478         still override this in the Save As... dialog, and that will still
6479         be remembered as the default for new diagrams.
6481 2003-08-23  Steffen Macke <sdteffen@web.de>
6483         * plug-ins/xslt/Makefile.am: added dia-uml2componentlist.xsl
6485 2003-08-22  Steffen Macke <sdteffen@web.de>
6487         * plug-ins/xslt/dia-uml.xsl:
6488         * plug-ins/xslt/dia-uml2componentlist.xsl: generate a HTML file with a
6489         table containing a list of components grouped by stereotype
6491 2003-08-21  Steffen Macke <sdteffen@web.de>
6493         * lib/makefile.msc: added connectionpoint.obj
6494         * lib/libdia.def: added connpoint_update, find_slope_directions
6495         * app/disp_callbacks.c: including scroll_tool.h
6496         * obj/makefile.msc: added component_feature.obj
6497         * app/paginate_gdiprint.c: fixed loop initialization in 
6498         paginate_gdiprint(); partial fix for bug #85831 - the scaling is still
6499         wrong
6501 2003-08-21  Lars Clausen  <lrclause@cs.uiuc.edu>
6503         * plug-ins/python/pydia-object.c (PyDiaObject_MoveHandle): Fix
6504         move_handle call.
6506         * lib/diagramdata.h: Colors added to prefs.
6507         * lib/diagramdata.c (new_diagram_data): Set diagram colors from prefs.
6508         New field for pagebreak color, which should
6509         behave the same as grid color and be settable for a diagram.
6511         * app/diagram.c (diagram_init): Update diagram pagebreak color
6512         from prefs. 
6514         * app/grid.c (pagebreak_draw): Draw using diagrams pagebreak
6515         colors. 
6517         * app/preferences.[ch]: Default diagram colors now #defines, so
6518         loading can use it.  Also, colors are now in NewDiagramData, so
6519         are passed nicely into new diagrams directly from prefs.  Yum.
6521         * app/load_save.c (diagram_data_write_doc, diagram_data_load): 
6522         Support for loading and saving grid and pagebreak colors with the
6523         diagram.  I'm inclined to make all the three Colors in diagram
6524         Color*s instead, so we can tell if they're specified for the
6525         diagram or merely the default setting.  There'd be no way for the
6526         user to tell if the color of a diagram is default, though, unless
6527         we add a 'reset to default' button to prefs.
6529         * app/dia-props.c: Adding widgets for dynamic grid, grid colour,
6530         pagebreak color.  Unsensitizing grid size when dynamic.
6532         * objects/UML/component.c: Patch from Krzysztof Foltman
6533         <kfoltman@onet.pl>: Add two new connectionpoints and adjust a
6534         third.  Makes the left side connections actually be on the line
6535         (gasp!). 
6537 2003-08-20  Steffen Macke <sdteffen@web.de>
6539         * lib/libdia.def: added layer_find_closest_object_except
6540         * lib/diagramdata.c: added ; after GOTO to make MSVC compile 
6542 2003-08-20  Lars Clausen  <lrclause@cs.uiuc.edu>
6544         * app/tool.h: 
6545         * app/tool.c: 
6546         * app/scroll_tool.c: 
6547         * app/interface.c: 
6548         * app/disp_callbacks.c: 
6549         * app/create_object.h: 
6550         * app/create_object.c: Patch from Krzysztof Foltman
6551         <kfoltman@onet.pl>: Middle button can scroll transiently when
6552         menu-bar-mode is on, and mouse wheels (hopefully) can scroll in
6553         various ways.
6555         * app/authors.h: 
6556         * sheets/UML.sheet.in: 
6557         * sheets/UML/receptacle.xpm: 
6558         * sheets/UML/Makefile.am: 
6559         * sheets/UML/eventsource.xpm: 
6560         * sheets/UML/eventsink.xpm: 
6561         * objects/UML/pixmaps/facet.xpm: 
6562         * objects/UML/uml.c (dia_plugin_init): 
6563         * objects/UML/Makefile.am (libuml_objects_la_SOURCES): 
6564         * objects/UML/component_feature.c: 
6565         Patch from W. Borgert <debacle@debian.org>:  Add event sources and
6566         event sinks.
6567         
6568 2003-08-19  Lars Clausen  <lrclause@cs.uiuc.edu>
6570         * lib/object.h: Turning some comments into doxygen style.
6572         * lib/object_defaults.c (dia_object_defaults_load)
6573         (dia_object_default_get, dia_object_default_create): 
6574         Fixing up existing documentation.
6576         * lib/object.h: Doxygen style documentation begun.
6578         * app/create_object.c: 
6579         * app/undo.c: 
6580         * app/connectionpoint_ops.c: 
6581         * app/disp_callbacks.c: 
6582         * app/modify_tool.c: 
6584         * objects/network/wanlink.c (wanlink_move_handle): 
6585         * objects/network/bus.c (bus_move_handle): 
6587         * objects/flowchart/parallelogram.c (pgram_move_handle): 
6588         * objects/flowchart/ellipse.c (ellipse_move_handle): 
6589         * objects/flowchart/diamond.c (diamond_move_handle): 
6590         * objects/flowchart/box.c (box_move_handle): 
6592         * objects/custom/custom_object.c (custom_move_handle): 
6594         * objects/chronogram/chronoref.c (chronoref_move_handle): 
6595         * objects/chronogram/chronoline.c (chronoline_move_handle): 
6597         * objects/SADT/box.c (sadtbox_move_handle): 
6598         * objects/SADT/arrow.c (sadtarrow_move_handle): 
6599         * objects/SADT/annotation.c (annotation_move_handle): 
6601         * objects/Misc/analog_clock.c (analog_clock_move_handle): 
6603         * objects/GRAFCET/vergent.c (vergent_move_handle): 
6604         * objects/GRAFCET/vector.c (arc_move_handle): 
6605         * objects/GRAFCET/transition.c (transition_move_handle): 
6606         * objects/GRAFCET/step.c (step_move_handle): 
6607         * objects/GRAFCET/condition.c (condition_move_handle): 
6608         * objects/GRAFCET/action.c (action_move_handle): 
6610         * objects/FS/function.c: 
6611         * objects/FS/flow.c: 
6612         * objects/FS/flow-ortho.c (orthflow_move_handle): 
6613         * objects/FS/flow-poly.c (flow_move_handle): 
6615         * objects/UML/usecase.c (usecase_move_handle): 
6616         * objects/UML/state_term.c (state_move_handle): 
6617         * objects/UML/state.c (state_move_handle): 
6618         * objects/UML/small_package.c (smallpackage_move_handle): 
6619         * objects/UML/realizes.c (realizes_move_handle): 
6620         * objects/UML/object.c (objet_move_handle): 
6621         * objects/UML/note.c (note_move_handle): 
6622         * objects/UML/node.c (node_move_handle): 
6623         * objects/UML/message.c (message_move_handle): 
6624         * objects/UML/lifeline.c (lifeline_move_handle): 
6625         * objects/UML/large_package.c (largepackage_move_handle): 
6626         * objects/UML/implements.c (implements_move_handle): 
6627         * objects/UML/generalization.c (generalization_move_handle): 
6628         * objects/UML/fork.c (fork_move_handle): 
6629         * objects/UML/dependency.c (dependency_move_handle): 
6630         * objects/UML/constraint.c (constraint_move_handle): 
6631         * objects/UML/compprop.c (compprop_move_handle): 
6632         * objects/UML/component.c (component_move_handle): 
6633         * objects/UML/branch.c (branch_move_handle): 
6634         * objects/UML/association.c (association_move_handle): 
6635         * objects/UML/actor.c (actor_move_handle): 
6636         * objects/UML/activity.c (state_move_handle): 
6637         * objects/UML/class.c (umlclass_move_handle): 
6639         * objects/standard/ellipse.c (ellipse_move_handle): 
6640         * objects/standard/zigzagline.c (zigzagline_move_handle): 
6641         * objects/standard/textobj.c (textobj_move_handle): 
6642         * objects/standard/polyline.c (polyline_move_handle): 
6643         * objects/standard/polygon.c (polygon_move_handle): 
6644         * objects/standard/line.c (line_move_handle): 
6645         * objects/standard/image.c (image_move_handle): 
6646         * objects/standard/bezier.c (bezierline_move_handle): 
6647         * objects/standard/arc.c (arc_move_handle): 
6648         * objects/standard/beziergon.c (beziergon_move_handle): 
6649         * objects/standard/box.c (box_move_handle): 
6650         
6651         * objects/ER/relationship.c (relationship_move_handle): 
6652         * objects/ER/participation.c (participation_move_handle): 
6653         * objects/ER/entity.c (entity_move_handle): 
6654         * objects/ER/attribute.c (attribute_move_handle): 
6655         
6656         * lib/polyshape.c (polyshape_move_handle): 
6657         * lib/polyshape.h: 
6658         * lib/orth_conn.c (orthconn_move_handle): 
6659         * lib/orth_conn.h: 
6660         * lib/neworth_conn.c (neworthconn_move_handle): 
6661         * lib/neworth_conn.h: 
6662         * lib/element.c (element_move_handle): 
6663         * lib/element.h: 
6664         * lib/connection.c (connection_move_handle): 
6665         * lib/connection.h: 
6666         * lib/beziershape.c (beziershape_move_handle): 
6667         * lib/beziershape.h: 
6668         * lib/bezier_conn.c (bezierconn_move_handle): 
6669         * lib/bezier_conn.h: 
6670         *BINARY COMPATIBILITY CHANGE*
6671         Update prototype for *_move_handle() to include connectionpoint,
6672         and also pass on modifiers.  Pass in connectionpoint where
6673         applicable. 
6674         
6675         * lib/dummy_dep.h (dummy_dep): Adding dummy dependencies for new
6676         file connectionpoint.c.
6678 2003-08-17  Danilo Å egan  <dsegan@gmx.net>
6680         * configure.in: Added "sr" and "sr@Latn" to ALL_LINGUAS.
6682 2003-08-15  Lars Clausen  <lrclause@cs.uiuc.edu>
6684         * lib/object.c (object_copy): Use g_malloc0 instead of g_malloc.
6686         * lib/beziershape.c (beziershape_update_data): Autoroute
6687         directions for beziershapes!
6689         * lib/connectionpoint.c (find_slope_directions): 
6690         * lib/connectionpoint.h: Function for finding the available
6691         directions on a slope.
6693         * lib/polyshape.c: Reasonable directions for
6694         connectionpoints.       
6696 2003-08-14  Lars Clausen  <lrclause@cs.uiuc.edu>
6698         * objects/Misc/analog_clock.c (analog_clock_update_arrow_tips): 
6699         * objects/GRAFCET/vergent.c (vergent_update_data): 
6700         * objects/GRAFCET/transition.c (transition_update_data): 
6701         * objects/GRAFCET/action.c (action_update_data): 
6702         * objects/GRAFCET/step.c (step_update_data): 
6703         * objects/FS/function.c (function_update_data): 
6704         * lib/connpoint_line.c (connpointline_putonaline): 
6705         * objects/ER/attribute.c (attribute_update_data): 
6706         * objects/ER/entity.c (entity_update_data): 
6707         * objects/ER/relationship.c (relationship_update_data): 
6708         * objects/chronogram/chronoline.c (chronoline_update_data): Set
6709         directions for connection points.
6711         * objects/UML/component.c (component_create): Set to allow
6712         parenting. 
6714         * app/create_object.c (create_object_button_press): 
6715         * app/diagram.[ch] (diagram_find_clicked_object_except): 
6716         * lib/diagramdata.[ch] (layer_find_closest_object_except): 
6717         Avoid parenting to objects you're connecting to (otherwise you
6718         couldn't make a connection out of a parenting object).  To do
6719         this, added functions to find the nearest object except a given
6720         list of objects.
6721         
6722         * app/render_libart.c: Rearrange libart include to avoid multiple
6723         include program (and put libart includes inside #ifdef!)
6725 2003-08-13  Lars Clausen  <lrclause@cs.uiuc.edu>
6727         * lib/dialibartrenderer.c: Don't include art_config.h if others
6728         also do, as it isn't #ifdef'd.
6730         * objects/flowchart/ellipse.c (ellipse_update_data): Add
6731         directions for connection points.
6733 2003-08-12  Lars Clausen  <lrclause@cs.uiuc.edu>
6735         * objects/flowchart/box.c (box_update_data): Add directions, use
6736         connpoint_update. 
6737         (box_load): Use g_malloc0.
6739         * lib/Makefile.am (libdia_la_SOURCES):
6740         * lib/connectionpoint.c (connpoint_update): 
6741         Function to call to update a connection point info in _update_data().
6742         
6743         * lib/connectionpoint.h: Convenience DIR_ macros.
6745         * app/preferences.c (prefs_data): Make pretty formatted XML the
6746         default.
6748         * lib/dialibartrenderer.c: 
6749         * app/render_libart.c: Make sure art_config.h is included, cause
6750         some libart headers are broken.
6752         * configure.in (HAVE_FREETYPE): Restore CPPFLAGS to old value
6753         after test.  Add freetype-config cflags to cflags variable.
6755 2003-08-11  Lars Clausen  <lrclause@cs.uiuc.edu>
6757         * app/authors.h: Credits for Krzysztof.
6759         * sheets/Flowchart.sheet.in: Updated descriptions from Krzysztof
6760         Foltman <kfoltman@onet.pl>.  It occurs to me that the name (rather
6761         than the description) is visible in the title of the properties
6762         dialog.  That ought to be a short description (translatable),
6763         though we still want long descriptions for the tooltips.  Hmmm...
6765         * configure.in: Updated to use AC_LINK_IFELSE instead of
6766         AC_TRY_COMPILE, also force to link to check libs on Solaris.
6768         * objects/ER/entity.c (entity_load): 
6769         * objects/ER/attribute.c (attribute_load): 
6770         * lib/attributes.c (attributes_set_default_font): 
6771         Check if font is non-null before unreffing.
6772         
6773 2003-08-08  Lars Clausen  <lrclause@cs.uiuc.edu>
6775         * app/diagram.c (diagram_ungroup_selected) 
6776         (diagram_group_selected): Use the undo apply to make sure grouping
6777         and ungrouping is done in consistent manners.  This removes a fair
6778         amount of duplicated code from diagram.c.
6780         * app/undo.c (ungroup_objects_revert, ungroup_objects_apply) 
6781         (group_objects_revert, group_objects_apply): Working undo/redo for
6782         diagram tree updates.  The initial actions still don't quite work.
6784 2003-08-07  Lars Clausen  <lrclause@cs.uiuc.edu>
6786         * app/create_object.c (create_object_button_press): 
6787         * app/undo.[ch]: 
6788         * app/diagram.c: Undo support for parenting.  Uses apply/revert in
6789         undo only for manipulating the parent/child relationships.  Things
6790         like removing an object doesn't use the undo functions for
6791         parenting, so any updates to come (like to diagramtree) should be
6792         done in those, too.
6794 2003-08-03  Hans Breuer  <hans@breuer.org>
6796         * app/create_object.c : minor formating and g_new0 for
6797         tool creation
6799         * lib/bezier_conn.[hc] lib/beziershape.[hc]
6800           lib/prop_geomtypes.c (prop_geomtypes_register)
6801           objects/standard/bezier.c objects/standard/beziergon.c :
6802         ability to set bezpoints via StdProp api
6804         * plug-ins/python/pydia-property.c : convert list of tuples
6805         to BEZPOINTARRAY
6807         *  plug-ins/python/diasvg_import.py : use it to
6808         implement part of path parsing. Also minor improvements
6809         like inheritance of group attributes to members,
6810         whitespace, title and style:text/css ignoring ;-)
6812 2003-08-02  Hans Breuer  <hans@breuer.org>
6814         * lib/connections.c (connection_move_handle): return
6815         something to make it compile
6816         * lib/object.c(190) : error C4033: 'object_list_move_delta_r' 
6817         must return a value -> dito
6818         [Is there a warnings-as-errors switch we could use with gcc 
6819          to avoid such in future ?]
6821         * plug-ins/python/pydia-object.h : define *_Check macros
6822         * plug-ins/python/diamodule.c : provide dia.group_create()
6823         * plug-ins/python/pydia-diagramdata.c : add 
6824         DiaDiagramData.add_layer()
6825         * plug-ins/python/pydia-property.c : allow to set color by
6826         tuple of doubles
6828         *  plug-ins/python/diasvg_import.py : based on the above
6829         implement a) group support, b) rgb(1,2,3) color handling,
6830         and somewhat fishy data:image/png;base64 support (create
6831         temporary files from inline image data)
6832         d) dump the import errors as text into an 'Error' layer
6834         *  plug-ins/python/diasvg.py : add xmlns:xlink, removed a
6835         stray " in draw_rect and corrected error message formating 
6837         * plug-ins/pydia/pydia-geometry.c : removed ## to make it
6838         compile with gcc 3.3, fixes bug #117204. Thanks to Daniel 
6839         Jacobowitz.
6840         
6841 2003-08-01  Hubert Figuiere  <hfiguiere@teaser.fr>
6843         * app/magnify.c (create_magnify_tool): allocate with g_new0()
6845         * app/preferences.c (prefs_create_dialog): use checkboxes for boolean 
6846         preferences values (see bug 118570). Also group items into a GtkFrame.
6848 2003-07-31  Lars Clausen  <lrclause@cs.uiuc.edu>
6850         * app/menus.c:
6851         * app/menus.h:
6852         * app/commands.h: 
6853         * app/commands.c (objects_unparent_children_callback): 
6854         * app/diagram.h: 
6855         * app/diagram.c (diagram_unparent_selected,
6856         (diagram_update_menu_sensitivity): 
6857         Added unparenting of single children.
6859         * lib/bezier_conn.c:
6860         * lib/bezier_conn.h:
6861         * lib/beziershape.c:
6862         * lib/beziershape.h:
6863         * lib/connection.c:
6864         * lib/connection.h:
6865         * lib/element.c:
6866         * lib/element.h:
6867         * lib/group.c:
6868         * lib/neworth_conn.c:
6869         * lib/neworth_conn.h:
6870         * lib/object.h:
6871         * lib/orth_conn.h:
6872         * lib/poly_conn.c:
6873         * lib/poly_conn.h:
6874         * lib/polyshape.c:
6875         * lib/polyshape.h:
6876         * objects/EML/instantiation.c:
6877         * objects/EML/interaction-ortho.c:
6878         * objects/EML/interaction.c:
6879         * objects/EML/process.c:
6880         * objects/ER/attribute.c:
6881         * objects/ER/entity.c:
6882         * objects/ER/participation.c:
6883         * objects/ER/relationship.c:
6884         * objects/FS/flow-ortho.c:
6885         * objects/FS/flow-poly.c:
6886         * objects/FS/flow.c:
6887         * objects/FS/function.c:
6888         * objects/GRAFCET/action.c:
6889         * objects/GRAFCET/condition.c:
6890         * objects/GRAFCET/step.c:
6891         * objects/GRAFCET/transition.c:
6892         * objects/GRAFCET/vector.c:
6893         * objects/GRAFCET/vergent.c:
6894         * objects/Misc/analog_clock.c:
6895         * objects/SADT/annotation.c:
6896         * objects/SADT/arrow.c:
6897         * objects/SADT/box.c:
6898         * objects/UML/activity.c:
6899         * objects/UML/actor.c:
6900         * objects/UML/association.c:
6901         * objects/UML/branch.c:
6902         * objects/UML/class.c:
6903         * objects/UML/classicon.c:
6904         * objects/UML/component.c:
6905         * objects/UML/constraint.c:
6906         * objects/UML/dependency.c:
6907         * objects/UML/fork.c:
6908         * objects/UML/generalization.c:
6909         * objects/UML/implements.c:
6910         * objects/UML/large_package.c:
6911         * objects/UML/lifeline.c:
6912         * objects/UML/message.c:
6913         * objects/UML/node.c:
6914         * objects/UML/note.c:
6915         * objects/UML/object.c:
6916         * objects/UML/realizes.c:
6917         * objects/UML/small_package.c:
6918         * objects/UML/state.c:
6919         * objects/UML/state_term.c:
6920         * objects/UML/usecase.c:
6921         * objects/chronogram/chronoline.c:
6922         * objects/chronogram/chronoref.c:
6923         * objects/custom/custom_object.c:
6924         * objects/flowchart/box.c:
6925         * objects/flowchart/diamond.c:
6926         * objects/flowchart/ellipse.c:
6927         * objects/flowchart/parallelogram.c:
6928         * objects/network/bus.c:
6929         * objects/network/wanlink.c:
6930         * objects/standard/arc.c:
6931         * objects/standard/bezier.c:
6932         * objects/standard/beziergon.c:
6933         * objects/standard/box.c:
6934         * objects/standard/ellipse.c:
6935         * objects/standard/image.c:
6936         * objects/standard/line.c:
6937         * objects/standard/polygon.c:
6938         * objects/standard/polyline.c:
6939         * objects/standard/textobj.c:
6940         * objects/standard/zigzagline.c:
6941         Binary compatibility update:  Added return value for foo_move() and
6942         foo_move_handle().  Orthconn derivatives also returns change from
6943         orthconn_move_handle().
6944         
6945         * lib/orth_conn.c: Undo support for autorouting.  Neworthconn
6946         doesn't support it yet.
6948         * lib/object.c (object_list_move_delta_r, object_list_move_delta):
6949         Add returning ObjectChange from object moves.  Needs to handle
6950         multiple object moves.
6952         * app/modify_tool.c (modify_motion, modify_release): Add
6953         ObjectChange from move & move_handle to undo stack.
6955         * objects/EML/instantiation.c (instantiation_move): Removing
6956         duplicate move & update.
6958 2003-07-30  Lars Clausen  <lrclause@cs.uiuc.edu>
6960         * plug-ins/xfig/xfig-export.c: Added support for arrow head
6961         export.  Many arrow types not supported by XFig, replacing those
6962         with standard arrows.  Not sure whether it'd be better to render
6963         them as a group of lines instead.  You'd lose the arrow-ness for
6964         further editing, but preserve the actual shape of it.  Also added
6965         support for dash length.
6967         * plug-ins/xfig/xfig-import.c: Added support for dash length settings.
6969         * plug-ins/xfig/fig-format-3.2: Added copy of Fig format
6970         description for version 3.2, for reference.
6972         * plug-ins/xfig/xfig-import.c: Added import of arrows.
6974         * app/menus.c: Removed prefs item from Gnome diagram menu.  Made
6975         Align Vertical Adjacent call _v rather than _h.
6977 2003-07-29  Hubert Figuiere  <hfiguiere@teaser.fr>
6979         * app/scroll_tool.c (create_scroll_tool): 
6980         * app/modify_tool.c (create_modify_tool): use g_new0() to
6981         initialize the tool
6983 2003-07-29  Lars Clausen  <lrclause@cs.uiuc.edu>
6985         * configure.in: Added proper settings for XSLT_LIBS and XSLT_CFLAGS.
6987 2003-07-24  Pablo Saratxaga  <pablo@mandrakesoft.com>
6989         * configure.in: Added Macedonian (mk) to ALL_LINGUAS
6991 2003-07-23  Dmitry G. Mastrukov  <dmitry@taurussoft.org>
6993         * configure.in: Added Belarusian to ALL_LINGUAS.
6995 2003-07-19  Hans Breuer  <hans@breuer.org>
6997         [
6998          Make the xslt plug-in work on win32, too. It appears
6999          to require a quite recent version of libxml and libxslt,
7000          otherwise windoze pathes aren't translated correctly
7001          during file processing
7002         ]
7004         * plug-ins/xslt/xslt.h : #include <glib.h> before 
7005         using G_OS_WIN32
7007         * plug-ins/xslt/xslt.c : plugged some memory leaks and do
7008         the 'script' file finding similar to how it is done
7009         with the python scripts (no need for hardcoded pathes,
7010         removed the 'plugin' part from the path)
7012         * plug-ins/xslt/stylesheets.xml : added again. It does
7013         not have any path but only the pure filename again
7015         * plug-ins/xslt/stylesheets.xml.in : removed
7017         * plug-ins/xslt/Makefile.am : removed 'plugin' and the
7018         rule to process stylesheets.xml.in
7020         * plug-ins/makefile.msc : added xslt
7022 2003-07-19  Hans Breuer  <hans@breuer.org>
7024         Finally Dia learned to remember the recent selected sheet
7026         * app/preferences.[hc] : added prefs.recent_sheet
7027         * app/interface.c : restore and remember the sheet-option-menu
7028         history, but only if the respective number is stiil available.
7029         This additional adds robustness against running Dia without
7030         any sheet (e.g. installation problems)
7031         * app/app_procs.c : call prefs_safe() in app_exit() to remember
7032         changes which are not done by the prefernces dialog
7034         * app/diagram_tree_menu.c app/diagram_tree_menu_callbacks.c :
7035         removed every call (especially the conditional ones) to prefs_safe().
7036         Before prefs_safe() was called _many_ times during Dia startup
7038 2003-07-18  Hans Breuer  <hans@breuer.org>
7040         * app/makefile.msc lib/makefile.msc lib/libdia.def :
7041         updated win32 build
7043         * lib/color.c : use gtk_widget_get_default_visual();
7044         as suggested in #114536
7046         * app/interface.c app/disp_callbacks.c :
7047         moved round_up () to the latter file where it is used
7049         * app/linewidth_area.c : #include "interface.h" for
7050         interface_get_toolbox_shell()
7052 2003-07-18  Hubert Figuiere  <hfiguiere@teaser.fr>
7054         * plug-ins/pixbuf/.cvsignore
7055         * shapes/Cisco/.cvsignore: 
7056         added cvsignore
7058 2003-07-17  Lars Clausen  <lrclause@cs.uiuc.edu>
7060         * app/dia-props.c (diagram_properties_retrieve): Use
7061         diagram_get_name() to add the diagram name to the diagram
7062         properties dialog.
7064         * app/diagram.h: 
7065         * app/diagram.c (diagram_get_name): New function to get a
7066         reasonable diagram name.
7068         * lib/diagramdata.h: Added major_lines, dynamic and colour to grid
7069         info.  Still need to be able to set dynamic grid.  Also ought to
7070         follow Gnome style and have instant apply.
7072         * app/preferences.h: 
7073         * app/preferences.c (prefs_data): Remove option to use stippled
7074         grid, add option for major line offset.  Default to 5 minor lines
7075         per major line.
7076         Add option for dynamically sized grid.
7078         * app/display.c (ddisplay_render_pixmap): Call pagebreak_draw as well.
7080         * app/grid.c: Pagebreak drawing separated out.  Grid drawing using
7081         stippled/solid to display minor/major grid lines.  Line drawing in
7082         separate functions away from calculating line distance.
7084         * app/grid.h: Split page break drawing out of grid_draw.
7086         * app/layer_dialog.c (layer_dialog_show): Patch from Hubert
7087         Figuiere <hfiguiere@teaser.fr>:  Layer dialog show go to front
7088         when menu item is selected.
7090 2003-07-15  Lars Clausen  <lrclause@cs.uiuc.edu>
7092         * configure.in: Removed -Winline flag to make way for important
7093         warnings. 
7095         * samples/UML-demo.dia: Adjusted for 0.91 font size, saved as
7096         non-compressed.  Should fix bug #117381, also look prettier.
7097         
7098         * Makefile.am: 
7099         * dia.desktop.in: Patch from Mark McLoughlin <mark@skynet.ie>:
7100         Set up desktop info more properly.
7102 2003-07-13  Lars Clausen  <lrclause@cs.uiuc.edu>
7104         * activity.c:
7105         * actor.c:
7106         * branch.c:
7107         * class.c:
7108         * classicon.c:
7109         * component.c:
7110         * large_package.c:
7111         * lifeline.c:
7112         * node.c:
7113         * note.c:
7114         * object.c:
7115         * small_package.c:
7116         * state.c:
7117         * state_term.c:
7118         * usecase.c: 
7119         Autorouting directions patch from Krzysztof Foltman
7120         <kfoltman@onet.pl>.
7122         * app/menus.c: Wrong GNOME paren fixed.  Correct callbacks for
7123         GNOME parent menu items.
7124         
7125         * app/authors.h: Added Vadim to contributors list.
7127 2003-07-12  Lars Clausen  <lrclause@cs.uiuc.edu>
7129         * app/commands.[ch]: 
7130         * app/create_object.c: 
7131         * app/disp_callbacks.[ch]: 
7132         * app/diagram.[ch]: 
7133         * app/interface.c: 
7134         * app/load_save.c: 
7135         * app/menus.[ch]:
7136         * app/modify_tool.c
7137         * app/undo.[ch]:
7138         * lib/Makefile.am:
7139         * lib/group.c: 
7140         * lib/object.[ch]: 
7141         * lib/parent.[ch]:
7142         * objects/UML/large_package.c: Patch from Vadim Berezniker
7143         <vadim@berezniker.com>: 
7144         Objects may "parent" other objects, i.e. contain them within
7145         themselves, restrain them and move them along.  Some more stuff is
7146         needed, such as selection and individual unparenting.  This adds
7147         parenting to UML - Large Package rather than Box.
7149 2003-07-11  Lars Clausen  <lrclause@cs.uiuc.edu>
7151         * app/linewidth_area.c: Patch from Krzysztof Foltman
7152         <kfoltman@onet.pl>: Make linewidth dialog conform to HIG (well,
7153         conform more, at least:).
7155         * plug-ins/metapost/render_metapost.[ch] : Applied patch from
7156         Chris Sperandio <sperandi@eng.usf.edu>:  Fixed linewidths and
7157         arcs.  Implemented images (though there is some pixelization and
7158         banding in the output).  Changed output file format to be a little
7159         more readable.  
7161         * app/app_procs.c (app_exit): Added message for double exit, which
7162         shouldn't happen any more.  Also preventing strange g_object_unref
7163         messages by having a printf after gtk_main_quit.  This is really
7164         weird.
7166         * app/interface.c (toolbox_delete): Avoid double app_exit call by
7167         removing handler for destroy when delete is called.
7169 2003-07-07  Lars Clausen  <lrclause@cs.uiuc.edu>
7171         * app/display.h: 
7172         * app/display.c (ddisplay_scroll_to_object,
7173         ddisplay_scroll_center_point):  New function for easy scrolling to
7174         object or point.
7176 2003-07-06  Lars Clausen  <lrclause@cs.uiuc.edu>
7178         * plug-ins/xslt/Makefile.am: Patch from Hubert Figuiere:  Add
7179         $(srcdir) on stylesheets.xml.
7181         * app/menus.c: Patch from Hubert Figuiere: Adds help menu to
7182         diagram menus (since they're at the top by default now).  Also
7183         move the Properties... menu item from Dialogs to Objects.  Dialogs
7184         menu should disappear at some point.
7186         * autogen.sh: Patch from Hubert Figuiere: Don't automatically call
7187         ./configure from ./autogen.sh, as configure may need to be run
7188         from a different directory.  (Also more standard this way.)
7190         * app/app_procs.c (app_init): 
7191         * app/Makefile.am (INCLUDES): Gnome standardization patch from
7192         Alex. 
7194 2003-07-03  Lars Clausen  <lrclause@cs.uiuc.edu>
7196         * objects/flowchart/parallelogram.c (pgram_update_data):
7197         Left/right alignment for parallelograms.  Doesn't use all
7198         available space, but then pgrams also ignore their shear value.
7199         This thing needs a loving hand.
7201 2003-07-01  Hans Breuer  <hans@breuer.org>
7203         * lib/properties.h : introduce PROP_FLAG_OPTIONAL
7204         * lib/proplist.c : don't complain if optional attr is missing
7205         * lib/orth_conn.h : make "orth_autoroute" optional to
7206         stop complaining with older files.
7208 2003-06-13  Guntupalli Karunakar  <karunakar@freedomink.org>
7210         * configure.in: Added "ml" for Malayalam in ALL_LINGUAS.
7212 2003-06-05  Andrew Halper  <ashalper@cox.net>
7214         * app/diagram_tree.c : add scrolling of drawing area
7215         to desired object on "Locate".  Patch modified to use new ddisplay
7216         function ddisplay_scroll_to_object().
7218 2003-06-11  Lars Clausen  <lars@raeder.dk>
7220         * lib/diagramdata.h: Added major_lines, dynamic and colour to grid
7221         info.  Before next version, the grid dialog (view dialog, really)
7222         must be redone to allow a) instant apply, b) apply to all
7223         diagrams, and c) setting colour, dynamic, major lines.
7225         * app/preferences.h: 
7226         * app/preferences.c (prefs_data): Remove option to use stippled
7227         grid, add option for major line offset.  Default to 5 minor lines
7228         per major line.
7229         Add option for dynamically sized grid.
7231         * app/display.c (ddisplay_render_pixmap): Call pagebreak_draw as well.
7233         * app/grid.c: Pagebreak drawing separated out.  Grid drawing using
7234         stippled/solid to display minor/major grid lines.  Line drawing in
7235         separate function away from calculating line distance.
7237         * app/grid.h: Split page break drawing out of grid_draw.
7239 2003-05-15  Hans Breuer  <hans@breuer.org>
7241         * plug-ins/python/diasvg.py : add xlink definition,
7242         also avoid to put spaces into attribute values. At least
7243         Sodipodi doesn't like them in width/height attributes
7245         * plug-ins/python/diasvg_import.py : add simple scaling.
7246         Some (more) handling for <svg>, <desc>, <circle>        
7248         * plug-ins/python/scascale.py : (new file) which does
7249         some experimental scaling via StdProp api
7251         * plug-ins/python/pydia-cpoint.c 
7252           plug-ins/python/pydia-handle.c : return PyDiaPoint for
7253         obj.pos not simple tuples. PyDiaPoint has a tuple interface
7254         so this may even be api compatible ...
7256 2003-05-11  Hans Breuer  <hans@breuer.org>
7258         * app/line_area.c : add window position persitence
7260         * lib/poly_conn.[hc] lib/polyshape.[hc] : allow to set 
7261         'poly_points' via StdProp api
7262         * lib/neworth_conn.h : don't rely on OrthConn and 
7263         NewOrtConn having the same struct offsets
7265         * lib/properties.h : introduce PROP_FLAG_WIDGET_ONLY
7266         to help separating 'useful' properies - in terms of
7267         the PyDia access
7269         * objects/custom/custom_object.c
7270           objects/UML/*.c
7271         add the missing prop_desc_list_calculate_quarks to
7272         all the *_describe_props()
7274         * objects/standard/beziergon.c objects/standard/bezier.c :
7275         explicit initializtion of default_user_data
7276         * objects/standard/polygon.c objects/standard/polyline.c :
7277         Same here. Also use POLY<CONN|SHAPE>_COMMON_PROPERTIES
7279         * plug-ins/python/diamodule.c : implement dia.register_import
7281         * plug-ins/python/makefile.msc : need to link with Pango
7282         for pango_color_parse()
7284         * plug-ins/python/pydia-property.c : add a bunch of type
7285         conversions to PyDiaProperty_ApllyToObject()
7287         * plug-ins/python/diasvg_import.py : (new file) which currently
7288         is mainly a stress test for PyDia but for some files already
7289         produces better results than svg-import.c
7291 2003-05-06  Lars Clausen  <lrclause@cs.uiuc.edu>
7293         * objects/UML/uml.c (uml_get_operation_string): Avoid ':' on
7294         type-less operations.
7296 003-05-03  Hasbullah Bin Pit  <sebol@ikhlas.com>
7298         * configure.in(ALL_LINGUAS): Added "ms".
7300 2003-05-01  Lars Clausen  <lrclause@cs.uiuc.edu>
7302         * plug-ins/xslt/xslt.c (xslt_ok): 
7303         * plug-ins/shape/shape-export.c (new_shape_renderer): 
7304         * plug-ins/svg/render_svg.c (new_svg_renderer): 
7305         * plug-ins/hpgl/hpgl.c (export_data): 
7306         * plug-ins/dxf/dxf-export.c (export_dxf): 
7307         * plug-ins/metapost/render_metapost.c (export_metapost): 
7308         * plug-ins/pstricks/render_pstricks.c (export_pstricks): 
7309         * plug-ins/xfig/xfig-export.c (export_fig): 
7310         * plug-ins/wpg/wpg.c (export_data): 
7311         * plug-ins/cgm/cgm.c (export_cgm): 
7312         * app/render_eps.c (export_eps): 
7313         * app/export_png.c (export_png_ok): 
7314         * app/load_save.c (diagram_data_save): Adding and standardizing
7315         output file error messages to include fopen error message.
7317 2003-05-01  Steffen Macke <sdteffen@web.de>
7319         * app/persistence.c: do not use unistd.h for MSVC build
7321 2003-04-30  Lars Clausen  <lrclause@cs.uiuc.edu>
7323         * sheets/Assorted.sheet.in
7324         * sheets/Circuit.sheet.in
7325         * sheets/Contact.sheet.in
7326         * sheets/EML.sheet.in
7327         * sheets/ER.sheet.in
7328         * sheets/Electric.sheet.in
7329         * sheets/FS.sheet.in
7330         * sheets/Flowchart.sheet.in
7331         * sheets/GRAFCET.sheet.in
7332         * sheets/Logic.sheet.in
7333         * sheets/MSE.sheet.in
7334         * sheets/Misc.sheet.in
7335         * sheets/Pneumatic.sheet.in
7336         * sheets/SADT.sheet.in
7337         * sheets/SDL.sheet.in
7338         * sheets/UML.sheet.in
7339         * sheets/chronogram.sheet.in
7340         * sheets/ciscohub.sheet.in
7341         * sheets/ciscomisc.sheet.in
7342         * sheets/cisconetwork.sheet.in
7343         * sheets/ciscorouter.sheet.in
7344         * sheets/civil.sheet.in
7345         * sheets/network.sheet.in
7346         * sheets/sybase.sheet.in:
7347         Patch from Jan-Willem Harmanny <jwharmanny@zeelandnet.nl>
7348         standardizes shape descriptions to use no articles, no 'create
7349         ...'.
7350         
7351         * app/interface.c (tool_data): Standard objects follow same
7352         standard as sheets.
7354 2003-04-29  Lars Clausen  <lrclause@cs.uiuc.edu>
7356         * app/color_area.c (color_area_edit): More informative title on
7357         color selection dialog.
7359         * app/disp_callbacks.c (ddisplay_drop_object): Update menu
7360         sensitivity when dropping object in.  Also reset tool to pointer.
7362         * objects/flowchart/diamond.c (diamond_update_data): 
7363         * objects/flowchart/parallelogram.c (pgram_update_data): Added
7364         left and right alignment options.
7366 2003-04-28  Lars Clausen  <lrclause@cs.uiuc.edu>
7368         * objects/flowchart/box.c: Added left and right alignment options.
7370 2003-04-26  Lars Clausen  <lrclause@cs.uiuc.edu>
7372         * app/persistence.c (persistence_load): Test existence of
7373         persistence file before trying to open it.
7375 2003-04-25  Lars Clausen  <lrclause@cs.uiuc.edu>
7377         * app/properties.c: Escape now closes properties dialogs.
7379 2003-04-25  Hans Breuer  <hans@breuer.org>
7381         * app/config.h.win32 : bump version to 0.91+cvs
7383         * app/makefile.msc lib/makefile.msc lib/libdia.def : updated
7385         * lib/dia_dirs.c : G_OS_WIN32: #define mkdir(s,a) _mkdir(s)
7387         * app/commands.c : don't leak "netscape" if getenv("BROWSER")
7388         returns NULL
7390         * app/presistence.c : need to #include "dia_xml_libxml.h"
7391         for xmlDiaParseFile
7393         * app/layer_dialog.c : make delayed creation work by protecting
7394         all non static layer_dialog_*() with :
7395            if (layer_dialog == NULL || layer_dialog->dialog == NULL)
7396              create_layer_dialog();
7397         * app/app_procs.c : removed /* create_layer_dialog(); */
7399         * objects/uml/association.c : give it a minimal StdProp
7400         implementation to fix bug #108896
7401         * lib/object_defaults.c : don't try to copy props if there
7402         is no obj->ops->describe_props
7404 2003-04-24  Lars Clausen  <lrclause@cs.uiuc.edu>
7406         * objects/standard/image.c (image_create): 
7407         * objects/standard/ellipse.c (ellipse_create): 
7408         * objects/standard/box.c (box_create): 
7409         * objects/flowchart/ellipse.c (ellipse_create): 
7410         * objects/flowchart/diamond.c (diamond_create): 
7411         * objects/flowchart/box.c (box_create): 
7412         * objects/custom/custom_object.c (custom_create): 
7413         * objects/ER/relationship.c (relationship_create): 
7414         * objects/ER/entity.c (entity_create): 
7415         * objects/ER/attribute.c (attribute_create): Initialize
7416         elem->height to DEFAULT_HEIGHT instead of DEFAULT_WIDTH.
7418         * lib/dia_svg.c (dia_svg_parse_style): Added case to set center
7419         alignment. 
7421         * configure.in: 
7422         * plug-ins/Makefile.am: 
7423         * plug-ins/xslt/Makefile.am: 
7424         * plug-ins/xslt/xslt.c (dia_plugin_init): 
7425         Patch from Götz Waschk <waschk@informatik.uni-rostock.de> uses
7426         automake-style if to only include xslt dir when needed.  Works
7427         with automake 1.4 and up, at least.
7429 2003-04-22  Lars Clausen  <lrclause@cs.uiuc.edu>
7431         * lib/diasvgrenderer.c (draw_string): 
7432         * lib/dia_svg.c (dia_svg_parse_style): Use
7433         text-anchor:(start|middle|end).
7435         * lib/diasvgrenderer.c (draw_polygon, fill_polygon): Use svg
7436         polygon rather than polyline & avoid missing line pieces.
7437         (get_draw_style): Set fill-opacity to 0 on draw_style to avoid
7438         black-filled things.
7440 2003-04-21  Lars Clausen  <lrclause@cs.uiuc.edu>
7442         * app/persistence.c (persistence_load): Check that persistence
7443         file exists before trying to read it.
7444         (persistence_update_window): Removed printf.
7446         * objects/GRAFCET/step.c: Don't copy defaults for name and id.
7448         * lib/autoroute.c: Take badness into the layouters again, as some
7449         of them know they can do things that are pretty but would be
7450         counted as ugly by the default calculation.
7452         * objects/UML/large_package.c: Shrink package name box when no
7453         stereotype is present.
7455         * lib/orth_conn.h (ORTHCONN_COMMON_MENUS): 
7456         * lib/orth_conn.c: Added object menu item for autorouting.
7458         * objects/FS/flow-ortho.c (orthflow_get_object_menu): 
7459         Autorouting, plus set initial dragging handle to be the end, not
7460         the middle.
7461         (orthflow_draw): Flipped arrow place to be at the end, as
7462         originally intended (got lost in arrow update).
7464         * objects/standard/zigzagline.c (zigzagline_get_object_menu): 
7465         * objects/UML/dependency.c (dependency_get_object_menu): 
7466         * objects/UML/association.c (association_get_object_menu): 
7467         * objects/UML/realizes.c (realizes_get_object_menu): 
7468         * objects/SADT/arrow.c (sadtarrow_get_object_menu): 
7469         * objects/GRAFCET/vector.c (arc_get_object_menu): 
7470         * objects/ER/participation.c (participation_get_object_menu): 
7471         * objects/EML/instantiation.c (instantiation_get_object_menu): 
7472         * objects/UML/generalization.c (generalization_get_object_menu): 
7473         * objects/EML/interaction-ortho.c (interaction_ortho_get_object_menu): 
7474         Autorouting setup (currently disabled for SADT/arrow).
7475         
7476 2003-04-19  Lars Clausen  <lrclause@cs.uiuc.edu>
7478         * lib/autoroute.c: Removed printfs.
7480         * lib/orth_conn.c: 
7481         * lib/autoroute.[ch] (autoroute_layout_orthconn): Handle
7482         non-connected orthconns too.
7484 2003-04-18  Lars Clausen  <lrclause@cs.uiuc.edu>
7486         * lib/orth_conn.h: 
7487         * lib/orth_conn.c: Function to set autorouting on/off, use
7488         autorouting in move_handle (turns off when a middle handle is
7489         moved), added to standard orthconn props. 
7491         * app/disp_callbacks.c (create_object_menu, popup_object_menu):
7492         Stopped signal emission for check menu items being set to on/off.
7494         * objects/standard/zigzagline.c: Added autorouting object menu item.
7496         * lib/autoroute.c: Added last cases of autoroute layout, fixed
7497         floating point comparison bug, cleaned up layouters, tweaked
7498         badness to allow kinks. 
7500 2003-04-17  Lars Clausen  <lrclause@cs.uiuc.edu>
7502         * lib/connectionpoint.h: Changed DIR_* macros to go around the
7503         clock. 
7505         * lib/orth_conn.[ch] (orthconn_set_points): New function to set all
7506         points at once.
7507         * objects/standard/zigzagline.c (zigzagline_move_handle): Removed
7508         old cruft, added call to autoroute (currently cannot be turned
7509         off).  Need to check what undo thinks about this.
7510         * lib/autoroute.[ch]: Fairly working simple layout.
7512         * lib/Makefile.am (libdia_la_SOURCES): Added autoroute files.
7513         * lib/autoroute.[ch]: Start of proper autorouting functionality.
7515 2003-04-10  Lars Clausen  <lrclause@cs.uiuc.edu>
7517         * lib/prop_widgets.c: Show labels on ListProp.
7519 2003-04-11  Steffen Macke <sdteffen@web.de>
7521         * doc/en/dia-manual.xml: removed reference of non-existing authors 
7522         note.
7523         * doc/en/usage-objects-selecting: commented out misleading section
7524         references.
7526 2003-04-10  Lars Clausen  <lrclause@cs.uiuc.edu>
7528         * app/app_procs.c (app_init): Layer window now opened at startup
7529         only if needed.
7531         * lib/prop_widgets.c: Show labels on ListProp.
7533 2003-04-09  Steffen Macke <sdteffen@web.de>
7535         * doc/en/*.sgml: removed files
7536         * doc/en/*.xml: added files
7537         * doc/en/Makefile.am: switched to XML DocBook
7539 2003-04-09  Lars Clausen  <lrclause@cs.uiuc.edu>
7541         * plug-ins/xslt/xslt.c (dia_plugin_init): 
7542         * configure.in: Added --with-xslt-prefix to allow other XSLT
7543         placements than /usr/lib.
7545 2003-04-09  Steffen Macke <sdteffen@web.de>
7547         * lib/makefile.mingw: updated to include latest files, including 
7548         and linking libintl
7549         * lib/geometry.h: don't define isinf and finite for mingw gcc build
7551 2003-04-08  Lars Clausen  <lrclause@cs.uiuc.edu>
7553         * app/persistence.h:
7554         * app/persistence.c (persistence_register_window_create): 
7555         * app/app_procs.c (app_init): 
7556         Register window function that doesn't create the window unless it
7557         should be open.  Other windows should move to this, so startup
7558         speed can be reduced.
7559         
7560         * app/persistence.h: Removed call prototype for update_window, now
7561         done internally.
7562         * app/persistence.c (persistence_register_window): A number of
7563         fixes.  Doesn't forget position when window is closed.  Now
7564         actually loads prefs.
7566         * app/layer_dialog.c (create_layer_dialog): Removed extraneous
7567         event connect.
7569         * app/preferences.c (prefs_data): 
7570         * app/diagram_tree_window.h: 
7571         * app/diagram_tree_window.c: Added persistence registering.
7572         Removed prefs items storing size and openness. 
7574         * app/sheets_dialog.c (create_sheets_main_dialog): Added
7575         persistence registering.  
7577         * app/Makefile.am (dia_core_files): Added persistence files.
7579         * lib/dia_dirs.h: 
7580         * lib/dia_dirs.c (dia_config_ensure_dir): New function to ensure
7581         that dirs are present.
7583         * app/app_procs.c (app_init): Loads persistent values on startup.
7584         (app_exit): Saves persistent values on exit.
7586         * app/layer_dialog.c (create_layer_dialog): Registers the layer
7587         window for persistence.
7589         * app/persistence.[ch]: New files handling various kinds of
7590         persistence.
7592 2003-04-04  Lars Clausen  <lrclause@cs.uiuc.edu>
7594         * lib/arrows.c: Adjusted arrow head spacing, more systematic arrow
7595         head spacing calculations.  Added half-circle arrow from Matthieu
7596         Sozeau <mattam@netcourrier.com> 
7598 2003-04-03  Lars Clausen  <lrclause@cs.uiuc.edu>
7600         * app/app_procs.c (app_init): Moved layer dialog init to allow
7601         tooltips to be initialized.
7603         * app/interface.c (create_display_shell): More tooltips.
7605         * app/linewidth_area.c (linewidth_area_create) 
7606         (linewidth_area_events): 
7607         * app/color_area.c (color_area_events, color_area_create): 
7608         Made tooltips work by embedding drawing_area in event_box.
7610         * app/interface.c (create_display_shell,
7611         (create_lineprops_area, create_color_area): Added a few tooltips.
7613 2003-04-01  Lars Clausen  <lrclause@cs.uiuc.edu>
7615         * app/pixmaps/off-grid.xpm: 
7616         * app/pixmaps/on-grid.xpm: 
7617         * app/Makefile.am (EXTRA_DIST): Added snap to grid icons.
7619         * app/display.h: 
7620         * app/commands.c (view_snap_to_grid_callback): 
7621         * app/display.c (ddisplay_set_snap_to_grid) 
7622         (update_snap_grid_status): 
7623         * app/interface.c (create_display_shell, grid_toggle_snap): 
7624         Added snap-to-grid status button.
7626 2003-03-31  Lars Clausen  <lrclause@cs.uiuc.edu>
7628         * app/app_procs.c (app_init): Create a new diagram if a file on
7629         the command line isn't found.
7631 2003-03-17  Lars Clausen  <lrclause@cs.uiuc.edu>
7633         * lib/dialibartrenderer.c (draw_string): Correct color handling
7634         for AA.
7636 2003-03-14  Lars Clausen  <lrclause@cs.uiuc.edu>
7638         * NEWS: 
7639         * doc/en/dia-manual.sgml: 
7640         * doc/pl/dia-manual.sgml: 
7641         * configure.in: 
7642         * dia.spec (Release): 
7643         Version 0.91 is here!
7645 2003-02-10  Steffen Macke <sdteffen@web.de>
7647         * plug-ins/wmf/wmf.cpp: patch from Ken Tsukahara 
7648         <ken.tsukahara@tmt-d.co.jp>, fixes windows printing and WMF export of
7649         non-ANSI characters, closes #107980
7651 2003-03-04  Lars Clausen  <lrclause@cs.uiuc.edu>
7653         * configure.in: 
7654         * NEWS: 
7655         * dia.spec (Release): 
7656         * doc/en/dia-manual.sgml: Upping to pre6.
7658         * configure.in: Missing comma broke HAVE_IEEEFP_H test.
7660         * app/lineprops_area.c (dia_arrow_chooser_new): Fixing bug
7661         #107511:  Make arrow selector for correct arrow type.
7663 2003-03-03  Lars Clausen  <lrclause@cs.uiuc.edu>
7665         * shapes/Circuit/Makefile.am (SHAPES): Added hjumper.png to
7666         EXTRA_DIST.
7668 2003-03-02  Lars Clausen  <lrclause@cs.uiuc.edu>
7670         * doc/en/dia-manual.sgml: 
7671         * configure.in: 
7672         * NEWS: 
7673         * dia.spec (Release): Upping to pre5.
7675         * configure.in: Add freetype-config derived libs to the
7676         AC_CHECK_LIB statement for freetype.
7678 2003-02-28  Hans Breuer  <hans@breuer.org>
7680         [fix for bug #107203]
7682         * lib/diarenderer.c : add warning 'implementation'
7683         for fill_rect to avoid crashing with a renderer
7684         which does not implement this required function.
7686         * plug-ins/dxf/dxf-export.c : provide - still empty -
7687         'implementations' for fill_rect and fill_polygon 
7688         to suppress the above warnings. Now it works like
7689         in version 0.90 
7691 2003-02-28  Steffen Macke <sdteffen@web.de>
7693         * samples/all_objects.dia: New sheet containing all dia shapes
7694         and objects; one layer per sheet
7695         
7696 2003-02-28  Lars Clausen  <lrclause@cs.uiuc.edu>
7698         * lib/prop_text.c (multistringprop_get_widget,
7699         multistringprop_reset_widget, multistringprop_set_from_widget): 
7700         Now uses GtkTextView instead of deprecated stuff, and also works:)
7702         * configure.in: Slightly more informative error message for isinf.
7704         * dia.spec (Requires): Require libxml2 rather than libxml.
7706 2003-02-28  Steffen Macke <sdteffen@web.de>
7708         * shapes/Circuit/hjumper.png:
7709         * shapes/Circuit/hjumper.shape: added missing icon for horizontal
7710         jumper shape
7711         
7712 2003-02-26  Lars Clausen  <lrclause@cs.uiuc.edu>
7714         * doc/en/dia-manual.sgml: 
7715         * configure.in: 
7716         * dia.spec (Release):
7717         * NEWS: New prerelease 0.91pre4, two important fixes.
7719 2003-02-25  Lars Clausen  <lrclause@cs.uiuc.edu>
7721         * plug-ins/xslt/Makefile.am (EXTRA_DIST): Also dist
7722         stylesheets.xml.in 
7724         * app/commands.c (help_manual_callback): More correct URL for help
7725         page (include file://, was broken on Dillo without it).
7727 2003-02-24  Lars Clausen  <lrclause@cs.uiuc.edu>
7729         * app/disp_callbacks.c: Set modifed when text is changed.
7731         * app/modify_tool.c (modify_button_release): Allow undo for moving
7732         objects.
7734 2003-02-16  Lars Clausen  <lrclause@cs.uiuc.edu>
7736         * dia.spec: 
7737         * doc/en/dia-manual.sgml: 
7738         * NEWS: 
7739         * configure.in: New prerelease with important bugfix.
7740         * shapes/network/digitizing_board.png:
7741         * shapes/network/plotter.png: Re-adding with -kb.
7742         
7743 2003-02-17  Abel Cheung  <maddog@linux.org.hk>
7745         * app/app_procs.c (app_init): Add comment for translators.
7747 2003-02-16  Lars Clausen  <lrclause@cs.uiuc.edu>
7749         * lib/filter.c (filter_register_import, filter_register_export):
7750         Don't accept filters with NULL description.
7752         * lib/plug-ins.c (dia_plugin_load): Fail if there's no description
7753         (as we assume the description is available in other places).
7755 2003-02-15  Lars Clausen  <lrclause@cs.uiuc.edu>
7756         
7757         * app/disp_callbacks.c (ddisplay_vsb_update, ddisplay_hsb_update): 
7758         * app/display.c (ddisplay_resize_canvas): Use
7759         ddisplay_add_update_all().
7760         (ddisplay_add_update_all): Free display and update lists when
7761         doing update_all, as they'll be regenerated immediately to cover
7762         all visible area.  Fixes bug #106165, crash when resizing.  This
7763         appears to be the original AA crash bug, believed long extinct.
7765 2003-02-13  Lars Clausen  <lrclause@cs.uiuc.edu>
7767         * app/commands.c (help_manual_callback): Use file: protocol for
7768         help. 
7770         * plug-ins/xslt/.cvsignore: Ignore .o files, please.
7772         * plug-ins/xslt/stylesheets: Removed old-style config file.
7773         
7774         * plug-ins/xslt/stylesheets.xml.in: New XML-based config file.
7776         * plug-ins/xslt/Makefile.am: 
7777         * plug-ins/xslt/xslt.c: Applied patch from Matthieu, improved path
7778         handling (no more DIA_PLUGIN_PATH).
7780 2003-02-11  Lars Clausen  <lrclause@cs.uiuc.edu>
7782         * plug-ins/svg/render_svg.c: 
7783         * lib/diasvgrenderer.c: Fixed numeric localized output issues.
7785 2003-02-10  Lars Clausen  <lrclause@cs.uiuc.edu>
7787         * objects/SADT/arrow.c (sadtarrow_draw): Clamp cosa, cosb to 
7788         [-1.0, 1.0].  Shouldn't be necessary, but in some cases the
7789         side of the triangle is longer than the hypotenuse.  Rounding
7790         error suspected.
7792 2003-02-09  Lars Clausen  <lrclause@cs.uiuc.edu>
7794         * NEWS: 
7795         * configure.in: 
7796         * doc/en/dia-manual.sgml: Update for pre2.
7798         * app/menus.c (display_menu_items): Fixed wrongly place separators.
7800         * objects/flowchart/box.c (box_update_data): Applied patch from
7801         Eivind Tagseth <eivind-gnome@multinet.no> to allow resize (with
7802         comment). 
7804         * app/paginate_psprint.c (print_page): Set paper name, so it
7805         convinces ps printers to use to right size.
7807 2003-02-07  Lars Clausen  <lrclause@cs.uiuc.edu>
7809         * app/properties.c (properties_show): Hide the dialog if the
7810         object is NULL (get rid of 'no properties' randomly popping up).
7812 2003-02-06  Lars Clausen  <lrclause@cs.uiuc.edu>
7814         * plug-ins/pixbuf/pixbuf.c (export_data): Adjust width and height
7815         for diagrams not starting at origo.
7817 2003-02-05  Lars Clausen  <lrclause@cs.uiuc.edu>
7819         * dia.spec (BuildRequires): Use libxml2-devel.
7821         * plug-ins/pixbuf/Makefile.am: Added to CVS.
7823         * RELEASE-PROCESS: Note on RPM version numbers.
7825         * app/interface.c (create_display_shell): Don't set as toolbar
7826         under Unix, either.  Especially not the diagram shell.  It removes
7827         it from the taskbar and makes it unresizable, always-on-top with
7828         OpenBox.  TOOLBAR != TOOLBOX.  Setting toolbox to the only
7829         appropriate thing, UTILITY, is not good either, you lose resizing
7830         and minimizing/maximizing under OpenBox.
7832         * app/menus.c (display_menu_items): Set delete item to use Delete.
7834 2003-02-04  Lars Clausen  <lrclause@cs.uiuc.edu>
7836         * dia.spec (BuildRequires, Requires): Updated for Gtk2
7837         requirements.
7839         * app/disp_callbacks.c (ddisplay_canvas_events): Only add a
7840         display flush when getting focus in, or we may get an update after
7841         the diagram has been destroyed in some cases.  Fixes bug #105221.
7843         * plug-ins/xfig/xfig-import.c: Notes on the splines used by XFig.
7845         * lib/diarenderer.c: Notes on the basis matrix for our beziers.
7847         * app/app_procs.c (app_init): Fixed missing popt context for Gnome
7848         - gnome-compiled Dia will now read files specified on the command line.
7850 2003-02-03  Lars Clausen  <lrclause@cs.uiuc.edu>
7852         * INSTALL (REQUIREMENTS): Updated requirements section.
7854         * configure.in: Better finite() check from MÃ¥rten Svantesson
7855         <f95-msv@nada.kth.se>.  Doesn't seem to generate strange dangly
7856         if's. 
7857         
7858 2003-02-03  Lars Clausen  <lrclause@cs.uiuc.edu>
7860         * plug-ins/xfig/xfig-import.c: Notes on spline conversions.
7862         * app/app_procs.c (debug_break): Added some code to avoid
7863         over-eager optimizations removing the call.  Surely there's a
7864         nicer way, but I'm not sure how.
7866         * app/diapsft2renderer.c (draw_bezier_outline): Removed paps relic
7867         that set text to black.
7869 2003-02-02  Lars Clausen  <lrclause@cs.uiuc.edu>
7871         * NEWS: Mention of Twiki as doc source for Python.
7873         * plug-ins/pixbuf/pixbuf.c: Export with pixbuf if
7874         libart/libpng is not available.  Later when we have a way of
7875         letting the user pick options in the file select dialog we shall
7876         allow the choice when applicable.
7878 2003-02-02  Steffen Macke <sdteffen@web.de>
7880         * doc/en/usage-loadsave.sgml:
7881         * doc/en/usage-objects.sgml: patch from
7882         James K. Lowden <jklowden@schemamania.org> to fix
7883         some docbook errors
7884         
7885 2003-02-01  Lars Clausen  <lrclause@cs.uiuc.edu>
7887         * plug-ins/Makefile.am (SUBDIRS): 
7888         * plug-ins/pixbuf/pixbuf.c: 
7889         * plug-ins/pixbuf/Makefile.am: 
7890         * configure.in: 
7891         Added pixbuf plugin to Makefile.am, but for import only.  PNG
7892         export handled by libart, which is better. JPG export is
7893         discouraged.  BMP is not much used on Unix.  Next release will
7894         integrate libart to allow all outputs.
7896 2003-02-01  Hans Breuer  <hans@breuer.org>
7898         * app/preferences.c :
7899         * app/pagesetup.c :
7900         the last two dialogs with 'old' button order finally
7901         are converted to gtk2, no GnomeDialog in all of Dia 
7902         anymore :-) 
7904 2003-02-01  Hans Breuer  <hans@breuer.org>
7906         * app/filedlg.c : don't try to use a button as
7907         'overwrite-file-dialog'-parent, use the FileSelDialog
7908         instead
7910         * plug-ins/pixbuf/pixbuf.c : make it work with 
7911         system-visual-depth < 24. Remove 'bmp' from output
7912         format extensions, it just was wishful thinking.
7914         * plug-ins/python/Makefile.am : added the four new python 
7915         plug-ins mentioned below to pyplugin_DATA and EXTRA_DIST
7917 2003-02-01  Hans Breuer  <hans@breuer.org>
7919         * NEWS : updated content beside dependencies
7921 2003-02-01  Hans Breuer  <hans@breuer.org>
7923         * lib/arrow.h : arrow_types needs to be declared as DIAVAR
7924         to make it useable across DLL boundaries
7925         * app/lineprops_area.c : same code to access arrow_types
7926         on all platforms
7928         * objects/UML/class.c : the non empty string is e.g.
7929         comment != NULL && comment[0] != '\0'
7930         * objects/UML/uml.c : same here, don't bother with
7931         empty operation stereotypes
7933 2003-02-01  Steffen Macke <sdteffen@web.de>
7935         * app/lineprops_area.c: latest changes do not work on
7936         windows, using old code without tooltips
7937         * makefile.msc: fixed copying of wmf.dll
7938         * plug-ins/makefile.msc: 
7939         * app/makefile.msc:
7940         * lib/makefile.msc: now linking libintl
7941         * config.h.win32: enabling native language support
7943 2003-01-31  Lars Clausen  <lrclause@cs.uiuc.edu>
7945         * plug-ins/xslt/Makefile.am (libxslt_filter_la_LDFLAGS): Removed
7946         -ldl and -lglib.  May or may not work on windows...awaiting verdict.
7948 2003-01-31  Daniel Yacob  <locales@geez.org>
7950         * configure.in: Added am (Amharic) to ALL_LINGUAS.
7952 2003-01-31  Steffen Macke <sdteffen@web.de>
7954         * objects/UML/class.c (umlclass_calculate_data): fixed crash
7955         when comments were visible, no class comment available and
7956         a attribute comment
7957          
7958 2003-01-31  Lars Clausen  <lrclause@cs.uiuc.edu>
7960         * RELEASE-PROCESS: Updated to fit new install-module syntax.
7961         * Prerelease 0.91-pre1 released on a suspecting public.  Tagging
7962         with DIA_0_91_PRE1.
7964 2003-01-30  Lars Clausen  <lrclause@cs.uiuc.edu>
7966         * config.h.win32: 
7967         * NEWS: 
7968         * configure.in:
7969         * dia.spec:
7970         Prerelease version changes, version 0.91-pre1.
7972         * app/sheets_dialog_callbacks.h: 
7973         * app/sheets_dialog_callbacks.c: 
7974         * app/sheets_dialog.c (create_sheets_main_dialog): 
7975         * app/sheets.c (sheets_dialog_create): More destroy stuff.  Trying
7976         to handle destruction of main dialog cleanly, but it's a mess.
7978         * configure.in: Downgraded ieeefp test to make it not produce
7979         illegal shell code.
7981         * lib/widgets.c (dia_arrow_selector_set_arrow): 
7982         (dia_line_style_selector_set_linestyle): Select menu dot
7983         correctly set.
7985         * lib/arrows.c (calculate_arrow_point): Fix of wrong arrow
7986         adjustment for diamondheads.
7988         * lib/plug-ins.c (dia_plugin_load): Fixed typo.
7990         * app/properties.c (create_dialog): Destroy properties dialog and
7991         box correctly.
7993         * app/sheets_dialog_callbacks.c
7994         (on_sheets_dialog_button_edit_clicked): Only create a new dialog
7995         if the old one is destroyed.
7997 2003-01-29  Lars Clausen  <lrclause@cs.uiuc.edu>
7999         * app/export_png.c (export_png_ok): Added info on resolution.
8000         Should (next release) improve export dialog to allow setting
8001         resolution instead of pixels.
8003         * app/lineprops_area.c (dia_arrow_chooser_new): Use menudesc list
8004         to generate arrowheads as well as tooltips.
8006         * lib/arrows.c: Added hollow diamond to menudesc list.
8008         * lib/arrows.[ch]: 
8009         * lib/widgets.[ch]: Moved arrow name list into arrows.[ch] to
8010         unify with rendered menu.
8012         * lib/diarenderer.c (draw_line_with_arrows)
8013         (draw_polyline_with_arrows, draw_arc_with_arrows)
8014         (draw_bezier_with_arrows): Fixed linestyle change bug (#104488)
8015         without changing renderer API.  Thanks to David Scherba for
8016         providing inspiration.
8018 2003-01-28  Lars Clausen  <lrclause@cs.uiuc.edu>
8020         * app/interface.c (create_display_shell):
8021         * app/display.h: Patching from Hubert Figuiere
8022         <hfiguiere@teaser.fr>:  Better types for menu bar widgets, and
8023         correct menu items.
8025 2003-01-26  Lars Clausen  <lrclause@cs.uiuc.edu>
8027         * app/defaults.c (defaults_show): Fixed defaults closing bug.
8028         Thanks to Hans for pointing it out.
8030 2003-01-25  Hans Breuer  <hans@breuer.org>
8032         * app/commands.c : don't warn about crashing libart renderer
8033         on win32. It simply doesn't render text anymore :-(
8035         * app/filedlg.c : use GtkMessageDialog for 'file overwrite'
8037         * objects/UML/class.c : don't access umlclass->properties_dialog
8038         after calling gtk_widget_destroy(umlclass->properties_dialog->dialog)
8039         which sets the former to NULL by destroy_properties_dialog() callback.
8041         * plug-ins/wmf/wmf.cpp : use dia_image_rowstride()
8043         * plug-ins/python/pydia-font.c : fix PyDiaFont_GetAttr()
8045         * plug-ins/python/pydia-image.c : add image.uri member
8046         not only useful for SVG rendering
8048         * plug-ins/python/diasvg.py : (new file) a more advanced
8049         example. A full blown SVG Renderer, currently only
8050         registered for .svgz
8052         * plug-ins/python/export-object.py : write text props
8054         * plug-ins/python/debug_objects.py : write prop.type and
8055         prop.visible 
8057 2003-01-25  Lars Clausen  <lrclause@cs.uiuc.edu>
8059         * objects/UML/association.c (association_update_data): Better
8060         bounding box for assoc with arrows.
8062         * lib/properties.h: New flag for properties with multiple values
8063         in groups.
8065         * app/lineprops_area.c (dia_arrow_chooser_dialog_show): Correct
8066         arrow updating in dialog.  Was broken due to changes from destroy
8067         fix:(
8069         * app/commands.c (view_aa_callback): AA warning only for Windows
8070         -- I trust the Unix side well enough.
8072         * app/render_libart.c (get_text_width): 
8073         * lib/dialibartrenderer.h (struct _DiaLibartRenderer): Font and
8074         font height can be taken from parent instance.
8076         * lib/dialibartrenderer.c (dia_libart_renderer_class_init) 
8077         (get_text_width): Proper cursor positioning for libart renderer.
8078         Ought to have a DiaInteractiveRenderer that these two can inherit
8079         from, that knows about transform.
8081 2003-01-25  Steffen Macke <sdteffen@web.de>
8083         * plug-ins/xslt/xslt.h: don't use dlfcn.h on win32. XSLT
8084         plug-in still not working on win32
8085         
8086 2003-01-24  Lars Clausen  <lrclause@cs.uiuc.edu>
8088         * app/disp_callbacks.c (ddisplay_canvas_events): Moved
8089         gdk_window_get_pointer to avoid destroy crash.  Simpler than I
8090         thought.
8092 2003-01-23  Lars Clausen  <lrclause@cs.uiuc.edu>
8094         * app/app_procs.c (app_init): Run gtk_init before popt so we don't
8095         bail out on gtk options.
8097         * lib/message.c (gtk_message_internal): Better handling of destroy
8098         event.
8100 2003-01-22  Lars Clausen  <lrclause@cs.uiuc.edu>
8102         * app/color_area.c (color_area_edit): 
8103         * lib/widgets.c (dia_file_selector_browse_pressed) 
8104         (dia_color_selector_pressed): 
8105         * app/plugin-manager.c (get_plugin_manager): 
8106         * app/filedlg.c (file_open_callback, file_save_as_callback) 
8107         (file_export_callback):
8108         * app/diagram_tree_window.c (diagram_tree_window_new): Correct
8109         handling of destroy event.
8111 2003-01-22  Alan Horkan <horkana@tcd.ie>
8113         * app/commands.c (file_new_callback): Changed Untitled to Diagram
8114         for default name.
8116 2003-01-21  Lars Clausen  <lrclause@cs.uiuc.edu>
8118         * app/preferences.c (prefs_create_dialog): 
8119         * app/linewidth_area.c (linewidth_create_dialog): 
8120         * app/lineprops_area.c (dia_arrow_chooser_dialog_show): 
8121         * app/layer_dialog.c (create_layer_dialog)
8122         (layer_dialog_edit_layer): Correct handling of destroy signal. 
8124         * app/diapsft2renderer.c (set_font): Adjust silly random factor
8125         for change in font.c
8127         * lib/widgets.c: Avoid warning when font menu file doesn't exist.
8129         * lib/font.c (dia_font_build_layout): Let's all use the same weird
8130         factor here.
8132         * app/lineprops_area.c (dia_arrow_chooser_dialog_show): 
8133         * app/layer_dialog.c (create_layer_dialog) 
8134         (layer_dialog_edit_layer): 
8135         * app/filedlg.c (file_open_callback, file_save_as_callback) 
8136         (file_export_callback): 
8137         * app/dia-props.c (create_diagram_properties_dialog): 
8138         * app/defaults.c (defaults_dialog_destroyed): 
8139         * app/color_area.c (color_area_edit): Dialog destroy event handling.
8141 2003-01-19  Lars Clausen  <lrclause@cs.uiuc.edu>
8143         * app/defaults.c (defaults_dialog_destroyed): Reset cache when
8144         defaults dialog destroyed.
8146 2003-01-19  Steffen Macke <sdteffen@web.de>
8148         * objects/makefile.msc: added bondgraph
8149         * plug-ins/makefile.msc: added GDK_PIXBUF_LIBS in order
8150         to compile pixbuf.dll
8151         * makefile.msc: copying all objects and dlls now
8152         
8153 2003-01-19  Hans Breuer  <hans@breuer.org>
8155         * app/diagram.[hc] : provide dia_open_diagrams(), make
8156         open_diagrams variable static
8157         * app/dia.def : export it (to be used by PyDia)
8158         * app/app_procs.c app/autosave.c app/diagram_tree_window.c
8159           app/display.c app/dynamic_refresh.c app/layer_dialog.c
8160           app/load_save.c : make use of dia_open_diagrams()
8162         * app/interface.c : don't set GDK_WINDOW_TYPE_HINT_TOOLBAR
8163         on win32. It removes the diagram window from the taskbar and
8164         shrinks it's window title to toolbar style (newest gtk2.2 cvs)
8166         * app/menus.c : add '...' to menu entries where a dialog 
8167         gets invoked
8168         * app/recent_files.c app/dia_embedd.c : reflect the above in 
8169         menus_get_item_from_path() calls
8171         * lib/libdia.def : add dia_image_rgba_data
8173         * lib/properties.h lib/prop_text.[hc] : add new property
8174         type StringList
8175         * objects/UML/class.[hc] object/UML/class_dialog.c : use
8176         StringList for attributes_strings and operations_strings to
8177         make this calculated data accessible via the Property API
8179         * plug-ins/python/diamodule.c : use dia_open_diagrams() and
8180         provide dia.new() to create a new diagram, dia.registered_types()
8181         to get on Dia's type registry, dia.message() for simple dialogs
8183         * plug-ins/python/pydia-diagram.c : implement DiaDiagram.display()
8184         to create a new display from a diagram. Let diagram.extents and
8185         diagram.bg_color return the same types as in diagramdata.*
8187         * plug-ins/python/pydia-geometry.c : add a read-only 
8188         'sequence interface' to DiaPoint and DiaRectangle
8190         * plug-ins/python/pydia-property.c : allow to get on StringList
8191         from Python
8193         * plug-ins/python/pydia-render.c : fix typo to make it compile
8195         * plug-ins/python/python-startup.py : removed 'import pygtk'
8196         again. This file does not need any gtk UI, and some python
8197         plug-ins don't do either
8199         * plug-ins/python/gtkcons.py : ported to GTK2 interface, now
8200         it should actually work as intended again
8202         * plug-ins/python/group_props.py : (new file) a prototype for
8203         one the most requested features: Change properties of selected
8204         objects in one step. Requires pygtk.
8206         * plug-ins/python/select_by.py : (new file) select objects by 
8207         common properties. Requires pygtk.
8209         [Start of 'PyDia Self Documentation Series']
8211         * plug-ins/python/pydiadoc.py : (new file) generates a new 
8212         diagram which contains all objects of dir(dia)
8213         
8214         * plug-ins/python/otypes.py : (new file) generates a new diagram 
8215         which contains all the currently registered object types sorted 
8216         by their containing package
8218 2003-01-18  Lars Clausen  <lrclause@cs.uiuc.edu>
8220         * configure.in: Added check for Pango >= 1.1.5, which appears to
8221         be enough to have text work.
8222         (INTLOBJS): Added dummy subst cause gettext doesn't always seem to
8223         do it.  AC_SUBST should be idempotent, though.
8225 2003-01-17  Lars Clausen  <lrclause@cs.uiuc.edu>
8227         * configure.in (HAVE_FREETYPE): Better test for freetype version
8228         using neat macro.
8229         Now actually sets HAVE_IEEEFP_H, needed for Solaris.
8231         * lib/font.c: Renamed global_size_one to global_zoom_factor to
8232         avoid confusion, and added comment.  Set scale factor in
8233         dia_font_build_layout to 1.0 for Unix side.  This fixes at least
8234         my weird scaling problems.  Fonts are now of the expectable size,
8235         i.e. the space between lines at size 1.0 is 1.0.  If we want a
8236         compatibility fix, we should scale fonts by about 1/0.75 from 0.90
8237         diagrams, though there will always be differences.
8239 2003-01-15  Lars Clausen  <lrclause@cs.uiuc.edu>
8241         * plug-ins/python/python-startup.py: 
8242         * plug-ins/python/gtkcons.py: Require gtk 2.0 for pygtk
8244         * plug-ins/python/python.c (dia_plugin_init): Added warning
8245         message for missing startup file.
8247         * lib/dialibartrenderer.c (draw_image): Alpha rendering!  Yay!
8248         
8249         * lib/dia_image.c (dia_image_rgb_data): 
8250         * app/diapsrenderer.c (draw_image): Fixed rowstride problems
8251         involving EPS.  Can't do transparency in EPS yet.
8253         * lib/dia_image.h: 
8254         * lib/dia_image.c (dia_image_rgba_data): New function to get RGBA
8255         data as one chunk.  Documentation for the RGB data getting funcs.
8256         (dia_image_rgb_data): Added comment.
8258         * lib/dialibartrenderer.c (draw_image): Correct rowstride handling
8259         (bug #103565)
8261 2003-01-13  Steffen Macke <sdteffen@web.de>
8263         * lib/dia_image.c: dia_image_rgb_data() is working for
8264         non-alpha images now. Fixes #93762
8265         * Makefile.am: added makefile.msc to EXTRA_DIST
8266         
8267 2003-01-10  Steffen Macke <sdteffen@web.de>
8269         * app/paginate_psprint.c: Closing print dialog when file
8270         could not be written. Fixes #84746
8271         
8272 2003-01-04  Steffen Macke <sdteffen@web.de>
8274         * doc/custom-shapes: incomplete description of <svg:text>
8276 2003-01-03  Steffen Macke <sdteffen@web.de>
8278         * makefile.msc(new): new makefile to create file
8279         structure suitable for running dia win32 under
8280         $(TOP)/dia/build/win32
8281         
8282 2003-01-02  Steffen Macke <sdteffen@web.de>
8283         
8284         * lib/dia_svg.c: including stdlib.h
8285         * lib/makefile.msc: added gdk_pixbuf libs to linker
8286         * app/makefile.msc: added gdk_pixbuf libs, made libart
8287         libs compatible with gnuwin32 package
8288         
8289 2003-01-01  Hans Breuer  <hans@breuer.org>
8291         * lib/font.c : more comment about global_size_one
8293         * app/menus.c : <control>[<shift>]A for plain gtk build too.
8295         * plug-ins/wmf/wmf.cpp : some type juggling to make 
8296         msvc7 happy
8298 2002-12-31  Steffen Macke <sdteffen@web.de>
8300         * app/makefile.msc: added hint on how to enable console output
8301         
8302 2002-12-17  Lars Clausen  <lrclause@cs.uiuc.edu>
8304         * objects/standard/textobj.c (textobj_load): Get the handle type
8305         right, at least to be the same as when created.
8307 2002-12-12  Lars Clausen  <lrclause@cs.uiuc.edu>
8309         * lib/dialibartrenderer.c (draw_string): Removed extra 'is'.
8311 2002-12-08  Hans Breuer  <hans@breuer.org>
8313         * app/commands.c : fixed bug #85315 'give diagram properties, 
8314         instead of no object selected error' almost a one-liner
8316         * app/splash.c : don't make having the logo pixmap
8317         mandatory. Fixes bug #96068. 
8319         * app/defaults.c : avoid crashing from open-dialog,esc,open-dialog
8320         sequence by connecting to the "delete_event"
8321         * app/objects/uml/class_dialog.c : handle "destroy" for 
8322         the same reason.
8324         * lib/libdia.def : remove diaXmlNewChild again
8326         * app/paginate_gdiprint.cpp : reflect Dia's page setting
8327         portrait/landscape in the windoze print dialog
8329         * objects/makefile.msc : only UML needs to link against
8330         $(GTK2_LIBS) and only custom against $(LIBXML2_LIBS)
8332 2002-12-08  Lars Clausen  <lrclause@cs.uiuc.edu>
8334         * objects/standard/ellipse.c (ellipse_distance_from): 
8335         * lib/geometry.c (distance_ellipse_point): Ellipse now uses the
8336         correct distance function.  Could be faster, but it's not really
8337         essential. 
8339 2002-12-07  Lars Clausen <lrclause@cs.uiuc.edu>
8341         * lib/font.c: Changed global_size_one to more correct 28.35.
8342         Looks better, too.
8344         * app/load_save.c:
8345         * lib/dia_xml.h: 
8346         * lib/dia_xml.c: Removed pretty print hack, the libxml thing works
8347         after all.
8349 2002-12-07  Hans Breuer  <hans@breuer.org>
8351         * lib/widgets.c : g_file_get_contents() silently assumes
8352         a binary file. Reflect when creating the font_menu file
8353         to get rid of junk in font menus
8355 2002-12-06  Hans Breuer  <hans@breuer.org>
8357         * app/diapsrenderer.[hc] app/diapsft2renderer.[hc] :
8358         removed 0xD 0xD 0xA line ends which get created by
8359         cvs if windoze line ends 0xD 0xA are checked in from
8360         *nix and checked out on win32.
8362         * app/preferences.c : changed toolbox_on_top default to
8363         false. It is currently not possible to change the behaviour
8364         at runtime, at least not on win32.
8366         * lib/dialibartrenderer.c : bug #94791 'rendering to 
8367         bitmap without PangoFt2' got delayed to milestone future 
8368         so wrap libart text rendering into PANGO_WIN32_FUTURE. 
8369         It is not available without my Pango patch in bugzilla.
8371         * lib/font.c : added comment to global_size_one and adapt
8372         the arbitrary size scaling in dia_font_build_layout() for
8373         win32, too. This is needed to get an acceptable font size 
8374         approximation for Dia 0.90 and earlier files.
8375         Also #include "message.h".
8377         * app/makfile.msc app/dia.def lib/makefile.msc lib/libdia.def :
8378         reflect movement of group.[hc]
8379         * lib/group.h : export group_type which gets used by app/*
8381         * lib/diagtkfontsel.c : added #undef GTK_DISABLE_DEPRECATED
8382         to get the GtkTypeInfo definition
8384         * plug-ins/makefile.msc : dxf and xfig don't need to link
8385         against app/ anymore now that group is moved to lib/
8387         * plug-ins/python/pydia-render.c : remove massive leaking
8388         of self, i.e. PyDiaRenderer
8390         *  plug-ins/python/makefile.msc : remove linking against
8391         GTK libs
8393 2002-12-06  Lars Clausen  <lrclause@cs.uiuc.edu>
8395         * objects/standard/line.c: Removed properties options for gaps,
8396         until release is done.
8398         * configure.in: Check for freetype version.
8400         * lib/text.c (text_insert_char): Fixed small buffer overflow for
8401         length = 0.
8403         * lib/dialibartrenderer.c (draw_string): Removed debugging printf.
8405         * app/diapsft2renderer.h: 
8406         * app/diapsft2renderer.c: 
8407         * app/diapsrenderer.h: 
8408         * app/diapsrenderer.c: Split ps rendering into standard and freetype.
8410         * app/render_eps.c (export_eps, new_psprint_renderer): Using
8411         PS_FT2 renderer when available.  Old render stuff killed.  Yay!
8413         * lib/properties.h: Fixed bad frame end def.
8415         * app/Makefile.am (dia_core_files): Added diapsft2renderer.[ch].
8417         * lib/dia_xml.c (data_add_string): Avoid #-less strings.
8418         
8419         * objects/bondgraph/Makefile.am: Removed unneeded EXTRA_DIST.
8421 2002-12-05  Lars Clausen  <lrclause@cs.uiuc.edu>
8423         * lib/font.c: Now checking for the proper dia-style standard fonts.
8425         * lib/Makefile.am: 
8426         * app/Makefile.am: Moving group.[ch]
8428         * plug-ins/dxf/dxf-import.c: 
8429         * plug-ins/xfig/xfig-import.c: 
8430         * plug-ins/xfig/xfig-export.c: Now can refer directly to group.h.
8432         * app/object_ops.c: 
8433         * app/object_ops.h: 
8434         * lib/object.c (object_list_move_delta, object_copy_list): 
8435         * lib/object.h: Moved some object-related functions from
8436         object_ops to object to assist moving group.c.
8438         * lib/diatypes.h: Added Group typedef.
8440         * lib/group.h: 
8441         * lib/group.c: Moved from app to lib to a) resolve plug-ins
8442         references, and b) make groups more "real" objects.
8444         * lib/Makefile.am (libdia_la_SOURCES): Added diatyps.h
8446 2002-12-03  Lars Clausen <lrclause@cs.uiuc.edu>
8448         * lib/font.c (dia_font_init): Added check that the three standard
8449         fonts exist.
8451 2002-12-02  Lars Clausen  <lrclause@cs.uiuc.edu>
8453         * lib/dia_xml.[ch]:
8454         * app/load_save.c: Linebreaks in dia files, no indentation.
8455         Should help text tools.  xmlNewChild wrapped in diaXmlNewChild for
8456         this. 
8457         
8458         * objects/standard/line.c: Small but important fixes to the line
8459         gap code.
8461         * lib/dia_xml.h: 
8462         * lib/dia_xml.c (diaXmlNewChild): 
8463         * app/load_save.c (diagram_data_write_doc, write_objects): Simple
8464         XML prettyprinting wrapper.
8466 2002-12-03  Steffen Macke <sdteffen@web.de>
8468         * shapes/Cisco/Makefile.am:
8469         * shapes/Cisco/*.shape: finished conversion of Cisco icons
8470         to *.png
8471         
8472 2002-12-02  Steffen Macke <sdteffen@web.de>
8474         * doc/en/Makefile.am:
8475         * doc/en/usage-objects.sgml:
8476         * doc/en/graphics/line_icon.png: (new) added line icon
8477         
8478 2002-12-02  Lars Clausen  <lrclause@cs.uiuc.edu>
8480         * objects/standard/line.c: Binary search object edge line gap.
8482 2002-12-01  Lars Clausen  <lrclause@cs.uiuc.edu>
8484         * configure.in: Added Cisco makefile, sorted Makefiles list.
8486         * shapes/Makefile.am (SUBDIRS): Added Cisco dir
8488         * configure.in: Now checks for availability of PangoFT2 and
8489         FreeType, raising an error if not found.
8491         * app/Makefile.am (dia_core_files): Adding diapsft2renderer from
8492         Hans.
8494 2002-12-01  Steffen Macke <sdteffen@web.de>
8495         
8496         * doc/en/usage-loadsave.sgml: updated information on import
8497         and export formats
8498         
8499 2002-11-28  Lars Clausen  <lrclause@cs.uiuc.edu>
8501         * app/commands.c (edit_copy_callback): Freeing copy_list.
8503 2002-11-28  Steffen Macke <sdteffen@web.de>
8504         
8505         * app/render_libart.c: art_config.h was included twice
8507 2002-11-27  Lars Clausen  <lrclause@cs.uiuc.edu>
8509         * sheets/.cvsignore: More ignorance.
8511         * lib/diagdkrenderer.c (draw_string): Removed silly #ifdef 1.
8513         * lib/prop_widgets.h: Two (currently unused) settings for frame
8514         foldability.
8516         * lib/prop_widgets.c (frame_beginprop_get_widget): Frames are now
8517         (by default) foldable. 
8519         * lib/propinternals.h: 
8520         * lib/propdialogs.c (prop_dialog_add_raw_with_flags): Way to add
8521         widgets in a more controlled manner.
8523         * objects/standard/line.c (line_update_data): Line gap things
8524         inserted.  Can do xeyes now:)
8526 2002-11-26  Christian Neumair  <chris@gnome-de.org>
8528         * .cvsignore: Changed.
8529         * objects/bondgraph/.cvsignore, plug-ins/metapost/.cvsignore,
8530         plug-ins/xslt/.cvsignore, shapes/Assorted/.cvsignore, shapes/Misc/.cvsignore:
8531         Added.
8533 2002-11-26  Lars Clausen  <lrclause@cs.uiuc.edu>
8535         * app/pixmaps/delete.xpm: Trashcan stolen from Gimp.
8537         * lib/widgets.c (dia_font_selector_get_font): Fixed wrong name
8538         passing to font hash.
8540         * app/filedlg.c (file_save_as_ok_callback): Check that filename is
8541         utf-8 or locale-convertible before adding to dialog text.  This
8542         probably needs done in a number of places where we get text from
8543         the environment and send it to GTK to display.
8545         * lib/widgets.c: Fixed case problems for font menu entries.
8547         * objects/SADT/annotation.c: Don't run the event test (but leave
8548         it here for inspiration).
8550         * lib/widgets.c: 
8551         * lib/widgets.h: Allowing setting preview text for fonts.
8553 2002-11-26  Lars Clausen  <lrclause@cs.uiuc.edu>
8555         * objects/bondgraph/Makefile.am: 
8556         * objects/bondgraph/bondgraph.c: 
8557         * configure.in: 
8558         * objects/Makefile.am: Added bond graph dir.
8560 2002-11-26  Lars Clausen  <lrclause@cs.uiuc.edu>
8562         * lib/text.c (text_calc_boundingbox, text_draw): Better cursor size.
8564 2002-11-25  Lars Clausen  <lrclause@cs.uiuc.edu>
8566         * lib/text.c (text_calc_boundingbox, text_draw): Better cursor
8567         positioning. 
8569         * app/diapsrenderer.c: Freetype rendering is back in force.
8571         * app/disp_callbacks.c: Added missing updates for pre-text-change.
8573 2002-11-25  David Hoover <jazzdaq@yahoo.com>
8575         * app/render_libart.c: Added missing #include line for libart.
8577         * lib/geometry.h:
8578         * lib/geometry.c: Added point_convex function.  This computes
8579         points inside a line segment (0 <= alpha <= 1) or outside the
8580         line segment (alpha < 0 | alpha > 1).
8582         * objects/standard/line.c: Line now has additional code/attributes
8583         which permit the line to extend past the line anchors (gap < 0) or
8584         leave a gap without reaching the anchor (gap > 0).  If no gap is
8585         specified, the default gap of 0 will result in identical line
8586         behavior as before.  If the 'fractional' attributes are TRUE, the
8587         gap length is not fixed, but a percentage of the line length.  I
8588         did not know how create the GTK widgets so the gap code currently
8589         cannot be used without adding XML attributes by hand.
8591 2002-11-25  Lars Clausen  <lrclause@cs.uiuc.edu>
8593         * lib/diagdkrenderer.c (draw_string): Removed timing bits.
8595         * lib/Makefile.am (libdia_la_SOURCES): Added fontsel files to SOURCES.
8597 2002-11-24  Lars Clausen  <lrclause@cs.uiuc.edu>
8599         * lib/font.c: Debugging functionality in separate functions.
8601         * lib/widgets.c: Using fontsel with context.
8603         * lib/diagtkfontsel.[ch]: Context-aware copy of the GTK fontsel.
8605         * objects/custom/custom_object.c: Orientation handling for shapes,
8606         patch thanks to Martin Hans <opfinder@gmx.net>.
8608         * objects/standard/zigzagline.c (zigzagline_move_handle): Starting
8609         work on even better orientation handling.
8611         * app/menus.c (menus_get_item_from_path): Fixed sily warnings from
8612         casting NULL pointers.  Should be unnecessary in an upcoming GTK
8613         release. 
8615 2002-11-18  Lars Clausen  <lrclause@cs.uiuc.edu>
8617         * lib/font.h:
8618         * lib/font.c:
8619         * lib/widgets.c: Now uses correct context to get font families.
8621         * lib/diagdkrenderer.c (get_text_width, draw_string): 
8622         * lib/dialibartrenderer.c (draw_string): 
8623         * lib/font.h: 
8624         * lib/font.c (dia_font_init): Removed old kludgy font name compare.
8625         (dia_font_build_layout): Unified the twiddle factors into a use of
8626         global_size_one.  But I deeply distrust Pango for seeming to
8627         change size of fonts every time I turn my back.
8629         * app/display.c: 
8630         * app/diagram.c: 
8631         * app/menus.c:
8632         * app/menus.h: Updated some more methods to also be more specific
8633         on the types.
8635         * app/menus.h:
8636         * app/recent_files.c: 
8637         Changed to return most specific type, to avoid run-time type errors.
8639         * app/menus.c (menus_get_item_from_path): Non-gnome version now
8640         gets menu_item rather than widget, which works better.
8642 2002-11-17  Cyrille Chépélov  <cyrille@chepelov.org>
8644         * app/display.c: (new_display):
8645         * app/menus.c: (menus_get_item_from_path):
8646         Relying on the tearoff to locate the input methods menu wasn't a
8647         good idea: tearoffs seem to be an endangered species nowadays.
8648         Anyway, the IM menu seems to be working now.
8650         * app/interface.c: hinted the window manager that the toolbox window
8651         is a toolbox window. Not that my (fairly default configuration)
8652         sawfish cares, but other NETWM compliant WMs may.
8654         * app/commands.c: 
8655         * app/defaults.c: 
8656         * app/dia-props.c:
8657         * app/filedlg.c: 
8658         * app/interface.c: 
8659         * app/layer_dialog.c: 
8660         * app/linewidth_area.c: 
8661         * app/properties.c: 
8662         * app/sheets_dialog.c: 
8663         * app/splash.c: 
8665         The GTK doc says to avoir gtk_window_set_wmclass() and 
8666         gtk_window_set_policy(), and use gtk_window_set_role() and
8667         gtk_window_set_resizable(), respectively.
8668         
8669         * app/preferences.c: (prefs_create_dialog):
8670         * app/preferences.h:
8671         * app/display.c: (display_set_active):
8672         Added a preference to have the toolbox hover over diagram windows.
8673                 
8674 2002-11-12  Lars Clausen  <lrclause@cs.uiuc.edu>
8676         * lib/diagdkrenderer.c (get_text_width, draw_string):
8677         Freetype-based string drawing now works.  Not very fast, though.
8678         I wish I could use the graphics card for this:(  I'm doing three
8679         bitmap loops where I should be doing one.  The size is not correct
8680         either, despite having get_text_width give the right thing.
8682 2002-10-21  Lars Clausen  <lrclause@cs.uiuc.edu>
8684         * app/connectionpoint_ops.c (diagram_update_connections_object):
8685         Allows more than one connectionpoint on an object to be moved at a
8686         time (bug #96306).
8688 2002-10-18  Stanislav Brabec  <sbrabec@suse.cz>
8690         * configure.in: Added cs to ALL_LINGUAS.
8692 2002-10-17  Lars Clausen  <lrclause@cs.uiuc.edu>
8694         * app/paginate_psprint.c: Removed unnecessary decl of autosave
8695         stuff.
8697         * app/display.c (ddisplay_set_renderer): Calls to begin/end render.
8699         * app/export_png.c (export_png_ok): Saving more variables from the
8700         evil setjmp.
8702 2002-10-16  Lars Clausen  <lrclause@cs.uiuc.edu>
8704         * lib/dialibartrenderer.c (begin_render):
8705         (end_render): Correct pushing and popping of font contexts.
8706         (draw_string): Double zooming eliminated, strange twiddle factor
8707         introduced (grumble).  Close to working now, but there are still
8708         strange differences from font to font.  In particular, some fonts
8709         really mess with the cursor and extents.
8711         * app/render_eps.c (export_eps): 
8712         * app/diapsrenderer.c (dia_ps_renderer_finalize): 
8713         Fixed file closing confusion, no longer dependent on PS/EPS.
8715         * app/diagram.c (diagram_place_down_selected) 
8716         (diagram_place_up_selected): Now implemented.
8718         * lib/font.c (dia_font_init): 
8719         * lib/font.h: 
8720         Redesigned the font init/context pushing code.  Start of fix for
8721         font name differences.
8722         
8723 2002-10-15  Kjartan Maraas  <kmaraas@gnome.org>
8725         * app/sheets_dialog_callbacks.c: Fix a typo.
8726         
8727 2002-10-15  Hans Breuer  <hans@breuer.org>
8729         * app/diapsrenderer.[hc] : (new files, old content :-)
8730         simple base class for post script rendering. Does neither 
8731         use Pango/FT2 nor does it handle non latin1 characters. 
8732         The fancy stuff which nowadays appears to be needed should 
8733         probably be done in derived class(es)
8735         * app/makefile.msc app/Makefile.am : added new files
8737         * app/paginate_psrint.c : re-enabled and used as test
8738         for the simple ps renderer above.
8740         * app/render_eps.[hc] : ripped out common ps code and
8741         moved to DiaPsRenderer. The rest of the file is mostly
8742         disabled. And I don't understand enough of it to 
8743         change port it.
8745         * app/diaepsrenderer.h : short lived, removed.
8747 2002-10-15  Lars Clausen  <lrclause@cs.uiuc.edu>
8749         * lib/plug-ins.c (dia_register_plugin): Don't try to load libdia
8750         as a plugin (thanks to Torben Nielsen).
8752 2002-10-14  Lars Clausen  <lrclause@cs.uiuc.edu>
8754         * app/diaepsrenderer.h: 
8755         * app/render_eps.h: 
8756         * app/paginate_psprint.c: 
8757         #ifdef'd out enough ps stuff to allow compile.  Now we just need
8758         to convert it.
8759         
8760 2002-10-12  Hans Breuer  <hans@breuer.org>
8762         [last plug-in ported]
8764         * plug-ins/xfig/xfig-export.c : ported to new renderer api
8766         * plug-ins/xfig/xfig-import.c(fig_create_object) : need to
8767         scale color values to [0..1.0] to properly reconstruct
8768         user colors
8770         * plug-ins/xfig/xfig-common.c : some cleaning
8772 2002-10-12  Hans Breuer  <hans@breuer.org>
8774         [decrease inter-plug-in-dependencies]
8776         * objects/custom/shape_info.[hc] : move parse_style()
8777         to lib/dia_svg.[hc] as dia_svg_parse_style(); Namespace
8778         the related structs and constants.
8779         * objects/custom/custom_object.c : reflect namespace
8780         changes
8782         * lib/dia_svg.[hc] : new files
8783         * lib/makefile.msc lib/Makefile.am : add new files
8784         * lib/libdia.def : updated externals
8786         * plug-ins/svg/svg-import.c : use dia_svg_parse_style()
8788         * plug-ins/svg/svg.c : enable svg import for win32 (and
8789         probably for other non ELF builds)
8791         * plug-ins/makefile.msc : enable svg import
8793 2002-10-11  Hans Breuer  <hans@breuer.org>
8795         * plug-ins/metapost/render_metapost.[hc] : ported
8797         * plug-ins/pstricks/render_pstricks.[hc] : dito
8799 2002-10-11  Hans Breuer  <hans@breuer.org>
8801         * plug-ins/cgm/cgm.c : ported, appears to work as before,
8802         but graphic apps available to me can't import the generated 
8803         files (the could not with Dia-0.90 cgm as well) ...
8805         * plug-ins/dxf/dxf-export.c : Ported to new renderer api.
8806         Removed all those function which did emulate 'complex' 
8807         drawing ops with basic ones (e.g. rect by line) cause this
8808         stuff is already provided by the base class
8809         * plug-ins/dxf/dxf-import.c : removed render.h include
8811         * plug-ins/python/pydia-font.[hc]
8812           plug-ins/python/pydia-text.c : finally ported to new font api
8814         * plug-ins/python/pydia-layer.c : add extra parameter
8815         to layer_find_closest_connectionpoint()
8817         * plug-ins/python/pydia-render.c : ported to DiaRenderer api
8819         * plug-ins/python/python.c : added missing copyright notice
8821         * plug-ins/hpg/hpgl.c plug-ins/wpg/wpg.c plug-ins/wmf/wmf.cpp : 
8822         actually use the renderers set_font implementation
8824         * plug-ins/renderer.inc : unused now, removed
8825         * plug-ins/Makefile.am : reflect it
8827 2002-10-08  Hans Breuer  <hans@breuer.org>
8829         * app/render_gdk.c : don't add the InteractiveRenderer
8830         interface multiple times (it's added to the type, not
8831         the object)
8832         * app/render_libart.c : dito. It's currently added
8833         unconditional cause eport_png uses it, but claims
8834         to be non-interactive. Probably set_size should be moved
8835         to the DiaRenderer interface.
8837         * lib/dialibartrenderer.c : add implementations for
8838         get_<width|height>_pixels. Libart rendering works again.
8839         DiaLibartRenderer::draw_image : use dia_image_rowstride()
8840         instead of width*3
8842         * lib/diatransform.c(dia_transform_coords_double) :
8843         don't ROUND() the returned values
8845         * plug-ins/pixbuf/pixbuf.c : added import function. It
8846         simply creates a wrapping "Standard - Image" object.
8848         * plug-ins/shape/shape-export.c : use the more direct
8849         method to call base class methods
8851 2002-10-07  Lars Clausen  <lrclause@cs.uiuc.edu>
8853         * lib/font.c (dia_font_init): Changed dia_font_init to return old
8854         pango context, to allow stacked contexts (for printing while
8855         antialiased).
8856         
8857         * lib/arrows.h
8858         * lib/bezier_conn.h
8859         * lib/beziershape.h
8860         * lib/boundingbox.h
8861         * lib/color.h
8862         * lib/connection.h
8863         * lib/connectionpoint.h
8864         * lib/create.h
8865         * lib/dia_image.h
8866         * lib/diagdkrenderer.h
8867         * lib/diagramdata.h
8868         * lib/dialibartrenderer.h
8869         * lib/diamenu.h
8870         * lib/diarenderer.h
8871         * lib/diasvgrenderer.h
8872         * lib/diatransform.h
8873         * lib/element.h
8874         * lib/filter.h
8875         * lib/focus.h
8876         * lib/font.h
8877         * lib/geometry.h
8878         * lib/handle.h
8879         * lib/neworth_conn.h
8880         * lib/objchange.h
8881         * lib/object.h
8882         * lib/orth_conn.h
8883         * lib/paper.h
8884         * lib/plug-ins.h
8885         * lib/poly_conn.h
8886         * lib/polyshape.h
8887         * lib/properties.h
8888         * lib/ps-utf8.h
8889         * lib/sheet.h
8890         * lib/text.h
8891         * lib/textattr.h
8892         * lib/widgets.h
8893         * lib/diatypes.h
8894         Moved all externally visible struct typedefs into diatypes.h, as
8895         per Hans' suggestions.
8897 2002-10-07  Steffen Macke <sdteffen@web.de>
8899         * lib/Makefile.am: removed a '\' causing problems
8901 2002-10-07  Hans Breuer  <hans@breuer.org>
8903         [Libart Renderer resurrected; almost it's compiling but
8904          almost instantly crashing :-]
8906         * lib/dialibartrenderer.[hc] : new files, ported to DiaRenderer
8907         * app/render_libart.[hc] : ported to DiaInteractiveRenderer
8908         * lib/diatransform.[hc] : added dia_transform_coords_double()
8910         * app/display.c : the right parameters for new_renderer_libart()
8911         * app/export_png.c : ported, removed the blind Display hack
8913         * app/makefile.msc lib/makefile.msc 
8914           lib/Makefile.am : updated
8916         * lib/dia<|gdk|interactive>renderer.c : properly copyrighted
8918 2002-10-06  Hans Breuer  <hans@breuer.org>
8920         * plug-ins/pixbuf/pixbuf.c : (new file)
8921         there is a new export plug-in called 'Pixbuf' which uses 
8922         DiaGdkRenderer to export to gdk-pixbuf supported bitmap
8923         formats (currently only PNG and JPEG).
8925 2002-10-06  Hans Breuer  <hans@breuer.org>
8927         See also: 
8928         http://mail.gnome.org/archives/dia-list/2002-October/msg00027.html
8930         * lib/dia-enums.h lib/diatransform.[hc]
8931           lib/diarenderer.[hc] lib/diainteractiverenderer.c
8932           lib/diagdkrenderer.[hc] lib/diasvgrenderer.[hc]
8933         : new files 
8935         * lib/makefile.msc lib/makefile.am : added new files
8937         * lib/plug-ins.c : g_module_error() returns a locale
8938         string, convert to utf8 before further usage 
8940         * lib/render.h : #error out. Everything including this
8941         needs porting
8942         * lib/*.[hc] : ported to new renderer api
8944         * app/diaepsrenderer.h : unfinished DiaEpsRenderer interface
8945         just to make the rest compile
8946         * app/render_eps.c : temporary disabled all of this
8947         * app/render_eps.h : removed RendererEPS
8949         * app/render_gdk.[hc] : a small wrapper around the new
8950         DiaGdkRenderer form lib/*
8952         * app/render_libart.h : removed RenderLibart definition
8953         * app/render_libart.c : not yet ported to new DiaRenderer
8954         but having an implementation to untie form FT2 dependency
8955         at least on win32. It is using new Pango api form bug #94791
8957         * app/render_pixmap.[hc] : a small wrapper around the new
8958         DiaGdkRenderer form lib/*
8960         * app/display.h : removed render_*.h includes
8961         * app/display.c : the only place where specific 
8962         renderers need to be known
8964         * app/connectionpoint_ops.c app/grid.c app/handle_ops.c
8965         use new DiaInteractiveRenderer interface
8967         * app/*.c : ported to new renderer api
8968         * object/*/*.c : ported to new renderer api
8969         s/render.h/diarenderer.h/
8970         s/Renderer/DiaRenderer/
8971         s/renderer->ops/renderer_ops/
8972         add in every draw method:
8973         DiaRendererClass *renderer_ops = DIA_RENDERER_GET_CLASS (renderer);
8975         * plug-ins/hpgl/hpgl.c : 
8976           plug-ins/wmf/wmf.cpp 
8977           plug-ins/wpg/wpg.c : ported to be DiaRenderer based
8978         * plug-ins/shape/shape-export.c
8979           plug-ins/svg/render_svg.c : ported to be DiaSvgRenderer based
8980           (nice how small these files became :-)
8982 2002-09-28  Hans Breuer  <hans@breuer.org>
8984         * */makefile.msc : updated
8986         * app/defaults.c : don't gdk_invalidate_rect(NULL)
8987         * app/disp_callbacks.c : 
8988         can't cast GtkWindow to GdkWindow, use shell->window
8989         (ddisplay_unrealize) don't use already unrefed im_context
8990         * app/display.c :
8991         can't cast from GtkMenu to GtkMenuItem
8992         (ddisp_destroy) : mark im_context as unrefed
8994         * lib/dia_xml (data_font) : prefer new font format over old one
8995         (data_add_font) : write the legacy name to allow file exchange
8996         with pre Pango versions of Dia, which would otherwise crash 
8997         on missing font 'name' attribute.
8998         * lib/font.c (dia_font_get_legacy_name) : improved implementation
8999         to get a better match.
9001         * lib/libdia.def : updated
9003         * lib/messages.c : don't gdk_widget_show(NULL)
9005         * lib/prop_text.c : don't gtk_entry_set_text() with NULL string 
9007         [make Dia compile, link _and_ work with mingw/gcc3.2]
9009         * config.h.win32 : #define LIBXML, this gets defined from libxml
9010         header but only for _MSC_VER. The mingw build did access an 
9011         unitialized function pointer for xmlFree.
9013         * */makefile.mingw : updated (some plug-ins have build issues)
9014         
9015         * lib/handle.h lib/object.h :   there appears to be no 
9016         forward declaration of the form 
9017                 typedef enum _HandleId HandleId 
9018         (at least not with GCC 3.2 for C++) ../lib/handle.h:22: 
9019         use of enum `_HandleId' without previous declaration
9021         * app/paginate_gdiprint.cpp : added a hack to avoid g++
9022         naming conflict on 'export'
9024         * app/paginate_gdiprint.h : forward declare Diagram
9026         * objects/SADT/annotaion.c : use g_random_double()
9028 2002-09-26  Lars Clausen  <lrclause@cs.uiuc.edu>
9030         * app/modify_tool.c: Made motion not happen until sufficiently
9031         large or past double-click interval, to avoid accidental moving
9032         when doubleclicking.  Got the double-click time right, and fixed
9033         some issues with release.  There are some corner cases that may
9034         exhibit strange behaviour, will look at those later.  Nah, let's
9035         not care about those, they are rare and not dangerous.
9037 2002-09-26  Cyrille Chépélov  <cyrille@chepelov.org>
9039         * app/layer_dialog.c: 
9040         * app/load_save.c: 
9041         * plug-ins/dxf/dxf-import.c: 
9042         * plug-ins/python/pydia-diagram.c: 
9043         * lib/diagramdata.c:
9044         * lib/diagramdata.h:
9045         Improved the consistency of the obj->parent_layer backlinks (esp.
9046         during reloads)
9048         * lib/Makefile.am:
9049         * lib/dummy_dep.h:
9050         * lib/dynamic_obj.[ch] (NEW):
9051         * app/Makefile.am:
9052         * app/app_procs.c: 
9053         * app/dynamic_refresh.[ch] (NEW):
9054         * objects/Misc/analog_clock.c: 
9055         Added support for dynamic refresh (animated objects).
9056                 
9057 2002-09-25  Cyrille Chépélov  <cyrille@chepelov.org>
9059         Patch from Owen Taylor <otaylor@redhat.com>:    
9060         * doc/en/Makefile.am:
9061         * doc/en/dia-manual.sgml:
9062         * doc/en/usage-objects.sgml:
9063         * doc/en/usage-quickstart.sgml:
9064         * doc/pl/Makefile.am:
9065         * doc/pl/dia-manual.sgml:
9066         * doc/pl/usage-objects.sgml:
9067         * doc/pl/usage-quickstart.sgml:
9069         - Change the DTD declration from an outdated GNOME one to a
9070         standard DTD.
9071         
9072         - Remove close tags for <graphics> which aren't allowed for
9073         docbook SGML
9074         
9075         - A hacky fix for a problem where some versions of db2html don't
9076         create *.css files. (If *.css doesn't match anything, then you get
9077         the global explicitely.)
9079         (Closes: #92061)
9080         
9081 2002-09-24  Cyrille Chépélov  <cyrille@chepelov.org>
9083         * objects/custom/custom_object.c: 
9084         * objects/custom/shape_info.[ch]: GE_TEXT display lists elements 
9085         were never properly prepared for use when reloading a shape with
9086         <svg:text> elements. Thanks to Scott Frazer <frazer@nc.rr.com> for
9087         reporting the problem and coming up with a fix! (Closes: #93974)
9089         * app/menus.c: patch from Alan Horkan <horkana@tcd.ie>: review
9090         the menu shortcuts towards better GNOME HIG compliance (Closes: #87157)
9092         * app/menus.c:
9093         * app/display.c: updated menu item paths Alan's patch had moved.
9094         
9095         * app/interface.c: Fixed a crash when gdk-pixbuf doesn't want to
9096         load the sheet-provided icon (libpng versions mismatch, grrr.).
9097         
9098         * configure.in:
9099         * objects/Makefile.am:
9100         * objects/Misc/Makefile.am (NEW):
9101         * objects/Misc/libmisc.c (NEW):
9102         * objects/Misc/analog_clock.c (NEW):
9103         * objects/Misc/pixmaps/analog_clock.xpm (NEW):
9104         * sheets/Misc.sheet.in: just a little experiment...
9106 2002-09-23  Cyrille Chepelov  <cyrille@chepelov.org>
9108         * plug-ins/xlst/Makefile.am: found a way to silence automake while
9109         not forcing everyone to build using libxslt.
9111         * lib/font.c: 
9112         * lib/message.c:
9113         * lib/object_defaults.c:
9114         * lib/intl.[ch]:
9115         * lib/render.c:
9116         * lib/properties.[ch]:
9117         * lib/propobject.c:
9118         * objects/standard/box.c: 
9119         * objects/UML/state_term.c:
9120         * objects/FS/box.c:
9121         * objects/FS/flow-ortho.c:
9122         * app/app_procs.c:
9123         * app/autosave.c:       
9124         * app/commands.c:
9125         * app/diagram_tree.c:
9126         * app/display.c:
9127         * app/disp_callbacks.c:
9128         * app/export_png.c:
9129         * app/filedlg.c:
9130         * app/lineprops_area.c:
9131         * app/menus.c:  
9132         * app/preferences.c:
9133         * app/render_eps.c:     
9134         * app/sheets.c:
9135         * app/sheets_dialog_callbacks.c:
9136         * plug-ins/xslt/xslt.c:
9137         * plug-ins/metapost/render_metapost.c:
9138         * plug-ins/xfig/xfig-export.c:
9139         * plug-ins/shape/shape-export.c:
9140         
9141         Killed most gcc-3.2 warnings (const-correctness and derived warnings, 
9142         unused variables, mostly)
9144         * app/display.c:
9145         * app/menus.c: enabled GTK Input Methods (thanks Lars!)
9147         * app/Makefile.am: modified run_dia.sh so that we recover the
9148         ability to run a debugger despite libtool's hacks.
9150         * plug-ins/dxf/Makefile.am: 
9151         * app/Makefile.am
9152         "make distcheck" fixes.
9153         
9154 2002-09-19  Lars Clausen  <lrclause@cs.uiuc.edu>
9156         * objects/UML/uml.c (uml_get_operation_string): Patch from Mauf
9157         <mfranzoni@madd.it>:  Check for the type being NULL.
9159 2002-09-16  Lars Clausen  <lrclause@cs.uiuc.edu>
9161         * app/render_eps.c (set_font): Re-tweaked font size for printing.
9163 2002-09-12  Cyrille Chepelov  <cyrille@chepelov.org>
9165         Patch from Angus Ainslie <angusa@deltatee.com>:
9166         * plug-ins/dxf/dxf-import.c:
9167         * plug-ins/dxf/autocad_pal.h: Import from visio 2002 improvements.
9169         (plus a couple extra fixes by me, such as the removal of printf's,
9170         adapting for recent changes, and killed a couple warnings) 
9172         * app/authors.h: a 60K patch isn't insignificant, is it?
9173         
9174 2002-09-09  Tor Lillqvist  <tml@iki.fi>
9176         * configure.in: Check for both pangoft2 (using PKG_CHECK_MODULES,
9177         as before) and -lfreetype (using AC_CHECK_LIB). At least on
9178         Solaris with Sun's compiler (Forte C), you need to link also the
9179         dia application with -lfreetype, even if it is implicitly linked
9180         to by -lpangoft2. Rename FREETYPE_CFLAGS and _LIBS to PANGOFT2_*,
9181         which is what they actually mean. Use FREETYPE_LIBS for
9182         -lfreetype.
9184         Don't look for libsunmath if isinf() is not found in math.h (as on
9185         Solaris). The sunmath library is part of Forte C and not present
9186         on all machines. Besides, even if isinf was found in libsunmath,
9187         we didn't use it in the Makefile.am.
9188         
9189         Fix a couple of bashisms.
9191         AC_SUBST also Z_LIBS, need to link the dia application to -lz,
9192         too, on Solaris with Forte C.
9194         Don't try to use the gcc flags with other compilers.
9195         DIA_CHECK_CFLAG gives a false indication that Forte C understands
9196         the gcc -f switches, but in fact they get interpreted meaning
9197         something completely different.
9199         Define the automake conditional HAVE_CGC.
9200         
9201         * app/Makefile.am (dia_LDADD): Add Z_LIBS and FREETYPE_LIBS.
9203         Use -export-dynamic only with gcc.
9205         * */Makefile.am
9206         * */*/Makefile.am: Modify according to the FREETYPE_CFLAGS -> 
9207         PANGOFT2_CFLAGS rename.
9209         * lib/geometry.h: Drop HAVE_SUNMATH_H and <sunmath.h> per above.
9210         
9211         * lib/dia_xml.c: Include geometry.h for the isinf() stuff on
9212         Solaris.
9214         * lib/paper.c: Workaround for gccism: Can't use inline this way with
9215         Forte C, either.
9217 2002-09-08  Cyrille Chepelov  <cyrille@chepelov.org>
9219         * lib/text.c(set_string): fixed a memory leak (char* ain't no
9220         std::auto_ptr<char> !).
9222         * app/display.[ch]:
9223         * app/interface.[ch]:
9224         * app/ddisp_callbacks.[ch]: Added some basic support for input 
9225         methods (GtkIMContext-based)
9227         * lib/Makefile.am:
9228         * app/Makefile.am: made libdia a shared object (per Tor
9229         Lillqvist's suggestion/request), to cope for platforms with a less
9230         than par dynamic library loader.
9232         * app/display.c: disabled the input method menu (I really don't
9233         see where and how to put them. Blame Frozen Bubble )
9234         
9235 2002-09-06  Lars Clausen  <lrclause@cs.uiuc.edu>
9237         * objects/flowchart/box.c (box_update_data): Made resizing
9238         possible again (only set width & height when resized too small).
9240         Patch from Soeren Sandmann <sandmann@daimi.au.dk>:
9242         * app/disp_callbacks.c (ddisplay_canvas_events): Handle
9243         GdkScrollEvents.
9244         
9245 2002-09-05  Cyrille Chepelov  <cyrille@chepelov.org>
9247         * app/authors.h: now showing Akira TAGOH's name in the native script.
9249 2002-09-01  Lars Clausen  <lrclause@cs.uiuc.edu>
9251         * plug-ins/xslt/xslt.c: Removed glib warning for unset
9252         DIA_PLUGIN_PATH.
9254 2002-09-01  Cyrille Chepelov  <cyrille@chepelov.org>
9256         * plug-ins/svg/render_svg.c: Applied (reversed...) patch from
9257         Mike Sowka <msowka@rogers.com>. This fixes a problem with the
9258         sweep flag in arcs.
9260 2002-08-31  Lars Clausen  <lrclause@cs.uiuc.edu>
9262         * objects/UML/class.c: Fixed showing of empty stereotypes and got
9263         the string placed correctly.
9265 2002-08-30  Hans Breuer  <hans@breuer.org>
9267         * lib/font.c (dia_font_get_style) : don't shift already
9268         shifted DIA_FONT values.
9270         * lib/libdia.def : updated externals
9272         * app/disp_callbacks.c : on win32 GdkEventKey::string already
9273         is in UTF-8. (Longterm this probably should be handled on the
9274         gtk api level)
9276         * app/command.[hc] app/display.[hc] app/menus.c : add code to 
9277         switch display renderers again. The libart renderer is very 
9278         useful for win9x with it's limited GDI.
9280         * app/render_gdk.c : use g_warning instead of printf which gets
9281         nowhere on win32 (non console apps)
9283         * app/render_libart.c : make it compile without FREETYPE
9285         * objects/makefile.msc plug-ins/makefile.msc : added clean target
9287 2002-08-29  Lars Clausen  <lrclause@cs.uiuc.edu>
9289         * app/render_eps.c (postscript_draw_contour): Debugging statement
9290         that allowed me to figure out font problems.
9292         * lib/widgets.c (dia_font_selector_set_styles): Use radio menu
9293         items for font styles.
9295         * objects/FS/flow-poly.c: 
9296         * objects/FS/flow-ortho.c: 
9297         * objects/FS/flow.c: Further conversion away from GTK dialogs.
9298         Can't set a default label right now:(
9300         * app/interface.c (fill_sheet_wbox): Added initialization for mask.
9302 2002-08-27  Cyrille Chepelov  <cyrille@chepelov.org>
9303         Patch from Andrew Ferrier  <andrew@new-destiny.co.uk>:
9305         * Makefile.am: rules relating to AUTHORS and THANKS
9306         altered.
9307         * AUTHORS: file content changed to more accurately
9308         reflect guideline requirements.
9309         * TODO: warning added about Gnome BTS.
9310         * KNOWN_BUGS: warning added about Gnome BTS.
9312         ---
9314         * AUTHORS: added full copyright info.
9315         * mkauthors-placeholder: (removed) 
9316         
9317 2002-08-27  Lars Clausen  <lrclause@cs.uiuc.edu>
9319         * app/paginate_psprint.c (print_page): Fixed text printing after
9320         tip from Dov Grobgeld.
9322 2002-08-26  Lars Clausen  <lrclause@cs.uiuc.edu>
9324         * app/paginate_psprint.c (print_page): Fixed color of clip
9325         region.
9327 2002-08-26  Cyrille Chepelov  <cyrille@chepelov.org>
9329         * sheets/Makefile.am: enabled intltool-merge translation cache for
9330         sheets.
9332         * Makefile.am:
9333         * mkauthors-placeholder:
9334         * AUTHORS: revived that file (in a placeholder form) so that
9335         automake stops yelling.
9336         (derived from a patch by Andrew Ferrier <andrew@new-destiny.co.uk>) 
9337         (Closes: #91144)
9339         Heh, by the way, thanks Christophe. I feel better now.
9340         
9341 2002-08-25  Christophe Merlet  <christophe@merlet.net>
9343         * app/command.c: Removed invalid multibyte sequence in Chepelov.
9345 2002-08-24  Lars Clausen  <lrclause@cs.uiuc.edu>
9347         * lib/dia_image.c (dia_image_rgb_data): 
9348         Bugfixes in image data retrieval.
9349         
9350         * app/render_eps.c: Refactoring of new_*_renderer.
9352 2002-08-23  Lars Clausen  <lrclause@cs.uiuc.edu>
9354         * app/render_eps.c: 
9355         * lib/dia_image.h: 
9356         * lib/dia_image.c: Support for rowstride != width (odd width images)
9358 2002-08-20  Lars Clausen  <lrclause@cs.uiuc.edu>
9360         * lib/paper.c (get_paper_info): Fixed NULL prefs problem.
9361         * plug-ins/xfig/xfig-import.c: Removed assertion.
9363 2002-08-18  Lars Clausen  <lrclause@cs.uiuc.edu>
9365         * lib/paper.c: Removed app/preferences.h reference.
9367 2002-08-14  Lars Clausen  <lrclause@cs.uiuc.edu>
9369         * plug-ins/svg/svg-import.c: 
9370         * plug-ins/xfig/xfig-import.c: 
9371         * lib/Makefile.am (libdia_a_SOURCES): 
9372         * objects/standard/Makefile.am (libstandard_objects_la_SOURCES): 
9373         * lib/create.h:
9374         * objects/standard/create.h:
9375         * objects/standard/polygon.c (polygon_create): 
9376         * objects/standard/polyline.c (polyline_create): 
9377         * objects/standard/beziergon.c (beziergon_create): 
9378         * objects/standard/bezier.c (bezierline_create): 
9379         Moving create.h into lib.
9381 2002-08-13  Lars Clausen  <lrclause@cs.uiuc.edu>
9383         * app/render_libart.[ch]: Work on PNG font export.  Something's
9384         still fishy with the scaling, I don't get it.
9386         * app/display.c: 
9387         * app/interface.c: Replaced broken zoom combo with entry+menu.
9388         Now works beautifully.  Removed WITHOUT_ZOOM_COMBO stuff.
9390         * app/render_gdk.c (get_text_width): Checks for validity of text.
9391         Temporary help while debugging input -- should only activate on
9392         invalid input.
9394         * objects/SADT/annotation.c: 
9395         * objects/GRAFCET/transition.c: 
9396         * objects/FS/function.c: Removal of gtk.h include.
9398         * objects/UML/state.c (state_load): Warnings about using State
9399         object for initial/final states.
9401         * plug-ins/cgm/cgm.c (init_fonts): Proper Pango interfacing.
9403 2002-08-12  Lars Clausen  <lrclause@cs.uiuc.edu>
9405         * app/render_eps.c: Text rendering that scales correctly.  Too bad
9406         the standard fonts don't get selected right.
9408 2002-08-09  Lars Clausen  <lrclause@cs.uiuc.edu>
9410         * lib/diagramdata.h: 
9411         * lib/paper.c (get_paper_info): 
9412         * lib/paper.h: 
9413         * plug-ins/xfig/xfig-import.c: 
9414         Committed before testing.  I am so embarrased.  This compiles, now
9415         that the includes are in the right order.
9416         
9417         * app/diagram.c (diagram_init): 
9418         * app/app_procs.c (do_convert): 
9419         * app/preferences.h: 
9420         * lib/diagramdata.h: 
9421         * lib/diagramdata.c (new_diagram_data): 
9422         * lib/paper.h: 
9423         * lib/paper.c (get_paper_info): 
9424         Moved new_diagram part of prefs into lib/diagramdata.h.  More
9425         could be done in new_diagram_data() now.
9427 2002-08-08  Lars Clausen  <lrclause@cs.uiuc.edu>
9429         * app/render_eps.c: Better scaling of fonts at non-normal zoom.
9431 2002-08-07  Cyrille Chepelov <cyrille@chepelov.org>
9433         * configure.in: removed silly user-visible comment
9435         (actually, this is a dummy entry before I manually run nemo; for
9436         some dist-upgrade related reason, this morning's run aborted before
9437         the snapshots were created)
9438         
9439 2002-08-06  Lars Clausen  <lrclause@cs.uiuc.edu>
9441         * objects/network/wanlink.c: 
9442         * objects/network/bus.c: 
9443         stdprop compliance!
9445         * objects/custom/custom_object.c: 
9446         * objects/network/wanlink.c: 
9447         * objects/flowchart/parallelogram.c: 
9448         * objects/flowchart/ellipse.c: 
9449         * objects/flowchart/diamond.c: 
9450         * objects/flowchart/box.c: 
9451         Removed GTK defaults stuff.
9452         
9453         * objects/UML/fork.c: 
9454         * objects/UML/object.c: 
9455         * objects/UML/lifeline.c: 
9456         * objects/UML/branch.c: 
9457         * objects/GRAFCET/transition.c: 
9458         * objects/FS/function.c: Removed GTK include.
9460         * objects/FS/flow-ortho.c: 
9461         * objects/FS/flow.c: Made the label behave again.
9462         Also removed GTK defaults stuff.
9464 2002-08-06  Hans Breuer  <hans@breuer.org>
9466         * app/autosave.c : ported to GDir which is the improved
9467         cross platform replacement for <dirent.h>
9469         * app/makefile.msc : build autosave.obj
9471         * app/font.c : some (bad?) code calls 
9472         dia_font_scaled_decent() not only with empty string but 
9473         with NULL. Handle it gracefully.
9475         * lib/paper.c : don't depend on ../app. Although IMO
9476         this shouldn't be allowed on any platform it is only
9477         disabled for win32, where it simply doesn't work
9478         this way
9480         * lib/widget.c (strcase_equal) : pass char* to g_strcasecmp()
9482         * objects/fs/flow.c : conditionalize debug spew, disabled
9483         and 'ported' to use g_print. Simple printf won't work with
9484         standard win32 gui apps, may even crash them.
9486         * plug-ins/makefile.msc : DISABLED svg-import cause it
9487         depends on ../objects/custom. This not only break the
9488         build for all non ELF systems but IMO also isn't acceptable
9489         from a design point of view. See dia-list mail on subject.
9491         * plug-ins/python/makefile.msc :
9492           plug-ins/python/python.c : remove all references to dirent    
9494 2002-08-05  Cyrille Chepelov  <cyrille@chepelov.org>
9496         * configure.in: added ro to ALL_LINGUAS
9498         * po-checktrans:
9499         * po-checktrans.py:
9500         * ../translation-graphs/transgraph.py: added support for fuzzy
9501         translations. Enlarged the graphs.
9503 2002-08-05  Lars Clausen  <lrclause@cs.uiuc.edu>
9505         * app/disp_callbacks.c (ddisplay_canvas_events): Now translates
9506         key events according to locale.  No clue if this works for
9507         advanced stuff.
9509 2002-08-04  Lars Clausen  <lrclause@cs.uiuc.edu>
9511         * lib/text.c: Various UTF8 related fixes, in particular in
9512         deleting.  Text_insert_char is fine, far as I can tell.
9514         * app/interface.c (create_display_shell): 
9515         * app/commands.c: Now uses gtk_clipboard functions, for they are
9516         much simpler.  Also handles Win32 clipboard.  Non-ascii chars
9517         don't seem to get handled correctly by text_insert_char in
9518         lib/text.c.
9519         
9520         * app/commands.c (received_selection_handler): Got utf8 handling
9521         on paste, and individual char handling out of commands.c.  Pasting
9522         non-ASCII is still broken, somehow.  It's all lib/text.c's fault.
9524         * lib/message.c (gtk_message_internal): Message dialog re-shown
9525         when new message appears.  Maybe it should even move to top?
9527         * lib/font.c: 
9528         * lib/widgets.c: 
9529         * app/render_eps.c (create_eps_renderer): Fonts now lowercase
9530         (again) and case-insensitive.
9532         * objects/GRAFCET/condition.c (CONDITION_FONT): Changed to
9533         BASIC_SANS_FONT. 
9535 2002-08-02  Lars Clausen  <lrclause@cs.uiuc.edu>
9537         * app/commands.c (edit_cut_text_callback): 
9538         * lib/text.c (text_delete_all): Now functioning undo for text cut.
9539         
9540         * app/commands.c (edit_cut_text_callback): Now removes text.
9541         Undo is broken, though.
9543 2002-08-01  Lars Clausen  <lrclause@cs.uiuc.edu>
9545         * app/diagram.c (diagram_update_menu_sensitivity): 
9546         Making cut_text active.
9547         
9548         * app/commands.h: 
9549         * app/commands.c: Using PROP_TYPE_TEXT to find text to copy to
9550         clipboard.  Also removed AA callback.   
9552 2002-08-01  Lars Clausen  <lrclause@cs.uiuc.edu>
9554         * objects/chronogram/chronoref.c: 
9555         * objects/chronogram/chronoline.c: 
9556         * objects/SADT/annotation.c: 
9557         * objects/SADT/arrow.c: 
9558         * objects/SADT/box.c: 
9559         * objects/GRAFCET/vergent.c: 
9560         * objects/GRAFCET/vector.c: 
9561         * objects/GRAFCET/step.c: 
9562         * objects/GRAFCET/condition.c: 
9563         * objects/GRAFCET/action.c: 
9564         * objects/ER/participation.c: 
9565         * objects/ER/relationship.c: 
9566         * objects/ER/entity.c: 
9567         * objects/ER/attribute.c: 
9568         Removing unnecessary GTK references.
9570 2002-07-31  Lars Clausen  <lrclause@cs.uiuc.edu>
9572         * objects/standard/image.c: 
9573         * objects/standard/textobj.c: 
9574         * objects/standard/ellipse.c: 
9575         * objects/standard/polygon.c: 
9576         * objects/standard/beziergon.c:
9577         * objects/standard/box.c: 
9578         Making default default properties.
9579         
9580         * objects/standard/image.c: 
9581         * objects/standard/arc.c: 
9582         * objects/standard/box.c: 
9583         * objects/standard/zigzagline.c: 
9584         * objects/standard/polyline.c: 
9585         * objects/standard/line.c: 
9586         * objects/standard/ellipse.c: 
9587         * objects/standard/polygon.c: 
9588         * objects/standard/beziergon.c: Removing vestigal GTK stuff.
9590         * lib/object_defaults.c (dia_object_default_create): 
9591         * lib/proplist.c: 
9592         * lib/properties.h: 
9593         * lib/object.c (object_copy_using_properties): 
9594         * lib/propdialogs.c: 
9595         * lib/propinternals.h: 
9596         * lib/propobject.c (object_create_props_dialog)
9597         (object_copy_props): 
9598         Removing the standard (toolbox) properties from defaults dialogs.
9600 2002-07-30  Lars Clausen  <lrclause@cs.uiuc.edu>
9602         * lib/font.c (dia_font_scaled_string_width) 
9603         (dia_font_scaled_ascent, dia_font_scaled_descent): Account for
9604         zoom factor.
9605         * lib/text.c (text_calc_boundingbox): Take descent into account.
9607         * objects/standard/bezier.c (bezierline_draw): 
9608         * lib/render.c (draw_bezier_with_arrows): 
9609         Better arrow drawing for beziers.  Doesn't change the mouse-click
9610         area either.
9612         * lib/arrows.h: Some const-ness.
9614         * lib/arrows.c (calculate_arrow_point): Initialize zero-length moves.
9616         * lib/render.c (draw_arc_with_arrows): 
9617         * objects/standard/arc.c (arc_draw): Better arrow drawing for
9618         arcs.  Doesn't change the mouse-click area yet.
9620         * app/menus.c: Forgotten fix:  Redraw menu item for non-Gnome.
9622         * lib/render.h: 
9623         * lib/render.c: 
9624         Arc arrow prework.
9626 2002-07-29  Lars Clausen  <lrclause@cs.uiuc.edu>
9628         * app/group.c (group_draw): Forgotten commit: Groups to draw as
9629         objects (using default routines).
9631         * app/object_ops.h: 
9632         * app/diagram.h: 
9633         * lib/diagramdata.h: 
9634         * lib/diagramdata.c (layer_find_closest_connectionpoint): 
9635         * objects/standard/zigzagline.c (zigzagline_move_handle): 
9636         * app/diagram.c (diagram_find_closest_connectionpoint): 
9637         * plug-ins/python/pydia-diagram.c
9638         (PyDiaDiagram_FindClosestConnectionPoint):
9639         * app/object_ops.c (object_connect_display) 
9640         (object_find_connectpoint_display) 
9641         * app/create_object.c (create_object_button_press) 
9642         (create_object_motion): 
9643         * app/modify_tool.c (modify_motion): 
9644         Adding object param to allow connectionpoint and handle coinciding.
9646         * objects/standard/zigzagline.c (zigzagline_check_orientation): 
9647         Fixing minor problems.
9649         * objects/standard/ellipse.c (ellipse_update_data): 
9650         Added direction hints.
9652         * lib/diagramdata.c: 
9653         * lib/object.c: 
9654         * lib/object.h: 
9655         * lib/diagramdata.h: 
9656         * objects/standard/zigzagline.c: 
9657         First working example of zigzagline hints, currently only between
9658         Box and Zigzagline.
9660 2002-07-27  Steffen Macke <sdteffen@web.de>
9662         * plug-ins/svg/render_svg.c: added support for rounded
9663         rectangles (fixes #69053 if compile with
9664         -DNEW_RENDER_OPS)
9665         * object/custom/shape_info.[c|h]: made parse_style and
9666         parse_path accessible for svg plug-in
9667         * plug-ins/svg/Makefile.am:
9668         * plug-ins/svg/svg.c:
9669         * plug-ins/svg/svg-import.c(new): added SVG import filter
9671 2002-07-27  Lars Clausen  <lrclause@cs.uiuc.edu>
9673         * objects/standard/box.c: 
9674         * objects/standard/zigzagline.c (zigzagline_move): 
9675         More work on zigzagline hints.
9677 2002-07-26  Lars Clausen  <lrclause@cs.uiuc.edu>
9678         * lib/connectionpoint.h: 
9679         Hints for zigzaglines.
9681         * app/properties.c (properties_show): 
9682         * app/defaults.c (defaults_show): 
9683         * lib/properties.h: 
9684         * lib/propobject.c (object_create_props_dialog): 
9685         * lib/object.h: 
9686         * objects/FS/flow-poly.c: 
9687         * objects/network/wanlink.c: 
9688         * objects/network/bus.c: 
9689         * objects/UML/class.h: 
9690         * objects/UML/class_dialog.c: 
9691         * objects/UML/association.c: 
9692         Start of removing toolbox props from props dialogs.
9693         
9694         * lib/widgets.c: 
9695         * lib/arrows.h: 
9696         * app/lineprops_area.c (dia_arrow_chooser_new): 
9697         * lib/arrows.c: Two new arrows: Concave, filled and blanked.
9699         * app/create_object.c: 
9700         * app/modify_tool.c: 
9701         * app/cursor.h: 
9702         * app/cursor.c: 
9703         More cursor change.
9705 2002-07-25  Lars Clausen  <lrclause@cs.uiuc.edu>
9707         * app/preferences.c: 
9708         * lib/paper.c: 
9709         * app/diapagelayout.c: 
9710         New prefs selector kind PREF_CHOICE chooses between a list of
9711         strings.  Used for picking default paper.
9712         
9713         * app/preferences.c (prefs_data): 
9714         * lib/paper.c (get_paper_info): Added prefs setting for
9715         is_portrait.
9717         * lib/render.c (draw_polyline_with_arrows): Handles degenerate
9718         line segments at the ends (bug #86603).
9720 2002-07-25  Lars Clausen  <lrclause@cs.uiuc.edu>
9722         * objects/standard/zigzagline.c (zigzagline_copy): Fix for bug
9723         #60324: Now calls update_data after copy.
9725         * app/interface.c (fill_sheet_wbox): Better fix for bug #88601:
9726         Now doesn't steal selection from non-object tools.
9728 2002-07-24  Lars Clausen  <lrclause@cs.uiuc.edu>
9730         * app/commands.c (help_manual_callback): Uses BROWSER environment
9731         variable when available.
9733 2002-07-23  Lars Clausen  <lrclause@cs.uiuc.edu>
9735         * app/interface.c (fill_sheet_wbox): Fix for bug #88601: Select an
9736         object from the new sheet when changing.
9738         * app/app_procs.c (app_init): Uses more standard size icon, from
9739         patch #56433.  Keeping old icon as dia_gnome_icon_large.png.
9741 2002-07-22  Lars Clausen  <lrclause@cs.uiuc.edu>
9743         * objects/UML/implements.c (implements_update_data): 
9744         * objects/UML/realizes.c (realizes_update_data): 
9745         * objects/UML/dependency.c (dependency_update_data): 
9746         Test for null strings before calling on ascent.
9748         * objects/UML/realizes.c (realizes_draw): 
9749         * objects/UML/message.c (message_draw): 
9750         * objects/UML/generalization.c (generalization_draw): 
9751         * objects/UML/dependency.c (dependency_draw) 
9752         * objects/UML/constraint.c (constraint_draw): 
9753         * objects/GRAFCET/condition.c (condition_draw): 
9754         * objects/UML/association.c (association_draw): 
9755         * objects/FS/flow-ortho.c (orthflow_draw): 
9756         * objects/FS/flow.c (flow_draw): Change to use
9757         draw_foo_with_arrows.  Pretty pretty arrows.  Yay me!
9759         * lib/render.h: 
9760         * lib/arrows.c (calculate_arrow_point): 
9761         * lib/arrows.h: 
9762         * lib/render.c: 
9763         * objects/standard/zigzagline.c:
9764         * objects/standard/polyline.c:
9765         * objects/standard/line.c: Work towards better arrow drawing.
9767 2002-07-21  Lars Clausen  <lrclause@cs.uiuc.edu>
9769         * objects/UML/state.c: Starting phase-out of State object as
9770         initial/final state (which never worked right).
9772         * app/app_procs.c (app_init): --version command line option for
9773         non-Gnome.
9775         * configure.in: Slight improvement in GETTEXT_PACKAGE handling.
9777 2002-07-19  Lars Clausen  <lrclause@cs.uiuc.edu>
9779         * app/render_eps.c: Removed debugging info.
9781         * lib/font.c (dia_font_scaled_ascent, dia_font_scaled_descent):
9782         Kludge to make ascent and descent work for empty strings.  Won't
9783         work when using non-ASCII fonts.  Better would be to get a
9784         PangoFont and ask directly.
9786         * configure.in: Simple define of GETTEXT_PACKAGE, and some updates
9787         of the init stuff.
9789         * app/render_gdk.c (get_text_width): Fixed use of wrong string.
9790         Cursor now better.
9792 2002-07-18  Lars Clausen  <lrclause@cs.uiuc.edu>
9794         * plug-ins/xfig/xfig-export.c: First use of draw_object render
9795         function: All shapes are now groups in XFig export.
9797         * lib/diagramdata.c (normal_render): 
9798         * lib/render.c: 
9799         * lib/render.h: 
9800         * app/display.c (ddisplay_obj_render): 
9801         New render function for drawing objects, allows renderers to group
9802         or otherwise specially handle objects.  We may want to reconsider
9803         calling it in app/display.c, as we 'know' the object draw function
9804         is the default one there.
9806         * lib/Makefile.am: Removed extra \ that broke stuff.
9808         * plug-ins/xfig/xfig-import.c: 
9809         Spline import for xfig.  Not perfect.
9811         * objects/standard/create.h: 
9812         * objects/standard/bezier.c (bezierline_create): 
9813         * lib/bezier_conn.c: 
9814         * lib/beziershape.c (beziershape_set_points): 
9815         * lib/bezier_conn.h: 
9816         * lib/beziershape.h: 
9817         Support for creating beziers non-interactively.
9819 2002-07-17  Lars Clausen  <lrclause@cs.uiuc.edu>
9821         * plug-ins/xfig/xfig-import.c: Support for polygons and
9822         polylines.  Special warning handling system removed.
9824         * lib/message.c (gtk_message_internal): Fixed bug involving
9825         closing message window and then getting repeated message.
9827         * Makefile.am: 
9828         * autogen.sh: 
9829         * configure.in (GETTEXT_PACKAGE): 
9830         Update based on bug #88199.  Hopefully this doesn't break too much
9831         intl stuff.
9833         * dia.desktop.in (_Comment): Changed after suggestion from
9834         calum.benson@ireland.sun.com (bug 88345)
9836         * app/sheets_dialog_callbacks.c: Fix from Dolores Alia de Saravia
9837         <loli@unsa.edu.ar> that makes user/system distinction better.
9839 2002-07-16  Lars Clausen  <lrclause@cs.uiuc.edu>
9841         * app/render_libart.c: Got the context right, removed crashes.
9843         * app/commands.c: 
9844         * app/commands.h: 
9845         Redraw menu item.
9847         * app/display.c: 
9848         * app/display.h: 
9849         * app/interface.c: 
9850         * app/menus.c: 
9851         Remove libart #defines from most places (still around for png export).
9853         * app/render_libart.h: 
9854         * app/render_libart.c: 
9855         * configure.in (HAVE_LIBART): 
9856         Starting on update of libart stuff for png export (without X).
9858         * app/autosave.h (autosave_check_autosave): 
9859         * app/load_save.h: 
9860         * app/diagram.h: 
9861         * app/Makefile.am (dia_core_files): 
9862         * app/load_save.c: 
9863         * app/diagram.c (diagram_set_modified): 
9864         * app/autosave.c: 
9865         * app/app_procs.c (app_init): 
9866         Autosave support.  No automatic restore yet.
9868 2002-07-16  Lars Clausen  <lrclause@cs.uiuc.edu>
9870         * app/render_eps.c (create_eps_renderer): #ifdef'd a scale
9871         assignment. 
9872         
9873 2002-07-15  Lars Clausen  <lrclause@cs.uiuc.edu>
9875         * app/interface.c (fill_sheet_menu): Tear-off for sheets menu.
9877 2002-07-15  Andrew Ferrier  <andrew@new-destiny.co.uk>
9879         * Fix for 'make dist' etc. --- problem caused by
9880         previous AUTHORS patch.
9882 2002-07-14  Lars Clausen  <lrclause@cs.uiuc.edu>
9884         * plug-ins/cgm/cgm.c (init_fonts): Changed pango_font_map to
9885         pango_context. 
9886         (set_font): NULL check.
9887         
9888 2002-07-12  Lars Clausen  <lrclause@cs.uiuc.edu>
9890         * app/disp_callbacks.c: 
9891         * lib/diamenu.h: 
9892         Addition to the object menus allows check menu items.
9894 2002-07-11  Andrew Ferrier  <andrew@new-destiny.co.uk>
9896         * HACKING: completely changed to bring up-to-date.
9897         * AUTHORS: file needs REMOVING from CVS as now
9898           dynamically generated.
9899         * app/authors.h: split into subcategories for original
9900           authors, maintainers, etc.
9901         * app/app_procs.c: --credits rewritten to support new
9902           app/authors.h
9903         * app/commands.c: no changes to about box code, comment
9904           added though.
9905         * Makefile.am: added rule for AUTHORS. I'm still
9906           inexperienced with automake, it seems to work, but
9907           for AUTHORS-related bugs, look at this change first.
9909 2002-07-10  Lars Clausen  <lrclause@cs.uiuc.edu>
9911         * plug-ins/Makefile.am (SUBDIRS): Just realized why my hack didn't
9912         work.  Back to including xslt dir always.
9914         * objects/UML/uml.c: 
9915         * objects/UML/class.h: 
9916         * objects/UML/class_dialog.c: 
9917         * objects/UML/class.c: Patch from
9918         <mattam@netcourrier.com>:  Adds comment visibility switch, also
9919         fixes various bugs.
9921         Big patch from Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
9922         for state/fork/activity stuff.
9923         * objects/UML/state.c: Removed old draw_rounded_rectangle code.
9924         * objects/UML/Makefile.am:
9925         * objects/UML/uml.c:
9926         * sheets/UML.sheet.in: Added new objects activity, fork,
9927           state_term.
9928         * objects/UML/pixmaps/state_term.xpm:
9929         * objects/UML/state_term.c: New, only initial/final states.
9930         * objects/UML/pixmaps/activity.xpm:
9931         * objects/UML/activity.c: New, activity state.
9932         * objects/UML/pixmaps/fork.xpm:
9933         * objects/UML/fork.c: New, fork/join bar.
9934         * objects/UML/pixmaps/state.xpm: state icon.
9936         
9937         * doc/diagram.dtd: 
9938         * doc/shape.dtd: Patch from "Dolores Alia de Saravia"
9939         <loli@unsa.edu.ar> to add dia: to diagram.dtd elements and add
9940         svg:text to shape.
9942 2002-07-07  Lars Clausen  <lrclause@cs.uiuc.edu>
9944         * plug-ins/Makefile.am (SUBDIRS): Made the XSLT dir depend on
9945         detecting XSLT
9947         * app/Makefile.am: Commented out the diaconv parts while it's not
9948         used anyway.  To come back later.
9950         * configure.in (HAVE_FREETYPE): 
9951         * app/app_procs.c: 
9952         * app/render_eps.h: 
9953         * app/render_eps.c: Support for printing with freetype, better
9954         encapsulated now.  Renders the text nicely, but ignores font
9955         setting.  Requires pangoft2 to get the font outline, but non-text
9956         objects can still be rendered without it.
9958         * app/commands.h: 
9959         * app/commands.c (objects_place_up_callback) 
9960         (objects_place_down_callback): 
9961         * app/diagram.h: 
9962         * app/diagram.c (diagram_place_down_selected) 
9963         (diagram_place_up_selected): Starting support for moving objects
9964         one level up/down.
9966         * app/menus.c: Removed character/numeral shortcuts.
9968 2002-07-06  Hans Breuer  <hans@breuer.org>
9970         * makefile.am app/makefile.am lib/makefile.am
9971           objects/makefile.am plug-ins/makefile.am 
9972           plug-ins/python/makefile.am :
9973         added required files for win32 build to EXTRA_DIST
9975         * app/paginate_psprint.c app/render_eps.c 
9976           app/app_procs.c :
9977         wrap (E)PS Renderer into HAVE_FREETYPE, no FreeType
9978         on Pango as currently is on win32 => no PostScript 
9979         anymore.
9981         * lib/widgets.c : undef GTK_DISABLE_DEPRECATED;
9982         use '/* noop */;' for empty case labels; replace
9983         debug spew printf with g_print which is guaranteed 
9984         to work on win32, too.
9986         * lib/font.c (dia_pfd_set_weight) : set 'intermediate' values 
9987         for DIA_FONT_MEDIUM and DIA_FONT_DEMIBOLD as explicit allowed 
9988         in the pango_font_description_set_weight() api documentation
9989         Take care for them in dia_font_get_style() too.
9991         * lib/font.[hc] lib/widget.c objects/custom/shape_info.c
9992           plug-ins/shape/shape-export.c plug-ins/svg/render_svg.c :
9993         rename Obliquity to Slant which appears to be the usual name,
9994         also rename dia_font_get_style_string -> dia_font_get_slant_string
9996         * plug-ins/wmf/wmf.cpp : finally ported to new font api
9998         * lib/prop_attr.c app/render_gdk.c : dont *_unref if NULL
10000         * objects/uml/association.c class.c large_package.c message.c
10001         if g_free() is used g_strdup needs to be used.
10002         * objects/custom/shape_info.c
10003           objects/ER/attribute.c entity.c
10004           objects/standard/image.c 
10005           app/sheets_dialog_callbacks.c : more strdup cleaning
10007 2002-07-05  Lars Clausen  <lrclause@cs.uiuc.edu>
10009         * app/render_eps.c: Non-crashing printing (made the right
10010         context).  Font output still fscked up.
10012 2002-07-05  Andrew Ferrier  <andrew@new-destiny.co.uk>
10014         * app/authors.h: Added file --- now master
10015         location for contributors data.
10016         * app/app_procs.c: Added --credits option.
10017         * app/commands.c: Modified about box to use
10018         app/authors.h.
10020 2002-07-05  Lars Clausen  <lrclause@cs.uiuc.edu>
10022         * app/render_eps.c: First stab at EPS rendering using the contour
10023         code from PAPS.  Crashes.
10025 2002-06-30  Lars Clausen  <lrclause@cs.uiuc.edu>
10027         * app/recent_files.c (recent_file_history_remove): 
10028         Fixed call to g_list_delete_link discarding return value.
10029         
10030         * lib/widgets.c (dia_font_selector_set_styles): 
10031         * lib/font.h (DiaFontWeight): 
10032         * lib/font.c (dia_font_get_style): Revert to DIA_FONT_NORMAL==0
10034 2002-06-30  Cyrille Chepelov  <cyrille@chepelov.org>
10036         Contribution from Alan Horkan <horkana@tcd.ie>: 
10037         
10038         * shapes/Assorted/*
10039         * sheets/Assorted.sheet:
10040         A set of 40 assorted geometric shapes.
10042         * sheets/Assorted.sheet.in:
10043         * sheets/Makefile.am
10044         * shapes/Assorted/Makefile.am:
10045         * shapes/Makefile.am:
10046         * po/POTFILES.in:
10047         * configure.in:
10048         Done the integration job of Alan's shapes. (Translators: have fun!)
10050         * po/dia.pot: refreshed the main potfile.
10051         
10052 2002-06-28  Cyrille Chepelov  <cyrille@chepelov.org>
10054         Patch from Tim Ellis <Tim.Ellis@gamet.com>:
10055         
10056         * objects/UML/class.[ch]:
10057         * objects/UML/class_dialog.c:
10058         changed the number of connection points from a hardcoded value of
10059         8 to a #defined constant
10061         (I changed the constant back from 20 to 8, until we better know
10062         how we'll handle more connection points on the UML class in the
10063         future -- but Tim's patch is a welcome clean-up).
10065 2002-06-26  Cyrille Chepelov  <cyrille@chepelov.org>
10067         * shapes/MSE/demultiplexer.xpm:
10068         * shapes/MSE/node_center.xpm:
10069         * shapes/MSE/multiplexer.xpm:
10070         * shapes/MSE/tacsat.xpm: updated MSE icons (transparency) by Alan
10071         Horkan <horkana@tcd.ie>
10073 2002-06-25  Lars Clausen  <lrclause@cs.uiuc.edu>
10075         * lib/widgets.c: Total rehash of font selector, with font dialog
10076         option, expanding list (not LRU yet), and stuff.
10078 2002-06-25  Cyrille Chépélov  <cyrille@chepelov.org>
10080         * lib/font.h:
10081         * lib/font.c: 
10082         Added a set of new setter/getters, some of them more specially for
10083         the SVG-ish I/O.
10084         
10085         * plug-ins/shape/shape-export.c: (new_shape_renderer),
10086         (destroy_shape_renderer), (set_font), (draw_string):
10087         * plug-ins/svg/render_svg.c: (new_svg_renderer),
10088         (destroy_svg_renderer), (set_font), (draw_string):
10090         Actually exported the font face, style, weight and size (sodipodi
10091         agrees with dia on how a small sample should look like (a sample
10092         0.90 would not even display anyways). Yay !)
10094         Patch from Matthieu Sozeau <mattam@netcourrier.com>:
10096         * plug-ins/xslt/Makefile.am: repaired the mess Cyrille put there.
10098         (end of ChangeLog-less patch)
10100         * objects/custom/shape_info.c (parse_style): now understands the
10101         font-style and font-weight attributes as well. Does not use
10102         anymore dia_font_new_from_legacy_name().
10103         
10104 2002-06-24  Lars Clausen  <lrclause@cs.uiuc.edu>
10106         * objects/standard/textobj.c: Now uses stdprops for defaults.
10108         * lib/font.h: Changed order of DiaFontWeight entries.  Sorry.
10109         * lib/font.c (dia_font_get_style): Style now linear and conversion
10110         simple. 
10112         * lib/widgets.c (dia_font_selector_set_styles): Fixed the style
10113         selector. 
10115 2002-06-24  Cyrille Chepelov  <cyrille@chepelov.org>
10117         * plug-ins/dxf/dxf-import.c:
10118         using dia_font_new_from_style()
10120         Patch from Matthieu Sozeau  <mattam@netcourrier.com>:
10122         * objects/UML/class.[ch]: Added a comment field to class
10123         * objects/UML/uml.[ch]: Added a comment field to attributes,
10124         operations and parameters.
10125         * objects/UML/class_dialog.c: Added code for the new comment
10126         fields.
10127         * plug-ins/xslt/*.xsl: Added some code to handle comments.
10128         * plug-ins/xslt/xslt*.c: Clean up based on Cyrille comments.
10129         Added a $directory parameter for stylesheets so the output is 
10130         in the good place (not in the $PWD).
10132         (end of Patch)
10134         * AUTHORS: added contributors, updated maintainers. Removed the
10135         specific areas of action.
10137         * Patch from Andrew Ferrier <andrew@new-destiny.co.uk>, derived
10138         from a patch by Xing Wang <quixon@gnuchina.org>:
10140         * app/commands.c: help_about_callback now supports
10141         new-style GNOME about box as well as old GTK style. 
10142         code also tidied (Closes: #85726)
10144         (end of Patch)
10146         * app/commands.c: fixed the copyright (it's not all FSF), and
10147         maintainers. Synced contributors list with AUTHORS.
10148                 
10149 2002-06-24  Lars Clausen  <lrclause@cs.uiuc.edu>
10151         * lib/message.c: More work on repeating messages, now with
10152         togglable view.
10154 2002-06-24  Hans Breuer  <hans@breuer.org>
10156         * lib/widget.c : some more bits in place, at least
10157         it does something useful instead of crashing. Much
10158         better - but not all ok :-)
10160 2002-06-23  Lars Clausen  <lrclause@cs.uiuc.edu>
10162         * lib/message.c (gtk_message_internal): First stab at repeating
10163         message dialog.
10165 2002-06-23  Cyrille Chepelov  <cyrille@chepelov.org>
10167         * objects/FS/*.c:
10168         * objects/GRAFCET/*.c:
10169         * objects/SADT/*.c:
10170         * objects/UML/association.c: (one instance forgotten)
10171         * objects/UML/large_package.c: 
10172         * objects/standard/textobj.c:
10173         * lib/attributes.c:
10174         * lib/text.c:
10175         using dia_font_new_from_style()
10177 2002-06-23  Hans Breuer  <hans@breuer.org>
10179         * lib/font.c : giving some love to
10180         dia_font_new_from_legacy_name() that is making
10181         import of old files as painless as possible and
10182         provide an almost exact match where possible.
10183         It does not yet fully work because it interfers
10184         with the Style to DiaStyle conversion which comes
10185         next ...
10187         [Changing these files is only allowed with Dia-0.90]
10188         * broken-files/fonts-0.90.dia : including the
10189         common hard-coded fonts from Dia-0.90. It also
10190         has drawn bounding-boxes for win32 as they were calculated
10191         from the former version (they were all too big).
10192         * broken-files/fonts-0.90-full.dia : all hardcoded
10193         fonts including the asian versions. On my machine
10194         this gives _a lot_ complaining about missing fonts
10195         and a finally a broken file display. Anyone having
10196         all these fonts ?
10197         
10198 2002-06-23  Cyrille Chepelov  <cyrille@chepelov.org>
10200         * objects/chronogram/*.c: 
10201         * objects/custom/custom_object.c:
10202         * objects/ER/*.c:
10203         using dia_font_new_from_style()
10205 2002-06-23  Lars Clausen  <lrclause@cs.uiuc.edu>
10207         * lib/widgets.c (dia_font_selector_set_styles): Improvements to
10208         font selector (stability, insensitivity).
10210         * lib/font.c (dia_font_scaled_build_layout): Removed unworkable
10211         stretching scheme for tweaking, and made scaling scheme faster
10212         (but less precise).
10213         (dia_font_dia_style_to_pango): Oops, % != /.
10215 2002-06-23  Cyrille Chepelov  <cyrille@chepelov.org>
10217         
10218         * patch from Matthieu Sozeau  <mattam@netcourrier.com>:
10220         * plug-ins/xslt : Added an XSLT plugin to export dia files using
10221         XML Stylesheets. The plug-in requires DIA_PLUGIN_PATH to be set.
10222         It includes a small config file to tell it what stylesheets to use.
10224         (end of patch)
10225         
10226         * plug-ins/xslt/xsltdialog.c: modified the dialog to be more 
10227         GTK2.0/HIG compliant (the labels could be slightly more verbose,
10228         perhaps). Added back a couple forgotten _(). Removed //-style
10229         comments.
10230         
10231 2002-06-23  Hans Breuer  <hans@breuer.org>
10233         * lib/plug-ins.c
10234         (dia_plugin_get_name) : don't crash plugin_manager
10235         on name being NULL 
10236         (dia_plugin_load) : reuse the description field to
10237         store the error string if loading fails.
10239         * lib/font.[hc] : starting to beautify the new
10240         font api: proper namespacing, adding convenience
10241         functions like dia_font_new_from_style(), ...
10243         * objects/uml/*.c : use the new convenience functions.
10245         [Next thing I plan to do is changing the other font
10246          functions to take DiaStyle and make Style and 
10247          BASIC_*_FONT vanish. As well as giving some love to
10248          dia_font_new_from_legacy_name().
10249          If anyone want's to help on converting the other
10250          objects to the new api during that, I would highly 
10251          appreciate it.]
10253 2002-06-23  Hans Breuer  <hans@breuer.org>
10255         * lib/font.c : made it compile and small indent fixes.
10256         Is there a code-has-no-effect-so-needs-not-be-valid
10257         with GCC?       
10259         * lib/widgets.c : use g_strcasecmp
10261 2002-06-22  Lars Clausen  <lrclause@cs.uiuc.edu>
10263         * lib/font.c: 
10264         * lib/font.h: 
10265         * lib/widgets.c: Font names sorted, style selector widget
10266         reappeared.  Doesn't select the old style yet.
10268 2002-06-22  Cyrille Chepelov  <cyrille@chepelov.org>
10270         * lib/font.c: one who expects a text's font to be changed shall 
10271         actually request the attributes to apply to the whole range of the
10272         said text... D'oh! 
10274         * lib/font.c: extents computation was wrong.
10276         * lib/font.c: dia_font_get_legacy_name(); g_strconcat works better
10277         if a last NULL parameter is added...
10279         * lib/font.c: extents computation was completely wrong. This looks
10280         much better this time.
10282         * objects/UML/class.c: fixed the various strings positions.
10284         * lib/font.h, and **/*.[ch] (all callers of dia_font_new): used
10285         macros to get the hardcoded base fonts.
10287         * objects/ER/relationship.c: wasn't converted to DiaFont*
10288         
10289 2002-06-22  Hans Breuer  <hans@breuer.org>
10291         * lib/widget.c : dont use backend specific functions
10292         to get on the font_families. Including it would mean
10293         including <windows.h> which breaks due to namespace
10294         pollutions ...
10296         * lib/libdia.def : updated externals
10298         * app/makefile.msc : temporary disabled: -DHAVE_LIBART
10300         * lib/font.c : added empty dia_font_init_instance function,
10301         reformatting of dia_fon_unref to allow to set breakpoint,
10302         dia_fon_build_layout() : dont crash on string==NULL
10304         * lib/text.c (text_set_attributes) : don't unref the wrong font
10306         * lib/widgets.c (dia_fon_selector_set_font) : our hashtable
10307         stores lowercased font names, but dia_font_get_family()
10308         returns mixed case      
10310 2002-06-22  Lars Clausen  <lrclause@cs.uiuc.edu>
10312         * lib/widgets.c: 
10313         * app/render_gdk.c: Patch from Hans Breuer.
10315         * app/Makefile.am (dia_core_files): diaconv commented out for now.
10316         
10317 2002-06-22  Cyrille Chepelov  <cyrille@chepelov.org>
10319         * lib/all files touched yesterday: took into account some of Hans
10320         Breuer's remarks in
10321         http://mail.gnome.org/archives/dia-list/2002-June/msg00257.html
10323         * objects/chronogram/*: 
10324         * objects/custom/*:
10325         * objects/ER/*:
10326         * objects/flowchart/*:
10327         * objects/FS/*:
10328         * objects/GRAFCET/*:
10329         * objects/SADT/*:
10330         * objects/standard/textobj.?:
10331         * objects/UML/*:
10332         converted to the new DiaFonts.
10334         * plug-ins/cgm/*:
10335         * plug-ins/pstricks/*:
10336         * plug-ins/wpg/*:
10337         * plug-ins/dxf/*:
10338         * plug-ins/xfig/*:
10339         Made minimalistic conversions so that they'd at least compile.
10341         * app/render_gdk.c:
10342         * app/render_pixmap.c:
10343         Converted to the new DiaFonts.
10345         * app/app_procs.c
10346         * app/diaconv.c:
10347         * app/render_eps.c:
10348         made the minimal changes so that it would at least build.       
10350         *** At this point, the thing builds on my machine, but segfaults
10351         right away. ***
10352         
10353 2002-06-21  Cyrille Chepelov  <cyrille@chepelov.org>
10355         * configure.in: removed the backend-specific pango pkg_modules
10356         (trivial to add back if needed, when actually needed)
10358         * app/Makefile.am:
10359         * app/*gnomeprint.[ch]: (removed): removed the GNOME-print
10360         renderer. The APIs will have completely changed when we get around
10361         to redo a renderer for it, anyways.
10363         * font.[ch]: rewrote everything from scratch, with a Pango
10364         implementation. Normally, only backend-neutral things should go in
10365         there.
10367         **WARNING**: new rules for managing DiaFont* pointers: these are
10368         reference-counted GObjects. One >must< diafont_ref() and
10369         diafont_unref() as appropriate. I wish I could overload operator=()...
10371         lib/plug-ins.h: bumped up the plug-in API.
10372         
10373         lib/attributes.c: 
10374         lib/dia_xml.c: 
10375         lib/dummy_dep.h
10376         lib/object_defaults:
10377         lib/prop_attr.c: Adapted to the new DiaFont API. This'll change
10378         again tomorrow with GObject.
10379         
10380         lib/widgets.c: Adapted to the new DiaFont API and to Pango.
10382         **** The rest of the tree should be updated as well ****
10383         
10384 2002-06-21  Lars Clausen  <lrclause@cs.uiuc.edu>
10386         * app/render_gdk.h: 
10387         * app/render_gdk.c: 
10388         * app/render_pixmap.c: 
10389         * app/render_pixmap.h: 
10390         * app/render_libart.h: 
10391         * app/render_libart.c: 
10392         * lib/font.h: 
10393         * lib/font.c: Removed freetype stuff (still around in
10394         lib/widgets.c 'cause we might want the font selector widget).
10396 2002-06-20  Cyrille Chepelov  <cyrille@chepelov.org>
10398         * shapes/network/laptop.(xml|shape):
10399         * sheets/network.sheet.in: added Laptop (notebook) PC shape,
10400         contributed by Alan Horkan <horkana@tcd.ie>. (Closes: #82643)
10402 2002-06-17  Hans Breuer  <hans@breuer.org>
10404         * lib/object_defaults.c : #include <libxml/tree.h> not
10405         <tree.h> pointed out by Xing Wang
10407 2002-06-17  Lars Clausen  <lrclause@cs.uiuc.edu>
10409         * lib/color.h (GDK_COLOR_TO_DIA, DIA_COLOR_TO_GDK): 
10410         * lib/widgets.c: 
10411         * app/color_area.c: Update to
10412         gtk_color_selection_*_current_color() fixed bad crash issues, plus
10413         updated color conversions.
10415         * sheets/ER/weakentity.xpm: Accepted patch from
10416         quixon@gnuchina.org to make icon match actual appearance.
10418         * app/recent_files.c: Fixed GNOME recent file problem, thanks to
10419         quixon@gnuchina.org.
10421 2002-06-16  Hans Breuer  <hans@breuer.org>
10423         * lib/plug-in.[hc] : make PlugInInfo opaque again in the 
10424         good tradition of information hiding. Add new function
10425         dia_plugin_get_symbol()
10426         * app/sheets.c app/sheets_dialog_callbacks.c : use it
10428         * app/sheets.c : stop complaining about object_get_type() 
10429         returning NULL. This is a consequence of e.g. disabling 
10430         plug-ins at runtime _and_ it was and is gracefully handled. 
10431         Spitting out g_warning for it isn't appropriate. 
10433         * lib/object.[ch] : removed dead code
10435         * app/plugin-mangager.c : almost complete rewrite for gtk2
10436         using GtkListStore/GtkTreeView
10438         * lib/libdia.def : updated externals
10440         * todo.gtk2 : updated, that is removed already done steps
10442 2002-06-15  Hans Breuer  <hans@breuer.org>
10444         * objects/uml/class_dialog.c : clean some left-over
10445         utf8-mess, return 0 from "focus_out_event" handlers
10446         to avoid asserting in gtk (#78305). Reconstruct 
10447         stereotype/NULL behaviour to avoid rendering empty
10448         stereotypes on classes and member functions
10450         [#56109 - Provide object defaults for StdProp objects,
10451          some remaining issues are discussed in bugzilla]
10453         * lib/object_defaults.c : (new file) manage default properties 
10454         of dia objects. The serialization is done with standard
10455         object methods in a diagram compatible format.
10457         * lib/object.c : add object_registry_foreach() which allows
10458         to iterate over all registered object types
10460         * lib/object.h : added prototypes object_default*() and
10461         object_registry_foreach()
10463         * lib/makefile.am lib/makefile.msc : add new file to build
10465         * lib/libdia.def : export new functions
10467         * app/defaults.c : provide StdProp based defaults if the
10468         ObjectType doesn't implement it's own default functions
10470         * app/create_object.c : through dia_object_default_create()
10471         * app/disp_callbacks.c : same here
10473 2002-06-12  Lars Clausen  <lrclause@cs.uiuc.edu>
10475         * objects/FS/flow-ortho.c (orthflow_get_object_menu): Menu
10476         sensitivity for deleting segments.
10478 2002-06-12  Cyrille Chépélov  <cyrille@chepelov.org>
10480         * app/color_area.c: (color_area_events):
10481         * app/diagram.c: (diagram_destroy):
10482         * app/interface.c: (zoom_activate_callback), (fill_sheet_wbox),
10483         (fill_sheet_menu):
10484         * app/load_save.c: (diagram_data_load):
10485         * app/menus.c: (menus_get_item_from_path):
10486         * app/preferences.c: (prefs_load):
10487         * app/render_gdk.c: (get_text_width):
10488         * lib/arrows.h:
10489         * lib/color.c: (color_convert):
10490         * lib/dia_dirs.c: (dia_config_filename):
10491         * lib/dia_xml.c: (xmlDiaParseFile), (data_type):
10492         * lib/intl.c: (intl_get_language_list):
10493         * lib/message.c: (message):
10494         * lib/message.h:
10495         * lib/paper.c: (get_default_paper):
10496         * lib/plug-ins.c: (this_is_a_plugin), (dia_register_plugins):
10497         * lib/widgets.c: (dia_file_selector_get_file):
10498         * lib/widgets.h:
10499         * objects/standard/image.c: (get_directory):
10501         warningectomy.
10502         
10503 2002-06-12  Lars Clausen  <lrclause@cs.uiuc.edu>
10505         * ChangeLog: Fixed bad UTF-8 mess.  Apologies.
10507 2002-06-11  Lars Clausen  <lrclause@cs.uiuc.edu>
10509         * app/interface.c: sscanf now returns EOF on empty string, so
10510         handle no match for zoom factor better => correct zoom at start.
10512         * app/sheets.c (create_object_pixmap): Tried to display empty error.
10513         (sheets_optionmenu_create): Died when not finding specified
10514         sheet.  Don't think it should.
10516         * objects/UML/association.c: Added patch from osamyn@ulb.ac.be
10517         (bug #84367) to place the text better.
10519 2002-06-11  Cyrille Chepelov  <cyrille@chepelov.org>
10521         * configure.in: Added forgotten libgnomeui-2.0 when --enable-gnome
10522                         
10523         * app/commands.c: Removed unnecessary gnome include. Removed
10524         GNOME-Print support.
10526         * app/menus.h: Removed now unnecessary gnome include.
10527         
10528         * app/sheets_dialog.c: Used Gtk 2.0 stock buttons instead of
10529         GNOME-specific stock buttons
10530         
10531 2002-06-09  Hans Breuer  <hans@breuer.org>
10533         * app/app_procs.c : convert 'Modified diagrams exits'
10534         dialog to use GtkMessageDialog. That gives us:
10535         - icons without Gnome dependency
10536         - much less code, also cross platform
10537         - improved useability ?
10539         * app/color_area.c : the Color Selection Widget looked
10540         quite wrong (alpha problems). Fix it by merging in required
10541         changes stolen from The Gimp cvs
10542         * app/color_area.h : to get the right appearance the maskes
10543         needed to be taken into account
10544         * app/interface.c : adapt to color_area_create changes.
10545         Also remove some dead code and finally remove cvs autexpansion, 
10546         I was bothered enough by irrelevant differences :-)
10548         * app/defaults.c app/properties.c app/dia-props.c : use improved GtkDialog
10549         api, i.e stocks and response to make the GnomeDialog usage
10550         obsolete. Also fixed the issue with closing the 'parent'
10551         before closing the dialog
10553         * app/display.[ch] : removed some dead code and conversion
10554         to new GtkDialog api. Also trying to conform to new HIG
10555         standard http://developer.gnome.org/projects/gup/hig/
10557 2002-06-09  Hans Breuer  <hans@breuer.org>
10559         * lib/makefile.msc : define GTK_DISABLE_DEPRECATED,
10560         build ps-utf8.c
10562         * lib/dia_image.c : gtk_widget_set_default_visual()
10563         remove. It does nothing with Gtk2.
10565         * lib/libdia.def : added ps_unicoder exports
10567         * lib/message.c : remove #GNOME use GtkMessageDialog.
10568         Yeah, Dia gets dialogs wit icons cross-platform.
10570         * lib/prop_geomtypes.c : gtk_spin_button_get_value_as_float()
10571         to gtk_spin_button_get_value()
10573         * lib/prop_inttypes.c : gtk_label_set() -> gtk_label_set_text()
10575         add #undef GTK_DISABLE_DEPRECATED to still use ...
10576         * lib/prop_text.c :  ... GtkText
10577         * lib/prop_widgets.c : ... GtkList
10578         * lib/prop_dialogs.c : ... gtk_signal_connect and more
10579         * lib/widgets.c : ... (too much to list here)
10581         * lib/ps-utf8.c : #include <string.h>
10583 2002-06-08  Cyrille Chepelov  <cyrille@chepelov.org>
10585         * configure.in:
10586         * Makefile.am:  Adapted for gtk2.
10587         Removed dependencies on libunicode, on iconv(), on langinfo().
10589         * acconfig.h: removed (now obsolete)
10591         * lib/charconv.[ch]: removed (superceded by glib)
10592         * lib/ps-utf8.[ch]: removed dependency on charconv.[ch]
10594         * **/*.[ch]: removed (utfchar *), (unichar) and other charconv or
10595         libunicode types for their glib counterparts. Fixed the include
10596         paths for libxml2. Removed all traces of libxml1 or non-UTF8
10597         support (there were remains in objects/uml).
10599         
10600 2002-06-08  Hans Breuer  <hans@breuer.org>
10602         */*.c */*/*.c : remove all the #ifdef *_UTF8_* hell,
10603         only keep the utf-8 clean code cause Dia+Gtk2 now talk it.
10604         Also use g_strdup()'s handling of NULL by returning NULL
10605         again at all places I found (remove unnecessary if's)
10607         * todo.gtk2 : new file to keep notes about gtk2 porting,
10608         further issues and thoughts and some status information.
10609         Also sent to dia-list ('Dia goes Gtk2 ...').
10610         
10611         [make it compile with GTK+ 2.0]
10613         * config.h.win32 : #undef GTK_TALKS_UTF8_WE_DONT,
10614         removed definition of S_ISDIR, S_ISREG and getlogin
10616         * */makefile.msc : Use GTK2 and libxml2
10617         BEWARE: makefile.am, configure.in not yet ported !
10619         * app/app_procs.c app/diagram.c : remove 
10620         gtk_item_factory_dump_rc code, (it wasn't read in again anyway) 
10621         but set use gtk_menu_set_accel_path() on menu creation
10623         * app/color_area.c lib/widgets.c : 
10624         make use of gtk_color_selection_set_has_palette ()
10626         * app/commands.c : gdk_pixbuf_new_from_file wants an 
10627         extra argument. Convert from DIR to GDir usage.
10629         * app/diagram_tree.c(button_press_callback) : need to return 
10630         FALSE in the signal handler to let gtk process it further.
10631         (get_object_name) : don't leak 'prop'
10632         
10633         * app/diapagelayout.c : adapt to GtkTypeInfo changes and handle 
10634         dia_page_layout_destroy() getting called more than once
10636         * app/diaunitspinner.c : GtkEditable -> GtkEntry, 
10637         GtkTypeInfo changes
10639         * app/disp_callbacks.c : gtk_menu_append() -> gtk_menu_shell_append()
10641         * app/display.h : wrap input contexts declarations into #ifdef USE_XIM.
10642         IIRC this code will not compile unchanged when USE_XIM is defined ...
10644         * app/gtk[hv]wrapbox.[hc] : use already ported version from The GIMP 1.3.x
10646         * app/interface.c : there is no widget->klass anymore in Gtk, 
10647         use GTK_WIDGET_GET_CLASS instead. gdk_pixbuf_new_from_file() extra
10648         parameter. Some tweaking of GtkWrapBox usage to get four tools in
10649         a row again.
10650         switch off GTK's double buffering on Dia's canvas. Otherwise we would 
10651         get triple buffering and flicker.
10652         Replace call to GTK private function _gtk_accel_group_attach()
10653         with public gtk_window_add_accel_group()
10655         * app/layer_dialog.c : adapt to GtkTypeInfo changes
10657         * app/load_save.c lib/plug-ins.c lib/sheet.c 
10658           objects/custom/custom.c : 
10659         simplified by using g_file_test()
10661         * app/menus.c : convert from gtk_item_factory_<dump|parse>_rc 
10662         to gtk_accel_map_<save|load>. Also added common stock-icons
10663         to the menu.
10664         
10665         * app/preferences.c : use gtk_button_set_label() instead
10666         of button->child which is gone. Also removed GLIB_CHECK_VERSION.
10668         * app/preferences.c lib/dia_xml.c lib/plug-ins.c :
10669         #ifdef G_OS_WIN32 #include <io.h>, this was formerly done
10670         in config.h.win32
10672         * app/recent_files.c : removed GLIB_CHECK_VERSION
10674         * app/render_eps.c 
10675           plug-ins/metapost/render_metapost.c
10676           plug-ins/pstricks/render_pstricks.c
10677           plug-ins/svg/render_svg.c :
10678         replace getlogin() with g_get_user_name() which always
10679         returns non NULL
10681         * app/render_gdk.c : gdk_region_union_with_rect() modifies
10682         inplace now and returns nothing, also less #hell
10684         * app/render_libart.c : some initial #hell cleaning, SuckFont
10685         still needs to vanish
10687         * app/splash.c : gdk_pixbuf_new_from_file() second arg and
10688         GTK_WINDOW_DIALOG -> GTK_WINDOW_TOPLEVEL
10690         * app/render_pixbuf.c app/sheets.c : plain #hell cleaning
10691         * app/sheets_dialog_callbacks.c : some #hell and adaptions
10692         needed to GtkWrapBox api changes
10695         * lib/charconv.[hc] : removed from build
10696         [changed appropriate]
10697         * lib/prop_inttypes.c lib/prop_text.c : 
10698         all utf-8 cleaning 
10699         * lib/text.c : ported from HEAD but keep original indent
10700         intact. Original was done by Akira TAGOH.
10702         * lib/color.c : GdkColorContext is gone, use GdkColormap instead.
10704         * lib/dia_image.c : gdk_pixbuf_new_from_file() second arg
10706         * lib/dia_xml.c : remove #ifdef GLIB_CHECK_VERSION, it's the
10707         same on all platforms now!
10709         * lib/font.c : still using SuckFont which was an IMPERATIVE FIXME!
10711         * lib/message.c : remove "charconv.h"
10713         * lib/prop_text.c : #define GTK_ENABLE_BROKEN to use GtkText
10715         * lib/plug-in.c :
10716         * lib/sheet.c : convert from DIR to GDir usage
10718         * lib/widgets.c : gtk_menu_(shell_)append and GtkTypeInfo
10720         * lib/widgets.h : include gtk<label|colorseldialog>.h
10723         * objects/fs/flow.c :
10724         * objects/fs/flow-ortho.c : GTK_ENABLE_BROKEN to use GtkText
10726         * objects/custom/custom.c : convert from DIR to GDir usage
10729         * plug-ins/python/makefile.msc : updated for GTK2/Python2.2
10732 2002-05-03  Hans Breuer  <hans@breuer.org>
10734         * lib/dia_xml.c : make the well formed utf8 check
10735         actually work for &#251; (non 7-bit ascii encoding)
10736         and fixed the file re-writing if the check fails.
10737         Thanks to Vitaly Lipatov for noticing the misbehaviour.
10739         * lib/font.c : synchronize #ifdef G_OS_WIN32 with
10740         comment on last ressort font. Thanks to Maxim Sobolev.
10742 2002-06-03  Cyrille Chepelov  <cyrille@chepelov.org>
10744         * sheets/network.sheet.in: corrected a typo in plotter invocation.
10746 2002-06-03  Steffen Macke  <sdteffen@web.de>
10748         * shapes/network/digitizing_board.png:
10749         * shapes/network/digitizing_board.shape:
10750         * shapes/network/plotter.png:
10751         * shapes/network/plotter.shape:
10752         * shapes/network/Makefile.am
10753         * sheets/network.sheet.in: added new plotter and digitizing
10754         board shapes
10755         
10756 2002-06-02  Cyrille Chepelov  <cyrille@chepelov.org>
10758         * lib/font.c: made a symptomatic fix to a segfault reported by 
10759         Jan Keirse <jan.keirse@pandora.be> on a SuSE 7.3 system. This
10760         won't prevent dia from terminating, but should give more
10761         user-friendly information about why did it terminate.
10763         Two patches from <robert.young@dsto.defence.gov.au>:
10764         
10765         * app/display.c: fix the size of the canvas area which gets
10766         redrawn. There was an off-by one error (Closes #83659)
10768         * app/display.c: make sure we redraw all screen only when we
10769         really have to (some update_areas were mistakenly ignored) (Closes
10770         #83496). 
10772         * NEWS: added a new entry for the future. Put there a reminder to
10773         update the dependencies.
10775         * configure.in: put in notes about what will change shortly.
10776         upped the version to 0.90+cvs (did also in config.h.win32)
10777         upped the minimum version for intltools (now 0.21)
10778         
10779 2002-06-01  Cyrille Chepelov  <cyrille@chepelov.org>
10781         * dia.spec:
10782         * configure.in:
10783         * NEWS:
10784         * config.h.win32:
10785         bumped up version number to 0.90. Yay!
10787 2002-05-30  Cyrille Chepelov  <cyrille@chepelov.org>
10789         * doc/pl/Makefile.am:
10790         * doc/en/Makefile.am: fixed a "make install" problem when db2html
10791         is not present (Reported by Andrew Ferrier
10792         <andrew.junk@new-destiny.co.uk>). Fixed another "make distclean"
10793         problem which prevented me from ever seeing the problem in doc/en...
10794         
10795         * Makefile.am: added autogen.sh to the EXTRA_DIST clause.
10796         
10797         * lib/font.c: patch from <robert.young@dsto.defence.gov.au>; add a
10798         way to read the font path from the XFS configuration files in
10799         order to enable FreeType (fixes #83098).
10801         * POTFILES.(in,skip): now skips objects/sybase/sybase.c, which is not
10802         shipped nowadays.
10803                 
10804         * dia.spec:
10805         * configure.in:
10806         * NEWS:
10807         * config.h.win32:
10808         bumped up version number to 0.90.RC3
10810 2002-05-29  Zbigniew Chyla  <cyba@gnome.pl>
10812         * configure.in, doc/Makefile.am, doc/pl/Makefile.am,
10813         doc/pl/authors.sgml, doc/pl/dia-manual.sgml, doc/pl/dia-pl.omf,
10814         doc/pl/intro.sgml, doc/pl/license.sgml, doc/pl/topic.dat
10815         doc/pl/usage-canvas.sgml, doc/pl/usage-customization.sgml,
10816         doc/pl/usage-layers.sgml, doc/pl/usage-loadsave.sgml
10817         doc/pl/usage-objects-selecting.sgml, doc/pl/usage-objects-special.sgml,
10818         doc/pl/usage-objects.sgml, doc/pl/usage-quickstart.sgml:
10819         Added Polish documentation.
10821 2002-05-27  Cyrille Cheeplov  <cyrille@chepelov.org>
10823         * objects/UML/state.c: there was a (gratuitous?) change of on-XML
10824         format for the UML State object. Now there's a hack to reload
10825         older files, and get them converted on the fly. 
10826         Justyna BiaÃ…?a <nell@poczta.gazeta.pl> reported this. Thanks!
10828         * lib/properties.h:
10829         * lib/propobject.c:
10830         * lib/proplist.c: Added a new property flag, PROP_FLAG_LOAD_ONLY,
10831         and adapter the proplist predicates. A LOAD_ONLY property is for
10832         when you have legacy to support but can't resist moving your
10833         fields around... (was needed to support the above state.c fix).
10835         If the in-core of your object changes and you need a LOAD_ONLY
10836         property for the old format, you must keep some spare room in your
10837         object's struct to accomodate for the potential old-style
10838         attributes. Then in foo_load(), after having called
10839         object_load_using_properties(), you must inspect the old-style
10840         fields and act accordingly. Don't ever change the on-disk formats...
10842         * objects/UML/object.c:
10843         * objects/UML/small_package.c: added a check against empty
10844         stereotypes still consuming space. Reported by Dolores Alia de
10845         Saravia <loli@unsa.edu.ar>. Thanks!     
10846         
10847 2002-05-26  Cyrille Chepelov  <cyrille@chepelov.org>
10849         * INSTALL: added platform notes from MÃ¥rten Svantesson, for when
10850         using libtool on an AFS partition.
10852         * po/update_potfiles_in.sh: now simply calls the recent intltools 
10853         features; they work better than hand-crafted half-ignorant
10854         scripts. Thanks to Kenneth Rohde Christiansen <kenneth@gnu.org>
10855         for the tip.
10857         * po/POTFILES.in: added back two files update_potfiles_in.sh
10858         didn't take into account. Now this file is not automatically
10859         generated anymore!      
10860         * po/POTFILES.skip: told `intltool-update -m` what files to ignore
10861         (the usual suspects, in fact).
10863         * configure.in: improved the isinf() / isfinite() detection on
10864         Solaris (MÃ¥rten Svantesson)
10865         
10866 2002-05-25  Cyrille Chepelov  <cyrille@chepelov.org>
10868         * configure.in: one expression was replacing $CFLAGS, removing
10869         whatever was previously in.
10870         Added more checks for isinf() and finite() on Solaris.
10872         * lib/geometry.h: added a macro defintion for isinf() if not
10873         HAVE_ISINF. (Hans, you may want to #define HAVE_ISINF if relevant
10874         on Win32)
10876         * app/commands.c: "cut" did not set the 'modified' bit (paste has
10877         been for a little while). Fixes #82994.
10879         * Makefile.am: added more stuff to distclean-local. This should make
10880         "make distcheck" pass! Thanks to the author of
10881         http://mail.gnome.org/archives/gnome-2-0-list/2001-August/msg00212.html
10882         ... I wonder who this Henstridge guy is ... ;-)
10883         Darn. Still doesn't pass. I give up for tonight.
10884         
10885         * po/update_potfiles_in.sh: updated to take care of sheet files,
10886         and to filter out the EML plug-in.
10887         * po/POTFILES.in: updated with all .c and all .sheet.in files 
10889         * po/dia.pot, po/*.po: again updated all .po files with all
10890         strings (with the updated POTFILES). Now with the up-to-date
10891         POTFILES, just all languages have some fuzzy or untranslated
10892         strings (not that the 100% team was that large beforehand...)
10894         * po-checktrans: removed the comment about .po files not holding
10895         all translatable stuff, since now they do.
10896         
10897 2002-05-24  Cyrille Chepelov  <cyrille@chepelov.org>
10899         * dia.spec:
10900         * configure.in:
10901         * NEWS:
10902         * config.h.win32:
10903         bumped up version number to 0.90.RC2
10905 2002-05-20  Hans Breuer  <hans@breuer.org>
10907         * app/load_save.c : starting to increase
10908         Dias tolerance on incomplete/broken files. The 
10909         corresponding bug is #56233. But the patch there does
10910         neither apply anymore nor does it really fix the problem
10911         but only delays it, e.g. even if it would be allowed
10912         to read a file without any layers, the later code can't
10913         handle it.
10914         * lib/dia_xml.c : attribute_<num|first>_data(), data_type()
10915         handle passing in NULL for the node gracefully.
10917         * shapes/network/printer.shape : added two more connection
10918         points - one at each side - to fix bug #60359
10920         * app/commands.c (edit_copy_callback) : 
10921         add ddisplay_do_update_menu_sensitivity() to make 
10922         sequence select-copy-paste work.
10924 2002-05-20  Hans Breuer  <hans@breuer.org>
10926         * app/create_object.c (create_object_button_press) :
10927         added a call to ddisplay_do_update_menu_sensitivity()
10928         to make Ctrl^D etc work after object creation. 
10929         Fixes #80983.
10931 2002-05-18  Lars Clausen  <lrclause@cs.uiuc.edu>
10933         * objects/ER/entity.c: 
10934         * objects/ER/attribute.c: 
10935         * objects/ER/relationship.c: Patch to allow text size change from
10936         Celso Tetsuo Nagase Suzuki.
10938 2002-05-18  Steffen Macke <sdteffen@web.de>
10940         * app/app_procs.c: #ifdef'd xmlerror.h (comes with 
10941         libxml2)
10942         * doc/en/graphics/greendots.png:
10943         * doc/en/home_network.png:
10944         * doc/en/line_props.png: 
10945         * dia-diagram.png:
10946         * dia_gnome_icon.png:
10947         * dia_gnome_menu_icon.png:
10948         * dia_logo.png:
10949         * shapes/network/telephone.png:
10950         * shapes/Logic/and.png:
10951         * shapes/Logic/buffer.png:
10952         * shapes/Logic/connector.png:
10953         * shapes/Logic/inverter.png:
10954         * shapes/Logic/nand.png:
10955         * shapes/Logic/nor.png:
10956         * shapes/Logic/not.png:
10957         * shapes/Logic/or.png:
10958         * shapes/logic/xor.png:
10959         * samples/ER-demo.dia:
10960         * samples/SADT.dia:
10961         * samples/UML-demo.dia:
10962         * samples/chronograms.dia:
10963         * samples/grafcet.dia: re-added as binary files
10965 2002-05-17  Hans Breuer  <hans@breuer.org>
10967         * lib/libdia.def : reflect removing of render_store.[ch]
10969         * */makefile.mingw : remove VERSION definition it's
10970         done in config.h.win32. Dia still doesn't work if
10971         build with mingw ...
10973         * RELEASE-PROCESS : removed */makefile.mingw
10975         * app/sheets_dialog_callbacks.c : if we use those
10976         ugly charconv_gtk_* functions lib/charconv.h needs to
10977         be #included ...
10978         * lib/charconv.h : ... and needs to contain the 
10979         necesseray prototypes _and_ #defines
10981         * plug-ins/shape/shape-export.c : with libxml2 xmlNewGlobalNs
10982         is deprecated and does nothing but spit a warning. This broke
10983         the shape format writing. Fixed.
10984         Also with libxml2 pretty formatted xml isn't the default
10985         anymore, but needs to be enabled explicit: It is done now 
10986         for shape files, which almost always needed to be edited by
10987         hand ... 
10989         * app/app_procs.c : #if G_OS_WIN32 redirect xmlErrorReporting
10990         from stderr - which is invalid on Dia/win32 - to g_print -
10991         which opens up a console window if necessary. This way
10992         a xml-deprecation-error shouldn't stay unnoticed next time
10994 2002-05-17  Steffen Macke <sdteffen@web.de>
10996         * shapes/Misc/folder.png:
10997         * shapes/Misc/file.png: re-added as binary files
10998         
10999 2002-05-16  Lars Clausen  <lrclause@cs.uiuc.edu>
11001         * lib/font.c: Fixed segfault for fonts without family_name.
11003 2002-05-17  Cyrille Chepelov  <cyrille@chepelov.org>
11005         * po/POTFILES.in: added app/sheets_dialog_callbacks.c
11007         * app/sheets_dialog_callbacks.c: While reviewing UTF-8isation upon
11008         Lars' request, minor cosmetic stuff (mostly _() of human-readable
11009         XML comments in .sheet files; one translator booby-trap disarmed).
11011         * lib/charconv.c: moved #hell inside the body of the new
11012         charconv_*gtk* functions (otherwise the Win32 or gtk2.0 linker
11013         will yell)
11014         
11015 2002-05-16  Lars Clausen  <lrclause@cs.uiuc.edu>
11017         * plug-ins/wpg/Makefile.am (INCLUDES): 
11018         * plug-ins/shape/Makefile.am (INCLUDES): 
11019         * plug-ins/svg/Makefile.am (INCLUDES): 
11020         * plug-ins/pstricks/Makefile.am (INCLUDES): 
11021         * plug-ins/metapost/Makefile.am (INCLUDES): Added UNICODE_CFLAGS
11022         and DEBUG_CFLAGS in some missing places.
11024         * MAINTAINERS: New file containing list of known package
11025         maintainers. 
11027         * lib/charconv.h: 
11028         * lib/charconv.c: Charconv versions of some common gtk calls.
11030         * app/sheets_dialog_callbacks.c
11031         (on_sheets_new_dialog_button_ok_clicked),
11032         (on_sheets_dialog_button_edit_clicked),
11033         (on_sheets_dialog_button_remove_clicked),
11034         (on_sheets_edit_dialog_button_ok_clicked):
11035         * app/sheets.c (sheets_optionmenu_create),
11036         (sheets_optionmenu_create): Added utf8 translations.
11038         * app/sheets_dialog.c: 
11039         * app/sheets.c: 
11040         * app/sheets_dialog_callbacks.c: Added some missing _()'s.
11042 2002-05-16  Cyrille Chepelov  <cyrille@chepelov.org>
11044         * po/POTFILES.in: added app/sheets_dialog.c
11046 2002-05-15  Cyrille Chépélov  <cyrille@chepelov.org>
11048         * lib/charconv.c: (charconv_local8_to_utf8),
11049         (charconv_utf8_to_local8): tweaked the warnings to get more 
11050         informations
11051         * lib/font.c: (font_get_suckfont): handled a potential case of
11052         uninitialised data being used (just paranoid)
11053         
11054         * objects/GRAFCET/boolequation.c: (opstring),
11055         (opblock_get_boundingbox), (opblock_draw),
11056         (boolequation_calc_boundingbox): some extra hoops needed now dia
11057         talks UTF8 (but gtk doesn't). More #hell. Beeek. Basically, the
11058         symbols can't yet be used with their proper Unicode cells, since
11059         gtk will demand them in the Symbol font, expressed in the local
11060         8-bit encoding.
11061         
11062         * samples/grafcet.dia: re-saved, now with a fixed bounding box (by
11063         the fix just above).
11065 2002-05-14  Lars Clausen  <lrclause@cs.uiuc.edu>
11067         * app/diagram_tree.c (get_object_name): Check that name property
11068         doesn't have null string.
11070 2002-05-13  Lars Clausen  <lrclause@cs.uiuc.edu>
11072         * autogen.sh (DIE): Added conditional --force to gettextize.
11074         * app/pagesetup.c (pagesetup_ok): Commented out missing Gnome
11075         function call.
11077 2002-05-13  Cyrille Chepelov  <cyrille@chepelov.org>
11079         * RELEASE-PROCESS: added James' notes on how to properly make the
11080         tarball.
11082         * configure.in: removed macro nesting related to libpng.h, which
11083         was causing some problems on some systems (like mine, which made
11084         the snapshots bad).
11086         Made --enable-unicode, previously an option, the mandatory case.
11088         * app/Makefile.am: updated EXTRA_DIST
11089         
11090         * NEWS:
11091         * app/makefile.mingw:
11092         * dia.spec:
11093         * doc/en/dia-manual.sgml:
11094         * plug-ins/makefile.mingw:
11095         * configure.in: bumped up the version number to 0.90.RC1
11097         * lib/render_objects.[ch]:
11098         * po/POTFILES.in: removed render_objects from the build.
11100         * plug-ins/Makefile.am:
11101         * plug-ins/wmf/Makefile.am (new): EXTRA_DIST'ed the WMF plug-in,
11102         so we keep its source in the tarball.
11104         * objects/network/*.c, Makefile.am:
11105         * objects/sybase/*.c, Makefile.am:
11106         * po/POTFILES.in: cleaned up the non-existent files from the po
11107         build process.
11109         * plug-ins/Makefile.am: re-enabled metapost plug-in.
11110         
11111 2002-05-13  Steffen Macke <sdteffen@web.de>
11113         * AUTHORS:
11114         * app/command.c: added M. C. Nelson to the Authors
11115         * sheets/Circuit/Makefile.am: added firewall shape to build
11116         * sheets/network/Makefile.am: added telephone and microphone
11117           shapes to build
11119 2002-05-13  Lars Clausen  <lrclause@cs.uiuc.edu>
11121         * RELEASE-PROCESS: Added list of files that contain the release
11122         number or should otherwise be changed at each release.
11124 2002-05-12  Lars Clausen  <lrclause@cs.uiuc.edu>
11126         * objects/UML/uml.c (uml_operation_read): Forgot to commit this
11127         (reported fixed) bug: POLYMORPHIC -> LEAF for default.
11129 2002-05-12  Hans Breuer  <hans@breuer.org>
11131         * config.h.win32 : changed VERSION to 0.90.RC1
11133         * app/makefile.msc lib/makefile.msc : use renamed
11134         gdk-pixbuf version (same content but renamed because
11135         all the other gtk+ dlls are renamed) to avoid trouble
11136         mixing gtk versions (of which one would not 
11137         be initialized ...
11139         * app/app_procs.c : removed recently unneeded
11140         inclusion of "sheets.h"
11142         * app/render_gdk.c : removed my own debug spew
11143         which should never made it to cvs
11145         * lib/render_object.[hc] : added
11146         #error "File not used anymore."
11148         * lib/libdia.def : updated externals
11150         * app/interface.c : dropped filenames need to be
11151         converted from uri with Gtk+2.0
11153 2002-05-12  Cyrille Chepelov  <cyrille@chepelov.org>
11155         * RELEASE-PROCESS (new): a draft document about how to release. To
11156         be discussed. (already with some input from Hans Breuer)
11158 2002-05-12  Steffen Macke <sdteffen@web.de>
11160         * sheets/Makefile.am: re-added Misc sheet to make process
11161         
11162 2002-05-12  Lars Clausen  <lrclause@cs.uiuc.edu>
11164         * objects/FS/function.c: Added comments to humungous list of menu
11165         items, to aid translators.
11167 2002-05-11  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
11169         * app/menus.c (display_menu_items): Added a few shortcuts for zooms.
11171         * app/menus.c (display_menu_items): Added a few shortcuts for zooms.
11173         * app/interface.c (create_toolbox): Disallow shrinking beyond
11174         requested size.  Fixes bug #59439, and confirms to GTK guidelines
11175         (see gtk_window_set_policy).
11176         (create_sheets): Removed now unnecessary set_usize call.
11178 2002-05-10  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
11180         * lib/beziershape.c (remove_handles): Fixing removal of last
11181         segment.  Undo of removal still hokey.
11183 2002-05-10  Lars Clausen  <lrclause@cs.uiuc.edu>
11185         * lib/bezier_conn.c (remove_handles): Proper offset for fixing
11186         handles. 
11187         * lib/beziershape.c (beziershape_init): Removed early call to
11188         beziershape_update_data where points aren't set yet.
11189         (beziershape_add_segment): Use segment 0 instead of overflowing
11190         points array with segment+1.
11191         (beziershape_remove_segment): Proper offset for fixing
11192         connectionpoints. 
11193         (remove_handles): Proper offset.
11195 2002-05-08  Lars Clausen  <lrclause@cs.uiuc.edu>
11197         * objects/GRAFCET/action.c (action_update_data): Init x value of
11198         click point for call to connpointlist_adjust_count.
11200         * app/modify_tool.c (create_modify_tool): Init tool->auto_scrolled
11202         * app/render_pixmap.c (new_pixmap_renderer): Moved first linestyle
11203         setting to where values are inited.
11205         * lib/polyshape.c (polyshape_init): Removed call to
11206         polyshape_update_data that tried to use uninitialized data.
11208 2002-05-06  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
11210         * app/sheets_dialog.c: Mass removal of //-style comments.  The
11211         Irix compiler doesn't like them:(  I do...
11213 2002-05-06  Lars Clausen  <lrclause@cs.uiuc.edu>
11215         * app/render_libart.c (draw_string): Bail out when no GDK font is
11216         found.
11217         (set_font): Give error when font not found.
11218         (set_fillstyle): Intlized error msg.
11220         * app/pagesetup.c (pagesetup_ok, pagesetup_apply): Sets diagram
11221         modified when applied (and ok only does apply if apply is set
11222         sensitive).  Fixes bug #75623.
11224 2002-05-06  Pablo Saratxaga  <pablo@mandrakesoft.com>
11226         * configure.in: Added Vietnamese (vi) to ALL_LINGUAS
11228 2002-05-05  Steffen Macke <sdteffen@web.de>
11230         * app/Makefile.am: added $(UNICODE_CFLAGS)
11231         
11232 2002-05-02  Lars Clausen  <lrclause@cs.uiuc.edu>
11234         * app/commands.c (help_manual_callback): Check return value of
11235         opendir.
11237         * plug-ins/xfig/Makefile.am (INCLUDES): Added DEBUG_FLAGS
11239         * plug-ins/xfig/xfig-import.c: Fixed misspelled Poly_L_ine, added
11240         checks for errors.
11242 2002-04-30  Lars Clausen  <lrclause@cs.uiuc.edu>
11244         * app/render_gdk.c (draw_string): Extra free killed.  Thanks valgrind!
11246         * objects/UML/uml.c (uml_operation_read): Fix of UML default
11247         inheritance. 
11249 2002-04-30  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
11251         * app/filedlg.c (file_save_as_callback, file_save_as_ok_callback):
11252         Added button to toggle diagram compression.
11254 2002-04-29  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
11256         * lib/font.c: Support for loading extra kerning files, plus got
11257         rid of rounding errors.  Bounding box mostly perfect for freetype
11258         fonts.
11259         (font_string_width): Fudge factor to get around nonlinearity of
11260         font scaling.
11262 2002-04-29  Lars Clausen  <lrclause@cs.uiuc.edu>
11264         * lib/font.c (font_string_width): YA font calculation scheme, with
11265         comments.
11267         * objects/UML/class.c (umlclass_calculate_data): Uses the same
11268         font for drawing and calculating now.
11270         * configure.in: Added utime.h check.
11272         * app/render_gdk.c (draw_string): Uses gdk_draw_text_wc when in
11273         GTK_DOESNT_TALK_UTF8_WE_DO.  Thus it matches the string width calc.
11275 2002-04-26  Hans Breuer  <hans@breuer.org>
11277         [ Instead of fixing about 70 occurances in 20 files
11278           where GTK_TALKS_UTF8_WE_DONT needed to be handled
11279           Dia on win32 from now on uses glib-2.0 and not 
11280           only talks utf-8 with gtk-1.3 but also internally.
11281           GTK_TALKS_UTF8_WE_DONT isn't supported/needed
11282           anymore. ]
11284         * config.h.win32 : #define UNICODE_WORK_IN_PROGRESS
11285         #undef GTK_TALKS_UTF8_WE_DONT
11287         * */makefile.msc : changes to use glib-2.0 (still
11288         using gtk+1.3(win32-production)
11290         * app/disp_callbacks.c : remove GTK_TALKS_UTF8_WE_DONT,
11291         adapt kevent->string handling, add <string.h>
11292         * app/render_gdk.c (get_text_width) : the length given
11293         is in chars, gdk_text_width() needs bytes
11295         * app/render_libart.c : 
11296         * app/render_pixmap.c : remove GTK_TALKS_UTF8_WE_DONT
11297         (could simplify the same way as done in render_gdk.c)
11299         * app/diagram_tree.c app/paginate_gdiprint.cpp
11300           app/sheets.c :
11301         * lib/prop_basic.c lib/prop_geomtypes.c 
11302           lib/propdialgs.c lib/propobject.c :
11303         added <string.h> which is now removed from charconv.h
11305         * lib/charconv.h : optional use infrastructure from
11306         glib-2.0 -> only five direct function mapping left
11308         * lib/charconv.c : avoid to build this with glib-2.0
11310         * lib/font.c : no string conversion needed anymore      
11311         when Dia and Gtk talk utf-8, also code adaptions
11312         for GLIB_CHECK_VERSION(2,0,0)
11314         * lib/libdia.def : removed charconv functions
11316         * lib/prop_inttypes.c : removed GTK_TALKS_UTF8_WE_DONT,
11317         replace charconv_unichar_to_utf8() with g_unichar_to_utf8()
11319         * lib/prop_text.c lib/prop_widgets.c lib/font.c : 
11320         removed GTK_TALKS_UTF8_WE_DONT
11322         * lib/text.c : finally(?) fixed cursor <place|move>ment 
11323         for Umlauts. Also fixed char insertion, still wondering
11324         how this could ever work. Does realloc on Linux 
11325         initialize the memory with zeros ?
11327         * objects/chronogram/chronoline_event.c
11328           objects/grafcet/boolequation.c :
11329         there is no uni_get_utf8 when building for glib-2.0.
11330         Replace with g_utf8_get_char() and g_utf8_next_char().
11332         * objects/uml/stereotype.c (bracketted_to_string) : 
11333         simplify while adding code for glib-2.0 build
11335 2002-04-27  Lars Clausen  <lrclause@cs.uiuc.edu>
11337         * app/diagram.h: Autosave field
11338         * app/diagram.c (diagram_set_modified): Sets autosave field.
11339         
11340         * objects/UML/usecase.c (usecase_update_data): 
11341         * objects/flowchart/ellipse.c (ellipse_update_data): 
11342         * objects/flowchart/parallelogram.c (pgram_update_data): 
11343         * objects/flowchart/diamond.c (diamond_update_data): 
11344         * objects/custom/custom_object.c (custom_update_data): 
11345         * objects/UML/state.c (state_update_data): 
11346         * objects/UML/small_package.c (smallpackage_update_data): 
11347         * objects/UML/object.c (objet_update_data): 
11348         * objects/UML/note.c (note_update_data): 
11349         * objects/UML/node.c (node_update_data): 
11350         * objects/UML/component.c (component_update_data): 
11351         * objects/UML/classicon.c (classicon_update_data): 
11352         * objects/UML/actor.c (actor_update_data): 
11353         * objects/SADT/box.c (sadtbox_update_data): 
11354         * objects/FS/function.c (function_update_data): 
11355         All now update text boundaries from update_data.
11356         
11357         * lib/widgets.c (dia_font_selector_set_styles): Made the style set
11358         correctly. 
11360 2002-04-26  Hans Breuer  <hans@breuer.org>
11362         * config.h.win32 : added VERSION definition here
11363         (and removed from makefile.msc's)
11365         * app/makefile.msc : added new files
11367         * app/app_procs.c (app_init): remove sheets_dialog_create()
11368         from start-up and ... 
11370         * app/sheet.c (sheets_dialog_show_callback) : ... lazy create
11371         sheet_dialog here when it is really needed.
11372         #include "../lib/message.h", make sheets_dialog_create() 
11373         return it's success or failing on (!custom_type_symbol). 
11374         Although editing shapes is nice IMHO it isn't crucial enough 
11375         to abort() Dia if       it isn't possible.
11377         * app/sheet.h : adapt create_sheet_dialog() prototype
11379         * app/sheets_dialog.c : add #ifdef HAVE_UNISTD_H
11381         * app/sheets_dialog_callbacks.c : #ifdef HAVE_UNISTD_H and
11382         #ifdef HAVE_UTIME_H. Otherwise #include <sys/utime.h> and
11383         name space corrections for utime() and utim_buf #ifdef
11384         G_OS_WIN32
11386         * lib/libdia.def : export new sheet functions
11388         * lib/makefile.msc : added new files
11390         * lib/render.c : don't put draw_bezier_with_arrows() in
11391         the DrawLineWithArrowsFunc slot
11393         * objects/custom/custom_object.c : #include <gmodule.h>
11394         and export 'custom_type' via G_MODULE_EXPORT
11396         * objects/uml/class_dialog.c : removed 'incompatible 
11397         types' warnings. Some refactoring while making it fit
11398         on screen with 800x600 again.
11400         * plug-ins/python/pydia-cpoint.h : add PyDiaConnectionPoint_Check
11402         * plug-ins/python/pydia-handle.h : extra parameter to
11403         PyDiaHandle_New to store the owner of the handle
11404         * plug-ins/python/pydia-handle.c : store handle owner
11405         on construction and use it in new method .connect()
11406         * plug-ins/python/pydia-object.c plug-ins/python/pydia-diagram.c : 
11407         adapt to changed prototype
11409 2002-04-24  Lars Clausen  <lrclause@cs.uiuc.edu>
11411         * lib/text.c (text_calc_boundingbox): Will now return early if box
11412         passed is NULL.
11414         * objects/flowchart/box.c (box_update_data): Now updates text
11415         width info from update_data.
11417 2002-04-23  Steffen Macke <sdteffen@web.de>
11419         * plug-ins/xfig/xfig-import.c: fixed text import
11420         
11421 2002-04-22  Lars Clausen  <lrclause@cs.uiuc.edu>
11423         * app/export_png.c: Moved dialog functions to their own file.
11424         * app/dialogs.[ch]: New files with standard functions for creating
11425         small, transient dialogs (e.g. export options).
11426         * app/Makefile.am: Added dialogs.[ch]
11428 2002-04-19  Steffen Macke <sdteffen@web.de>
11430         * shapes/Misc/folder.*:
11431         * shapes/Misc/file.*:
11432         * shapes/Misc/Makefile.am:
11433         * shapes/Makefile.am:
11434         * sheets/Misc.sheet.in:
11435         * sheets/Makefile.am:
11436         * configure.in: added new Misc sheet containing filesystem shapes
11437         
11438 2002-04-18  Lars Clausen  <lrclause@cs.uiuc.edu>
11440         * app/lineprops_area.c: Arrow selector in toolbox changed to use
11441         standard arrowdraw code.  Line is thinner to make some arrowheads
11442         distinguishable. 
11444 2002-04-18  Steffen Macke <sdteffen@web.de>
11446         * sheets/network.sheet.in:
11447         * shapes/network/telephone.shape:
11448         * shapes/network/Makefile.am: added telephone shape
11449         
11450 2002-04-16  Steffen Macke <sdteffen@web.de>
11452         * sheets/EML.sheet.in: commented out unavailable shapes
11453         
11454 2002-04-15  M.C. Nelson <mcn@kobayashimaru.org>
11456         * app/sheets_dialog_callbacks.c:  Fixed segfault caused by mis-ordered
11457           variable assignment.
11458         
11459 2002-04-15  Steffen Macke <sdteffen@web.de>
11461         * plug-ins/dxf/dxf-import.c: text import works again
11462         * shapes/Pneumatic/Makefile.am: added compush shape
11463         * sheets/Pneumatic.sheet.in: commented out unavailable shapes dist33
11464         and dist53
11465         
11466 2002-04-11  M.C. Nelson <mcn@kobayashimaru.org>
11468         * All these modifications are for the 'Sheets and Objects' dialog
11469           (new feature):
11471         * app/pixmaps/line_break.xpm: new icon representing a line break.
11472         
11473         * app/pixmaps/n_a.xpm: new empty icon representing not available.
11475         * app/Makefile.am: added sheets_*.[ch] files to compile list.
11476         
11477         * app/menus.c: added GNOME and gtk menu items for 'Sheets and Objects'
11478         
11479         * app/sheets_dialog.c: [new file] definition of 'Sheets & Objects' dlgs
11481         * app/sheets_dialog.h: [new file] support for Sheets & Objects dlgs 
11482         
11483         * app/app_procs.c: added call to sheets_dialog_create() in app_init()
11484         
11485         * app/sheets_dialog_callbacks.c: [new file] callbacks for S & O dialogs
11487         * app/sheets_dialog_callbacks.h: [new file] support for " " "
11489         * app/interface.c: added 'interface_current_sheet_name' global to 
11490           fill_sheet_wbox(); made fill_sheet_menu() non-static
11492         * app/interface.h: added extern declaration for aboves.
11494         * app/sheets.c: [new file] instantiation and other funcs for S & O dlgs
11496         * app/sheets.h: [new file] declarations for backing store structures
11498         * lib/sheet.c: modification of new_sheet() parameters; introduction
11499           of USER and SYSTEM scope for sheets; procedure for sorting sheets;
11500           changes to load_register_sheet().
11502         * lib/sheet.h: added 'user_data_type' field to SheetObject structure;
11503           added 'has_icon_on_sheet' flag to SheetObject structure; added 
11504           'filename', 'scope', 'shadowing' fields to Sheet structure.
11506         * lib/plug-ins.c: moved _PluginInfo declaration to header file where
11507           it belongs.
11509         * lib/plug-isn.h: see above.
11511         * lib/object.c: added 'sheet.h' to include list; added several 
11512           functions
11513           to detect objects which are not found on any sheet (for future use)
11514           object_type_detect_nosheet_callback(), object_types_detect_nosheet(),
11515           object_type_get_sheet_name(), object_type_strip_sheet_from_name().
11517         * lib/object.h: added public declarations for above functions where
11518           necessary.
11520         * objects/custom/custom.c: made custom_object_load() non-static so we
11521           can load and interpret .shape files from the Sheets & Objects dialog
11523         * objects/custom/custom_object.c: made 'custom_type' non-static so 
11524           we can differentiate between SVG shapes and other types.a
11526 2002-04-07  Hans Breuer  <hans@breuer.org>
11528         * app/object_ops.c (object_list_align_v): Fix the 'Leak fix'
11529         from 2002-01-22 to not destroy diagram->data->selected. 
11530         Avoids to crash on Objects/Align/Vertical/Top
11532         * app/render_eps.c (draw_string) : un-const buffer
11533         It isn't at all const (g_malloc(), assignment, g_free()).
11534         Doesn't gcc catch such ?
11536         * lib/arrows.h : prototype calculate_arrow_point()
11538         * lib/font.c (font_get_suckfont) : no need to
11539         special case gdk_draw_string() with GTK_TALKS_UTF8,
11540         cause all the parameter differences are handled above
11542         * lib/libdia.def : updated externals
11544         * lib/makefile.msc : removed string_prerenderer, added render
11546         * lib/render.c (draw_rect) : don't pass a Point** if a Point*
11547         is expected. [Sometimes it's good to read compiler warnings.]
11549         * objects/standard/image.c : simplified by use of g_strconcat()
11551         * plug-ins/python/makefile.msc : updated for Python 2.2
11553 2002-04-03  Lars Clausen  <lrclause@cs.uiuc.edu>
11555         * objects/standard/zigzagline.c (zigzagline_draw): Fixed
11556         directionality problem for zero-length line segments.
11558 2002-03-28  Lars Clausen  <lrclause@cs.uiuc.edu>
11560         * app/diagram.c (diagram_ungroup_selected) 
11561         (diagram_update_menu_sensitivity): Now allows ungrouping of
11562         several groups at once.
11564 2002-03-15  Lars Clausen  <lrclause@cs.uiuc.edu>
11566         * lib/render.c, all renderers: Binary incompatibility, change to
11567         expandable renderops structure.
11569 2002-03-15  Steffen Macke <sdteffen@yahoo.com>
11571         * objects/standard/Makefile.am:
11572         * objects/network/Makefile.am:
11573         * objects/UML/Makefile.am:
11574         * objects/ER/Makefile.am:
11575         * objects/FS/Makefile.am:
11576         * objects/flowchart/Makefile.am:
11577         * objects/custom/Makefile.am:
11578         * objects/GRAFCET/Makefile.am:
11579         * objects/chronogram/Makefile.am:
11580         * objects/SADT/Makefile.am:
11581         * plug-ins/cgm/Makefile.am:
11582         * plug-ins/pstricks/Makefile.am:
11583         * plug-ins/hpgl/Makefile.am:
11584         * plug-ins/wpg/Makefile.am:
11585         * plug-ins/svg/Makefile.am:
11586         * plug-ins/shape/Makefile.am: added $(UNICODE_CFLAGS)
11587         
11588 2002-03-13  Lars Clausen  <lrclause@cs.uiuc.edu>
11590         * app/render_eps.c: Support for dumping TrueType fonts (taken from
11591         ttfps).
11593 2002-03-12  Lars Clausen  <lrclause@cs.uiuc.edu>
11595         * lib/render.c: New abstract super class for renderers.
11597 2002-03-07  Akira TAGOH  <tagoh@redhat.com>
11599         * objects/ER/attribute.c (attribute_save): save a font property.
11600         (attribute_load): load a font property, and if can't load it, it's
11601         initialized.
11603         * objects/ER/entity.c (entity_save): save a font property.
11604         (entity_load): load a font property, and if can't load it, it's
11605         initialized.
11607         * objects/ER/relationship.c (relationship_save): save a font property.
11608         (relationship_load): load a font property, and if can't load it, it's
11609         initialized.
11611         * objects/UML/class.c (fill_in_fontdata): don't replace if it already
11612         has a vaule.
11613         (umlclass_save): save the font and the font size properties.
11614         (umlclass_load): load the font and the font size properties.
11616 2002-03-05  Cyrille Chepelov  <cyrille@chepelov.org>
11618         * lib/string_prerenderer.[ch] (REMOVED):
11619         * lib/render.h:
11620         * lib/diagramdata.c:
11621         * lib/Makefile.am:
11622         * app/render_eps.c: got rid of the string-specific string
11623         prerenderer, transitioned its functionality towards Lars'
11624         two-phase rendering
11626 2002-03-05  Lars Clausen  <lrclause@cs.uiuc.edu>
11628         * configure.in: Using Freetypes own check for ver >= 1.0.5.  You
11629         may need to rerun aclocal.
11631 2002-03-04  Lars Clausen  <lrclause@cs.uiuc.edu>
11633         * lib/font.c: First attempt at Unicodeness for Freetype.
11635 2002-03-02  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
11637         * lib/font.c (font_string_width): Fixed font_string_width for
11638         freetype.  BB is now almost right.
11640 2002-03-01  Lars Clausen  <lrclause@cs.uiuc.edu>
11642         * app/render_eps.h: 
11643         * app/paginate_psprint.c (paginate_psprint): 
11644         * lib/font.c: 
11645         * app/render_eps.c: Support for dumping postscript fonts into
11646         postscript files with freetype.  Fairly primitive, but works.
11647         Unicode version may have problems.
11649 2002-02-28  Akira TAGOH  <tagoh@redhat.com>
11651         * objects/UML/class_dialog.c (class_read_from_dialog)
11652         (class_fill_in_dialog), (class_create_page): add the font selector and
11653         the font size selector.
11655         * objects/UML/class.c (umlclass_draw): uses each font_height.
11656         (umlclass_calculate_data): ditto.
11657         (fill_in_fontdata): add initial value of new font_height.
11658         (umlclass_copy): add new font_height.
11660 2002-02-27  Cyrille Chepelov  <chepelov@calixo.net>
11662         Patch from Geoff Gerrietts <ggerrietts@yahoo.com>:
11663         
11664         * lib/font.c: calculate font metrics properly and stop guessing at
11665         string widths.
11667 2002-02-28  Akira TAGOH  <tagoh@redhat.com>
11669         * configure.in: changed gtk_advancement value to dia_talks_utf8.
11670         right now Dia is working with UTF-8 internally. it means Dia probably
11671         support most languages also including the languages which heretofore
11672         didn't work correctly.
11674 2002-02-26  Akira TAGOH  <tagoh@redhat.com>
11676         * objects/FS/function.c: add related text properties.
11677         (function_get_props), (function_set_props): add handling attribute.
11679         * objects/FS/flow.c: add related text properties.
11680         (flow_get_props), (flow_set_props): add handling attribute.
11682         * objects/FS/flow-ortho.c: add related text properties.
11683         (orthflow_set_props), (orthflow_get_props): add handling attribute.
11685         * objects/ER/relationship.c: add PROP_STD_TEXT_FONT to property.
11687         * objects/ER/entity.c: ditto.
11689         * objects/ER/attribute.c: ditto.
11691 2002-02-26  Cyrille Chepelov  <cyrille@chepelov.org>
11693         Patch contributed by Geoff Gerrietts <ggerrietts@yahoo.com>:
11694         
11695         * autogen.sh: add a check for missing intltoolize.
11697 2002-02-20  Akira TAGOH  <tagoh@redhat.com>
11699         * lib/ps-utf8.c (unicode_to_ps_name): if this function calls with same
11700         charcode, it was registered the duplicate item to HashTable. fix.
11702         * app/render_gnomeprint.c (get_width_string): add new function.
11703         (draw_string): fix non-multibyte specific code.
11705 2002-02-19  Cyrille Chepelov  <cyrille@chepelov.org>
11707         Patch contributed by Matthieu Sozeau <mattam@netcourrier.com>:
11708         
11709         * lib/font.c: do not try to search paths that do not begin with
11710         '/', like X Font Server addresses.
11711         
11712         * objects/UML/message.c (message_draw): free mname when not 
11713         message->text but CREATE or DESTROY.
11714         
11715         * objects/UML/uml.h:
11716         * objects/UML/uml.c:
11717         * objects/UML/class_dialog.c: added code to handle a stereotype 
11718         attribute for operations.
11720 2002-02-19  Akira TAGOH  <tagoh@redhat.com>
11722         * lib/Makefile.am: add LIBART_CFLAGS.
11724 2002-02-15  Hans Breuer  <hans@breuer.org>
11726         * lib/font.c (font_get_suck_font): the black and white pixel values 
11727         need to be taken from a 1 bit colormap rather than the default colormap.
11728         (fixed again, last time was 2000-05-26)
11730         Also handle the case where GTK_TALKS_UTF8 and expects all strings
11731         passed in to be in this encoding.
11733         * lib/libdia.def : export suck_font_free()
11735         * lib/text.c (text_draw) : avoid circular dependency to ../app
11736         at least for the !USE_XIM case, where it is unnecessary.
11738 2002-02-15  Cyrille Chepelov  <cyrille@chepelov.org>
11740         Changes contributed by Matts Kivik <kivik@firstlinux.net>:
11741         
11742         * shapes/Circuit/microphone_de.(shape|xpm) (NEW):
11743         * sheets/Circuit.sheet.in: added new shape microphone
11744         * shapes/Circuit/speaker_de.shape: Added a connection point.
11745         
11746 2002-02-13  Akira TAGOH  <tagoh@redhat.com>
11748         * app/render_libart.c (draw_string): fixed build issue for Win32.
11750         * lib/font.c (font_get_suckfont): fixed typo. it could't build under
11751         Win32.
11753         * configure.in: fixed testing gtk_advancement.
11755         * app/render_gnomeprint.c (draw_string): uses utfchar instead of char.
11757 2002-02-12  Akira TAGOH  <tagoh@redhat.com>
11759         * lib/text.c (text_draw): fixed XIM position, when menubar is shown for
11760         diagram window.
11762 2002-02-11  Lars Clausen  <lrclause@cs.uiuc.edu>
11764         * app/group.c (group_copy): Made new object properly initialized
11765         before copy.
11767 2002-02-11  Steffen Macke <sdteffen@yahoo.com>
11769         * app/Makefile.am: added plug-ins to DIA_LIB_PATH in run_dia.sh
11770         
11771 2002-02-10  Akira TAGOH  <tagoh@redhat.com>
11773         * lib/text.c (text_draw): fixed XIM transaction.
11775         * app/interface.c (create_display_shell): add signal for
11776         size_allocate.
11778         * app/disp_callbacks.c (ddisplay_size_allocate): add new function for
11779         XIM transaction.
11780         (set_input_dialog): remove.
11781         (ddisplay_canvas_events): remove XIM transaction. it can't transact
11782         correctly on this function.
11784 2002-02-10  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
11786         * app/app_procs.c:
11787         * app/export_png.c: Added checks for interactivity (maybe this
11788         should be a hook after all?).
11790         * app/filedlg.c (file_export_callback): Made export dialog add
11791         suffix when reopened.
11793         * app/export_png.c: Added dialog asking for export size.
11795 2002-02-09  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
11797         * lib/widgets.c: Fixed font reselection problem and first font
11798         bogus warning.
11800         * objects/UML/actor.c (actor_update_data): Changed to have
11801         connection points below text.
11803 2002-02-08  Akira TAGOH  <tagoh@redhat.com>
11805         * lib/text.c (text_split_line): use g_strndup() instead of g_malloc()
11806         and memcpy().
11808 2002-02-07  Akira TAGOH  <tagoh@redhat.com>
11810         * lib/font.c (font_get_suckfont): rewrited. generating suckfont from
11811         strings which is given.
11812         (suck_font): remove. it's any longer needed.
11814         * app/render_libart.c (set_font): don't get suckfont.
11815         (draw_string): get suckfont only which is needed for now.
11817 2002-02-05  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
11819         * lib/text.c: Fixes for misunderstood width functions.
11821 2002-02-05  Hans Breuer  <hans@breuer.org>
11823         * lib/dia_xml.c : use g_strconcat() instead of 
11824         malloc, strcpy, strcat dance
11825         * app/properties.c : same here and plug memory leak
11826         (gtk functions don't eat strings)
11828         * objects/UML/message.c : there is no g_sprintf()
11829         use g_strdup_printf() instead ...
11831 2002-02-05  Akira TAGOH  <tagoh@redhat.com>
11833         * lib/message.c (gtk_message_internal): doesn't need to convert to
11834         UTF-8.
11836         * app/render_libart.c (draw_string): fixed transaction for UTF-8
11837         support.
11838         (get_text_width): ditto.
11840         * app/Makefile.am (EXTRA_DIST):
11841         s/paginate_gdiprint.c/paginate_gdiprint.cpp/
11843         * app/render_gdk.c (gdk_freetype_copy_glyph): fixed build issue.
11844         This function needs ifdef HAVE_FREETYPE because don't use it for
11845         --disable-freetype
11847 2002-02-04  Cyrille Chepelov  <cyrille@chepelov.org>
11849         * NEWS: updated with the new dependencies.
11850         
11851         Patch from Matthieu Sozeau <mattam@netcourrier.com>:
11853         * objects/UML/class.h:
11854         * objects/UML/class.c:  
11855         * objects/UML/class_dialog.c: added code to handle the UMLParameterKind
11856         property using a GtkMenu. Options are Undefined, In, Out, In & Out
11858 2002-02-04  Lars Clausen  <lrclause@cs.uiuc.edu>
11860         * app/render_libart.c: Slow but working libart freetype renderer,
11861         with color!
11863 2002-02-03  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
11865         * app/render_gdk.c (draw_string): Fixed gc_function bug.
11867         * lib/widgets.c (dia_font_selector_init): Sorts the font list.
11869         * lib/font.c (freetype_render_string): 
11870         * lib/font.h:
11871         * app/render_gdk.c:
11872         * app/render_gdk.h: Changed freetype_render_string to use
11873         callback.  Rendering is broken.
11875 2002-02-03  Cyrille Chepelov  <cyrille@chepelov.org>
11877         Patch from Matthieu Sozeau <mattam@netcourrier.com>:
11879         * objects/UML/uml.h:    
11880         * objects/UML/uml.c: added UMLInheritanceType and isQuery
11881         (constant) UML Operation attributes. UMLInheritanceType is either
11882         UML_ABSTRACT or UML_POLYMORPHIC  or UML_LEAF.
11884         * objects/UML/class.h:
11885         * objects/UML/class.c:  
11886         * objetcs/UML/class_dialog.c: added code to handle new
11887         UMLOperation attributes via a GtkMenu and a checkbox.
11889 2002-02-03  Akira TAGOH  <tagoh@redhat.com>
11891         * app/disp_callbacks.c (ddisplay_realize): fixed XIM issue.
11892         several client doesn't work with previous codes.
11894 2002-02-01  Lars Clausen  <lrclause@cs.uiuc.edu>
11896         * lib/font.c (freetype_render_string): Kerning.  Very few fonts
11897         seem to use it.
11899 2002-02-02  Akira TAGOH  <tagoh@redhat.com>
11901         * app/disp_callbacks.c (ddisplay_canvas_events): fixed crashes,
11902         when doing the operation like invert the objects after active view is
11903         destroyed. when changes focus, it needs to set active_display.
11905         * app/layer_dialog.c (dia_layer_update_from_layer):
11906         (layer_dialog_edit_layer): need to convert to locale encoding
11907         if GTK_DOESNT_TALK_UTF8_WE_DO is defined.
11908         (edit_layer_ok_callback):
11909         need to convert to UTF8 if GTK_DOESNT_TALK_UTF8_WE_DO is defined.
11911         * lib/diagramdata.c (new_diagram_data): ditto.
11913         * app/layer_dialog.c (layer_dialog_new_callback): ditto.
11915         * lib/diagramdata.c (new_layer): use utfchar instead of char for
11916         argument.
11918         * lib/widgets.c: if HAVE_FREETYPE isn't defined, it can't build. fixed.
11919         (dia_font_selector_set_styles): when HAVE_FREETYPE is defined only,
11920         it's needed for now. also this function needs prototype declaration.
11922 2002-01-31  Lars Clausen  <lrclause@cs.uiuc.edu>
11924         * lib/widgets.c: Style now functional on font selector.  Some leak
11925         possible, but doesn't show up under stress test.
11927 2002-01-31  Akira TAGOH  <tagoh@redhat.com>
11929         * app/plugin-manager.c (clist_select_row): name and description needs to
11930         convert to locale encoding, when GTK_DOESNT_TALK_UTF8_WE_DO is defined.
11931         (get_plugin_manager): ditto.
11933         * lib/plug-ins.c (dia_plugin_info_init): name needs to convert to UTF-8.
11935         * app/diagram_tree.c (get_object_name): fixed transaction for UTF-8
11936         support.
11938         * lib/prop_text.c (stringprop_reset_widget): fixed crashes,
11939         when prop->string_data is NULL.
11941 2002-01-30  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
11943         * lib/widgets.c: 
11944         * lib/widgets.h: New font selector separating font and style.
11945         Style not functional yet.
11947 2002-01-30  Lars Clausen  <lrclause@cs.uiuc.edu>
11949         * lib/text.c: 
11950         * app/render_gdk.c (draw_string): More freetype support, now
11951         renders text.  Still broken is font selection and exporting.
11953 2002-01-30  Akira TAGOH  <tagoh@redhat.com>
11955         * objects/chronogram/chronoref.c (chronoref_create): missing gettextize
11956         for font.
11958         * objects/chronogram/chronoline.c (chronoline_create): ditto.
11960         * objects/UML/usecase.c (usecase_create): ditto.
11962         * objects/UML/state.c (state_create): ditto.
11964         * objects/UML/object.c (objet_create): ditto.
11966         * objects/UML/node.c (node_create): ditto.
11968         * objects/UML/message.c (message_create): ditto.
11970         * objects/UML/component.c (component_create): ditto.
11972         * objects/UML/classicon.c (classicon_create): ditto.
11974         * objects/UML/actor.c (actor_create): ditto.
11976         * objects/SADT/box.c (sadtbox_create): ditto.
11978         * objects/SADT/annotation.c (annotation_create): ditto.
11980         * objects/GRAFCET/transition.c (TRANSITION_FONT): ditto.
11982         * objects/GRAFCET/step.c (STEP_FONT):
11983         * (step_create): ditto.
11985         * objects/GRAFCET/condition.c (CONDITION_FONT): ditto.
11987         * objects/GRAFCET/action.c (ACTION_FONT):
11988         (action_create): ditto.
11990         * objects/FS/function.c (function_create): ditto.
11992         * objects/FS/flow.c (flow_create):
11993         (flow_load): 
11994         (flow_apply_defaults): ditto.
11996         * objects/FS/flow-poly.c (flow_create):
11997         (flow_load):
11998         (flow_apply_defaults): ditto.
12000         * objects/FS/flow-ortho.c (orthflow_create):
12001         (orthflow_load):
12002         (orthflow_apply_defaults): ditto.
12004         * objects/ER/relationship.c: use utfchar instead of char for structure.
12005         (relationship_create): name needs to convert to UTF-8.
12007         * objects/ER/attribute.c: use utfchar instead of char for structure.
12008         (attribute_create): name needs to convert to UTF-8.
12010         * objects/ER/entity.c: use utfchar instead of char for structure.
12011         (entity_create): name needs to convert to UTF-8.
12013         * app/interface.c (fill_sheet_wbox): needs to convert UTF-8 to locale
12014         encoding for tooltips, if GTK_TALKS_UTF8 isn't defined.
12015         (fill_sheet_menu): needs to convert UTF-8 to locale encoding for menu
12016         items. if GTK_TALKS_UTF8 isn't defined.
12018 2002-01-29  Akira TAGOH  <tagoh@redhat.com>
12020         * objects/UML/class.c (umlclass_calculate_data): fixed malloc size.
12021         it was my careless mistake...
12023         * lib/attributes.c (attributes_set_default_font): temporarily gettextize
12024         a font name, because there are strings which isn't shown by "Courier".
12025         We need to consider a way to feel free to choose a font at runtime.
12027         * lib/render_object.c (render_object_load): ditto.
12029         * lib/text.c (data_text): ditto.
12031         * objects/EML/instantiation.c (instantiation_create): ditto.
12033         * objects/EML/interaction-ortho.c (interaction_ortho_create):
12034         (interaction_ortho_load): ditto.
12036         * objects/EML/interaction.c (interaction_create):
12037         (interaction_load): ditto.
12039         * objects/EML/process.c (fill_in_fontdata): ditto.
12041         * objects/ER/attribute.c (attribute_create): 
12042         (attribute_load): ditto.
12044         * objects/ER/entity.c (entity_create): 
12045         (entity_load): ditto.
12047         * objects/ER/relationship.c (relationship_create): 
12048         (relationship_load): ditto.
12050         * objects/UML/association.c (association_create): 
12051         (association_load): ditto.
12053         * objects/UML/class.c (fill_in_fontdata): ditto.
12055         * objects/UML/constraint.c (constraint_create): ditto.
12057         * objects/UML/dependency.c (dependency_create): ditto.
12059         * objects/UML/generalization.c (generalization_create): ditto.
12061         * objects/UML/implements.c (implements_create): ditto.
12063         * objects/UML/large_package.c (largepackage_create): ditto.
12065         * objects/UML/note.c (note_create): ditto.
12067         * objects/UML/realizes.c (realizes_create): ditto.
12069         * objects/UML/small_package.c (smallpackage_create): ditto.
12071         * objects/custom/shape_info.h (FONT_DEFAULT): ditto.
12073         * objects/custom/custom_object.c (custom_create): ditto.
12075         * objects/network/antenna.c (render_to_store): ditto.
12077         * objects/network/computer.c (render_to_store): ditto.
12079         * objects/network/disc.c (render_to_store): ditto.
12081         * objects/network/flash.c (render_to_store): ditto.
12083         * objects/network/hub.c (render_to_store): ditto.
12085         * objects/network/modem.c (render_to_store): ditto.
12087         * objects/network/modularswitch.c (render_to_store): ditto.
12089         * objects/network/monitor.c (render_to_store): ditto.
12091         * objects/network/printer.c (render_to_store): ditto.
12093         * objects/network/rj45plug.c (render_to_store): ditto.
12095         * objects/network/scead-plug.c (render_to_store): ditto.
12097         * objects/standard/textobj.c (textobj_load): ditto.
12099         * objects/sybase/client.c (render_to_store): ditto.
12101         * objects/sybase/dataserver.c (render_to_store): ditto.
12103         * objects/sybase/ltm.c (render_to_store): ditto.
12105         * objects/sybase/repserver.c (render_to_store): ditto.
12107         * objects/sybase/rsm.c (render_to_store): ditto.
12109         * objects/sybase/stableq.c (render_to_store): ditto.
12111         * plug-ins/dxf/dxf-import.c (read_entity_text_dxf): ditto.
12113         * objects/UML/uml.h (UML_STEREOTYPE_START):
12114         (UML_STEREOTYPE_END): changes default strings.
12116 2002-01-28  Akira TAGOH  <tagoh@redhat.com>
12118         * objects/UML/stereotype.c (string_to_bracketted): fixed transaction
12119         for UTF-8 support. if GTK+ and Dia don't handle UTF-8, all of characters
12120         which is given to arguments isn't UTF-8. so don't need to convert it.
12121         if GTK+ handle UTF-8, also don't need to convert it.
12122         (strend): remove.
12123         (bracketted_to_string): fixed transaction for UTF-8 support.
12124         also start/end bracket is not necessarily 1 character. so that when use
12125         strend(), it doesn't work correctly.
12126         (string_to_stereotype): use utfchar instead of char.
12127         (remove_stereotype_from_string): ditto.
12128         (stereotype_to_string): ditto.
12130         * objects/UML/stereotype.h: ditto.
12132         * objects/UML/message.c: use utfchar instead of char for structure.
12133         (MESSAGE_CREATE_LABEL, MESSAGE_DESTROY_LABEL): remove.
12135         * objects/UML/small_package.c: use utfchar instead of char for structure.
12137         * objects/UML/realizes.c: ditto.
12139         * objects/UML/object.c: ditto.
12141         * objects/UML/large_package.c: ditto.
12143         * objects/UML/implements.c: ditto.
12145         * objects/UML/generalization.c: ditto.
12147         * objects/UML/dependency.c: ditto.
12149         * objects/UML/constraint.c: ditto.
12151         * objects/UML/component.c: ditto.
12153         * objects/UML/class_dialog.c (attributes_get_current_values):
12154         (attributes_list_new_callback, attributes_fill_in_dialog):
12155         (parameters_set_values, parameters_get_values):
12156         (parameters_get_current_values, parameters_list_new_callback):
12157         (operations_set_values, operations_get_values):
12158         (operations_get_current_values, operations_list_new_callback):
12159         (operations_fill_in_dialog, templates_set_values):
12160         (templates_get_values, templates_get_current_values):
12161         (templates_list_new_callback, templates_fill_in_dialog):
12162         fixed transaction for UTF-8 support.
12164 2002-01-27  Akira TAGOH  <tagoh@redhat.com>
12166         * objects/UML/message.c (message_draw): fixed transaction for UTF-8 support.
12168         * objects/UML/class_dialog.c (class_read_from_dialog):
12169         (class_fill_in_dialog):
12170         (attributes_get_values): ditto.
12172         * objects/UML/actor.c (actor_create): ditto.
12174         * objects/UML/class.c (umlclass_calculate_data): ditto.
12176         * objects/UML/association.c (association_apply_properties):
12177         (fill_in_dialog): ditto.
12179         * objects/UML/uml.c (uml_get_attribute_string):
12180         (uml_get_operation_string):
12181         (uml_get_parameter_string):
12182         (uml_get_formalparameter_string): use utfchar instead of char.
12184         * objects/UML/uml.h: gettextize UML_STEREOTYPE_START and
12185         UML_STEREOTYPE_END.
12187         * objects/UML/class.h: use utfchar instead of char.
12189         * lib/dia_xml.c (data_add_string): ditto.
12191         * lib/text.c (text_insert_char): fixed characters# calculation
12192         when includes multibytes character in strings.
12194 2002-01-26  Steffen Macke  <sdteffen@yahoo.com>
12196         Patch from Richard Rowell <rwrowell@bellsouth.net>:
12198         * app/lineprops_area.c:
12199         * lib/arrows.h:
12200         * lib/arrows.c: 
12201         * lib/widgets.c: added crow foot arrow and cross arrow
12202         
12203         Patch from Frank Gevaerts <frank.gevaerts@fks.be>:
12204         
12205         * plug-ins/svg/render_svg.c: fixed arcs, fill and text alignment
12207 2002-01-26  Cyrille Chepelov  <cyrille@chepelov.org>
12209         * po/update.pl (REMOVED):
12210         * po/update.sh (REMOVED):
12211         * xml-i18n-merge.in.kg (REMOVED):
12212         * xml-i18n-update.in.kg (REMOVED):
12213         * sheets/Makefile.am:
12214         * Makefile.am:
12215         * autogen.sh:
12216         * configure.in: converted from xml-i18n-tools to intltools
12218         This looks like it fixes the build bugs of the snapshot tarballs, 
12219         and it supersedes #69611.       
12221 2002-01-25  Akira TAGOH  <tagoh@redhat.com>
12223         * lib/text.c (text_insert_char): fixed characters# calculation.
12224         it's not string length.
12226         * lib/plug-ins.c (dia_plugin_info_init): when GTK_DOESNT_TALK_UTF8_WE_DO
12227         is defined, needs to convert a description to UTF-8.
12229         * app/render_gdk.c (get_text_width): fixed transaction for
12230         UTF-8 support. also should uses gdk_text_width_wc() instead
12231         of gdk_text_width().
12233         * app/render_gdk.c (draw_string): when GTK_DOESNT_TALK_UTF8_WE_DO
12234         is defined, needs to convert to locale encoding for display.
12235         Also use utfchar instead of char for argument.
12237 2002-01-24  Hans Breuer  <hans@breuer.org>
12239         * app/commands.c(edit_paste_callback and more) : 
12240         call diagram_modified(ddisp->diagram) to fix #68083
12241         (help_menu_callback) : plug a DIR leak
12243         * app/disp_callbacks.c(ddisplay_canvas_events) : handle 
12244         GTK_TALKS_UTF8_WE_DONT
12246         * app/render_gdk.c(get_text_with) : it's a bad idea to use
12247         gdk_string_with() when GTK_TALKS_UTF8_WE_DONT instead of
12248         gdk_text_width(). The length value is still questionable ...
12250         * lib/charconv.c : use functions already available in early
12251         GLIB-1.3 days whiches API hasn't changed since, to avoid
12252         version problems with the win32 build
12254         * lib/font.c : finally fix #58045 and #68208
12256         * lib/dia_xml.c (xmlDiaSaveFile) : gzdopen in binary mode
12258 2002-01-24  Akira TAGOH  <tagoh@redhat.com>
12260         * app/disp_callbacks.c (ddisplay_canvas_events): when event returned
12261         no strings, fixed transaction.
12263         * lib/charconv.h: fixed typo.
12265         * app/menus.c: fixed typo.
12267         * lib/charconv.c (charconv_utf8_strchr): remove. use uni_strchr instead.
12269         * objects/UML/object.c: attrib's type uses utfchar instead of char.
12271         * app/disp_callbacks.c (ddisplay_canvas_events): forget g_free()
12273         * lib/text.c (text_create_change): use unichar instead of char.
12275         * lib/text.c (data_add_text, data_text, apply_textstr_properties):
12276         use utfchar instead of char.
12278         * lib/text.c (text_insert_char, text_key_event): fixed transaction for
12279         UTF-8 support.
12281         * lib/charconv.c (charconv_utf8_get_char): add new function.
12283 2002-01-23  Akira TAGOH  <tagoh@redhat.com>
12285         * lib/text.c (text_delete_forward, text_delete_backward,
12286         text_split_line): fixed transaction for UTF-8 support.
12288         * lib/text.c (text_copy): when UNICODE_WORK_IN_PROGRESS is defined,
12289         strlen[] has string length for UTF-8, so has to use alloclen[].
12291         * dia.pot: remove.
12293         * .cvsignore: add dia.pot.
12295 2002-01-24  Stanislav Visnovsky  <visnovsky@nenya.ms.mff.cuni.cz>
12297         * configure.in: Added "sk" to ALL_LINGUAS.
12299 2002-01-22  Akira TAGOH  <tagoh@redhat.com>
12301         * lib/text.c (text_set_string, new_text, text_copy,
12302         text_get_string_copy, text_join_lines): use utfchar instead of gchar
12303         for strings.
12305         * lib/text.c (set_string): use charconv_utf8_strchr() instead of
12306         strchr().
12308         * lib/charconv.c (charconv_utf8_strchr): add new function.
12310         * lib/charconv.c (charconv_keyval_to_unicode): ditto.
12312         * lib/charconv.c (charconv_utf8_from_gtk_event_key): ditto.
12314         * app/disp_callbacks.c (ddisplay_canvas_events): needs to convert
12315         strings to the appropriate encoding.
12317 2002-01-22  Lars Clausen  <lrclause@cs.uiuc.edu>
12319         * app/object_ops.c (object_list_align_[hv]): Leak fix.
12321         * lib/Makefile.am (INCLUDES): Added debug flags.
12323         * app/object_ops.c: Fixed ordering problem of align equi-distant &
12324         adjacent. 
12326 2002-01-21  Akira TAGOH  <tagoh@redhat.com>
12328         * lib/font.c (font_string_width): use gdk_text_width_wc() instead of
12329         gdk_string_width().
12331         * objects/GRAFCET/boolequation.c: fixed invalid comment.
12333         * objects/UML/stereotype.c (string_to_bracketted): fixed build problem
12334         when defined UNICODE_WORK_IN_PROGRESS.
12336         * lib/dia_xml.c (data_add_string): fixed typo.
12338 2002-01-20  Akira TAGOH  <tagoh@redhat.com>
12340         * configure.in: fixed test gtk_advancement.
12342 2002-01-019  Steffen Macke  <sdteffen@yahoo.com>
12344         * plug-ins/svg/render_svg.c: fix for #69053, alignment of text
12345         exported to SVG
12347         Patch from M.C. Nelson <mcn@mani.kobayashimaru.org>: 
12349         * app/recent_files.[ch]: reworked to support GNOME, accelerators,
12350         tool tips, preferences, and arbitrarily long ~/.dia/history
12352         * app/menus.c: made 'Plugins' consistantly spelled and accelerated;
12353         removed 'Open Recent'; added new separators for recent documents on
12354         File menu.
12356         * app/interface.[ch] (interface_get_toolbox_shell): new function
12358         * app/diagram.c: added new parameter to recent_file_history_add() call
12360         * app/preferences.[ch]: added new 'Recent documents list size'
12361         preferences item
12362         
12363 2002-01-18  Akira TAGOH  <tagoh@redhat.com>
12365         * lib/font.c (font_get_gdkfont_helper): use gdk_fontset_load ().
12366         if it failed, should be used gdk_font_load ().
12368         * lib/font.c (font_data): added the font entries for CJK.
12370 2002-01-17  Steffen Macke  <sdteffen@yahoo.com>
12372         Patch from M.C. Nelson <mcn@mani.kobayashimaru.org>:
12374         * app/menus.c: replaced GDK_F1 with "F1" to fix segfault on startup
12375         
12376 2002-01-04  Cyrille Chepelov  <cyrille@chepelov.org>
12378         Patch from Martin Cracauer <cracauer@cons.org>:
12379         
12380         * app/menus.c: add missing #include <gdk/gdkkeysyms.h> (useful in the
12381         non-GNOME case ?)
12383 2002-01-01  Hans Breuer  <hans@breuer.org>
12385         * app/command.c : optional use GDI printing on windoze
12387         * app/preferences.[hc] : add option 'prefer_psprint' to 
12388         select the print engine to use (could be used for Dia/Gnome
12389         as well)
12391         * app/paginate_gdiprint.(h|cpp) : new files, which interlink the
12392         wmf plug-in with the common win32 print api. Now printing
12393         should work almost as expected from a windows program :-)
12395         * app/diagram.c app/menus.[hc] : rename _UpdatableMenuItems.delete
12396         to .edit_delete to avoid clashes with C++
12398         * app/makefile.msc : updated for GDI printing
12400         * plug-ins/wmf/wmf.cpp : some small modifications to support
12401         GDI printing. Also swap R and B channel in draw_image()
12403         * app/makefile.am : added windows only files to EXTRA_DIST
12405         * objects/uml/class.c(umlclass_set_props) : force recalculation
12406         when applying properties
12408         * lib/charconv.c lib/dia_xml.c : temporary back-ported to
12409         glib-1.3.2 (for win32) IMHO causes recent cvs introduces too
12410         many incompatible changes (and would force a gtk update)
12412         * objects/makefile.msc : don't build C-Objects which are
12413         already available as 'pure shape'
12415         * plug-ins/makefile.msc : remove diaimport from build. It was
12416         only available via mailing-list and is broken since the
12417         StdProp overhaul.
12420         Patch from Jose A Ortega Ruiz  <jaortega@acm.org>
12422         * app/preferences.[hc] : tweaked preferences.c to make 
12423         PREF_STRING work. Use it for 'diagram_tree_hidden'. Also
12424         added some more DiagramTree prefererences and their own
12425         notebook page.
12427         * app/diagram_tree.[hc] : allow to sort by object type or name
12428         and hide by type ...
12429         * app/diagram_tree_menu.[hc] : ... add respective menu entries ...
12430         * app/diagram_tree_menu_callbacks.[hc] : ... and callbacks.
12432         * app/diagram_tree_window.c : handle hidden types and window
12433         size restoring.
12435 2001-12-20  Hans Breuer  <hans@breuer.org>
12437         * plug-ins/python/Makefile.am : patch from Peter Moulder 
12438         <pmoulder@csse.monash.edu.au> to make the python plug-in
12439         compile on *nix too.
12441 2001-12-03  Cyrille Chepelov  <chepelov@calixo.net>
12443         Patch from Alan <horkana@tcd.ie>:
12445         * app/menus.c: bind the F1 shortcut to the Help/_Manual function.
12447 2001-11-20  Hans Breuer  <hans@breuer.org>
12449         * app/makefile.msc : add new diagram_tree_menu(_callbacks).obj
12451 2001-11-18  Jose A Ortega Ruiz  <jaortega@acm.org>
12453         * app/diagram_tree.[hc] : Added new functions and types for
12454         sorting diagram and objects, and attaching the popup menus.
12456         * app/preferences.h: Added more diagram tree preferences, using a
12457         DiagramTreeConfig struct in DiaPreferences. The new prefs are the
12458         height and width of the diagram tree window and the default sort
12459         orders for diagrams and objects.
12461         * app/preferences.c (prefs_data): Added new entries for the new
12462         diagram tree preferences.
12464         * app/preferences.c (prefs_tabs): New tab for diagram tree
12465         preferences.
12467         * app/diagram_tree_window.[hc] (create_diagram_tree_window): 
12468         * app/diagram_tree_window.c (diagram_tree_window_new): 
12469         * app/interface.c (create_tree_window): The diagram tree window is
12470         initialised using the DiagramTreeConfig part of prefs.
12473 2001-11-14  Jose A Ortega Ruiz  <jaortega@acm.org>
12475         * app/diagram_tree_menu.[hc]: New files. Functions to create the
12476         diagram tree popup menus.
12478         * app/diagram_tree_menu_callbacks.[hc]: New files. Callbacks for
12479         the diagram tree popup menus.
12481         * app/Makefile.am (dia_core_files): diagram_tree_menu* files
12482         added.
12484 2001-11-13  Jose A Ortega Ruiz  <jaortega@acm.org>
12486         * app/diagram_tree.c (double_click_callback, diagram_tree_new):
12487         double-clicking a diagram tree node raises the diagram window
12488         to the foreground (and, if a object node was clicked, selects the
12489         object in the diagram).
12491         * app/diagram_tree.c (select_tree_widget): selecting an object
12492         node with single click simply updates it (no raise).
12494 2001-11-08  Jose A Ortega Ruiz  <jaortega@acm.org>
12495         These changes make the diagram tree lazy: it is not created unless
12496         the diagram tree window is requested.
12497         
12498         * app/diagram_tree_window.[hc] (create_diagram_tree_window): new
12499         function for creating the tree window.
12501         * app/interface.c (create_tree_window): call
12502         create_diagram_tree_window() instead of diagram_window().
12504         * app/diagram_tree.c (diagram_tree_add, diagram_tree_remove) 
12505         (diagram_tree_update, diagram_tree_update_name) 
12506         (diagram_tree_add_object, diagram_tree_add_objects) 
12507         (diagram_tree_remove_object, diagram_tree_remove_objects) 
12508         (diagram_tree_update_object): accept a NULL tree as a nominal
12509         argument (and do nothing in this case!), so that the diagram tree
12510         is not initialised if not used.
12512         * app/diagram_tree_window.c (diagram_tree): do not create the
12513         diagram tree until diagram_window() or diagtree_show_callback()
12514         are invoked.
12516 2001-10-31  Jose A Ortega Ruiz  <jaortega@acm.org>
12517         [slightly modified and applied from Hans Breuer <hans@breuer.org>]
12519         * app/diagram_tree_window.[hc] : (new files) implementation of 
12520         the diagram tree window, a container for a diagram tree. [Removed
12521         the horizontal scroll bar glitch by disableing it]
12523         * app/diagram_tree.[hc] : (new files) implementation of the 
12524         diagram tree widget. [Don't rely on the layers GPtrArray to be
12525         NULL terminated, but use its ->len field] 
12527         * app/Makefile.am (dia_core_files): added new files
12528         diagram_tree.[hc] and diagram_tree_window.[hc]
12530         * app/interface.[hc] : (create_tree_window): this function 
12531         creates the new diagram tree window widget
12533         * app/undo.c (delete_objects_apply) (delete_objects_revert) 
12534         (insert_objects_apply) (insert_objects_revert) (group_objects_apply) 
12535         (ungroup_objects_apply) (ungroup_objects_revert): 
12536         every time that an undoable command modifies a diagram 
12537         adding/removing/(un)grouping objects, a diagram_tree_something() is 
12538         invoked to keep the diagram tree window in sync
12540         * app/properties.c (properties_apply): call to
12541         diagram_object_modified(), which updates the diagram tree window
12542         when the properties of an object are modified
12544         * app/preferences.[hc] : new "show_diagram_tree" configuration option 
12545         (whether the diagram tree window should be shown on dia startup)
12547         * app/menus.c : added '<Toolbox>/File/Diagram Tree' entry
12549         * app/diagram.h (diagram_object_modified): callback notifying of a
12550         diagram object modification
12552         * app/diagram.c (diagram_load_into): added call to
12553         diagram_tree_add() to add newly loaded diagrams to the diagram
12554         tree window
12555         (diagram_destroy): call to diagram_tree_remove() to remove a
12556         destroyed diagram from the diagram tree window
12557         (diagram_add_object): call to diagram_tree_add_object() to add an
12558         object to the diagram tree window
12559         (diagram_add_object_list): as above, but with an object list
12560         (diagram_selected_break_external): deletion of objects from the
12561         diagram is detected here, and diagram_tree_remove_object() is
12562         invoked to remove the object from the diagram tree window (it
12563         would be nice to have a diagram_remove_object() in the Diagram
12564         interface)
12565         (diagram_set_filename): update the diagram tree window when a
12566         diagram's filename changes
12568         * app/commands.c (file_new_callback): added call to
12569         diagram_tree_add() to add newly created diagrams to the diagram
12570         tree window
12572         * app/app_procs.c (app_init): added call to create_tree_window()
12574         * app/makefile.msc : updated
12576 2001-10-28  Hans Breuer  <hans@breuer.org>
12578         * app/preferences.h (DiaPreferences): 
12579         * app/preferences.c (prefs_data): new "show_diagram_tree"
12580         configuration option (whether the diagram tree window should be
12581         shown on dia startup)
12583         * app/menus.c: added the new "<Toolbox>/View/Diagram tree" menu
12584         entry (both for GNOME and gtk)
12586         * app/diagram.h (diagram_object_modified): callback notifying of a
12587         diagram object modification
12589         * app/diagram.c (diagram_load_into): added call to
12590         diagram_tree_add() to add newly loaded diagrams to the diagram
12591         tree window
12592         (diagram_destroy): call to diagram_tree_remove() to remove a
12593         destroyed diagram from the diagram tree window
12594         (diagram_add_object): call to diagram_tree_add_object() to add an
12595         object to the diagram tree window
12596         (diagram_add_object_list): as above, but with an object list
12597         (diagram_selected_break_external): deletion of objects from the
12598         diagram is detected here, and diagram_tree_remove_object() is
12599         invoked to remove the object from the diagram tree window (it
12600         would be nice to have a diagram_remove_object() in the Diagram
12601         interface)
12602         (diagram_set_filename): update the diagram tree window when a
12603         diagram's filename changes
12605         * app/commands.c (file_new_callback): added call to
12606         diagram_tree_add() to add newly created diagrams to the diagram
12607         tree window
12609         * app/app_procs.c (app_init): added call to create_tree_window()
12611 2001-10-28  Hans Breuer  <hans@breuer.org>
12613         * plug-ins/python/pydia-property.c : apparently I missed
12614         to commit this last time. Now it has some more SetAttr
12615         support (apply from property)
12617         * plug-ins/python/pydia-properties.h : added PyDiaProperty_Check
12619         * plug-ins/python/pydia-text.[ch] : new files
12621 2001-10-14  Hans Breuer  <hans@breuer.org>
12623         * lib/charconv.c : g_locale_to_utf8() does not handle NULL
12624         strings. Use g_strdup() for these.
12626         libxml2 does not produce 'any extra indentation when saving a tree'
12627         [libxml2-2.4.2/doc/upgrade.html] anymore, which was the default with
12628         libxml(1). To get human readable XML some extra tweaking is required.
12629         It is enabled by setting 'pretty_formated_xml' to 'true' in 'diarc'.
12630         * lib/dia_xml.[hc] : provide and use 'DIAVAR pretty_formated_xml'
12631         * app/preferences.[ch] : initialize 'pretty_formated_xml'
12633         * lib/libdia.def : updated externals
12635         * lib/properties.h : add prototype for prop_list_from_single ()
12637         * plug-ins/makefile.msc : build metapost plug-in
12639         * plug-ins/metapost/render_metapost.c : msvc does not like
12640         switch labels without operation 'default: }'. Added a noop.
12642         * plug-ins/python/pydia-text.[hc] : (new files) wrap DiaText
12643         * plug-ins/python/diamodule.c : added PyDiaText 
12644         * plug-ins/python/makefile.msc : dito. Also added LIBXML_CFLAGS.
12645         Although the python plug-in does not use libxml at all, the
12646         headers are required to use the lib/prop*.h headers
12648         * plug-ins/python/pydia-diagramdata.c : added wrappers for
12649         update_extents and get_sorted_selected (should I duplicate
12650         more functions from PyDiaDiagram or should they be moved?)
12652         * plug-ins/python/pydia-properties.c : allow to set (some) properties
12653         through the dictionary api
12654         * plug-ins/python/pydia-property.h : declare PyDiaProperty_ApplyToObject
12655         * plug-ins/python/pydia-property.c : implement it (currently only
12656         string properties can be set)
12658         Reimplement PyDiaProperty_GetAttr by means of the new StdProp api.
12659         Quoting myself: 'Still not convinced that this is better than an 
12660          integral property->type and some casting ...
12661          It is trading a straightforward 40 lines switch statement to
12662          this nice 'type safe' function mapping (about 125 lines)'
12663         (But now it works again, better than changing the News file :)
12664         
12665 2001-10-14  Cyrille Chepelov  <chepelov@calixo.net>
12667         patch from <robert.young@dsto.defence.gov.au>: 
12668         * objects/UML/component.c: remember to set font in UML component
12669         object (fixes #62132)   
12671 2001-10-02  Lars Clausen  <lrclause@cs.uiuc.edu>
12673         * plug-ins/metapost/metapost.c: 
12674         * plug-ins/metapost/Makefile.am:
12675         * plug-ins/metapost/render_metapost.c:
12676         * plug-ins/metapost/render_metapost.h:
12677         Metapost renderer from Chris Sperandio
12679 2001-09-14  Hans Breuer  <hans@breuer.org>
12681         * app/render_gdk.c : reflect the fact, that GTK already talks
12682         UTF8 on win32, fixes #59982, #56100, (#55992 ?) ...
12684         * lib/font.c : 
12685         * app/render_libart.c : trying to fix #58045 but it appears
12686         to be an Gdk/win32, too. 
12688         * lib/charconv.c : handle utf8 conversion with the help of
12689         glib-1.3 even in the !HAVE_UNICODE case.
12691         * lib/dia_xml.c : reduce complaing about missing encoding, by
12692         detecting if the default (utf8) would break the file.
12694 2001-09-13  Cyrille Chepelov  <chepelov@calixo.net>
12696         * lib/charconv.c: (get_local_charset): at least please try to not 
12697         silently change the logic, while avoiding crashes. 
12699         * lib/font.c: (suck_font): put a #error, we have a nasty something
12700         to fix there before we switch to Gtk 2.0.
12701         
12702 2001-09-09  Hans Breuer  <hans@breuer.org>
12704         * **/makefile.mingw : Approach to compile Dia with mingw.
12705         Compiling mostly works but running does not (yet) ... 
12707         * lib/geometry.h : 
12708         - use G_OS_WIN32 instead of _MSC_VER to drag in isinf, etc. definitions. 
12709           Apparently mingw needs it too.
12710         - enable 'normalization' of a null verctor. Otherwise the beziergon
12711           bounding box calculation would be broken at least with msvc. What's
12712           the mathematical correct result of 0.0/0.0 ?
12714         * lib/dia_xml.c : isinf() for mingw too.
12716         * lib/dia_dirs.c : use MAX_PATH instead of _MAX_PATH (works for mingw 
12717         and msvc)
12719         * lib/charconv.c : still crashes if strcmp(NULL, "UTF-8"). 
12720         Please don't do it.
12722         * lib/font.c : Trying to reflect that GTK_TALKS_UTF8_WE_DONT
12724         * lib/libdia.def : updated externals. Apparently mingw needs
12725         them to produce the right mangling.
12727         * plug-ins/shape/shape-exports.c : get prototypes for xmlStrdup
12728         and xmlDiaSaveFile
12730 2001-09-08  Wang Jian  <lark@linux.net.cn>
12732         * configure.in(ALL_LINGUAS): Renamed zh_CN.GB2312 to zh_CN
12734 2001-09-07  Cyrille Chepelov  <chepelov@calixo.net>
12736         * lib/dia_xml_libxml.h:
12737         * lib/dia_xml.c: (data_add_string), (xmlDiaSaveFile): Duplicated
12738         libxml1's code, to rework the output file before it gets committed
12739         to disk. This is rubbish, and will be removed when libxml2
12740         switches from discouraged to mandatory. 
12741         All in all, this fixes #60152. 
12742         
12743         * lib/charconv.h: 
12744         * lib/charconv.c: (charconv_unichar_to_utf8):
12745         made the type of the input parameter explicitly an unsigned long.
12747         * configure.in: Added a check for libz (we must now include it
12748         explicitly, for xmlDiaSaveFile).
12749         
12750         * app/load_save.c: (diagram_data_save):
12751         * lib/plug-ins.c: (ensure_pluginrc), (info_fill_from_pluginrc),
12752         (dia_pluginrc_write):
12753         * plug-ins/shape/shape-export.c: (new_shape_renderer),
12754         (end_render), (draw_string):
12755         * plug-ins/svg/render_svg.c: (new_svg_renderer), (end_render),
12756         (draw_string):
12758         Made sure we always write UTF-8 XML files, and through
12759         xmlDiaSaveFile().
12761         * NEWS: documented that fact.
12762         
12763 2001-09-07  James Henstridge  <james@daa.com.au>
12765         * configure.in (found_libxml): refactor the check for libxml a
12766         little so that it handles finding both libxml1 and 2 better.
12768 2001-09-03  Cyrille Chepelov  <chepelov@calixo.net>
12770         * app/app_procs.c: removed a spurious } which caused a compilation
12771         error in the (!HAVE_GNOME && HAVE_POPT_H) case
12773         * lib/charconv.c: (get_local_charset): some versions of iconv(1)
12774         don't know what ANSI X3.4-1968 is. I didn't know until this day,
12775         but it's just plain old ASCII. Added a check to shield the poor
12776         XML library.
12778         Patches from <robert.young@dsto.defence.gov.au>:
12780         * lib/text.c: (text_calc_boundingbox) Bounding box now calculates the
12781         width and height of text before calculating bounds. Fixes #59928
12783         * app/preferences.c: Moved grid related items into Grid Tab.
12784         
12785 2001-09-02  Cyrille Chepelov  <chepelov@calixo.net>
12787         * app/interface.c: (create_zoom_widget): connected one more signal
12788         to the Zoom selector combo's list. Fixes #59879.
12790         * app/app_procs.[ch]: (app_init) (do_convert)
12791         (build_output_file_name): brought back into the main executable
12792         the rare useful bits of the ill-fated diaconv. This means we have
12793         one new feature : --export-to-format (-t), which should make
12794         writing conversion scripts easier, and a crude implementation of
12795         -t and -e for the poptless argument parsing, which means the Win32
12796         port should be able to take advantage of it (that should make
12797         resolving #58197 possible).
12799         * app/diaconv.c: kept the poor duck compiling (but that's about
12800         it).
12802         * plug-ins/svg/render_svg.c: updated the SVG DTD header (I hope
12803         I've got it right).
12805         * NEWS: updated about the new feature above, and documented the 
12806         "missing encoding specification" complaint. 
12807         
12808 2001-09-01  Abel Cheung  <maddog@linux.org.hk>
12810         * configure.in: Rename zh_TW.Big5 -> zh_TW in ALL_LINGUAS.
12812 2001-09-01  Cyrille Chepelov  <chepelov@calixo.net>
12814         * objects/standard/bezier.c: used g_new0 instead of g_new, to take
12815         care of #59837.
12817 2001-09-01  James Henstridge  <james@daa.com.au>
12819         * */Makefile.am: various changes to include missing files, and fix
12820         sheets dir to handle building with builddir != srcdir.
12822         * autogen.sh: unconditionally pass the --enable-maintainer-mode
12823         and --enable-db2html flags so that builds from CVS work correctly.
12825         * configure.in: increment version number.  Also add an
12826         --enable-db2html flag.  Without the flag, db2html won't be run (if
12827         the flag is passed and db2html is not present, do nothing).
12829 2001-08-30  Cyrille Chepelov  <chepelov@calixo.net>
12831         * lib/poly_conn.c: (polyconn_copy): it's a wonder this routine
12832         even compiled. It's really too bad there is no lint tool easily
12833         available (or a more cautious, pedandic, paranoid and verbose
12834         compiler). Anyway, this fixes #59662. (this didn't affect 0.88.x)
12836 2001-08-27  Cyrille Chepelov  <chepelov@calixo.net>
12838         * app/load_save.c:
12839         * dia/lib/plug-ins.c: use g_strdup() instead of strdup(). Patch
12840         from <robert.young@dsto.defence.gov.au>. Fixes #59591.
12842         * app/menu.c: added ellipsis(...) to diagram properties menu item.
12843         * app/dia-props.c: diagram properties dialog contents did not
12844         represent current diagram settings.
12845         * app/dia-props.[ch]:
12846         * app/display.c: diagram properties contents now follows currently
12847         selected diagram.
12848         Patch also from <robert.young@dsto.defence.gov.au>, fixes #59409.
12850         * AUTHORS: added Robert Young.
12851         
12852 2001-08-27  Cyrille Chepelov  <chepelov@calixo.net>
12854         * app/modify_tool.c: (modify_button_release): Patch from
12855         <robert.young@dsto.defence.gov.au>. Fixes the remaining bit from
12856         #59090: if selection dragging was released outside of the window, 
12857         artifacts of the selection box remained.
12859 2001-08-25  Cyrille Chepelov  <chepelov@calixo.net>
12861         * Objects/custom/shape_info.c: added missing #include <xmlmemory.h>
12863 2001-08-19  Cyrille Chepelov  <chepelov@calixo.net>
12865         * configure.in:
12866         * sheets/Makefile.am: prepared the terrain for the Version of
12867         xml-i18n-tools Which Comes After 0.9 (and which will feature at
12868         last a sane behaviour with XML files). Some reasonible delay
12869         before enforcing that version *will* be given.
12871         * xml-i18n-merge.in.kg: included the current CVS xml-i18n-merge.in
12872         
12873         * lib/plug-ins.c: <xmlmemory.h> defines xmlFree(), otherwise it
12874         becomes a nonexistent symbol.
12875         
12876 2001-08-18  Hans Breuer  <hans@breuer.org>
12878         * app/app_procs.c : made it compile without ENABLE_NLS
12880         * app/diap_callbacks.c : strcmp isn't guaranteed to work
12881         with NULL pointers
12883         * app/load_save.c :
12884         * lib/plug-ins.c : 
12885         * objects/custom/shape_info.c : avoid mixing allocators and dealocators. 
12886         It has to be :
12887                 xmlGetProp, ... -> xmlFree
12888                 malloc, strdup -> free
12889                 g_new, g_malloc, g_strdup - > g_free
12891         * app/win32print.c : some more error checking, still not
12892         working on Win9x
12894         * lib/charconv.c : get_local_charset is used even with !HAVE_UNICODE
12896         * lib/dia_xml.c : msvc still has no unistd.h
12898         * lib/dia_xml.c :
12899         * lib/sheets.c : temporary resolved libxml include brokeness
12901         * plug-ins/python/pydia-*.c : reflect Font and StdProp api
12902         changes. Compiles again, but doesn't do anything useful anymore.
12903         (see THE_PROP_TYPE_IS_INTEGRAL)
12905         * **/makefile.msc : updated to use LIBXML2
12907         * lib/libdia.def : reflect api changes
12909 2001-08-17  Cyrille Chepelov  <chepelov@calixo.net>
12911         * config.h.win32: added defines telling that gtk speaks UTF8.
12912         Hans, I believe this reflects what GTK on Win32 does.
12914         * app/app_procs.c: if GTK talks UTF8, we'll feed it UTF8 localised
12915         strings.        
12916         * lib/prop_inttypes.c: 
12917         * lib/prop_text.c:
12918         * lib/prop_widgets.c: fixed typos in the GTK_TALKS_UTF8_WE_DONT
12919         code path.
12920         
12921         * lib/plug-ins.c: (dia_register_plugins_in_dir): If there is a
12922         trailing // (or whatever (G_DIR_SEPARATOR * 2) is), a recursive
12923         search for plug-ins is done.
12924         * app/Makefile.am: made app/run_dia.sh use the // capability. No
12925         need to update this anymore if we get a new plug-in library (or
12926         remove one).
12928         * lib/dia_xml.c: #include <unistd.h> was missing.
12929         
12930         * lib/properties.h: 
12931         * lib/proplist.c: (pdtpp_defaults): Added a new flag,
12932         PROP_FLAG_NO_DEFAULTS. Will be used in the "automatic defaults"
12933         support.        
12935 2001-08-16  Cyrille Chepelov  <chepelov@calixo.net>
12937         * sheets/civil.sheet: removed duplicate "Danish" entries.
12939         * autogen.sh:
12940         * configure.in: 
12941         * .cvsignore:
12942         * sheets/Makefile.am: 
12943         * po/POTFILES.in:
12944         * Makefile.am: applied the xml-i18n-tools README's instructions.
12946         * po/(da de fr hu nl nn no sl).po: merged the translations from
12947         the sheet files into the .po files. I hope I haven't mixed
12948         languages...
12949         * sheets/*.sheet (REMOVED):
12950         * sheets/*.sheet.in (NEW): moved the sheet files sans
12951         translations into .sheet.in files. 
12952         
12953         * sheets/xml-i18n-unicodify: (NEW) included from xml-i18n-tools,
12954         because we don't yet want to force all translators to work using
12955         UTF-8 editors. We'll want to do that sometime (sooner rather than
12956         later). Okay, I sing a slightly different tune in po/ChangeLog...
12958         * dia.desktop (REMOVED):
12959         * dia.desktop.in (NEW): used also the x18t infrastructure for
12960         this too.
12962         * xml-i18n-update.in.kg (NEW): This one will stay in CVS until an
12963         "official" version of x18t with support for .sheet files is available.
12964         * xml-i18n-merge.in.kg (NEW): This one will stay in CVS until an
12965         "official" version of x18t which doesn't corrupt UTF-8 data in XML
12966         is available.
12967         
12968         ** yes, we are now using xml-i18n-tools to manage the sheet
12969         translations. For the Win32 build, Nemo stores snapshots of
12970         translated strings next to the CVS snapshots. **
12972         * sheets/checktrans.py: suddenly, some sheets have lots of
12973         translations (objects which existed before sheets, mostly).
12974         Adapted the formatting.
12976         * po/README (REMOVED): this is obsolete ! It was ignored, anyway.
12978         * app/display.[ch]: (ddisplay_autoscroll), (ddisplay_scroll):
12979         * app/modify_tool.[ch]: (modify_motion): A (modified) patch from
12980         <robert.young@dsto.defence.gov.au>, to fix #59090.
12982         * app/display.c: (ddisplay_scroll): While at it, added some
12983         margin, so that autoscrolling can happen within a margin outside
12984         the diagram's extents.
12986         * app/tool.[ch]: 
12987         * app/interface.c:
12988         * app/disp_callbacks.c: Robert "forced" me to go when I usually
12989         don't, namely the app/ directory. So while I was there, I
12990         scratched a long-time itch. If no object has focus, pressing the
12991         space bar will select back the tool which was selected before the 
12992         current one (I find this especially useful with "reset after create" !)
12993         
12994         * lib/proplist.c: (prop_list_from_single): Renamed
12995         prop_list_singleton() to avoid confusion with the Singleton
12996         pattern (which it definitely is not).
12997         
12998         * lib/propobject.c: (object_prop_by_name_type),
12999         (object_prop_by_name): The "flags" parameter was not necessary.
13000         These don't return synthetic properties, but properties built from
13001         a real property description list; therefore, we don't call
13002         make_new_prop() but use the existing property descriptor, which
13003         has perfectly valid (and meaningful) flags.
13005         * lib/proplist.c: (pdtpp_synthetic), (pdtpp_from_object): These
13006         new predicates better reflect the reason why properties exist when
13007         they're created by make_new_prop() or object_prop_by_name().    
13009         * lib/propobject.c: (object_prop_by_name_type), (object_prop_by_name):
13010         * lib/prop_basic.c: (make_new_prop): used the new reasons instead
13011         of pdtpp_true().
13013         * lib/properties.h: reflects all the above changes.
13015         * objects/SADT/arrow.c:
13016         * objects/SADT/annotation.c:
13017         * sheets/SADT.sheet: minor renamings to better match FIPS 183's
13018         IDEF0 terminology.
13019         
13020 2001-08-15  Cyrille Chepelov  <chepelov@calixo.net>
13022         * lib/properties.h:
13023         * lib/proplist.c: (prop_list_singleton):
13024         * lib/propobject.c: (object_prop_by_name_type), (object_prop_by_name):
13025         Added these, to simplify interactions of plug-ins with the StdProp
13026         core.
13028         * lib/Makefile.am:
13029         * lib/dia_xml.h:
13030         * lib/dia_xml_libxml.h (NEW): 
13031         * app/load_save.c:
13032         * lib/dia_xml.c:
13033         * lib/plug-ins.c:
13034         * lib/sheet.c:
13035         * objects/custom/shape_info.c: A few prototypes were causing
13036         #include hell, because we generally attempt to not pull the whole
13037         libxml header set when we include dia_xml.h. Moved those
13038         prototypes away for the rare cases they're necessary.
13039         
13040 2001-08-15  Hans Breuer  <hans@breuer.org>
13042         * lib/font.c : made LARS_TRACE_MESSAGES Standard C conform
13044         * lib/libdia.def : 
13045         * lib/makefile.msc : updated
13047         * lib/prop_basic.c : __FUNCTION__ is a gcc extension. Please
13048         use G_GNUC_FUNCTION instead.
13050         * lib/prop_inttypes.c : include <stdlib.h> for strtol()
13052         * objects/sadt/annotation.c : disable TEMPORARY_EVENT_TEST for
13053         msvc instead of cleaning missing includes
13055         * plug-ins/wmf/wmf.cpp :
13056         * plug-ins/wmf/wmf_gdi.h : fixed for Font to DiaFont renaming
13058 2001-08-15  Cyrille Chepelov <chepelov@calixo.net>
13060         * app/app_procs.c:
13061         * app/load_save.c:
13062         * lib/dia_xml.c:
13063         * lib/plug-ins.c:
13064         * lib/sheet.c:
13065         * objects/custom/shape_info.c:
13066         * plug-ins/shape/shape-export.c:
13067         * plug-ins/svg/render_svg.c: used the libxml1/libxml2
13068         compatibility macros as taught by http://xmlsoft.org/upgrade.html;
13069         removed xmlKeepBlanksDefault(0) in favour for proper
13070         xmlIsBlankNode() testing. Lots of other fixups to use the
13071         "libxml1.5" (libxml2 parser embedded in recent libxml1), and to
13072         make libxml1 output correct files.
13074         * configure.in: use libxml2 (>= 2.3.9) if it's found, or
13075         libxml1 (>= 1.8.14). Exactly one of these must be installed (devel
13076         packages). If both devel packages are found, the build will stop 
13077         (Fredrik: please add a Build-Conflicts: on libxml2-dev for the moment) 
13079         * lib/bezier_conn.c: (bezierconn_init): Lars, you forgot to
13080         allocate the first handle :-)
13081         
13082         * lib/object.c: (object_init): <gratuitous>g_new() used instead of
13083         a cast and a sizeof.</gratuitous>
13085         * objects/custom/custom_object.c: (custom_copy): don't call
13086         text_get_attrbutes if the shape has no text...
13087         (custom_update_data): The info->resize_with_text code was a bit
13088         directive; basically, the shape's bounding box was forced to be 
13089         proportional to the text's bounding box.... This fixes #57187.
13090         
13091         * objects/custom/shape_info.c: (load_shape_info): Set an obvious
13092         default for info->aspect_ratio; unobfuscated a line about
13093         info->resize_with_text;
13094         
13095 2001-08-15  Cyrille Chepelov <chepelov@calixo.net>
13097         * lib/properties.h: added comments next to the PROP_TYPEs to tell
13098         which C Property subclass to use.
13099         
13100         * plug-ins/dxf/dxf-import.c: (read_entity_line_dxf): Removed the
13101         cast-ridden form of setting properties in a list, in favour for
13102         the "local pointers" form. I'll take any better offer...
13104 2001-08-14  Cyrille Chepelov <chepelov@calixo.net>
13105         
13106         * lib/font.c: fprintf(...) --> fprintf(format...)
13108         * configure.in: added a disabled versioned test for glib.
13109         * lib/prop_geomtypes.c: (bezpointprop_load), (bezpointprop_save),
13110         (bezpointarrayprop_load), (bezpointarrayprop_save): replaced
13111         g_critical() with a simple g_error(). Proper fix is to implement
13112         that stuff. 
13114         * lib/properties.h: PROP_STD_TEXT is a PROP_TYPE_TEXT, not a
13115         PROP_TYPE_STRING.
13116         
13117         * lib/properties.h:     
13118         * lib/propdesc.c: (prop_desc_list_calculate_quarks):
13119         * lib/proplist.c: (find_prop_by_name_and_type):
13120         * lib/prop_basic.c: (make_new_prop), (initialize_property):
13121         * lib/propoffsets.c: (do_set_props_from_offsets),
13122         (do_get_props_from_offsets), (prop_offset_list_calculate_quarks):
13123         Added a type_quark member to PropDescription, Property and
13124         PropOffset. Used it to implement a safety in
13125         do_[sg]et_props_from_offsets().
13126                 
13127         * objects/flowchart/diamond.c: the diamond's text was not saved,
13128         and thus not even copied (c&p).
13129         * objects/standard/textobj.c: ditto.
13131         Most of the above changes thanks to Robert Young's testing. Thanks !
13132         
13133 2001-08-14  Kjartan Maraas  <kmaraas@gnome.org>
13135         * sheets/*.sheet: Added some Norwegian translations (both nynorsk
13136         and bokmÃ¥l).
13137         
13138 2001-08-13  Cyrille Chepelov  <chepelov@calixo.net>
13140         * lib/proplist.c (prop_list_from_descs): added a call to
13141         prop_desc_list_calculate_quarks(). (find_prop_by_name_and_type):
13142         too embarrassing to tell.
13143         
13144         * lib/propdesc.c (prop_desc_list_calculate_quarks): converted the
13145         while loop to a for loop, for symmetry with
13146         prop_offset_list_calculate_quarks().
13148         * lib/geometry.h: new inline function, rectangle_equals.
13150         * lib/diagramdata.[ch]: refactored a bit the diagram extents
13151         computation logic, and changed it to always be the union of the
13152         visible layers' extents. This should close #58882 (Debian
13153         #107167), and fixes #55498.
13155         * app/display.c: made the initial visible box more coherent with
13156         the diagram being loaded's extents.
13158         * app/prop_attr.c: don't set the font (from offset) if font_data
13159         is NULL. Two brainos in colorprop_load() and fontprop_load().
13160         
13161 2001-08-13  Cyrille Chepelov  <chepelov@calixo.net>
13163         * lib/properties.[ch]: split in a lot of pieces: 
13165         * lib/prop_*.[ch] (NEW): all property types are now first-class
13166         objects, inheriting from the original abstract Property type.
13167         * lib/propdesc.c (NEW): property description handling routines
13168         * lib/propoffsets.c (NEW): property offset handling routines
13169         * lib/proplist.c (NEW): property list handling routines
13170         * lib/propobject.c (NEW): property list <-> object routines
13171         * lib/propregistry.c (NEW): holds the PropertyType-->PropertyOps
13172         relations.
13173         * lib/propinternals.h: prototypes for stuff not usually needed by 
13174         the outside of StdProps.
13175         * lib/Makefile.am: a lot of new files have been added...
13177         THE ABOVE CHANGES ARE MAJOR CHANGES AND AFFECT THE WHOLE TREE, IN
13178         BOTH INTERFACES AND RUN-TIME STABILITY.
13180         * lib/plug-ins.h: bumped up DIA_PLUGIN_API_VERSION
13181         
13182         * lib/object.h: removed the incestuous relationship with
13183         properties.h' contents. Now a Property list is a GPtrArray -->
13184         object interface change !
13186         * app/app_procs.c/app_init(): removed a disabled call to a
13187         non-existent routine. Added a call to stdprops_init().
13188         
13189         * objects/Makefile.am: disabled the construction of EML. I'm not
13190         touching these until a certain issue is solved (or this module
13191         removed).
13192         * app/group.c:  
13193         * objects/**/*.c except objects/EML/*: adapted all stdprop-using 
13194         objects to the interface changes.
13195         
13196         * app/disp_callbacks.c: killed a warning.
13197         * lib/dia_xml.[ch]: sprinkled "const" modifiers. 
13199         * app/commands.c: 
13200         The macros PROP_VALUE_* have disappeared. Adapted to using the new 
13201         interface.
13203         * plug-ins/dxf/dxf-import.c: 
13204         * plug-ins/xfig/xfig-import.c: 
13205         PROP_VALUE_* macros have been removed. Converted to the new API.
13207         * plug-ins/python/**/*: I gave up converting this; I can't
13208         compile --with-python (problems with object.h defined both by us
13209         and by Python). I'll gladly help whomever cares to fix it !
13210         (or, fix it myself if someone tells me how to compile it).
13211         
13212         * configure.in: added the UNICODE-related progress defines.
13213                 
13214         * configure.in:
13215         * lib/geometry.h: On Solaris and perhaps other systems, finite()
13216         is defined in ieeefp.h rather than in math.h. Patch from Andrew
13217         Halper <ashalper@acm.org> with further modifications, isinf() is
13218         provided by -lsunmath (sunmath.h).
13219         
13220         * lib/font.c: conditionally disabled Lars' debugging messages.
13221         Bracketed the definition of DiaFontFamily with #ifdef HAVE_FREETYPE.
13222         
13223 2001-08-11  Lars Clausen  <lrclause@cs.uiuc.edu>
13225         * lib/bezier_conn.h: 
13226         * objects/standard/bezier.c (bezierline_create): 
13227         * lib/bezier_conn.c (bezierconn_init): 
13228         Preparations for use of userdata for bezier lines.
13229         
13230         * objects/standard/polygon.c: 
13231         * objects/standard/create.h:
13232         * lib/polyshape.c:
13233         * lib/polyshape.h:
13234         * plug-ins/xfig/xfig-import.c:
13235         Use of user_data for polygon as well, including adding
13236         polyshape_set_points.  Include file for non-interactive 
13237         creation of standard objects, objects/standard/create.h
13239 2001-08-10  Lars Clausen  <lrclause@cs.uiuc.edu>
13241         * app/render_gdk.c: 
13242         * app/render_gdk.h: 
13243         * lib/font.c:
13244         * lib/font.h:
13245         * lib/widgets.c:
13246         More preliminary freetype support.  Not at all functional, crashes
13247         when rendering.
13249         * lib/poly_conn.h: 
13250         * lib/poly_conn.c: 
13251         * objects/standard/polyline.c: 
13252         Support for creating polyline objects with more than two points.
13253         This includes an extra function and a prototype change in the
13254         poly_conn lib object.
13256         * lib/object.c (object_copy): Fixed memory leak of handles and
13257         connections.
13259 2001-08-08  Abel Cheung  <maddog@linux.org.hk>
13261         * dia.desktop: added traditional Chinese strings
13263 2001-08-04  Cyrille Chepelov  <chepelov@calixo.net>
13265         * NEWS: updated to reflect build-time dependencies.
13267         * lib/properties.[ch]: wrote get_prop_descriptions() as a wrapper
13268         around obj->ops->describe_props(obj). Quarks are none of an
13269         object's business in the general case... 
13270         * lib/text.c: Added an apply_textattr_properties() function to
13271         factor out some common code related to applying a dialog's text
13272         attribute properties to a (Text *) which wasn't edited there. 
13273         Ditto for textstr, for the string part of an objet.
13275         * objects/GRAFCET/action.c:
13276         * objects/SADT/annotation.c:
13277         * objects/SADT/box.c: used apply_textattr_properties().
13278         
13279         * objects/UML/actor.c: 
13280         * objects/UML/branch.c:
13281         * objects/UML/component.c:
13282         * objects/UML/constraint.c:
13283         * objects/UML/small_package.c:
13284         * objects/UML/state.c:
13285         * objects/UML/usecase.c:
13286         * objects/UML/large_package.c:
13287         * objects/UML/note.c:
13288         * objects/UML/node.c:
13289         * objects/UML/message.c:
13290         * objects/UML/classicon.c:
13291         * objects/UML/object.c:
13292         * objects/UML/realizes.c:
13293         * objects/UML/dependency.c:
13294         * objects/UML/implements.c:
13295         slim-fast(tm) cure using more StdProps, and UTF-8 audit.
13296         (most objects were already using StdProps to some extent ; this
13297         systematises usage and removes some dead wood). 
13298         
13299         * objects/UML/stereotype.[ch]: use UTF-8 internally. const police work.
13300         * objects/UML/uml.[ch]: audited for UTF-8.
13302         * objects/UML/class.c: the UML_STEREOTYPE_* strings defined by
13303         uml.h can be in UTF-8... this code isn't yet ready. Duplicating a
13304         private (ISO-8859-1) definition.
13305         
13306         * lib/charconv.c: Added a warning if we didn't run
13307         nl_langinfo(CODESET) but rely instead on a hardcoded default.
13308         
13309 2001-08-02  Cyrille Chepelov  <chepelov@calixo.net>
13311         * lib/diamenu.h:
13312         * app/disp_callbacks.c: added a way for an object to cause an
13313         already realised menu to be destroyed (for instance if it changes
13314         too much).
13316         * objects/custom/custom_object.c: used the above to fix #55073.
13318 2001-08-01  Lars Clausen  <lrclause@cs.uiuc.edu>
13320         * configure.in: Remove 2.50 prereq.
13322 2001-07-30  Cyrille Chepelov  <chepelov@calixo.net>
13324         * po-checktrans.py: under some circumstances, there was one column 
13325         more than what was supposed to be, thus breaking the formatting.
13326         
13327 2001-07-29  Cyrille Chepelov  <chepelov@calixo.net>
13328         
13329         * objects/SADT/annotation.c: forgot to add a #include <stdlib.h>
13331         * NEWS: updated with new stuff since 0.88
13333         * shapes/network/antenna.shape: the text was misplaced ; fixed.
13335         * shapes/network/firewall.(shape|xpm) (NEW): a brick-wall looking
13336         firewall router (upon request from Cyril Lacoux
13337         <clacoux@easter-eggs.com>)
13339         * configure.in (didn't rename to configure.ac): autoconf 2.50
13340         constructs were used ; added an AC_PREREQ call to guard against
13341         older autoconfs.
13342         
13343 2001-07-27  Cyrille Chepelov  <chepelov@calixo.net>
13345         * lib/properties.c: minor clean-ups with the event delivery code.
13347         * EML/instantiation.c: brought this object back from stone and ice
13348         age.    
13350         * app/diaconv.c(NEW): added a command-line conversion tool. Still
13351         lacks a man page and correctness. In fact, it doesn't work. Please
13352         see #58196 if you want to finish it.
13353         
13354         * lib/message.[ch]: redefined things a little so that a different
13355         message_internal routine could be passed.
13356         applications can use that to fit themselves to the display model.
13358 2001-07-26  Cyrille Chepelov  <chepelov@calixo.net>
13360         * objects/SADT/box.c: 
13361         * objects/GRAFCET/action.c: spelling in property descriptors (name
13362         field...)
13363         * objects/SADT/annotation.c: ditto, plus a temporary test of the
13364         event delivery code (try to click on the "click me !" button !).
13366         * app/group.c: 
13367         * lib/properties.[ch]: improved (fixed) support for group event 
13368         handlers. Fixed various things from yesterday's code to make it
13369         not too obviously crash.
13371 2001-07-26  Cyrille Chepelov  <chepelov@calixo.net>
13373         * app/group.c: added delivery of events to the first member of the
13374         group which is able to process it.
13376         * lib/properties.c(prop_desc_lists_intersection): properties
13377         don't match if they don't have identical event handler.
13378         * lib/properties.h: simplified the PropEventHandler signature.
13380         Event delivery code is still untested so far, but should be
13381         lurking harmless.
13382         
13383 2001-07-25  Cyrille Chepelov  <chepelov@calixo.net>
13385         * lib/properties.[ch]: Added (untested !) property event handler
13386         capability. Added a new PROP_TYPE_BUTTON, for the purpose of
13387         generating such events. This stuff compiles, and should lurk
13388         around silently as long as you don't declare property descriptors
13389         with events (AFAICT).
13390         In object_create_props_dialog() and friends:
13391         attached a single structure with lots of data instead of lots of
13392         little attachments of data to the dialog widget.
13393         
13394         * lib/object.h: fixed mild typedef breakage introduced by the above.
13396 2001-07-17  Lars Clausen  <lrclause@cs.uiuc.edu>
13398         * lots of files: Changed Font to DiaFont
13399         * */Makefile.am: Added FREETYPE_LIBS
13400         * plug-ins/xfig/xfig-export.c: Improved (working:) color handling
13402 2001-07-13  Kjartan Maraas  <kmaraas@gnome.org>
13404         * configure.in: Added "nn" to ALL_LINGUAS.
13405         
13406 2001-07-09  Alex Larsson  <alexl@redhat.com>
13408         * app/disp_callbacks.c:
13409         Add gdk_im_ready() calls to XIM code.
13411 2001-07-04  Cyrille Chepelov  <chepelov@calixo.net>
13413         * lib/properties.[ch]: splitted prop_get_widget() into
13414         prop_get_widget() (gives a widget but doesn't fill it) and 
13415         prop_reset_widget() (fills an existing widget with a property's value).
13417         * lib/widgets.[ch]: const enforcement police work.
13419         * shapes/network/antenna.shape: added a connection point at top,
13420         upon request from <Emmanuel.Quemener@cri.ens-cachan.fr>.
13421         
13422 2001-06-25  Cyrille Chepelov  <chepelov@calixo.net>
13424         * intl/*: tested with gettext-0.10.38
13425         * configure.in: moved a macro call around (AM_PROG_CC) to keep
13426         some of autogen.sh from complaining.
13427         * INSTALL: added a warning against gettext older than at least 0.10.36
13428         
13429 2001-06-19  Cyrille Chepelov  <chepelov@calixo.net>
13431         * configure.in: added explicit calls to AM_LANGINFO_CODESET and
13432         AM_ICONV (both provided by gettext)
13434 2001-06-14  Cyrille Chepelov  <chepelov@calixo.net>
13436         * lib/charconv.c: corrected the degraded mode for when
13437         !HAVE_UNICODE. Thanks to Ben A. Hetland for reporting this.     
13439         * objects/chronoline/chronoline_events.c: UTF8 compliance.
13440         
13441 2001-06-13  Cyrille Chepelov  <chepelov@calixo.net>
13443         * lib/properties.[ch]: convenience macros around PROP_NOTEBOOKS ;
13444         new "eye candy" properties: PROP_MULTICOL_(BEGIN|PAGE|END) to lay 
13445         widgets on several columns, PROP_FRAME_(BEGIN|END) to put widgets
13446         into a frame box.
13448         * objects/chronogram/chronoline.c:
13449         * objects/chronogram/chronoref.c: took advantage of the above to
13450         make nicer looking dialogs.
13452         * lib/charconv.[ch]: added charconv_unichar_to_utf8 ("inspired"
13453         from libunicode's internals).
13454         * lib/message.c: convert strings to local encoding prior to
13455         display (UNICODE_WORK_IN_PROGRESS)
13456         * lib/properties.[ch]: convert strings to local encoding prior to
13457         display, and back to UTF8 (UNICODE_WORK_IN_PROGRESS).
13458         * lib/render.h: tagged strings as (utfchar *) instead of (char *)
13459         * lib/stringprerenderer.[ch]: ditto
13461         (lib/text.c has been audited for UTF8, but the size of the changes
13462         make them inappropriate for commit before 0.89)
13463         
13464 2001-06-12  Cyrille Chepelov  <chepelov@calixo.net>
13466         * objects/boolequation.h (<save|load>_boolequation): made the 
13467         prototypes for match the .c file.
13468         
13469         * samples/grafcet.dia: minor non-conformance with IEC-848
13470         fixed (in the transition from step 100 to step 101).
13472         * lib/properties.[ch]: added a flag (PROP_FLAG_DONT_MERGE) to
13473         disallow editing of properties if the object is part of a group.
13475         * objects/chronogram/chronoline.c: 
13476         * objects/SADT/annotation.c:
13477         * objects/SADT/box.c:
13478         * objects/GRAFCET/step.c:
13479         * objects/GRAFCET/transition.c:
13480         * objects/GRAFCET/condition.c: took advantage of PROP_FLAG_DONT_MERGE.
13481         
13482 2001-06-12  Hans Breuer  <hans@breuer.org>
13484         * lib/libdia.def : removed lazyprop exports
13485         * lib/makefile.msc : removed lazyprop.obj
13487         * objects/custom/custom_objects.c : use HAVE_UNISTD_H
13488         and avoid crashes by always creating a custom->text,
13489         when (custom->info->has_text) 
13491         * objects/makefile.msc : removed sybase from build
13493         * objects/GRAFCET/boolequation.c (<save|load>_boolequation) :
13494         ObjectNode is a pointer already, which is what we want
13495         instead of a pointer pointer.
13497         * plug-ins/wmf/wmf.cpp : fixed problem with arc scaling
13498         and implemented working export for images
13500         * shapes/network/zip-disk.shape : added connection points 
13502 2001-06-12  Cyrille Chepelov  <chepelov@calixo.net>
13504         * objects/SADT/box.c: removed lazyprops for standard props.
13505         * objects/chronograms/chronoline.c: removed lazyprops (phew !)
13506         * objects/chronograms/chronoref.c: ditto 
13508         * lib/Makefile.am:
13509         * lib/dummy_dep.h:
13510         * lib/connpoint_line.c:
13511         * lib/lazyprops.[ch] (DELETED): good riddance (closes #55895)
13512         * lib/properties.[ch]: new property types:
13513             - PROP_TYPE_STATIC: static text to be displayed in the dialog.
13514             - PROP_TYPE_MULTISTRING: same as string, but renders as a
13515             multi-line entry box.
13516             - PROP_TYPE_NOTEBOOK_BEGIN,_PAGE,_END: stuff to make dialogs
13517             in a tabbed-notebook style (this is a bit complicated to use; 
13518             see objects/chronograms/chronoline.c for an example).
13519                
13520 2001-06-11  Cyrille Chepelov  <chepelov@calixo.net>
13522         * objects/GRAFCET/boolequation.[ch]: zap lazyprops. Add standard props.
13523         * objects/GRAFCET/step.c: ditto.
13524         * objects/GRAFCET/vector.c: ditto.
13525         * objects/SADT/annotation.c: ditto.
13526         * objects/SADT/arrow.c: ditto (plus bounding box fixes).
13527         
13528         * lib/properties.[ch]: two more non-visible types
13529         (PROP_TYPE_ENUMARRAY and PROP_TYPE_INTARRAY).
13531         * lib/neworthconn.[ch]:
13532         * lib/orthconn.[ch]: added support for manipulation through
13533         standard properties.
13535         * configure.in: removed -fomit-frame-pointer, this seems to
13536         confuse recent gcc/gdb's, maybe we'll get better stack dumps in 
13537         bugzilla.
13539         * charconv.[ch]: more functions from unicode.h.
13540         get_local_charset() wasn't working properly, fixed now.
13541         A subtle crashbug in charconv_utf8_to_local8() nailed (thanks to 
13542         ElectricFence !)
13543         
13544         * objects/EML/process.h: pulled the bits of lazyprops.h it uses.
13545         * lib/lazyprops.[ch]: put a big fat warning in.
13547         * app/render_eps.c: one line mysteriously went away, causing a
13548         variable to be used uninitialised....
13550 2001-06-10  Cyrille Chepelov  <chepelov@calixo.net>
13552         * app/app_procs.c: commented out the call to
13553         bind_textdomain_codeset(): it's premature.
13554         
13555         * lib/connpoint_line.c: a NULL point can be given to
13556         connpointline_adjust_count(), in case there's not really a clicked
13557         point.
13559         * lib/textattr.h(NEW): moved the definition of TextAttributes to sort
13560         #include order troubles. #included by lib/text.h, so there is no 
13561         impact outside lib/.
13562         * lib/properties.[ch]: added support for CONNPOINT_LINE and
13563         (nonvisible) TEXT properties.
13565         * objects/GRAFCET/action.c:
13566         * objects/GRAFCET/vergent.c: dropped lazyprops for standard
13567         properties.
13568         
13569         * objects/UML/lifeline.c: pruned some legacy stuff (now pure
13570         standard properties code). Grafted a dynamic number of connection
13571         points (heavily inspired from what Vergent does). This is the real
13572         fix for #55863.
13574         * objects/GRAFCET/boolequation.[ch]: audited for UTF-8
13576         * lib/fonts.c: some hardening (mostly g_assert())
13577 2001-06-09  Cyrille Chepelov  <chepelov@calixo.net>
13579         * app/app_procs.c (app_init): added a call to
13580         bind_textdomain_codeset() so that gettext gives us UTF-8 strings
13581         (UNICODE_WORK_IN_PROGRESS).
13582         
13583 2001-06-08  Cyrille Chepelov  <chepelov@calixo.net>
13585         * plug-ins/xfig/xfig-import.c: corrected a typo (fixes #55910)
13587         * objects/UML/lifeline.c: patch from Marc <mrw@siemens.ch> 
13588         (fixes #55863) : some clean-ups in the handling of connection
13589         points. Now the total number of connection points is just a
13590         #define (the proper solution is to retrofit the GRAFCET Vergent's
13591         dynamic behaviour wrt connection points).
13592         
13593 2001-06-07  Cyrille Chepelov  <chepelov@calixo.net>
13595         * app/app_procs.c (app_init): added a call to unicode_init() (only
13596         if HAVE_UNICODE, of course).
13598         * lib/charconv.c: simplified the code which detects the local
13599         charset. No need to use <langinfo.h>, libunicode already takes the
13600         burden of figuring that out. Also, if local charset is utf8, no
13601         conversion will take place.
13602         Exposed a way to get the current charset (similar to
13603         unicode_get_charset() but actually working, hopefully).
13605         * lib/charconv.h: Added a partial non-UTF8 implementation of
13606         unicode.h if !HAVE_UNICODE (actually, all the time for the
13607         moment). The UTF8 implementation is just macros on libunicode (use
13608         the functions prefixed by uni_, as defined by charconv.h, not
13609         unicode_, unless that code is to be compiled only if HAVE_UNICODE).
13610         From now on, all strings which don't *need* to be ASCII should be
13611         utfchar *, not gchar *. Just include charconv.h, let it sort out
13612         the details (such as: "is libunicode available and enabled?") 
13614         * lib/ps-utf8.c: fixed a few name clashes. Used the charconv.h
13615         "API" instead of directly libunicode. Removed the now unnecessary
13616         speculative clustering of characters in encoding pages.
13618         * app/render_eps.c: made the local8->utf8 conversions dependent of
13619         !UNICODE_WORK_IN_PROGRESS (this is not where the local8/utf8
13620         boundary will be when this WIP is done).
13622         * lib/dia_xml.c (data_point): fixed a format string typo.
13624         * po/POTFILES.in: added all C files from lib/ 
13625         
13626 2001-06-06  Cyrille Chepelov  <chepelov@calixo.net>
13628         * app/disp_callbacks.c: make sure the objects' connected objects
13629         are updated when the objects' size changes after a keypress event
13630         (fixes #51222)
13632         * configure.in: added a big warning about the possible future
13633         non-optionality of --enable-unicode. 
13635         * TODO: removed entries which look like done ; added a few ones
13636         (Bugzilla "enhancement" bugs may be a better way to keep track of
13637         this)
13638         
13639 2001-06-05  Cyrille Chepelov  <chepelov@calixo.net>
13641         * objects/UML/message.c: got rid of #55564 and of message_copy()
13642         by using more standard properties (are the message_state_*()
13643         functions still necessary ?)
13645 2001-06-04  Fredrik Hallenberg  <hallon@lysator.liu.se>
13647         * lib/plug-ins.c: 
13648         * objecs/custom/shape_info.c:
13649         * plug-ins/shape/shape-export.c:
13650         * plug-ins/svg/render_svg.c: patch from obecian <obecian@openbsd.org>
13651         use xmlChar instead of obsolete CHAR.
13653 2001-06-03  Hans Breuer  <hans@breuer.org>
13655         * app/diagram.h : added prototype for diagram_update_menu_sensitivity()
13656         * app/commands.c : give the right number of parameters
13657         to diagram_update_menu_sensitivity ()
13659         * app/preferences.c : do proper initialization for DiaPrefsData:
13660         render_bounding_boxes. It would be a real surprise if 'hidden'
13661         properties would have ever worked before.
13662         Don't try to access the widgets of hidden property, it does not
13663         have one.
13665         * lib/diagramdata.h : make render_bounding_boxes a DIAVAR, cause
13666         it is defined in libdia, but initialized from dia app, which 
13667         otherwise gave nice start-up crashes.
13669         * lib/diagramdata.c : initialize the color for rendering bounding 
13670         boxes in the Dia range (0 .. 1.0)
13672         * lib/libdia.def : added *_bbox functions for export
13674         * lib/makefile.msc : added new sources
13676         * objects/custom/custom_object.c : use HAVE_UNISTD_H
13678 2001-05-30  Cyrille Chepelov  <chepelov@calixo.net>
13680         * app/interface.c:
13681         * app/menus.c: patch from Hubert Figuiere <hfiguiere@teaser.fr> ;
13682         removes a translation of menus (in a place where there shouldn't
13683         have been), which gets rid of a waterfall of warnings if LANG!=C,
13684         and a fix to #55047.
13686 2001-05-29  Steffen Macke     <sdteffen@yahoo.com>
13688         * lib/charconv.c : added #include <errno.h>
13690         * app/dia_embedd.c : updated menus_get_item_from_path usage
13691         
13692 2001-05-27  Cyrille Chepelov  <chepelov@calixo.net>
13694         * lib/ps-utf8.c: Strings in Symbol fonts were incorrectly rendered.
13695         Added a special case for Symbol strings, so that they're not
13696         re-encoded using the LN encoding (we use the bare Adobe encoding
13697         instead).
13699         * objects/custom/custom_object.c: Now that #52912 is fixed,
13700         I could remove the ugly hack I wrote to squash the shape bounding box
13701         problem shown by Ben A. Hetland a few months ago, and fix it
13702         properly this time.
13703         
13704         * lib/text.c: enlarged a little the bounding box to account for
13705         the cursor in rightmost position.
13706         
13707         * lib/diagramdata.c: draw bounding boxes only if the relevant
13708         variable is set (as before), but also only if the rendere is
13709         interactive (ie, don't bother rendering bounding boxes on 
13710         Postscript...)
13711         Made the bounding box's line width a fixed value, 0.01
13712         
13713         * lib/boundingbox.c: fixed the "pointy corners" code for polylines
13714         and assymmetric control beziers. Implemented ellipse_bbox().
13715         
13716         * Makefile.am: incantations to get po/dia.pot build, as suggested
13717         by Hubert in #55075.
13718         
13719         * shapes/network/computer.shape: typo fixed.
13720         * shapes/network/antenna.shape: fixed #55074 (antenna is now
13721         properly translucent, except for its base where it makes sense. It
13722         doesn't look that ugly anymore if transparent mode is on).
13724         * configure.in: --enable-unicode is now the default. This
13725         still currently affects only printing.
13726         
13727 2001-05-26  Cyrille Chepelov  <chepelov@calixo.net>
13729         * lib/boundingbox.c: fixed a minor logic error wrt closed shapes. 
13730         The overshoot code is buggy, and the bounding boxes for polyshapes
13731         looks a bit cheezy. To be done ASAP.
13733 2001-05-26  James Henstridge  <james@daa.com.au>
13735         * configure.in: call AM_PATH_PYTHON rather than AM_PATH_PYTHON_JH.
13736         This should clear up some of the build problems people have been
13737         having.
13739         * acinclude.m4: call AM_PATH_PYTHON_JH AM_PATH_PYTHON
13741 2001-05-26  Cyrille Chepelov  <chepelov@calixo.net>
13743         * lib/Makefile.am:
13744         * lib/boundingbox.[ch] (NEW): (some) refactoring of the bounding
13745         box code (beginning with lines, polylines and polybeziers), into a
13746         more generic facility. While at it, a better shot at correctly
13747         computing the bounding box of a Bezieroid (should take care of
13748         #53424, #51233 and of course is part 1 of #52912).
13750         * lib/diagramdata.c: turned the RENDER_BOUNDING_BOXES conditional
13751         into a hidden preference (set render_bounding_boxes in diarc).
13752         * app/preferences.[ch]: Added support for hidden preferences.
13754         * lib/geometry.[ch]: sprinkled with "const" modifiers.
13755         
13756         * lib/bezier_conn.[ch]:
13757         * lib/beziershape.[ch]:
13758         * lib/connection.[ch]:
13759         * lib/element.[ch]:
13760         * lib/poly_conn.[ch]:
13761         * lib/orth_conn.[ch]:
13762         * lib/neworth_conn.[ch]:
13763         * lib/polyshape.[ch]: adapted to take advantage of
13764         boundingbox.[ch] instead of relying on private (duplicate) code.
13766         * object/FS/flow.c:
13767         * object/GRAFCET/action.c:
13768         * objects/GRAFCET/condition.c:
13769         * objects/GRAFCET/vergent.c:
13770         * objects/GRAFCET/vector.c:
13771         * objects/SADT/annotation.c:
13772         * objects/SADT/arrow.c:
13773         * objects/ER/participation.c:
13774         * objects/UML/constraint.c:
13775         * objects/UML/implements.c:
13776         * objects/UML/lifeline.c:
13777         * objects/UML/message.c:
13778         * objects/UML/realizes.c:
13779         * objects/UML/generalization.c:
13780         * objects/UML/association.c:
13781         * objects/UML/dependency.c:
13782         * objects/FS/flow-ortho.c:
13783         * objects/network/bus.c:
13784         * objects/standard/arc.c:
13785         * objects/standard/bezier.c:
13786         * objects/standard/beziergon.c:
13787         * objects/standard/line.c:
13788         * objects/standard/polygon.c:
13789         * objects/standard/zigzagline.c:
13790         
13791         * objects/standard/polyline.c: Some *BBExtras structures changed
13792         names while moving to boundingbox.[ch]. A trivial mass-renaming.
13793         
13794 2001-05-20  Cyrille Chepelov  <chepelov@calixo.net>
13796         * app/disp_callbacks.c (ddisplay_canvas_events): Take into account
13797         wheel mouses for scrolling (from Patrick Sung <phsung@ualberta.ca>)
13799         * app/display.c (ddisplay_update_scrollbars): from Patrick's
13800         suggestion, remove the extra scrollable area (it was only visible
13801         to the scrollbars). This is experimental.
13802         
13803         * objects/custom/custom_object.c: If a shape's icon file doesn't 
13804         exist, warn and substitute a default icon, instead of crashing.
13805         (fixes #52913)
13806         
13807         * objects/network/network.c:
13808         * shapes/network/modularswitch.(shape|xpm) (NEW):
13809         * shapes/network/printer.(shape|xpm) (NEW):
13810         * shapes/network/genmonitor.(shape|xpm) (NEW):
13811         * shapes/network/computer.(shape|xpm) (NEW):
13812         * shapes/network/Makefile.am: four less objects, four more shapes.
13813         These were the last known RenderObjects. (phew !)
13815         * lib/Makefile.am:
13816         * lib/dummy_dep.h:
13817         * objects/sybase/Makefile.am: 
13818         * objects/network/Makefile.am: Removed the older Renderobjects
13819         from the build, and their infrastructure (not yet deleted,
13820         though).
13822         * shapes/network/sceadplug.shape:
13823         * shapes/network/antenna.shape:
13824         * shapes/network/modem.shape:
13825         * shapes/network/hub.shape:
13826         * shapes/network/rj45plug.shape:
13827         * shapes/sybase/client.shape:
13828         * shapes/sybase/dataserver.shape:
13829         * shapes/sybase/ltm.shape:
13830         * shapes/sybase/repserver.shape:
13831         * shapes/sybase/rsm.shape:
13832         * shapes/sybase/stableq.shape: Minor corrections (line widths were
13833         ten times too narrow).
13834         
13835 2001-05-19  Cyrille Chepelov  <chepelov@calixo.net>
13837         * objects/network/network.c:
13838         * shapes/network/sceadplug.(shape|xpm) (NEW):
13839         * shapes/network/antenna.(shape|xpm) (NEW):
13840         * shapes/network/modem.(shape|xpm) (NEW):
13841         * shapes/network/Makefile.am: four less objects, four more shapes.
13842         
13843         * lib/Makefile.am:
13844         * lib/diagramdata.c:
13845         * lib/render.h:
13846         * lib/string_prerenderer.[ch] (NEW):
13847         Add a new renderer primitive, predraw_string() (does nothing, to be
13848         used as a hook to optimise the character encodings if needed). 
13849         Added a string pre-renderer, which can be viewed as a filter
13850         renderer (to route draw_string() to predraw_string() and ignore
13851         the rest, in a first rendering pass)
13852         
13853         * app/render_eps.c: Took advantage of the above to make wholly
13854         optimised Postscript encoding page(s), even (especially) with 
13855         non-latin1 code (HAVE_UNICODE must be true).
13857         (#53512 in fact is wholly resolved).
13858         
13859 2001-05-18  Cyrille Chepelov  <chepelov@calixo.net>
13861         * lib/charconv.c: steps towards resolution of #53512 (inspired by
13862         Alexey Novodvorsky <aen@logic.ru>'s patch).
13864         * app/menus.c (dia_menu_signal_proxy): checked that the signal
13865         handler is not NULL before transferring control to it... (fixes #52836)
13867         * app/app_procs.c (app_init): removed non-constant initialiser
13868         (fixes #52950)
13870         * objects/custom/custom_object.c:
13871         * objects/custom/shape_info.[ch]:
13872         * objects/custom/test.xml: merged patch #53476 from Steven Hawkins 
13873         <skh@mathstar.com>. This add support for a <svg:text> shape
13874         element, and some related style properties (font, font height, 
13875         alignment)
13877         * doc/custom_shapes: a precision about the meaning of case in a
13878         SVG path (closes #52364)
13880         * lib/dummy_dep.h: fix for SGI IRIX 6.2 (#53053, reported and
13881         fixed by <drk@sgi.com>)
13882         
13883 2001-05-17  Cyrille Chepelov  <chepelov@calixo.net>
13885         * objects/network/network.c:
13886         * shapes/network/Makefile.am:
13887         * shapes/network/hub.(shape|xpm) (NEW):
13888         * shapes/network/flash.(shape|xpm) (NEW):
13889         * shapes/network/rj45plug.(shape|xpm) (NEW):
13890         More shapes, less renderobjects.
13892 2001-05-16  Cyrille Chepelov  <chepelov@calixo.net>
13893         
13894         * plug-ins/svg/render_svg.c: typo made exported ellipses
13895         corrupted (zero Y pseudo-radius).
13897         * objects/network/network.c:
13898         * objects/network/disc.c:
13899         * shapes/network/disc.(shape|xpm): Converted the first
13900         Renderobject into a shape. Normally, old diagrams should reload
13901         without problems (please check this against your diagrams). More
13902         flexibility should be gained that way. I intend to hunt and
13903         eradicate all renderobjects as I can commit cycles to that. 
13905         * objects/Makefile.am:
13906         * configure.in:
13907         * app/Makefile.am:
13908         * objects/sybase/sybase.c:
13909         * shapes/sybase/Makefile.am(NEW):
13910         * shapes/sybase/client.(xpm|shape) (NEW):
13911         * shapes/sybase/dataserver.(xpm|shape) (NEW):
13912         * shapes/sybase/ltm.(xpm|shape) (NEW):
13913         * shapes/sybase/repserver.(xpm|shape) (NEW):
13914         * shapes/sybase/rsm.(xpm|shape) (NEW):
13915         * shapes/sybase/stableq.(xpm|shape) (NEW): converted Sybase
13916         renderobjects into shapes. The Sybase objects are now not compiled
13917         anymore, and ready to be nuked if nobody objects in the next few weeks.
13918         
13919         * app/commands.c:
13920         * app/diagram.[ch]:
13921         * app/disp_callbacks.c:
13922         * app/display.[ch]:
13923         * app/interface.[ch]:
13924         * app/menus.[ch]:
13925         * app/modify_tool.c:
13926         * app/preferences.[ch]:
13927         * app/recent_files.c:
13928         * app/select.c: Added patch #52364 from Hubert Figuiere. This adds
13929         a menu bar reflecting the popup menu, to each display window. This
13930         is optional (changing the preference currently doesn't affect
13931         already opened windows; a few other rough edges to cut).
13933         * plug-ins/wpg/wpg.c:
13934         * plug-ins/xfig/xfig-import.c:
13935         * plug-ins/python/pydia-property.c:
13936         * plug-ins/python/pydia-properties.c:
13937         * plug-ins/python/pydia-geometry.c:
13938         * plug-ins/pstricks/render_pstricks.c:
13939         * lib/arrows.c:
13940         * objects/EML/dbox.c:
13941         * lib/ps-utf8.c: paleolithic C compilers choke on //. Should fix 
13942         #53054.
13944         * lib/ps-utf8.c: improved the clustering of alphabetic character
13945         definitions in custom encodings pages.
13946         
13947 2001-05-02  Hans Breuer  <hans@breuer.org>
13949         * lib/object.h : OBJECT_COMMON_PROPERTIES_OFFSETS correct type 
13950         of 'obj_bb' to PROP_TYPE_RECT
13952         * objects/custom/custom_object.c : take all quarks into account, 
13953         not only 4 as copy&paste suggests
13955         * objects/uml/objects.c : completed the implementation of the
13956         property api to avoid reading of totally bogus data. Removed
13957         the PROBABLY_DEAD_CODE. It actually was dead code, but not because
13958         there was too much but too less ...
13959   
13960         The above changes removed all known crashes (mentioned below) 
13961         from the Property API. Property access is still incomplete though.
13963         * objects/flowchart/box.c :
13964         * objects/flowchart/diamond.c :
13965         * objects/flowchart/ellipse.c :
13966         * objects/flowchart/parallelogram.c :
13967         * objects/uml/classicon.c :
13968         * objects/uml/state.c : calculate number of quarks from quark array 
13969         size instead of using hardcoded values for consistence and to avoid 
13970         future bugs like the above
13971         
13972         * objects/eml/nlist.c : include <string.h> for strcmp()
13974         * lib/dia_xml.c : relax g_warning for values, which
13975         appear to be too small. There is nothing which prevents
13976         them while saving
13978         * plug-ins/python/pydia-geometry.c : changed stringifying of
13979         geometry objects accept BezPoint back to %f, which does not
13980         crash anymore, because all the data is intialized now and it
13981         simply is more readable than %e ...
13983         * plug-ins/python/python-startup.py : removed dependency
13984         to PyGtk, because it isn't required here and probably won't
13985         in i.e.: export filters.
13987         * plug-ins/python/gtkcons.py : create the gtkoutfile even
13988         if sys.stderr.fileno() isn't supported
13990         * app/makefile.msc : make version 0.88
13991         * plug-ins/makefile.msc : make version 0.88 an added new
13992         xfig files to build
13994 2001-05-11  James Henstridge  <james@daa.com.au>
13996         * NEWS: remember to add news items this time.
13998         * dia.spec: update spec file for 0.88 release.
14000         * configure.in: up version number to 0.88
14002         * plug-ins/python/Makefile.am (EXTRA_DIST): fix up typo that was
14003         preventing any of the useful python scripts from being
14004         distributed.
14006         * sheets/Makefile.am (sheet-translation-report): fix bustage I
14007         introduced in my fixups for the 0.87 release :(
14009 2001-05-10  Lars Clausen  <lrclause@cs.uiuc.edu>
14011         * plug-ins/xfig/xfig-import.c: Finally got groups working.
14013 2001-05-09  Lars Clausen  <lrclause@cs.uiuc.edu>
14015         * plug-ins/xfig/xfig-import.c: Improvements to error handling and
14016         group manipulation.
14018 2001-05-09  Cyrille Chepelov  <chepelov@calixo.net>
14020         * lib/ps-utf8.[ch]:
14021         * lib/Makefile.am: fix makefile breakage which led to not
14022         including ps-utf8.[ch] in the released tarballs. 
14024 2001-05-09  James Henstridge  <james@daa.com.au>
14026         * Makefile.am (core-translation-report): dist scripts needed for
14027         this target, and change to $(srcdir) before running.
14029         * sheets/Makefile.am (EXTRA_DIST): actually dist the sheets.  DATA
14030         files aren't automatically included in the tarball by automake
14031         because they could be generated files.
14033         * objects/EML/Makefile.am (EXTRA_DIST): fix directory names.
14035         * doc/en/Makefile.am (install-data-hook): fix up where graphics
14036         are installed.
14038         * configure.in: up version number to 0.87
14040         * plug-ins/python/*.py: no longer necessary to explicitly set
14041         sys.argv, as python.c does it for us now (like it should).
14043         * plug-ins/python/gtkcons.py: fix up so it plays nicely as a dia
14044         python plugin.
14046         * plug-ins/python/python-startup.py: startup script that imports
14047         all modules in $(datadir)/dia/python and ~/.dia/python.
14049         * plug-ins/python/python.c (dia_plugin_init): change so that it
14050         only runs the $(datadir)/dia/python-startup.py script.  Make sure
14051         that sys.argv and __main__.__file__ are set when calling the
14052         startup script.
14054         * plug-ins/python/Makefile.am: update makefile.  Make it install
14055         gtkcons.py plugin.  I haven't set any other plugins to install, as
14056         they look like they are mainly for debugging purposes.
14058         * configure.in: add tests to detect if python is available, so we
14059         can build the python plugin.  Only run if --with-python passed to
14060         configure.
14062 2001-05-08  James Henstridge  <james@daa.com.au>
14064         * acinclude.m4: add macros for detecting python.
14066         * app/menus.c (dia_gnome_menu_get_widget): handle paths that point
14067         at GNOME_APP_UI_SUBTREE entries.
14068         (menus_add_path): function to add a menu item to the menubars.
14069         Uses a hash table to keep track of extra menu items it adds.  Also
14070         notifies the item factory about the entries so that accels can be
14071         saved for them.
14072         (menus_add_path): implement gtk only version.
14073         (menus_init): use menus_add_path() to add the menu.
14074         (plugin_callback): simplify.
14076 2001-05-08  Steffen Macke <sdteffen@yahoo.com>
14078         * app/menu.c: removed #ifndef GNOME; GNOME build was broken
14079         
14080 2001-05-08  Lars Clausen  <lrclause@cs.uiuc.edu>
14082         * plug-ins/xfig/xfig-export.c: 
14083         * plug-ins/xfig/xfig-common.c: 
14084         * plug-ins/xfig/xfig-import.c: 
14085         * plug-ins/xfig/xfig.c: 
14086         * plug-ins/xfig/xfig.h: 
14087         * app/Makefile.am: Added support for exporting to Fig format
14088         (except splits, which are less powerful in Fig).  Some refactoring
14089         along the way.
14091 2001-05-02  Hans Breuer  <hans@breuer.org>
14093         * plug-ins/python/debug_objects.py : added another
14094         test to get massive crashes from the Property API due
14095         to unintialized data.
14097         * app/menu.c : the callback_action wasn't incremented
14098         (should have checked my last optimization). Now more
14099         than one plug-in callback is supported again.
14101         * plug-ins/python/pydia-geometry.c : avoid crashes from
14102         glib, when trying to g_strdup_printf unintialized floats.
14104         * plug-ins/python/pydia-property.c : avoid crashes from
14105         because of string_data == NULL (PROP_TYPE_FILE, PROP_TYPE_STRING)
14107 2001-05-01  Hans Breuer  <hans@breuer.org>
14109         * objects/makefile.msc : added eml
14110         * objects/eml/instantiation.c : initialize 'inst' pointer
14111         before using, zero initialization for objects
14112         * objects/eml/interaction-ortho.c :
14113         * objects/eml/interaction.c : zero initialization for objects
14115         * app/menus.c : removed Gimp mru stuff which slipped in at
14116         2000-08-15, was never activated and will never be needed, 
14117         because of Steffens recent file list patch added at 2001-01-05.
14119         * objects/eml/*.c : some more zero initialization of objects
14120         to avoid infinite (uninitialized) bounding boxes
14122         Implemented a callback api which allows plug-ins to register
14123         menu call backs. Dia for Gnome should compile, but will need 
14124         some extra tweaking to make it work because I can't test it.
14126         * plug-ins/python/pydia-error.h :
14127         * plug-ins/python/pydia-render.c : moved Pxthon function return 
14128         value handling from pydia-render.c to pydia-error.h, to make it
14129         usable for
14130         * plug-ins/python/diamodule.c : implement callback function
14131         registration from and relaying to Python code
14133         * app/menus.c : register and use plug-in menu callbacks
14135         * lib/filter.[hc] : implement filter_register_callback() and
14136         filter_get_callbacks() for the above
14137         * lib/libdia.def : export them
14139         * plug-ins/python/debug_objects.py (new file): 
14140         sample using the above
14142 2001-04-27  Lars Clausen  <lrclause@cs.uiuc.edu>
14144         * plug-ins/shape/shape-export.c (new_shape_renderer): 
14145         The name of a shape is now taken from the dir, to conform with
14146         standard naming.
14148 2001-04-25  Lars Clausen  <lrclause@cs.uiuc.edu>
14150         * app/properties.c (properties_show): Added title containing
14151         object type, plus (hopefully) fix of the ghost properties dialog.
14153 2001-04-16  Cyrille Chepelov  <chepelov@calixo.net>
14155         * app/display.c: remove the display idle handler in case we
14156         destroy the ddisplay (caused crashes in ddd, probably random
14157         crashes elsewhere).
14159         * autogen.sh: 
14160         * configure.in:
14161         * Makefile.am: hack around gettext-0.10.36's new "features".
14162         
14163         * lib/properties.[ch]: added new function object_copy_props().
14164         Added new property type PROP_TYPE_ENDPOINTS
14166         * lib/connection.h: added support for load/saving through the
14167         properties interface.
14169         * lib/object.[ch]: object_load/save/copy_using_properties()
14170         support functions (code factorisations).
14171         
14172         * objects/GRAFCET/boolequation.c: check against null values in
14173         boolequation_set_value() and boolequation_destroy().
14175         * objects/GRAFCET/transition.c: Converted from lazyprops to
14176         standard properties. 31% less (x86) code !
14178         * objects/GRAFCET/condition.c: also converted from lazyprops to
14179         standard properties. Also killed lots of code.
14180         
14181 2001-04-13  Hans Breuer  <hans@breuer.org>
14183         * plug-ins/wmf/wmf.cpp : changed text conversion from
14184         g_utf8_utf16 to g_convert usage. The latter function is already
14185         available in tml's last "official" Gtk+ version (2000-12-26).
14186         This change allows to use recent Dia with either the official
14187         version or the latest cvs "gtk-1-3-win32-production"-branch.
14189 2001-04-14  Lars Clausen  <lrclause@cs.uiuc.edu>
14191         * Patch from David S. Thompson <dcthomp@mail.utexas.edu>:
14192         * app/disp_callbacks.c:
14193         - Allow submenus in DiaMenus.
14194         - Don't require DiaMenu.title to be non-null (so that
14195           submenus aren't required to have titles)
14197         * objects/FS/function.c:
14198         - object menu now has submenus, an almost complete list of
14199           standard-basis verbs, and a start on nouns.
14200         - box padding, dash length, and other visual attributes are
14201           scaled by the font size... eventually font height will be
14202           a function property.
14203         - draw functions with smaller font to make initial view hold
14204           a reasonable number of functions.
14205         
14206 2001-04-13  Cyrille Chepelov  <chepelov@calixo.net>
14208         * sheets/ER.sheet:
14209         * sheets/chronogram.sheet:
14210         * sheets/jigsaw.sheet:
14211         * sheets/sybase.sheet: Updated Dutch sheet translations from Dag
14212         Wieers <dag@wieers.com>
14214 2001-04-13  Hans Breuer  <hans@breuer.org>
14216         * app/app_procs.c (app_exit) : added g_return_if_fail (!app_exit_once)
14217         to ensure that all the deinitialization is only done once. Fixes
14218         recent app exit crash on win32
14220         * lib/dia_xml.c : provide isinf() replacement for msc which does only
14221         have _finite()
14223         * lib/libdia.def : updated
14225         * objects/makefile.msc : added wanlink.c 
14227         * objects/network/wanlink.c : added M_PI_2 definition for poor
14228         platforms which don't have one
14230         * objects/standard/arc.c :
14231         * objects/standard/zigzagline. c: part of ConectionBBExtras wasn't
14232         initialized which led to rather huge bounding boxes (try Ctrl^A on
14233         diagrams with Arcs or ZigZagLines).
14234         * objects/*/*.c : to avoid further bugs like the above changed all
14235         object initializations to g_malloc0 or g_new0
14238 2001-04-09  Cyrille Chepelov  <chepelov@calixo.net>
14240         * lib/paper.[ch]: get rid of "no previous prototype fo `foo'" by
14241         doing a s/T foo()/T foo(void)/ for all possible values of T and foo.
14243         * objects/UML/class.c: 
14244         * objects/UML/usecase.c:
14245         * objects/UML/large_package.c:
14246         * objects/UML/message.c:
14247         * objects/UML/object.c:
14248         * objects/UML/lifeline.c:
14249         * objects/FS/flow.c:
14250         * objects/FS/flow-ortho.c:
14251         * objects/FS/function.c:
14252         * objects/custom/custom_object.c:
14253         * objects/GRAFCET/vergent.c:
14254         * objects/chronogram/chronoref.c:
14255         * objects/SADT/box.c:
14256         * objects/SADT/annotation.c:
14257         * plug-ins/dxf/dxf-import.c:
14258         * plug-ins/xfig/xfig-import.c:
14259         * plug-ins/wpg/wpg.c:
14260         * app/command.c:
14261         * app/app_procs.c:
14262         * app/display.c: /* certainly more WIP than dead code there */
14263         Unused variables, unused static function definitions, forgotten or
14264         incomplete prototypes added or fixed, lack of const or unwanted const,
14265         etc. (mostly clean-ups of leftovers of the pre-properties era).
14266         Non-obvious cases bracketed by #define THIS_IS_PROBABLY_DEAD_CODE,
14267         please check these.
14269         * app/lineprops_area.c: More of the same. Missing prototypes
14270         added, and functions unused outside made static.
14272         * app/recent_files.c:
14273         * app/properties.c:
14274         * app/defaults.c: some variables are used only when doing a GNOME
14275         build.
14276         
14277         * app/magnify.c: missing #include <stdlib.h>.
14279         * app/paginate_gnomeprint.c: Unused variable; missing "message.h".
14281         These are a lot of clean-ups (by the way, this compiles and runs
14282         cleanly with "gcc-3.0 -O2 -Wall --std=gnu99" too !); please grep
14283         for DEAD_CODE, and if it's yours, judge it.
14284         
14285 2001-04-07  Cyrille Chepelov  <chepelov@calixo.net>
14287         * plug-ins/dxf-import.c: some progress with the arcs; still some
14288         clean-ups to do and line width scaling issues to figure out.
14290         * objects/standard/arc.c: start_point and end_point properties
14291         (duplicated from standard/line.c)
14293         * plug-ins/xfig/xfig-import.c: zip ! zap ! no more dead DXF import
14294         code there.
14295         
14296 2001-04-06  Cyrille Chepelov  <chepelov@calixo.net>
14298         * plug-ins/dxf-import.c: setlocale-related clean-ups and fixes ;
14299         preliminary support for arcs (doesn't work). Circles and ellipses are
14300         now transparent. Coordinate and width scaling are now a common 
14301         static constant (probably before morphing into a preference).
14302         
14303         * sheet/checktrans.py: improved error reporting. Made checktrans
14304         count lack of <name xml:lang="code"> as a lack of translation for
14305         language "code" (no, it's not a plot to bring down other
14306         language's scores !)
14307         
14308         * sheet/*.sheet: Ensured all sheets have an encoding="iso-8859-1"
14309         in the header, and have <name xml:lang="fr"> components.
14310         
14311 2001-04-05  Cyrille Chepelov  <chepelov@calixo.net>
14313         * objects/custom/custom_object.c: temporary hack to fix the shape
14314         bounding box reported by Ben A. Hetland. Proper fix isn't .87
14315         material, see bugzilla #52912.
14317 2001-04-05  Lars Clausen  <lrclause@cs.uiuc.edu>
14319         * objects/standard/image.c (get_directory): Now uses
14320         G_SEPARATOR_CHAR_S instead of "/"
14322         * sheets/network.sheet: 
14323         * sheets/Logic.sheet:
14324         * sheets/Flowchart.sheet:
14325         * sheets/Electric.sheet:
14326         * sheets/Circuit.sheet:
14327         * sheets/ER.sheet:
14328         * sheets/Pneumatic.sheet:
14329         * sheets/SDL.sheet:
14330         * sheets/UML.sheet:
14331         * sheets/GRAFCET.sheet:
14332         * sheets/MSE.sheet:
14333         * sheets/chronogram.sheet:
14334         * sheets/civil.sheet:
14335         * sheets/network.sheet:
14336         Danish translations.
14337         
14338         * objects/standard/image.c (get_directory): Changed get_directory
14339         to use g_dirname to find the directory part.
14341 2001-04-05  Cyrille Chepelov  <chepelov@calixo.net>
14343         * sheets/ER.sheet:
14344         * sheets/Electric.sheet:
14345         * sheets/Flowchart.sheet:
14346         * sheets/Logic.sheet:
14347         * sheets/network.sheet: More Dutch translations from Dag Wieers.
14349 2001-04-04  Cyrille Chepelov  <chepelov@calixo.net>
14351         * sheets/checktrans.py: now emits a warning when two descriptions
14352         for a single language code are found.
14354         * Makefile.am:
14355         * sheets/Makefile.am: -translation-reports now also depend on their
14356         checktrans.py
14357         
14358 2001-04-04  Cyrille Chepelov  <chepelov@calixo.net>
14360         * sheets/Circuit.sheet:
14361         * sheets/Contact.sheet:
14362         * sheets/Logic.sheet:
14363         * sheets/chronogram.sheet:
14364         * sheets/sybase.sheet: 
14365         Dutch translations from Dag Wieers <dag@wieers.com>
14367 2001-04-04  Cyrille Chepelov  <chepelov@calixo.net>
14369         * po-checktrans.py: Now shows the detailed counts alongside the
14370         percentage of translations.
14371         
14372 2001-04-03  Cyrille Chepelov  <chepelov@calixo.net>
14374         * Makefile.am:
14375         * po-checktrans (NEW):
14376         * po-checktrans.py (NEW): builds core-translation-report:
14377         percentages of core (gettext) translations done [Not placed into
14378         po/ where that should belong, because of integration fear^Wissues
14379         with gettextize]. 
14381         TO THE KIND ATTENTION OF PACKAGERS: core-translation-report and 
14382         sheets/sheet-translation-report probably ought to be copied on the 
14383         user's /usr/share/doc/dia (or equivalent) directory.
14385         * sheets/Makefile.am: sheet-translation-report now a simple
14386         EXTRA_DIST; make install won't install it by default. 
14387         
14388 2001-04-03  Cyrille Chepelov  <chepelov@calixo.net>
14390         * app/preferences.c: changed the default grid colour to something
14391         less intrusive. 
14393         * shapes/SDL/*.shape:
14394         * sheets/SDL.sheet: renamed all SDL shapes to conform to the
14395         "$LIBRARY - $NAME" convention. THIS REQUIRES FIXING THE EXISTING
14396         DIA FILES (well, for files using SDL), see the mailing list
14397         archive "SDL (ab)using the global shape namespace" for a script to
14398         do this conversion.
14400         * sheets/SDL.sheet: translated into French
14401         * sheets/network.sheet: fixed XML typos. Yay ! 100% :-)
14402         
14403 2001-04-02  Cyrille Chepelov  <chepelov@calixo.net>
14405         * lib/dia_xml.c: made data_point() more paranoid
14407         * sheets/Makefile.am:
14408         * sheets/checktrans (NEW):
14409         * sheets/checktrans.py: Made checktrans handle more gracefully the
14410         absence of python and python-xml packages, and made the error
14411         message more helpful.
14412         
14413 2001-04-01  Lars Clausen  <lrclause@cs.uiuc.edu>
14415         * lib/render_object.c (new_render_object): Made initial handles
14416         behave like on most other objects.
14418         * app/load_save.c (read_objects): Fixed premature free'ing ofr
14419         typestr causing garbage.
14421 2001-04-01  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
14423         * objects/FS/flow-ortho.c: Fixed a crashbug causes by not
14424         accouting for handle ordering through copy and save. (#51479)
14426 2001-03-31  Cyrille Chepelov  <chepelov@calixo.net>
14428         * sheets/Circuit.sheet: Norwegian translation mistagged to German.
14430 2001-03-31  Steffen Macke  <sdteffen@yahoo.com>
14432         * sheets/Circuit.sheet
14433         * sheets/UML.sheet
14434         * sheets/network.sheet: Updated German translations
14435         
14436 2001-03-30  Cyrille Chepelov  <chepelov@calixo.net>
14437         * lib/arrows.[ch]:
14438         * lib/widgets.c:
14439         * app/lineprops_area.c: The return of the revenge of the arrow
14440         heads. Now all types covered by ISO 10303-201 should be covered.
14441         
14442 2001-03-30  Cyrille Chepelov  <chepelov@calixo.net>
14444         * sheets/Flowchart.sheet: translations in probably Hungarian were
14445         a victim of cut-n-paste from the German one. Fixed (hopefully).
14446         * sheet/UML.sheet: translation in probably Norwegian was a victim
14447         of cut-n-paste from the French one. Fixed (hopefully).
14448         * sheets/Logic.sheet: French translation not tagged with
14449         xml:lang="fr".
14450         
14451         * sheets/checktrans.py:
14452         * sheets/Makefile.am: new file, sheet-translation-report, to be
14453         installed along the sheets, show how much of them has been
14454         translated into which language (I wish the result was prettier...)
14456         * po/README: most translators don't read this file, but anyway...
14458         * sheets/.cvsignore:
14459         * objects/network/.cvsignore: the usual negotiation with CVS.
14461 2001-03-30  Cyrille Chepelov  <chepelov@calixo.net>
14463         * sheets/*.sheet: French translations
14465 2001-03-28  Cyrille Chepelov  <chepelov@calixo.net>
14467         Added patch #52363 from Hubert Figuiere <hfiguiere@teaser.fr>:
14469         ** objects/network/network.c:
14470         ** objects/network/wanlink.c:
14471         ** objects/network/pixmaps/wanlink.c:
14472         ** sheets/network.sheet:
14473         ** objects/network/Makefile.am: a better object to use instead of
14474         the older WAN Connection.
14475         
14476         ** lib/geometry.[ch]: rotation matrix functions in geometry.c (derived from gimp)
14478         ** objects/GRAFCET/vector.c: renamed Vector to GRAFCETVector to avoid a
14479         name clash 
14481         * objects/GRAFCET/vector.c: Re-renamed GRAFCETVector into
14482         Arc; kept the C file name (because CVS wouldn't like it), and
14483         still registering the older object name (but advertising the newer
14484         one in sheets/GRAFCET.sheet).   
14486 2001-03-24  Hans Breuer  <hans@breuer.org>
14488         * app/dia.def : some plug-ins (currently only python, xfig) are using 
14489         functions from the dia executable. To get them working these functions 
14490         need to be explicit exported on win32. IMO the much cleaner way would
14491         be to move these functions to libdia, but that would require some
14492         long term restructuring ...
14494         * lib/libdia.def : updated
14496         * plug-ins/makefile.msc : build xfig plug-in
14498 2001-03-24  Hans Breuer  <hans@breuer.org>
14500         * app/diagram.c : g_strdup (dia->filename) because it will be
14501         g_free ()d
14503         * app/display.c : set ddisp->renderer to NULL after destruction.
14504         This may solve or help to identify erroneous access to it after
14505         destruction.
14507         * plug-ins/wmf/wmf.cpp : convert string from utf8 to wchar to
14508         get 'umlauts' working
14510 2001-03-22  Cyrille Chepelov  <chepelov@calixo.net>
14512         * object/chronogram/chronoline_event.c: stupid bug ; rises and falls
14513         were reversed... (look for the patch, and drink a beer to my
14514         stupidity)      
14515         
14516 2001-03-23  Hans Breuer  <hans@breuer.org>
14518         * app/app_procs.c : don't g_error () if the config directory
14519         can't be created (at least not on windoze) because it's quite
14520         common that the user don't read or understand the FAQ ...
14522         * app/cursor.c : use ddisplay_active () instead of active_display
14523         from app/display.c
14525         * app/display.[hc] : made active_display var static and provide
14526         an accessor funtion ddisplay_active_diagram ()
14528         * app/dia-props.c : don't store the active_diagram, but ask
14529         for it everytime it needed.
14531         * lib/properties.h : #include "intl.h"
14533         * lib/makefile.msc : need to take care of inclusion order to
14534         avoid clashes with gtk+2.0's gdk-pixbuf
14536         * objects/makefile.msc : added uml/stereotype.c to build
14538 2001-03-23  Lars Clausen  <lrclause@cs.uiuc.edu>
14540         * **/*.c: Added config.h to the remaining .c files, and changed
14541         all to be <config.h>.
14543 2001-03-22  Steffen Macke <sdteffen@yahoo.com>
14545         * lib/arrows.c
14546         * lib/arrows.h
14547         * lib/widgets.c
14548         * app/lineprops_area.c: added new arrow types with double
14549         heads
14550         
14551 2001-03-20  Steffen Macke <sdteffen@yahoo.com>
14553         * shapes/Civil/civil_gas_bottle.xpm
14554         * shapes/Civil/civil_gas_bottle.shape
14555         * sheets/civil.sheet
14556         * shapes/Civil/Makefile.am: Added gas bottle shape by Arne
14557         Battermann
14558         
14559 2001-03-20  Lars Clausen  <lrclause@cs.uiuc.edu>
14561         * objects/custom/shape_info.c (load_shape_info): 
14562         * objects/custom/shape_info.h: 
14563         * objects/custom/custom_object.c (custom_update_data): 
14564         Better support for text outside the box -- new attributes 'resize'
14565         and 'align' for text entity.  Align not fully supported yet.
14567         * lib/text.c (text_calc_boundingbox): Adding BB for cursor width.
14569 2001-03-20  James Henstridge  <james@daa.com.au>
14571         * app/interface.c (display_data_received_callback): comment out
14572         status message.
14574 2001-03-19  James Henstridge  <james@daa.com.au>
14576         * app/GNOME_Dia.oaf: rename from GNOME_Dia.oafinfo.
14578         * objects/UML/realizes.c: similar here.
14580         * objects/UML/implements.c: similar here.
14582         * objects/UML/component.c: similar here.
14584         * objects/UML/generalization.c: same here.
14586         * objects/UML/dependency.c: allow NULL for ->name and
14587         ->stereotype.  This fixes a number of problems in loading saved
14588         files.
14590         * lib/properties.c: various changes so that NULL string properties
14591         should work.
14593         * objects/standard/line.c (line_update_data):
14594         line->extra.start_long and line->extra.end_long were not being
14595         initialised.  This fixes potential problems with the bounding box
14596         of "Standard - Line" objects.
14598 2001-03-19  Hans Breuer  <hans@breuer.org>
14600         * app/commands.c : added win32 specific code to display a html
14601         file. #include "text.h" for text_delete_all prototype.
14603         * app/dia.ico :
14604         * app/dia.rc : (new) to give Dia win32 an icon
14606         * app/win32print.[ch] : new files to support direct postscript
14607         file printing on win32. Beware: it *requires* a ps-printer!
14609         * app/paginate_psprint.c : disable the signal code for win32 build
14610         and added small specific changes to support win32print.
14612         * app/makefile.msc : added win32print and linking shell32.lib
14614         * lib/libdia.def : updated
14616 2001-03-18  Kevin Breit <battery841@mediaone.net>
14618         * doc/en/dia-C.omf: Added file.  Dia should now list in the Nautilus
14619           Help tabs.
14621 2001-03-17  James Henstridge  <james@daa.com.au>
14623         * app/paginate_psprint.c (diagram_print_ps): add code that traps
14624         SIGPIPEs during printing.  This gets rid of a number of crashes
14625         caused by printing (eg. typing an incorrect print command).
14627         * dia.spec (%install): gzip the manpage.
14629         * lib/beziershape.c (beziershape_save): fix off by one error in
14630         beziershape save code, which was adding an extra segment to the
14631         object on save.
14633         * app/menus.c: add a separator in the gnome version of the help
14634         menu.
14636         * app/app_procs.c (app_init): add a --nosplash argument which
14637         disables the splash screen.
14639         * app/dia_embedd.c (main): don't leave the splash screen open for
14640         embeddable component.
14642         * app/splash.c (app_splash_init): the gtk_widget_show_now() call
14643         didn't seem to be showing the splash screen like expected, so I
14644         have replaced it with some code that calls gtk_main() until the
14645         first exposure of the window.
14647 2001-03-16  James Henstridge  <james@daa.com.au>
14649         * app/Makefile.am (EXTRA_DIST): add extra pixmaps.
14651         * objects/UML/Makefile.am (libuml_objects_la_SOURCES): add
14652         stereotype.h
14654         * lib/Makefile.am (libdia_a_SOURCES): add diavar.h here.
14656         * app/Makefile.am (dia_core_files): remove splash.h from file
14657         list, as it doesn't exist.
14659         * doc/en/Makefile.am (uninstall-local): remove the docdir on
14660         uninstall.
14662         * doc/Makefile.am (uninstall-local): target to remove the C
14663         symlink.
14665         * dia.spec (%files): include the documentation in the package.
14667         * app/menus.c (toolbox_menu_items): add menu item for manual,
14668         which calls help_manual_callback.
14670         * app/commands.c (help_manual_callback): find help file and load
14671         netscape to view it.
14673         * app/commands.h: add prototype for help_manual_callback()
14675         * doc/Makefile.am (helpdir): similar here.
14677         * doc/en/Makefile.am (helpdir): make the helpdir
14678         $(pkgdatadir)/help/en in the non gnome case.
14680         * configure.in (HAVE_GNOME): add conditional.
14682         * doc/en/Makefile.am: handle the graphics in a more general way,
14683         so it is easier for Kevin to add them to the build (just add them
14684         to the GRAPHICS var).
14686         * app/Makefile.am (embed_extra_print_files): make the case of
14687         building without gnome-print support but with bonobo support work.
14688         dia-embedd needs to be include the gnome-print
14690 2001-03-09  Cyrille Chepelov  <chepelov@calixo.net>
14692         * samples/Makefile.am: included all samples in the distribution....
14693         
14694 2001-03-09  Cyrille Chepelov  <chepelov@calixo.net>
14696         * configure.in: removed premature test for DPS. Added -*- m4 -*-
14697         at the beginning. Made HAVE_UNICODE non-default. po/es_ES.po has
14698         vanished, removed it from ALL_LINGUAS.
14700         * lib/charconv.[ch] (NEW): a very small wrapper around
14701         unicode_iconv to convert strings between utf8 and local charset
14702         (actually, ISO-8859-1, though one can do
14703         CFLAGS="-DEFAULT_8BIT_CHARSET=\"ISO-8859-2\"" and the like).
14705         * lib/ps-utf8.[ch] (NEW): A PostScript Unicoder ; a smallish
14706         library to help build Postscript streams which use as many custom
14707         font encodings as necessary to correctly represent all characters
14708         used (testing from users with non-latin1 and/or more than 256
14709         characters in routine use *very* welcome).
14711         * app/Makefile.am, lib/Makefile.am: integrated these into the
14712         build process.
14714         * shapes/Logic/.cvsignore (NEW): .cvsignore
14715         
14716         * app/render_eps.h: forwarded some changes Lars forgot to include.
14717         * app/render_eps.c: turned off ASCII85 and FILTERS, as this
14718         doesn't yet build.
14720 2001-03-08  Kevin Breit <battery841@mediaone.net>
14722         * doc/en/home_network.png: Added file.
14723         * doc/en/line_props.png: Added file.
14724         * doc/en/usage-objects.sgml: Added two graphics to file.
14725         * doc/en/usage-quickstart.sgml: Added one graphic to file.
14727 2001-03-06  Kjartan Maraas  <kmaraas@gnome.org>
14729         * app/grid.h: Place comment around text after #endif.
14730         * lib/bezier_conn.c: #include <string.h>.
14731         * lib/beziershape.c: #include <string.h>.
14732         * lib/connpoint_line.h: Comment after #endif.
14733         * lib/dia_dirs.c: #include <string.h>.
14734         * lib/element.c: Same.
14735         * lib/lazyprops.c: #include <config.h> and "intl.h".
14736         * lib/lazyprops.h: Comment out text after #endif.
14737         * lib/neworth_conn.c: #include <string.h>
14738         * lib/orth_conn.c: Same here.
14739         * lib/poly_conn.c: Here too.
14740         * lib/polyshape.c: And here.
14741         * lib/properties.c: Remove #include "intl.h" from here and add
14742         an array of static strings to work around bug in gettext that
14743         makes it miss strings in a #define body.
14744         * objects/GRAFCET/action_text_draw.h: Comment out text after #endif.
14745         * objects/GRAFCET/boolequation.h: Same here.
14746         * objects/chronogram/chronoline_event.h: Add prototype for
14747         destroy_cle().
14748         
14749 2001-03-05  Lars Clausen  <Lars R. Clausen <lrclause@cs.uiuc.edu>
14751         * objects/FS/function.c: 
14752         * objects/FS/flow.c: 
14753         * objects/FS/flow-ortho.c: 
14754         Updated to use properties.
14756 2001-03-03  James Henstridge  <james@daa.com.au>
14758         * lib/lazyprops.c (__propdlg_build_enum): translate the radio
14759         button labels when creating them.
14761 2001-02-28  Lars Clausen  <Lars R. Clausen <lrclause@cs.uiuc.edu>
14763         * objects/UML/actor.c
14764         * objects/UML/realizes.c 
14765         * objects/UML/implements.c 
14766         * objects/UML/generalization.c 
14767         * objects/UML/dependency.c 
14768         * objects/UML/constraint.c
14769         Updated to use properties.
14770         
14771         * objects/UML/stereotype.c 
14772         * objects/UML/stereotype.h
14773         Generalized to any kind of bracketting.
14774         
14775 2001-02-28  James Henstridge  <james@daa.com.au>
14777         * app/menus.c: add help entry to the help menu.  Need to get this
14778         working for the non GNOME case as well (maybe put help under
14779         $(datadir)/dia/help for non GNOME?)
14781         * doc/en/topic.dat: add a topic.dat file for GNOME menus.
14783         * doc/en/dia-manual.sgml (legalnotice): add an id attribute to
14784         this element so that we get a meaningful filename in the html
14785         translation.
14787         * doc/Makefile.am, doc/en/Makefile.am: new makefiles to handle the
14788         documentation.
14790         * configure.in (DB2HTML): add a check for the db2html program, and
14791         set an automake conditional if it is found.
14793         * Makefile.am: remove EXTRA_DIST rules that cover doc/ directory,
14794         and descend into doc/ directory while building.
14796         * configure.in (AC_OUTPUT): add doc/ makefiles to output list, now
14797         we need more complex rules for building the docs.
14799 2001-02-25  Hans Breuer  <hans@breuer.org>
14801         * config.h.win32 : some cleanup
14803         * app/prefererences.c : g_scanner_(freeze|thaw)_symbol_table
14804         are deprecated since glib-1.3.2. Sorry needing to use them
14805         contionally, but there is no glib-1.2 for win32
14807         * app/recent_files.c : use g_strescape (params) conditionally
14809         * lib/connection.c : include string.h for memcpy
14811         * lib/geometry.h : added some stuff for compatibility with
14812         msvc, which previously came from included config.h
14814         * lib/libdia.def : updated
14816         * objects/makefile.msc : updated
14818         * objects/GRAFCET/action.c(490) : fixed warning C4700: local variable 
14819         'extra' used without having been initialized
14821         * objects/network/bus.c(658) : initialize 'extra'
14823         * plug-ins/makefile.msc : updated
14825         * plug-ins/cgm/cgm.c :
14826         * plug-ins/pstricks/render_pstricks.c : 
14827         g_free() memory allocated by dia_image_rgb_data(). Plugs possibly 
14828         huge memory leaks.
14830         * plug-ins/python/python.c : use HAVE_DIRENT_H
14832 2001-02-23  Lars Clausen  <Lars R. Clausen <lrclause@cs.uiuc.edu>
14834         * lib/connection.c (connection_update_boundingbox): 
14835         Made the BB shrink on right and lower sides, too.
14837 2001-02-23  Kjartan Maraas  <kmaraas@gnome.org>
14839         * */*.c: #incude <config.h> at the top.
14840         * */*.h: Remove include of "config.h" since it should only
14841         be included in .c files and at the very top for things to
14842         work.
14843         * sheets/*.sheet: Updated Norwegian translations.
14844         
14845 2001-02-22  Lars Clausen  <Lars R. Clausen <lrclause@cs.uiuc.edu>
14847         * objects/UML/small_package.c: 
14848         * objects/UML/class.c: 
14849         * objects/UML/node.c: 
14850         * objects/UML/usecase.c:
14851         * objects/UML/lifeline.c: 
14852         * objects/UML/message.c:
14853         Various cleanup of properties in particular.  Now much more use of
14854         standard properties.
14856         * lib/diagramdata.c (layer_render): Visualization of bounding
14857         boxes, for debugging purpoises.
14859 2001-02-22  Cyrille Chepelov  <chepelov@calixo.net>
14861         * lib/geometry.h:
14862         * lib/connection.[ch]:
14863         * lib/poly_conn.[ch]:
14864         * lib/polyshape.[ch]:
14865         * lib/bezier_conn.[ch]:
14866         * lib/beziershape.[ch]:
14867         * lib/orth_conn.[ch]:
14868         * lib/neworth_conn.[ch]:
14869         * lib/element.[ch]: Changed a bit the _update_boundingbox()
14870         interface. Now the parent elements have an extra_spacing
14871         structure, which child objects just need to fill, to take care of
14872         most arrow & line width extra space needs.
14874         * objects/**/*.c: updated all objects to the new interface.
14875         While at it, killed all instances of (Object *) downcasts (phew !)
14877         * objects/GRAFCET/condition.c: removed the arrowhead, which IEC848
14878         doesn't speak about.
14879         
14880 2001-02-21  Lars Clausen  <Lars R. Clausen <lrclause@cs.uiuc.edu>
14882         * sheets/Logic.sheet: New sheet for Logic symbols.
14884 2001-02-21  James Henstridge  <james@daa.com.au>
14886         * app/menus.c (dia_gnome_menu_get_widget): new function to find a
14887         widget by its path name.  Walks the GnomeUIInfo heirachy rather
14888         than widget tree, compares untranslated label names and ignores
14889         underscores in the labels.
14890         (menus_get_item_from_path): use dia_gnome_menu_get_widget so that
14891         lookups are not dependent on the current locale, as with
14892         gnome_app_find_menu_pos.
14894         * acconfig.h: guard against multiple inclusion of config.h.
14896         * app/select.c (select_style_callback): simply set the selection
14897         style to the value of action.
14899         * app/menus.c (menus_init): simplify the item factory based menu
14900         code a bit.  It looks like it was using some code cut and pasted
14901         from the gimp, which looked a bit unnecessary.  Things work fine
14902         without it.
14903         (selectmenu): set the action to the type of selection mode
14904         requested.
14905         (display_menu_items): use the symbolic enumeration values for the
14906         action field.
14908         * app/plugin-manager.c: 
14909         * app/plugin-manager.h: 
14910         * app/filedlg.c:
14911         * app/filedlg.h: 
14912         * app/select.c:
14913         * app/select.h: change prototypes.
14915         * app/commands.c: update all callback prototypes, and get rid of
14916         some #ifdef GNOME's.
14918         * app/commands.h: change function prototypes.
14920         * app/dia_embedd.c (save_fn):
14921         s/ex_Bonobo_IOError/ex_BonoboStorage_IOError/
14923         * app/menus.c (menus_init): for gnome menus, use
14924         gnome_app_fill_menu_custom and pass in a GnomeUIBuilderData
14925         structure that proxies the callbacks to have the same signature as
14926         GtkItemFactory type 1 callbacks.
14927         (menus_init): for GTK menus, change from callback type 2 to type
14928         1.
14929         (display_menu_items): add back tearoffs.  I don't know who removed
14930         these for the gtk menu case.
14932 2001-02-20  Kevin Breit <battery841@mediaone.net>
14934         * doc/en/usage-objects-special.sgml: Fixed a few of the special
14935         object descriptions.  More to come in the next few days.
14937 2001-02-20  Lars Clausen  <lrclause@cs.uiuc.edu>
14939         * app/render_eps.c: Fixed for internationalized floating point
14940         output. 
14942         * objects/UML/note.c: Fixed properties -- was missing
14943         Get/ApplyPropertiesFunc.  Also improved update to recalculate text
14944         position. 
14946 2001-02-19  Lars Clausen  <lrclause@cs.uiuc.edu>
14948         * plug-ins/xfig/xfig-import.c: 
14949         File added importing xfig files.  Still very rough, but good
14950         enough to let others hack on it.
14952 2001-02-07  Cyrille Chepelov  <chepelov@calixo.net>
14954         * app/interface.c:
14955         * app/linewidth_area.c:
14956         * lib/lazyprops.c:
14957         * lib/properties.c:
14958         * lib/widgets.c:
14959         * objects/ER/attribute.c:
14960         * objects/ER/entity.c:
14961         * objects/ER/relationship.c:
14962         * objects/custom/custom_object.c:
14963         * objects/flowchart/box.c:
14964         * objects/flowchart/diamond.c:
14965         * objects/flowchart/ellipse.c:
14966         * objects/flowchart/parallelogram.c:
14967         * objects/standard/box.c:
14968         * objects/standard/textobj.c: per Vlad Harchev's request, made
14969         page sizes of gtk_adjustments different than their step sizes.
14970         When sensible values of page size weren't found (overwhelming
14971         majority of cases), page sizes were set to 10.0 * respective step
14972         size.   
14974 2001-02-07  Lars Clausen  <lrclause@cs.uiuc.edu>
14976         * objects/network/hub.c: 
14977         Patch from Hubert Figuiere applied, adding connection points.
14979 2001-02-02  James Henstridge  <james@daa.com.au>
14981         * app/display.c (new_display): set update id to 0 here.
14982         (ddisplay_update_handler): rename from ddisplay_flush, and set
14983         update_id to 0 at end of processing.
14984         (ddisplay_flush): new implementation that simply sets an idle
14985         handler to perform the actual drawing.
14987         * app/display.h: add structure member to hold the redraw idle
14988         handler id.
14990 2001-01-31  Lars Clausen  <lrclause@cs.uiuc.edu>
14992         * objects/standard/ellipse.c (ellipse_copy): 
14993         * objects/standard/zigzagline.c (zigzagline_copy): 
14994         Fix of copying provided by Martin Hawlisch.
14996 2001-01-23  Kevin Breit <battery841@mediaone.net>
14998         * doc/en/graphics/: added directory
15000         * doc/en/graphics/greendots.png: added file
15002         * doc/en/*sgml: made minor and some major changes to prepare for 1.4
15003         release.
15005 2001-01-23  Kevin Breit <battery841@mediaone.net>
15007         * doc/en/*sgml: made some grammar changes and fixed a few markup bugs.
15008                         thanks to John Fleck!
15010 2001-01-21  Kevin Breit <battery841@mediaone.net>
15012         * doc/en/*sgml: made just minor changes to a few lines; nothing major.
15014 2001-01-12  Michael Meeks  <michael@helixcode.com>
15016         * app/dia_embedd.c (init_server_factory): do a bonobo_activate
15017         so our POA gets setup properly.
15019         * app/paginate_gnomeprint.c (paginate_gnomeprint): g_free
15020         things we g_malloc.
15022         * configure.in: Use bonobox_print.
15024         * app/dia_embedd.c (embeddable_factory): add print interface.
15025         (object_print): impl.
15027 2001-01-11  Michael Meeks  <michael@helixcode.com>
15029         * app/dia_embedd.c (embeddable_factory): aggregate PersistFile.
15030         (load_fn, save_fn): impl.
15031         (view_factory): hide modified status bar, & use activate fn.
15032         (refresh_view): force redraws of the views.
15033         (view_show_hide): split from
15034         (dia_view_activate): here.
15036         * app/diagram.c (diagram_load_into): split from diagram_load.
15037         (new_diagram): simplify bu splittin stuff into
15038         (diagram_init): here.
15040 2001-01-10  Steffen Macke <sdteffen@yahoo.com>
15042         * shapes/jigsaw/*.shape: replaced #000000 with foreground
15043         and #ffffff with background
15044         
15045 2001-01-08  Steffen Macke <sdteffen@yahoo.com>
15047         *configure.in: GTK+-build was broken due to missing
15048         have_bonobo=no
15049         
15050 2001-01-06  Michael Meeks  <michael@helixcode.com>
15052         * app/dia_embedd.c (main): add running context support.
15053         (dia_embeddable_destroy): remove old running object counting.
15054         (embeddable_factory): ditto.
15055         (view_factory): comment out menu path hiding.
15057         * lib/sheet.c (load_register_sheet): use free to free
15058         stuff from libxml not g_free.
15060         * acconfig.h: kill cover for USE_BONOBOX and USE_OAF
15062         * configure.in: remove USE_OAF checks, check for a precice
15063         Bonobo version >= 0.31, revamp bits.
15065         * app/dia_embedd.c (init_server_factory): upd.
15066         (init_dia_factory): remove OAF conditionals, everything uses
15067         oaf now.
15069         * app/GNOME_Dia.oafinfo: rename OAFIIDs
15071         * app/Makefile.am: remove ancient gnorba code.
15072         rename dia.oafinfo to GNOME_Dia.oafinfo
15074 2001-01-07  Hans Breuer <Hans@Breuer.Org>
15076         * config.h.win32
15077         * install.win32
15078         * readme.win32 : some more files required or useful to build 
15079         Dia on win32
15081         * plug-ins/wmf/wmf.cpp : fixed open issues like fill_arc and
15082         fill_bezier implementation, boundary drawing in fill mode, etc.
15083         Next one complaining gets the source, uncommented ...
15085         * shapes/network/router-symbol.xpm 
15086         * shapes/network/switch-atm-symbol.xpm 
15087         * shapes/network/switch-symbol.xpm : removed "-*- picture -*- "
15088         from /* XPM */ header, cause it stopped Dia/gdk_pixbuf to detect 
15089         the files as XPMs. Maybe the X versions of these functions are more
15090         tolerant ...
15092 2001-01-06  Steffen Macke <sdteffen@yahoo.com>
15094         * plug-ins/python/Makefile.am: added libart path
15096         * plug-ins/python/python.c: added dirent.h
15098         * configure.in: added es_ES and pt_BR to ALL_LINGUAS
15099         
15100 2001-01-06  Hans Breuer <Hans@Breuer.Org>
15102         * objects/uml/actor.c
15103         * objects/uml/branch.c
15104         * objects/uml/class.c
15105         * objects/uml/classicon.c
15106         * objects/uml/component.c
15107         * objects/uml/large_package.c
15108         * objects/uml/node.c
15109         * objects/uml/note.c
15110         * objects/uml/object.c
15111         * objects/uml/small_package.c
15112         * objects/uml/state.c
15113         * objects/uml/usecase.c : started to implement the generic property
15114         interface for the uml objects. Would appreciate some help on how
15115         to implement properties which are list of properties themselves,
15116         e.g. member functions and their parameters of UMLClass.
15118 2001-01-06  Hans Breuer <Hans@Breuer.Org>
15120         * plug-ins/python/diamodule.c : finally ported to win32.
15121         Added new objects and implemented register_export function.
15123         * plug-ins/python/pydia-object.h
15124         * plug-ins/python/pydia-display.c
15125         * plug-ins/python/pydia-handle.c
15126         PyObject_HEAD_INIT needs some tweakink on win32. Done in
15127         pydia-object.h; others files simply using it.
15129         * plug-ins/python/pydia-layer.c : reflect 
15130         layer_find_closest_connection(_)point renaming
15132         * plug-ins/python/pydia-object.c : add property properties.
15133         Also change bounding_box to DiaRectangle.
15135         * plug-ins/python/python.c : extended error reporting; use
15136         all *.py files from Dia's plug-in dir instead of hardcoded
15137         test.py. This sollution should be fine with Win32, but on
15138         Unix it may need some tweaking (dunno) ...
15140         * plug-ins/python/export-object.py
15141         * plug-ins/python/export-render.py : test and documentation 
15142         implementations for export filter implementations in Python
15144         * plug-ins/python/pydia-color.[hc]
15145         * plug-ins/python/pydia-diagramdata.[hc]
15146         * plug-ins/python/pydia-error.[hc]
15147         * plug-ins/python/pydia-export.[hc]
15148         * plug-ins/python/pydia-font.[hc]
15149         * plug-ins/python/pydia-geometry.[hc]
15150         * plug-ins/python/pydia-image.[hc]
15151         * plug-ins/python/pydia-properties.[hc]
15152         * plug-ins/python/pydia-property.c
15153         * plug-ins/python/pydia-render.c : new objects in new files 
15155         * plug-ins/python/makefile.am : added new files but can't test it
15157         * plug-ins/python/pydia.def
15158         * plug-ins/python/makefile.msc : for win32 build
15160         * plug-ins/cgm/cgm.c
15161         * plug-ins/dxf/dxf-import.c
15162         * plug-ins/dxf/dxf-export.c
15163         * plug-ins/hpgl/hpgl.c : reflect export API change
15165         * plug-ins/shape/shape-export.c : reflect export API change
15166         and check for libart (better the availibility of a png exporter) 
15167         at run-time instead of compile-time. 
15169 2001-01-06  Steffen Macke <sdteffen@yahoo.com>
15171         * app/recent_files.h was missing from Hans's commit
15173         * plug-ins/shape/shape_export.c: shape export was broken
15174         due to interface changes
15175         
15176 2001-01-05  Hans Breuer <Hans@Breuer.Org>
15178         Applied Steffen's recent file list patch :
15179         * app/Makefile.am : added recent_files.[hc]
15180         * app/diagram.c : add files to recent file list
15181         * app/menus.c : add recent file menu
15182         * app/app_procs.c : changed initialization order to
15183         make recent file list work with command line processing.
15185         The Filter export()/import() functions have got an additional 
15186         parameter to allow multiple filters via one C callback (required
15187         for Python bindings)
15189         * app/commands.[hc] : corrected the signature for gtk menu callback
15190         functions, which actually use the second or third parameter. This
15191         is the absolute minimum change to make these functions/menu entries
15192         work again. Using the other possible gtk menu callback signature
15193         would have required one more function to change. (see mailing list
15194         thread "Objects/Align/Equal Distance" for more information.
15196         * app/disp_callbacks.c : applied Gustavo J.A.M. Carneiro's
15197         zoom-combo focus patch
15199         * app/display.c
15200         * app/interface.c : wrapped the Zoom Combo code into 
15201         #ifndef WITHOUT_ZOOM_COMBO because IHMO it isn't an useabilty
15202         improvement but cluttering the user interface. Also it wasn't
15203         compiling on Win32 anyway. The win32 version does define 
15204         WITHOUT_ZOOM_COMBO to keep the old look. 
15205         There are plans to use the statusbar to display size and placement
15206         of selected objects, whereas the Zoom Combo would need to get out
15207         of the way as well.
15209         Added "Save Changes?" to diagram close dialog. Hopefuly the
15210         Yes/No/Cancel option isn't too much windoze like. IHMO this is
15211         an useability improvement.
15213         * app/export_png.c
15214         * app/filedlg.c
15215         * app/load_save.c
15216         * app/layer_dialog.c
15217         * app/paginate_psprint.c
15218         * app/render_eps.c
15219         - reflect signature changing of filter->export function
15220         - replaced '/' with G_DIR_SEPARARTOR where appropriate
15222         * app/diaunitspinner.c
15223         * app/render_libart.c
15224         added misssing headers like <string.h>
15226         * app/object_ops.c : fixed copy&paste bug in dialog string
15228         * app/splash.c : gdk_widget_show_now () does not ensure actual
15229         drawing of the splash screen, at least not on win32. Reuse the
15230         previous implementation with gtk_main_iteration() again.
15232         * */makefile.msc : make use of the build module (available in
15233         gnome-cvs/build. Updated for other source changes
15235         * lib/filter.h : added an user_data pointer to <ex/im>port()
15236         function signature and Dia<Im/Ex>portFilter to allow different
15237         filters to reuse the same callback function
15239         * lib/font.c : #include <string.h>
15241         * lib/orth_conn.c 
15242         * lib/poly_conn.c 
15243         * lib/poly_shape.c 
15244         * lib/neworth_conn.c
15245         * lib/text.c : don't mix allocator functions (g_)realloc, free, ...
15247         * */*.def : export function definition files required by win32 build
15249         * objects/custom/custom.c : #include <string.h>
15251         * plug-ins/pstricks/render_pstricks.c
15252         * plug-ins/shape/shape_export.c
15253         * plug-ins/svg/render_svg.c
15254         reflect changes to filter export function signature
15256         * plug-ins/wmf/wmf.cpp : fixed indent and scaling. It now should
15257         mostly work as expected
15258         * plug-ins/wmf/wmf_gdi.[hc] : Updated comment. Still not used
15259         to build the wmf plug-in because on the one hand the GDI emulation 
15260         isn't finished and on the other hand it isn't required when building
15261         for win32. Is there anybody out there, who wants to save WMF on non
15262         windoze platforms ?
15264         * plug-ins/wpg/wpg.cpp : fixed scaling to take axis dependent
15265         offset into account.
15267 2001-01-02  Steffen Macke <sdteffen@yahoo.com>
15269         * app/Makefile.am: added missing plug-ins to run_dia.sh
15271         * lib/paper.c: added paper sizes A0, A1, A2
15273         * objects/UML/class.c
15274         objects/UML/class.h
15275         objects/UML/class_dialog.c: added support for colored UML
15276         classes
15277         
15278 2000-12-30  Kevin Breit <battery841@mediaone.net>
15280         * doc/en/usage-customization.sgml: added more content
15282 2000-12-24  Kevin Breit <battery841@mediaone.net>
15284         * doc/en/usage-layers.sgml: added file, contributed by Remypsb
15285         <remy.viard@laposte.net>
15287 2000-12-24  Steffen Macke <sdteffen@yahoo.com>
15289         * added limiting lines to Civil Engineering sheet,
15290         fixed vertical pump icon
15291         
15292 2000-12-20  Steffen Macke <sdteffen@yahoo.com>
15294         * updated/additional Civil Engineering shapes: better icons,
15295         shapes use foreground/background colors now and are filled
15296         
15297 2000-12-03  Kevin Breit  <battery841@mediaone.net>
15299         * doc/en/dia-manual.sgml Integrated a few diffs.  New section should be
15300         the selection <sect1>
15302 2000-11-29  Fredrik Hallenberg  <hallon@lysator.liu.se>
15304         * app/load_save.c (diagram_data_save): avoid using obsoleted
15305         libxml calls (only matters when compiling with libxml2)
15307 2000-11-25  James Henstridge  <james@daa.com.au>
15309         * app/disp_callbacks.c (ddisplay_drop_object): add a function to
15310         handle the tool drops on the canvas.
15312         * app/interface.c (display_data_received_callback): do the check
15313         to make sure that the drag is from a local toolbox here as well.
15315         * app/interface.c (create_tools): unref the pixmap/mask after
15316         creating the GtkPixmap.
15317         (tool_setup_drag_source): function to set up a drag source for
15318         create object tool buttons.
15319         (create_tools): setup drag source for CREATE_OBJECT_TOOL's.
15320         (fill_sheet_wbox): same here.
15321         (create_display_shell): set up the display canvas as a drag
15322         destination.
15323         (display_drop_callback, display_data_received_callback): functions
15324         to handle drops of tool buttons.
15326         * app/menus.c (menus_init): don't use gnome_popup_menu_new().  It
15327         does weird shit to the user_data pointer for a menu item.  Object
15328         alignment should work again now.
15330         * app/splash.c (get_logo_pixmap): don't unref the bitmap if it is
15331         NULL, and mark this function static.
15332         (app_splash_init): use gtk_widget_show_now() instead of the
15333         gtk_main_iteration loop.
15334         (app_splash_init): connecting gtk_widget_destroy to the destroy
15335         signal of a widget seems pretty useless.
15337 2000-11-23  Kevin Breit <battery841@users.sourceforge.net>
15339         * doc/en/dia-manual.sgml:
15340                 Added sect1 for advanced object types.  Starting development
15341                 on that part.
15343 2000-11-18  Kevin Breit <battery841@mediaone.net>
15345         * doc/en/dia-manual.sgml:
15346                 Stupid spelling fixes.
15348 2000-11-18  Kevin Breit <battery841@mediaone.net>
15350         * doc/en/dia-manual.sgml:
15351                 Just some small changes I made.  Props to Greg LeBlanc on the
15352                 recommendations.
15354 2000-11-17  Alexander Larsson  <alla@lysator.liu.se>
15356         * app/display.c:
15357         (ddisplay_add_display_area): Clip input rectangle to
15358         the visible part of the display.
15359         (ddisplay_scroll): Optimization, don't scroll and
15360         redraw if moving to the same position as before.
15362         * app/render_libart.c (renderer_libart_copy_to_window):
15363         Removed sanity check. Now moved to ddisplay_add_display_area().
15365         * lib/diavar.h:
15366         Added return at end of file.
15367         
15368 2000-11-13 Kevin Breit <battery841@mypad.com>
15369         * doc/en/dia-manual.sgml
15370                 Commited manual changes from Henry House <hajhouse@houseag.com>
15372 2000-10-21 Hans Breuer <Hans@Breuer.Org>
15373         * lib/beziershape.c :
15374                 The previous code was accessing unowned memory due to IHMO
15375                 wrong index calculation. Now it appears to be fixed.
15376                 *Please Review!*
15378         * lib/makefile.msc
15379         * plug-ins/makefile.msc
15380         * objects/makefile.msc
15381         * app/makefile.msc: (new files)
15382                 Makefiles for Dia on Win32, Micro$oft VC only.
15384         * plug-ins/pstricks/render_pstricks.c
15385         * plug-ins/dxf/dxf-import.c
15386         * plug-ins/shape/shape-export.c
15387         * plug-ins/svg/render_svg.c
15388         * app/commands.c
15389         * app/filedlg.c
15390         * app/preferences.c
15391         * app/render_eps.c
15392         * lib/sheet.c
15393         * lib/plug-ins.c
15394         * objects/custom/custom.c
15395         * objects/standard/image.c
15396                 portability (not only win32): use HAVE_UNISTD_H, HAVE_DIRENT_H 
15397                 where   appropriate, add missing prototypes like <string.h>
15399         * plug-ins/wmf/wmf_gdi.cpp
15400         * plug-ins/wmf/wmf_gdi.h:
15401                 start of wmf write functions for non Win32 platform. Not 
15402                 finished yet. The other way to get it working maybe to
15403                 link the plug-in against wine libs.
15404                 
15405         * plug-ins/wpg/wpg.c : add missing brace
15407         * app/load_save.c :
15408                 Handling for unknown objects at load time. Previously Dia
15409                 was crashing, if you try to load a file referencing objects
15410                 whiches plug-ins aren't installed/available. Now it spits out 
15411                 a warning and ignores the unknown objects.
15413         * app/interface.c
15414                 toolbox DND support for files like The Gimp does it.
15416         * app/main.c
15417         * app/app_procs.h
15418                 Simple splash screen support and usage.
15420         * app/app_procs.c
15421                 Splash screen, portability fixes, dont' g_error if there is
15422                 g_get_homedir return NULL. This may remove the one and only
15423                 FAQ for Win32.
15425         * app/menus.c :
15426                 Make it compile without ENABLE_NLS
15428         * app/render_libart.c :
15429                 Sanity check to avoid calling libart with wrong window coordinates.
15430                 They come from the update handler. Direct Gdk is dealing nicely
15431                 with coordinates out of range, libart does access un-owned memory
15432                 in this case, mostly causing crashes.
15434         * app/winmain.c: (new file) Export the Win32 Gui version of the
15435                 main function. This file is only required for Windoze.
15437         * app/splash.c: (new file) splash screen implementation
15439         * lib/color.h
15440         * lib/font.h
15441         * lib/diavar.h: (new file)
15442                 moved special variable export code to diavar.h, because it is
15443                 needed in color.h and font.h
15445         * lib/paper.c :
15446                 M$VC cann't export inlined functions. Quick hack to let it
15447                 link again. Probably the glib mechanics should be used here?
15449         * objects/UML/lifeline.c : initialize var before usage
15451         * objects/GRAFCET/step.c : removed unused var
15453 2000-10-14  James Henstridge  <james@daa.com.au>
15455         * app/render_gnomeprint.c (draw_image): change code so images
15456         don't get flipped when printing.
15458         * app/paginate_gnomeprint.c (diagram_print_gnome): check to make
15459         sure that the return value of
15460         gnome_print_context_new_with_paper_size is not NULL.
15462         * app/render_gnomeprint.c (draw_arc): add code to convert arcs
15463         into a series of bezier segments.
15464         (fill_arc): similar code to handle filled arc segments.
15466 2000-10-12  Fredrik Hallenberg  <hallon@lysator.liu.se>
15468         * app/app_procs.c
15469         * app/commands.c
15470         * app/dia-props.c
15471         * app/diagram.c
15472         * app/diagram.h
15473         * app/disp_callbacks.c
15474         * app/display.c
15475         * app/linewidth_area.c
15476         * app/paginate_psprint.c
15477         * app/preferences.c
15478         * app/undo.c
15479         * app/font.c
15480         * app/message.c
15481         * app/neworth_conn.c
15482         * app/orth_conn.c
15483         * objects/standard/box.c: various small changes to get rid of 
15484         annoying warnings (eg faulty prototypes and unused variables)
15486         * app/disp_callbacks.c
15487         * app/cursor.h
15488         * app/magnify.c
15489         * app/magnify.h: update magnify tool icon when pressing/releasing
15490         shift. I will try to make something more general so that similar
15491         things can be used by other tools.
15493         * shapes/SDL/inout.shape
15494         * shapes/SDL/return.shape: fixed some typos
15496 2000-10-09  James Henstridge  <james@daa.com.au>
15498         * objects/custom/shape_info.c (parse_path): apply patch from
15499         Robert Young <robertdotyoung@dsto.defence.gov.au> to fix bug
15500         #25221
15502 2000-10-08  James Henstridge  <james@daa.com.au>
15504         * objects/standard/image.c (image_set_props): if the file could not
15505         be loaded, show the broken image icon.
15507         * plug-ins/Makefile.am (SUBDIRS): add shape to the subdirs list.
15509         * plug-ins/shape/*: the shape export plugin by Steffen Macke.
15511         * app/interface.c (fill_sheet_wbox): use gdk-pixbuf to load the
15512         object icon when loading from a file.  This allows you to have PNG
15513         icon files for shapes.
15515 2000-10-07  James Henstridge  <james@daa.com.au>
15517         * app/Makefile.am (dia_LDADD): remove GDK_IMLIB_LIBS reference.
15519         * lib/Makefile.am, app/Makefile.am (INCLUDES): remove
15520         GDK_IMLIB_CFLAGS reference.
15522         * app/commands.c (help_about_callback): remove imlib code.
15524         * lib/dia_image.c: only include the pixbuf version of the image
15525         routines.
15527         * acconfig.h: remove the HAVE_GDK_PIXBUF flag from here.
15529         * configure.in (CPPFLAGS): remove the check for imlib, as we now
15530         require gdk-pixbuf.
15532         * plug-ins/pstricks/render_pstricks.c (new_pstricks_renderer):
15533         conditionally define \setfont as well.
15535 2000-10-05  James Henstridge  <james@daa.com.au>
15537         * plug-ins/pstricks/render_pstricks.c (new_pstricks_renderer): fix
15538         preamble so that we define \setlinejoinmode and \setlinecaps
15539         commands conditionally on them being undefined.  This way, the
15540         pstricks output files should work without modification, and will
15541         support the commands when they are implemented in pstricks.
15543 2000-10-05  Szabolcs Ban  <shooby@gnome.hu>
15545         * dia.desktop: added hungarian translations to dia.desktop
15547 2000-10-04  James Henstridge  <james@daa.com.au>
15549         * sheets/UML.sheet: fix typo.
15551         * objects/custom/shape_info.c: use strtod instead of g_strtod.
15552         (parse_path): actually call setlocale around strtod calls.
15554         * lib/dia_xml.c: use strtod rather than g_strtod.  We wrap each
15555         call in setlocale(LC_NUMERIC, "C"), so there is no reason to call
15556         the g_strtod wrapper.
15558         * shapes/SDL/: add SDL shapes from Rubens Ramos
15559         <rubens_ramos@yahoo.com>
15561         * acinclude.m4 (DIA_CHECK_CFLAG): fix up macro.
15563         * sheets/Makefile.am (SHEETS): add SDL.sheet to list.
15565         * shapes/MSE/: add Mobile Subscriber Equipment shapes from
15566         W. Michael Petullo <mike@flyn.org>.
15568         * sheets/Makefile.am (SHEETS): add civil.sheet (which got missed
15569         from the 0.86 tarball) and jigsaw.sheet.
15571         * configure.in: add shapes/jigsaw/Makefile to list of generated files.
15573         * shapes/jigsaw/: jigsaw shapes from Martin Hawlisch.
15575         * shapes/network/: add network-additional shapes here.
15577         * sheets/network.sheet: add the network-additional shapes from
15578         Martin Hawlisch <Martin.Hawlisch@bflow.com> to the main network
15579         sheet.
15581 2000-09-30  Fredrik Hallenberg  <hallon@lysator.liu.se>
15583         * configure.in: Updated ALL_LINGUAS
15585         * po/nl.po: Removed newline from translation
15587 2000-09-17  Asbjorn Pettersen  <asbjornP@dualog.no>
15589         * app/commands.c (help_about_callback): Use G_DIR_SEPARATOR_S in 
15590         logo filename generation. 
15592         * lib/dia_dirs.c (dia_get_data_directory): Handle empty subdir better.
15593         Avoiding "//dia_logo.png".
15595 2000-09-16  Asbjorn Pettersen  <asbjornP@dualog.no>
15597         * app/filedlg.c: add include <sys/types.h> to
15598         remove warning. (OS/2)
15600 2000-09-13  Cyrille Chepelov <chepelov@calixo.net>
15602         * objects/chronogram/chronoline_event.c (reparse_clevent):
15603         the __checksum routine was simply bogus. Redone it in a slightly
15604         saner way (reported by Michael Farr <mfarr@cs.latrobe.edu.au>).
15606 2000-09-10  Asbjorn Pettersen  <asbjornP@dualog.no>
15608         * app/create_object.c (create_object_button_press): 
15609         * app/modify_tool.c (click_select_object): 
15610         * lib/object.h: select renamed to selectf to prevent
15611         compiler problems with function select().  OS/2 version.
15613 2000-09-08  Karsten Weiss  <knweiss@gmx.de>
15615         * po/de.po: Updated.
15617 2000-09-07  Karsten Weiss  <knweiss@gmx.de>
15619         * dia.desktop: Added German translation
15620         * app/menus.c: "Diagram Propeties..." -> "Diagram Properties..."
15622 2000-08-29  Manuel de Vega Barreiro <barreiro@arrakis.es>
15624         * configure.in (ALL_LINGUAS): added "es"
15626 2000-08-28  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
15628         * app/magnify.c:
15629         * app/cursor.h:
15630         * app/cursor.c:
15631         * app/scroll_tool.c:
15632         Standardized cursor function get_cursor().  Magnify now has
15633         looking-glass cursor with + and -.
15635         * app/create_object.c (create_object_button_press): 
15636         Newly created connections now snap to connection points even when
15637         off the grid. 
15639 2000-08-17  Daniel Egger  <egger@suse.de>
15641         * app/menus.c: #ifdef'ed some code for the none GNOME
15642         case.
15643         * app/dia_embedd.c: Changed obvious hackery. Can anyone
15644         please have a look at the GNOME UI menu creation? The
15645         gnome-app-helper code is ages old and plainly broken!
15647 2000-08-15  Daniel Egger  <egger@suse.de>
15649         * app/commands.c:
15650         * app/commands.h:
15651         * app/diagram.c:
15652         * app/display.c:
15653         * app/menus.c:
15654         * app/select.c: First big patch to get the menus
15655         working again in the international version. Copied
15656         some code written by Sven and me from GIMP and
15657         thus implemented automatic tearoffmenu creation and
15658         proper translation. I also removed that pseudo
15659         radiomenu hack and cleaned up several translation
15660         hacks which have never really worked. All in all
15661         this is part I of the big menu patch. Enjoy and tell
15662         me if you detect any problems.
15664 2000-08-14  Daniel Egger  <egger@suse.de>
15666         * sheets/UML.sheet: Changed one German translation as
15667         suggested by Heribert Schuetz <hs@heribert-schuetz.de>.
15669 2000-08-10  Fredrik Hallenberg  <hallon@lysator.liu.se>
15671         * app/diapagelayout.c:
15672         * lib/diagramdata.c:
15673         * lib/diagramdata.h:
15674         * lib/Makefile.am:
15675         * lib/paper.c:
15676         * lib/paper.h: honour PAPERCONF env variable and /etc/papersize when
15677         selecting paper size for a new diagram. TODO: Use libpaper if 
15678         available and use gnome_paper-stuff if using GNOME.
15680         * sheets/Electric.sheet: fixed typo.
15681         
15682 2000-08-08  James Henstridge  <james@daa.com.au>
15684         * po/README: added a readme file to tell translators to translate
15685         the .sheet files as well.
15687         * app/commands.c (help_about_callback): fix small bug where we tried
15688         to gdk_bitmap_unref() the mask for the about box image, even though
15689         it was NULL.  Now check for a NULL mask.
15691 2000-08-07  Daniel Egger  <egger@suse.de>
15693         * sheets/*.sheet: Added translations for the name
15694         in the toolbar tab. Brushed up some descriptions 
15695         and some translations a bit.
15697 2000-08-06  James Henstridge  <james@daa.com.au>
15699         * plug-ins/svg/render_svg.c (new_svg_renderer): update public
15700         identifier and dtd url for SVG output.
15701         (new_svg_renderer): fix the output of the viewBox output.  The
15702         second two numbers are the width and height -- not the right
15703         and bottom sides of the box.
15705         * shapes/*/*.shape: update svg namespace URI.
15707         * objects/custom/shape_info.c (load_shape_info): change the
15708         namespace URI for custom shapes yet again to match the Candidate
15709         Recommedation.  It looks like this one will probably be the final
15710         one.
15712         * app/display.c (new_display): remove the code that sets ic and
15713         ic_attr members to NULL, as one of the previous function calls
15714         causes the display to be realised.  This means that the ic gets
15715         lost.  Thanks to Yukihiro Nakai <ynakai@redhat.com> for finding
15716         this one.
15718 2000-08-06  James Henstridge  <james@daa.com.au>
15720         * shapes/Makefile.am (SUBDIRS): add Civil back to list.
15722         * NEWS: fixed date in NEWS file, as I will release today.
15724         * README: updated the README a little.  Added note that Dia is now
15725         a GNU program.
15727         * dia.spec: fix up spec file.
15729         * plug-ins/wpg/wpg.c: changed DIAG_NOTE stuff here as well.
15731         * plug-ins/hpgl/hpgl.c: change Hans's DIAG_NOTE stuff so that we don't
15732         get heaps of warnings when you turn off debugging.
15733         Also made a few other warning fixes.
15735 2000-08-02  James Henstridge  <james@daa.com.au>
15737         * plug-ins/svg/Makefile.am (INCLUDES): add XML_CFLAGS to INCLUDES.
15739         * configure.in: update version number.
15741 2000-08-01  James Henstridge  <james@daa.com.au>
15743         * app/commands.c (help_about_callback): add Hans to about dialog.
15745         * doc/shape.dtd: dtd for shape file format.
15747         * doc/custom-shapes: update doc file about creating custom shapes.
15749         * shapes/*/*.shape: change namespace URI for the SVG portion to the
15750         one for the latest draft.
15752         * shapes/*/*.shape: fix up rect definitions.
15754         * objects/custom/shape_info.c (load_shape_info): recognise newer
15755         namespace tag for SVG.
15756         (parse_svg_node): the rect element should take attributes x, y, width
15757         and height -- not x1,y1,x2,y2.
15759         * plug-ins/svg/render_svg.c (new_svg_renderer): updated doctype
15760         output to use the newest draft DTD.
15762         * plug-ins/svg/svg.c: initialisation code for plugin.
15764         * plug-ins/svg/render_svg.c: move svg export code to a plugin.
15766         * plug-ins/svg/Makefile.am: makefile for svg plugin.
15768         * app/app_procs.c (internal_plugin_init): don't register the svg
15769         export filter here.
15771         * app/Makefile.am (dia_core_files): don't compile in render_svg.[ch]
15773 2000-07-31  James Henstridge  <james@daa.com.au>
15775         * objects/standard/textobj.c (textobj_get_defaults): 
15776         * objects/standard/polygon.c (polygon_get_defaults): 
15777         * objects/standard/image.c (image_get_defaults): 
15778         * objects/standard/ellipse.c (ellipse_get_defaults): 
15779         * objects/standard/box.c (box_get_defaults): 
15780         * objects/standard/beziergon.c (beziergon_get_defaults): 
15781         * objects/flowchart/parallelogram.c (pgram_get_defaults): 
15782         * objects/flowchart/ellipse.c (ellipse_get_defaults): 
15783         * objects/flowchart/diamond.c (diamond_get_defaults): 
15784         * objects/flowchart/box.c (box_get_defaults): 
15785         * objects/custom/custom_object.c (custom_get_defaults): 
15786         * objects/FS/flow.c (flow_get_defaults): 
15787         * objects/FS/flow-poly.c (flow_get_defaults): 
15788         * objects/FS/flow-ortho.c (orthflow_get_defaults): ref and sink the
15789         defaults widget.
15791         * app/defaults.c (defaults_show): don't keep on ref'ing the defaults
15792         widgets for various object types.
15793         (create_dialog): ref and sink the no_defaults_dialog.
15795         * app/preferences.c (prefs_create_dialog): change
15796         gtk_container_border_width call to gtk_container_set_border_width.
15798 2000-07-29  James Henstridge  <james@daa.com.au>
15800         * app/commands.c (view_aa_callback): show a warning dialog if
15801         you start AA mode.
15803         * app/interface.c (fill_sheet_menu): don't add a menu item for
15804         empty sheets.
15806 2000-07-26  James Henstridge  <james@daa.com.au>
15808         * plug-ins/dxf/dxf-export.c: updates from Steffen to fix bug #18677
15810         * app/menus.c: remove edit grid menu item.
15812         * app/commands.[ch] (view_edit_grid_callback): removed.
15814         * app/display.c (new_display): don't initialise removed Grid members.
15816         * app/grid.c: remove unused functions.
15818         * app/grid.h: remove dialog related stuff from Grid structure.
15819         Remove prototypes for dialog functions.
15821         * app/menus.c: add to menus
15822         
15823         * app/commands.[ch] (view_diagram_properties_callback): new command
15824         for showing the diagram properties dialog.
15826         * app/dia-props.[ch]: a new diagram properties dialog.  To replace
15827         the edit grid dialog.
15829 2000-07-25  James Henstridge  <james@daa.com.au>
15831         * app/grid.c (grid_x_update): 
15832         (grid_y_update): as the grid setting is stored with the diagram,
15833         update all displays when a change is made.
15835         * app/modify_tool.c (modify_motion): use new snap_to_grid sig.
15837         * app/create_object.c (create_object_button_press): 
15838         (create_object_motion): use new snap_to_grid signature.
15840         * app/grid.c (grid_draw): use the grid settings in the DiagramData,
15841         and handle invisible grid lines.
15842         (snap_to_grid): use new grid settings.  Also changed signature to
15843         take a DDisplay rather than Grid pointer.
15844         (grid_show_dialog): get the defaults from the correct place.
15846         * app/display.c (new_display): do not set ddisp->grid.width_[xy].
15848         * app/diagram.c (new_diagram): set the grid size defaults from the
15849         user preferences.
15851         * app/load_save.c (diagram_data_save): save grid and guide info to
15852         diagram file.
15853         (diagram_data_load): add guide and grid load support.
15855         * lib/diagramdata.c (new_diagram_data): set the new DiagramData
15856         members.
15858         * lib/diagramdata.h: add members to DiagramData for grid and guide
15859         settings.
15861         * configure.in (BONOBO_LIBS): update configure scripts
15863         * app/dia.oafinfo: oafinfo file for dia embeddables.
15865         * app/dia_embedd.c: add OAF support.
15867 2000-07-24  James Henstridge  <james@daa.com.au>
15869         * plug-ins/wpg/Makefile.am: 
15870         * plug-ins/pstricks/Makefile.am: 
15871         * plug-ins/hpgl/Makefile.am: 
15872         * plug-ins/dxf/Makefile.am: same here.
15874         * plug-ins/cgm/Makefile.am: remove LIBADD.  Dia already links with
15875         the required libraries, and the link line was causing libtool not
15876         to build a shared library on some systems :(
15878         * plug-ins/cgm/cgm.c (write_real): the initial if statement should
15879         be checking x, not n.
15881 2000-07-23  James Henstridge  <james@daa.com.au>
15883         * app/preferences.c (prefs_data): set the "reset tools after
15884         create" preference to true by default.  That seems to be what most
15885         people expect.
15887         * app/interface.c (create_sheets): instead of a notebook, use an
15888         option menu that updates the sheet tools.  The notebook tabs were
15889         getting a bit unwieldly, so the option menu should fix that.  This
15890         also reduces the number of widgets in the tools radio button
15891         group, which should make the UI a little more responsive.
15893 2000-07-19  Fatih Demir <kabalak@gmx.net>
15894         
15895         * configure.in: Added tr to ALL_LINGUAS.
15896                 [ Yeah, we're now having a Turkish translation,
15897                    too. ]
15898         
15899         * dia.desktop: Added the Turkish entries.
15901 2000-07-02  Fredrik Hallenberg  <hallon@lysator.liu.se>
15903         * doc/diagram.dtd: changed string-element so it conforms to the
15904         output from dia.
15906 2000-06-30  Fredrik Hallenberg  <hallon@lysator.liu.se>
15908         * configure.in: added chinese. 
15909         Use AM_PROG_LIBTOOL instead of AC_PROG_LIBTOOL.
15911         * app/app_procs.c:
15912           app/load_save.c:
15913           app/render_svg.c:
15914           lib/dia_xml.c:
15915           lib/plug-ins.c:
15916           lib/sheet.c:
15917           objects/custom/shape_info.c: 
15918           shapes/Circuit/npn.shape:
15919           shapes/Circuit/pnp.shape:
15920           sheets/*.sheet: dia now works with libxml2.
15921         Libxml2 is a bit more picky when parsing xml and reported errors on all 
15922         sheet files because they use non ascii characters (added 
15923         encoding="iso-8859-1"). Also "xml:lang=en@layman" is not proper xml so 
15924         I commented out these.
15926 2000-06-30  Christopher R. Gabriel  <cgabriel@linux.it>
15928         * configure.in (ALL_LINGUAS): added Italian
15930 2000-06-27  Sung-Hyun Nam  <namsh@lgic.co.kr>
15932         * configure.in (ALL_LINGUAS): added Korean
15934 2000-06-25  James Henstridge  <james@daa.com.au>
15936         * objects/flowchart/parallelogram.c (pgram_create): use default font
15937         and add properties interface support.
15939         * objects/flowchart/ellipse.c (ellipse_create): use default font and
15940         add properties interface support.
15942         * objects/flowchart/diamond.c (diamond_create): use default font and
15943         add properties interface code.
15945         * objects/flowchart/box.c (box_create): use default font.
15947         * objects/custom/custom_object.c (custom_create): use default font
15948         here too.
15950         * objects/standard/textobj.c (textobj_create): update to use default
15951         font.
15953         * lib/attributes.c: add implementations.
15955         * lib/attributes.h (attributes_[gs]et_default_font): add function
15956         prototypes for setting/getting a default font.
15958 2000-06-24  James Henstridge  <james@daa.com.au>
15960         * app/paginate_gnomeprint.h: updated prototype.
15962         * app/paginate_gnomeprint.c (paginate_gnomeprint): update to use
15963         diagram page settings.
15965         * objects/standard/beziergon.c (beziergon_copy): same here.
15967         * objects/standard/polygon.c (polygon_copy): copy the fill colour
15968         as well.
15970         * app/undo.h: 
15971         * app/tool.h (tool_options_dialog_show): 
15972         * app/scroll_tool.h (free_scroll_tool): 
15973         * app/render_svg.h: 
15974         * app/render_libart.h (renderer_libart_copy_to_window): 
15975         * app/render_gdk.h (renderer_gdk_copy_to_window): 
15976         * app/properties.h (properties_hide_if_shown): 
15977         * app/preferences.h (prefs_load): 
15978         * app/object_ops.h: 
15979         * app/modify_tool.h (free_modify_tool): 
15980         * app/magnify.h (free_magnify_tool): 
15981         * app/linewidth_area.h (linewidth_area_create): 
15982         * app/layer_dialog.h: 
15983         * app/handle_ops.h (handle_is_clicked): 
15984         * app/group.h: 
15985         * app/grid.h (grid_destroy_dialog): 
15986         * app/defaults.h (defaults_show): 
15987         * app/cut_n_paste.h (cnp_exist_stored_objects): 
15988         * app/create_object.h (free_create_object_tool): 
15989         * app/connectionpoint_ops.h (diagram_unconnect_selected): 
15990         * app/commands.h: 
15991         * app/color_area.h (color_area_create): 
15992         * app/app_procs.h (app_is_embedded): remove extern keyword from
15993         function prototypes.
15995         * lib/text.h: 
15996         * lib/sheet.h (load_all_sheets): 
15997         * lib/render_store.h: 
15998         * lib/render_object.h (render_object_load): 
15999         * lib/polyshape.h (polyshape_closest_segment): 
16000         * lib/poly_conn.h (polyconn_closest_segment): 
16001         * lib/orth_conn.h: 
16002         * lib/object.h: 
16003         * lib/objchange.h (new_object_state_change): 
16004         * lib/neworth_conn.h (neworthconn_add_segment): 
16005         * lib/message.h (message_error): 
16006         * lib/lazyprops.h: 
16007         * lib/geometry.h: 
16008         * lib/font.h (font_descent): 
16009         * lib/focus.h (remove_focus): 
16010         * lib/element.h: 
16011         * lib/diagramdata.h: 
16012         * lib/dia_xml.h (data_add_composite): 
16013         * lib/dia_image.h: 
16014         * lib/connpoint_line.h: 
16015         * lib/connection.h (connection_move_handle): 
16016         * lib/color.h: 
16017         * lib/attributes.h (attributes_set_default_line_style): 
16018         * lib/arrows.h (arrow_draw): remove extern keyword from function
16019         definitions.  It is not required for functions.
16021         * plug-ins/dxf/Makefile.am (INCLUDES): 
16022         * plug-ins/pstricks/Makefile.am (INCLUDES): 
16023         * plug-ins/cgm/Makefile.am (INCLUDES): 
16024         * objects/SADT/Makefile.am (INCLUDES): 
16025         * objects/chronogram/Makefile.am (INCLUDES): 
16026         * objects/GRAFCET/Makefile.am (INCLUDES): 
16027         * objects/flowchart/Makefile.am (INCLUDES): 
16028         * objects/sybase/Makefile.am (INCLUDES): 
16029         * objects/FS/Makefile.am (INCLUDES): 
16030         * objects/standard/Makefile.am (INCLUDES): 
16031         * objects/network/Makefile.am (INCLUDES):
16032         * objects/UML/Makefile.am (INCLUDES): same here.
16034         * objects/ER/Makefile.am: changed inclusion of some macros to
16035         variables.
16037         * lib/plug-ins.c (dia_register_plugins_in_dir): use a few defines to
16038         handle the plug in extension, rather than have all the #ifdef's in
16039         the code.
16041         * plug-ins/Makefile.am: add renderer.inc to dist.
16043         * plug-ins/dxf/dxf-import.c: Updates from Steffen Macke.
16045 2000-06-11  Asbjorn Pettersen  <asbjornP@dualog.no>
16047         * lib/plug-ins.c: Handle OS/2 dll's too.
16049 2000-06-07  James Henstridge  <james@daa.com.au>
16051         * app/plugin-manager.c (get_plugin_manager): set some table
16052         packing options to make it look a little nicer.
16054         * plug-ins/hpgl/Makefile.am, plug-ins/wpg/Makefile.am: added
16055         makefiles for these plug-ins.
16057         * plug-ins/{hpgl,wmf,wpg}/*: removed dos style cariage returns.
16059         * configure.in: added hpgl and wpg directories to build.  Added
16060         note about whether gnome-print support was enabled, and noted that
16061         it is not recommended.
16063 2000-06-06  James Henstridge  <james@daa.com.au>
16065         * plug-ins/{hpgl,wmf,wpg}/*: Hans Breuer's plug-ins.  They still need
16066         a little work, but I am checking them in so I don't lose them.
16068 2000-06-01  James Henstridge  <james@daa.com.au>
16070         * objects/standard/arc.c: added extra properties.
16072         * lib/beziershape.c (beziershape_closest_handle): fix a bug where I
16073         was using the wrong index into the handles array.  This gets corner
16074         type changing working correctly.
16076         * lib/properties.[ch]: add support for BezPoint's and BezPoint arrays
16077         to properties code (no editing or loading yet though).  Also added
16078         support for point array manipulation through the offsets interfaces.
16080         * lib/Makefile.am (INCLUDES): added include of gdk-pixbuf 
16082         * app/interface.c (origin_button_press): changes so the origin
16083         button doesn't grab the pointer when we pop up the menu.
16085         * app/commands.c (help_about_callback): fix small memory leak in
16086         about box code.
16088         * app/menus.c (menus_init): fixed breakage I introduced in the non
16089         gnome menus when I was doing the menu changes.  The tearoffs work
16090         really nicely in plain gtk mode as well.
16092         * objects/standard/beziergon.c (beziergon_create): changed the
16093         returned handles to match the handle numbering changes.  Now
16094         segment addition and removal works correctly with undo!
16096         * lib/beziershape.c: various changes to the code.  Changed the
16097         numbering of handles, and fixed the segment removal code.
16099 2000-05-31  James Henstridge  <james@daa.com.au>
16101         * objects/standard/beziergon.c: remove connection point handling.
16102         There is still a bit of work to be done to get adding and removing
16103         of segments working correctly.
16105         * lib/beziershape.c: add connection point handling to beziershape.
16106         I set it for two connection points per segment.
16108 2000-05-30  James Henstridge  <james@daa.com.au>
16110         * objects/standard/polygon.c: don't do connectionpoint handling.
16112         * lib/polyshape.c: changed to handle connection points internally.
16113         Also, don't worry about connections to handles on polyshape, as
16114         all handles are non connectable.
16116 2000-05-30 Ville Hautamaki <villeh@cs.joensuu.fi>
16118         * configure.in: Added finnish
16119         
16120 2000-05-30  James Henstridge  <james@daa.com.au>
16122         * sheets/*.sheet: translation updates to the .sheet files.
16124         * po/fr.po: updated po file from Christophe Merlet.
16126         * menus.h: removed prototypes for functions which have been removed.
16128 2000-05-29  James Henstridge  <james@daa.com.au>
16130         * app/layer_dialog.c (layer_dialog_set_diagram): set the selected
16131         item in the option menu when changing selected diagram.
16133         * app/dia_embedd.c (view_factory): fix up function to work with new
16134         menus API.
16136         * app/disp_callbacks.c (ddisplay_realize): remove call to
16137         display_set_active from here.
16138         (ddisplay_canvas_events): move call here.  This gets rid of all the
16139         warnings, as the renderer has been fully set up correctly at this
16140         point.
16142         * app/menus.c (menus_init): add the tearoff item to the start of the
16143         right click menu.
16145         * app/app_procs.c (create_user_dirs): we don't need to create the
16146         menus directory anymore.
16148         * app/disp_callbacks.c (ddisplay_popup_menu): it should not be
16149         necessary to update the menu state here, as it was done when the
16150         active display was set.
16152         * app/display.c (display_set_active): update the menu state when
16153         changing active displays.
16155         * app/interface.c (origin_button_press): set the display as active
16156         when a click is made on the menu button.
16158         * app/menus.c (menus_init): set up a quit function to save the accels
16159         at exit.
16160         Add tearoff items for the non GNOME menus, add accelerators for
16161         several GNOME menus.
16163         * app/disp_callbacks.c (ddisplay_popup_menu): get the menu with
16164         menus_get_image_menu().
16166         * app/menus.c (menus_get_item_from_path): use display_menus here
16167         rather than ddisp->popup.
16169         * app/display.h: remove the popup member in the DDisplay structure.
16171         * app/interface.c: remove option of not using wrap box.
16172         (create_toolbox): change to always use menus_get_toolbox_menubar
16173         even when using gnome menus.
16174         (create_display_shell): use menus_get_image_menu to load accelerators
16175         only -- not the actual popup menu.
16177         * app/menus.c (menus_init): new function to create the menus.
16178         (menus_get_toolbox_menubar): use this function whether gnome is
16179         in use or not.  Changed to use menus_init.
16180         (menus_get_image_menu): same here.  Also, now this function always
16181         returns the same menu, rather than a new one each time.
16182         (menus_init): read a menurc file to load accelerators here.
16184 2000-05-28  James Henstridge  <james@daa.com.au>
16186         * app/display.c (ddisplay_really_destroy): unset active display if
16187         active display is destroyed.
16188         (ddisplay_active): simplify function to return active_display as set
16189         by display_set_active.  This allows using a pinned menu with any
16190         display -- not just the one it was popped up from.
16191         (display_set_active): notify the layer dialog of change of diagrams
16192         when active diagram changes.
16194         * app/disp_callbacks.c (ddisplay_canvas_events): set active display
16195         on button and key presses.
16196         (ddisplay_realize): set active display on realize.
16198         * app/display.c (display_set_active): simple implementation of this
16199         function.
16201         * app/display.h (display_set_active): add prototype for setting
16202         the active display.
16204         * app/interface.c (create_display_shell): don't give focus to the
16205         menu button.
16207         * app/menus.c: fix up menus for Beziergon.
16209         * app/interface.c (create_display_shell): make the widget in the
16210         top left corner a button that can be used to pop up the right click
16211         menu, like in gimp and sketch.
16213         * app/disp_callbacks.c (ddisplay_popup_menu): new function to popup
16214         the display menu.
16216         * objects/standard/beziergon.c (beziergon_set_corner_type_callback):
16217         add code to set corner types for beziergon.
16219         * lib/beziershape.c (beziershape_set_corner_type): fix up corner type
16220         setting code.
16221         (beziershape_move_handle): use the previous corner type for right
16222         controls.
16224         * app/interface.c (tool_data): add beziergon to toolbox.
16226         * objects/standard/standard.c (dia_plugin_init): initialise the new
16227         Beziergon object type.
16229         * objects/standard/beziergon.c: an object based on BezierShape.
16231         * lib/dummy_dep.h (dummy_dep): added to dummy_dep.
16233         * lib/beziershape.[ch]: new files implementing a bezier shape.
16235 2000-05-26  James Henstridge  <james@daa.com.au>
16237         * lib/text.c (text_key_event): handle multibyte inserts.
16238         (text_key_event): also add home and end keybindings.
16240         * app/interface.c (create_display_shell): connect handlers for
16241         focus_in_event, focus_out_event, realize and unrealize signals.
16243         * app/display.[ch] (new_display): initialise input context members.
16245         * app/disp_callbacks.[ch]: added XIM support here.
16247         * lib/font.c (suck_font): the black and white pixel values should be
16248         taken from a 1 bit colormap rather than the default colormap.
16250         Hans Breuer's Windows patches ...
16252         * lib/font.c: use Courier New for fixed width font on windows
16253         machines.
16255         * lib/dia_image.h: change to "struct _DiaImage".
16257         * lib/dia_image.c: change "struct DiaImage" to "struct _DiaImage"
16259         * app/disp_callbacks.c (ddisplay_canvas_events): allow ctrl+right
16260         mouse button for object menu.  This will make two button mouse owners
16261         happier.
16263 2000-05-25  James Henstridge  <james@daa.com.au>
16265         * app/filedlg.c (file_open_ok_callback): use diagram_load here.
16267         * app/app_procs.c (app_init): add extra NULL argument to call of
16268         diagram_load.
16270         * app/load_save.h: remove prototype.
16272         * app/load_save.c: remove diagram_data function here.
16274         * app/diagram.h: added prototype.
16276         * app/diagram.c (diagram_load): new function here, which uses import
16277         filters.
16279         * plug-ins/dxf/dxf.c: register the import filter as well.
16281         * plug-ins/dxf/dxf-import.c: added (unfinished) DXF import filter from
16282         Steffen Macke <macke@heini.fbbwu.fh-lueneburg.de>
16284         * objects/standard/line.c: add start_point and end_point properties
16285         to standard line object.
16287 2000-05-21  James Henstridge  <james@daa.com.au>
16289         * app/paginate_psprint.c: added missing include of locale.h.
16291         * objects/custom/custom_object.c (custom_draw): use fabs rather than
16292         abs for scaling factors.
16293         (custom_distance_from): same here.
16295         * dia.spec: make sure rpm doesn't bomb out when LINGUAS isn't set.
16297 2000-05-18  James Henstridge  <james@daa.com.au>
16299         * po/POTFILES.in: updated POTFILES.in.
16301         * dia.spec: incremented version number in spec file.
16303         * NEWS: added (lots of) news items for the 0.85 release.
16305         * app/preferences.c (prefs_save): set LC_NUMERIC to C while writing
16306         the config file.
16308         * configure.in: updated version number here.
16310         * app/Makefile.am (run_dia.sh): include plug-ins in the lib path.
16312 2000-05-17  James Henstridge  <james@daa.com.au>
16314         * app/app_procs.c (internal_plugin_init): register the native import
16315         filter.
16317         * app/load_save.c (diagram_data_load, diagram_load): split this
16318         function into two -- one that does all the work on the DiagramData
16319         structure, and the other that provides compatibility with the old
16320         function.
16321         (dia_import_filter): use diagram_data_load to define an import
16322         filter.
16324         * app/diagram.h (new_diagram): added const to prototype.
16326         * app/filedlg.c (file_open_callback): change to use new import filter
16327         code.
16329         * lib/filter.c: added import filter management functions.
16331         * lib/filter.h: added prototypes for import filter interface.
16333         * app/commands.c (help_about_callback): updated about dialog to
16334         contain a few more names.
16336 2000-05-16  James Henstridge  <james@daa.com.au>
16338         * configure.in (Configuration): added a status message to the end of
16339         the configure script to give the user some idea of what was
16340         configured.
16342         * plug-ins/dxf/Makefile.am: Makefile for new plugin.
16344         * plug-ins/dxf/dxf.c (dia_plugin_init): added file to initialise the
16345         plugin.
16347         * plug-ins/dxf/dxf-export.c: new file -- Steffen Macke's DXF export
16348         filter for dia.
16350         * configure.in (AM_PATH_LIBART): use the check function provided
16351         with libart rather than our own code.  It is more reliable, and
16352         it only requires that people who build out of CVS have libart.m4
16353         installed (not necessarily all of libart).
16354         (AM_PATH_GDK_PIXBUF): same here for gdk-pixbuf.
16356 2000-05-12  Andreas Hyden  <a.hyden@cyberpoint.se>
16358         * dia.desktop: Added Swedish translation.
16360 2000-05-09  James Henstridge  <james@daa.com.au>
16362         * lib/dia_xml.c: you can't free a const pointer, so remove const
16363         from variable definitions.
16365         Explicitely set LC_NUMERIC where needed, as sometimes it isn't
16366         initialised correctly.
16368         * app/render_svg.c (export_svg): set locale to C.
16370         * app/paginate_psprint.c (paginate_psprint): set locale to C.
16372         * app/render_eps.c (export_eps): set locale to C for EPS export.
16374         * lib/dia_xml.c (data_add_real): change to C locale for snprintf call.
16375         (data_add_point): same here.
16376         (data_add_rectangle): same here.
16377         (data_real): use g_strtod to convert strings to real numbers, so that
16378         locales are taken into account.
16379         (data_point): same here.
16380         (data_rectangle): same here.
16382         * AUTHORS: added Henk and Jacek to authors file.
16384         Daniel Egger's code cleanups.
16386         * app/select.c (select_invert_callback): remove unused variable.
16388         * app/plugin-manager.c (get_plugin_manager): fix typo.
16390         * app/load_save.c (read_connections, write_objects): 
16391         (write_connections): made some functions static.
16393         * app/interface.c (toolbox_delete, toolbox_destroy): made some
16394         functions static.
16396         * app/filedlg.c (file_export_callback): remove unused variable.
16398         * app/app_procs.c: various warning fixes.
16400         Integrating Jacek Pliszka's pstricks export filter.
16402         * plug-ins/pstricks/pstricks.c: code to initialise the plugin.
16404         * plug-ins/pstricks/render_pstricks.[ch]: Jacek Pliszka's pstricks
16405         renderer (with a few small modifications by me).
16407         * plug-ins/pstricks/Makefile.am: new makefile for pstricks plug-in.
16409         * plug-ins/Makefile.am (SUBDIRS): add pstricks subdirectory.
16411 2000-05-07  Alexander Larsson  <alla@lysator.liu.se>
16413         * configure.in:
16414         * sheets/Makefile.am:
16415         * shapes/Makefile.am:
16416         * shapes/Civil/Makefile.am:
16417         * sheets/civil.sheet:
16418         * shapes/Civil/*:
16419         Added civil/hydraulic/structural engineering objects from
16420         sdteffen <macke@heini.fbbwu.fh-lueneburg.de>.
16421         
16422 2000-05-07  Alexander Larsson  <alla@lysator.liu.se>
16424         * objects/FS/flow-poly.c:
16425         * objects/FS/flow.c:
16426         Fix division by zero in point_normalize().
16427         Patch by David Thompson <dcthomp@mail.utexas.edu>
16429 2000-04-27  Lars Clausen  <lrclause@cs.uiuc.edu>
16431         * lib/arrows.c:
16432         * lib/bezier_conn.c:
16433         * lib/connpoint_line.c:
16434         Added checks for zero-length lines before calls to point_normalize.
16436 2000-04-24  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
16438         * app/preferences.c (prefs_data): Changed
16439         reversed_dragging_intersects to not make the dialog ridiculously
16440         wide.
16441         
16442 2000-04-22  James Henstridge  <james@daa.com.au>
16444         Hans's win32 patches:
16446         * app/export_png.c: include message.h
16447         * app/interface.c: include dia_dirs.h
16448         * app/linewidth_area.c: check for rint
16449         * app/main.c: include interface.h
16450         * app/paginate_psprint.c: remove unused variable.
16451         * app/preferences.c: include message.h
16452         * app/render_svg.c: include stdlib.h
16453         * app/select.c: include object_ops.h
16454         * lib/dia_dirs.c: miscelaneous fixes for win32.
16455         * lib/dia_image.c: include string.h
16456         * lib/plug-ins.c: look for .dll files rather than .la files on win32.
16457         * lib/properties.c: include stdlib.h
16458         * lib/properties.h: define extra data for standard properties as
16459         static variables on win32 (to get around dynamic linker problems).
16460         * objects/standard/polygon.c: polygon_create_change missing return
16461         statement.
16463 2000-04-18  Pablo Saratxaga <pablo@mandrakesoft.com>
16465         * configure.in (ALL_LINGUAS): added Catalan
16467 2000-04-18  James Henstridge  <james@daa.com.au>
16469         * objects/standard/bezier.c (bezierline_get_object_menu): add a
16470         separator to the object menu between the add/remove segment items
16471         and the corner type items.
16472         (bezierline_get_object_menu): add code to disable the menu item for
16473         the current corner type.  Really just a cosmetic change.
16475         * app/disp_callbacks.c (create_object_menu): handle DiaMenuItems with
16476         a NULL for the label or with no associated callback.
16478         * objects/standard/bezier.c (bezierline_menu_items): use the
16479         enumeration values rather than numeric values for the corner types.
16481         * lib/bezier_conn.[ch]: added a corner_types member to the BezierConn
16482         structure, and add code to handle it.  Also, don't save the corner
16483         types inline in the bez_points node.  The way it is conditionally
16484         including the element just feels like it will break.
16486         * lib/geometry.h (BezPoint): removed the corner_type stuff from
16487         BezPoint.  The corner type stuff is a user interface level idea rather
16488         than something required by the renderer, so should be taken care of
16489         at the object level.
16491 2000-04-17  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
16493         * configure.in: Fixed some problems with the gdk-pixbuf/imlib
16494         checks.  Weren't able to reproduce original bug, tough.
16496 2000-04-16  Cyrille Chepelov  <chepelov@calixo.net>
16498         * sheets/Electric.sheet:
16499         * sheets/Contact.sheet:
16500         * sheets/Pneumatic.sheet:
16501         * sheets/Circuit.sheet: sprayed some <br/>'s around.
16502         (added a few French translations in the last file)
16503         
16504 2000-04-16  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
16506         * lib/geometry.h: 
16507         * lib/bezier_conn.h: 
16508         * objects/standard/bezier.c: 
16509         * lib/bezier_conn.c: Support for cuspy, smooth and symmetric
16510         bezier points.  Only one minor problem known:  Menus are active
16511         for endpoints minor handles.
16512         11:28: Save and load now works, too.
16513         (bezierconn_closest_major_handle): 12:03: New function to get the
16514         non-control point handle associated with the nearest control
16515         point.  
16516         Also fixed the menu activation problem, and made remove_segment
16517         not remove the endpoint.
16519 2000-04-15  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
16521         * configure.in: Added check for gdk-pixbuf being >= 0.7.0 since
16522         new API is in use.
16524 2000-04-15  Asbjorn Pettersen  <asbjornP@dualog.no>
16526         * lib/plug-ins.c: Added <sys/types.h> and moved <fcntl.h> below
16527         <sys/stat.h>.   OS/2 patch.
16529 2000-04-15  James Henstridge  <james@daa.com.au>
16531         * objects/FS/flow-ortho.c, objects/FS/function.c: Applied David
16532         Thompson's patch that adds undo support to the function structure
16533         diagram objects.
16535 2000-04-14  James Henstridge  <james@daa.com.au>
16537         * objects/custom/custom_object.c (custom_distance_from): new
16538         implementation of distance algorithm that actually takes the
16539         display list into account when calculating the distance.  Much nicer
16540         than a simple bounding box.
16542 2000-04-13  Lars Clausen  <lrclause@cs.uiuc.edu>>
16544         * lib/geometry.c (line_crosses_ray): Fixed division by zero bug
16546 2000-04-12  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
16548         * objects/standard/polygon.c: Start of polygons own changes (for
16549         connectionpoints).  Need to do seperate changes in polyshape, too,
16550         rather than reuse the bezier changes.
16552 2000-04-13  James Henstridge  <james@daa.com.au>
16554         * lib/dia_image.c (dia_image_draw): use the new enumeration values
16555         from after the gdk-pixbuf cleanup.
16557         * lib/geometry.c (bez_point_distance_and_ray_crosses): fix up limit
16558         on for loop.  Last set of coefficients were not beeing calculated,
16559         which caused a bit of breakage.
16561         * lib/bezier_conn.c (bezierconn_closest_segment): use the new
16562         functions in geometry.c for calculating the closest segment.
16563         (bezierconn_distance_from): use distance_bez_line_point to calculate
16564         the distance.
16566         * lib/geometry.c (distance_bez_line_point): new function to calculate
16567         the distance from an open bezier line to a point.
16568         (distance_bez_shape_point): new function to calculate the distance
16569         from a closed bezier shape.
16570         (distance_ellipse_point): new function to calculate the distance from
16571         a filled ellipse to a point.
16573         * lib/geometry.h (BezPoint): moved this structure here from render.h
16575 2000-04-12  James Henstridge  <james@daa.com.au>
16577         * lib/geometry.c (distance_bez_seg_point): new function to calculate
16578         the distance from a bezier segment.
16580         * lib/polyshape.c (polyshape_distance_from): use distance_polygon_point
16581         to calculate the distance from the object.
16583         * lib/geometry.c (distance_polygon_point): function for calculating
16584         the distance from a polygon to a point.
16586 2000-04-12  Cyrille Chepelov  <chepelov@calixo.net>
16588         * app/interface.c:
16589         * lib/sheet.[ch]: added a <br/> tag in sheet files, so that line 
16590         breaks can be inserted in the tool box. 
16592         * doc/sheet.dtd: updated the DTD
16593         * sheets/GRAFCET.sheet: tried <br/> on that sheet (more to come).
16594         
16595 2000-04-12  James Henstridge  <james@daa.com.au>
16597         * app/plugin-manager.c (get_plugin_manager): use the GTK_DIALOG
16598         macro if the dialog is a GtkDialog :(
16600 2000-04-11  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
16602         * objects/standard/polygon.c: Connectionpoints now properly
16603         managed in a GList.  As far as I can tell, this will not dieturb
16604         the order (but I have the nagging doubt...)
16606         * lib/polyshape.c: No longer knows about connectionpoints.
16608 2000-04-11  James Henstridge  <james@daa.com.au>
16610         * app/Makefile.am: fix makefile for bonobo build.
16612         * configure.in: fix checks for bonobo.
16614         * app/menus.c: added entries for the plugin manager.
16616         * app/Makefile.am (dia_core_files): added plugin manager to files
16617         list.
16619         * app/plugin-manager.[ch]: the plugin manager dialog.
16621         * app/display.c (display_update_menu_state): set the antialiased
16622         menu entry to the correct value.
16624 2000-04-11  Cyrille Chepelov  <chepelov@calixo.net>
16626         * objects/custom/custom_object.c: not all renderers like ellipses with
16627         negative dimensions. This could cause ellipses to disappear when using
16628         the flip_h and flip_v functions.
16630         * samples/grafcet.dia: fixed speling and correctness.
16631         
16632 2000-04-11  James Henstridge  <james@daa.com.au>
16634         * lib/plug-ins.[ch]: added more accessors for use by a plugins dialog.
16635         exposed the dia_plugin_load and dia_plugin_unload functions.
16637         * lib/plug-ins.c (plugin_load): change plugin_load to work on an
16638         already created PluginInfo structure.
16640         * app/app_procs.c (app_exit): call dia_pluginrc_write() to write
16641         the pluginrc file.
16643         * lib/sheet.c: fix up call to dia_config_filename.
16645         * lib/plug-ins.[ch]: started writing code for handling a pluginrc
16646         file.  This would save information such as which plugins not to
16647         load during startup.
16649 2000-04-09  James Henstridge  <james@daa.com.au>
16651         * lib/sheet.c: use dia_config_filename to resolve file in ~/.dia.
16653 2000-04-10  Alexander Larsson  <alla@lysator.liu.se>
16655         * lib/plug-ins.c (dia_register_plugins):
16656         Don't free the value returned from g_getenv.
16658 2000-04-09  Anders Carlsson  <andersca@gnu.org>
16660         * app/preferences.h: Add reverse_rubberbanding_intersects preference variable.
16662         * app/preferences.c (prefs_data): Add reverse_rubberbanding_intersects preference data.
16664         * app/modify_tool.c (modify_button_release): If rubberbanding is done from 
16665         right to left, select objects that intersect the rubberbanding rectangle
16666         instead of selecting objects that are in the rectangle.
16668         * lib/diagramdata.c (layer_find_objects_intersecting_rectangle): Add function.
16670         * lib/diagramdata.h: Likewise.
16673 2000-04-09  James Henstridge  <james@daa.com.au>
16675         * lib/plug-ins.[ch]: add copyright messages to files.
16677         * plug-ins/cgm/cgm.c (dia_plugin_init): convert plugin over to new
16678         plugin interface.
16680         * objects/sybase/sybase.c (dia_plugin_init): 
16681         * objects/network/network.c (dia_plugin_init): 
16682         * objects/flowchart/flowchart.c (dia_plugin_init): 
16683         * objects/custom/custom.c (dia_plugin_init): 
16684         * objects/chronogram/chronogram.c (dia_plugin_init): 
16685         * objects/UML/uml.c (dia_plugin_init): 
16686         * objects/SADT/sadt.c (dia_plugin_init): 
16687         * objects/GRAFCET/grafcet.c (dia_plugin_init): 
16688         * objects/FS/fs.c (dia_plugin_init): 
16689         * objects/ER/er.c (dia_plugin_init): updated plugin load code for
16690         object libraries.
16692         * objects/standard/standard.c (dia_plugin_init): change over to new
16693         plugin interface.
16695         * lib/plug-ins.h (DIA_PLUGIN_CHECK_INIT): added a macro to define
16696         the version checker for plugins.
16698         * app/app_procs.c: remove plugin loading code from here, and use
16699         code from plug-ins.[ch].  Also move registration of internal
16700         objects/filters to a `builtin' plugin.
16702         * lib/Makefile.am (libdia_a_SOURCES): added plug-ins.[ch] to library.
16704         * configure.in: use AC_PROG_LIBTOOL rather than AM_PROG_LIBTOOL.
16706         * app/Makefile.am (EXTRA_DIST): you can't include a conditionally
16707         defined variable in EXTRA_DIST.
16709         * app/preferences.h: removed dia_config_filename from header.
16711         * app/preferences.c: removed dia_config_filename function.
16713         * lib/dia_dirs.c (dia_config_filename): moved function over to this
16714         file.  Also changed implementation slightly so that it should work
16715         on the win32 port correctly (and use NT home directories).
16717         * lib/dia_dirs.h (dia_config_filename): move dia_config_filename where
16718         it should have been.
16720         * lib/plug-ins.[ch]: new plugin loading code.
16722 2000-04-08  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
16724         * objects/standard/polygon.c: Fixed startup crash bug (do'h!).
16726         * lib/polyshape.c: Fix closest segment finding, exposes deeper
16727         bugs in adding corners to 'wraparound' segment.
16729         * objects/standard/polygon.c: Added connection points (fixed so
16730         far), set menu sensitivity.
16732         * lib/polyshape.c: Changed to box-style handles, fixed for start
16733         and ends not being special, added initial connections,
16735         * lib/dummy_dep.h: Added polyshape (gotcha!)
16737         * objects/standard/pixmaps/ellipse.xpm: 
16738         * objects/standard/pixmaps/box.xpm: 
16739         Filled element pixmaps with white.
16741         * lib/polyshape.c: 
16742         * objects/standard/polygon.c: 
16743         * lib/polyshape.h: 
16744         * objects/standard/standard.c: 
16745         * objects/standard/Makefile.am (libstandard_objects_la_SOURCES): 
16746         * lib/Makefile.am (libdia_a_SOURCES): 
16747         * app/menus.c: 
16748         * app/interface.c (tool_data): 
16749         Added Standard/Polygon object and PolyShape lib object.  Still
16750         needs inside grab and connection points.
16752         * app/commands.c (help_about_callback): Now uses gdk-pixbuf if
16753         available. 
16755         * configure.in: Made imlib a fallback if gdk-pixbuf is absent or
16756         not wanted.
16758         * app/app_procs.c (app_init): Moved gtk_init outside #ifdef, moved
16759         if (argv) outside ifdefs.
16761 2000-04-04  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
16763         * objects/standard/image.c (image_set_props): 
16764         Aspect ratio is back in town.
16766         * app/Makefile.am (dia_LDADD): 
16767         * acconfig.h: 
16768         * configure.in: 
16769         Check for gdk_pixbuf (by default disabled, for now)
16771         * app/render_eps.c (draw_image): 
16772         * app/render_libart.c (draw_image): 
16773         * app/render_gnomeprint.c (draw_image): 
16774         Support for alpha mask in rendering.  Color postscript, too.
16776         * lib/dia_image.c: 
16777         * lib/dia_image.h: 
16778         Support for gdk_pixbuf and proper masking for exports.
16780 2000-04-01  Kjartan Maraas  <kmaraas@online.no>
16782         * sheets/*.sheets: Updated Norwegian translations.
16783         
16784 2000-03-30  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
16786         * lib/text.c (text_insert_char): 
16787         * lib/render_store.c (add_data): 
16788         Made realloc double the alloced space rather than add
16789         a fixed amount, to reduce memory stress.
16791         * app/select.c: Added new select method 'Transitive'
16792         that select every reachable (by connections) object.
16794 2000-03-27  Kjartan Maraas  <kmaraas@online.no>
16796         * dia.desktop: Added Norwegian translation.
16797         
16798 2000-03-26  Alexander Larsson  <alla@lysator.liu.se>
16800         * app/render_eps.c:
16801         * app/render_svg.c:
16802         Don't dereference NULL pointer if the renderer
16803         couldn't open the file. Fix by Lars Clausen.
16804         Bug reported by Martin Chisholm <b1mt@unb.ca>
16805         
16806 2000-03-26  Alexander Larsson  <alla@lysator.liu.se>
16808         * dia.desktop:
16809         * po/pt.po:
16810         Updated pt translation from Pedro Morais <pmmm@rnl.ist.utl.pt>
16812 2000-03-25  Alexander Larsson  <alla@lysator.liu.se>
16814         * app/dia.gnorba (location_info):
16815         Changed to correct executable name.
16817 2000-03-25  Alexander Larsson  <alla@lysator.liu.se>
16819         * app/app_procs.c:
16820         Don't do any argument parsing or initialization
16821         if argv==NULL.
16823         * app/dia_embedd.c:
16824         Call init_server_factroy before app_init.
16825         Call app_init with argv==NULL
16826         Now we don't get any critical error on startup.
16828         * configure.in:
16829         Add Electric and Pneumatic to makefile list.
16830         
16831 2000-03-24  Cyrille Chepelov <chepelov@calixo.net>
16833         * shapes/Electric/*:
16834         * sheets/Electric.sheet:
16835         Add some Electric circuit shapes.
16837         * shapes/Pneumatic/*:
16838         * sheets/Pneumatic.sheet:
16839         Add some Pneumatic & Hydraulic circuit shapes
16840         (both sheets are still incomplete, though feature enough 
16841         things for basic circuits).
16843         * shapes/Contact/l_*.(xpm|shape):
16844         * sheets/Contact.sheet
16845         * shapes/Contact/Makefile.am
16846         made the older electric circuit shapes in Contact obsolete (disabled
16847         them in the sheet, made that sheet Ladder only). Fixed the makefile
16848         for forgotten items.
16849         
16850 2000-03-24  Alexander Larsson  <alla@lysator.liu.se>
16852         * app/Makefile.am:
16853         Add support for Dia bonobo component.
16854         Currently a bit raw, so it's commented out.
16855         
16856         * app/dia_embedd.c:
16857         * app/dia.gnorba:
16858         New files for embedding dia.
16859         The menu disabling hack is a bit gross. Esp. for GNOME.
16861         * app/app_procs.h:
16862         Add new function app_is_embedded();
16864         * app/diagram.c:
16865         Don't destroy diagram when last display is destroyed if embedded.
16866         
16867         * app/display.c:
16868         Change initialization of display so it works with embedding.
16870         * app/display.h:
16871         Clarify comment about display destruction.
16873         * app/interface.[ch]:
16874         Added top_level_window argument to create_display_shell.
16875         Don't open a top-level window if embedding.
16876         Don't quit app if trying to close toolbox window when embedding.
16877         Add toolbox_show() and toolbox_hide().
16879         * app/main.c:
16880         Added app_is_embedded() function (just returns false).
16881         Added toolbox_show() call in main().
16883         * app/menus.c:
16884         Added code for getting toolbox menus. This is used to
16885         hide some menu items when running embedded.
16886         
16887         * app/app_procs.c:
16888         Include sheet.h to remove warning.
16890         * objects/UML/association.c:
16891         Clarify association direction text.
16892         
16893 2000-03-16  Fredrik Hallenberg  <hallon@lysator.liu.se>
16895         * dia.1
16896         Fixed man page so whatis parsing works.
16898 2000-03-12  Alexander Larsson  <alla@lysator.liu.se>
16900         * app/render_libart.c (new_libart_renderer):
16901         Fix from segg <segg@infonet.ca> to compile without libart.
16902         I forgot to change the stub for new_libart_renderer when doing
16903         the interactive renderer stuff for libart.
16905 2000-03-11  Alastair McKinstry  <mckinstry@computer.org>
16907         * dia.desktop: Added Irish translation.
16908         
16909         * configure.in (ALL_LINGUAS): Added Irish (ga) translation.
16911 2000-03-07  Asbjorn Pettersen  <asbjornP@dualog.no>
16913         * app/load_save.c (fchmod): OS/2 defines only.
16915 2000-03-07  James Henstridge  <james@daa.com.au>
16917         * lib/properties.c (prop_get_widget): set the position in the option
16918         menu correctly.
16920 2000-03-06  Alexander Larsson  <alla@lysator.liu.se>
16922         * app/display.c:
16923         * app/export_png.c:
16924         * app/render_libart.[ch]:
16925         Don't export png:s with an interactive libart renderer.
16927 2000-03-03  Asbjorn Pettersen  <asbjornP@dualog.no>
16929         * lib/arrows.c (finite): define finite(d) isfinite(d)  for OS/2
16931 2000-03-02  James Henstridge  <james@daa.com.au>
16933         * dia.spec (%build): unset LINGUAS before running configure.  This
16934         ensures that all translations get included in the RPM.
16936         * lib/properties.c (object_create_props_dialog): put in a check for
16937         a NULL return from the describe_props() object method.
16938         (prop_desc_lists_union): make sure that the returned array is not
16939         NULL.
16940         (prop_desc_lists_intersection): same here.
16942 2000-02-29  Alexander Larsson  <alla@lysator.liu.se>
16944         * objects/ER/Makefile.am:
16945         * objects/FS/Makefile.am:
16946         * objects/UML/Makefile.am:
16947         Don't link object libs with gtk.
16949 2000-02-29  James Henstridge  <james@daa.com.au>
16951         * app/preferences.c (prefs_save): check to see if the file could
16952         be opened before writing the prefs.
16954         * app/disp_callbacks.c (popup_object_menu): pass the button event
16955         to gtk_menu_popup.  This allows you to click and release to open
16956         the object menu.
16957         (ddisplay_canvas_events): same here.
16958         (create_object_menu): set the object type menu item in the object
16959         menu to be insensitive.
16961         * app/render_svg.c (draw_string): call xmlEncodeEntitiesReentrant,
16962         as we are now requiring a new version of libxml.
16964         * dia.spec: updated version number.  Added requirement for
16965         libxml >= 1.8.5
16967         * configure.in: incremented version number to 0.84.
16968         Added check for libxml >= 1.8.5.  This will prevent some of the
16969         problems people have had with broken libxml versions.
16971         * NEWS: added news items.
16973         * app/interface.c (create_color_area): removed call to realize parent
16974         widget.  Segg <segg@infonet.ca> reported that it caused a warning,
16975         but I haven't seen it on my copy of dia.
16977 2000-02-28  James Henstridge  <james@daa.com.au>
16979         * app/export_png.c: added copyright notice, and made the band height
16980         a constant.
16982 2000-02-27  Alexander Larsson  <alla@lysator.liu.se>
16984         * lib/font.c (suck_font):
16985         Fixed off-by one bug in font pixmap height.
16986         Fixes the problem with garbage at the bottom of some text in aa mode
16987         and in png exported files.
16989 2000-02-27  James Henstridge  <james@daa.com.au>
16991         * app/app_procs.c: add the png export filter if it was compiled in.
16993         * app/export_png.c (export_png): new PNG export filter.  This requires
16994         the libart renderer to work as it needs a renderer that renders to a
16995         pixel buffer.
16997         * configure.in: add check for libpng.
16999         * lib/message.c (message_internal): use a GNOME dialog here as well.
17001         * app/display.c (ddisplay_close): use a GNOME dialog here.
17003         * app/render_eps.c (create_eps_renderer): use diagram scaling factor
17004         when exporting to EPS.  This is because some people said the EPS
17005         output was too large
17007 2000-02-26  James Henstridge  <james@daa.com.au>
17009         * app/defaults.c (create_dialog): use a GNOME dialog for the defaults
17010         window.
17012         * app/app_procs.c (app_exit): use a GNOME dialog here.
17014         * app/preferences.c (prefs_create_dialog): if GNOME support is
17015         enabled, show a GNOME dialog.
17017         * app/grid.c (grid_draw): use preferences when drawing page break
17018         lines.
17020         * app/preferences.c: add page break preferences to dialog.
17022         * app/preferences.h: added page break preferences.
17024 2000-02-25  James Henstridge  <james@daa.com.au>
17026         * sheets/UML.sheet: added new objects.
17028         * objects/UML/uml.c: link in the two new objects.
17030         * objects/UML/node.c: 
17031         * objects/UML/branch.c: new UML objects from Stfan Seefeld
17032         <seefelds@magellan.umontreal.ca>.
17034 2000-02-24  James Henstridge  <james@daa.com.au>
17036         * objects/custom/custom_object.c: converted to use the properties
17037         interface.  In the future, it would be nice to add support for
17038         defining custom properties for custom objects, but that can wait.
17040 2000-02-22  James Henstridge  <james@daa.com.au>
17042         * sheets/Circuit.sheet: added new circuit shapes to sheet.
17044         * plug-ins/cgm/cgm.c: cgm plugin updates from Henk Jan Priester
17045         <hj@justcroft.com>.  Fixes number encoding, colour encoding, fonts
17046         and adds a few new features.
17048 2000-02-21  Daniel Egger  <egger@suse.de>
17050         * sheets/*.sheets: Added German translations and made some
17051         corrections to the others.
17052         
17053 2000-02-21  James Henstridge  <james@daa.com.au>
17055         * shapes/Circuit/Makefile.am (SHAPES): added new shapes to list.
17057         * shapes/Circuit/...: added new shapes from Erik Janssens.
17059 2000-02-20  James Henstridge  <james@daa.com.au>
17061         * app/interface.c (create_color_area): realize the parent window
17062         first.
17064         * objects/standard/image.c: properties patch for standard image
17065         object, from Lars Clausen.
17067         * lib/properties.c: support for PROP_TYPE_FILE from Lars Clausen.
17069         * lib/properties.h (PropType): added file property type.
17071         * shapes/Circuit/speaker_de.xpm: changed size of pixmap to match
17072         other shapes.
17074         * app/interface.c: use wrap box for toolbox.
17076         * app/Makefile.am: added new files.
17078         * app/gtk*wrapbox.[ch]: added wrap box widget.
17080 2000-02-19  James Henstridge  <james@daa.com.au>
17082         * sheets/network.sheet: added extra shapes to networks sheet.
17084         * configure.in (AC_OUTPUT): added shapes/network/Makefile
17086         * shapes/network/*: added shapes that were posted to the list a while
17087         back.
17088         
17089         * shapes/Makefile.am (SUBDIRS): added network subdirectory
17091         * app/menus.c (toolbox_menu_items): don't right justify help menu for
17092         gtk+ version of menus.
17094         * app/properties.c (create_dialog): use a GnomeDialog if we happen
17095         to be using gnome.
17097 2000-02-18  James Henstridge  <james@daa.com.au>
17099         * objects/flowchart/box.c: set extra data for corner radius and text
17100         padding properties.
17102         * objects/standard/box.c: set extra data for corner radius property.
17104         * lib/properties.h: set extra data in some standard properties.
17106         * lib/properties.c (prop_get_widget): look at the extra data for
17107         int, real and enum property types.  They now use GtkSpinButton and
17108         GtkOptionMenu respectively.
17110         * lib/properties.h: extra data members for creating property setting
17111         widgets.
17113 2000-02-17  James Henstridge  <james@daa.com.au>
17115         * objects/flowchart/box.c: reverted load/save functions back to
17116         previous implementations.  Made box use standard property names.
17118         * plug-ins/cgm/cgm.c (set_linestyle): was missing a */
17120         * app/grid.c: add more digits to the grid edit dialog.  This patch
17121         was also from Lars Clausen.
17123         * objects/standard/zigzagline.c: 
17124         * objects/standard/textobj.c:
17125         * objects/standard/polyline.c:
17126         * objects/standard/line.c:
17127         * objects/standard/ellipse.c:
17128         * objects/standard/box.c: 
17129         * objects/standard/bezier.c: 
17130         * objects/standard/arc.c: patches to add properties code to standard
17131         objects.  Based on patches from Lars Clausen.  I have also removed
17132         some dead code from the files.
17134         * lib/properties.h (PROP_STD_*): define a number of standard
17135         properties.  Where appropriate, objects should include these
17136         properties in their PropDescription list.  This way, the intersection
17137         of properties of two different shapes will be greater.
17139 2000-02-14  James Henstridge  <james@daa.com.au>
17141         * objects/flowchart/box.c (box_load, box_save): use property save
17142         routines.  Make sure that any props not handled by object_load_props
17143         are loaded before calling object_load_props, or we get errors because
17144         update_data is called.
17146         * lib/properties.c (object_get_props_from_offsets): fixed an indexing
17147         error that could cause properties to be loaded incorrectly.
17148         (object_set_props_from_offsets): similar here.
17150         * lib/properties.[ch] (prop_{load,save}): functions for loading
17151         or saving a property in Dia's XML file format.
17152         (object_{load,save}_props): load or save some properties of an
17153         object.  These functions should help simplify the load/save methods
17154         of objects that implement the properties interface.
17156 2000-02-13  James Henstridge  <james@daa.com.au>
17158         * objects/flowchart/box.c: use offset code to simplify property
17159         get/set routines.
17161         * lib/element.h (ELEMENT_COMMON_PROPERTIES): standard element
17162         properties.
17163         (ELEMENT_COMMON_PROPERTIES_OFFSETS): offsets.
17165         * lib/object.h (OBJECT_COMMON_PROPERTIES): list of standard object
17166         properties.
17167         (OBJECT_COMMON_PROPERTIES_OFFSETS): the offsets of the properties.
17169         * lib/properties.[ch] (object_{get,set}_props_from_offsets): new
17170         functions 
17172 2000-02-12  Alexander Larsson  <alla@lysator.liu.se>
17174         * app/Makefile.am:
17175         Add the custom object to DIA_LIB_PATH in run_dia.sh
17177 2000-02-10  Cyrille Chepelov  <chepelov@calixo.net>
17179         * sheets/Circuit.sheet:
17180         * shapes/l_sout* (NEW):
17181         * shapes/l_outj.* (NEW): added new outputs : jump, and the power-saved
17182         variants of simple, inverted, set and reset outputs.
17183         Still to do: all Schneider/Telemecanique TSX *7 function blocks ; 
17184         probably a split of Contact and Ladder sheets. And then a major 
17185         revamping of the Contact sheet.
17187 2000-02-10  James Henstridge  <james@daa.com.au>
17189         * app/Makefile.am (dia_LDADD): don't link with libcustom_objects.
17191         * app/app_procs.c (register_all_objects): don't explicitely
17192         register the custom objects library -- let it be loaded by the
17193         normal plugin loading methods.
17195         * lib/Makefile.am (libdia_a_SOURCES): don't include custom.h here.
17197         * objects/custom/Makefile.am: build libcustom_objects as a shared
17198         library again.
17200         * objects/custom/shape_info.[ch]: don't read the description field
17201         of custom shapes.  It makes more sense to have these in the sheet
17202         file to localise the parts of dia that translators have to deal
17203         with.
17205         * objects/custom/custom_object.c (custom_object_new): do not
17206         create the sheet object for the new custom shape -- this is
17207         handled by the custom sheet code.
17209         * objects/custom/custom.c: change over to being a normal plug-in
17210         rather than being linked with the main dia executable.
17212 2000-02-09  James Henstridge  <james@daa.com.au>
17214         * sheets/Circuit.sheet: 
17215         * sheets/Flowchart.sheet: 
17216         * sheets/Contact.sheet: fixed up sheets.
17218         * objects/custom/custom_object.c (custom_object_new): set the
17219         extra ObjectType fields.
17221         * lib/sheet.c: use extra ObjectType fields when creating sheet
17222         objects.  Give a warning if <shape> tags are found in a sheet
17223         file.  Now the custom sheet code does not know about custom
17224         shapes -- they look like any other object type.
17226         * lib/object.h (ObjectType): added extra members
17228 2000-02-08  Alexander Larsson  <alla@lysator.liu.se>
17230         * app/linewidth_area.c:
17231         Added code to set arbitrary line width.
17232         Patch by Lars Clausen <lrclause@cs.uiuc.edu>
17234 2000-02-08  Alexander Larsson  <alla@lysator.liu.se>
17236         * app/linewidth_area.c: 
17237         * lib/font.[ch]:
17238         Add support for font-sucking.
17239         Implementation borrowed from gnome-canvas.
17240         
17241         * app/render_libart.[ch]:
17242         Implement text rendering.
17244 2000-02-07  Alexander Larsson  <alla@lysator.liu.se>
17246         * app/properties.c (create_dialog):
17247         ref and sink no_properties_dialog.
17249 2000-02-07  James Henstridge  <james@daa.com.au>
17251         * app/group.c (group_describe_props): new function.  Return the
17252         intersection of the properties of the contained objects that
17253         implement the describe_props interface.
17254         (group_get_props): implement by iterating through contained objects
17255         and calling their get_props method until all properties have been
17256         set.  Maybe this should go through all objects all the time??
17257         (group_set_props): implement by calling set_props method on all
17258         contained objects.
17259         (group_ops): use standard props dialog creation routines.
17261         * lib/properties.c (prop_desc_lists_intersection): fix implementation
17262         of intersection -- I was using i++ instead of i-- in a for loop :(
17264         * objects/custom/custom.c (custom_register_objects): fix usage
17265         of dia_get_data_directory again.
17267         * lib/sheet.c: fix up use of dia_get_data_directory, so that we
17268         actually read the sheets.
17270 2000-02-06  Alexander Larsson  <alla@lysator.liu.se>
17272         Win32 port by Hans Breuer <Hans@Breuer.org>
17274         * app/Makefile.am:
17275         Remove DATADIR and LIBDIR defines.
17277         * lib/Makefile.am:
17278         Add dia_dirs.c and dia_dirs.h
17279         Added DATADIR and LIBDIR defines.
17281         * lib/dia_dirs.[ch]:
17282         New files for handling special directories.
17284         * app/app_procs.c:
17285         * app/commands.c:
17286         * lib/sheet.c:
17287         * objects/custom/custom.c:
17288         Fix warnings.  Use directory functions.
17290         * app/diagram.h:
17291         Add prototype for diagram_redraw_all.
17293         * app/diaunitspinner.c:
17294         * app/filedlg.c:
17295         * app/interface.c:
17296         * app/preferences.c:
17297         Fix warning.
17299         * app/load_save.c:
17300         Win32 doesn't have mkstemp and fchmod.
17302         * app/paginate_psprint.c:
17303         Win32 calls popen _popen and pclose _pclose.
17304         
17305         * app/arrow.c:
17306         Win32 calls finite _finite.
17308         * lib/color.h:
17309         Win32 needs to dllexport the color vars.
17311         * objects/GRAFCET/step.c:
17312         * objects/chronogram/chronoref.c:
17313         snprintf -> g_snprintf
17315 2000-02-05  James Henstridge  <james@daa.com.au>
17317         * lib/properties.c: more fixes so that it doesn't crash when using
17318         properties.  The undo/redo stuff also works!!
17320         * objects/flowchart/box.c (box_{describe, get, set}_props): test
17321         object where I have implemented the new properties interface
17322         complete with automatic properties dialog generation.
17324         * lib/properties.c (object_apply_props): fixed stupid error when
17325         creating the old_props array.  Also, it no longer frees the props
17326         array -- you will have to do that yourself.
17328 2000-02-04  James Henstridge  <james@daa.com.au>
17330         * app/properties.c (properties_apply): pass object_part to
17331         apply_properties.
17333         * lib/object.h (ApplyPropertiesFunc): added widget argument.
17335         * lib/lazyprops.h (PROPDLG_CREATE): ref and sink properties dialogs
17336         created this way as well.
17338         * objects/*/*.c: ref and sink the properties dialog window for each
17339         widget.  It can't rely on ref count being incremented by
17340         properties_show anymore.
17342         * app/properties.c (properties_show): don't ref the widget before
17343         removing it, or its ref count will increase each time you open the
17344         properties dialog.  Don't unparent the widget, as container_remove
17345         does that for us.
17347         * lib/object.h: fixed up prototypes for new object methods.
17349         * lib/properties.[ch]: added functions for automatically creating
17350         a properties dialog from the output of describe_props, get_props and
17351         set_props.
17352         (object_apply_props): apply properties and return an ObjectChange
17353         structure that can be used for undo.
17355 2000-02-03  Cyrille Chepelov  <chepelov@calixo.net>
17357         * objects/GRAFCET/transition.c: minor leak plugged.
17359         * sheets/GRAFCET.sheet:
17360         * objects/GRAFCET/pixmaps/condition.xpm: (NEW)
17361         * objects/GRAFCET/condition.c: (NEW) added a new object type, action 
17362         conditions.
17363         * objects/GRAFCET/Makefile.am: fixed incorrect dependencies, added
17364         new ones (for condition.c).
17365         * objects/GRAFCET/action.c: added connection points for the conditions.
17366         * samples/grafcet.dia: updated the sample to improve conformance to
17367         IEC 848 and take advantage of dia's new features.
17368         
17369         * lib/geometry.h: (point_get_normed) fixed a typo.
17371 2000-02-02  James Henstridge  <james@daa.com.au>
17373         * lib/object.h: added object functions describe_props, get_props and
17374         set_props.  Do type definitions so that object.h doesn't need to
17375         include properties.h, since properties.h includes object.h.
17377         * lib/properties.[ch]: more hacking.
17379         * po/de.po: updated po file.
17381 2000-01-30  James Henstridge  <james@daa.com.au>
17383         * configure.in: don't add flags to CFLAGS unconditionally.  Instead,
17384         check to see if the C compiler accepts the flag beforehand.
17386         * lib/properties.[ch]: start of properties code.
17388         * shapes/Contact/Makefile.am (SHAPES): fix up makefile.
17390 2000-01-30  Cyrille Chepelov  <chepelov@calixo.net>
17391         
17392         * sheets/GRAFCET.sheet:
17393         * sheets/GRAFCET/etapemc.xpm: (NEW)
17394         * sheets/GRAFCET/etapesp.xpm: (NEW)
17395         * objects/GRAFCET/step.c: Added the macro and
17396         sub-program call step types.
17398         * objects/GRAFCET/receptivity.[ch]: renamed to 
17399         objects/GRAFCET/boolequation.[ch]. 
17400         * objects/GRAFCET/transition.c: changed (Receptivity *) to 
17401         (BoolEquation *)
17403         * lib/connpoint_line.[ch]: 
17404         * objects/chronogram/chronoline.c:
17405         * objects/chronogram/chronoref.c:
17406         * objects/GRAFCET/vergent.c:
17407         * objects/standard/line.c:
17408         * objects/SADT/box.c: Minor CPL interface changes, factored out the
17409         point count adjustment code into the CPL object.
17410         
17411 2000-01-29  Alexander Larsson  <alla@lysator.liu.se>
17413         * app/render_libart.c:
17414         Added support for images and bezier curves.
17415         Only text/fonts missing now.
17417         * app/render_gdk.c:
17418         Removed old erronous comment.
17420 2000-01-29  Cyrille Chepelov <chepelov@calixo.net>
17422         * objects/chronogram/chronoline_event.c: removed references to
17423         lround(). Please don't insist, I'm already red of shame.
17424         
17425 2000-01-29  Alexander Larsson  <alla@lysator.liu.se>
17427         * app/render_libart.[ch]:
17428         * app/Makefile.am:
17429         Non-finished libart renderer.
17431         * acconfig.h:
17432         Added HAVE_LIBART flag
17434         * configure.in:
17435         Added libart probe
17437         * app/app_procs.c:
17438         Call gdk_rbg_init().
17440         * app/connectionpoint_ops.c:
17441         * app/disp_callbacks.c:
17442         * app/grid.c:
17443         * app/handle_ops.c:
17444         * app/magnify.c:
17445         * app/modify_tool.c:
17446         Change ddisp->renderer type from RendererGdk * to Renderer *
17447         Draw zoom and select rects in ddisp->canvas->window instead
17448         of ddisp->renderer->renderer->pixmap.
17450         * app/display.[ch]:
17451         Add aa_renderer to DDisplay, and  support for it.
17452         New function ddisplay_set_renderer() for changing renderer.
17453         Add ddisplay_transform_coords_double() function, used by aa renderer.
17454         Change ddisp->renderer type from RendererGdk * to Renderer *
17456         * app/menus.c:
17457         Add antialias to menu.
17458         
17459         * app/commands.[ch]:
17460         add view_aa_callback function
17461         Change ddisp->renderer type from RendererGdk * to Renderer *
17463         * lib/geometry.[ch]:
17464         Added IntRectangle and int_rectangle_union.
17466 2000-01-28  James Henstridge  <james@daa.com.au>
17468         * app/commands.h: removed prototypes.
17470         * app/commands.c: removed the functions that have been moved to
17471         filedlg.c.
17473         * app/filedlg.h: added new prototypes.
17475         * app/filedlg.c (file_open_callback): move open dialog to this
17476         file.  This implementation should remember the current directory
17477         between file loads.
17478         (file_save_as_callback): moved this dialog as well.
17479         (file_save_callback): moved this function here.
17481         * app/paginate_psprint.c (paginate_psprint): if not in fit to mode,
17482         align page boundaries to the origin.
17484         * app/diagram.c (diagram_update_extents): redraw the diagram if the
17485         scaling factor changes while updating the extents.  This is so the
17486         page breaks get redrawn correctly.
17488         * app/pagesetup.c (pagesetup_apply): added diagram_flush call when
17489         applying changes.
17491         * app/grid.c (grid_draw): draw page breaks as well as grid lines.
17492         For normal mode, use (0,0) as the origin.  For `fit to' mode, use
17493         the corner of the bounding box.
17495         * app/pagesetup.c (create_page_setup_dlg): load new paper attributes
17496         into page setup dialog.
17497         (pagesetup_apply): apply new `fit to' attributes to the diagram.
17499         * app/load_save.c (diagram_load): load new paper `fit to' attributes.
17500         (diagram_data_save): save `fit to' data.
17502         * lib/diagramdata.c (new_diagram_data): initialise `fit to' members.
17503         (data_update_extents): when in `fit to' mode, update scale factor
17504         when we update the extents.
17506         * lib/diagramdata.h (PaperInfo): added `fit to' members to PaperInfo
17507         structure.
17509         * .../.cvsignore: added some cvsignore files to quieten cvs.
17510         
17511         * app/pagesetup.c (pagesetup_changed): added code to change the
17512         scaling/fit to values as you change the options in the page setup
17513         dialog.  I haven't added code so that the fit to options are saved
17514         though.
17516         * app/diapagelayout.[ch]: changed the scaling portion of the widget
17517         to make it easier to set a `fit to' style scaling factor.
17519 2000-01-27 Cyrille Chepelov <chepelov@calixo.net>
17520         * lib/neworth_conn.[ch]: (NEW) Temporary (hopefully) fork of orth_conn,
17521         but connpoint_line-based, so that there's a connection point at the 
17522         middle of each segment. Currently only the SADT arrow uses this.
17524         * objects/SADT/* (NEW): SADT (both idf0 and idf1) support.
17525         
17526 2000-01-26 Cyrille Chepelov <chepelov@calixo.net>
17527         * lib/lazyprops.[ch]:(NEW) Added a bunch of macros for loading, 
17528         saving and editing of properties (and default properties). 
17529         See the new objects (GRAFCET, SADT, chonograms) for examples.
17530         For already too hairy stuff, see objects/chronogram/chronoline.c.
17532         * lib/connpoint_line.[ch] (NEW): This subobject manages a line of 
17533         evenly spaced connection points, which the user can add or remove at
17534         will. An object can own several connection point lines. See the SADT
17535         Box, or the GRAFCET vergents for examples.
17537         * lib/dummy_dep.h: added dependencies to new files. Told gcc to keep 
17538         quiet about unused stuff.
17540         * objects/GRAFCET (NEW):
17541         * samples/grafcet.dia (NEW):
17542         Added support for GRAFCET charts. 
17544         * objects/chronogram (NEW):
17545         * samples/chronograms.dia (NEW):
17546         Added support for chronograms (feature requested by Ronald L. Chichest;
17547         I found I'd use it often, too).
17549         * objects/standard/line.c: Replace the middle connectionpoint by 
17550         a whole connection point line, which defaults to one point (hint, 
17551         hint). New Line object menu to take advantage of this. 
17552         "Bothwards" compatibility is preserved (although you may loose 
17553         connections if you load a newer file in a older dia).
17555         * app/lineprops_area.c:
17556         * lib/arrows.[ch]:
17557         * lib/widgets.c: Added hollow and filled ellipse arrow head type. 
17558         (feature requested by Benjamin Kahn).
17559         Merged in Steffen Macke's slashed arrow head type.
17561         * app/Makefile.am (app/run_dia.sh actually):
17562         Added $DEBUGGER in front of dia's invocation, so that
17563         you can call "DEBUGGER=ddd app/run_dia.sh" (maybe naive, but useful).
17564         Added $(EFENCE) to app/dia's LDFLAGS, so that you can do 
17565         "EFENCE=-lefence" to link with Electric Fence.
17567         * configure.in: Made gcc do more aggressive optimisations on i386, and
17568         enabled warnings.
17569         
17570 2000-01-24  James Henstridge  <james@daa.com.au>
17572         * lib/geometry.[ch]: added inline versions of functions.  Used
17573         glib's G_INLINE_FUNC stuff, so it should still work on systems
17574         without inline funcs.
17576         * plug-ins/cgm/cgm.c (draw_ellipse, fill_ellipse): fixed up so that
17577         it outputs the correct element id for the ellipse objects.
17579 2000-01-24 Cyrille Chepelov <chepelov@calixo.net>
17581         * lib/object.[ch]: added object_add_connectionpoint_at, similar to
17582         object_add_handle_at. Message typo fixed.
17583         
17584         * lib/sheet.c (load_register_sheet):
17585         potential bug fixed (warning hunt).
17587         * objects/custom/custom.c (custom_object_load): disabled an assertion
17588         which made dia abort upon failure to load a shape file. Fixed a
17589         subsequent crash. 
17591         * objects/custom/shape_info.c (load_shape_info): Made the custom 
17592         shape load code ignore XML comments between <?xml ...?> and the 
17593         root object (mostly useful to put the emacs magic comments).
17594         
17595         * app/load_save.c: Made dia do backup copies of files when saving,
17596         and complain in case of failure.
17598 2000-01-24  Cyrille Chepelov  <chepelov@calixo.net>
17600         * AUTHORS: fixed my address (ISP thought it was a great idea to change
17601         the domain name)
17602         
17603         * configure.in:
17604         * shapes/Contact:
17605         * shapes/Contact/*:
17606         * sheets/Contact.sheet:
17607         * sheets/Makefile.am:
17608         Added support for Contact and LADDER charts.
17610         * dia.desktop: Added a French translation.
17611         
17612 2000-01-23  James Henstridge  <james@daa.com.au>
17614         * app/commands.c (help_about_callback): don't die if can't load
17615         logo image.
17617         * app/render_gdk.c (bezier_add_lines): sanity check to try to weed
17618         out NaN's when performing bezier curve subdivision.
17620         * objects/custom/custom_object.c: initialise memory of Custom structs
17621         to zero.
17623         * app/render_svg.c (draw_image): added image support to the XML
17624         output filter.  The image is just referenced, rather than being
17625         included inline, so if you copy the SVG file somewhere else, you
17626         may need to move the images or fix up the links.
17628         * plug-ins/cgm/cgm.c (draw_string): output a text colour element,
17629         so the text is not just displayed in black all the time.
17631 2000-01-15  Fredrik Hallenberg  <hallon@lysator.liu.se>
17633         * configure.in: fixed libpopt test so we wont try to build with
17634         too old libpopt.
17636 1999-12-18  Yuri Syrota  <rasta@renome.rovno.ua>
17638         * configure.in: Added "uk" to ALL_LINGUAS.
17640 1999-12-24  James Henstridge  <james@daa.com.au>
17642         * po/ru.po: updated russian translation from Valek Filippov.
17643         
17644         * app/render_svg.c (new_svg_renderer): make output use 19991203
17645         version of SVG DTD.  Use viewBox to set the extents of the view.
17647         * INSTALL (FONTS): updated locations of gnome-xml and imlib.  List
17648         ftp.gnome.org as the download.
17650         * TODO (TODO): weeded out completed todo items and added a few extra.
17652         * Makefile.am (EXTRA_DIST): added documentation to EXTRA_DIST.
17654         * doc/sheet.dtd: first stab at a DTD for the sheet files.  It would
17655         be good to get rid of the object/shape distinction and separate
17656         the custom shape code out from the main application.
17658         * objects/custom/README, diagram.dtd: moved to new doc directory.
17659         Renamed the custom shapes README to custom-shapes.  Also updated
17660         custom shape docs a bit and removed the section on sheet files, as
17661         that has changed a bit.
17663         * plug-ins/cgm/cgm.c (draw_image): give an error if the row length
17664         of the image data is larger than the maximum cell array.  I should
17665         add code to break scan lines down further in this case, but for now
17666         an error message is better than an infinite loop.
17668         * app/filedlg.c (file_export_ok_callback): show a dialog if we
17669         couldn't determine the export filter to use.
17671         * app/commands.c (help_about_callback): fixed up about box logo
17672         expose bug.  Now just use a GtkPixmap widget rather than a
17673         GtkDrawingArea and calling gdk_imlib_paste_image.
17675         * app/Makefile.am (EXTRA_DIST): added print stuff to extra dist,
17676         because automake does not always get things right.
17678         * configure.in: updated version number to 0.83.
17680         * app/preferences.c (prefs_save): 
17681         * app/render_svg.c (new_svg_renderer): "wt" is not a valid flag string
17682         for fopen.  Text is the default file mode anyway.
17684         * app/commands.c (file_save_as_dialog_ok_callback, file_new_callback): 
17685         * app/grid.c (grid_x_update, grid_y_update, grid_show_dialog): 
17686         * app/load_save.c (write_objects, write_connections): 
17687         * app/filedlg.c (file_export_ok_callback): 
17688         * lib/dia_xml.c (data_add_int, data_add_enum, data_add_real): 
17689         * lib/dia_xml.c (data_add_point, data_add_rectangle): 
17690         * lib/font.c (init_x11_font, font_get_gdkfont): changed calls to
17691         snprintf to calls to g_snprintf.
17693         * plug-ins/cgm/cgm.c (export_cgm): write the original dia file name
17694         as the picture name.
17696 1999-12-23  James Henstridge  <james@daa.com.au>
17698         * plug-ins/cgm/cgm.c (write_int32, write_int16): fixed up output of
17699         negative numbers.  This fixes the upside down text problem I was
17700         having previously.
17701         (draw_image): implemented the image code.  It will try to split the
17702         image data up into bands if it is too big to fit into a single
17703         cgm cell array element.  It will have problems if you try to insert
17704         an image wider than about 10,000 pixels though.
17706         * Makefile.am: use gnomedatadir for the files that need to be
17707         installed in gnome's datadir.  This is mainly to help people doing
17708         packages for weird setups.
17710 1999-12-22  James Henstridge  <james@daa.com.au>
17712         * plug-ins/cgm/cgm.c: added support for text.  Now only images and
17713         beziers are left to do.  The text seems to be the wrong way up
17714         still.  This is probably a problem with character orientation
17715         element, but I have used what the settings given in the standard.
17716         Other than this, the CGMs dia produces are readable (and displayable)
17717         by ralcgm and corel draw.
17718         (draw_string): subtract from the X coord rather than the Y coord for
17719         center and right aligned text.
17721         * plug-ins/cgm/cgm.c: a few fixups for the output.  Use REALSIZE as
17722         the size of a real number, and changed name of write_double to
17723         write_real.  Consider changing to fixed real encoding.  Also, now
17724         all element headers are correct.  Once the real number encoding is
17725         fixed, only text, beziers and images are left to do.
17727 1999-12-21  James Henstridge  <james@daa.com.au>
17729         * Makefile.am (SUBDIRS): recurse into plug-ins.
17731         * configure.in: add plug-ins directory makefiles to list.
17733         * plug-ins/cgm/cgm.c: start of cgm export filter.  Beziers and text
17734         not done yet.  Also, the output files are not quite correct.
17736         * app/render_eps.c (print_reencode_font): don't reencode the Symbol
17737         font.  It doesn't work if you do.
17739 1999-12-20  James Henstridge  <james@daa.com.au>
17741         * app/app_procs.c (app_init): don't use diagram_export_to_eps to
17742         export the files.  Instead, use filter_guess_export_filter to
17743         guess the correct format to save in and use the appropriate filter.
17744         It defaults to postscript for compatibility.
17746         * app/diagram.[ch] (diagram_export_to_eps): removed export to eps
17747         function.
17749         * app/commands.[ch]: removed export to eps functions.
17751         * app/menus.c: removed export to eps menu items.
17753         * app/app_procs.c: register new export filters.
17755         * app/load_save.[ch]: define dia native export filter.
17757         * app/render_eps.[ch]: define eps export filter.
17759         * lib/filter.h: added diafilename argument to the DiaExportFunc
17760         prototype.  This is useful for putting the source of the diagram
17761         into the output file for instance.
17763         * app/app_procs.c (app_init): register the SVG export filter.  Have
17764         to get EPS code converted to this API, and maybe also allow saving in
17765         DIA's native format from the export dialog.  In fact, it is now
17766         possible to load an export filter from a shared library and it will
17767         integrate into the interface correctly.
17769         * app/menus.c: removed references to the SVG renderer.
17771         * app/commands.[ch]: removed svg stuff.
17773         * app/diagram.[ch]: removed diagram_export_to_svg function.
17775         * app/render_svg.[ch]: added a DiaExportFilter structure for this
17776         renderer.
17778         * app/filedlg.[ch]: code for the new export diagram dialog.  Will
17779         probably move the open/save dialogs to this file as well.
17781 1999-12-19  James Henstridge  <james@daa.com.au>
17783         * lib/filter.[ch]: start of interface for generalised handling of
17784         filters.  I have only done code for export filters so far.  I still
17785         need to do the gui for this, and convert the current SVG and EPS
17786         filters to the new API.
17788         * lib/bezier_conn.c (bezierconn_copy): fix up copy operation.  We
17789         weren't setting the last handle correctly.  It was actually assigning
17790         to the wrong position in the handles array, so the last handle was
17791         left as NULL, which caused the segfault.
17793         * objects/standard/image.c (image_copy): modified routine so that
17794         it just adds a reference to the DiaImage structure in the new image
17795         object.  This seems to have cleared up the problems with copying
17796         image objects.
17798         * dia.spec: spec file additions from John Gotts.
17800 1999-12-12  James Henstridge  <james@daa.com.au>
17802         * configure.in (GNOME_LIBS): updated version number to 0.82.  0.82
17803         has not been released yet though.
17805         * Makefile.am (EXTRA_DIST): distribute diagram.dtd.
17807         
17808         The following based on a patch from Lars Clausen:
17809         
17810         * objects/standard/bezier.c (bezierline_move_handle): when performing
17811         the initial drag of the bezierline, move the control points to keep
17812         the line straight.
17814         * lib/bezier_conn.c (bezierconn_add_segment): when adding a segment,
17815         make the new control points a bit closer to the major point.
17817         * app/create_object.c (create_object_motion): use HANDLE_MOVE_CREATE
17818         as the reason for the move.
17819         (create_object_button_release): use HANDLE_MOVE_CREATE_FINAL as the
17820         move reason.
17822         * lib/handle.h: new handle move reasons.
17824 1999-12-09  James Henstridge  <james@daa.com.au>
17826         * dia.spec: include the new files in RPMs.
17828         * Makefile.am: install these new files.
17830         * dia.keys.in: file describing actions and icon for dia diagrams for
17831         use in the gnome file manager.
17832         
17833         * dia.mime: a file defining the application/x-dia-diagram mime type.
17834         
17835         * dia-diagram.png: an icon for dia diagrams.
17837 1999-12-08  James Henstridge  <james@daa.com.au>
17839         * plug-ins/python/pydia-diagram.c: added heaps of new methods.
17841         * plug-ins/python/pydia-display.[ch]: wrapper for display.
17843         * objects/standard/ellipse.c: applied Lars's patch to optionally not
17844         draw the background of the ellipse.
17846         * app/load_save.c (read_connections): do some sanity checking on the
17847         handle and connection point numbers before performing the object
17848         connection.
17850         * lib/bezier_conn.c (bezierconn_load): give the correct number of
17851         handles when loading a BezierConn.
17853 1999-12-07  Kjartan Maraas  <kmaraas@online.no>
17855         * sheets/*.sheet: Finished Norwegian translations.
17856         
17857 1999-12-07  James Henstridge  <james@daa.com.au>
17859         * plug-ins/python/diamodule.c (PyDia_Load): load diagram function.
17860         (PyDia_GetObjectType): find object type function.
17862         * plug-ins/python/pydia-diagram.c (PyDiaDiagram_Save): added a save
17863         method for diagrams.
17865         * plug-ins/python/pydia-object.c: added methods for DiaObject and
17866         DiaObjectType.
17868         * AUTHORS: added Lars and Cyrille to the authors file.
17870         * objects/standard/bezier.c (bezierline_add_segment_callback): place
17871         new point correctly.
17873         * lib/bezier_conn.h (bezierconn_closest_segment): fixed prototype.
17875         * lib/bezier_conn.c: applied Lars's patch for placement of the new
17876         point when adding a segment to a BezierConn.
17878 1999-12-06  James Henstridge  <james@daa.com.au>
17880         * plug-ins/python/test.py: test script for the python plug-in.
17882         * plug-ins/python/python.c: this file contains the plug-in startup
17883         code for the python plugin.  Right now, it just initialises the
17884         dia module and executes a script.
17886         * objects/standard/polyline.c (polyline_draw): fix start arrow size.
17888         * objects/standard/bezier.c (bezierline_draw): draw control lines for
17889         bezier curve if we are using an interactive renderer (ie. only if
17890         displaying to the screen).
17892         * lib/bezier_conn.[ch] (bezierconn_draw_control_lines): function
17893         to draw control lines on to a bezier curve.  Based on implementation
17894         from Lars.
17896         * objects/standard/bezier.c (bezierline_delete_segment_callback):
17897         calculate segment number using closest_segment rather than
17898         closest_handle.  Sometimes the closest handle is part of a different
17899         segment.
17900         (bezierline_draw): use correct size for start arrow.
17902         The next few entries are from Peter Moulder <reiter@netspace.net.au>:
17903         * lib/geometry.c (distance_line_point): added notes to documentation
17904         in comment.
17905         * app/object_ops.c (object_list_align_v): 
17906         (object_list_align_h): fix of by one error when calculating free space
17907         for equal distance alignment.
17908         * app/menus.c (objects_align_h, objects_align_v): include align
17909         adjacent menu items in the gnome version of the menus.
17910         * app/diagram.c (diagram_update_menu_sensitivity): set sensitivity on
17911         align adjacent menu items correctly.
17914         * lib/dummy_dep.h (dummy_dep): added bezierconn to dummy dependency
17915         table.
17917         * objects/standard/bezier.c: converted bezierline to use BezierConn.
17918         Still a few bugs.  It crashes on deleting line segments.
17920         * lib/Makefile.am (libdia_a_SOURCES): added BezierConn to libdia.
17922 1999-12-05  James Henstridge  <james@daa.com.au>
17924         * lib/bezier_conn.[ch]: start of BezierConn object
17926         * app/interface.c: add bezierline to toolbox.
17928         * objects/standard/standard.c: initialise bezierline.
17930         * objects/standard/bezier.c: new object from Lars R. Clausen.  I have
17931         made a few modifications to get it working nicely.  It still needs
17932         a bit of work though.  Maybe create a BezierConn object in lib.
17934 1999-12-02  James Henstridge  <james@daa.com.au>
17936         * plug-ins/python/pydia-*.c: fixed compile errors in these files.
17937         
17938         * plug-ins/python/Makefile.am: tried building everything.  It is
17939         building as a library at the moment.  I will have to convert it
17940         to a libtool library and add some initialisation code.
17941         
17942         * plug-ins/python/diamodule.c: start of the dia module, using the
17943         other object wrappers.  Not complete.
17945 1999-12-01  James Henstridge  <james@daa.com.au>
17947         * plug-ins/python/pydia-object.c (PyDiaObject_GetAttr): implement
17948         the handles and connections attributes.
17950         * plug-ins/python/pydia-layer.c: added functions that use
17951         ConnectionPoint's.
17953         * plug-ins/python/pydia-handle.[ch]: wrapper for Handle's.
17955         * plug-ins/python/pydia-cpoint.[ch]: wrapper for ConnectionPoint's.
17957         * plug-ins/python/pydia-*.[ch]: starts of python scripting plug-in.
17958         I am currently wrapping the basic elements in the diagram in python
17959         objects -- nothing to see or play with yet.
17961 1999-11-30  Alexander Larsson  <alla@lysator.liu.se>
17963         * AUTHORS:
17964         * HACKING:
17965         James Henstridge <james@daa.com.au> is now the maintainer of Dia.
17967 1999-11-29  Alexander Larsson  <alla@lysator.liu.se>
17969         * configure.in:
17970         * po/ru.po:
17971         Added russian translation from Valek Filippov <frob@df.ru>
17973 1999-11-24  James Henstridge  <james@daa.com.au>
17975         * sheets/UML/*: 
17976         * sheet/ER/*: moved extra sheet pixmaps back to separate dirs as
17977         discussed with Alex.  Also added extra makefiles so that make install
17978         works correctly.
17980 1999-11-23  Alexander Larsson  <alla@lysator.liu.se>
17982         * app/preferences.[ch]:
17983         * app/display.c:
17984         Added snap to grid preference.
17985         Patch from Michael Leslie <mles@springboardwireless.com>
17987 1999-11-21  Alexander Larsson  <alla@lysator.liu.se>
17989         * app/load_save.c:
17990         * lib/dia_xml.c:
17991         * lib/sheet.c:
17992         * lib/text.c:
17993         * objects/custom/shape_info.c:
17994         All strings returned by libxml must be freed with free, not
17995         g_free, or there will be problems if you use memory debugging
17996         in glib.
17997         
17998 1999-11-21  Alexander Larsson  <alla@lysator.liu.se>
18000         * app/create_object.[ch]:
18001         * app/menus.c:
18002         * app/tool.[ch]:
18003         * app/commands.[ch]:
18004         * app/pixmaps.h:
18005         * app/interface.[ch]:
18006         Reverted the tool menu patch. It has some 'issues'.
18007         I liked it though, so it'll probably return.
18009 1999-11-21  Alexander Larsson  <alla@lysator.liu.se>
18011         Fixed a lot of memory leaks. Thanks to Bruce Mitchener
18012         <bruce@cybersight.com> for some purify runs and analysis.
18013         Also a great thank you to Owen Taylor for creating MemProf, a
18014         free memory leak detector that was used to find and verify a
18015         lot of these fixes.
18016         
18017         * app/diagram.c:
18018         * app/paginate_psprint.c:
18019         * app/render_eps.[ch]:
18020         * app/render_svg.[ch]:
18021         Free renderers.
18023         * app/interface.c:
18024         Don't add a reference to ddisp->shell. Why was this done in
18025         the first place?
18027         * app/load_save.c:
18028         * lib/dia_xml.c:
18029         * lib/sheet.c:
18030         * lib/text.c:
18031         Free all strings returned from xmlGetProp
18033         * app/modify_tool.c:
18034         Plug leak.
18036         * objects/custom/custom.c:
18037         Use closedir() after opendir().
18039         * objects/custom/shape_info.c:
18040         User g_free() instead of "if (tmp) free(tmp)".
18042         * sheets/ER.sheet:
18043         Add newline at end of file.
18044         
18046 1999-11-20  Alexander Larsson  <alla@lysator.liu.se>
18048         Based on patch from Patrick Reynolds <reynolds@cs.duke.edu>
18049         Adds tool menu and keyboard shortcuts.
18051         * app/create_object.[ch]:
18052         Use tool_set() instead of tool_reset().
18053         create_create_object_tool() takes extra type argument
18055         * menus.c:
18056         Add tools menu.
18057         
18058         * tool.[ch]:
18059         Moved tool_data here, export it.
18060         Add separate tool type for all create objects tools.
18061         new functions tool_set().
18063         * commands.[ch]:
18064         New callback tool_set_callback.
18066         * pixmaps.h:
18067         Moved some pixmaps to interface.c.
18068         
18069         * interface.[ch]:
18070         Remove tool_data array (moved to tool.c).
18071         Use the tool_data from tool.c.
18072         Remove modify_tool_button global var.
18073         
18074 1999-11-20  Alexander Larsson  <alla@lysator.liu.se>
18076         Patch from Patrick Reynolds <reynolds@cs.duke.edu>
18077         
18078         * app/app_procs.c:
18079         Interprets command-line arguments as files to open even when
18080         HAVE_POPT is not defined.
18082         * app/magnify.c:        
18083         Shift-clicking when zooming zooms out, like the Gimp.
18085         * app/menus.c:
18086         Has hotkeys for zoom-100% and snap-to-grid.
18088 1999-11-17  James Henstridge  <james@daa.com.au>
18090         * app/scroll_tool.c (scroll_motion): fixed shift style scrolling so
18091         that it is not jumpy.
18093         * app/Makefile.am (EXTRA_DIST): added extra files to extra dist list.
18095         * app/scroll_tool.c (scroll_motion): added `grabbing hand' type
18096         scrolling by pressing the shift key when using the scroll tool.
18098         * sheets/Makefile.am: fixed makefile so that install actually works
18099         if the directories $(pkgdatadir)/sheets/UML and $(pkgdatadir)/sheets/ER
18100         don't exist.
18101         (SHEETS): install Circuit.sheet
18103 1999-11-15  Alexander Larsson  <alla@lysator.liu.se>
18104         Patch from Cyrille Chepelov <chepelov@rmcnet.fr>
18106         * sheets/Circuit.sheet:
18107         * sheets/ER.sheet:
18108         * sheets/FS.sheet:
18109         * sheets/Flowchart.sheet:
18110         * sheets/UML.sheet:
18111         * sheets/network.sheet:
18112         * sheets/sybase.sheet:
18113         Changed name space
18115         * sheets/Circuit.sheet:
18116         added some missing French translations
18118         * lib/sheet.c:
18119         killed the temporary sheet namespace
18121         * objects/custom/custom.c:
18122         obsolete comment cleaned up
18124 1999-11-12  Alexander Larsson  <alla@lysator.liu.se>
18126         * configure.in:
18127         * po/pt.po:
18128         Added portugese translation from Pedro Morais
18129         <pmmm@rnl.ist.utl.pt>
18131 1999-11-11  Alexander Larsson  <alla@lysator.liu.se>
18133         Changed all sheets to be specified in xml.
18134         All sheet objects removed from the C code.
18135         Patch from Cyrille Chepelov <chepelov@rmcnet.fr>
18136         
18137         * Makefile.am:
18138         * configure.in:
18139         Adding shapes dir.
18140         Updated version to 0.81cvs.
18141         
18142         * app/Makefile.am:
18143         Update run_dia.sh with sheet-dir.
18144         
18145         * app/app_procs.c:
18146         Load all sheets on startup.
18147         Create sheet directory first time.
18148         Don't call custom_register_sheets().
18150         * lib/Makefile.am:
18151         Add sheetdir define
18153         * lib/custom.h:
18154         Remove custom_register_sheets().
18156         * lib/sheet.[ch]:
18157         Add sheet loading code.
18159         * sheet/Circuit.sheet:
18160         * sheet/ER.sheet:
18161         * sheet/FS.sheet:
18162         * sheet/Flowchart.sheet:
18163         * sheet/UML.sheet:
18164         * sheet/network.sheet:
18165         * sheet/sybase.sheet:
18166         Added sheet files.
18168         * sheet/ER/weakentity.xpm:
18169         * sheet/UML/aggregation.xpm
18170         * sheet/UML/umlclass_template.xpm
18171         Added sheet pixmaps.
18172         These are moved from their old places.
18174         * sheet/.cvsignore:
18175         Shut up cvs.
18177         * objects/*/*.c:
18178         Removed sheet objects and sheet registration.
18179         
18180         * objects/ER/Makefile.am:
18181         * objects/ER/pixmaps/weakentity.xpm:
18182         * objects/UML/Makefile.am:
18183         * objects/UML/pixmaps/aggregation.xpm:
18184         * objects/UML/pixmaps/umlclass_template.xpm:
18185         Removed alternative pixmaps. (Moved to sheet).
18187         * objects/custom/Makefile.am:
18188         * objects/custom/load_sheet.[ch]:
18189         Removed old sheet loading code.
18190         
18191         * objects/custom/custom.c:
18192         Load all shapes instead of sheets.
18193         Removed custom_register_sheets().
18195         * objects/custom/custom_object.c:
18196         Added debug code.
18198         * objects/custom/shape_info.[ch]:
18199         Added shape_info_getbyname().
18201         * objects/flowchart/Makefile.am:
18202         * objects/flowchart/collate.shape            
18203         * objects/flowchart/delay.shape              
18204         * objects/flowchart/display.shape            
18205         * objects/flowchart/document.shape           
18206         * objects/flowchart/extract.shape            
18207         * objects/flowchart/flowchart.c              
18208         * objects/flowchart/intstorage.shape         
18209         * objects/flowchart/magdisk.shape            
18210         * objects/flowchart/magdrum.shape            
18211         * objects/flowchart/magtape.shape            
18212         * objects/flowchart/manualinput.shape        
18213         * objects/flowchart/manualop.shape           
18214         * objects/flowchart/merge.shape              
18215         * objects/flowchart/offlinestore.shape       
18216         * objects/flowchart/offpageconn.shape        
18217         * objects/flowchart/or.shape                 
18218         * objects/flowchart/predefdproc.shape        
18219         * objects/flowchart/preparation.shape        
18220         * objects/flowchart/punchedcard.shape        
18221         * objects/flowchart/punchedtape.shape        
18222         * objects/flowchart/sort.shape               
18223         * objects/flowchart/sumjunction.shape        
18224         * objects/flowchart/terminal.shape           
18225         * objects/flowchart/transaction.shape        
18226         * objects/flowchart/transmittape.shape       
18227         * objects/flowchart/pixmaps/collate.xpm      
18228         * objects/flowchart/pixmaps/delay.xpm        
18229         * objects/flowchart/pixmaps/display.xpm      
18230         * objects/flowchart/pixmaps/document.xpm     
18231         * objects/flowchart/pixmaps/extract.xpm      
18232         * objects/flowchart/pixmaps/intstorage.xpm   
18233         * objects/flowchart/pixmaps/magdisk.xpm      
18234         * objects/flowchart/pixmaps/magdrum.xpm      
18235         * objects/flowchart/pixmaps/magtape.xpm      
18236         * objects/flowchart/pixmaps/manualinput.xpm  
18237         * objects/flowchart/pixmaps/manualop.xpm     
18238         * objects/flowchart/pixmaps/merge.xpm        
18239         * objects/flowchart/pixmaps/offlinestore.xpm 
18240         * objects/flowchart/pixmaps/offpageconn.xpm  
18241         * objects/flowchart/pixmaps/or.xpm           
18242         * objects/flowchart/pixmaps/predefdproc.xpm  
18243         * objects/flowchart/pixmaps/preparation.xpm  
18244         * objects/flowchart/pixmaps/punchedcard.xpm  
18245         * objects/flowchart/pixmaps/punchedtape.xpm  
18246         * objects/flowchart/pixmaps/sort.xpm         
18247         * objects/flowchart/pixmaps/sumjunction.xpm  
18248         * objects/flowchart/pixmaps/terminal.xpm     
18249         * objects/flowchart/pixmaps/transaction.xpm  
18250         * objects/flowchart/pixmaps/transmittape.xpm 
18251         Moved shapes and their pixmaps to shapes/flowchart
18253         * shapes/Circuit/Makefile.am:
18254         * shapes/Circuit/index.sheet:
18255         Removed index.sheet.
18256         
18257         * shapes/Makefile.am:
18258         * shapes/flowchart/Makefile.am:
18259         * shapes/flowchart/*.shape:
18260         * shapes/flowchart/*.xpm:
18261         Added flowchart shapes. (Moved from objects/flowchart)
18262         
18264 1999-11-07  Fredrik Hallenberg  <hallon@lysator.liu.se>
18266         * app/app_procs.c: Fixed popt stuff.
18268 1999-11-01  James Henstridge  <james@daa.com.au>
18270         * shapes/Circuit/[hv]led_de.{shape,xpm}: new circuit shapes from
18271         Andreas Scherf.
18273 1999-10-31  Alexander Larsson  <alla@lysator.liu.se>
18275         * dia.spec:
18276         * configure.in:
18277         Update version to 0.81.
18278         
18279         * NEWS:
18280         Update with news for 0.81.
18281         
18282         * shapes/Circuit/*:
18283         * shapes/Circuit_eu/*:
18284         Moved european circuit objects to Circuit sheet.
18286 1999-10-31  Alexander Larsson  <alla@lysator.liu.se>
18287         
18288         * lib/diagramdata.[ch]:
18289         Added layer_set_object_list() function.
18291         * app/undo.[ch]:
18292         Added support for undo of reordered objects.
18293         Fix the undo of delete to keep the right order on undo.
18294         
18295         * app/diagram.c:
18296         changed loop to object_add_updates_list() calls.
18297         Added undo support to bring to front/back.
18299         * app/disp_callbacks.c:
18300         * app/paginate_psprint.c:
18301         Remove warnings.
18303 1999-10-30  Alexander Larsson  <alla@lysator.liu.se>
18305         This plugs some leaks. Thanks to
18306         Bruce Mitchener <bruce@cybersight.com> for running
18307         Dia through purify for me.
18308         
18309         * app/app_procs.c:
18310         Free displays and diagrams on exit.
18312         * app/modify_tool.c:
18313         Free gc when freeing tool.
18315         * lib/diagramdata.c:
18316         Free layer name.
18317         
18318         * app/display.c:
18319         Free update and display lists when destroying display.
18320         
18321         * lib/diagramdata.c:
18322         Don't leak layer name.
18324         * objects/custom/load_sheet.c: 
18325         * objects/custom/shape_info.c:
18326         Free loaded xml documents.
18328 1999-10-28  Alexander Larsson  <alla@lysator.liu.se>
18330         * app/commands.c:
18331         * app/object_ops.[ch]:
18332         Add undo handling to alignment ops.
18333         Based partially on patch by Dan Cohn <dan@internap.com>.
18335         * objects/standard/image.c (image_move_handle):
18336         Don't divide by zero for small images.
18337         Patch by Dan Cohn <dan@internap.com>.
18339         * objects/UML/class.c (umlclass_destroy): 
18340         * objects/custom/custom_object.c (custom_destroy):
18341         Don't free connectionpoints before calling element_destroy
18342         which unconnects them.
18344 1999-10-26  Alexander Larsson  <alla@lysator.liu.se>
18346         * objects/custom/custom_object.c: 
18347         Load and save padding too. Fixes strange load crashes.
18349         * app/group.c (group_destroy):
18350         Don't unconnect already freed connectionpoints when
18351         destroying group. Probably fixes bug reported by
18352         Elliot Lee <sopwith@redhat.com>.
18354         * app/render_gdk.c:
18355         Don't crash on zero-size (broken) bezier curves.
18356         Different sort of fix. This should work on closed bezier curves
18357         too.
18359         * objects/standard/textobj.c:
18360         Activate default properties dialog for Text objects.
18362         * app/render_eps.c: 
18363         * app/load_save.c:
18364         * app/preferences.c:
18365         * app/render_svg.c:
18366         fopen files in binary or text mode.
18368 1999-10-26  Alexander Larsson  <alex@cendio.se>
18370         * app/render_gdk.c (bezier_add_lines):
18371         Don't crash on zero-size (broken) bezier curves.
18372         Fixes a crashing bug.
18374 1999-10-25  James Henstridge  <james@daa.com.au>
18376         * app/Makefile.am (run_dia.sh): allow dia to find internal shape files
18377         before it is installed.
18379         * objects/flowchart/flowchart.c: use relative paths to find shapes.
18381         * objects/custom/custom.c (custom_object_load): take file names
18382         relative to $(pkgdatadir)/shape-internal, and check an environment
18383         variable for an alternative directory.
18385         * app/...: added copyright messages to the top of my new code.
18387         * app/paginate_psprint.c: some general clean ups.  Also, give an error
18388         dialog if we can't open the command or output file for writing.
18390         * app/diapagelayout.c (dia_page_layout_set_orientation): fixed
18391         function so it would set orientation to landscape correctly.
18393         * app/paginate_psprint.c: use the paper settings that come with
18394         the diagram.  Also implemented landscape printing.
18396         * app/render_eps.c (new_psprint_renderer): use diagram paper metrics
18397         in PS header.
18399         * app/commands.[ch] (file_pagesetup_callback): added callback for
18400         the page setup dialog.
18402         * app/menus.c: added page setup menu item.
18404         * app/pagesetup.[ch]: implementation of the page setup dialog.
18406         * app/diapagelayout.[ch]: added accessors for the scaling factor.
18407         
18408         * app/load_save.c (diagram_load): load paper information from save
18409         file.
18410         (diagram_save): save the paper info.
18412         * lib/diagramdata.c (new_diagram_data): initialise paper info section
18413         of DiagramData structure.
18414         (diagram_data_destroy): free the paper name.
18416         * lib/diagramdata.h: added a paper member to the DiagramData structure
18417         that holds the page layout info for a diagram.
18419 1999-10-21  Alexander Larsson  <alla@lysator.liu.se>
18421         * objects/flowchart/box.c:
18422         * objects/flowchart/ellipse.c:
18423         * objects/flowchart/diamond.c:
18424         * objects/flowchart/parallelogram.c:
18425         Load and save padding too. Fixes strange load crashes.
18427 1999-10-21  Alexander Larsson  <alla@lysator.liu.se>
18429         * app/app_procs.c (name_is_lib):
18430         .dll, .sl and .so.0.0.0 are also libraries.
18432 1999-10-20  James Henstridge  <james@daa.com.au>
18434         * configure.in: added extra makefile.
18435         
18436         * shapes/Circuit_eu/*: a new set of european circuit shapes from
18437         Andreas Scherf <scherfa@fh-trier.de>.  Made a few small modifications
18438         (added fuses to makefile, fill the area of some of the components).
18440 1999-10-19  Alexander Larsson  <alla@lysator.liu.se>
18442         * lib/Makefile.am:
18443         * app/Makefile.am: 
18444         Add GDK_IMLIB_CFLAGS to includes.
18445         Changed --export-dynamic to -export-dynamic
18447         * lib/widgets.c:
18448         * objects/UML/message.c:
18449         Removed c++ comment.
18451         * lib/render_store.[ch]:
18452         Don't use empty structure. That is not Ansi C.
18454 1999-10-19  James Henstridge  <james@daa.com.au>
18456         * app/diapagelayout.c (dia_page_layout_init): use DiaUnitSpinner's for
18457         the margin entries, as they allow interpretation of units.
18458         (paper_size_change): display the current page dimensions.
18460         * app/diaunitspinner.[ch]: a widget derived from the standard
18461         GtkSpinButton that tries to take units into account.  So if you enter
18462         "1in" into the entry, it will convert it to 2.54cm.
18464 1999-10-18  Alexander Larsson  <alla@lysator.liu.se>
18466         * app/app_procs.c:
18467         Removed include of dlfcn.h
18469 1999-10-18  James Henstridge  <james@daa.com.au>
18471         * app/diapagelayout.c (paper_size_change, orient_changed): set upper
18472         bound on margin widths.  It is set to the paper width/height.
18474         * objects/flowchart/diamond.c (diamond_distance_from): fixed distance
18475         routine for the diamond.  This bug was found and fixed by Daniel Wang
18476         <danwang@CS.Princeton.EDU>
18478 Sun Oct 17 19:46:36 1999  ape@gandalf.spacetec.no  (Asbjorn Pettersen)
18480         * app/commands.c: Add <sys/types.h> before <sys/stat.h> to
18481         remove warning (OS/2 version).
18483 1999-10-17  Alexander Larsson  <alla@lysator.liu.se>
18485         * README:
18486         Put a pointer to objects/custom/README.
18487         
18488 1999-10-17  Alexander Larsson  <alla@lysator.liu.se>
18490         * dia.spec:
18491         Updated version to 0.80
18493         * configure.in:
18494         Updated version to 0.80cvs
18496 1999-04-08  Alexander Larsson  <alla@lysator.liu.se>
18498         * Released Dia 0.80
18499         Tag called DIA_0_80
18500         
18501 1999-10-17  Fredrik Hallenberg  <hallon@lysator.liu.se>
18503         * app/Makefile.am
18504         * lib/Makefile.am
18505         * objects/UML/Makefile.am
18506         * objects/ER/Makefile.am
18507         * objects/network/Makefile.am
18508         * objects/standard/Makefile.am
18509         * objects/FS/Makefile.am
18510         * objects/sybase/Makefile.am
18511         * objects/flowchart/Makefile.am
18512         * objects/custom/Makefile.am
18513         Added -I$(top_srcdir)/intl which is needed for
18514         --with-included-gettext.
18516         * POTFILES.in
18517         Updated.
18518         
18519         * po/sv.po
18520         Updated swedish translation.
18522 1999-10-16  Alexander Larsson  <alla@lysator.liu.se>
18524         * configure.in:
18525         Updated version number to 0.80.
18527         * KNOWN_BUGS:
18528         New file.
18530         * TODO:
18531         Updated. Moved bugs to KNOWN_BUGS.
18533         * NEWS:
18534         Updated with 0.80 release notes.
18535         
18536 1999-10-16  Alexander Larsson  <alla@lysator.liu.se>
18537         
18538         * lib/orth_conn.c:
18539         For backwards compatibility, make sure handle 0 and 1 are the
18540         first and last handle. Fixes compatibility with 0.41, breaks
18541         compatibility with cvs version.
18542         Fixed bug in undo/redo of adding deleting endpoint segments
18543         when the endpoint was connected.
18544         Start OrthConn objects with three segments.
18546 1999-10-16  James Henstridge  <james@daa.com.au>
18548         * objects/custom/custom_object.c (custom_update_data): changed
18549         resizing behaviour a bit so that shapes don't grow huge when you try
18550         to resize them to smaller than the size required by the text box.
18551         Also, now shapes will not grow with fixed aspect ratio when you enter
18552         text into them unless the shape has the fixed aspect ratio flag set.
18554 1999-10-15  James Henstridge  <james@daa.com.au>
18556         * objects/flowchart/flowchart.c: add new shapes to flowchart sheet.
18558         * object/flowchart/pixmaps/...: corresponding pixmaps for new shapes.
18560         * objects/flowchart/magdrum.shape: 
18561         * objects/flowchart/offlinestore.shape: 
18562         * objects/flowchart/punchedtape.shape: 
18563         * objects/flowchart/transmittape.shape: 
18564         * objects/flowchart/punchedcard.shape: new shapes.
18566         * objects/flowchart/flowchart.c: add new shapes to flowchart sheet.
18568         * object/flowchart/pixmaps/...: corresponding pixmaps for new shapes.
18570         * objects/flowchart/collate.shape:
18571         * objects/flowchart/delay.shape:
18572         * objects/flowchart/extract.shape:
18573         * objects/flowchart/intstorage.shape:
18574         * objects/flowchart/magdisk.shape:
18575         * objects/flowchart/magtape.shape:
18576         * objects/flowchart/merge.shape:
18577         * objects/flowchart/or.shape:
18578         * objects/flowchart/sort.shape:
18579         * objects/flowchart/sumjunction.shape: new shapes.
18581 1999-10-15  Alexander Larsson  <alla@lysator.liu.se>
18583         * TODO (BUGS):
18584         Added bug:
18585         Entering an erronous command as print command
18586         crashes dia.
18588         * app/paginate_psprint.c:
18589         Save all print dialog values for next time.
18590         
18591         * app/Makefile.am:
18592         Remove custom lib from DIA_LIB_PATH.
18594 1999-10-14  James Henstridge  <james@daa.com.au>
18596         * objects/flowchart/flowchart.c: add new shapes to flowchart sheet.
18598         * object/flowchart/pixmaps/...: corresponding pixmaps for new shapes.
18599         
18600         * objects/flowchart/offpageconn.shape: 
18601         * objects/flowchart/manualop.shape: 
18602         * objects/flowchart/preparation.shape: 
18603         * objects/flowchart/manualinput.shape: 
18604         * objects/flowchart/predefdproc.shape: 
18605         * objects/flowchart/terminal.shape: new shapes in the flowchart sheet.
18607 1999-10-13  James Henstridge  <james@daa.com.au>
18609         * app/diapagelayout.[ch]: added accessors to paper information.  The
18610         widget should be just about complete now.
18612         * app/diapagelayout.[ch]: fleshed out the page setup widget a bit more.
18613         It actually does something now.
18615 1999-10-12  James Henstridge  <james@daa.com.au>
18617         * app/pixmaps/portrait.xpm, app/pixmaps/landscape.xpm: support pixmaps
18618         for the page layout widget.
18620         * app/diapagelayout.[ch]: start of page layout widget.  Not actually
18621         built yet as it is not complete.
18623         * objects/flowchart/flowchart.c: added new shapes to sheet.
18625         * objects/flowchart/display.shape:
18626         * objects/flowchart/transaction.shape: new shapes.
18628         * AUTHORS: added my name to the spec file.
18630         * dia.spec: include the dia desktop entry to the spec file.
18632         * Makefile.am: install the dia.desktop file.
18634         * dia.desktop: added a gnome desktop entry so you can start dia
18635         from the gnome panel menu.
18637 1999-10-11  James Henstridge  <james@daa.com.au>
18639         * objects/custom/custom_object.c:
18640         * objects/custom/shape_info.c: warning fixes.
18642         * objects/flowchart/document.shape: a shape file for the `document'
18643         flowchart shape.
18645         * lib/custom.h: new header with the custom shape prototypes.
18647         * app/app_procs.c: register custom objects as well.
18648         (register_objects_in): close shared libraries if they don't load
18649         correctly, and call g_module_make_resident on libraries that load
18650         correctly.
18652         * app/Makefile.am (dia_LDADD): added libcustom_objects.a to link list.
18654         * objects/custom/custom.c: removed get_version, added custom_ prefix
18655         to register_objects and register_sheets.
18657         * objects/custom/Makefile.am: converted to a normal library.
18659 1999-10-10  Alexander Larsson  <alla@lysator.liu.se>
18661         * app/lineprops_area.c:
18662         * app/render_svg.c:
18663         * lib/objchange.c:
18664         * objects/custom/shape_info.c:
18665         * objects/flowchart/box.c:
18666         * objects/flowchart/diamond.c:
18667         * objects/flowchart/ellipse.c:
18668         * objects/flowchart/parallelogram.c:
18669         * objects/network/flash.c:
18670         * objects/network/scead-plug.c:
18671         * objects/sybase/client.c:
18672         Removed -Wall warnings.
18673         
18674         * objects/network/bus.c:
18675         Removed unused functions.
18677         * objects/FS/flow-ortho.c:
18678         * objects/FS/flow-poly.c:
18679         * objects/FS/flow.c:
18680         * objects/FS/function.c:
18681         
18682         Implemented "non-implemented" undo for FS objects.
18683         Now at least it won't crash.
18684         
18685 1999-10-10  Alexander Larsson  <alla@lysator.liu.se>
18687         * objects/network/bus.c:
18688         Implemented undo.
18689         Handles are now added and removed using the object menu.
18690         Default to 6 handles instead of 10.
18691         Changed name from "Standard - Bus" to "Network - Bus". Kept old
18692         name for backwards compatibility.
18694         * objects/network/network.c:
18695         Changed name from "Standard - Bus" to "Network - Bus". Kept old
18696         name for backwards compatibility.
18698         * app/properties.[ch]:
18699         * app/undo.c:
18700         Update properties in properties dialog if the shown object
18701         is part of and ObjectChange (undo or redo).
18703         * lib/poly_conn.c:
18704         Remove old known bugs list.
18706         * objects/UML/class_dialog.c:
18707         Removed debug printf's.
18709 1999-10-10  James Henstridge  <james@daa.com.au>
18711         * objects/custom/custom.c (custom_object_load): new function that
18712         provides a nice entry point to the custom shape code for when it
18713         gets used by other libraries.
18715         * configure.in: removed 11 makefiles from AC_OUTPUT list.  This
18716         speeds builds up a bit.
18718         * */Makefile.am (EXTRA_DIST): include pixmaps in distribution.
18719         (SUBDIRS): do not descend into pixmaps subdirs.
18721         * */pixmaps/Makefile.am: removed -- incorporate into parent makefiles.
18722         This speeds up build process.
18724         * objects/custom/custom.c (sheets): made variable static.
18726         * objects/custom/custom_util.[ch] (custom_get_relative_filename):
18727         renamed function.
18729         * objects/custom/load_sheet.[ch] (custom_sheet_load): renamed function.
18731         * objects/custom/custom.c: look in ~/.shapes instead of
18732         ~/.dia_shapes as the per-user shapes directory.
18734         * app/preferences.c (prefs_save): save config to ~/.diarc.
18735         (prefs_load): load configuration from ~/.diarc.  If the file
18736         does not exist, fallback on the old ~/.diarc location.
18738         * app/app_procs.c (create_user_dirs): create the ~/.dia directory
18739         on startup.
18740         (register_all_objects): look for user specific objects in
18741         ~/.objects rather than ~/.dia_libs.
18743 1999-10-10  Fredrik Hallenberg  <hallon@lysator.liu.se>
18745         * configure.in:
18746         * app_procs.c:
18747         * objects/flowchart/box.c
18748         * objects/flowchart/ellipse.c
18749         * objects/flowchart/flowchart.c 
18750         Use gmodule for dynamic linking. As gmodule is using
18751         RTLD_GLOBAL i had to change flowchart box and ellipse
18752         so the typenames doesn't conflict with the standard
18753         box and ellipse.
18755         * message.c
18756         * commands.c
18757         Use button box to make dialogs look better.
18759 1999-10-09  Alexander Larsson  <alla@lysator.liu.se>
18761         * objects/UML/class_dialog.c:
18762         * objects/UML/class.h:
18763         Implemented undo for "UML - Class" objects.
18764         Not 100% tested yet.
18766         * objects/UML/classicon.c:
18767         * objects/UML/constraint.c:
18768         * objects/UML/dependency.c:
18769         * objects/UML/generalization.c:
18770         * objects/UML/implements.c:
18771         * objects/UML/large_package.c:
18772         * objects/UML/lifeline.c:
18773         * objects/UML/message.c:
18774         * objects/UML/object.c:
18775         * objects/UML/realizes.c:
18776         * objects/UML/state.c:
18777         * objects/UML/usecase.c:
18778         Removed warnings.
18779         
18780         * lib/connectionpoint.h:
18781         Fixed typo.
18782         
18783 1999-10-09  James Henstridge  <james@daa.com.au>
18785         * objects/custom/*.[ch]: added copyright notices to custom object
18786         files.
18788         * shapes/Circuit/hdiode.shape:
18789         * shapes/Circuit/hzener.shape: 
18790         * shapes/Circuit/opamp.shape:
18791         * shapes/Circuit/vdiode.shape:
18792         * shapes/Circuit/vzener.shape: made adjustments to make the circuit
18793         shapes look nice after the custom shape code changes.
18795         * objects/custom/README: updated docs to cover changes to drawing
18796         code.
18798         * objects/custom/custom_object.c (custom_draw): honour the line
18799         properties when drawing the shape.
18801         * objects/custom/shape_info.[ch]: added support for setting line
18802         properties for individual drawing elements in a custom shape.  You
18803         can set the dash style, dash length, cap style and join style.
18805 1999-10-07  James Henstridge  <james@daa.com.au>
18807         * objects/custom/shape_info.c (parse_style): added a few extra synonyms
18808         for foreground and background.
18810         * objects/custom/custom_object.c (custom_draw): use the new style
18811         information when drawing the object.
18813         * objects/custom/shape_info.[ch]: store all shape style info in the
18814         GraphicStyle structure.  This makes adding support for extra CSS
18815         attributes easier -- we don't have to keep adding extra arguments to
18816         a lot of functions.
18818 1999-10-05  James Henstridge  <james@daa.com.au>
18820         * lib/intl.c (unalias_lang): merged in changes from the i18n code
18821         swiped from gnome-libs.
18823 1999-10-03  Alexander Larsson  <alla@lysator.liu.se>
18825         * objects/standard/image.c (get_directory):
18826         Fix memleak. Found by Kjartan Maraas <kmaraas@online.no>
18828 1999-09-28  Alexander Larsson  <alla@lysator.liu.se>
18830         * lib/poly_conn.c (polyconn_destroy):
18831         Fix bug. Access of freed memory.
18832         Rememeber, you can't free the handles of an object
18833         before calling object_destroy(), as it unconnects the handles
18834         therefore referencing them.
18836 1999-09-28  Alexander Larsson  <alla@lysator.liu.se>
18838         * app/undo.c:
18839         undo_clear() didn't set stack->depth to zero.
18840         This made other undo functions crash after this had been called
18841         on a "full" stack.
18842         
18843         * dia.xpm:
18844         Slightly modified by Chris Love <clove@exactis.com>
18846 1999-09-19  Alexander Larsson  <alla@lysator.liu.se>
18848         * objects/UML/class.h: 
18849         * objects/UML/class_dialog.c:
18850         Retrun NULL ObjectChange on class property change.
18851         This means no crashes, but "UML - Class" doesn't support undo yet.
18852         
18853 1999-09-19  Alexander Larsson  <alla@lysator.liu.se>
18854         
18855         * lib/text.c:
18856         Indentation fix.
18858         * objects/UML/classicon.c:
18859         * objects/UML/dependency.c:
18860         * objects/UML/generalization.c:
18861         * objects/UML/implements.c:
18862         * objects/UML/large_package.c:
18863         * objects/UML/lifeline.c:
18864         * objects/UML/message.c:
18865         * objects/UML/object.c:
18866         * objects/UML/realizes.c:
18867         * objects/UML/state.c:
18868         * objects/UML/usecase.c:
18869         Update to new undo (w. get/set_state).
18870         Add object menu to add/delete segments.
18872 1999-09-17  Alexander Larsson  <alla@lysator.liu.se>
18874         * app/menus.c:
18875         Add equal distance alignment.
18877         * app/object_ops.c:
18878         Add equal distance alignment.
18879         Fix bug in adjacent alignment.
18881 1999-09-16  Alexander Larsson  <alla@lysator.liu.se>
18883         * objects/UML/constraint.c: 
18884         Update to new undo (w. get/set_state).
18886 1999-09-15  Alexander Larsson  <alla@lysator.liu.se>
18888         * app/paginate_psprint.c:
18889         Save (parts, more todo) of the info in the print dialog to the
18890         next time it's opened.
18891         Patch from Yo Ric Dude <ricdude@toad.net>
18893 1999-09-14  Alexander Larsson  <alla@lysator.liu.se>
18895         * configure.in:
18896         Updated version string to 0.41cvs.
18898         * objects/UML/assocition.c:
18899         Update to new undo (w. get/set_state).
18900         Add object menu to add/delete segments.
18902         * app/app_procs.c:
18903         Added function debug_break() and called it after all
18904         objects and sheets are loaded. Place a breakpoint here if you
18905         want to debug objects. All symbols should be loaded.
18907 1999-09-12  James Henstridge  <james@daa.com.au>
18909         * app/menus.c (display_menu_items): added print menu item.
18910         (filemenu): always add print menu item -- even if gnome-print is
18911         not installed.
18913         * app/commands.h, app/commands.c (file_print_callback): the print
18914         menu item is now available for both gnome-print and non gnome-print
18915         setups.
18917         * app/paginate_psprint.c (diagram_print_ps): show a dialog to let you
18918         print with the non gnome-print driver.
18920 1999-09-11  James Henstridge  <james@daa.com.au>
18922         * app/paginate_gnomeprint.c (diagram_print_gnome): moved the gnome
18923         printer dialog code out of commands.c.
18925         * app/paginate_psprint.c: new file containing the pagination code for
18926         psprint.
18928         * app/render_eps.c: made a few modifications so as well as producing
18929         EPS files, this renderer can be set up to do postscript printing.
18930         This basically entailed adding an extra function to create a RenderEPS
18931         renderer which did not bother setting the viewport for the document.
18932         That was left for the pagination code.
18934 1999-09-10  James Henstridge  <james@daa.com.au>
18936         * app/render_gnomeprint.c (draw_ellipse, fill_ellipse): since
18937         gnome-print does not support elliptic arcs at the moment, approximate
18938         the ellipse with eight bezier curves.  This gives a pretty good
18939         match to a true ellipse.
18941 1999-09-09  James Henstridge  <james@daa.com.au>
18943         * app/commands.c (file_gnome_print_callback): added support for
18944         scaling the diagram.  Also fixed a few other bugs.
18946         * app/paginate_gnomeprint.c (print_page): added ability to scale
18947         document.  Fixed up test to see if the page has no objects on it.
18948         This should prevent some blank pages being printed.  Non square
18949         objects such as lines could still cause problems.
18951 1999-09-08  James Henstridge  <james@daa.com.au>
18953         * app/commands.c (file_gnome_print_callback): changed from using the
18954         standard printer selection dialog to one that also has a paper size
18955         selector as well.
18957         * commands.[ch]: added callbacks for the print menu item.  Currently
18958         it only does A4 output.  I will make it configurable soon.
18959         
18960         * app/menus.c: add a print diagram menu item if gnome-print support
18961         is enabled.
18962         
18963         * app/paginate_gnomeprint.c, app/paginate_gnomeprint.h: this is a
18964         bit higher level than the gnome-print renderer.  It splits the
18965         diagram into page size chunks and then renders them.  For each
18966         page, it only renders the objects whose bounding box intersects
18967         the page, and it sets the clip mask so that the diagram does not
18968         overlap the margins.
18969         
18970         * app/render_gnomeprint.c, app/render_gnomeprint.h: added a renderer
18971         that uses gnome-print as its back end.
18972         
18973         * configure.in: added a check for gnome-print.  It is disabled by
18974         default because the code is not really working correctly yet.
18976         * app/menus.c: the delete object menu item was missing from the
18977         GnomeUIInfo style menus.
18979 1999-09-07  Fredrik Hallenberg  <hallon@lysator.liu.se>
18981         * configure.in
18982         Added japanese to ALL_LINGUAS.
18983         Fix for Linux on Alpha.
18985 1999-09-07  Alexander Larsson  <alla@lysator.liu.se>
18987         * app/create_object.c (create_object_button_press):
18988         Always initialize tool->obj. Otherwise we store a null
18989         in the undo Change.
18991         * lib/text.c:
18992         Set linestyle before drawing cursor.
18993         Fix undo of backwards delete.
18995 1999-09-05  James Henstridge  <james@daa.com.au>
18997         * dia.spec: updated spec file to distribute $(prefix)/share/dia.
18999         * app/render_svg.c (draw_image): some fixes so that the appropriate
19000         style attributes are set.  Before it was setting line styles on
19001         fill_* functions.  Now it only does this for the draw_* variants.
19003         * app/Makefile.am (run_dia.sh): set the DIA_SHAPE_PATH environment
19004         variable so that custom shapes can be loaded.
19006         * shapes/: new directory for custom shapes.  The Circuit sheet has
19007         been moved here.
19009 1999-09-02  James Henstridge  <james@daa.com.au>
19011         * TODO: removed a few todo items that have been implemented.
19013         * app/interface.c (create_sheets): enabled the popup page menu to the
19014         notebook.  This can make it easier to select different sheets.
19016         * object/custom/Circuit/: added diode, zener diode, ground point and
19017         operational amplifier shapes.
19018         
19019         * objects/custom/Makefile.am: added a note about adding DEBUG_CUSTOM
19020         if you want the output.
19022         * objects/custom/shape_info.c (parse_path): same here.
19024         * objects/custom/load_sheet.c (load_with_readdir): don't print so
19025         much debugging output.  To get the previous level of output, define
19026         DEBUG_CUSTOM.
19028         * objects/custom/shape_info.c (parse_svg_node): polygons were being
19029         recorded as polylines in the ShapeInfo structure.
19031         * objects/custom/README: some notes on writing new custom shapes.
19032         
19033 1999-09-01  James Henstridge  <james@daa.com.au>
19035         * objects/custom/Circuit/hinductor.*:
19036         * objects/custom/Circuit/vinductor.*: added inductor shapes that
19037         also test out the bezier curve and SVG path support.
19038         
19039         * objects/custom/custom_object.c (custom_draw): added support for
19040         drawing bezier paths and filled shapes.
19042         * objects/custom/shape_info.c (parse_path): new function to parse
19043         SVG path elements.  It does not do quadratic beziers or elliptic
19044         arcs though.  Only moves, lines and cubic beziers.
19045         (*): added support for paths.
19047 1999-08-31  James Henstridge  <james@daa.com.au>
19049         * objects/sybase/ltm.c (render_to_store): use the newer bezier API.
19051         * app/render_svg.c (draw_bezier, fill_bezier): updated renderer
19052         interface
19054         * app/render_eps.c (draw_bezier, fill_bezier): updated renderer
19055         interface
19057         * app/render_gdk.c (draw_bezier, fill_bezier): updated renderer
19058         interface.
19060         * lib/render_store.[ch]: use newer bezier functions.
19062         * lib/render.h: changed the bezier drawing functions to use an array
19063         of BezPoint structures instead of normal Point structures to allow
19064         lineto's mixed in with the curveto's.
19065         
19066         * objects/custom/Circuit/pnp.*: added pnp transistor shape.
19067         
19068         * objects/custom/Circuit/Makefile.am (SHAPES): added index.sheet and
19069         xpm images for different shapes to Makefile.
19071         * objects/custom/custom_object.c (custom_object_new): set the icon
19072         for the sheet button if there is one.  Otherwise fall back on the
19073         default custom object icon.
19075         * objects/custom/shape_info.c (load_shape_info): read the sheet
19076         icon name from the shape file.
19078         * app/interface.c (create_sheet_page): if sheet_obj->pixmap == NULL,
19079         check the pixmap_file field for the name of a pixmap file to load
19080         for the tool.
19082         * lib/sheet.h (SheetObj): added pixmap_file field to structure.  It is
19083         at the end of the structure, and it isn't used if the pixmap field
19084         is non NULL, so it should not break binary compatibility.
19086         * objects/custom/load_sheet.[ch]: moved sheet loading code here.  Also
19087         added support for the use of an index.sheet file so you can specify
19088         the ordering of the shapes in the sheet, and also internationalise
19089         the sheet name and actually be able to give a description.  The old
19090         readdir based sheet loading code acts as a fallback if an index.sheet
19091         file can not be found.
19093         * objects/custom/custom_util.[ch]: new file containing useful routines
19094         needed by the custom object code.  Currently only contains a simple
19095         routine for resolving relative paths.
19097         * objects/custom/custom_object.c (custom_draw): fixed problem with
19098         drawing rectangles if the shape has been flipped.
19100 1999-08-30  James Henstridge  <james@daa.com.au>
19102         * objects/custom/custom_object.c (custom_get_object_menu): allow
19103         flipping of custom shapes.  This uses the miggle click object
19104         menu.
19106         * objects/custom/Circuit/npn.shape: fix aspect ratio.
19108         * objects/custom/custom_object.c (custom_update_data): honour the
19109         aspect ratio constraints.
19111         * objects/custom/shape_info.c (load_shape_info): updated aspect ratio
19112         tag parsing, so you can specify a free, fixed or a range for aspect
19113         ratios for the shape.
19115 1999-08-29  James Henstridge  <james@daa.com.au>
19117         * objects/custom/test.xml, objects/custom/Circuit/*.shape: fixed
19118         up shape namespace tag.
19120         * objects/custom/shape_info.c (load_shape_info): check xml:lang
19121         attribute on <description> elements to support i18n for custom
19122         shape descriptions.
19123         Also changed the shape namespace for custom shapes to something
19124         a little more sensible.
19126         * lib/dummy_dep.h (dummy_dep): added extra dummy dependency.
19128         * lib/intl.c: new file containing some functions for i18n stuff.
19130         * app/layer_dialog.c (create_button_box): fixed a warning.
19132         * objects/custom/custom_object.c: use current line style.  Save dash
19133         length.
19135         * objects/flowchart/diamond.c: use current line style.  Save dash
19136         length.
19138         * objects/flowchart/parallelogram.c: use current line style.  Save
19139         dash length.
19141         * objects/flowchart/ellipse.c: use current line style.  Save dash
19142         length.
19144         * objects/flowchart/box.c: use current line style.  Save dash length.
19146         * objects/standard/ellipse.c: make ellipse use current line style.
19148         * objects/standard/box.c: use the line style set in the toolbox for
19149         new boxes, and remember the dash length.
19151         * app/commands.c (view_toggle_rulers_callback): fix reshowing of
19152         rulers.
19154 1999-08-24  James Henstridge  <james@daa.com.au>
19156         * objects/flowchart/ellipse.c (ellipse_update_data): made some changes
19157         to try to stop ellipse to get infinite width/height when we resize,
19158         while trying to keep the text inside the ellipse.
19160         * objects/flowchart/box.c, objects/flowchart/parallelogram.c,
19161         * objects/flowchart/diamond.c, objects/flowchart/ellipse.c: fixed
19162         resizing behaviour, so that you can't push objects round the screen
19163         with the resize handles.
19165         * app/lineprops_area.c (dia_arrow_chooser_init, dia_line_chooser_init):
19166         get the OK buttons in the dialogs to take default clicks.
19168         * objects/custom/custom_object.c: added code so that resizing the
19169         shape does not end up pushing it round the screen.
19171 1999-08-23  Alexander Larsson  <alla@lysator.liu.se>
19173         * app/display.[ch]:
19174         Generate rectangle with the union of the damaged regions.
19175         This is used to optimize the grid paint and the object rendering.
19176         display_render_pixmap passes this info to grid_draw() and data_render().
19178         * app/grid.[ch]:
19179         grid_draw doesn't draw grid lines outside of damaged rectangle.
19180         Sets dashlength when drawing non-solid grid.
19181         
19182         * lib/diagramdata.[ch]:
19183         data_render() and layer_render() takes an optional damaged rectangle
19184         argument. No objects not intersecting this are drawn.
19186         * app/diagram.c:
19187         Fix warning.
19188         Call data_render with NULL update rectangle.
19189         
19190 1999-08-23  James Henstridge  <james@daa.com.au>
19192         * objects/custom/custom_object.c (custom_update_data): if the aspect
19193         ratio is fixed, make sure the shape is not distorted.
19195         * object/custom/shape_info.h, objects/custom/shape_info.c: notice if
19196         a <fixaspectratio/> tag is given in the shape file.
19198         * objects/custom/shape_info.[ch], objects/custom/custom_object.c:
19199         added support for stroke-width, stroke and fill CSS attributes
19200         specified in style attributes of the SVG elements.  The line width
19201         is relative to the user specified line width.  The stroke and fill
19202         attributes can only be used to swap the foreground/background
19203         colours.
19205         * lib/widgets.c (dia_line_style_selector_set_linestyle): set the
19206         sensitivity on the dash length selector when this function is called.
19208         * objects/standard/arc.c: same.  Also handle dash length.
19209         * objects/standard/zigzagline.c: same.
19210         * objects/standard/polyline.c: same.  Also handle dash length.
19211         * objects/standard/line.c: use default arrow/line styles.
19213         * app/interface.c: added callbacks to set the default attributes.
19215         * lib/attributes.c: added implementations of these functions.
19217         * lib/attributes.h: added extra prototypes for the new line properties
19218         area in the toolbox.
19220         * app/interface.c (create_lineprops_area): added line properties
19221         area to bottom of toolbox.
19223         * app/lineprops_area.h: a header exporting a few routines of the
19224         line properties area widgets.
19226         * app/lineprops_area.c: new file containing a selector for arrows
19227         and line styles to go in the main toolbox.
19229 1999-08-22  Alexander Larsson  <alla@lysator.liu.se>
19231         * HACKING:
19232         Update Gtk+ 1.0.5 comment to 1.2.0.
19234         * INSTALL:
19235         Demand libtool 1.3
19237         * acconfig.h:
19238         Add HAVE_LIBPOPT
19240         * configure.in:
19241         Make sure we don't propagate -ldl and -lpopt to all LIBS
19242         by adding new var APP_LIBS that only app/dia links with.
19243                 
19244         * app/Makefile.am:
19245         Update run_dia.sh to load custom and flowchart objects.
19247         * objects/ER/Makefile.am:
19248         * objects/FS/Makefile.am:
19249         * objects/UML/Makefile.am:
19250         * objects/network/Makefile.am:
19251         * objects/standard/Makefile.am:
19252         * objects/sybase/Makefile.am:
19253         Don't build versioned libs.     
19254         
19255 1999-08-22  James Henstridge  <james@daa.com.au>
19257         * configure.in: added objects/custom/Circuit/Makefile to AC_OUTPUT
19258         list.
19260         * objects/Makefile.am (SUBDIRS): added custom to subdir list -- it
19261         should actually work a bit now.
19263         * objects/custom/Circuit/*: a test sheet for the custom shape code.
19264         It is a small collection of circuit elements.
19266         * objects/custom/shape_info.c: fixed up loading of polylines and
19267         polygons.  Before it was removing negative signs :(
19269         * objects/custom/pixmaps/custom.xpm: drew the custom shape icon.  A
19270         placeholder was here before.  I still need to work out how to set
19271         icons for individual custom shapes.
19272         
19273         * objects/custom/custom.c: added code to load the shapes into sheets
19274         properly.  The shape files should be arranged into directories, and
19275         each directory represents a different sheet in the toolbox.  This
19276         will make it very easy to distribute a collection of dia shapes as
19277         a tarball.  I still need to work out internationalisation, and maybe
19278         also shape ordering in the sheet.
19280         * objects/custom/custom_object.c: fixed up dialogs for these objects.
19281         (custom_create): fix for objects without text areas.
19283         * objects/custom/shape_info.h, objects/custom/custom_object.c: loading
19284         and saving of custom object works correctly now.
19286 1999-08-21  James Henstridge  <james@daa.com.au>
19288         * objects/flowchart/ellipse.c: 
19289         * objects/flowchart/diamond.c: 
19290         * objects/flowchart/parallelogram.c: 
19291         * objects/flowchart/box.c: Fixed up a few bugs in these objects when
19292         copying or loading these object types.  Not all the connection
19293         points would be initialised correctly.
19295         * objects/flowchart/Makefile.am (libflowchart_objects_la_LDFLAGS):
19296         similar here.
19298         * objects/custom/Makefile.am (libcustom_objects_la_LDFLAGS): do not
19299         build a versioned library.  It will only ever be dlopen'd, so this
19300         is not a problem.
19302         * objects/custom/custom_object.c (custom_distance_from): allow
19303         selecting the object by clicking on the text.  This fixes problems
19304         where the text box is outside the graphic.
19306         * objects/custom/shape_info.c (load_shape_info): fixed up reading
19307         of connections points.  It should be possible to add connections
19308         to custom objects now.
19310         * objects/custom/custom_object.c (custom_update_data): fixed resizing
19311         due to changes to text.
19313         * configure.in: added extra makefiles.
19314         
19315         * objects/custom/shape_info.[ch]:
19316         * objects/custom/custom_object.c:
19317         * objects/custom/custom.c: the starts of custom shape support in dia.
19318         This is not built by default at the moment, since it is not quite
19319         complete.  When it is, it will let you create more shapes for dia
19320         without writing a line of C.  Its implementation includes buzzwords
19321         such as XML and SVG, so it must be good :)
19323 1999-08-19  Karsten Weiss  <karsten@addx.au.s.shuttle.de>
19325         * app/app_procs.c (app_exit): Use button labels "Quit" and
19326         "Cancel" instead of "Yes" and "No".
19327         Set default action to "Cancel" instead of "Quit".
19329 1999-08-19  James Henstridge  <james@daa.com.au>
19331         * objects/flowchart/flowchart.c: added ellipse object.
19332         
19333         * objects/flowchart/ellipse.c: a new shape for the flowchart toolbox.
19335 1999-08-18  James Henstridge  <james@daa.com.au>d
19337         * app/color_area.c (color_area_edit): small fix to prevent dia from
19338         segfaulting when you try to change the default foreground/background.
19340 1999-08-17  Alexander Larsson  <alla@lysator.liu.se>
19342         * app/diagram.[ch] (diagram_redraw_all):
19343         Added function that redraws all diagrams.
19345         * app/preferences.c (prefs_apply):
19346         Call diagram_redraw_all when prefs are changed.
19348         * app/render_svg.c:
19349         Don't use xmlEncodeEntitiesReentrant(). It doesn't exist on
19350         older libxml's, and the old version works good enought here.
19351         
19352 1999-08-17  James Henstridge  <james@daa.com.au>
19354         * lib/widgets.c: changed handlers that were connected to the GtkButton
19355         "pressed" signal to connect to the "clicked" signal.  This removes the
19356         problem where dialogs are inactive until you click a mouse button
19357         after using a colour selector.
19359         * configure.in: added extra makefiles to AC_OUTPUT list.
19360         
19361         * objects/Makefile.am (SUBDIRS): added flowchart module
19363         * objects/flowchart/*: a collection of shapes for use in flowcharts.
19365         * app/color_area.c (color_area_events): similar here.
19367         * app/linewidth_area.c (linewidth_area_events): sometimes a configure
19368         event is recieved with event->width == 0, which causes a warning if we
19369         try to create a pixmap of that width.
19371         * app/preferences.c, app/preferences.h, app/grid.c: added code to
19372         allow you to configure the colour of the grid, and also lets you
19373         set the grid to use dotted lines instead of solid ones.
19374         
19375         * app/commands.c, app/commands.h, app/diagram.c, app/diagram.h,
19376         app/menus.c, app/Makefile.am: added menu entry for exporting SVG files.
19377         
19378         * app/render_svg.h, app/render_svg.c: an SVG (Scalable Vector Graphics)
19379         export filter.  It is not quite complete, but for most shapes it
19380         works as expected.  Fonts still need a bit of work.
19382 1999-08-11  Robert Brady  <rwb197@ecs.soton.ac.uk>
19384         * configure.in: Added "en_GB" to ALL_LINGUAS.
19386 1999-08-04  Fredrik Hallenberg  <hallon@lysator.liu.se>
19388         * menus.c
19389         Added Undo and Redo to GNOME menus.
19390         
19391         * objects/ER/attribute.c:
19392         * objects/ER/entity.c:
19393         * objects/ER/participation.c:
19394         * objects/ER/relationship.c:
19395         Added get/set_state functions.
19397         * objects/ER/participation.c:
19398         Added add/delete segment.
19400         * po/sv.po
19401         Updated Swedish translation.
19403 1999-07-25  Alexander Larsson  <alla@lysator.liu.se>
19405         * app/preferences.[hc]:
19406         Added undo_depth pref.
19407         
19408         * app/undo.[ch]:
19409         Never grow stack larger than pref.undo_depth.
19410         undo_depth == 0 means unlimited.
19411         Converted printfs to conditionally compiled DEBUG_PRINTFs.
19412         
19413 1999-07-25  Alexander Larsson  <alla@lysator.liu.se>
19415         * app/diagram.c:
19416         * app/group.c:
19417         * lib/object.h:
19418         * lib/render_object.c:
19419         * objects/ER/attribute.c:
19420         * objects/ER/entity.c:
19421         * objects/ER/participation.c:
19422         * objects/ER/relationship.c:
19423         * objects/FS/flow-ortho.c:
19424         * objects/FS/flow-poly.c:
19425         * objects/FS/flow.c:
19426         * objects/FS/function.c:
19427         * objects/UML/actor.c:
19428         * objects/UML/association.c:
19429         * objects/UML/class.c:
19430         * objects/UML/classicon.c:
19431         * objects/UML/component.c:
19432         * objects/UML/constraint.c:
19433         * objects/UML/dependency.c:
19434         * objects/UML/generalization.c:
19435         * objects/UML/implements.c:
19436         * objects/UML/large_package.c:
19437         * objects/UML/lifeline.c:
19438         * objects/UML/message.c:
19439         * objects/UML/note.c:
19440         * objects/UML/object.c:
19441         * objects/UML/realizes.c:
19442         * objects/UML/small_package.c:
19443         * objects/UML/state.c:
19444         * objects/UML/usecase.c:
19445         * objects/network/bus.c:
19446         * objects/standard/arc.c:
19447         * objects/standard/box.c:
19448         * objects/standard/ellipse.c:
19449         * objects/standard/image.c:
19450         * objects/standard/line.c:
19451         * objects/standard/polyline.c:
19452         * objects/standard/textobj.c:
19453         * objects/standard/zigzagline.c:
19454         Removed all traces of is_empty(). It doesn't work in an
19455         Undo/Redo world.
19457 1999-07-25  Alexander Larsson  <alla@lysator.liu.se>
19459         * app/diagram.c:
19460         * app/group.[ch]:
19461         * app/undo.[ch]:
19462         Undoable grouping and ungrouping.
19464         * app/layer_dialog.c:
19465         * lib/diagramdata.[ch]:
19466         Undoable layer ops.
19468         * app/modify_tool.c:
19469         Undoable unconnect on handle move.
19471         * lib/orth_conn.[ch]:
19472         Working undoable add/remove segment.
19473         Removed endpoint_handles from OrthConn, renamed
19474         midpoint_handles to handles and put the endpoint
19475         handles there.
19477         * objects/standard/zigzagline.c:
19478         * objects/ER/participation.c:
19479         * objects/UML/association.c:
19480         * objects/UML/dependency.c:
19481         * objects/UML/generalization.c:
19482         * objects/UML/realizes.c:
19483         Update for the changes in OrthConn
19484         
19485 1999-07-23  Karsten Weiss  <karsten@addx.au.s.shuttle.de>
19487         * configure.in: Added "de" to ALL_LINGUAS.
19489 1999-07-17  Alexander Larsson  <alla@lysator.liu.se>
19491         * dia.1:
19492         Fixed typo.
19494         * app/display.c:
19495         * po/da.po:
19496         * po/fr.po:
19497         * po/hu.po:
19498         * po/no.po:
19499         * po/pl.po:
19500         * po/sv.po:
19501         Don't have the <Display> etc part of the menu strings
19502         i18n:ed. Patch from Fabrice.Bellet@imag.fr.
19504         * app/diagram.c:
19505         Don't have the <Display> etc part of the menu strings
19506         i18n:ed. Patch from Fabrice.Bellet@imag.fr.
19507         Don't remove is_empty() objects, that don't work with undo.
19509         * lib/objchange.[ch]:
19510         New files.
19511         Definition of ObjectChange. This is essentially an Change
19512         exported to the object libs. It encapsulates a change made
19513         to an objects internals. It can be applied, reverted and freed.
19514         There are also utility functions for doing ObjectChanges that
19515         only get/set the whole state of an object to store the change.
19516         This cannot be used when the object change deletes or adds a
19517         object which has references from other objects, eg. Handles which
19518         might be connected.
19520         * lib/Makefile.am:
19521         Added objchange.c and objchange.h.
19523         * lib/dia_image.c:
19524         Return NULL when loading fails.
19526         * lib/diamenu.h:
19527         Menu callbacks return an ObjectChange.
19529         * lib/dummy_dep.h:
19530         Reference objchange.o
19532         * lib/focus.h:
19533         Key events return ObjectChange if they modify the object.
19535         
19536         * lib/object.h:
19537         Added object_add_handle_at() function.
19538         Apply properties returns an ObjectChange.
19539         Remove ObjectState and the get/set state functions, these
19540         don't always work. Use the new ObjectChange instead.
19541         
19542         * lib/object.c:
19543         Added object_add_handle_at() function implementation.
19544         
19545         * lib/orth_conn.[ch]:
19546         Use ObjectChange. Not finished yet.
19547         Removed get/set/free state functions
19549         * lib/poly_conn.[ch]:
19550         Use ObjectChange.
19551         Don't remove segments that are small.
19552         Removed get/set/free state functions
19554         * lib/text.[ch]:
19555         Use ObjectChange.
19556         Added functions to get/set all text attributes.
19558         * objects/standard/arc.c:
19559         * objects/standard/box.c:
19560         * objects/standard/ellipse.c:
19561         * objects/standard/image.c:
19562         * objects/standard/line.c:
19563         * objects/standard/polyline.c:
19564         * objects/standard/textobj.c:
19565         * objects/standard/zigzagline.c:
19566         Use ObjectChange.
19567         fixed bug in image_set_state.
19568         zigzagline.c not finished yet.
19570         * app/disp_callbacks.c:
19571         Use ObjectChange that are returned from menu callbacks and
19572         key_events for undo.
19574         * app/properties.c:
19575         Use ObjectChange that are returned from properties apply
19576         for undo.
19578         * app/undo.c:
19579         * app/undo.h:
19580         New undo type: ObjectChangeChange. This wraps a change to the
19581         internals of an object (and ObjectChange) in code that does
19582         app specific stuff (object_add_updates etc.)
19584 1999-07-11  Alexander Larsson  <alla@lysator.liu.se>
19586         * lib/orth_conn.[ch]:
19587         Added code for add/delete segment.
19589         * objects/standard/zigzagline.c:
19590         Use the new orth_conn code.
19591         
19593 1999-07-08  Fredrik Hallenberg  <hallon@lysator.liu.se>
19595         * objects/FS/Makefile.am
19596         Removed fs.h from sources.
19598         * Makefile.am
19599         * dia.1
19600         Added man page.
19602 1999-07-07  Alexander Larsson  <alla@lysator.liu.se>
19604         * app/disp_callbacks.c (ddisplay_canvas_events):
19605         Fix for bug. Every other arrow-key press got lost.
19606         patch from Mr. Data Esq. <data@r47h102.res.gatech.edu>
19608         * INSTALL:
19609         change automake.sh to autogen.sh
19610         
19611 1999-06-24  Alexander Larsson  <alla@lysator.liu.se>
19613         * app/diagram.c:
19614         Don't remove 'empty' objects.
19615         This violent destruction of objects won't work
19616         with the new undo framework.
19618         * app/disp_callbacks.c:
19619         Save undo info for object menu calls and key_events.
19621         * app/properties.c:
19622         Save undo info on properties apply.
19624         * lib/dia_image.[ch]:
19625         Add refcounting for images.
19627         * app/render_eps.c:
19628         * app/render_gdk.c:
19629         * lib/render.h:
19630         DiaImage * -> DiaImage
19632         * app/undo.[ch]:
19633         Add undo functions for object state changes.
19635         * lib/focus.h:
19636         * lib/text.c:
19637         change of semntics for focus->key_event.
19638         Now returns TRUE if the object recieving the event
19639         was changed.
19641         * lib/object.h:
19642         Comment changes.
19644         * lib/orth_conn.[ch]:
19645         Don't automatically create and delete segments when
19646         handles are moved. This is incompatible with undo.
19647         Added state get, set and free functions.
19649         * lib/orth_conn.[ch]:
19650         Added state get, set and free functions.
19652         * objects/UML/object.c:
19653         * objects/UML/uml.c:
19654         Fixed typo "UML - Objet" -> "UML - Object".
19655         Saved old for backwards compatibility.
19657         * objects/standard/arc.c:
19658         * objects/standard/box.c:
19659         * objects/standard/ellipse.c:
19660         * objects/standard/image.c:
19661         * objects/standard/line.c:
19662         * objects/standard/polyline.c:
19663         * objects/standard/textobj.c:
19664         * objects/standard/zigzagline.c:
19665         Added get/set state functions.
19666         Textobj has a redo crash-bug.
19667         Zigzagline needs object menus to add segments.
19668         
19670 1999-06-20  Alexander Larsson  <alla@lysator.liu.se>
19672         * app/render_eps.c (set_dashlength):
19673         Don't generate eps files with zero dash-length.
19675 1999-06-16  Alexander Larsson  <alla@lysator.liu.se>
19677         * app/commands.c:
19678         * app/create_object.c:
19679         * app/undo.[ch]:
19680         Finished undo for create and paste.
19681         
19682         * lib/object.h:
19683         Started properties undo.
19685 1999-06-14  Alexander Larsson  <alla@lysator.liu.se>
19687         * TODO:
19688         Added resizeable groups.
19690         * app/app_procs.c:
19691         Removed unused variable.
19693         * app/commands.c:
19694         * app/undo.[ch]:
19695         Undo/redo for cut/delete done.
19697         * app/create_object.c:
19698         * app/modify_tool.c:
19699         * lib/diagramdata.[ch]:
19700         * app/diagram.[ch]:
19701         renamed diagram_add_selected -> diagram_select
19702         renamed diagram_remove_selected -> diagram_unselect
19703         
19704         * app/properties.[ch]:
19705         Added properties_hide_if_shown() function.
19707 1999-06-13  Alexander Larsson  <alla@lysator.liu.se>
19709         * app/undo.[ch]:
19710         * app/Makefile.am:
19711         Undo functions.
19712         
19713         * app/commands.[ch]
19714         * app/modify_tool.[ch]
19715         * app/object_ops.[ch]
19716         * app/connectionpoint_ops.c
19717         * app/menus.c
19718         Use undo functions.
19719         WARNING: Not finished. Will break.
19720         Finished: move object, move handle.
19722         * app/diagram.[ch]
19723         Added diagram_selected_break_external() function.
19724         It removes all connections between selected objects
19725         and non-selected.
19726         Add undo stack to Diagram.
19727         
19728         * lib/diagramdata.[ch]
19729         Added layer_remove_objects() function
19730         
19731 1999-06-11  Fredrik Hallenberg  <hallon@lysator.liu.se>
19733         * objects/FS/Makefile.am
19734         * objects/sybase/Makefile.am
19735         Now uses GNOME_CFLAGS.
19737         * app/app_procs.c
19738         Now compiles with GNOME even if popt.h isn't available.
19740 1999-06-10  Alexander Larsson  <alla@lysator.liu.se>
19742         * configure.in
19743         * objects/Makefile.am
19744         * objects/sybase/*
19745         First version of sybase objects from
19746         Brian Bruns <camber@umcc.ais.org>
19748 1999-06-10  Fredrik Hallenberg  <hallon@lysator.liu.se>
19750         * configure.in
19751         Added fr to ALL_LINGUAS
19753 1999-06-09  Fredrik Hallenberg  <hallon@lysator.liu.se>
19755         * configure.in
19756         * app/app_procs.c
19757         Popt-code is activated if popt is available.
19759 1999-06-08  Alexander Larsson  <alla@lysator.liu.se>
19761         This is a patch from David Thompson <dcthomp@mail.utexas.edu>
19762         
19763         * lib/orth_conn.[ch]:
19764         Added orthconn_get_middle_handle()
19766         * lib/text.[ch]:
19767         Added text_set_cursor_at_end()
19768         
19769         * objects/FS/*
19770         Added first version of functions structure diagrams.
19771         
19772 1999-05-24  Alexander Larsson  <alla@lysator.liu.se>
19774         * app/modify_tool.c:
19775         Include math.h to remove warning.
19777         * app/commands.c (dialogs_properties_callback):
19778         Bring up correct properties dialog when selected
19779         from menu.
19780         From Dan Cohn <dan@internap.com>
19782 1999-05-20  Alexander Larsson  <alla@lysator.liu.se>
19784         Patch from Lars R. Clausen 
19785         
19786         * app/modify_tool.c:
19787         Changed abs to fabs.
19789 1999-05-19  Alexander Larsson  <alla@lysator.liu.se>
19791         * INSTALL: 
19792         * configure.in:
19793         Require Gtk+ 1.2.0
19795 1999-05-18  Alexander Larsson  <alla@lysator.liu.se>
19797         Patches from Dan Cohn <dan@internap.com>
19798         
19799         * app/commands.[ch]: 
19800         * app/display.[ch]: 
19801         * app/menus.c:
19802         * app/preferences.[ch]:
19803         Implements ability to turn on/off connection points in
19804         current drawing and in global prefs.
19806 1999-05-18  Alexander Larsson  <alla@lysator.liu.se>
19808         * lib/widgets.c (dia_line_style_selector_init): 
19809         Fixed warnings.
19810         
19811         * lib/diagramdata.c (layer_update_extents):
19812         Fixed uninitialized variable error.
19814 1999-05-17  Alexander Larsson  <alla@lysator.liu.se>
19816         * lib/dia_image.c:
19817         Made some changes to the gdk_imlib visual+colormap setup.
19819 1999-05-17  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
19821         * objects/UML/usecase.c: 
19822        * objects/UML/lifeline.c
19823         Fine tunning.
19825         * objects/UML/object.c: 
19826         * objects/UML/message.c: 
19827         Changed font from Courier to Helvetica.
19829         * lib/widgets.c: 
19830         * lib/widgets.h:
19831         Added dash lenth to the LineStyle widget.
19832         
19833         * objects/standard/ellipse.c :
19834         * objects/standard/zigzagline.c: 
19835         * objects/standard/line.c: 
19836         Added dash lenght property.
19838 1999-05-16  Alexander Larsson  <alla@lysator.liu.se>
19840         * app/render_eps.c:
19841         First shot at latin1 encoded eps files.
19842         Works, but the eps files get a bit large.
19843         
19844 1999-05-16  Alexander Larsson  <alla@lysator.liu.se>
19846         * objects/UML/class.[ch]: 
19847         * objects/UML/uml.[ch]:
19848         Reverted the line wrap changes.
19849         Some day this might return, but it has to be selectable and
19850         default to off for loaded objects, otherwise it breaks file
19851         format compatibility.
19852         There was also some complains about how it looked, so a making it
19853         selectable is good for this too.
19855 1999-05-15  Alexander Larsson  <alla@lysator.liu.se>
19857         * objects/UML/class.[ch]:
19858         Some indentation cleanup.
19859         Added wrap_lines variable to class.
19860         I'll fix the line break stuff tomorrow.
19862 1999-05-13  Alexander Larsson  <alla@lysator.liu.se>
19864         * lib/dummy_dep.h:
19865         Added ref to poly_conn.o.
19867         * objects/standard/polyline.c (polyline_draw): 
19868         * objects/standard/zigzagline.c (zigzagline_draw): 
19869         * objects/standard/arc.c (arc_draw): 
19870         * objects/standard/line.c (line_draw):
19871         Draw lines before arrows. This makes hollow arrows not
19872         show the line.
19874 1999-05-13  Alexander Larsson  <alla@lysator.liu.se>
19876         Changes from Kim Peasley <kpeasley@ior.com> 
19877                 
19878         * objects/UML/class.c:
19879         Break lines with long operations so classes won't be
19880         so wide.
19882         * objects/UML/uml.[ch]:
19883         Helperfunctions for the above.
19884         
19885         * objects/UML/objects.c:
19886         Fix bug that duplicated the text in the attributes
19887         textwidget each time the object was selected.
19888         
19889 1999-05-12  Alexander Larsson  <alla@lysator.liu.se>
19891         Changes from Lars R. Clausen <lrclause@cs.uiuc.edu>
19892         
19893         * app/modify_tool.c:
19894         * app/modify_tool.h:
19895         Control-drag is restricted to vertical/horizontal movement
19896         
19897         * lib/object.h:
19898         ModifierKeys argument added to object_move_handle
19900         * app/connectionpoint_ops.c:
19901         * app/create_object.c:
19902         * app/object_ops.c:
19903         * objects/ER/attribute.c:
19904         * objects/ER/entity.c:
19905         * objects/ER/participation.c:
19906         * objects/ER/relationship.c:
19907         * objects/UML/actor.c:
19908         * objects/UML/association.c:
19909         * objects/UML/class.c:
19910         * objects/UML/classicon.c:
19911         * objects/UML/component.c:
19912         * objects/UML/constraint.c:
19913         * objects/UML/dependency.c:
19914         * objects/UML/generalization.c:
19915         * objects/UML/implements.c:
19916         * objects/UML/large_package.c:
19917         * objects/UML/lifeline.c:
19918         * objects/UML/message.c:
19919         * objects/UML/note.c:
19920         * objects/UML/object.c:
19921         * objects/UML/realizes.c:
19922         * objects/UML/small_package.c:
19923         * objects/UML/state.c:
19924         * objects/UML/usecase.c:
19925         * objects/network/bus.c:
19926         * objects/standard/arc.c:
19927         * objects/standard/box.c:
19928         * objects/standard/ellipse.c:
19929         * objects/standard/image.c:
19930         * objects/standard/line.c:
19931         * objects/standard/polyline.c:
19932         * objects/standard/textobj.c:
19933         * objects/standard/zigzagline.c:
19934         Changed calls to move_handle to pass the new argument.
19935         
19936         * lib/widgets.c:
19937         * lib/widgets.h:
19938         Default line width, color etc #define'd
19939         
19940         * po/da.po:
19941         Updates of danish menus
19943 1999-05-08  Fredrik Hallenberg  <hallon@lysator.liu.se>
19945         * dia.xpm
19946         * dia_gnome_icon.png
19947         * dia_gnome_menu_icon.png
19948         * dia_logo.png
19949         Graphics by Toussaint Frédéric <ftoussin@club-internet.fr>.
19951         * app/commands.c
19952         About dialog shows dia_logo.png. Removed the GNOME about dialog.
19954         * Makefile.am
19955         Distribute the icons and install logo in pkgdatadir.
19956         
19957         * app/Makefile.am
19958         Added DATADIR-define.
19959         
19960 1999-04-28  Alexander Larsson  <alla@lysator.liu.se>
19961         Patches from Enrico Scholz <enrico.scholz@wirtschaft.tu-chemnitz.de>
19963         * dia.spec:
19964         Updated version number, made setup quiet, can build from cvs,
19965         --enable-gnome, now using automake 1.4 DESTDIR feature, install-strip
19967         * lib/Makefile.am
19968         * objects/ER/Makefile.am
19969         * objects/UML/Makefile.am
19970         * objects/network/Makefile.am
19971         * objects/standard/Makefile.am
19972         now builds better with gnome
19974         * objects/UML/class_dialog.c
19975         Fixed typo -> po files must be updated too!!
19976         
19977 1999-04-28  Alexander Larsson  <alla@lysator.liu.se>
19979         * lib/dummy_dep.h:
19980         Added reference so that widgets.o gets linked to the app.
19982 1999-04-23  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
19984         * objects/UML/classicon.c: 
19985         Added object mode.
19987         * objects/UML/actor.c: 
19988         Changed position of 'snap-to-grid' so connection points are
19989         in the grid.
19991 1999-04-22  Alexander Larsson  <alla@lysator.liu.se>
19993         * objects/UML/classicon.c:
19994         Changed position of 'snap-to-grid'.
19995         By Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
19996         
19997 1999-04-22  Alexander Larsson  <alla@lysator.liu.se>
19999         * objects/network/antenna.c
20000         * objects/network/flash.c
20001         * objects/network/hub.c
20002         * objects/network/modem.c
20003         * objects/network/modularswitch.c
20004         * objects/network/rj45plug.c
20005         * objects/network/scead-plug.c
20006         * objects/network/network.c
20007         * objects/network/Makefile.am
20008         * objects/network/pixmaps/antenna.xpm
20009         * objects/network/pixmaps/flash.xpm
20010         * objects/network/pixmaps/hub.xpm
20011         * objects/network/pixmaps/modem.xpm
20012         * objects/network/pixmaps/modularswitch.xpm
20013         * objects/network/pixmaps/rj45plug.xpm
20014         * objects/network/pixmaps/sceadplug.xpm
20015         * objects/network/pixmaps/Makefile.am
20016         Lots of new network objects from
20017         Roland Steinbach <roland@support-system.com>.
20019 1999-04-15  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
20021         * objects/UML/classicon.c: 
20022         Fixed connection positions, saved type as int (it has 3 states),
20023         and other small fixes.
20024         
20025 1999-04-14  Alexander Larsson  <alla@lysator.liu.se>
20027         * app/preferences.c:
20028         * app/load_save.c:
20029         Added preference compress_save. It lets dia save uncompressed
20030         xml files.
20032         * objects/UML/class.c:
20033         Fixed bug with size calculation on methods that had class scope.
20034         
20035 1999-04-13  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
20037         * objects/UML/usecase.c: 
20038         Added collaboration mode
20039         Fixed connection points with text > ellipse bug and other 
20040         small things
20042         * objects/UML/state.c:
20043         Fixed bug of bad position of text after being either end
20044         or begin, moved and returned to text
20046 1999-04-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
20048         * app/preferences.c: Add prototype declaration for prefs_apply.
20050 1999-04-11  Alexander Larsson  <alla@lysator.liu.se>
20052         * app/preferences.c:
20053         Added 'ok' button.
20054         Apply don't hide window.
20056         * app/properties.c:
20057         Add 'ok' button.
20059         * objects/UML/object.c:
20060         * objdcts/UML/state.c:
20061         Some data was not copied on copy.
20063         This patch is from
20064         Ben Hochstedler <benh@eeyore.moneng.mei.com>
20066 1999-04-09  Alexander Larsson  <alla@lysator.liu.se>
20068         * app/Makefile.am:
20069         Changed link order between X and libxml.
20070         Some people had problems with an old libz in their
20071         x11 directory.  
20073 1999-04-09  Kjartan Maraas  <kmaraas@online.no>
20075         * po/no.po: updated translation.
20076         
20077 1999-04-08  Lars R. Clausen <lrclause@cs.uiuc.edu>
20079         * lib/message.c (message_error):
20080         Fixed small error.
20082         * app/commands.[ch]:
20083         * app/diagram.[ch]:
20084         Added begining of xfig importing
20086 1999-04-08  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
20088         * objects/UML/pixmaps/state.xpm: 
20089         * objects/UML/state.c: 
20090         New UML object state machine.
20092         * objects/UML/uml.c:
20093         * objects/UML/Makefile.am:
20094         * objects/UML/pixmaps/Makefile.am:
20095         Added the state object.
20096         
20097 1999-04-08  Alejandro Aguilar Sierra  <ale@bucefalo>
20099         * objects/UML/usecase.c: 
20100         Added dialog to allow move text outside the ellipse.
20102 1999-04-08  Alexander Larsson  <alla@lysator.liu.se>
20104         * Released Dia 0.41
20105         Tag called DIA_0_41
20107         * NEWS:
20108         Updates for 0.41.
20109         
20110 1999-04-08  Alexander Larsson  <alla@lysator.liu.se>
20112         * configure.in:
20113         Updated version number to 0.41
20115         * po/*.po:
20116         Update po-files
20118 1999-04-04  Fredrik Hallenberg  <hallon@lysator.liu.se>
20120         * app/app_procs.c
20121         Changed errormessage for --export-to-ps. Removed call to 
20122         g_log_set_always_fatal().
20124         * app/diagram.c
20125         * app/disp_callbacks.c
20126         * app/load_save.c
20127         (i18n) Removed gettext from some debugmessages.
20129         * app/menus.c
20130         Small fix in GNOME-menus. Added warning that will help track
20131         problems with translations.
20133         * po/sv.po
20134         (i18n) Updated swedish translation.
20136 1999-04-02  Alexander Larsson  <alla@lysator.liu.se>
20138         * po/da.po:
20139         New updates
20141 1999-04-01  Alexander Larsson  <alla@lysator.liu.se>
20143         * po/da.po:
20144         * po/no.po:
20145         Some fixes.
20146         
20147 1999-04-01  Alexander Larsson  <alla@lysator.liu.se>
20149         * po/da.po:
20150         (i18n) Updated the danish translation.
20151         From Lars R. Clausen.
20153 1999-04-01  Fredrik Hallenberg  <hallon@lysator.liu.se>
20155         * app/menus.c
20156         (i18n) The popup menu is translated now.
20158         * po/sv.po
20159         (i18n) Updated swedish translation.
20161 1999-03-29  Alexander Larsson  <alla@lysator.liu.se>
20163         * Released Dia 0.40
20164         Tag called DIA_0_40
20166         * NEWS:
20167         Updated for new release
20168         
20169 1999-03-29  Alexander Larsson  <alla@lysator.liu.se>
20171         * objects/network/bus.c:
20172         Added initialization of properties dialog to NULL.
20174         * app/commands.c (edit_cut_callback):
20175         Update menu sensitivity when cut object.
20177         * app/modify_tool.c (click_select_object):
20178         * app/modify_tool.c (modify_button_release): 
20179         Call diagram_update_menu_sensitivity() when
20180         selecting objects to update stuff that depends
20181         on selected/not selected.
20183 1999-03-29  Alexander Larsson  <alla@lysator.liu.se>
20185         * Makefile.am:
20186         Change order of subdir so that libintl.a builds.
20187         Now passed make distcheck.
20189 1999-03-28  Alexander Larsson  <alla@lysator.liu.se>
20191         * lib/font.c (init_x11_font):
20192         Stupid bug fixed.
20194 1999-03-28  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
20196         * objects/UML/pixmaps/classicon.xpm: 
20197         * objects/UML/classicon.c:
20198         * objects/UML/uml.c:
20199         Added the class stereotype icon objects.
20201         * app/commands.c:
20202         Changed default ps extension from .ps to .eps.
20203         
20204 1999-03-28  Alexander Larsson  <alla@lysator.liu.se>
20206         * lib/Makefile.am:
20207         Added diamenu.h and intl.h
20209         * lib/font.c:
20210         Stupid typo fix.
20211         
20212         * objects/UML/pixmaps/Makefile.am:
20213         Added message.xpm
20215         * objects/standard/pixmaps/Makefile.am:
20216         Added image.xpm
20218 1999-03-28  Alexander Larsson  <alla@lysator.liu.se>
20220         * lib/font.c:
20221         Use a scalable font before fixed when real font not found.
20223         * app/commands.c:
20224         Removed warning.
20226         * objects/standard/image.c:
20227         Better handling of loading/saving of images.
20229         * INSTALL:
20230         Added some text about cvs, fonts and rewrote some parts.
20232         * TODO:
20233         Updated with new stuff.
20234         
20235         * configure.in:
20236         Bump up version number to 0.40.
20237         
20238 1999-03-28  Alexander Larsson  <alla@lysator.liu.se>
20240         * app/display.c:
20241         Moved diagram_add_ddisplay() call into new_display().
20242         Fixed new_display to not use uninitialized variables
20243         causing loaded files to show up as black (or garbage).
20244         
20245         * app/commands.c:
20246         * app/app_procs.c:
20247         Removed unneeded calls to diagram_add_ddisplay().
20248         
20249 1999-03-28  Alexander Larsson  <alla@lysator.liu.se>
20251         * objects/UML/lifeline.c:
20252         Fixed bug in copy.
20253         Patch from Andreas Jaeger <aj@arthur.rhein-neckar.de>.
20255         * objects/UML/message.c:
20256         Fixed bug loading messages with null-text.
20257         Patch from Andreas Jaeger <aj@arthur.rhein-neckar.de>.
20259 1999-03-27  Fredrik Hallenberg  <hallon@lysator.liu.se>
20261         * po/sv.po
20262         Updated swedish translation.
20264         * app/menus.c
20265         (GNOME) Removed help-browser from help menu. Fixed typo.
20267         * app/interface.c
20268         (GNOME) Accelerators in diagrams should work now. 
20270 1999-03-25  Fredrik Hallenberg  <hallon@lysator.liu.se>
20272         * app/app_procs.c
20273         * app/commands.c
20274         * app/defaults.c
20275         * app/disp_callbacks.c
20276         * app/display.c
20277         * app/interface.c
20278         * app/menus.c
20279         * app/preferences.c
20280         * app/render_eps.c
20281         * lib/diagramdata.c
20282         * lib/font.c
20283         * lib/message.c
20284         * lib/widgets.c
20285         * objects/ER/*.c
20286         * objects/UML/*.c
20287         * objects/network/*.c
20288         * objects/standard/*.c
20289         * po/update_pofiles_in.sh
20290         * po/POFILES.in
20291         More i18n. All strings (expect rare debug messages) can be
20292         translated now. Moved intl.h from app to lib. Updated
20293         update_pofiles_in.sh to check all .c-files.
20295 1999-03-23  Alexander Larsson  <alla@lysator.liu.se>
20297         * app/disp_callbacks.c (ddisplay_canvas_events):
20298         Don't drop keys while num-lock, scroll-lock etc is on.
20300 1999-03-22  Alexander Larsson  <alla@lysator.liu.se>
20302         * app/render_eps.c (draw_image):
20303         Fixed exporting of images.
20304         Still not perfect, but not outright buggy.
20305         
20306 1999-03-22  Alexander Larsson  <alla@lysator.liu.se>
20308         * configure.in:
20309         * po/hu.po:
20310         Added hungarian translation. By Shooby Ban <bansz@szif.hu>.
20312         * app/Makefile.am:
20313         Added $* to the dia call in run_dia.sh
20315 1999-03-22  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
20316         
20317         * lib/color.[ch]:
20318         Added color_equals() call.
20320         * objects/standard/arc.c:
20321         * objects/standard/line.c:
20322         Don't save unneccesary data.
20323         
20324         * objects/standard/box.c:
20325         * objects/standard/ellipse.c:
20326         * objects/standard/image.c:
20327         * objects/standard/polyline.c:
20328         * objects/standard/zigzagline.c:
20329         Share properties dialog.
20330         Don't save unneccesary data.
20331         
20332 1999-03-22  Seth Alves  <alves@hungry.com>
20334         * app/menus.c:
20335         * app/diagram.c:
20336         * app/display.c:
20337         small changes so that gnome menus aren't broken
20338         
20339 1999-03-22  Alexander Larsson  <alla@lysator.liu.se>
20341         * po/da.po:
20342         Added danish translation from lrclause@cs.uiuc.edu.
20344         * po/POFILES.in:
20345         Updated file.
20347         * po/update_pofiles_in.sh:
20348         Added script that updates POFILES.in.
20349         This should probably be run automatically from somewhere.
20351 1999-03-19  Alexander Larsson  <alla@lysator.liu.se>
20353         * app/diagram.[ch]:
20354         Added function diagram_update_menu_sensitivity() which
20355         sets the sensitivity of some menu items. This function
20356         is called at each diagram state change (from diagram_modified()).
20357         This is needed  because otherwise the keyboard accelerators
20358         don't work correctly.
20360         * app/display.[ch]:
20361         Changed display_set_menu_sensitivity() to display_update_menu_state().
20362         Moved lots of code to diagram_update_menu_sensitivity() in
20363         diagram.c. Optimized to only look up menu-items from path:s once.
20364         
20365         * app/disp_callbacks.c:
20366         * app/interface.c:
20367         When we get a GDK_FOCUS_CHANGE, update menu sensitivity.
20368         Need to set GDK_FOCUS_CHANGE_MASK.
20369         
20370         * app/create_object.c:
20371         Call diagram_modified when an object has been created and
20372         selected so that the menu sensitivity is updated. 
20374         * app/menus.[ch]:
20375         removed menus_set_sensitive() and menus_set_state(). Exported
20376         renamed function menus_get_item_from_path().
20378 1999-03-15  Alexander Larsson  <alla@lysator.liu.se>
20380         * app/disp_callbacks.c:
20381         Show (empty) object menus on object that has none.
20382         Show title on object menus.
20384         * app/display.c:
20385         Set zoom factor correctly when opening new displays.
20386         Better setting of scrollbars.
20388         * app/grid.c:
20389         * app/menus.h:
20390         Some reformating cleanup.
20392         * lib/diamenu.h:
20393         Added title to object menus.
20395         * objects/*/*.c:
20396         Added object menu method (NULL-valued) to all objects.
20398         * objects/standard/polyline.c:
20399         Added title to object menu.
20401 1999-03-14  Alexander Larsson  <alla@lysator.liu.se>
20403         * app/preferences.[ch]:
20404         New files. Implements the preferences dialog and
20405         loading/saving of ~/.diarc.
20407         * app/Makefile.am:
20408         Added preferences.[ch].
20410         * app/app_procs.c:
20411         Load preferences on startup.
20413         * app/commands.[ch]:
20414         Added file_preferences_callback to show the preferences dialog.
20416         * app/create_object.c:
20417         Update extents when creating object.
20418         Use the reset_tools_after_create preferences setting.
20420         * app/display.c:
20421         Use preferences when creating new display.
20423         * app/menus.c:
20424         Add preferences to menu.
20426         * app/defaults.c:
20427         * app/layer_dialog.c:
20428         * app/properties.c:
20429         Don't allow shrinking of dialog.
20430         Add i18n of some strings.
20432 1999-03-11  Kjartan Maraas  <kmaraas@fib.hl.no>
20433         * po/no.po:
20434         Norwegian translation added.
20435         
20436 1999-03-11  Alexander Larsson  <alla@lysator.liu.se>
20438         * objects/standard/line.c: 
20439         * objects/standard/arc.c: 
20440         * objects/standard/polyline.c: 
20441         * objects/standard/zigzagline.c:
20442         Loading of arrow data fixed.
20444 1999-03-09  Alexander Larsson  <alla@lysator.liu.se>
20446         * app/commands.c:
20447         Update extents when saving and exporting to postscript.
20448         Fixes a bug with postscript bounding-box being wrong.
20450         * app/defaults.c:
20451         Changed border width from 5 to 2.
20453         * app/group.c:
20454         Move grouped objects by the move-point of the first object.
20455         Fixes bug that made all objects in the group be off-grid
20456         when moving the group, even though all objects was on-grid.
20458         * app/layer_dialog.c:
20459         Update extents when changing layer.
20461 1999-03-08  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
20463        * objects/UML/uml.c: 
20464        * objects/UML/component.c: 
20465        * objects/UML/pixmaps/component.xpm: 
20466        Added the UML component object
20467         
20468 1999-03-04  Seth Alves  <alves@hungry.com>
20470         * objects/UML/generalization.c (generalization_create): avoid
20471         math on uninitialized genlz->text_width (NaN causes sigfpe)
20472         
20473         * objects/UML/realizes.c (realizes_create): same
20475         * objects/UML/dependency.c (dependency_create): same
20477 1999-03-01  Seth Alves  <alves@hungry.com>
20479         * app/display.c (ddisplay_active): don't fly a warning panel
20480         if ddisplay_active is called when no views are open.
20482         * app/commands.c (set_default_file_selection_directory): set
20483         file selector's default directory if there is already
20484         a document open.
20486 1999-02-28  Alexander Larsson  <alla@lysator.liu.se>
20488         * INSTALL:
20489         New info about imlib requirements.
20491         * Configure.in:
20492         Added lib/pixmaps/Makefile to created makefiles.
20494         * app/app_procs.c:
20495         * app/commands.c:
20496         Change from obsoleted to newer gtk calls.
20497         
20498         * load_save.c:
20499         Pass filename of the diagram when loading and saving.
20500         This creates better oportunities to handle filename saving.
20502         * lib/object.h:
20503         Pass filenames to load and save methods.
20504         
20505         * lib/dia_image.[ch]:
20506         Added dia_image_get_broken() call that returns a image which
20507         is used for 'broken' images.
20508         
20509         * lib/pixmaps/.cvsignore:
20510         * lib/pixmaps/Makefile.am:
20511         * lib/pixmaps/broken.xpm:
20512         New files for the broken image bitmap.
20514         * lib/widgets.c:
20515         Fixed bug with double destroyed filedialog.
20517         * objects/*/*.c:
20518         Updated load and save prototypes to use the new filename argument.
20520         * objects/image.c:
20521         Render broken image instead of line when got no image.
20522         Use the new filename in load and save to save (if possible)
20523         relative pathnames and to better try to find loaded images.
20525 1999-02-28  Alexander Larsson  <alla@lysator.liu.se>
20527         * TODO:
20528         Some updates to the todo file.
20529         
20530         * app/menus.c:
20531         * app/display.c:
20532         Place over/place over => sent to back/bring to front.
20533         Added some keyboard shortcuts to menus.
20534         
20535 1999-02-28  Alexander Larsson  <alla@lysator.liu.se>
20537         * lib/dia_xml.c:
20538         Changed string saving/loading to a new method. This should
20539         be much better att handling &,<,> and whitespaces.
20540         Loading strings of the old kind is still supported for backwards
20541         compatibility.
20543         * samples/ER-demo.dia:
20544         * samples/UML-demo.dia:
20545         Updated to use the new strings.
20546         
20547         * app/load_save.c:
20548         statusbar modified update fix.
20550 1999-02-27  Seth Alves  <alves@hungry.com>
20552         * app/app_procs.c (app_init): added a --export-to-ps option
20553         which will cause dia to load a dia file and save it as ps
20554         and then exit.  this is a little bogus, because it still
20555         pops up a window.  this option only shows up if --enable-gnome
20556         is used
20558         * app/display.c (display_set_menu_sensitivity): no Edit/Delete
20559         menu when built with --enable-gnome
20561         * app/interface.c (create_display_shell): build status bar
20562         even if --enable-gnome is used
20564         * app/menus.c: menu fixes for --enable-gnome
20566         * app/commands.c (file_open_dialog_ok_callback): fixed up
20567         menus when --enable-gnome is used
20568         (file_export_to_eps_callback): set a default file name
20569         when dialog is created
20571 1999-02-27  Alexander Larsson  <alex@c125.ryd.student.liu.se>
20573         * objects/UML/association.c (association_create):
20574         Fixed usage of not initialized variable.
20575         Pointed out by Seth Alves <alves@hungry.com>.
20577 1999-02-24  Alexander Larsson  <alex@c125.ryd.student.liu.se>
20579         * configure.in:
20580         Fixed detection of gnome-xml.
20581         From Valtteri Vuorikoski <vuori@k.notcom.org>.
20582         
20583         * app/app_procs.c:
20584         Fixed error detection on dlsym calls. 
20585         From Valtteri Vuorikoski <vuori@k.notcom.org>.
20587 1999-02-23  Alexander Larsson  <alla@lysator.liu.se>
20589         * objects/UML/message.c (fill_in_dialog):
20590         Fixed warnings.
20592 1999-02-22  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
20594         * objects/standard/zigzagline.c:
20595         * objects/standard/polyline.c:
20596         * objects/standard/line.c:
20597         * objects/standard/arc.c:
20598         * lib/widgets.h:
20599         * lib/arrows.h:
20600         * lib/widgets.c:
20601         Support for sizeable arrows. 
20603         * objects/standard/box.c:
20604         * objects/standard/ellipse.c:
20605         * objects/standard/image.c:
20606         Changed creation handle to lower-right.
20607         Transparent box/ellipse.
20608         
20609         * objects/standard/image.c:
20610         Better layout of properties boxes.
20612 1999-02-20  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
20614         * objects/UML/message.c (fill_in_dialog): 
20615         Fixed dialog fill in. Common dialog for all messages.
20617         * objects/UML/object.c: 
20618         Added multiple instance. Dialog related bugs fixed.
20619         Common dialog for all instances. Completed copy and destroy.
20621         * objects/UML/lifeline.c (lifeline_load): 
20622         Conn initialization bug fixed and few bad loading prevention flags.
20623         Common dialog for all lifeline objects.
20624         
20625 1999-02-15  Alexander Larsson  <alla@lysator.liu.se>
20627         * lib/dia_image.[ch]:
20628         More work on the DiaImage abstraction.
20629         
20630         * app/app_procs.c:
20631         * app/render_eps.c:
20632         * app/render_gdk.c:
20633         * objects/standard/image.c:
20634         Use the new DiaImage calls.
20636 1999-02-15  Alexander Larsson  <alla@lysator.liu.se>
20638         * app/menus.c:
20639         * app/display.c:
20640         Reversed the meaning of align horizontal/vertical.
20642 1999-02-15  Alexander Larsson  <alla@lysator.liu.se>
20644         * app/load_save.c (diagram_load):
20645         Statusbar update fix.
20647 1999-02-15  Alexander Larsson  <alla@lysator.liu.se>
20649         * app/interface.c (create_display_shell):
20650         Fixed status bar size.
20651         
20652 1999-02-15  Alexander Larsson  <alla@lysator.liu.se>
20654         * lib/dia_image.[ch]:
20655         Added extern declaration for dia_image_release.
20656         Removed dia_image_draw, as it's not neseccary.
20658 1999-02-14  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
20659         
20660         * app/object_ops.c: 
20661         * app/menus.c: 
20662         Added equal distance alignment both vertical and horizontal.
20663         
20664         * objects/UML/object.c: 
20665         Added a couple of attributes to load/read that were missing.
20667         * objects/UML/lifeline.c: 
20668         Better handling of handles. Fixed another bug I forgot to add
20669         to my last patch.
20670         
20671 1999-02-13  Alexander Larsson  <alla@lysator.liu.se>
20673         Patch from Lars Clausen <lrclause@shasta.cs.uiuc.edu>
20674         
20675         * lib/dia_image.[ch]:
20676         * lib/Makefile.am:
20677         New files. DiaImage wraps the GdkImlibImage.
20679         * lib/render.h:
20680         * app/render_eps.c:
20681         * app/render_gdk.c:
20682         * lib/render_store.[ch]:
20683         * objects/standard/image.c:
20684         Use the new DiaImagetype.
20686         * lib/widgets.c:
20687         Removed unused variable to eliminate  warning.
20689 1999-02-11  Alexander Larsson  <alla@lysator.liu.se>
20691         * objects/standard/box.c:
20692         Added rounded corners on the box object.
20694         * lib/widgets.[ch]:
20695         Updated the DiaFileSelector widget.
20696         
20697 1999-02-09  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
20699         * objects/UML/object.c (objet_draw): 
20700         Completed underlining of all object name lines. 
20702         * objects/UML/message.c (fill_in_dialog): 
20703         Fixed a bug that filled incorrectly the message's dialog.
20705         * objects/UML/lifeline.c (lifeline_load): 
20706         Some cleanning and fixed a couple of bugs that caused
20707         crashes after reading diagrams with lifelines.
20709         * lib/text.c: 
20710         Added flags to prevent crash with void strings
20712 1999-02-07  Matthias Köster <Matthias.Koester@Informatik.Uni-Oldenburg.DE>
20713         * app/display.[ch]:
20714         Added statusbar to the display widget. Currently shows the zoom
20715         factor and modified flag of the viewed diagram. The statusbar is
20716         updated upon calls to ddisplay_zoom and ddisplay_update_statusbar.
20717         This caused the following additions:
20718         
20719         * app/diagram.[ch]:
20720         Added function diagram_set_modified. Calls
20721         ddisplay_update_statusbar for all displays showing the modified diagram.
20722         Changed diagram_modified to call diagram_set_modified.
20723         
20724         * app/interface.c:
20725         Added the creation of the statusbar.
20726         
20727         * app/load_save.c:
20728         diagram_save now calls diagram_set_modified instead of setting
20729         dia->modified. Needed to force call to display_update_statusbar
20730         
20731         * app/commands.c:
20732         Changed the way view_show_all works. Now calls ddisplay_zoom
20733         instead of directly setting the zoom_factor, so the zoom factor is
20734         correctly shown in the statusbar.
20736         * app/magnify.c:
20737         Fixed rubberband zoom to use ddisplay_zoom().
20738         
20739 1999-02-07  Fredrik Hallenberg  <hallon@lysator.liu.se>
20741         * app/app_procs.c
20742         Rudimentary GNOME session management.
20743         
20744         * app/disp_callbacks.c
20745         * app/interface.c
20746         * app/menus.c
20747         * app/menus.h
20748         GNOME menus. Problems: 
20749         Callbacks doesn't get user_data.
20750         Weird warnings when creating popup menus.
20751         menus_set_sensitive(), menus_set_state() doesn't work.
20753 1999-02-05  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
20755         * configure.in:
20756         Add AM_PATH_GDK_IMLIB() call.
20758         * app/Makefile.am:
20759         Add gdk_imlib to linking flags.
20761         * app/app_procs.c:
20762         Init gdk_imlib.
20763         Print library-loading error messages on stdout too.
20765         * app/interface.c:
20766         Add standard image to toolbox.
20767         
20768         * app/render_eps.c: 
20769         Set a more reasonable dot length.  Fixed
20770         missing initialization of dot length.
20771         Added draw_image methods.
20773         * app/render_gdk.c (new_gdk_renderer): 
20774         Dot a bit wider.  Looks good in normal mode now.
20776         * objects/standard/image.c:
20777         * objects/standard/pixmaps/image.xpm:
20778         New files. Standard object for images.
20779         
20780         * app/render_eps.c (set_linestyle):
20781         * app/render_gdk.c (set_linestyle):
20782         * lib/widgets.c (dia_line_style_selector_init): 
20783         * lib/render.h: 
20784         New line style DOTTED.
20786         * lib/render.h:
20787         * lib/render_store.c:
20788         Change DrawImage call to use gdk_imlib.
20790         * lib/widgets.[ch]:
20791         Added widgets for selecting files.
20792         Added dotted to the linestyle selector.
20794 1999-02-06  Alexander Larsson  <alla@lysator.liu.se>
20796         * objects/network/printer.c:
20797         * objects/network/network.c:
20798         * objects/network/pixmaps/printer.xpm:
20799         * objects/network/.cvsignore:
20800         * objects/network/Makefile.am:
20801         * objects/network/pixmaps/Makefile.am:
20802         New printer object in network.
20803         From Martin Hawlisch <hawlisch@roxi.rz.fh-mannheim.de>
20805         * TODO:
20806         Added known XML bug.
20807         
20808 1999-02-06  Alexander Larsson  <alla@lysator.liu.se>
20810         * app/load_save.c:
20811         * lib/dia_xml.c:
20812         Reverted back from #include <gnome-xml/tree.h> to
20813         #include <tree.h> as this is fixed by the xml-config program.
20814         The former way broke for some people.
20815         Reported by blizzard@redhat.com.
20817         * objects/UML/lifeline.c:
20818         * objects/UML/message.c:
20819         * objects/UML/object.c:
20820         Removed some warnings.
20821         
20822 1999-02-04  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
20824         * objects/UML/lifeline.c: 
20825         Fixed connection points over the life line when the focus of
20826         control is not drawn.
20828         * objects/UML/message.c: 
20829         Now a recursive message can be freely resized using the handles.
20831 1999-02-02  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
20833         * objects/UML/lifeline.c:
20834         Added connection points.
20835         Added properties dialog with the option to draw/hide focus of control
20836         box and destruction mark.
20838         * objects/UML/object.c: 
20839         Added properties dialog and stereotype, explicit state and attributes. 
20840         It's also possible to mark the object as active.
20842         * objects/UML/pixmaps/object.xpm: 
20843         Cosmetic change.
20845         * objects/UML/message.c:
20846         Added "recursive" message type (was not necessary to use OrthConn).
20848 1999-02-02  Alexander Larsson  <alla@lysator.liu.se>
20850         * objects/standard/arc.c:
20851         Removed old debug code. Fixes a visual bug. From lrclause@cs.uiuc.edu.
20853 1999-02-01  Alexander Larsson  <alla@lysator.liu.se>
20855         Patch from Lars R. Clausen <lrclause@cs.uiuc.edu>
20856         
20857         * app/load_save.c:
20858         * lib/dia_xml.c:
20859         Update xml includes to gnome-xml/*.h.
20861         * objects/standard/arc.c:
20862         Only one property dialog per type.
20863         Fix arrows directions.
20865         * objects/standard/box.c:
20866         * objects/standard/ellipse.c:
20867         * objects/standard/textobj.c
20868         Added default properties dialog.
20869         
20871 1999-01-31  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
20873         * objects/UML/Makefile.am: 
20874         * objects/UML/uml.c:
20875         * objects/UML/lifeline.c: 
20876         * objects/UML/object.c: 
20877         * objects/UML/message.c:
20878         * objects/UML/pixmaps/lifeline.xpm: 
20879         * objects/UML/pixmaps/object.xpm: 
20880         * objects/UML/pixmaps/message.xpm:
20881         Added 3 new UML objects for dynamic modeling. To avoid internal 
20882         conflicts, the name "objet" is used for object "object".        
20884         * lib/arrows.[ch]: 
20885         Added ARROW_HALF_HEAD arrow type to allow drawing asynchronous
20886         UML messages.
20887         
20888 1999-01-30  Alexander Larsson  <alla@lysator.liu.se>
20890         * app/display.[ch]:
20891         * app/modify_tool.c:
20892         Added autoscrolling while doing rubber-band select.
20893         This patch from Matthias Köster
20894         (Matthias.Koester@Informatik.Uni-Oldenburg.DE)
20895         
20897 1999-01-28  Alexander Larsson  <alla@lysator.liu.se>
20899         * app/defaults.[ch]:
20900         New files, deals with default properties dialog.
20902         * lib/diamenu.h:
20903         New file. Contains definitions for the new object menu.
20905         * lib/poly_conn.[ch]:
20906         New file. Base class for poly-line like objects.
20908         * objects/standard/polyline.c:
20909         * objects/standard/pixmaps/polyline.xpm:
20910         New files. Polyline object.
20912         * app/app_procs.c:
20913         Fixed bug with infinite loop when registering sheets.
20914         
20915         * app/commands.c:
20916         Removed unneccesary stuff.
20918         * app/disp_callbacks.c:
20919         Support for object menus.
20921         * app/interface.c:
20922         Added polyline to toolbox.
20923         Added call to tool_options_dialog_show() when double clicking on
20924         tool.
20926         * app/tool.[ch]:
20927         New function tool_options_dialog_show() for tool properties.
20929         * lib/arrows.[ch]:
20930         Added ARROW_NONE.
20932         * lib/object.h:
20933         Added ObjectType methods for handling object default dialogs.
20934         Added Object method for handling object_menu.
20935         Added unused methods to ObjectTypeOps for future binary
20936         compatibility.
20938         * lib/widgets.[ch]:
20939         Added DiaArrowTypeSelector widget.
20941         * objects/standard/arc.c:
20942         * objects/standard/zigzagline.c:
20943         Added support for default properties.
20945         * objects/standard/line.c:
20946         Added support for default properties.
20947         Just use one properties dialog for all line objects. NOTE: This
20948         seems to have a bug. We're working on it.
20950         * standard/standard.c:
20951         Add the polyline object.
20953 1999-01-27  Alexander Larsson  <alla@lysator.liu.se>
20955         * app/modify_tool.c:
20956         Commented out buggy transitive select function. It wasn't really
20957         meant to go into cvs.
20958         
20960 1999-01-25  Fredrik Hallenberg  <hallon@lysator.liu.se>
20962         * autogen.sh:
20963         * acconfig.h:
20964         * configure.in:
20965         * Makefile.am:
20966         * app/Makefile.am:
20967         * po/POTFILES.in:
20968         * app/intl.h
20969         i18n-support.
20971         * po/sv.po:
20972         Swedish translation. Not completed.
20973         
20974         * configure.in:
20975         * acconfig.h:
20976         Added possibility to enable GNOME specific code with configure.
20978         * configure.in:
20979         Added possibility to set debug level with configure.
20981         * commands.[hc]:
20982         Added about dialog.
20984         * app_procs.c
20985         * commands.c
20986         * interface.c
20987         * menus.c
20988         Added some GNOME specific code. Not ready for use.
20990 1999-01-24  Alexander Larsson  <alla@lysator.liu.se>
20992         * INSTALL:
20993         Added text about needing gtk 1.1.13 and gnome-xml.
20994         
20995         * NEWS:
20996         Described changes since last version (0.20).
20998         Released version 0.30, tagged DIA_0_30.
21000 1999-01-22  Alexander Larsson  <alla@lysator.liu.se>
21002         * app/magnify.c (magnify_button_release):
21003         Fixed a problem when zooming in on a very small box would
21004         not release the grabbed pointer-focus.
21006 1999-01-21  Alexander Larsson  <alla@lysator.liu.se>
21008         * app/load_save.c (diagram_load):
21009         Be somewhat more robust when loading files that
21010         are not diagrams.
21011         
21012 1999-01-21  Alexander Larsson  <alla@lysator.liu.se>
21014         * app/app_procs.c:
21015         * objects/ER/er.c:
21016         * objects/UML/uml.c:
21017         * objects/network/network.c:
21018         * objects/standard/standard.c:
21019         Added versioning of object libraries.
21021         * app/create_object.c:
21022         Don't change tool when an object is created.
21023         
21024         * objects/network/network.c:
21026         * TODO:
21027         Update
21029 1999-01-19  Alexander Larsson  <alla@lysator.liu.se>
21031         * configure.in:
21032         Updated gtk requirement to Gtk+ 1.1.13.
21034         * app/display.c:
21035         Always add one screenful of scrolling space on
21036         each side of a diagram window.
21038 1999-01-19  Jeff Garzik  <jgarzik@pobox.com>
21040         * autogen.sh:
21041         Tell automake to auto-install missing files.
21043         * app/menus.c:
21044         Renamed deprecated Gtk+ function.
21046 1999-01-16  Alexander Larsson  <alla@lysator.liu.se>
21048         * Makefile.am:
21049         * configure.in:
21050         * samples/Makefile.am:
21051         * samples/ER-demo.dia:
21052         * samples/UML-demo.dia:
21053         Added samples directory.
21054         Added samples for ER and UML.
21055         
21056         * app/commands.c:
21057         * app/disp_callbacks.c:
21058         * app/menus.c:
21059         Zoom is done by sqrt(2) instead of 2.
21060         Lots of more zoom options in the menu.
21062         * objects/ER/relationship.c:
21063         Relationships have 8 connectionpoints instead of 4.
21065         * objects/UML/class.c:
21066         UML class name font a bit smaller.
21067         Fixed stupid bug in the copy operation.
21068         
21069         * app/display.c:
21070         Displays are opened at 500x400 instead of 256x256.
21072         * app/load_save.c:
21073         Fixup of internal error message.
21075         * app/color_area.c:
21076         * app/diagram.c:
21077         * app/modify_tool.c:
21078         * lib/object.c:
21079         Removed debug printf's.
21080         
21081         * TODO (BUGS):
21082         Added new known bug.
21084 1999-01-16  Alexander Larsson  <alla@lysator.liu.se>
21086         * app/interface.c:
21087         * app/menus.c:
21088         Fixed so accelerator groups work in all windows.
21089         Updated to new gtk function names.
21091         * TODO (BUGS):
21092         Removed fixed bug.
21094         * app/display.c:
21095         Updated to new gtk function names.
21096         Set sensitivity of the align menu items.        
21098         * objects/ER/pixmaps/Makefile.am:
21099         * objects/UML/pixmaps/Makefile.am:
21100         * objects/network/pixmaps/Makefile.am:
21101         Fix so that make dist works.
21103         * app/app_procs.c:
21104         * app/color_area.c:
21105         * app/commands.c:
21106         * app/diagram.c:
21107         * app/grid.c:
21108         * app/layer_dialog.c:
21109         * app/load_save.c:
21110         * app/object_ops.c:
21111         * app/properties.c:
21112         * lib/diagramdata.[ch]: 
21113         * lib/message.c:
21114         * lib/objects/ER/attribute.c:
21115         * lib/objects/ER/entity.c:
21116         * lib/objects/ER/participation.c:
21117         * lib/objects/ER/relationship.c:
21118         * lib/objects/ER/.c:
21119         * objects/UML/actor.c:
21120         * objects/UML/association.c:
21121         * objects/UML/class_dialog.c:
21122         * objects/UML/dependency.c:
21123         * objects/UML/generalization.c:
21124         * objects/UML/large_package.c:
21125         * objects/UML/realizes.c:
21126         * objects/UML/.c:
21127         * objects/UML/.c:
21128         Updated to new gtk function names.
21129         Removed warnings.
21131 1999-01-15  Alexander Larsson  <alla@lysator.liu.se>
21133         * TODO:
21134         Update TODO.
21136         * app/app_procs.c:
21137         Fixed loading of diagrams specified as arguments.
21139         * objects/ER/attribute.c:
21140         * objects/ER/entity.c:
21141         * objects/ER/er.c:
21142         * objects/ER/participation.c:
21143         * objects/ER/relationship.c:
21144         Updated the ER objects.
21145         
21147 1999-01-14  Alexander Larsson  <alla@lysator.liu.se>
21149         * configure.in:
21150         * app/Makefile.am:
21151         * objects/Makefile.am:
21152         * objects/ER/attribute.c:
21153         * objects/ER/entity.c:
21154         * objects/ER/er.c:
21155         * objects/ER/participation.c:
21156         * objects/ER/relationship.c:
21157         * objects/ER/pixmaps/Makefile.am:
21158         * objects/ER/pixmaps/attribute.xpm:
21159         * objects/ER/pixmaps/entity.xpm:
21160         * objects/ER/pixmaps/participation.xpm:
21161         * objects/ER/pixmaps/relationship.xpm:
21162         * objects/ER/pixmaps/weakentity.xpm:
21163         First commit of entity relationship objects.
21164         These were done by hallon@lysator.liu.se.
21165         There are still stuff to do on these.
21166         
21167 1999-01-14  Alexander Larsson  <alla@lysator.liu.se>
21169         * TODO:
21170         Updates.
21172         * app/diagram.[ch]:
21173         Change diagram_remove_all_selected to take new argument
21174         delete_empty. Empty objects are deleted only if it is TRUE.
21175         Removed call to close_eps_renderer. This is now done in end_render
21176         in the eps renderer.
21178         * app/create_object.c:
21179         * app/layer_dialog.c:
21180         Update calls to diagram_remove_all_selected.
21182         * app/commands.c:
21183         Update calls to diagram_remove_all_selected.
21184         Some code reformating.
21185         Changed order of adding updates i align_h and align_v.
21187         * app/modify_tool.c:
21188         Update calls to diagram_remove_all_selected.
21189         Added pointer grab when doing rubber-band selection, this fixes
21190         the bug when draging the box over to another window.
21192         * app/connectionpoint_ops.[ch]:
21193         diagram_update_connections_object changed to take an argument
21194         update_nonmoved. This lets connections that has not moved, but
21195         the stuff they're connected to has been moved work.
21196         Update calls to the new diagram_update_connections_object.
21198         * app/properties.c:
21199         Update calls to the new diagram_update_connections_object.
21200         Update extents when properties are applied.
21201         
21202         * app/disp_callbacks.c:
21203         Added support for zooming with the '+' and '-' keys.
21205         * app/menus.c:
21206         Removed old keyboard shortcuts for zoom.
21208         * lib/render.h:
21209         Added calls begin_render and end_render to renderer.
21210         These can be used for setup and cleanup.
21212         * lib/diagramdata.c:
21213         Added calls to begin_render and end_render in data_render.
21215         * app/render_gdk.c:
21216         Added begin_render and end_render.
21218         * app/render_eps.[ch]:
21219         Added begin_render and end_render.
21220         Moved close_eps_renderer code to end_render.
21221         Various fixes to the generated eps code. This fixes importing
21222         generated eps into LYX.
21223         
21224 1999-01-12  Alexander Larsson  <alla@lysator.liu.se>
21226         * TODO:
21227         Update of todo.
21228         
21229         * app/menus.c:
21230         Menus for alignment updated.
21232         * app/object_ops.[ch]:
21233         Functions for object alignment updated.
21235         * app/commands.[ch]:
21236         Object alignment callbacks updated.
21237         New diagrams are called Untitled-<nr>.
21239         * app/layer_dialog.c:
21240         Active layer selected when showing layers from new
21241         diagram.
21243         * app/load_save.c:
21244         Compress xml files when saving.
21245         Use xml namespace 'dia'.
21247         * lib/object.h:
21248         Minor comment update.
21250         * objects/UML/class_dialog.c:
21251         Cleanup of the gkt_list_item moving code.
21252         Fixed bug with update of operation when moving parameters.
21254 1999-01-10  Alexander Larsson  <alla@lysator.liu.se>
21256         * app/layer_dialog.[ch]:
21257         Fixed the rest of the layers dialog.
21259         * app/dialog.c:
21260         Added call to redo layer dialogs diagram list when changing
21261         diagram name.
21263         * lib/diagramdata.[ch]:
21264         Added data_raise_layer and data_lower_layer functions for
21265         raising/lowering layers. Added data_add_layer_at for adding a
21266         layer at a specified index.
21268 1999-01-05  Alexander Larsson  <alla@lysator.liu.se>
21270         This is the asierra-990105 patch done by asierra@servidor.unam.mx.
21271                 
21272         * app/app_procs.c:
21273         Added support for reading diagrams from the command line.
21275 1998-12-21  Alexander Larsson  <alla@lysator.liu.se>
21277         This is the asierra-981220 patch done by asierra@servidor.unam.mx.
21278                 
21279         * app/commands.[ch]:
21280         Added objects_align_callback().
21282         * app/menus.c:
21283         Added align objects to menu.
21285         * app/object_ops.[ch]:
21286         Add object_list_align().
21287         
21288 1998-12-17  Alexander Larsson  <alla@lysator.liu.se>
21289         * app/layer_dialog.[ch]:
21290         New files. Handles the layers dialog. Needs a bugfix for glib to
21291         work. Sent patch to gtk-list.
21292         
21293         * app/pixmaps/new.xpm:
21294         * app/pixmaps/eye.xbm:
21295         * app/pixmaps/lower.xpm:
21296         * app/pixmaps/raise.xpm:
21297         * app/pixmaps/delete.xpm:
21298         New files. Images for the layer dialog buttons.
21299         
21300         * lib/diagramdata.h
21301         * lib/diagramdata.c
21302         New files for the DiagramData and Layer structures and functions.
21303         
21304         * app/app_procs.c:
21305         Added call to create_layer_dialog() on startup.
21306         
21307         * app/commands.[ch]:
21308         New callbacks for showing the properties and layout dialog.
21309         Changes for the new DiagramData structure.
21311         * app/connectionpoint_ops.c:
21312         * app/cut_n_paste.c:
21313         * app/diagram.[ch]:
21314         * app/display.[ch]:
21315         * app/group.c:
21316         * app/modify_tool.c:
21317         * app/object_ops.[ch]:
21318         * app/render_eps.c:
21319         * lib/object.[ch]:
21320         Changes for the new DiagramData structure.
21322         * app/interface.c:
21323         * app/properties.c:
21324         Set correct wmclasses.
21326         * app/load_save.c:
21327         Fix load and save of layers.
21329         * diagram.dtd:
21330         Update DTD for layers.
21331         
21332         * app/menus.c:
21333         New menus for dialogs.
21335         
21336         * TODO:
21337         Some updates.
21338         
21339 1998-12-06  Alexander Larsson  <alla@lysator.liu.se>
21341         * TODO:
21342         Removed the gtk 1.1.5 stuff.
21344         * configure.in:
21345         Updated gtk check to version 1.1.5.
21346         Updated version from 0.20 to 0.30
21348         * app/commands.[ch]:
21349         Updated some callbacks to be of type GtkItemFactoryCallback1.
21350         Not all are done yet, but it works anyway.
21352         * app/display.h:
21353         Removed Gtk 1.0.0 GtkAcceleratorTable references.
21354         
21355         * app/interface.c:
21356         * app/menus.[ch]:
21357         Update to Gtk 1.1.x functions.
21358         Use ItemFactory instead of MenuFactory.
21359         
21360         * app/render_gdk.c:
21361         Removed Gtk 1.0.0 references.
21363         * objects/UML/class_dialog.c:
21364         Scrolled window updates for Gtk 1.1.5.
21365         
21366         * lib/dia_xml.c:
21367         Removed ugly fix for gnome-xml bug. Make sure you get the
21368         newest version of gnome-xml from CVS.
21369         
21370 1998-12-05  Alexander Larsson  <alla@lysator.liu.se>
21372         * TODO:
21373         Removed the xml load/save line.
21375         * lib/files.[ch]:
21376         Removed files.
21377         
21378         * lib/Makefile.am:
21379         Removed building of files.c
21381         * app/load_save.c:
21382         * lib/connection.c:
21383         * lib/element.c:
21384         * lib/object.c:
21385         * lib/orth_conn.c:
21386         * lib/render_object.c:
21387         * objects/UML/actor.c:
21388         * objects/UML/association.c:
21389         * objects/UML/class.c:
21390         * objects/UML/constraint.c:
21391         * objects/UML/dependency.c:
21392         * objects/UML/generalization.c:
21393         * objects/UML/implements.c:
21394         * objects/UML/large_package.c:
21395         * objects/UML/note.c:
21396         * objects/UML/realizes.c:
21397         * objects/UML/small_package.c:
21398         * objects/UML/uml.c:
21399         * objects/UML/usecase.c:
21400         * objects/network/bus.c:
21401         * objects/standard/arc.c:
21402         * objects/standard/box.c:
21403         * objects/standard/ellipse.c:
21404         * objects/standard/line.c:
21405         * objects/standard/textobj.c:
21406         * objects/standard/zigzagline.c:
21407         Removed all includes of files.h
21409         
21410 1998-12-05  Alexander Larsson  <alla@lysator.liu.se>
21412         * dialog.dtd:
21413         Made the val property of string be implied.
21414         This makes it possible to save strings that
21415         are NULL. Just leave out val.
21417         * objects/lib/dia_xml.c:
21418         Fixed string so that it is possible to save strings
21419         that are NULL. Also made an ugly workaround of a
21420         bug in gnome-xml which removes empty properties.
21421         
21422         * objects/lib/orth_conn.c:
21423         Fixed a bug in saving. Forgot to step through the
21424         directions.
21425         
21426         * objects/UML/association.c: 
21427         * objects/UML/class.c: 
21428         * objects/UML/constraint.c: 
21429         * objects/UML/dependency.c: 
21430         * objects/UML/generalization.c: 
21431         * objects/UML/implements.c: 
21432         * objects/UML/large_package.c: 
21433         * objects/UML/note.c: 
21434         * objects/UML/small_package.c:
21435         * objects/UML/realizes.c:
21436         * objects/UML/usecase.c: 
21437         * objects/UML/actor.c: 
21438         Fixed UML objects to save as xml.
21439         The last two were done by asierra@servidor.unam.mx (asierra-981204)
21440         
21441         * objects/UML/uml.[ch]:
21442         Updated *_write() and *_read() functions to use xml.
21444         * objects/network/bus.c: 
21445         * objects/network/computer.c: 
21446         * objects/network/disc.c: 
21447         * objects/network/monitor.c:
21448         Updated network diagrams to use xml.
21450 1998-12-02  Alexander Larsson  <alla@lysator.liu.se>
21452         * dialog.dtd:
21453         New file. DTD that describes the xml file format
21454         dia uses.
21456         * lib/dia_xml.[ch]:
21457         New files. Support for saving object to xml files.
21459         * configure.in:
21460         * app/Makefile.am:
21461         * lib/Makefile.am:
21462         Added check for and usage of gnome-xml library.
21464         * app/load_save.c:
21465         Major chages. Now saves/loads diagrams as xml.
21467         * lib/object.[ch]:
21468         * lib/element.[ch]:
21469         * lib/connection.[ch]:
21470         * lib/orth_conn.[ch]:
21471         * lib/render_object.[ch]:
21472         * lib/text.[ch]:
21473         Updated object support load/save functions for xml:
21475         * object/standard/arc.c:
21476         * object/standard/box.c:
21477         * object/standard/ellipse.c:
21478         * object/standard/line.c:
21479         * object/standard/textobj.c:
21480         * object/standard/zigzagline.c:
21481         Updated all standard objects to use xml.
21482         
21483         NOTE NOTE NOTE
21484         Only the standard objects are converted right now, don't
21485         save or load uml or network diagrams yet. Also, since this
21486         is new code it is deemed a bit unstable.
21487         
21488         * TODO
21489         Added a know bug.
21491 1998-12-01  Alexander Larsson  <alla@lysator.liu.se>
21493         * objects/UML/class.c:
21494         Changed classname font to Helvetica.
21495         Added more space above the classname
21497         * objects/UML/usecase.c:
21498         Correct placements of connectionpoints on ellipse.
21499         Better algorithm for deciding aspect ration on
21500         ellipse.
21502         These changes were made by Alejandro Aguilar Sierra
21503         <asierra@servidor.unam.mx>. (asierra-981201)
21505 1998-11-30  Alexander Larsson  <alla@lysator.liu.se>
21507         * objects/UML/actor.c:
21508         Changed the extents and alignment of the element
21509         and the text.
21511         * objects/UML/.cvsignore:
21512         Added usecase.lo and actor.lo.
21514 1998-11-30  Alexander Larsson  <alla@lysator.liu.se>
21516         * objects/UML/actor.c:
21517         * objects/UML/usecase.c:
21518         * objects/UML/pixmaps/actor.xpm:
21519         * objects/UML/pixmaps/case.xpm:
21520         New files. Implements usecase and actor UML objects.
21521         These objects are done by Alejandro Aguilar Sierra
21522         <asierra@servidor.unam.mx>.
21523         
21524         * objects/UML/Makefile.am:
21525         * objects/UML/pixmaps/Makefile.am:
21526         Added usecase and actor to makefile.
21527         
21528         * AUTHORS:
21529         Added Alejandro and Jerome to autors list.
21530         
21531 1998-11-25  Alexander Larsson  <alla@lysator.liu.se>
21533         * objects/UML/class.c (umlclass_load):
21534         Fixed typo. Reported by Jerome.Abela@solsoft.fr
21536 1998-11-24  Alexander Larsson  <alla@lysator.liu.se>
21538         * app/properties.c:
21539         Update connections when doing apply in the properties window.
21541         * objects/UML/uml.[ch]:
21542         * objects/UML/class.[ch]:
21543         * objects/UML/class_dialog.c:
21544         Added connection points on both sides of attributes and
21545         operations in UML classes.
21546         Based on idea from Jerome.Abela@solsoft.fr
21547         
21548 1998-11-24  Alexander Larsson  <alla@lysator.liu.se>
21550         * README:
21551         Some new documentation about handles and connectionpoints.
21552         
21553         * lib/object.[ch]:
21554         Added functions object_add_connectionpoint and
21555         object_remove_connectionpoint for handling a dynamic
21556         number of connectionpoints.
21558         * objects/UML/class.c:
21559         Only reserve space for stereotype when it is shown.
21561         These changes are from Jerome Abela <Jerome.Abela@solsoft.fr>
21563 1998-11-08  Alexander Larsson  <alla@lysator.liu.se>
21565         * app/connectionpoint_ops.c:
21566         * app/commands.c:
21567         * app/disp_callbacks.c:
21568         * app/display.[ch]:
21569         * app/grid.c:
21570         * app/handle_ops.c:
21571         * app/magnify.c:
21572         * app/modify_tool.c:
21573         * app/render_gdk.[ch]:
21574         * lib/render.h:
21575         Huge cleanup of internal rendering system.
21576         Moved a lot of data (pixmap, width, height & gc) into the GdkRenderer.
21577         This gives a few new methods for Interactive Renderers for setting
21578         clipping regions and drawing pixel based lines and rects.
21579         Updated the rest of the code to use the new stuff.
21580         
21581         * app/render_eps.c:
21582         Fixed warning.
21584         * lib/widgets.c:
21585         * objects/standard/zigzagline.c
21586         Fixed unused variable warnings.
21588         * lib/font.c:
21589         Fixedbug with stringwidth where width==0.
21591         * TODO:
21592         Added known bug.
21594 1998-11-02  Alexander Larsson  <alla@lysator.liu.se>
21596         * lib/widgets.[ch]:
21597         Added suppot for setting the font of a
21598         DiaFontSelector widget.
21599         Also fixed some typos in the header.
21601         * lib/object.h: 
21602         Added a comment about the GetPRoperties method call.
21603         You have to make sure to update widget state when
21604         this method is called. (Not all objects do this yet,
21605         to be fixed.)
21607         * TODO:
21608         Some small updates
21610 1998-11-01  Alexander Larsson  <alla@lysator.liu.se>
21612         * lib/font.c
21613         Fixed problem with height of ascent and descent for fonts.
21614         It didn't use the whole height (==ascent+descent) when calculatine
21615         ascent_ratio and descent_ratio.
21617         * objects/standard/textobj.c:
21618         * objects/standard/box.c:
21619         * objects/standard/ellipse.c:
21620         * objects/standard/line.c:
21621         * objects/standard/arc.c:
21622         Updated and added property dialogs for these objects.
21623         Also added line width/color/style to those objects
21624         that didn't have it.
21625         This change breaks fileformat compatibility for these objects.
21626         
21627         * objects/standard/zigzagline.c:
21628         Changed zigzagline to be based on OrthConn, much nicer.
21629         Also added line style and color to properties.
21630         This change breaks fileformat compatibility for zigzagline.
21632         * lib/message.c:
21633         Fixed bug in message(). Forgot a pair of '&'.
21635 1998-10-29  Alexander Larsson  <alla@lysator.liu.se>
21637         * lib/widgets.[ch]:
21638         Added DiaColorSelector widget.
21639         This is a colored button that pops up a color selection
21640         dialog when pressed.
21642 1998-10-28  Alexander Larsson  <alla@lysator.liu.se>
21644         * lib/widgets.[ch]:
21645         * lib/Makefile.am:
21646         New files, added widgets for selecting fonts, alignment
21647         and line-style. Will be used later.
21649 1998-10-12  Alexander Larsson  <alla@lysator.liu.se>
21651         * app/Makefile.am:
21652         * lib/Makefile.am:
21653         * objects/UML/Makefile.am:
21654         * objects/network/Makefile.am:
21655         * objects/standard/Makefile.am:
21656         Changed "CFLAGS = -Wall -g" to "CFLAGS = @CFLAGS@"
21657         in all Makefile.am.
21659 1998-10-03  Alexander Larsson  <alla@lysator.liu.se>
21661         * app/handle_ops.c (handle_draw):
21662         connected HANDLE_MINOR_CONTROL also becomes red.
21664 1998-10-02  Alexander Larsson  <alla@lysator.liu.se>
21666         * Makefile.am:
21667         removed -ldl from linking. This is added if needed by configure.
21669         * app/app_procs.c:
21670         Open dlls with RTLD_LAZY if it is defined.
21671         Some cleanups: char *error -> const char *error
21672         Added fprintf()'s to where we exited because of errors.
21674         * lib/files.c:
21675         Include <sys/types.h>
21677 1998-10-01  Alexander Larsson  <alla@lysator.liu.se>
21679         * acconfig.h:
21680         * configure.in:
21681         * app/app_procs.c:
21682         Detect dlopen better.
21683         Detect wether dlopen needs an underscore in the identifier.
21684         This code was mostly borrowed from guile.
21686         * lib/sheet.[ch]:
21687         * app/app_procs.c:
21688         * objects/standard/standard.c:
21689         * objects/network/network.c:
21690         * objects/UML/uml.c:
21691         * most objects:
21692         Changed the way sheets reference objects to use just the
21693         name. Changed module loading to a two stage model:
21694         First register_objects() is called for all modules.
21695         Then register_sheets() is called. This means that
21696         sheets can safely include objects from other modules.
21697         
21699 1998-09-30  Alexander Larsson  <alla@lysator.liu.se>
21701         * objects/network/bus.c:
21702         * objects/network/network.c:
21703         * objects/network/Makefile.am:
21704         New file bus.c. Added new object: Ethernet bus.
21706         * objects/standard/box.c:
21707         Added call to gtk_spin_button_set_numeric for linewidth spinner
21708         in property dialog.
21710 1998-09-30  Alexander Larsson  <alla@lysator.liu.se>
21712         * app/connectionpoint_ops.c:
21713         * app/create_object.c:
21714         * app/group.c:
21715         * app/handle_ops.c:
21716         * app/modify_tool.c:
21717         * lib/connection.c:
21718         * lib/element.c:
21719         * lib/handle.h:
21720         * lib/object.c:
21721         * lib/orth_conn.c:
21722         * loads of objects:
21723         Changed handle->connectable to handle->connect_type.
21724         Now handles can be HANDLE_CONNECTABLE_NOBREAK, which means
21725         that their connections don't break when moving objects.
21727         * app/diagram.c:
21728         Always select the last handle in an object that has
21729         the closest distance.
21730         
21731         * lib/geometry.[ch]:
21732         Added rectangle_add_point function.
21733         
21735 1998-09-27  Alexander Larsson  <alla@lysator.liu.se>
21737         * app/properties.[ch]: New files. Handles the new properties
21738         dialog.
21740         * app/modify_tool.c: Changed to use new properties dialog.
21742         * app/object_ops.[ch]: Removed object_changed_callback, as it's
21743         not needed anymore. This is now handled differently in
21744         properties.c
21746         * lib/object.[ch]:
21747         Changed the properties ops for objects. Removed typedefs
21748         ChangedObjectTime and ObjectChangedFunc needed for the old way.
21749         Added object_return_null function.
21750         
21751         * app/group.c:
21752         * lib/render_object.c:
21753         * objects/*/*.c:
21754         Changed objects to use the new properties dialog.
21755         
21757 1998-09-14  Nuno Ferreira  <nmrf@rnl.ist.utl.pt>
21759         * */Makefile.am (INCLUDES): Changes to work with srcdir !=
21760         builddir.
21762         * autogen.sh: New file. Copied from gtk and added a call to
21763         libtoolize. Anyone knows why this isn't done in gtk?
21765         * Removed autogenerated files.
21767 1998-09-12  Alexander Larsson  <alla@lysator.liu.se>
21769         * Added call setlocale(LC_NUMERIC, "C") so that formating of
21770           floating-point numbers in postscript output will be correct.
21771         * Did some cleanup of generated postscript files.