Two patches: Improved print dialog, standard tool shortcuts.
[dia.git] / ChangeLog
blob5a19f4aca5a1b1d2646d066a5247125f6c5c0cdf
1 2006-10-26  Lars Clausen  <lars@raeder.dk>
3         * app/interface.[ch]: Patch from jan@uos.de: Write the accelerator
4         keys in tooltips for standard tools.
6         * app/paginate_psprint.c: Patch for better printing: Reasonable
7         file name, check before overwriting, re-popup if file write
8         failed.  Thanks to Leon Stringer <leon.stringer@ntlworld.com> for
9         this patch.
11 2006-10-26  Hans Breuer  <hans@breuer.org>
13         * plug-ins/shape/shape-export.c : the icon export facility dependens
14         on the libart-size-hack; use filter_get_by_name("png-libart") instead
15         of filter_guess_export_filter(). Fixes bug #364491.
17 2006-10-19  Ignacio Casal Quinteiro  <nacho.resa@gmail.com>
19         * configure.in: Added 'gl' to ALL_LINGUAS
21 2006-10-16  Hans Breuer  <hans@breuer.org>
23         * objects/UML/class.c : the comment wrapping was only working for
24         plain ASCII, now it deals with UTF-8 (Vadim Zelenin, bug #349765)
26 2006-10-16  Theppitak Karoonboonyanan  <thep@linux.thai.net>
28         * configure.in : Add 'th' (Thai) to ALL_LINGUAS.
30 2006-10-14  Hans Breuer  <hans@breuer.org>
32         * plug-ins/vdx/vdx-import.c : don't try to print("%s", NULL). It is
33         not generally supported and crashes on win32. Fixes bug #349883
35         * lib/arrows.[hc] : draw hollow arrow heads with linewidth 0.0 
36         correctly. Patch from Michael Duelli fixing bug #358176
38         * objects/standard/arc.c : don't rely on the result of atan2(inf,inf),
39         it is C-runtime dependent. Fixes infinitesimal burning of CPU cycles,
40         bug #360013 and duplicates.
42         * app/load_save.c : protect gstdio.h by GLIB_CHECK_VERSION
43         and use the <glib/ form for installed version
45 2006-10-13  Hans Breuer  <hans@breuer.org>
47         * objects/UML/(actor|large_package|node|note).c : use 
48         element_update_connections_rectangle() instead of about 25 lines 
49         of copy and pasted code
51         * app/load_save.c : make it compile by defining W_OK if it is
52         not there and also use '#if GLIB_CHECK_VERSION(2,8,0)' instead
53         of '#ifdef GLIB_CHECK_VERSION(2,8,0)'. Strange that gcc 
54         apparently compiled this
56         * lib/parent.[ch] : parent_handle_move_in_check() was moving 
57         the checked point about twice as much as needed, bug #342773.
58         
59 2006-10-12  Lars Clausen  <lars@raeder.dk>
61         * app/load_save.c (diagram_data_save): If we have GTK 2.8, check
62         that we are allowed to write to the file in question (if it
63         exists) and to the directory (for backup/temp/newly created file).
65         * lib/dia_dirs.c (dia_get_lib_directory, dia_get_data_directory): 
66         * lib/Makefile.am (AM_CPPFLAGS): 
67         * app/Makefile.am (INCLUDES): Rename DATADIR and LIBDIR to
68         DIA_DATADIR and DIA_LIBDIR to avoid conflicts with libtool and the
69         like.  Thanks to lode leroy <lode_leroy@hotmail.com> for pointing
70         out the solution.
72         * plug-ins/pstricks/render_pstricks.c (export_pstricks) 
73         (draw_string): Use \psscalebox instead of \scalebox, courtesy of
74         Dan Bolser <dmb@mrc-dunn.cam.ac.uk> and the pstricks mailing list.
76         * shapes/Makefile.am (SUBDIRS): 
77         * configure.in: 
78         * shapes/BPMN/*
79         * sheets/BPMN.sheet.in: 
80         * sheets/Makefile.am (sheet_in_files): New shape set BPMN for
81         Business Process Modelling from anthonym@overture.com.
83         * doc/en/dia.dbk: Correctly describing connections.
85         * objects/standard/box.c: Patch from Michael Duelli
86         <m.duelli@web.de>: Set line attributes before drawing anything.
88 2006-10-08  Lars Clausen  <lars@raeder.dk>
90         * configure.in: Allow compiling without freetype on Unix systems.
91         The effect of changes to non-freetype parts of the code can now be
92         tested, and I have no excuse to not fix them anymore:(
94 2006-10-01  Lars Clausen  <lars@raeder.dk>
96         * app/modify_tool.c (modify_motion): Don't use null-ness of
97         connectionpoint to skip snap-to-grid for non-connectable handles.
98         Fixes bug #350246.
100         * shapes/flowchart/predefdproc.shape: Fixed midpoint.
102 2006-09-27  Steffen Macke <sdteffen@gmail.com>
104         * shapes/flowchart/datasource.png:
105         * shapes/flowchart/datasource.shape:
106         * shapes/flowchart/Makefile.am: 
107         * sheets/Flowchart.sheet.in:
108         * installer/win32/dia.nsi: Added new "Data source" shape
110 2006-09-24  Hans Breuer  <hans@breuer.org>
112         * lib/diagdkrenderer.c : I'm going to rip out all the Freetype
113         code the next time the GDK only compile breaks
114         
115 2006-09-23  Hans Breuer  <hans@breuer.org>
117         * app/commands.c app/create_object.c app/disp_callbacks.c : add
118         missing #include "lib/parent.h"
120         * lib/makefile.msc : build textline.obj
121         
122         * objects/makefile.msc : don't build newgroup.obj
123         * objects/misc/libmisc.c : with newgroup gone to app/ newgroup_type can 
124         not be registered from the module any longer - at least not on win32
126         * plug-ins/python/makefile.msc : removed obsolete references to 
127         Python 1.5, also removed misleading link to Python 2.2 debug build
129         * app/diagram.[ch] app/app_procs.c : don't use C++ keyword 'virtual' 
130         as variable name: s/virtual/is_default/
131         
132         * plug-ins/python/*.c : don't mix PyObject_NEW() with PyMem_DEL()
133         Newer versions of Python (2.5) are not tolerant about this anymore.
134         
135 2006-09-11  Lars Clausen  <lars@raeder.dk>
137         * lib/diasvgrenderer.c (draw_text_line): First stab at making svg
138         text line renderer, doesn't work yet.
140         * lib/textline.c (text_line_draw): Removed #define.
142         * lib/diagdkrenderer.c (draw_text_line): Slight cleanups.
144 2006-09-11  Steffen Macke <sdteffen@gmail.com>
146         * plug-ins/vdx/vdx-export.c:
147         * plug-ins/vdx/vdx-import.c:
148         * plug-ins/vdx/vdx-xml.c:
149         * plug-ins/vdx/vdx.h:
150         * plug-ins/vdx/visio-types.h: Update to version 0.5 (from 0.4) of
151         Visio import, thanks to Ian Redfern, who states: 
152         
153         This is the first version to support export to VDX - for now, just 
154         straight lines and text, but I'm working on the more complex bits. 
155         It currently writes Visio 2002 VDX as a lowest common denominator, 
156         but that won't handle Beziers, so when I get round to converting them 
157         to NURBS, only Visio 2003 users will be able to import them.
159         There are also several improvements to import, both to fix the layout 
160         and clean up the code, and it can now import embedded bitmaps - as Dia
161         needs them to be separate files, it puts them in /tmp (or wherever 
162         tempnam() goes to on your system). Alternative suggestions are welcome. 
163         NURBS import still doesn't work, but everything else seems pretty 
164         reliable.
165         
166         In addition, two small adjustments to compile on Windows
168 2006-09-08  Steffen Macke <sdteffen@gmail.com>
170         * app/makefile.msc:
171         * app/Makefile.am:
172         * app/dia-win-remote.c:
173         * installer/win32/dia.nsi: From Windows Explorer, open .dia files in the 
174         running Dia instance (if possible). Fixes bug #70718
176 2006-09-05  Lars Clausen  <lars@raeder.dk>
178         * lib/diatypes.h: 
179         * lib/Makefile.am (libdia_la_SOURCES): 
180         * lib/diarenderer.[ch]: 
181         * lib/font.[ch]: 
182         * lib/diagdkrenderer.c: 
183         * lib/textline.[ch]: TextLine now ready for commit.  Rendering
184         with it is much faster and significantly more precise than
185         without.  All renderers should implement a good definitions for
186         this (though there is a default one that uses draw_string), as it
187         can tell the expected width of a string.
188         
189         * lib/libdia.def: Newly defined functions.      
191 2006-08-29  Lars Clausen  <lars@raeder.dk>
193         * lib/textline.[ch]: New text rendering level: A self-contained
194         single-line text object that allows safer caching and hopefully
195         more accurate rendering at various zooms.  Using a PangoMatrix
196         didn't seem to help. 
198         * lib/font.c: Removing out-deffed layout cache code, it'll never
199         work.  Also a couple support functions for my quest of good zoom.
201 2006-08-20  Hans Breuer  <hans@breuer.org>
203         * plug-ins/cairo/diacairo.c : get rid of c++ coment
204         * app/diagram.h app/diagram.c app/modify_tool.c app/select.c 
205           app/undo.c : reverted 'Shortened diagram_unselect'. It broke
206         plug-ins/python, but more iomportant made one function fromm
207         app/diagram.h asymmetric with all the others. We should not leave
208         the common C OO-pattern of passing an explicit "this pointer" just
209         because that can also be deduced from the other object.
211 2006-08-18  Lars Clausen  <lars@raeder.dk>
213         * lib/render.[ch]: Finally removed unused render files now known
214         as diarenderer.[ch].
216 2006-08-17  Steffen Macke <sdteffen@gmail.com>
218         * installer/win32/dia-diagram.ico:
219         * installer/win32/dia.nsi: Assign icon to *.dia files
221 2006-08-16  Lars Clausen  <lars@raeder.dk>
223         * app/diagram.c (diagram_load): 
224         * lib/object.c (dia_object_is_selectable): Two silly null-pointer
225         errors detected by Michael Duelli <m.duelli@web.de>
227 2006-08-16  Steffen Macke <sdteffen@gmail.com>
229         * app/modify_tool.c:
230         * app/undo.c: Include parent.h
231         * lib/libdia.def: Include dia_object_is_selectable()
233 2006-08-13  Lars Clausen  <lars@raeder.dk>
235         * objects/Misc/libmisc.c:
236         * {app,objects/Misc}/Makefile.am:
237         * objects/Misc/newgroup.c:
238         * app/newgroup.c: Moved newgroup.
239         
240         * app/diagram.[ch]:
241         * app/undo.c: 
242         * app/modify_tool.c: 
243         * app/select.c: Trim diagram_unselect_object() to the one required
244         argument. 
246         * app/app_procs.c:
247         * app/interface.c (dia_dnd_file_drag_data_received): 
248         * app/recent_files.c (open_recent_file_callback): 
249         * app/filedlg.c (file_open_response_callback): 
250         * app/diagram.c (diagram_load): 
251         Make the diagram created at start-up be a virtual diagram that
252         if unchanged is filled in by the first opened diagram, like Gnumeric.
254 2006-08-11  Lars Clausen  <lars@raeder.dk>
256         * app/properties.c (properties_give_focus): Give focus to first
257         thing in a properties dialog.  Still need our own compound widgets
258         to get focus right.
260 2006-08-06  Lars Clausen  <lars@raeder.dk>
262         * objects/Misc/newgroup.c: 
263         * lib/diagramdata.c: 
264         * app/diagram.[ch]: 
265         * app/select.c: 
266         * app/modify_tool.c: 
267         * lib/object.[ch]: Work towards a more reasonable definition of
268         Groups. 
269         
270 2006-08-06  Steffen Macke <sdteffen@gmail.com>
272         * installer/win32/dia.nsi: Save diagrams by default in "My Pictures";
273         fixes bug #344247
275 2006-08-04  Steffen Macke <sdteffen@gmail.com>
277         * installer/win32/dia.nsi: Added vdx.dll, analog_clock.xpm 
278         newgroup.xpm , *ui.xml files
280 2006-08-03  Lars Clausen  <lars@raeder.dk>
282         * sheets/Makefile.am: EML sheet taken out since it's been empty
283         for five years anyway.  Fixes bug #347894.
285         * doc/eu/dia.dbk: 
286         * doc/en/dia.dbk: 
287         * doc/en/usage-layers.xml: Fixed obsolete references to
288         export-to-format.  Fixes bug #346510.
290 2006-08-02  Lars Clausen  <lars@raeder.dk>
292         * plug-ins/vdx/visio-types.h: 
293         * plug-ins/vdx/vdx.h: 
294         * plug-ins/vdx/vdx-xml.c: 
295         * plug-ins/vdx/vdx-import.c: 
296         * plug-ins/vdx/vdx-common.c: Update to version 0.4 (from 0.2) of
297         Visio import, thanks to Ian Redfern, who states: 
299         Version 0.4 does a passable job with curves, and has the first
300         implementation of Masters. It also handles XForm1D, and fixes a
301         potential crash. It gets some layers in the wrong order and still
302         has some major positioning and sizing issues. 
304         Version 0.3 gets object layout correct, and does a better job of
305         text, lines, arrows, layers etc. Some diagrams (that don't contain
306         curves) now render pretty much correctly. 
308 2006-07-16  Hans Breuer  <hans@breuer.org>
310         * app/cut_n_paste.[hc] : maintain a generation counter to count
311         how many times the stored object list is used
312         * app/commands.c : use the generation for paste placement. The
313         first one after cut is not moved at all: a nice way to move objects
314         between layers without changing their lateral position.
315         Also sprinkled some diagram_update_extents()
316         
317         * shapes/Civil/civil_rotor.shape : had inverted fg/bg colors, bug #347080
318         
319         * app/recent_files.c : don't g_return_if_fail() on common use case,
320         here an empty recent file list
321         
322         * lib/dia_image.c(dia_image_draw) : don't try to draw anything if
323         width or height is smaller than 1 pixel
324         
325         * plug-ins/cairo/diacairo.c : allow to export to svg if available 
326         with cairo. Some tweaking of surface sizes.
327         
328 2006-07-12  Lars Clausen  <lars@raeder.dk>
330         * {tests,test/exports,data,plug-ins/vdx}/.cvsignore: Added.
332 2006-06-28  Lars Clausen  <lars@raeder.dk>
334         * plug-ins/vdx/vdx-import.c: Removed create_standard_group which
335         is in create.c.
337 2006-06-25  Hans Breuer  <hans@breuer.org>
339         * app/display.c : avoid to call gettext on parameters for ngettext()
340         Should finally really fix bug #344896
341         
342         * data/ui/display-ui.xml data/ui/popup-ui.xml data/ui/toolbox-ui.xml :
343         removed expand="yes" because otherwise the files can't be read with
344         gtk+-2.6.x which follows Dia can't start. Fixes bug #344895
345         * app/menus.c app/Makefile.am : also find the ui files when run from
346         app/run_dia.sh
348 2006-06-17  Gintautas Miliauskas  <gintas@akl.lt>
350         * configure.in: Added lt to ALL_LINGUAS.
352 2006-06-15  Hans Breuer  <hans@breuer.org>
354         * app/display.c : use ngettext() for possible plural variations.
355         (Bug #344896, tokul@users.sourceforge.net)
357         * objects/UML/class.c : use g_list_append() rather than prepend
358         when copying attributes, operations, formalparams. Fixes bug #342902
359         Also removed some superfluous outcommented code and fixed a warning.
361         * objects/UML/class.c : dont break reading comment_line_length
362         by misguide compatibility code. Fixes bug #341887
364         * plug-ins/vdx/vdx-xml.c : added file missing from 0.3 
365         version commit. Fixes bug #344804
366         
367         * lib/create.h : add create_standard_group() prototype
368         * lib/libdia.def lib/makefile.msc objects/makefile.msc 
369           plug-ins/makefile.msc : added missing (files|exports)
371 2006-06-13  Lars Clausen  <lars@raeder.dk>
373         * plug-ins/vdx/*: Version 0.3 of Visio import filters, thanks
374         again to Ian Redfern.
376 2006-06-12  Elijah Newren  <newren gmail com>
378         * autogen.sh: Run configure by default, allow it to be skipped if
379         NOCONFIGURE is set in the environment.  #344574.
381 2006-06-12  Elijah Newren  <newren gmail com>
383         Pair of build fixes.  #344357
385         * Makefile.am: avoid cp errors when $(srcdir) == .
387         * objects/Misc/newgroup.c: include pixmaps/newgroup.xpm instead of
388         pixmaps/group.xpm as the latter doesn't exist.
390 2006-06-12  Hans Breuer  <hans@breuer.org>
392         * plug-ins/python/codegen.py : applied patch from Thomas D Ahle
393         which adds support for Java and inheritance. Closes bug #344187
394         
395 2006-05-28  Lars Clausen  <lars@raeder.dk>
397         * sheets/Misc.sheet.in: 
398         * objects/Misc/Makefile.am (EXTRA_DIST): 
399         * objects/Misc/pixmaps/newgroup.xpm: 
400         * objects/Misc/newgroup.c: 
401         * objects/Misc/libmisc.c: Start of new group model, with "visible"
402         object to test with.  This object will later become the default
403         group object and thus (mostly) invisible.
405         * lib/parent.c (parent_handle_move_in_check): 
406         * app/create_object.c (create_object_button_press): 
407         * app/diagram.c (diagram_unparent_children_selected): 
408         * app/disp_callbacks.c (ddisplay_drop_object): 
409         * app/load_save.c (write_objects): 
410         * objects/network/radiocell.c (radiocell_create): 
411         * objects/AADL/aadlbox.c (aadlbox_create): 
412         * objects/UML/large_package.c (largepackage_create): 
413         * objects/UML/component.c (component_create): 
414         * lib/object.[ch]: DiaObject API change: DiaObject now has gint
415         flags rather than gboolean can_parent, and utility function
416         object_flags_set.  Uses of can_parent changed to call to function.
418         * doc/en/dia.dbk: Removal of obsolete epsi references.
420 2006-05-27  Hans Breuer  <hans@breuer.org>
422         * app/menus.c : listen to Gtk-WARNING **: Unable to parse accelerator 
423         '<control>+': it wants '<control>plus', same for minus.
425         * tests/exports/cgm/* : cvs admin -kb *.cgm
426           tests/exports/png/* tests/exports/png-libart/* 
427           tests/exports/shape/* : cvs admin -kb *.png
428           tests/exports/wpg/* : cvs admin -kb *.wpg
429         mark binary files as such to not get them broken on platforms which
430         insist on replacing line-ends.
432         * app/app_procs.c app/display.c app/filedlg.c app/interface.c
433           app/load_save.c app/sheets.c lib/dia_image.c lib/message.c
434           plug-ins/python/diamodule.c plug-ins/python/pydia-error.c
435           plug-ins/wmf/wmf.cpp : fixed format string vulnerability on HEAD
436         as well. Patch from Hans de Goede, bug #342111
438 2006-05-27  Rob Staudinger <robert.staudinger@gmail.com>
440         * Makefile.am: 
441         * app/Makefile.am:
442         * app/diagram.c: 
443         * lib/Makefile.am:
444         * objects/standard/Makefile.am:
445         * plug-ins/python/Makefile.am:
446         Fix out of tree build (#340115).        
448 2006-05-25  Hans Breuer  <hans@breuer.org>
450         * app/interface.[hc] app/menus.c : rename ToolButton::menu_item
451         to action_name. Don't mark action names for translation. It is not
452         needed and some languages don't support CamelCase. Fixes bug #342895
453         
454         * app/menus.c : re-added a bunch of accelerators lost in translation
455         to the GtkAction framework. Use GTK_STOCK_FULLSCREEN conditionally
456         it was not available with gtk+-2-6-x.
457         Use dia_get_data_directory() instead of hardcoded UIDATADIR.
458         * app/dia_embedd.c : explain instead of out-comment
459         
460         * app/menu.c lib/autoroute.c lib/color.c lib/diagramdata.c 
461           lib/properties.h dia_xml.c : warningectomy
462           
463         * lib/create.h : create_standard_group()
464         * lib/libdia.def lib/makefile.msc : reflect moved stuff
465         
466 2006-05-25  Lars Clausen  <lars@raeder.dk>
468         * tests/exports/*.dia: A set of test diagrams for export
469         plug-ins.  The intention is to use these for regression tests by
470         ensuring that they don't change when code is altered, or if they
471         change that a manual inspection proves them ok.  The fact that an
472         export plug-in passes these tests doesn't mean it's perfect, just
473         that is hasn't degraded.
474         
475         * plug-ins/xfig/xfig-import.c: 
476         * plug-ins/vdx/vdx-import.c: 
477         * lib/create.[ch]: Functions taken from xfig to create some
478         standard objects easily.  Uses of them updated, no longer need to
479         take DiagramData.
481         * plug-ins/vdx/*: First draft of VDX (Visio XML) plug-in from Ian
482         Redfern <Ian Redfern <Ian.Redfern@LogicaCMG.com>.  Also a bunch of
483         samples for the purpose from the vdxtosvg project.
485 2006-05-21  Hans Breuer  <hans@breuer.org>
487         * app/interface.[hc] app/disp_callbacks.c : removed unused
488         global variable popup_shell
489         
490         * app/pagesetup.c app/diapagelayout.c : restrict every page margin
491         to a little less than half of the page. This guarantees margins
492         leaving some useable page area and thus avoids crashing on negative
493         page sizes. Fixes bug #339562 (also applied to dia-0-95 branch)
494         
495 2006-05-20  Hans Breuer  <hans@breuer.org>
497         Patch from Robert Staudinger to base dia menus on GtkAction framework
498         instead on deprecated GtkItemFactory. Tracked in bug #340352. 
499         En passant fixes bug #171397
500         * configure.in : placementof ui files added data/Makefile to AC_OUTPUT
501         * Makefile.am : added data dir
502         * app/Makefile.am : added $(uidatadir)
503         * app/commands.c app/commands.h app/dia_embedd.c app/diagram.c
504           app/diagram_tree_window.c app/diagram_tree_window.h
505           app/disp_callbacks.c app/display.c app/display.h
506           app/interface.c app/menus.c app/menus.h app/recent_files.c :
507         changed a bunch of callback signatures to take GtkAction
508         * app/pixmaps/Makefile.am 
509         * data/Makefile.am data/display-ui.xml data/toolbox-ui.xml
510           data/popup-ui.xml : new files containing the menu structure
511         * lib/filter.c lib/filter.h lib/plug-ins.h : callback filter
512           registration change to be more appropriate for actions
513         * lib/libdia.def : updated externals
514         * plug-ins/python/debug_objects.py plug-ins/python/diamodule.c
515           plug-ins/python/group_props.py plug-ins/python/gtkcons.py 
516           plug-ins/python/otypes.py plug-ins/python/pydiadoc.py 
517           plug-ins/python/scascale.py plug-ins/python/select_by.py :
518         adapted to API change dia.register_callback to dia.register.action
520         * app/authors.h : added Robert to the authors
521         * app/commands.c : got rid of compiler warnings
523 2006-05-14  Hans Breuer  <hans@breuer.org>
525         * plug-ins/python/python.c : protect the plug-in against 
526         initializing if Python already is initialized. This PyDia extensions
527         is designed for embedding Python.
528         
529         * plug-ins/python/pydia-property.c : LineStyle.dash may be either
530         Float or Integer.
531         
532         * plug-ins/python/diasvg_import.py : remove FontSize debug spew
533         
534         * lib/font.c : GDK_WINDOWING_WIN32: if called with a display already
535         setup use the pango context matching the display. Otherwise fallback
536         to a context from PangoWin32 (matches only for gtk+-2-6, not the one
537         used since gtk+-2-8 using cairo.
538         
539 2006-05-13  Hans Breuer  <hans@breuer.org>
541         [ also applied to branch dia-0-95 ]
542         * objects/UML/umloperationc: add "query" to umloperation_offsets.
543         Patch from Peter Allin, fixes bug #338336
545         [ also applied to branch dia-0-95 ]
546         * app/diagram.c(diagram_ungroup_selected) : operate on a copy
547         of data-Selected cause the original is modified during use.
548         Patch from Victor Stinner, fixes bug #334771
550         * configure.in config.h.win32 : development started again so 095+cvs.
551         Critical bugfixes may go on the dia-0-95 branch (may lead to 0.95.1 
552         if necessary)
553         
554         * app/diagram.c : removed long-time outcommented code
555         
556         * lib/diagramdata.h lib/filter.h lib/geometry.h lib/plug-ins.h
557           lib/properties.h : C++ aware by G_BEGIN_DECLS, G_END_DECLS
558         
559         * objects/UML/class.c : don't dia_assert_true(attr->comment != NULL)
560         it is handled everywhere else just fine.
561         
562 2006-04-19  Lars Clausen  <lars@raeder.dk>
564         * installer/win32/dia.nsi: 
565         * doc/en/dia.xml: 
566         * doc/eu/dia.xml: 
567         * doc/pl/dia.xml: 
568         * config.h.win32: 
569         * configure.in: 
570         * NEWS: Release 0.95
572         * shapes/Gane_and_Sarson/process.shape: Connectionpoint update
573         from Nick Moore <shiny.nickel@gmail.com>.
575 2006-04-17  Kjartan Maraas  <kmaraas@gnome.org>
577         * configure.in: Remove obsolete entry for no_NO
578         * po/no.po: And the translation.
580 2006-04-12  Lars Clausen  <lars@raeder.dk>
582         * installer/win32/dia.nsi: 
583         * doc/en/dia.xml: 
584         * doc/eu/dia.xml: 
585         * doc/pl/dia.xml: 
586         * config.h.win32: 
587         * configure.in: 
588         * NEWS: -pre9
590         * configure.in: Check for xgettext.  Apparently
591         AM_GLIB_GNU_GETTEXT notices it's missing but doesn't abort.
593 2006-04-04  Steffen Macke <sdteffen@gmail.com>
595         * installer/win32/dia.nsi:
596         * installer/win32/langmacros.nsh:
597         * installer/win32/locale/*.nsh: Added check for outdated libgtk dll;
598         closes bug #335477
600 2006-04-03  Lars Clausen  <lars@raeder.dk>
602         * installer/win32/dia.nsi: 
603         * doc/en/dia.xml: 
604         * doc/eu/dia.xml: 
605         * doc/pl/dia.xml: 
606         * config.h.win32: 
607         * configure.in: 
608         * NEWS: -pre8
610         * plug-ins/xfig/xfig-import.c: Initially place text in the right
611         place. 
613 2006-04-03  Steffen Macke <sdteffen@gmail.com>
615         * installer/win32/dia.nsi:
616         * installer/win32/locale/french.nsh: Added french installer
617         locale. Patch from Yannick Le Ny <y.le.ny@ifrance.com>
619 2006-04-02  Hans Breuer  <hans@breuer.org>
621         * doc/pl/dia.xml : "DOCTYPE book" closes bug #142098, Roland Stigge
623 2006-03-29  Daniel Drake  <dsd@gentoo.org>
625         * configure.in: Use standard pkg-config expressions to check for
626         GTK+/Glib, the GTK-supplied macro's conflict with our usage of
627         $GTK_MODULES (#335422)
629 2006-03-28  Lars Clausen  <lars@raeder.dk>
631         * app/Makefile.am (dia_LDADD): Patch from Peter for bug #336377:
632         Include libs and cflags in proper places.
634         * installer/win32/dia.nsi: 
635         * doc/en/dia.xml: 
636         * doc/eu/dia.xml: 
637         * doc/pl/dia.xml: 
638         * config.h.win32: 
639         * configure.in: 
640         * NEWS: -pre7
642         * shapes/network/mobile_phone.{png,xpm,shape}:
643         * shapes/network/telephone.shape:
644         * shapes/network/disc.shape:
645         Updates from W. Borgert <debacle@debian.org> improving looks and
646         positioning.
647         
648 2006-03-26  Lars Clausen  <lars@raeder.dk>
650         * objects/network/radiocell.c: Patch from W. Borgert
651         <debacle@debian.org> for extra midpoint, flicker, extraneous
652         properties.
653         
654         * objects/network/basestation.c: Patch for BB from W. Borgert
655         <debacle@debian.org>. 
657 2006-03-23  Hans Breuer  <hans@breuer.org>
659         * lib/widgets.c : use original fontname and fallback 'sans' to
660         render the font menu. Thus crashing (in Pango) is delayed until
661         the point where one chooses a font, which can't be rendered by
662         Pango. Fixes bug #335096 as far as Dia can.
663         
664 2006-03-21  Lars Clausen  <lars@raeder.dk>
666         * installer/win32/dia.nsi: 
667         * doc/en/dia.xml: 
668         * doc/eu/dia.xml: 
669         * doc/pl/dia.xml: 
670         * config.h.win32: 
671         * configure.in: 
672         * NEWS: -pre6
674         * plug-ins/xfig/xfig-import.c: Last missing stack underflow check.
676 2006-03-19  Hans Breuer  <hans@breuer.org>
678         * app/display.c app/preferences.c : unset transient, still issues
679         with transient handling, see bug #332828
680         
681         * app/makefile.msc lib/makefile.msc objects/makefile.msc
682           plug-ins/makefile.msc : removed stuff supposed to be used from
683         $(TOP)/glib/build/win32/make.msc
684         
685         * plug-ins/xfig/xfig-import.c : make it compile with strict type 
686         checking [these were real errors, freeing stack passed values instead
687         of the intended local variable] :
688         xfig-import.c(580) : error C4047: 'function' : 'struct _GArray *' 
689          differs in levels of indirection from 'struct _Point ** '
690         xfig-import.c(580) : warning C4024: 'g_array_free' : different types 
691          for formal and actual parameter 1
693         * lib/libdia.def : export connection_adjust_for_autogap 
694         
695         * plug-ins/hpgl/hpgl.c : there is one floating point value in the 
696         whole HPGL output - and it was locale dependent.
698 2006-03-12  Lars Clausen  <lars@raeder.dk>
700         * installer/win32/dia.nsi: 
701         * doc/en/dia.xml: 
702         * doc/eu/dia.xml: 
703         * doc/pl/dia.xml: 
704         * config.h.win32: 
705         * configure.in: 
706         * NEWS: -pre5
708         * objects/UML/constraint.c (constraint_update_data): 
709         * objects/UML/message.c (message_update_data): 
710         * objects/UML/implements.c (implements_update_data): 
711         * objects/SADT/annotation.c (annotation_update_data): 
712         * objects/Jackson/phenomenon.c (message_update_data): 
713         * objects/network/wanlink.c (wanlink_update_data): 
714         * objects/FS/flow.c (flow_update_data): Added autogap adjustment.
716         * objects/standard/line.c: 
717         * lib/connection.[ch] (connection_adjust_for_autogap): Moved autogap
718         functionality for connections.
720 2006-03-11  Lars Clausen  <lars@raeder.dk>
722         * lib/diagdkrenderer.c (draw_object): 
723         * lib/dialibartrenderer.c (draw_object): Don't draw highlighting
724         in the non-interactive rendering.
726         * dia.spec:
727         * installer/rpm/dia.spec:
728         * installer/rpm/README:
729         Moving dia.spec to installer directory, where distribution
730         maintainers can keep their own copies.
732         * objects/UML/uml.h: 
733         * objects/UML/class.h: 
734         * objects/UML/umloperation.c: 
735         * objects/UML/class.c: 
736         Preparations to fix bug #334037: Clean away the Lisp-like
737         constructs confusing the issue.
739 2006-03-10  Lars Clausen  <lars@raeder.dk>
741         * lib/object.c: Don't compare floats with ==, even in sanity checks.
743 2006-03-09  Lars Clausen  <lars@raeder.dk>
745         * plug-ins/xfig/xfig-import.c: Fix three buffer overflows in color
746         reading, depth reading, and points reading.  Thanks to 
747         
748         * COPYING: Added copyright info again.
750 2006-03-09  Steffen Macke <sdteffen@gmail.com>
752         * installer/win32/dia.nsi: don't uninstall old version; overwrite
753         existing files
755 2006-03-08  Steffen Macke <sdteffen@gmail.com>
757         * installer/Makefile.am:
758         * installer/win32/Makefile.am:
759         * installer/win32/locale/Makefile.am: Making sure that the installer
760         sources are included in the dia source distribution
761         * installer/win32/dia.nsi: Don't include makefiles in installer;
762         Add uninstaller link to start menu (bug #332650); added commandline 
763         option GTKBIN to specify GTK installation directory (fixes bug #332595)
764         * installer/win32/dia-diagram.ico:
765         * installer/win32/dia-header.bmp:
766         * installer/win32/dia-install.ico:
767         * installer/win32/dia-intro.bmp:
768         * installer/win32/dia-uninstall.ico:
769         * installer/win32/dia.nsi:
770         * installer/win32/langmacros.nsh:
771         * installer/win32/locale/english.nsh:
772         * installer/win32/locale/german.nsh: Added files to build the win32
773         installer using NSIS (http://nsis.sourceforge.net)
774         
775 2006-03-06  Lars Clausen  <larsrc@raeder.dk>
777         * doc/en/dia.xml: 
778         * doc/pl/dia.xml: 
779         * config.h.win32: 
780         * configure.in: 
781         * NEWS: -pre4
783         * samples/TexChars.dia: Added sample of the escaped chars for TeX.
784         
785         * plug-ins/pstricks/render_pstricks.c (tex_escape_string):
786         Changing escape of \, [, and ] to something that works.  $ is
787         fine.  Fixes parts of 333193.
789 2006-03-05  Lars Clausen  <larsrc@raeder.dk>
791         * plug-ins/xfig/xfig-import.c: Fixed locale issues with FIG import.
793         * lib/orth_conn.c (orthconn_update_data): 
794         * app/diagram.c: Removing debug info.
796         * app/object_ops.c (object_find_connectpoint_display): Don't
797         magnet to parents.
799 2006-02-26  Hans Breuer  <hans@breuer.org>
801         * app/Makefile.am : define DIA_PYTHON_PATH in app/run_dia.sh
802         * plug-ins/python/python.c : if set use it to find python-startup.py
803         (bug #332599, Torben H. Nielsen)
805         * app/app_procs.c : removed // from gtk_init() [shouldn't have commited
806         my test code]. Really closes #332177, thanks Mateus César Gröess.
808 2006-02-26  Lars Clausen  <lars@raeder.dk>
810         * doc/en/dia.xml: 
811         * doc/pl/dia.xml: 
812         * config.h.win32: 
813         * configure.in: 
814         * NEWS: -pre3
816         * lib/element.h (ELEMENT_COMMON_PROPERTIES): Turning off setting
817         of element_width and element_height until constraints can be 
818         properly checked.  Bug #328200
820         * dia.spec (Requires): Updated GTK requirements.
822 2006-02-25  Lars Clausen  <lars@raeder.dk>
824         * lib/diaarrowchooser.c (dia_arrow_chooser_new): Also making sure
825         other dynamic menus have proper translation.
827         * lib/widgets.c (dia_dynamic_menu_create_string_item): 
828         * app/interface.c (cmp_names): 
829         * app/sheets.c (sheets_optionmenu_create): 
830         * lib/sheet.c (load_register_sheet): Using C locale for sheet
831         names internally, translating on display instead.  Also sorting
832         by gettext order explicitly.  Bug #328570.
834 2006-02-25  Hans Breuer  <hans@breuer.org>
836         * app/interface.c(get_sheet_by_name) : be more tolerant about 
837         localization of the sheet name. ( Steffen Macke, #332070 )
838         
839         * app/app_procs.c(app_init) : if GDK_WINDOWING_WIN32 call gtk_init()
840         in any case. In contrast to X11/*nix displays are not optional on
841         windoze. And we need some help of gtk to render text to bitmaps.
842         ( Rob McDonald, bug #332177 )
843         
844 2006-02-21  Lars Clausen  <lars@raeder.dk>
846         * NEWS: 
847         * doc/pl/dia.xml: 
848         * doc/en/dia.xml: 
849         * configure.in: 
850         * config.h.win32: Update to -pre2.
852         * lib/beziershape.c (add_handles): Fixing CP pos calculation for
853         adding new CP's.  Fixes bug #331557.
855 2006-02-20  Lars Clausen  <lars@raeder.dk>
857         * lib/diarenderer.c (find_center_point): Better handling of some
858         degenerate cases.
859         (draw_arc_with_arrows): Draw line in all cases.  Doesn't handle
860         the truly degenerate cases well enough yet, but at least doesn't
861         break on common cases.  Probably need to do something special for
862         arcs with start and end point the same.  Improves but does not
863         entirely fix bug #331372.
865 2006-02-20  Hans Breuer  <hans@breuer.org>
867         * plug-ins/python/Makefile.am : dot.py was missing from EXTRA_DIST
868         
869 2006-02-18  Hans Breuer  <hans@breuer.org>
871         * plug-ins/metapost/render_metapost.c : text position gives the
872         baseline neither top nor bottom. ( Rob McDonald, #331491 )
874         * plug-ins/wmf/wmf.cpp : finally respecting the print margins
875         ( Rob McDonald, #331371 )
876         * plug-ins/wmf/wmf_gdi.h : some more constants not useful 
877         without a GDI printer (driver)
878         
879 2006-02-17  Hans Breuer  <hans@breuer.org>
881         * plug-ins/metapost/render_metapost.c(draw_string) : dont query
882         the font for it's height but use the 'height' parameter passed
883         in. Close enough to the desired size - and independent of zoom -
884         to close bug #331489 (Rob McDonald)
885         
886 2006-02-12  Lars Clausen  <lars@raeder.dk>
888         * NEWS: 
889         * dia.spec: 
890         * doc/pl/dia.xml: 
891         * doc/en/dia.xml: 
892         * configure.in: 
893         * config.h.win32: Updates for version 0.95-pre1.
895 2006-02-12  Hans Breuer  <hans@breuer.org>
897         * app/makefile.msc : build three components dia.exe (console
898         application), diaw.exe (windows application) and dia-app.dll
899         containing almost all of Dia's application shared between
900         the two executables
901         * app/main.c app/winmain.c app/app_procs.c app/dia.def : some 
902         refactoring to accomplish the new dependency layout
903         * objects/makefile.msc plug-ins/python/makefile.msc : need to
904         link dia-app.lib now - if at all depending on app/*
905         
906 2006-02-11  Hans Breuer  <hans@breuer.org>
908         * makefile.msc : nmake -f makefile.msc just compiles now
909         * app/makefile.msc lib/makefile.msc : make not using FT2
910         on win32 the default (works around bug #150813 by diabaling it)
911         * objects/makefile.msc plug-ins/makefile.msc : remove -GD from
912         $(CC) command line. It isn't understood by newer versions of cl.
913         
914         * app/authors.h : reflect the recent maintainers change
915         
916         * app/display.c app/load_save.c : removed debug spew
917         
918         * app/winmain.c : improved redirection
919         
920 2006-02-05  Hans Breuer  <hans@breuer.org>
922         * app/menus.[ch] app/diagram.c : the GNOME specific menu code is dead 
923         since 0.94. Fix somne left-overs, also properly disable the duplicate
924         menu entry
926         * po/POTFILES.in : added objects/network/wanlink.c
928 2006-02-05  Hans Breuer  <hans@breuer.org>
930         * lib/dialibartrenderer.c(renderer_finalize) : dont unref 
931         parent_instance.font here. It will be done in DiaRenderer::finalize()
932         Just another reason for crashing at diagram close with libart 
933         renderer involved ...
934         
935 2006-02-04  Hans Breuer  <hans@breuer.org>
937         * objects/standard/image.c : added mainpoint, patch from
938         Torben H. Nielsen fixing bug #329603
940         * app/layer_widget.c : avoid writing to Layer::connectable for a
941         diagram possibly already gone. Fixes bug #329096.
943         * lib/persitence.c(persistence_load) : dont leak filename
944         in case of not existing file
946         Code review via regex "[^_l>p](malloc|free|realloc)\("
947         * objects/fs/function.c : what's g_strdup() must be g_free()'d
948         * plug-ins/dxf/dxf-import.c : use g_realloc()/g_free()
949         * plug-ins/xfig/xfig-import.c : use g_free() instead of plain free()
951         * app/filedlg.c(file_save_as_response_callback) : before destroying 
952         the save as dialog we need to drop the dialogs diagram reference.
953         Fixes behaviour described in bug #123225#c7
955         * app/interface.c(get_sheet_names) : need to sort sheets by their 
956         display name to really fix bug #160101.
957         
958         * objects/UML/association.c : dont leak the role_name calculated
959         with visibility attribute, use g_strdup_printf() instead of strcat().
960         
961         * configure.in : fix typo in error message
963         * lib/object.c : remove duplicated prototype
964         * lib/element.c : element_update_connections_rectangle() assumes nine
965         connection points, i.e. requires 'mainpoint'. g_assert() for this.
966         
967 2006-02-03  Hans Breuer  <hans@breuer.org>
969         * objects/network/bus.c : allow to tint it. Patch from
970         Torben H. Nielsen, closes bug #328580.
971         * objects/network/wanlink.c : allow to tint this as well.
972         
973 2006-01-29  Hans Breuer  <hans@breuer.org>
975         * app/render_libart.c(draw_line) : make setting the pixel side-effect
976         free; account for it in now (less) magic increments. Fixes bug #312147
978 2006-01-28  Hans Breuer  <hans@breuer.org>
980         * po/checktrans.py : make it work with recent pyxml (unknown url type)
981         * po/AADL.sheet.in : remove duplicated _description
982         => translation report works again
984         * app/display.c : revert back to "_Discard Changes" to avoid
985         accelerator clash. Also gtk_button_new_with_mnemonic() to
986         'expand' the accelerator.
988         * lib/dia_svg.c(dia_svg_style_init) : need to initialize
989         linecap, linejoin, linestyle to avoid invalid settings.
990         (Nguyen Thai Ngoc Duy, bug #328945)
991         * lib/diagdkrenderer.c : add a place fro breakpoint to 
992         detect invalid mode
994         * lib/diarenderer.c(setfont) : if we get passed in the
995         same font it must be ref'd before unref.
997         * lib/text.c(set_string) : don't eat the trailing new-line
998         Fixes bug #165092
999         
1000         * app/app_procs.c app/display.c app/filedlg.c 
1001         attempt to provide more HIG compliant dialogs. Patch from
1002         Nguyen Thai Ngoc Duy, part of bug #138183
1003         
1004         * app/recent_files.c(recent_file_history_clear_menu) : instead of 
1005         messing with GtkMenuShell::children and gtk_widget_destroy() just 
1006         use gtk_container_remove. Avoids memory corruption causing the
1007         most 'random' crashes recently.
1008         
1009         * objects/UML/message.c : can't use PROP_STD_TEXT_COLOUR_OPTIONAL 
1010         cause it has PROP_FLAG_DONT_SAVE. It is designed to fill the 
1011         TextAttributes - not some subset. Fixes bug #327701
1012         * objects/UML/implements.c objects/UML/generalization.c
1013           objects/UML/constraint.c objects/UML/object.c
1014           objects/UML/large_package.c objects/UML/realizes.c : same here.
1015         * objects/UML/dependency.c : same here. Also draw the "Name" with the
1016         given color, not only the Stereotype.
1017         * objects/UML/class.c : same here. But we also need to restore 
1018         explicit restore "text_color" for the load case.
1019         
1020 2006-01-27  Hans Breuer  <hans@breuer.org>
1022         * configure.in : error out if GLib/GTK+ version is lower than required
1024         * app/filedlg.c lib/widgets.c : more default responses. Patch 
1025         from Nguyen Thai Ngoc Duy, part of bug #138183
1026         
1027         * NEWS : Main point feature correction. The line is supposed to
1028         start at the border of the object not the bounding box.
1029         
1030         * app/commands.c : respect difference between documenters and
1031         translators and show both in about dialog. Closes bug #328711.
1032         
1033         * app/interface.c : instead of g_warning for missing shape icon
1034         but use message_warning and show the 'missing' icon
1035         
1036         * lib/dialibartrenderer.c : with Gtk+ 2.8 gdk_draw_layout() does
1037         not match pango_win32_get_context(). Use gdk_pango_get_context ().
1038         Also removed my special win32-modified-pango code for draw_string()
1039         without the help of gdk.
1041         * Makefile.am : include MAINTAINERS file in tarball
1043         * lib/conectionpoint.h : removed double include of "geometry.h"
1044         
1045 2006-01-22  Hans Breuer  <hans@breuer.org>
1047         * app/splash.c app/commands.c : dont share the logo and finally leak
1048         it. Instead both place load and unref the logo themself. 
1049         Also unbreak GNOME case.
1051         * app/commands.c : use GtkAboutDialog instead of homegrown GTK+
1052         or GNOME specific one. 120 lines less code and more standard.
1053         * configure.in : require GTK+ >= 2.6
1055         * app/diapagelayout.c app/diaunitspinner.c app/layer_dialog.c :
1056         make GtkTypeInfo static const as usual elsewhere
1057         
1058         * app/recent_files.c : it almost certainly is an error to ignore
1059         the return value of g_list_remove_link()
1060         
1061         * lib/arrows.c lib/bezier_conn.[ch] lib/beziershape.h
1062           lib/boundingbox.[ch] lib/color.[ch] lib/connectionpoint.c
1063           lib/create.h lib/dia_svg.c lib/dia_xml.c lib/diaarrowchooser.c
1064           lib/diagramdata.[ch] objects/UML/activity.c objects/UML/class.[ch]
1065           objects/UML/uml.h : documentation fixes
1066         
1067         * lib/object.h lib/diagramdata.h : avoid circular inclusion
1068         * lib/connectionpoint.h lib/focus.h lib/group.h lib/handle.h
1069           lib/properties.h lib/sheet.h lib/diamenu.h
1070         : dont include "object.h", "diatypes.h" is enough. 
1071         Rule of thumb: only headers declaring an inheritant of DiaObject
1072         should include "object.h"
1073         * lib/diarenderer.h : include "font.h" not strictly needed by 
1074         this header, but needed in almost any plug-in/
1075         * app/diagram_tree_menu.c app/dialogs.[hc] app/display.c
1076           app/export_png.c app/interface.c app/load_save.c app/sheets.c
1077           app/sheets_dialog.c app/sheets_dialog_callbacks.c 
1078           lib/diagdkrenderer.c lib/object.c lib/propobject.c
1079           lib/text.c plug-ins/gprint/gnomeprint.c plug-ins/pixbuf/pixbuf.c
1080           plug-ins/svg/render_svg.c
1081           : some .c files now need to include "object.h" or <gtk/gtk.h>
1082         or e.g. "intl.h" direct, formerly dargged in indirectly
1083         * plug-ins/pgf/render_pgf.c : explicit inclusion of "arrows.h"
1084         
1085 2006-01-21  Hans Breuer  <hans@breuer.org>
1087         * lib/connection.c lib/connection.h lib/connectionpoint.h
1088           lib/diagramdata.h lib/diarenderer.h lib/diatypes.h
1089           lib/element.h lib/geometry.h lib/handle.h lib/objchange.h
1090           lib/object.c lib/object.h : documentation tweaking
1092         * objects/UML/class_dialog.c(attributes_create_page,
1093         operations_create_page) : dont connect
1094         to a not exisiting signal. Avoids "GLib-GObject-CRITICAL **:
1095         g_signal_connect_closure_by_id: assertion 'signal_id > 0' failed"
1096         (This was a leftover of introducing the GtkTextView instead of GtkEntry)
1098         * objects/UML/class_dialog.c objects/UML/class.c objects/UML/class.h :
1099         Introduce 'comment_tagging' switch which allows to hide the rendering
1100         {documentation = } Maybe a choice between ugliness and non-standard.
1101         Fixes bug #326214. (Unrelated: started to adapt casing of variables
1102         to Dia's common coding style)
1103                 
1104         * lib/object_defaults.c : pass is_default=TRUE to object_copy_props
1105           lib/proplist.c : fixed pdtpp_default()
1106           lib/propobject.c : correctly reflect is_default 
1107         * object/UML/class.c : correct setting of PROP_FLAG_NO_DEFAULTS and
1108         PROP_FLAG_DONT_MERGE. With the above this fixes bug #320934
1109         
1110         * lib/propdialogs.c : if PROP_NO_DEFAULTS is set dont try to show a
1111         widget in defaults dialog
1113         * app/display.c(initialize_display_widgets) : also append the Input 
1114         Methods menu to the diagram menubar. Now fixes bug #327862.
1116         * config.h.win32 : #undef LOCALEDIR
1117         * app/app_procs.c : runtime calculation of localedir. It now is
1118         $(executable_dir)/../locale. Should help fix bug #309763
1119         
1120         * sheets/AADL.sheet.in : remove left over xml:lang tag. 
1121         ( Nguyen Thai Ngoc Duy, bug #327519)
1123         * lib/dialibartrenderer.c : make text rendering work without
1124         PangoFT2 and PangoWin32
1127 2006-01-18  Lars Clausen  <lars@raeder.dk>
1129         * objects/UML/class.h: Enabling UML class mainpoint after failure
1130         to break it.
1132         * app/grid.c: Fix bug with grid being incorrectly drawn when gap <
1133         1.
1135 2006-01-14  Hans Breuer  <hans@breuer.org>
1137         * app/paginate_psprint.c : ensure we are not producing pages for
1138         epsilon. Floating imprecision is fun. Fixes bug #133856.
1139         * app/paginate_gdiprint.cpp : same here.
1141         * plug-ins/pstricks/render_pstricks.c(draw_string) : now that I've
1142         found the nice samples from bug #156171 it was quite simple to
1143         confirm that the y value need indeed to be inverted. Fixes bug #304974.
1144         Also special case strings starting with \tex - i.e. dont escape them -
1145         to keep the use-case of direct tex input.
1146         
1147         * lib/debug.c : #include <glib/gprintf.h> not just <gprintf.h>
1150 2006-01-14  Hans Breuer  <hans@breuer.org>
1152         * samples/Self/umlclass.dia : (new file) documenting part of the
1153         object relations of UMLClass. Also good for testing connections.
1154         
1155         * lib/debug.c : replace wrong call to vprintf() - missing file
1156         descriptor - with the more appropriate g_vprintf(). Thus 
1157         dia_assert_true() does not smash the stack anymore on win32.
1158         
1159         * objects/UML/class.c objects/UML/class_dialog.c objects/UML/uml.h
1160           objects/UML/umlattribute.c objects/UML/umloperation.c :
1161         reverted the memory managment of UMLAttribute/UMLOperation's 
1162         ConnectionPoint(s) back to how it was up until 0.94. This finally
1163         makes the UMLClass work again including undo/redo support. Fixes
1164         bug #314153 and en passant bug #326453.
1165         
1166 2005-01-12  Lars Clausen  <lars@raeder.dk>
1168         * objects/UML/umlattribute.c: 
1169         * objects/UML/class_dialog.c: Better way of handling
1170         connectionpoints: Don't copy them, just reference them.  Finally
1171         fixes bug #314153 (not quite the pi bug:)
1173         * app/menus.c (display_menu_items): 
1174         * app/filedlg.c (file_open_response_callback): 
1175         * app/display.[ch] (copy_display): 
1176         * app/commands.[ch] (view_clone_view_callback): 
1177         Added functionality to clone display.  Preparation for storing
1178         display info in diagram files (not happening this version, though).
1180         * INSTALL (NOTE FOR WINDOWS USERS): Added note for non-compiling
1181         users pointing at dia-installer.
1183 2006-01-08  Hans Breuer  <hans@breuer.org>
1185         * shapes/Gane_and_Sarson/Makefile.am : correct spelling of filenames.
1186         (Narcelio Filho, #326075)
1188         * objects/AADL/aadl.h : remove #include "app/display.h". It is not needed,
1189         plug-ins should not depend on app/* and it even breaks 'make distcheck'.
1190         * objects/AADL/Makefile.am : added edit_port_declaration.h
1191         * app/Makefile.am : added diaconv.c to EXTRA_DIST
1192         => 'make distcheck' passes again.
1194         * configure.in : use some more of gcc's useful warnings
1196         * lib/geometry.h : removed unused functions just producing warnings
1197         [sometimes it's good to read compiler warnings]
1198         * plug-ins/cairo/diacairo.c : somehow a function call got lost
1199         (left-hand operand of comma expression has no effect)
1200         * plug-ins/metapost/render_metapost.c : dia_message_filename()
1201         wants a char* not a FILE* (passing arg 1 of `dia_message_filename'
1202         from incompatible pointer type)
1205 2006-01-07  Hans Breuer  <hans@breuer.org>
1207         * objects/custom/shape_info.c(parse_path) : handle the case of 
1208         invalid path data more gracefully, i.e. show a warning instead 
1209         of crashing later on.
1210         * plug-ins/svg/svg-import.c(read_path_svg) : ditto.
1211         
1212         * configure.in sheets/Makefile.am shapes/Gane_and_Sarson 
1213           shapes/Makefile.am : added Gane & Sarson shapes 
1214         (Nick Moore, #319544)
1216         * objects/makefile.msc : building AADL on win32
1218 2006-01-06  Hans Breuer  <hans@breuer.org>
1220         * objects/AADL/aadl.h : avoid redefinition warnings by #undef
1221         min, #undef max before local definitions
1222         * objects/AADL/aadl.h : more prototypes
1223         * objects/AADL/aadltext.c : for C89 declarations must be at the
1224         beginning of a block. And Dia *must* be compileable with C89.
1226         * objects/AADL/** objects/Makefile.am sheets/Makefile.am 
1227         configure.in : AADL plug-in from Pierre Duquesne. See
1228         http://mail.gnome.org/archives/dia-list/2006-January/msg00005.html
1229         for more information
1230         * sheets/AADL.sheet.in : from the above patch but modified 
1231         to become translatable like the other sheet files. That is: the
1232         french translation got temporary removed cause it does not belong here.
1234         * plug-ins/pgf/render_pgf.c : no C99/C++ comments please
1236         * app/app_procs.c app/diaconv.c : get rid of run-on sentences
1237         (Adam Weinberger, bug #325567)
1238         
1239         * app/menus.c : removed some keybindings with <control><shift>[0-9A-F]
1240         and change some other to use <control><alt>. They collide with GTK's 
1241         Unicode input feature. Fixes bug #320495. For rationale see: 
1242         http://developer.gnome.org/projects/gup/hig/2.0/input-keyboard.html
1243         
1244         * app/display.c : pay attention to g_warnings() [should always run
1245         with --g-fatalwarnings ;)]. Only create the menubar IM menu if there
1246         actually is a menu bar.
1247         
1248         * lib/diarenderer.c : the righthand calculation accidentially broke
1249         some arcs direction. Should be fixed again.
1250         
1251 2006-01-02  Hans Breuer  <hans@breuer.org>
1253         * app/display.c(new_display) : also append the Input Methods menu to 
1254         the diagram menubar. Fixes bug #308576.
1256         * lib/widgets.c(dia_dynamic_menu_reset) : don't use an already
1257         freed string to dia_dynamic_menu_select_entry(). Fixes bug #323592.
1259         * lib/sheet.c(dia_sheet_sort_callback) : sort sheets according to 
1260         their localized name (with g_utf8_collate). Thus not relying on the 
1261         capabilities of the C libraries strcmp(). Fixes bug #160101.
1263         * lib/diarenderer.c(draw_arc_with_arrows) : don't recalculate center
1264         point and width from the (arrow-)corrected new points. Otherwise a 
1265         whole new wrong arc may emerge. Fixes bug #312641.
1266         
1267 2006-01-01  Hans Breuer  <hans@breuer.org>
1269         * objects/custom/custom_object.c(cutom_update_data) : depending 
1270         on the handle moving let one scale (x or y) take precedence. 
1271         (bug #308515, Eric Deplagne)
1272         
1273         * objects/UML/class.c : only perform the attributes check with
1274         attributes visible to ged rid of false warnings
1275         * objects/UML/class_dialog.c : need to setup Connection::object
1276         after uml_attribute_new() and uml_operation_new(), again less
1277         warnings but bug #314153 still not fixed.
1279         * NEWS : updated
1281         * plug-ins/python/diasvg.py : more correct svg by also writing 
1282         xmlns="http://www.w3.org/200/svg"
1284         * plug-ins/python/dot.py : skip unconnected connection lines
1285         * plug-ins/python/Makefile.am : added dot.py
1287         * plug-ins/python/pydiadoc.py plug-ins/python/codegen.py : fixed
1288         typos in comments
1290 2005-12-31  Hans Breuer  <hans@breuer.org>
1292         * objects/UML/class.[hc] objects/UML/class_dialog.c : removed the 
1293         caching of UMLClass::attributes_strings, operations_strings, 
1294         templates_strings.
1295         It was broken by the recent code restructuring in bug #303744 and
1296         - if necessary at all - nowadays it should be done on the 
1297         UMLAttribute, UMLOperation, UMLFormalParameter level anyway. 
1298         A small, much needed simplification of the code.
1300 2005-12-30  Hans Breuer  <hans@breuer.org>
1302         * objects/UML/class.c : Patch from Dave Klotzbach
1303         fixes crash bug #325151
1305         * app/app_procs.c : add command line parameter --nonew to allow
1306         avoiding the empty start-up diagram
1307         Also give a hint on where the object-libs were missing.
1308         Finally work around a misbehaviour upstreamm :
1309         g_option_context_parse() returning FALSE but not setting error.
1311         * app/commands.c app/app_diagram_tree.c app/interface.c :
1312         Use gdk_pixbuf_render_pixmap_and_mask_for_colormap as suggested by
1313         http://www.gtk.org/api/2.6/gdk/gdk-Pixbufs.html#gdk-pixbuf-render-pixmap-and-mask
1314         
1315         * lib/widgets.c : image file selection finally ported to the new
1316         gtk file chooser. Fixes bug #309383
1318 2005-12-28  Hans Breuer  <hans@breuer.org>
1320         * app/commands.c(file_new_callback) : convert to filename encoding before
1321         passing to new_diagram(), fixes bug #322400
1322         
1323         * app/interface.c(create_display_shell) : don't clip width on screen 
1324         height - now commited. Also lazy creation of tooltips.
1325         
1326         * objects/UML/actor.c : Actor is finally resizable, fixes bug #66915
1327         
1328 2005-12-27  Hans Breuer  <hans@breuer.org>
1330         * app/diapsft2renderer.c(draw_bezier_outline) : only call
1331         FT_Outline_Decompose() when FT_GLYPH_FORMAT_OUTLINE.
1332         Prefers no text output over crashing for bug #144212
1334         * app/interface.c : removed superfluous call to dia_canvas_set_size().
1335         Suggested by Roland Stigge, fixes bug #148149.
1337         * plug-ins/dxf/dxf-import.c : don't complain too loud on Binary
1338         DXF. It is not supported at all. Fixes bug #322101
1340         * lib/geometry.c : removed the ifdefed GLIB_CHECK_VERSION(2,7,0)
1341         define G_IMPLEMENT_INLINES. It breaks again with glib-2-8
1344 2005-12-27  Hans Breuer  <hans@breuer.org>
1346         * app/navigation.c : protect on_da_button_release_event() against being
1347         called twice. Also only popdown the navigation window after the first 
1348         draw (reusing nav->is_first_expose). Fixes bug #151696
1349         
1350         * app/interface.c(create_display_shell): don't clip width on screen height, 
1351         but height
1353         * lib/plug-ins.c : fixed typo in comment
1354         
1355         * lib/libdia.def : updated externals
1356         * lib/makefile.msc : build debug.obj
1358         * plug-ins/makefile.msc : building pgf in the right alphabetical order
1359         * plug-ins/pgf/render_pgf.c : include <glib/gprintf.h>
1360         
1361 2005-12-08  Lars Clausen  <lars@raeder.dk>
1363         * app/authors.h: 
1364         * plug-ins/pgf/pgf.c: 
1365         * plug-ins/pgf/render_pgf.[ch]: 
1366         * plug-ins/pgf/Makefile.am: 
1367         * plug-ins/Makefile.msc: 
1368         * plug-ins/Makefile.am (SUBDIRS): 
1369         * configure.in: Patch from Moritz Kirmse <momomaniac@gmail.com>: Add
1370         support for PGF output for including in (La)TeX documents that
1371         allows PDF generation.
1373         * samples/render-test.dia: Added samples of text in different
1374         sizes, standard fonts and styles with size markers.
1376 2005-12-04  Lars Clausen  <lars@raeder.dk>
1378         * lib/Makefile.am (gen_sources): Mark marshal files as generated.
1379         (BUILT_SOURCES): Added marshal files.
1381 2005-12-03  Lars Clausen  <lars@raeder.dk>
1383         * lib/Makefile.am (diamarshal.c): Fix marshal rules to not talk
1384         about $(srcdir) and confusing everybody.
1386         * app/undo.c:
1387         * lib/diagramdata.c:
1388         * lib/diagramdata.h:
1389         * lib/diamarshal.list:
1390         * plug-ins/python/pydia-diagram.c:
1391         * plug-ins/python/pydia-diagramdata.c:
1392         * plug-ins/python/python-startup.py: Patch from David Johansson
1393         <david.lgj@gmail.com>: Add signals emitted when objects are
1394         inserted or removed.
1396 2005-11-13  Lars Clausen  <lars@raeder.dk>
1398         * app/display.c (update_zoom_status): Fix of bug #321387: Avoid
1399         (small) buffer overflow by using g_strdup_printf instead of sprintf.
1401 2005-11-09  Lars Clausen  <lars@raeder.dk>
1403         * app/app_procs.c: 
1404         * plug-ins/dxf/dxf-import.c (import_dxf): Don't use g_error except
1405         when reaching the statement is a bug.  Using g_critical and exit() for
1406         fatally wrong inputs.
1408         * objects/UML/uml.c: 
1409         * objects/UML/class.c: Patch from dklotzbach@foxvalley.net (dave
1410         Klotzbach): Fixes template rendering and converts home-brew inline
1411         doc format to javadoc.  Doesn't yet fix bug #320934, but turns it
1412         into a dup.
1414 2005-11-07  Lars Clausen  <lars@raeder.dk>
1416         * lib/object.[ch]: Add 'enclosing box' as opposed to 'bounding
1417         box' since several objects have problems of using bounding box in
1418         different ways (see bug #300055).  For now, enclosing box ==
1419         bounding box, but over time objects will learn to expand the
1420         bounding box to include things only rendered interactively.
1422         * app/modify_tool.c (modify_motion): Make sure highlight is reset
1423         when moving between overlapping objects.
1425         * app/interface.c (interface_toggle_mainpoint_magnetism): Redraw
1426         diagram after toggling to make red X's come and go.
1428         * lib/font.c: #ifdef'd out layout cache for bug #307320.  Define
1429         it if you need faster rendering and aren't afraid of crashbugs:)
1431         * lib/objchange.c: Bugfix from dklotzbach@foxvalley.net
1432         (dave Klotzbach):  Fixes null pointer problems in free function.
1434         * objects/UML/class.c
1435         * objects/UML/class.h
1436         * objects/UML/class_dialog.c: Patch from dklotzbach@foxvalley.net
1437         (dave Klotzbach): Make UML comments conform to UML 1.0 standard
1438         and allow multi-line comments. Ugly as hell, but standard.  Time
1439         for a 'Strict UML' option?  Fixes bug #303744.
1440         
1441         * objects/UML/state.c: Patch from Peter Allin <peter@peca.dk>: Add
1442         entry, exit and do descriptions to a state object.  Fixes bug #65434.
1444 2005-11-03  Lars Clausen  <lars@raeder.dk>
1446         * lib/arrows.c:
1447         * lib/attributes.c:
1448         * lib/autoroute.c:
1449         * lib/bezier_conn.c:
1450         * lib/boundingbox.c:
1451         * lib/color.c:
1452         * lib/connection.c:
1453         * lib/connectionpoint.c:
1454         * lib/dia_dirs.c:
1455         * lib/dia_image.c:
1456         * lib/dia_svg.c:
1457         * lib/dia_xml.c:
1458         * lib/diaarrowchooser.c:
1459         * lib/diaerror.c:
1460         * lib/diagdkrenderer.c:
1461         * lib/diagramdata.c:
1462         * lib/element.c:
1463         * lib/object.c:
1464         * lib/object.h:
1465         * lib/parent.c:
1466         Added documentation java-doc style.  Also a few trivial cleanups.
1467         
1468 2005-10-13  Lars Clausen  <lars@raeder.dk>
1470         * lib/connectionpoint.h (DIR_ALL): Parentheses around operations
1471         in macros.
1473         * plug-ins/hpgl/hpgl.c (export_data): Correct error message.
1475         * lib/Makefile.am:
1476         * lib/debug.[ch]:
1477         * lib/object.[ch]: 
1478         * objects/UML/class.[ch]: 
1479         * objects/UML/uml.h: 
1480         * objects/UML/umlattribute.c: 
1481         * objects/UML/umloperation.c: 
1482         * objects/UML/class_dialog.c: 
1483         Rework of the UML class attribute/operation handling.  Now doesn't
1484         copy connection points into the dialog data, but only the "flat"
1485         data.  As part of debugging made sanity check functionality.
1486         Currently still dies when deleting an attribute/operation that has
1487         a connection to it.
1489 2005-10-09  Hans Breuer  <hans@breuer.org>
1491         * lib/properties.h : prefer american spelling of colo(u)r for
1492         user visible strings - i.e. to be translated ones.
1493         * objects/UML/uml.c : it is Implementation. Together fixes bug #313929
1494                                         ^
1495         * po/*.po : updated (by 'make distcheck')
1497 2005-10-09  Hans Breuer  <hans@breuer.org>
1499         * app/display.c : allow !"toolbox on top" without restart.
1500         (Chris Hellberg, bug #310702)
1502 2005-10-09  Hans Breuer  <hans@breuer.org>
1504         * lib/arrows.c : patch from Radek Krahl fixing the blanking
1505         of two arrowheads, bug #310157
1507 2005-10-08  Hans Breuer  <hans@breuer.org>
1509         * plug-ins/python/group_props.py : show a descriptive text instead of an 
1510         empty table if there are no common properties to change. Fixes bug #314432
1512 2005-10-08  Hans Breuer  <hans@breuer.org>
1514         * objects/UML/transition.c : inverted default direction of
1515         the direction. Patch from Peter Allin, fixes bug #318049
1516         [You possibly need to 'rm ~/.dia/defaults.dia' to have an effect]
1518 2005-10-08  Hans Breuer  <hans@breuer.org>
1520         * app/Makefile.am objects/standard/Makefile.am : match the
1521         referenced icons to the needed. Make 'make distcheck' pass
1522         and thus fixes bug #312152
1524         * objects/standard/textobj.c : no C++ comments please!
1526 2005-10-08  Hans Breuer  <hans@breuer.org>
1528         * objects/standard/textobj.c : preserve the position set on create
1529         [makes e.g. text positioning of diasvg_import.py work]
1531         * plug-ins/python/diasvg_import.py : restrict what eval() can do
1532         with strings from svg files. Fixes the arbitrary code execution from 
1533         bug #317637
1534         
1535         * app/pixmaps/mainpoints-(on|off).png : new icons to toggle center point
1536         magnetism. At least they are distinguishable from grid snapping.
1537         * app/makefile.msc app/Makefile.am : use them
1538         
1539         * lib/focus.c(reset_foci) : also remove_focus(). This fixes bug #172851
1540         I also can't reproduce bug #309044 anymore (on win32).
1541         
1542 2005-10-01  Lars Clausen  <lars@raeder.dk>
1544         * lib/connectionpoint.h (DIR_ALL): Parentheses around | expressions.
1546         * plug-ins/hpgl/hpgl.c (export_data): Listen to warnings and don't
1547         pass FILE * as gchar *.
1549         * lib/debug.[ch] (dia_assert_true): Debugging aids.
1551 2005-09-29  Lars Clausen  <lars@raeder.dk>
1553         * objects/UML/class.h: Enabling mainpoints for UML.
1555         * objects/UML/class.c (umlclass_set_props): Make sure to always
1556         realloc connection point list.
1558 2005-09-26  Ahmad Riza H Nst  <rizahnst@id.gnome.org>
1560         * configure.in: Added "id" in ALL_LINGUAS line.
1562 2005-09-14  Lars Clausen  <lars@raeder.dk>
1564         * objects/UML/class.c (umlclass_load): Set mainpoint obj upon
1565         loading.  Fixes bug #315427.
1567 2005-09-11  Hans Breuer  <hans@breuer.org>
1569         * objects/standard/arc.c objects/standard/textobj.c : fix
1570         C99isms, Dia is supposed to compile with C89 like msvc
1572         * app/makefile.msc : use the wrong center-point-magnetism
1573         icons for the win32 build, too.
1575         * plug-ins/python/pydia-error.c : dont crash on C escape
1576         sequences in the error string
1577         * plug-ins/python/pydia-render.c : dont free filename twice
1579         * plug-ins/python/dot.py : start of an exporter to DOT language
1580         which can be processed by www.graphviz.org tools
1582 2005-09-05  Iñaki Larrañaga  <dooteo@euskalgnu.org>
1584         * configure.in: Added "doc/eu/Makefile" for Basque documentation.
1586 2005-09-04  Iñaki Larrañaga  <dooteo@euskalgnu.org>
1588         * configure.in: Added "eu" to ALL_LINGUAS.
1590 2005-09-04  Lars Clausen  <lars@raeder.dk>
1592         * lib/element.h (ELEMENT_COMMON_PROPERTIES): Remove object
1593         dimensions frame to make ext_attributes work again.
1595         * app/grid.c (snap_to_grid): Bugfix from Zhang Lin-bo
1596         <zlb@lsec.cc.ac.cn>: Use dynamic grid setting from diagram, not
1597         global prefs.
1599         * objects/standard/textobj.c: Applied patch from Grégoire Dooms
1600         <dooms info ucl ac be>: Add vertical alignment for standard text
1601         object.  This should really be moved into lib/text.c and apply to
1602         all text objects.
1604 2005-09-03  Lars Clausen  <lars@raeder.dk>
1606         * app/connectionpoint_ops.c (connectionpoint_draw): Only draw
1607         mainpoint when snap-to-objects is not on.
1609         * app/Makefile.am (ICON_PNG_PAIRS): 
1610         Fake icons for snap-to-objects.
1612         * app/commands.[ch]: 
1613         * app/menus.c (menus_get_image_menubar): 
1614         * app/display.[ch]: 
1615         * app/interface.c (create_display_shell): 
1616         * app/create_object.c (create_object_button_release): 
1617         * app/disp_callbacks.c (ddisplay_drop_object): 
1618         * app/object_ops.[ch]: 
1619         * app/connectionpoint_ops.c (ddisplay_connect_selected): 
1620         * app/modify_tool.c (modify_button_release): 
1621         * app/display.[ch]: 
1622         Togglable snap-to-objects, also doesn't snap when moving entire
1623         object.  This should be more reasonable in practical use, and can
1624         be turned off when you want to place your arrows more precisely.
1626 2005-08-06  Hans Breuer  <hans@breuer.org>
1628         * plug-ins/cairo/diacairo.c : increased #ifdef MESS:
1629         With Gtk+-2.7.x cairo must be available so the HAVE_CAIRO case
1630         becomes even more ugly when the user has choosen *not* to build 
1631         the diacairo plug-in. If noone can come up with a very convincing 
1632         reason why it has to be done this way I'll probably go back to 
1633         my original dont-build-at-all approach when this breaks the 
1634         next time.
1636 2005-08-02  Lars Clausen  <lars@raeder.dk>
1638         * objects/standard/arc.c: Patch from Grégoire Dooms
1639         <dooms@info.ucl.ac.be>: An almost perfect arc autogap
1640         implementation.  "There is still a small bug when the non
1641         connected end of the arc is very close to the border of the
1642         connected object. I think this is due to rounding errors in the
1643         code for SHIFT-move handle which is reused to trim the arc in
1644         autogap. Also it is not yet possible to have a startgap and an
1645         endgap from/to the same central CP."
1647 2005-07-31  Hans Breuer  <hans@breuer.org>
1649         * plug-ins/cairo/diacairo.c congigure.in : dont wait any 
1650         longer for distributions official packages - depend 
1651         on cairo 0.6.0 - fixes bug #307144
1653 2005-07-20  Hans Breuer  <hans@breuer.org>
1655         * lib/element.h : remove stray NULL in ELEMENT_COMMON_PROPERTIES
1656         which must match PropDescription, that is make it at least compile.
1658 2005-07-19  Hans Breuer  <hans@breuer.org>
1660         * app/diagram.c(new_diagram) : what comes from g_object_new()
1661         MUST NOT be g_free()'d 
1663         * lib/message.h : added dia_message_filename() here as well.
1664         Mainly to not touch all files using. They *all* where using
1665         lib/message.h already! Maybe the implemantation should be moved
1666         to message.c as well cause the function has *nothing* to do
1667         with dynamic filename resolving. It is a wrapper around
1668         g_display_filename() mostly (only?) used for messages ...
1669         * lib/dia_dirs.c(dia_message_filename) : fix C99ism
1671 2005-07-18  Lars Clausen  <larsrc@raeder.dk>
1673         * objects/EML/instantiation.c (instantiation_load): 
1674         * objects/EML/interaction-ortho.c (interaction_ortho_type) 
1675         * objects/ER/participation.c (participation_type): 
1676         * objects/FS/flow-ortho.c (orthflow_type): 
1677         * objects/GRAFCET/vector.c (arc_load): 
1678         * objects/standard/zigzagline.c (zigzagline_type): 
1679         * objects/UML/transition.c (transition_load): 
1680         * objects/UML/realizes.c (realizes_load): 
1681         * objects/UML/dependency.c (dependency_load): 
1682         * objects/UML/generalization.c (generalization_type): 
1683         * objects/UML/association.c (association_type): 
1684         * objects/UML/component_feature.c (compfeat_load): 
1685         Make autorouting deafult on except for old diagrams.
1687         * plug-ins/cairo/diacairo.c (export_data): 
1688         * plug-ins/cgm/cgm.c (export_cgm): 
1689         * plug-ins/dxf/dxf-export.c (export_dxf): 
1690         * plug-ins/dxf/dxf-import.c: 
1691         * plug-ins/hpgl/hpgl.c (export_data): 
1692         * plug-ins/metapost/render_metapost.c: 
1693         * plug-ins/pixbuf/pixbuf.c: 
1694         * plug-ins/pstricks/render_pstricks.c: 
1695         * plug-ins/python/pydia-render.c: 
1696         * plug-ins/shape/shape-export.c: 
1697         * plug-ins/svg/render_svg.c: 
1698         * plug-ins/svg/svg-import.c: 
1699         * plug-ins/wpg/wpg.c 
1700         * plug-ins/xfig/xfig-export.c: 
1701         * plug-ins/xfig/xfig-import.c: 
1702         * plug-ins/xslt/xslt.c: Use dia_message_filename to ensure legal
1703         UTF-8 in message boxes.
1705 2005-07-18  Lars Clausen  <lars@raeder.dk>
1707         * lib/element.h (ELEMENT_COMMON_PROPERTIES): Allow Element objects
1708         to have their dimensions specified in properties.  Still needs to
1709         have proper update when setting properties cause constraint changes.
1711         * app/preferences.c (update_floating_toolbox): Allow
1712         toolbox_on_top setting to happen at once.
1714         * app/diagram.c
1715         * app/filedlg.c
1716         * app/load_save.c
1717         * app/render_eps.c
1718         * app/sheets_dialog_callbacks.c
1719         * lib/dia_dirs.c
1720         * lib/dia_dirs.h
1721         * lib/dia_xml.c
1722         * lib/diarenderer.c
1723         * lib/element.h
1724         * lib/object_defaults.c:
1725         Patch from lav@altlinux.ru (Vitaly Lipatov): Make filenames safe
1726         for displaying in messages - better than crashing!  Mostly fixes
1727         #310087.
1728         
1729         * objects/UML/class.c:  Save normal_font_height under the same
1730         name it gets loaded as.  Fixes bug #310515.
1732         * doc/en/authors.xml
1733         * doc/en/usage-customization.xml
1734         * doc/en/usage-objects-special.xml
1735         * doc/en/usage-objects.xml: Some documentation fixes.  Fixes bug
1736         #308315.
1738 2005-07-17  Lars Clausen  <lars@raeder.dk>
1740         * doc/en/usage-customization.xml: 
1741         * doc/en/usage-objects.xml: 
1742         * doc/en/authors.xml: 
1743         * doc/en/usage-objects-special.xml: Applied patch from
1744         stigge@antcom.de (Roland Stigge):  Diverse typos and
1745         misencodings.  Fixes bug #308315.
1747         * objects/UML/class.c (umlclass_save): Patch from
1748         i.pilcher@comcast.net: Save normal font height under correct name
1749         to reload it.  Fixes bug #310515.
1751 2005-07-10  Hans Breuer  <hans@breuer.org>
1753         * app/connectionpoint_ops.c app/object_ops.c : make the
1754         'whole object' connection point only center point again. 
1755         That is: it is visible and far less magnetic. Only the
1756         line gap handling make it special. For me this probably
1757         fixes bug #303301
1759         * lib/neworth_conn.c : apply the same as for bug #173031.
1760         This OrthConn fork got broken as well. Fixes bug #309381
1762         * app/makefile.msc objects/makefile.msc : adapt to icon changes
1764         * app/interface.c app/diagram_tree.c : a char** is still not 
1765         a char* and the win32 build is configured to error on 
1766         sloppiness like this
1768         * plug-ins/wmf/wmf.cpp : fix typo in preprocessor condition
1770 2005-07-10  Hans Breuer  <hans@breuer.org>
1772         [
1773           Take part in the toolbox icon redesign context! If you want to 
1774           make them really prettier, please keep the following in mind :
1775           - the size *must* be 22x22 otherwise button reflow will get broken.
1776             Or you need to change about 800 icons at once.
1777           - one important part of Dia are control points, so maybe the icons
1778             should reflect that. (IMO gathering random icons form other 
1779             apps wont work)
1780           - the icons should at least look consistent in their group
1781         ]
1783         * app/Makefile.am : use 22x22 variants mostly lent from The GIMP
1784         * app/pixmaps/*.png : added arrow-22.png scroll-22.png zoom-22.png
1786         * objects/standard/*.c : get rid of xpm includes to avoid mixing icon sets
1787         * objects/standard/pixmap/* : added arc.png beziergon.png 
1788         bezierline.png box.png ellipse.png image.png line.png polygon.png 
1789         polyline.png text.png zigzagline.png
1790         * objects/standard/Makefile.am : use the new icon set including
1791         text and arc ...
1793         * app/interface.c : remove the "will probably crash" debug spew
1795 2005-07-09  Lars Clausen  <lars@raeder.dk>
1797         * objects/standard/pixmaps/*.png:
1798         * objects/standard/Makefile.am:
1799         * objects/standard/*.c:
1800         * app/interface.c: 
1801         * app/diagram_tree.c (create_object_pixmap): Fix icon loading. use
1802         new icons. [Slightly belated entry]
1804 2005-07-03  Hans Breuer  <hans@breuer.org>
1806         * app/diagram_tree.c : dont leak display name
1807         * app/app_procs.c : dont leak GOptionContext
1808         * app/prop_widgets.c(frame_beginprop_get_widget) : 
1809         Gtk api still not eating strings ...
1811         * objects/UML/class.c() : don't load properties once more 
1812         which are already loaded by StdProps. In case of strings 
1813         (data_string) it has even produced leaks.
1815         * app/paginate_psprint.c app/diagram.[hc] : the last
1816         of the related dialogs is gone and with it the 
1817         misconception of destroying widgets from 
1818         diagram::finalize()
1819         * app/display.c : ensure the diagram is still threre
1820         when we remove the display from it's list
1822 2005-07-01  Hans Breuer  <hans@breuer.org>
1824         * lib/widgets.c(dia_color_selector_more_callback): dont 
1825         free old_color twice
1827         * plug-ins/wmf/wmf.cpp : finally added enahnced meta file
1828         option. Thus linestyles can be preserved on export - at 
1829         least on NT based systems.
1831         * NEWS : clarify the wmf outside of windows issue
1833         * app/modify_too.c : fix C99ism
1835         * objects/standard/arc.c : debug spew optional at compile time
1837 2005-06-26  Hans Breuer  <hans@breuer.org>
1839         [ Cyrille would call it: warningectomy :-]
1841         * lib/font.c app/create_object.c : `...' might be used uninitialized
1842         in this function. Yes they were.
1843         * app/modify_tool.c : modify_tool.c:610: warning: `obj' might be used 
1844         uninitialized in this function. Yes it was with textedit_activate_object()
1845         Also some static correctness.
1846         * lib/diarenderer.c:678: warning: no previous prototype for 
1847         `calculate_min_radius'. Made static.
1848         * lib/dia_svg.c : ptr is a gchar *
1849         * dia_xml.c(data_point,data_rectangle) : gchar *str for parsing
1850         * lib/prop_text.c(multistringprop_get_widget) : use G_CALLBACK
1851         * app/app_procs.c : confirm warning and make dump_dependencies() static
1852         * app/autosave.c : #if 0'd old stuff
1853         * app/display.c : GTK_CHECK_MENU_ITEM() for snap_to_grid
1854         * 
1855         * lib/text.c lib/font.c objects/standard/line.c object/UML/class.c
1856           objects/Istar/goal.c objects/standard/bezier.c objects/standard/beziergon.c
1857           plug-ins/cgm/cgm.c plug-ins/cairo/diacairo.c plug-ins/hpgl/hpgl.c
1858           plug-ins/wpg/wpg.c plug-ins/svg/svg-import.c plug-ins/shape/shape-export.c
1859           plug-ins/dxf/dxf-export.c plug-ins/gprint/diagnomeprintrenderer.c
1860           plug-ins/gprint/diagnomeprint.c  plug-ins/xfig/xfig-export.c
1861           app/diagram_tree_menu_callbacks.c app/recent_files.c app/undo.c app/menus.c
1862           app/diapsrenderer.c app/diagram.c app/disp_callback.c : 
1863         removed unused variables and functions
1864         * objects/UML/umlattribute.c objects/UML/umloperation.c 
1865           objects/UML/umlparameter.c objects/UML/umlformalparameter.c : 
1866         neither 'missing braces around initializer' nor 'initialization from 
1867         incompatible pointer type'
1868         * objects/UML/class_dialog.c : more static
1869         * app/interface.c : static and almost const correctness and some
1870         less unitialized variables.
1871         * app/diapsft2renderer.c : use (int) casts like the original 
1872         (http://imagic.weizmann.ac.il/~dov/freesw/paps/ v0.4) does
1873         * app/render_gdk.c: stop assignment from incompatible pointer type,
1874         make member functions match the prototype.
1875         * app/render_libart.c : Dito. Also stop caching the copy_gc in
1876         a static variable. Otherwise it finally leaks and also may cause 
1877         BadMatch with changing windows
1878         => warning count down from about 250 to about 60, one or two hand full 
1879            crash bugs less.
1881 2005-06-26  Hans Breuer  <hans@breuer.org>
1883         * lib/libdia.def : added dia_font_get_description, missing
1884         from my last commit
1886         * app/app_procs.c : use png_get_header_ver(NULL), that is:
1887         prefer function call over exported variable to get the 
1888         runtime version of libpng
1890 2005-06-19  Hans Breuer  <hans@breuer.org>
1892         * plug-ins/python/Makefile.am : added codegen.py to EXTRA_DIST
1893         as suggested by Roland Stigge, bug #308310
1895 2005-06-19  Hans Breuer  <hans@breuer.org>
1897         * app/filedlg.c(file_export_callback) : oops, gtk_widget_show() wasn't 
1898         called anymore
1900 2005-06-18  Hans Breuer  <hans@breuer.org>
1902         * NEWS : mention new file dialog
1904         [plugged remaining leaks from bug #142669]
1905         * lib/prop_attr.c(fontprop_free) : not only unref the font
1906         but free the property itself, too. 
1907         * app/diagram_tree.c(create_diagram_children): remember the
1908         original list start to not only free the last element 
1910         * lib/prop_sdarray.c:64: warning: `arrayprop_free' defined 
1911         but not used. Here it meant a potentially huge leak.
1913 2005-06-18  Hans Breuer  <hans@breuer.org>
1915         * po/POTFILES.in : removed app/diaconv.c which isn't referenced 
1916         by app/Makefile.am anymore either. Should finally fix 'make distcheck' 
1917         for others, too. ( Roland Stigge, bug #144527 )
1919 2005-06-18  Hans Breuer  <hans@breuer.org>
1921         * plug-ins/wmf/Makefile.am : prevent installation. It 
1922         doesn't do anything useful on *NIX and even seems to be
1923         linked wrong by gcc (or me;). Fixes bug #172830 
1925 2005-06-18  Hans Breuer  <hans@breuer.org>
1927         * app/textedit.[hc] lib/arrows.[hc] plug-ins/xslt/xslt.h
1928           plug-ins/xslt/xsltdialog.c plug-ins/xslt/xslt.c : fix for sloppiness
1929         in function declarations. 'f();' for a function without parameters is
1930         a C++ism. Though I can't get any of my compilers to warn about it.
1931         Finally fixes bug #142663.
1933 2005-06-18  Hans Breuer  <hans@breuer.org>
1935         * app/textedit.[hc] lib/arrows.[hc] plug-ins/xslt/xslt.h
1936           plug-ins/xslt/xsltdialog.c plug-ins/xslt/xslt.c : fix for sloppiness
1937         in function declarations. 'f();' for a function without parameters is
1938         a C++ism. Though I can't get any of my compilers to warn about it.
1939         Finally fixes the rest of bug #142663.
1941 2005-06-18  Hans Breuer  <hans@breuer.org>
1943         * lib/font.h lib/font.c : _DiaFont is now private to prepare bigger 
1944         changes but doesn't hurt anyway. See bug #162034 
1945         * app/diapsft2renderer.c app/modify_tool.c 
1946           plug-ins/gprint/diagnomeprintrenderer.c : use dia_font_get_description() 
1947         instead of messing with internals
1948         * app/display.c : give interactive renderers more begin/end render. 
1949         It is guaranteed that the scale wont change between these.
1951 2005-06-18  Hans Breuer  <hans@breuer.org>
1953         * app/app_procs.c : const correctness for stderr_message_internal
1954         * app/dia-props.c : gtk_toggle_*() functions want GTK_TOGGLE_BUTTON 
1955         not GTK_CHECK_BUTTON, also some G_CALLBACK casts
1956         * app/disp_callbacks.c : don't dereference the to the function call
1957         when the function pointer in meant to be checked against 0
1958         * app/interface.c : warning fixes by using correct types
1959         * app/modify_tool.c : describe_props() members returns const pointer
1960         * app/render_libart.c : removed most of the render function again.
1961         They happily live in lib/dialibartrenderer.c since almost 3 years
1962         http://cvs.gnome.org/viewcvs/dia/app/render_libart.c?r1=1.31&r2=1.32
1963         * lib/dia_dirs.c : dia_get_canonical_path() const correctness
1964         * lib/dia_svg.c lib/dia_xml.c : some char to xmlChar changes
1965         * lib/dialibartrenderer.c(set_line_join): actually set the join_style
1966         instead of the cap_style. Don't initialize Art* enums with GDK_* constants.
1967         Both mentioned in bug #159814 and not warned by most other compilers.
1968         * lib/diagtkfontsel.c : at least the watcom compiler did not like the
1969         trailing colon in the GtkTypeInfo initialization
1970         * lib/properties.c : avoid redefinition of LIBDIA_COMPILATION
1971         * lib/dialinechooser.c lib/diagdkrenderer.c : there may be a difference 
1972         between char and gint8
1973         * plug-ins/metapost/render_metapost.c : replace invalid escape \% with %%
1974         * plug-ins/wpg/wpg.c : consitently use guint8
1975         * config.h.win32 : change HAVE_* defines to 1 not empty, avoids 
1976         redefinition warnings for python and xslt plug-ins
1978 2005-06-18  Hans Breuer  <hans@breuer.org>
1980         * lib/diagramdata.c : really get rid of diagram_data_destroy 
1981         and new_diagram_data [ no previous prototype for `...' is either
1982         a sign of missing static or of a function to vanish :-]
1984         * lib/geometry.c : apparently the G_INLINE stuff was working only
1985         with particular GLib version(s), glib-2.6.4 does not. Conditionally
1986         reverting to the old mecanics.
1988 2005-06-17  Hans Breuer  <hans@breuer.org>
1990         * plug-ins/python/pydia-*.c : include order tweaking to 
1991         get rid of redefinition warnings. Ensure to include <Python.h> 
1992         before any 'system' header, some dragged in by glib.h
1993         * plug-ins/python/pydia-diagramdata.c(PyDiaDiagramData_Str)
1994           pydia-properties.c(PyDiaProperties_Str)
1995           plug-ins/python/pydia-property.c(PyDiaProperty_Str) : 
1996         use %p to format pointers
1997         * plug-ins/python/pydia-geometry.c(PyDiaArrow_Str) : 
1998         dont cast to float for %d
1999         * plug-ins/python/pydia-handle.c(PyDiaHandle_Connect) : 
2000         use correct pointer type
2001         * plug-ins/python/pydia-image.c(PyDiaImage_Str) :
2002         dont discard qualifier aka dont free const strings
2003         * plug-ins/python/pydia-properties.c : casts to PyCFunction
2004         * plug-ins/python/pydia-property.c : removed unused function,
2005         make ensure_quarks() static
2006         * plug-ins/python/pydia-render.c : removed unused vars, use
2007         the correct signature for begin_render
2008         (dia_py_renderer_finalize): pluged a leak
2009         => except -fno-strict-aliasing there is no warning left in 
2010            all of PyDia
2012 2005-06-12  Hans Breuer  <hans@breuer.org>
2014         * app/filedlg.c : really fix the file extension mismatch on export dialog
2015         by working around some gtk+-2.6 behaviour (bug #307378). Fixes bug #305850
2017 2005-06-11  Hans Breuer  <hans@breuer.org>
2019         * configure.in config.h.win32.h : mark as +cvs (should have been 
2020         done directly after the 0.94 release)
2021         * NEWS : attempt to summarize 2/3 year of development
2023         [ 
2024           WANT_AUTOMAKE=1.7 ./autogen.sh && ./conifugre  --enable-maintatiner-mode && make distcheck
2025           finally passes again
2026         ]
2027         * app/app_procs.c : force use of POPT for the GNOME case, otherwise
2028         app/run_dia.sh --credits > THANKS => Segmentation fault
2029         * app/pixmaps/Makefile.am : added group.png and ungroup.png
2030         * Makefile.am : work around scrollkeeper bug
2031         * doc/en/Makefile.am : explicit list DISTCLEANFILES = dia.1
2033         * po/*.po : 'noise' produced by make dist
2035 2005-06-10  Hans Breuer  <hans@breuer.org>
2037         * lib/properties.h : define PROP_STD_SHOW_BACKGROUND_OPTIONAL ...
2038         * objects/custom/custom_object.c : ... and use it to avoid 
2039         complains about missing attribute "show_background". It is 
2040         safe to leave this uninitialized. Same for flip_* and "text",
2041         the latter with comment cause it usually is *not* safe to do 
2042         it for the general case. Fixes remaining issues with bug #169006
2043         which where caused by an incompatible change in the shape file.
2045         * app/commands.c : use "gnome-open" instead of "netscape" as
2046         fallback for $BROWSER not set. Still not optimal but better
2047         to try some common desktop tool than an obsolete browser;)
2048         Fixes bug #307142. Also some whitespace changes.
2050         * app/interface.c(toolbox_delete): avoid random return value.
2051         Patch from Stanislav Brabec, fixes bug #307143
2053         * shapes/Cisco/Makefile.am : added a bunch of new shapes/pngs.
2054         Patch from Torben H. Nielsen (bugzilla is still the preferred way)
2055         http://mail.gnome.org/archives/dia-list/2005-June/msg00015.html
2057 2005-06-06  Lars Clausen  <lars@raeder.dk>
2059         * app/diagram.c: 
2060         * app/modify_tool.c:
2061         * app/textedit.[ch]:
2062         Better support for text edit highlight.
2064         * app/connectionpoint_ops.c (connectionpoint_draw): Stop making
2065         the mainpoint extra visible.
2067 2005-06-02  Lars Clausen  <lars@raeder.dk>
2069         * objects/UML/class_dialog.c:
2070         * objects/UML/class.[ch]:
2071         The final fixes for mainpoint on UML Class.
2073         * sheets/cisco*.in, shapes/Cisco/*: New set of Cisco icons from
2074         Ian Redfern, now in color and with mainpoints!  Very pretty!
2076 2005-06-02  Hans Breuer  <hans@breuer.org>
2078         * objects/UML/class_dialog.c : the memory managment with respect to
2079         attribute/operation connections was/is a mess. But it should work again ;)
2081         * samples/UMLPackages.dia samples/Composite-Action.dia : some diagrams
2082         directly from the UML Specification - to show the power of Dia and 
2083         some weakness. Watch the bug reports following ;)
2085 2005-06-01  Hans Breuer  <hans@breuer.org>
2087         * app/dia.def : export diagram_update_connections_object
2088         * plug-ins/python/pydia-diagram.c : wrap diagram_update_connections_object
2089         Patch from Paolo Bernardi, together with the property setting closes bug #300572
2091 2005-06-01  Hans Breuer  <hans@breuer.org>
2093         * plug-ins/python/pydia-property.c : complete refactoring of property 
2094         setting, now also supports setting of property arrays
2095         * plug-ins/python/pydia-*.c plug-ins/python/diamodule.c : adapt to 
2096         Python namespacing conventions
2097         * plug-ins/python/pydiadoc.py : use the stuff above to produce more 
2098         complete UML Classes with attributes and operations
2099         * plug-ins/python/otypes.py : now also show the properties of the objects
2101         * objects/UML/class.c(umlclass_set_props) : need to update object::connections
2102         (pointers), they might be changed with attributes and opertions changing
2104         * plug-ins/python/pydia-property.c : PointArray and BezPointArray property getters
2105         were broken. Apparently noone used them before.
2107         * plug-ins/python/pydia-diagram.c plug-ins/python/pydia-diagramdata.c : moved methods
2108         which only operate on the DiagramData to the latter file. To get on the DiagramData
2109         object of a Diagram use diagram.data. [In C the Diagram is a subclass of DiagramData, 
2110         but I don't know how to reflect that in the bindings. And for backward compatibility 
2111         there also is the 'data' member.]
2113         * objects/UML/uml.c objects/UML/umlattribute.c objects/UML/umloperation.c 
2114           objects/UML/umlparameter.c : describe enums with PropEnumData
2116         * app/commands.c(view_show_all_callback) : if there is something selected show 
2117         that instead of all exisiting objects. If there is noting or all selcted it 
2118         "Show all" shows the old behaviour.
2120         * lib/parent.[hc] lib/object.c app/disp_callbacks.c app/diagram.c : plug some memory 
2121         leaks and use less allocations caused by misguided API. Also some adaption to common 
2122         coding style
2124         * objects/UML/class.h : add some comment about the brokeness of UML_MAINPOINT
2126         * app/makefile.msc : added new icons and build as console app while 
2127         not releaseing to the general public
2129         * objects/custom/shape_info.c : use g_strdup("") for a field to be g_free()'d
2130         and keep a refernce when storing the a font from style="" in s.font. This should
2131         finally allow to have shapes with fully predefined text (and no 'random' crashes)
2133         * plug-ins/gprint/diagnomeprint.c : disable GNOME_SVG until I've found a program
2134         capable to interpret it's output
2136 2005-05-31  Lars Clausen  <lars@raeder.dk>
2138         * sheets/ER.sheet.in: No more xpms referenced in sheets. Fixes bug #151811.
2140 2005-05-30  Pawan Chitrakar  <pawan@nplinux.org>
2142         * configure.in: Added ne in ALL_LINGUAS
2144 2005-05-24  Lars Clausen  <lars@raeder.dk>
2146         * lib/font.c: Change to make DIA_FONT_ITALIC turn into -Oblique PS
2147         fonts for legacy fonts.  They don't have DIA_FONT_OBLIQUE setting
2148         anyway. 
2150 2005-05-23  Lars Clausen  <lars@raeder.dk>
2152         * lib/paper.c: Added Ledger size paper.  Fixes bug #305254.
2154 2005-05-21  Lars Clausen  <lars@raeder.dk>
2156         * lib/diaarrowchooser.c: 
2157         * lib/arrows.[ch]: Patch from Radek Krahl <ptasz3k@o2.pl>: Add
2158         'infinite' line (three dots) arrowhead.  Fix line length in arrow
2159         preview.  And fix typo.  Fixes bug #303904. 
2161 2005-05-20  Hans Breuer  <hans@breuer.org>
2163         * lib/text.c : advice from valgrind and data_string() review:
2164         neither g_free() memory on the stack
2165         * objects/GRAFCET/boolequation.c : ... nor const strings 
2166         * objects/UML/association.c:934 : definitely lost. Even g_strdup("")
2167         wants to be freed
2169         * app/diagram.c : a g_object_ref() following g_object_new() is almost
2170         always wrong. Why would we need two refernces?
2171         * app/app_procs.c : same here.If it crashes later on someone is dropping
2172         refernces he does not own, and *that* needs to be fixed. This is reverting
2173         "Remember to ref g_object_new'd object" (bug #170972) below, which 
2174         causes more harm (leaking, hiding bugs elsewhere) than good.
2176         * app/app_procs.c lib/diagramdata.[ch] lib/libdia.def : get rid of
2177         diagramdata_destroy() which was only a wrapper to g_object_unref()
2179         * app/display.c(selection_changed) : don't g_strdup_printf() without
2180         g_free() later /or/ a C++ comment of me mostly denotes an error
2182         * app/diagram.c : diagram_parent_sort_cb make signature match GCompareFunc
2184         * lib/widget.c : dia_dynamic_menu_select_entry() cleanup. If it takes a
2185         const gchar* entry it must not eat memory, added a lot of g_free() and
2186         some const. Fixed a bunch - i.e. *all* - warnings.
2187         * lib/widget.h : removed unused/deleted functions
2189         * app/layer_dialog.c(dia_layer_widget_connectable_toggled) : trying to
2190         avoid 'Invalid write of size 4', no luck yet
2192 2005-05-19  Lars Clausen  <lars@raeder.dk>
2194         * objects/UML/class.c: 
2195         * objects/UML/class.h: 
2196         * objects/UML/class_dialog.c: Work on getting a proper mainpoint
2197         for uml class object.  #ifdef'd out right now.
2199 2005-05-18  Lars Clausen  <lars@raeder.dk>
2201         * objects/standard/line.c: Make line adjust its actual endpoints
2202         for autogap -- looks and feels better.
2204         * objects/standard/arc.c: 
2205         * lib/geometry.h: 
2206         * app/modify_tool.c: Patch from Grégoire Dooms
2207         <dooms@info.ucl.ac.be>:  First stab at autogap for arcs, and
2208         shifted arc angle movement.
2210 2005-05-16  Hans Breuer  <hans@breuer.org>
2212         * lib/widget.c : variable declarations need to be at the start of a block,
2213         at least as we are not using C++ or C99
2215         * plug-ins/python/pydia-property.c : implment the read part for Property
2216         arrays - aka. umlclass.properties["operations"], umlclass.properties["attributes"]
2217         They are working quite well as can be seen with export-object.py
2219         * plug-ins/python/codegen.py : prove it once more with the generation of C++
2220         or Python code from an UML Diagram. Simply save as .py or .cxx ...
2221         * plug-ins/python/Makefile.am : install it
2223 2005-05-16  Lars Clausen  <lars@raeder.dk>
2225         * app/pixmaps/{un}group.png: 
2226         * app/Makefile.am (ICON_PNG_PAIRS): 
2227         * app/menus.c (display_menu_items): 
2228         New icons for grou/ungroup finally added, closing bug #105519.
2230         * app/Makefile.am: Dependencies for pixmaps.
2232         * app/pixmaps/connectable.png: An icon that actually makes sense
2233         for switching connectability.
2235 2005-05-15  Hans Breuer  <hans@breuer.org>
2237         * lib/group.c object/UML/classicon.c : fixed leftovers of
2238         'Adding connectionpoint to _move_handle
2240         * lib/widgets.c : gtk+ *NEVER* eats strings, so gtk_something(widget, g_strdup())
2241         is *ALWAYS* a memory leak. Plug some more.
2243         [
2244          In preparation to make UML operations/attributes/parameters setable by Python
2245          UML class became more StdProp conformant. A nice experience to be the first 
2246          to use the PROP_TYPE_DARRAY stuff about four years after it was written ;-)  
2247         ]
2248         * objects/UML/umlattribute.c objects/UML/umloperation.c 
2249           objects/UML/umlparameter.c objects/UML/umlformalparameter.c : (new files) 
2250         split from objects/UML/uml.c and made StdProp aware
2251         * objects/UML/class.c : finally make "attributes", "operations", "templates"
2252         <template parameters> first class StdProps citizens.
2253         (umlclass_load) : removed hand-written parsing for the above, it is all done
2254         by object_load_props() now. The old write code is still in place, so be very
2255         careful when changing something - at the moment load/save it is 100% compatible 
2256         as it needs to be.
2257         * objects/UML/uml.c : now just type registration here, as it is supposed to be
2258         * objects/UML/Makefile.am objects/makefile.msc : build the new files
2260         * lib/properties.h(PropDescCommonAreaExtra) : need a place to store the 
2261         in-record offsets
2262         * lib/prop_sdarray.c : made the DARRAY case work, SARRAY still untested
2263         (darray_prop_adjust_object_records) : don't loop forever
2264         (whole file) : use the new (working) way to get on the second level offsets.
2265         Also resolved some abbreviations, it is complicated enough without them ;)
2266         * lib/proplist.c : even complete list contents may be optional
2268 2005-05-15  Hans Breuer  <hans@breuer.org>
2270         * lib/bezier_conn.c(remove_handles) : don't try to remove 
2271         non-exisitng handles (patch from Radek Krahl, bug #302273)
2273 2005-05-15  Hans Breuer  <hans@breuer.org>
2275         * plug-ins/metapost/render_metapost.c : locale independent output
2276         (Radek Krahl, bug #301866)
2278 2005-05-12  Lars Clausen  <lars@raeder.dk>
2280         * shapes/Cisco/*.{shape,png}:
2281         * sheets/cisco*.sheet.in:
2282         Updated with color icons from Ian Redfern, closing bug #303889.
2283         Added automatic midpoints, not attempt at adjusting them.
2285 2005-05-11  Lars Clausen  <lars@raeder.dk>
2287         * many shapes:  Use mid of bounding box for midpoint, better than
2288         mid of connection points generally.
2290 2005-05-10  Lars Clausen  <lars@raeder.dk>
2292         * lib/widgets.c: Decided on one way for the ratio thing in arrow
2293         size selector:  Fixed ratio is on by default and keeps the sizes
2294         at the given ratio, but doesn't clamp them to be the same.  Fixes
2295         bug #302861.
2297         * lib/font.c: Fix for bug #303695: Allow more than one entry of
2298         each legacy name, thereby correctly encoding bold and italic of
2299         the three main fonts.  Also use | rather than || to combine slant
2300         and weight, so matching works.  Had to remove binary search for
2301         new font name, but the list is short enough it's not a problem.
2303 2005-05-09  Lars Clausen  <lars@raeder.dk>
2305         * lib/autoroute.c (autoroute_layout_orthconn): Remove debugging info.
2307 2005-05-08  Hans Breuer  <hans@breuer.org>
2309         * objects/UML/class.c : Reverted to have no center point.
2310         At first it looked as if there was only the bug to not increase
2311         class.h:UMLCLASS_CONNECTIONPOINTS. But the UMLClass has 
2312         potentially much more dynamic connection points (to the left
2313         and right of every attribute/operation). Now simply adding one
2314         between see static and dynamic will screw up any existing diagram
2315         which makes use of the dynamic connection points. The would all
2316         be connected with an off-by-one error. I have no idea how to
2317         code around that. But breaking backward compatibility is no 
2318         option here. Does not completely fix bug #303301 ...
2319         
2320         * lib/widget.c(dia_font_selector_set_font): actually set the options 
2321         menu state. So we are not any longer resetting the font style on Apply.
2322         Use "UML - Class" dialog as stress text example.
2324         * app/command.c : some people insist to close diagrams already
2325         closed using tear-off menus. Maybe we should add a dialog 
2326         "Do you want to call Dr. Watson now?". If there is no diagram
2327         to close anymore just do nothing, fixes bug #303221
2328         * app/display.c(ddisplay_close) : use g_return_if_fail(ddisp != NULL);
2329         Calling this with no display to close is a pathological case.
2331         * app/diagram.[hc] : moved object.h and other DiaObject stuff
2332         to the implementation in preparation of Big Things(tm)
2334         * app/interface.c : less warnings and make it compile. strncmp()
2335         does not take a char**, neither does gdk_pixbuf_new_from_inline().
2337         * objects/makefile.msc plug-ins/makefile.msc : less output
2339 2005-05-08  Lars Clausen  <lars@raeder.dk>
2341         * lib/orth_conn.c (orthconn_init): The right place to set the
2342         default autorouting value.  Fixes bug #303291.
2344         * app/display.c (ddisplay_close): Patch from Radek Krahl
2345         (ptasz3k@o2.pl):  Fix crash when using from detached menu
2346         (#303221)
2347         
2348 2005-05-07  Lars Clausen  <lars@raeder.dk>
2350         * lib/orth_conn.c (orthconn_load): Autorouting should default to
2351         off in diagrams that don't have it explicitly.  All diagrams
2352         should be explicit about it.
2354 2005-05-06  Hans Breuer  <hans@breuer.org>
2356         * app/samples/Self/*.dia : some UML diagrams describing Dia's
2357         inner working (or it's future;)
2359 2005-04-26  Lars Clausen  <lars@raeder.dk>
2361         * app/connectionpoint_ops.c (connectionpoint_draw): Temporary
2362         change to display of mainpoint to be easier to debug autogenerated
2363         ones. 
2365 2005-04-23  Hans Breuer  <hans@breuer.org>
2367         * plug-ins/python/diamodule.c plug-ins/python/pydia-object.h
2368           plug-ins/python/pydia-properties.h : use lib/ prefix for
2369         Dia internal headers with too common names (fixes bug #173061)
2371         * app/display.c : stop special casing the first display of
2372         a diagram. Every display now has it's own refernce. The initial
2373         reference gets dropped when there is no display anymore. See
2374         diagram_remove_ddisplay(). Fixes bug #300744.
2376         * app/diapsft2renderer.c : locale independent output
2377         (Radek Krahl, bug #300847)
2378         * app/paginate_psprint.c :  fixing use of setlocale() calls
2379         (Radek Krahl, bug #300886)
2380         * plug-ins/shape/shape-export.c : fixing use of setlocale() calls
2381         (Radek Krahl, bug #300889)
2383         * objects/UML/class.c : fix another crash with the line 
2384         wrapping code (Gabor Simon, bug #160865)
2386         * plug-ins/cairo/diacairo.c : image rendering had an endianess 
2387         issue (or is this working around a libpixman bug?;)
2389 2005-04-21  Lars Clausen  <lars@raeder.dk>
2391         * lib/polyshape.c (polyshape_update_data): Fixed numpoint off-by-one.
2393         * shapes/**/*.shape: All shapes now have midpoints.
2395 2005-04-20  Lars Clausen  <lars@raeder.dk>
2397         * lib/orth_conn.c (orthconn_update_data): Patch from ptasz3k@o2.pl
2398         (Radek Krahl): Make sure there's enough handles for the line.
2399         Fixes bug #173031.
2401         * objects/UML/node.c (node_draw): Better drawing method avoids
2402         garbage after moving.  Fixes bug #301032.
2404 2005-04-17  Hans Breuer  <hans@breuer.org>
2406         * plug-ins/cairo/diacairo.c : again adapt to Cairo API 
2407         changes (whould compile with current cvs and 0.(3|4).0
2409 2005-04-11  Lars Clausen  <lars@raeder.dk>
2411         * xmldocs.make (all): Fix to put installed docs in right place
2412         under disable-gnome.
2414         * doc/en/Makefile.am: Use xml_files var for xml files, EXTRA_DIST
2415         only for dia.dbk.
2417         * app/commands.c (help_manual_callback): Patch from p@kapcoweb.com
2418         (Leonardo Boshell): Use standard gnome help if called with Gnome.
2420         * app/diapsrenderer.c: Patch from ptasz3k@o2.pl (Radek Krahl): Fix
2421         locale issues for eps output.  Fixes bug #173135.
2423 2005-04-10  Hans Breuer  <hans@breuer.org>
2425         * plug-ins/cairo/diacairo.c : adapt to Cairo PNG API 
2426         changes (somewhat broken)
2427         
2428         * plug-ins/pstricks/render_pstricks.c : still C89 ...
2429         * objects/custom/shape_info.c : ... but with prototypes
2430         
2431 2005-04-07  Lars Clausen  <lars@raeder.dk>
2433         * lib/dia_xml.c: 
2434         * plug-ins/svg/render_svg.c: 
2435         * lib/diasvgrenderer.c: Patches from ptasz3k@o2.pl (Radek Krahl):
2436         Make decimal separators be correct in save file formats
2437         (non-localized).  Fixes bugs #172529 and 172531.
2439 2005-04-06  Lars Clausen  <lars@raeder.dk>
2441         * app/create_object.c (create_object_button_release): 
2442         * app/modify_tool.c (modify_button_release): Correct activations
2443         of text edits.
2445 2005-04-05  Simon KÃ¥gström  <ska@bth.se>
2447         * app/app_procs.c: the --show-layers option can now handle numeric
2448         ranges of layers.
2450 2005-04-05  Lars Clausen  <lars@raeder.dk>
2452         * lib/diagdkrenderer.c (draw_string): Patch from tomkast@yahoo.com
2453         (Tom Kast): Avoid blockiness caused by bad updates.
2455 2005-04-03  Lars Clausen  <lars@raeder.dk>
2457         * lib/polyshape.c: 
2458         * lib/beziershape.c: Main points.  A crude solution, having the
2459         center in the middle of the bb.  Shows a bug in the distance_from
2460         code for polyshape when a side is horizontal.
2462 2005-04-02  Lars Clausen  <lars@raeder.dk>
2464         * plug-ins/pstricks/render_pstricks.c: 
2465         * plug-ins/xfig/xfig-export.c: Patch from Radek
2466         Krahl <ptasz3k@o2.pl>: Fix decimal point problems. Fixes bugs 
2468 2005-04-02  Hans Breuer  <hans@breuer.org>
2470         * lib/dia_image.c(dia_image_filename) : return the path 
2471         again. (bug #172416, Radek Krahl)
2472         
2473 2005-04-01  Steve Murphy  <murf@e-tools.com>
2475         * configure.in: Added "rw" to ALL_LINGUAS.
2477 2005-03-31  Lars Clausen  <lars@raeder.dk>
2479         * lib/neworth_conn.c (neworthconn_update_data): Handle autogap.
2481         * lib/orth_conn.c (orthconn_update_data): Handle autogap while not
2482         autorouting.  
2484         * objects/network/basestation.c: Main points.
2486 2005-03-27  Hans Breuer  <hans@breuer.org>
2488         * app/Makefile.am : removed some pixmap/*.xpm from EXTRA_DIST
2489         * app/pixmaps.h : removed arrow.xpm
2490         * lib/Makefile.am : added diamarshal
2491         * plug-ins/python/Makefile.am : added makefile.msc to EXTRA_DIST
2492         => makes 'make dist' pass and produce a useable package
2494         * po/*.po : 'noise' profuced by make dist
2496 2005-03-24  Lars Clausen  <lars@raeder.dk>
2498         * objects/flowchart/parallelogram.c (pgram_update_data): 
2499         * objects/flowchart/ellipse.c (ellipse_update_data): 
2500         * objects/flowchart/diamond.c (diamond_update_data): 
2501         * objects/flowchart/box.c (box_update_data): Main points.
2503         * objects/custom/custom_object.c (custom_create): 
2504         * objects/custom/shape_info.h: 
2505         * shapes/Assorted/square.shape: 
2506         * objects/custom/shape_info.c (load_shape_info): 
2507         * doc/shape.dtd: Added main point support to shapes, and an
2508         example of how to use it.
2510 2005-03-21  Lars Clausen  <lars@raeder.dk>
2512         * lib/autoroute.c (autoroute_layout_orthconn): Remember to
2513         unnormalize from same point as you normalize, or else!
2515 2005-03-20  Lars Clausen  <lars@raeder.dk>
2517         * app/app_procs.c (do_convert): Patch from crux@gorodmasterov.com:
2518         Remember to ref g_object_new'd object.
2520 2005-03-19  Hans Breuer  <hans@breuer.org>
2522         * plug-ins/xslt/xslt.c : don't crash if both places ($SHARE, $HOME)
2523         have configurations, fixes bug #170962
2525         * objects/UML/state.c : ("UML - State")::type is PROP_FLAG_OPTIONAL,
2526         or better not used any longer. Fixes bug #169142.
2528         * lib/element.c(element_update_connections_rectangle): don't initialize 
2529         the eighth point twice but instead the nineth once
2531         * objects/standard/bezier.c : no C++ comments *please*
2533         * lib/plug-ins.h : increment DIA_PLUGIN_API_VERSION
2535         * lib/dia_image.[ch] : dia_image_filename() returns a string not to be freed ...
2536         * plug-ins/python/pydia-image.c : ... so, don't do it!
2538         * lib/dia_svg.c : refactor color parsing and support the "rgb(127,255,0)" form,
2539         also named colors via pango_color_parse()
2541         * lib/prop_text.c : don't try to g_strdelimit(NULL), fixes bug #169367
2543         * lib/libdia.def : updated externals
2545         * app/object_ops.c : still not C99 everywhere
2547 2005-03-19  Hans Breuer  <hans@breuer.org>
2549         * lib/autoroute.c : at least it should compile ;)
2550         
2551 2005-03-19  Lars Clausen  <lars@raeder.dk>
2553         * lib/autoroute.c: Orthconns now do autogap.
2555 2005-03-17  Lars Clausen  <lars@raeder.dk>
2557         * app/authors.h: Added Gregoire Dooms for gap stuff.
2559         * objects/standard/polyline.c: Patch from Grégoire Dooms
2560         <dooms@info.ucl.ac.be>: Autogap and absolute gap for polyline.
2561         
2562         * objects/standard/bezier.c: Patch from Grégoire Dooms
2563         <dooms@info.ucl.ac.be>: Fixes two bugs.  Also autogap no longer a
2564         property. 
2565         
2567         * objects/UML/state_term.c: 
2568         * objects/UML/large_package.c: 
2569         * objects/UML/node.c: 
2570         * objects/UML/object.c: 
2571         * objects/UML/small_package.c: 
2572         * objects/UML/state.c: 
2573         * objects/UML/usecase.c: 
2574         * objects/UML/note.c: 
2575         * objects/UML/actor.c: 
2576         * objects/UML/classicon.c: 
2577         * objects/UML/component.c: 
2578         * objects/Misc/analog_clock.c: 
2579         * objects/Jackson/requirement.c: 
2580         * objects/Istar/goal.c: 
2581         * objects/Istar/actor.c: 
2582         * objects/FS/function.c: 
2583         * object/standard/box.c:
2584         * objects/ER/entity.c: 
2585         * objects/ER/relationship.c: 
2586         * objects/ER/attribute.c: Main points added.   Distance_from fixed
2587         in attribute, broken in relationship, I* goal, Jackson
2588         requirement, analog_clock, all non-rectangular UML elements, 
2590         * lib/libdia.def: 
2591         * lib/element.[ch]: New method to help update connection points.
2593         * app/menus.c: Change Help/Manual to Help/Contents to follow
2594         standard.
2595         
2596         * objects/standard/line.c:
2597         * lib/geometry.[ch]: 
2598         * objects/standard/bezier.c: Patch from Grégoire Dooms
2599         <dooms@info.ucl.ac.be>: Add absolute gap and autogap for line and
2600         bezier objects.   Autogap nowchanged to be a function of the
2601         connpoints.
2603         * lib/libdia.def: 
2604         * lib/connectionpoint.[ch]: New function to ask if a connpoint has the
2605         autogap flag.
2607         * app/connectionpoint_ops.c (connectionpoint_draw): Don't draw
2608         CP_FLAG_ANYPLACE connpoints.
2610 2005-03-16  Lars Clausen  <lars@raeder.dk>
2612         * app/interface.c (create_tools): Removed debug printf.
2614 2005-03-15  Lars Clausen  <lars@raeder.dk>
2616         * lib/widgets.[ch]: Constification.
2618         * app/interface.c: Work on using gdk-pixbuf-csource'd data, not
2619         working yet.
2621         * objects/standard/ellipse.c: Use CP_FLAG_MAIN for central CP.
2623         * lib/connectionpoint.h: Flags for connection points.
2625         * app/create_object.c (create_object_motion): 
2626         * app/modify_tool.c (modify_motion): Minor refactoring.
2628         * app/object_ops.c (object_find_connectpoint_display): Extend with
2629         finding connpoints that cover entire objects.
2631         * app/layer_dialog.c (dia_layer_widget_init): Get rid of warnings.
2633         * objects/custom/custom_object.c (custom_setup_properties): Avoid
2634         uninitialized use.
2636 2005-03-13  Hans Breuer  <hans@breuer.org>
2638         * plug-ins/svg/svg-import.c : handle the <circle/> tag as well
2640 2005-03-13  Hans Breuer  <hans@breuer.org>
2642         * lib/dia_svg.[hc] objects/custom/shape_info.[hc] plug-ins/svg/svg-import.c :
2643         s/DiaSvgGraphicStyle/DiaSvgStyle/, added and use convenience functions 
2644         dia_svg_style_copy(), dia_svg_style_init()
2646         * objects/custom/shape_info.c : use dia_svg_parse_path() from lib/ (it got
2647         moved out of this)
2649         * lib/dia_svg.c(dia_svg_parse_path) : also handle style properties which are
2650         not wrapped in the style attribute
2652         * plug-ins/svg/svg-import.c : implement nested group handling and style
2653         'style inheritance'. Still no transformations, no <image/>, no <style/> 
2654         <defs/>...
2656         * plug-ins/svg/svg-import.c(import_svg) : use message_warning instead of g_warning,
2657         the latter is for programmers.
2658         Also be more tolerant if the document root namespace is not 'svg'. If the svg 
2659         namespace is defined in the file search for the top node including svg. This
2660         allows us to re-read the svg part of our own shape format.
2662         * lib/libdia.def : there is no give_focus_to_object
2663         * app/textedit.c : still no C99,  aka. error C2275: 'Focus' : illegal use of this 
2664         type as an expression
2666         * lib/geometry. c : use G_IMPLEMENT_INLINES
2667         * lib/libdia.def : export point_get_perp (used by xfig plug-in)
2669         * app/textedit.c(textedit_end_edit) : don't crash if the display is already
2670         gone when trying to remove the focus
2672         * plug-ins/cairo/diacairo.c : CAIRO_HAS_WIN32_SURFACE does not any longer mean
2673         it has *my* Cairo Win32 Backend. [The official one isn't useful for the use
2674         case of this plug-in, i.e. producing output files]
2676 2005-03-13  Lars Clausen  <lars@raeder.dk>
2678         * lib/Makefile.am (BUILT_SOURCES): 
2679         * app/Makefile.am (BUILT_SOURCES): Use the Right Way[tm] to force
2680         the building of the icons header files.
2681         * app/dia-lib-icons.h: Out of CVS now that it's correctly generated.
2683 2005-03-13  Hans Breuer  <hans@breuer.org>
2685         * configure.in : require Cairo 0.3.0
2686           plug-ins/cairo/diacairo.c : changed to match ;-)
2688         * app/app_procs.c() : new function dump_dependencies()
2689         which gets called by: dia --version --verbose
2690         and may help to track version dependent problems in
2691         our dependencies
2693         * lib/font.c : reverted to previous version cause using
2694         not implemented Pango API did not improve the issue.
2695         See: http://bugzilla.gnome.org/show_bug.cgi?id=162034
2696         for more information.
2698         * lib/dialinechooser.c : a little shrinking of the 
2699         initial size (to work around line wrappjing the right 
2700         arrow control)
2702 2005-03-11  Lars Clausen  <lars@raeder.dk>
2704         * app/textedit.c: Concentrate start/end editing in single functions.
2706 2005-03-10  Lars Clausen  <lars@raeder.dk>
2708         * lib/text.h: 
2709         * lib/object.h: Added new object function to allow the object to
2710         be notified when its text is being edited.
2712         * lib/libdia.def: 
2713         * app/modify_tool.c: 
2714         * app/commands.c: 
2715         * app/textedit.c: 
2716         * lib/focus.c: Remove sideeffects from focus objects, add getter
2717         for focus->obj.
2719 2005-03-09  Lars Clausen  <lars@raeder.dk>
2721         * lib/Makefile.am (dia-lib-icons.h): 
2722         * app/Makefile.am: Minor cleanup.
2724 2005-03-06  Hans Breuer  <hans@breuer.org>
2726         * app/app_procs.c : avoid "assignment within conditional expression"
2727         and handle -L for the GOption case as well.
2729         * lib/widget.c : strchr() does not return -1 on not found but NULL;
2730         avoids widgets.c(307) : error C4047: '!=' : 'char *' differs in levels of 
2731         indirection from 'const int '
2733         * lib/diasvgenderer.c(draw_arc|fill_arc) : finally correct sweep and 
2734         large_arc, thus produce correct arc output (like diasvg.py does;),
2735         fixes bug #144401
2737         * lib/dia_svg.[hc](dia_svg_parse_path) : new function copied and adapted 
2738         from objects/custom/shape_info.c to be shared with object/custom and
2739         plug-in/svg -> finally the C based svg-import reads pathes again.
2740         Added arc parsing while I was there, which fixes bug #169191
2741         * objects/custom/shape_info.c(parse_path) : 
2742         * plug-ins/svg/svg-import : reuse above function
2743         Also fix the "root element was 'svg' -- expecting 'svg'" bug #108502.
2744         But in general this does only support a small subset of what is 
2745         possible in SVG.
2747 2005-03-06  Lars Clausen  <lars@raeder.dk>
2749         * objects/UML/association.c: Patch from Dave Klotzbach applied:
2750         Add visibility to association arrow.  Fixes bug #157012.
2752         * app/grid.c: Patch from Lawrence Withers fixes grid messiness,
2753         closing bug #161040.
2755         * app/layer_dialog.c (create_button_box): Use stock icons instead
2756         of homemade onces.  Gets us rid of four more XPMs.
2758 2005-03-05  Sampo Kellomaki <sampo@iki.fi>
2760         * app/app_procs.c: Implemented --show-layers=LAYER,LAYER,... option
2761         This option permits command line control of which layers are visible.
2762         Useful when automatically exporting multiple versions of the same
2763         diagram, e.g. slides with overlays. Added-n switch parsing without POPT.
2764       * app/app_procs.h: moved prototype of do_convert() to app/app_procs.c
2765         and made it static since its only used in that file.
2766         * app/authors.h: added myself
2767         * doc/en/dia.1: documented the switch
2768         * doc/en/usage-layers.xml: ditto
2769         
2770 2005-03-05  Alan Horkan <horkana@tcd.ie>
2772         * app/interface.c Change Horizontal scroll policy to NEVER for sheets
2773         this restores how Dia behaved before the GTK2 port and seems to help 
2774         allow the toolbox to be more easily resized.  Bug #108891.
2776 2005-03-05  Lars Clausen  <lars@raeder.dk>
2778         * Civil/civil_motor.shape:
2779         * Civil/civil_rotor.shape:
2780         * Logic/and.shape:
2781         * Logic/buffer.shape:
2782         * Logic/connector.shape:
2783         * Logic/inverter.shape:
2784         * Logic/nand.shape:
2785         * Logic/nor.shape:
2786         * Logic/not.shape:
2787         * Logic/or.shape:
2788         * Logic/xor.shape:
2789         * shapes/Assorted/arrow-left-up.shape: 
2790         * shapes/Assorted/heptagon.shape: 
2791         * shapes/Assorted/star5.shape: 
2792         * shapes/Assorted/trapezoid.shape: 
2793         * shapes/Assorted/triangle-rightangle.shape: Fixed bad use of
2794         defaults, see bug #169143.
2796         * sheets/Assorted.sheet.in: Fixed typo patch applied, bug #169114.
2798         * configure.in: 
2799         * doc/en/Makefile.am: Finally figured out the right way to ask for
2800         the manpage xslt.  Closes bug #144539.
2802 2005-03-01  Lars Clausen  <lars@raeder.dk>
2804         * lib/Makefile.am (nodist_include_HEADERS): 
2805         * app/Makefile.am: Correctly generate these files from PNGs with
2806         automake.
2808         * lib/widgets.h: 
2809         * lib/libdia.def:
2810         * lib/widgets.c: Refactor toggle button factory to allow inline
2811         data.
2813         * lib/pixmaps/Makefile.am: Unify lib pixmaps.
2815         * app/makefile.msc (ICON_PNG_PAIRS): 
2816         * app/dia-app-icons.h: Updated with more icons.
2818         * lib/Makefile.am: 
2819         * app/Makefile.am: Use gdk_pixbuf_csource to create inline data
2820         from pngs.
2822         * app/interface.c (create_display_shell): 
2823         * app/layer_dialog.c (dia_layer_widget_init): 
2824         * lib/dia_image.c (dia_image_get_broken): Use inlined data
2825         generated from png.
2827         * app/display.c (ddisplay_close): Removed unused includes.
2829 2005-03-01  Lars Clausen  <lars@raeder.dk>
2831         * app/sheets.c (create_object_pixmap): Create a placeholder image
2832         for when the real image is missing.  Better than crashing:)
2833         Closes bug #166786.
2835 2005-02-25  Hans Breuer  <hans@breuer.org>
2837         * app/app_procs.c : don't requets to open a default display with
2838         g_option_context_add_group (crux@gorodmasterov.com, bug #168523)
2840 2005-02-22  Lars Clausen  <lars@raeder.dk>
2842         * plug-ins/gprint/diagnomeprint.c (export_data): GNOME, not Gome.
2843         Fixes bug #168125.
2845 2005-02-19  Lars Clausen  <lars@raeder.dk>
2847         * app/menus.c (display_menu_items): Applied patch from bug #94019:
2848         Menu cleanup and addition of icons.  Also a few additional stock
2849         icons. 
2851         * app/layer_dialog.c (create_layer_dialog): Bug #159598: Clean up
2852         the layers dialog.
2854 2005-02-14  Lars Clausen  <lars@raeder.dk>
2856         * INSTALL (ftp): Fixed Pango release typo (bug #153007)
2858 2005-02-13  Lars Clausen  <lars@raeder.dk>
2860         * lib/font.c: First stab at using Gtk 2.4 functions for fixing
2861         width.  Seems to work.  Once tested some more, needs old code
2862         removed. 
2864         * lib/widgets.c (dia_font_selector_create_string_item): Avoid
2865         warning by escaping & properly.
2867 2005-02-06  Lars Clausen  <lars@raeder.dk>
2869         * app/filedlg.c (file_export_callback): Set correct extension as
2870         soon every time the dialog is shown.  Fixes bug #162535.
2872         * app/display.c (ddisplay_set_origo): Use more standard
2873         transformations.
2875         * app/modify_tool.c (modify_motion): 
2876         * app/create_object.c (create_object_motion): Put coordinates of
2877         handle/object in status bar while moving. Fixes bug #163164.
2879 2005-02-03  Lars Clausen  <lars@raeder.dk>
2881         * lib/.cvsignore: Added generated files diamarshal.[ch]
2883 2005-02-02  Lars Clausen  <lars@raeder.dk>
2885         * configure.in: Add GLIB_GENMARSHAL def as suggested in
2886         http://ignore-your.tv/software/libgtcpsocket/docs/client-subclassing.html.
2887         Now compiles on Linux.
2889 2005-02-01  Lars Clausen  <lars@raeder.dk>
2891         * app/sheets.c (sheet_object_mod_get_type_string): We don't really
2892         need to translate the empty string.  Especially not after
2893         g_assert_not_reached().  Fixes bug #165966.
2895 2005-01-07  Tim Olsen  <tolsen@alum.mit.edu>
2897         * objects/UML/activity.c : add fill- and line-colour properties
2898         [applied by Hans Breuer, fixes bug #163260]
2900 2004-01-28  Hans Breuer  <hans@breuer.org>
2902         * doc/en/*.xml doc/en/dia.dbk app/authors.h : documentation
2903         update provided by Alan Horkan (fixes bug #159592)
2905 2004-01-28  Hans Breuer  <hans@breuer.org>
2907         [Extented version for UML to C++ conversion by Dave Klotzbach, bug #155255]
2908         * plug-ins/xslt/dia-uml2cpp.xsl : (new file) ... handles associataions,
2909         generalization, dependancies, parameterized classes ...
2910         * plug-ins/xslt/styleshetts.xml : refernce it
2911         * plug-ins/xslt/dia-uml.xsl : handle more UML types uesd above
2913 2004-01-28  Hans Breuer  <hans@breuer.org>
2915         * objects/UML/transition.c : fill out the extra_spacing struct 
2916         in the OrtConn member, in order to avoid artifacts when draggin 
2917         the transition. (patch by Peter Allin, bug #144956)
2919 2004-01-15  Hans Breuer  <hans@breuer.org>
2921         * plug-ins/cairo/diacairo.c : initialized the renderers default dash_length
2922         to something differnt than 0. Apparently there are case where Dia misses
2923         to appropriately set it before requesting a dashed line (simple line with
2924         arrow as described in bug #151716)
2926         * lib/dia_dirs.c : special casing for drive letters which I broke with
2927         the previous change
2929 2005-01-13  Hans Breuer  <hans@breuer.org>
2931         * app/interface.c(create_sheet_page) : remved dead long time code
2933         * lib/propdialogs.c : removed pdtpp_is_visible_no_standard() prototype,
2934         it is availbale via header - which is the better style anyway
2936 2004-12-31  Hans Breuer  <hans@breuer.org>
2938         * lib/dia_dirs.c(dia_get_canonical_path) : complete
2939         rewrite to handle something like /mnt/some/where/../else
2940         too. Workaround for bug #162637.
2941         * app/filedlg.c : call gtk_file_chooser_set_current_name()
2942         to workaround gtk_file_chooser_set_filename() not setting
2943         it if the file does not exist
2945         * sheets/Jackson.sheet.in app/menus.c : fixed typos
2946         (Frank Arnold, bug #161676)
2948 2004-12-31  Steffen Macke <sdteffen@gmail.com>
2950         * doc/pl/*.xml: Added XML prolog
2951         * makefile.msc: Added libxslt, fixed libxml, libart
2953 2004-10-29  Alexander Shopov  <ash@contact.bg>
2955         * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
2957 2004-12-29  Lars Clausen  <lars@raeder.dk>
2959         * configure.in: Make gnomeprint be truly off by default (typo) and
2960         show optional compilation correctly.
2961         * plug-ins/gprint/Makefile.am: Exclude gnomeprint if not optioned in.
2963 2004-12-22  Hans Breuer  <hans@breuer.org>
2965         * lib/widgets.c : destroy handlers can be called more than once, 
2966         see http://developer.gnome.org/doc/API/2.0/gtk/gtk-changes-2-0.html
2968         * app/app_procs.c : #ifdef GLIB(2.6.0) but GTK(2.4.x)
2969         
2970         * app/display.c : temporary debug code showing the
2971         timing the rendering
2973         * app/dialibartrenderer.c(draw_string) : removed dead
2974         code loading and leaking font and face
2976 2004-12-15  Hans Breuer  <hans@breuer.org>
2978         * app/display.c : actually use the selction-changed signal for something
2979         useful. Show selections representation on statusbar.
2980         * lib/object.h lib/prop_text.c lib/libdia.def : provide objet_get_displayname() 
2981         * app/diagram_tree.c : use new function (as in app/display.c) and only
2982         poke into property internals at one place
2983         * app/diagram.c : use g_signal_handlers_block_by_func to avoid has-no-handler-
2984         complains
2986 2004-12-12  Hans Breuer  <hans@breuer.org>
2988         * lib/libdia.def app/dia.def : updated externals
2990         * objects/custom/custom_object.c : custom_destroy is called per object. 
2991         It _must not_ destroy class stuff (ShapeInfo) cause it does not hold a 
2992         reference to it. Fixes e.g. bug #158288, #160550, ...
2994         * objects/UML/association.c(association_draw) : completed porting to
2995         draw_polyline_with_arrows()
2996         (association_update_data_end) : fixed typo in point compare
2997         (association_update_data) : for name placement take degenerated 
2998         segements into account. Together this fixes bug #143891
3000 2004-12-11  Hans Breuer  <hans@breuer.org>
3002         * lib/widgets.c(set_size_sensitivity) : revert inverted
3003         logic for arrorw size selections, fixes bug #160527
3005 2004-12-11  Hans Breuer  <hans@breuer.org>
3007         * lib/widgets.c(dia_font_selector_set_font) : initialize
3008         the font style widget, too. Gets rid of empty font
3009         style and thus default broken font style, e.g. UML::class_name
3011         * lib/widgets.c(dia_color_selector_more_callback) : fill
3012         the color palette from dynamic menu entries and also
3013         preselect the current color to the last select entry
3014         
3015         * plug-ins/python/pydia-diagramdata.c : hold a reference
3016         to the underlying GObject
3017         
3018         * app/Makefile.am app/diagrid.h : new file containing the 
3019         grid 'class' moved from DiagramData to Diagram. 
3020         Also moved pagebreak_color and guides cause they are only 
3021         used for visual appearance not 'data'.
3022         * lib/diagramdata.[ch] app/diagram.h app/dia-props.c app/grid.c
3023           app/load_save.c plug-ins/python/pydia-diagramdata.c : reflect 
3024         the above change
3026         * lib/diagramdata.[ch] app/app_procs.c app/diagram.c 
3027           lib/libdia.def : get rid of new_diagram_data() 
3028         Diagram _is_ DiagramData (and does not have one any longer,
3029         just a compatibility pointer)
3030         
3031         * lib/diarenderer.h : a small doc improvement
3033 2004-12-11  Hans Breuer  <hans@breuer.org>
3035         * objects/UML/class.c : line wrapping code buffer
3036         overrun fixed by Gabor Simon, bug #160865
3038 2004-12-11  Hans Breuer  <hans@breuer.org>
3040         * plug-ins/python/pydia-diagram.c : hold a reference
3041         to the diagram in PyDiaDiagram, avoids bug #159080
3042         [another way to avoid is to detroy the dialog by
3043         clsoing it. But now there is still a diagram to
3044         apply the changes to, even if it's thrwon away just
3045         afterwards]
3047 2004-12-10  Hans Breuer  <hans@breuer.org>
3049         * **/*.c : fixed a bunch of warnings, not only for -ansi
3050         (still too many of them, but -ansi works)
3051         lib/
3052         prop_geomtypes.h prop_geomtypes.c:306: warning: static 
3053         declaration for `fontsizeprop_reset_widget' follows non-static
3054         dia_dirs.c:196: warning: return discards qualifiers from 
3055         pointer target type
3057         objects/custom/
3058         shape_info.c:121: warning: static declaration for `parse_path' 
3059         follows non-static
3061         objects/SADT/
3062         arrow.c:228: warning: `draw_arrowhead' declared `static' but never defined
3063         arrow.c:244: warning: unused variable `i'
3064         arrow.c:245: warning: unused variable `p'
3065         arrow.c:246: warning: unused variable `zzr'
3066         
3067         object/Istar/*.c object/Jackson/*.c  object/KAOS/*.c : 
3068         finally removed c++ comments
3069         
3070         objects/Istar/goal.c : initialize connections::directions
3071         while I was there - helps autorouting
3073         * objects/KAOS/metaandorrel.c objects/Istar/link.c 
3074           objects/KAOS/metabinrel.c : removed struct _DiaImage hack
3075         (it would be quite simple to add image-from-memory support
3076         to lib/ if needed)
3078         * pydia-*.h : warning: no newline at end of file
3079         
3080         * plug-ins/gprint/diagnomeprint.c : allow to unregister
3081         and follow new unique name naming convention
3082         * plug-ins/gprint/diagnomeprintrenderer.c : no c++ comments
3083         here either
3085 2004-12-07  Hans Breuer  <hans@breuer.org>
3087         * objects/UML/message.c : better default for initial text placement
3088         a suggested in bug #154306, Henning Mersch
3089         * objects/UML/constraint.c : doing the same
3091         * app/filedlg.c : include persistence.h for persistence_get_integer
3092         * lib/libdia.def export it
3094 2004-12-05  Hans Breuer  <hans@breuer.org>
3096         * app/grid.c : respect dynamic grid during snap-to, fixes 
3097         bug #135124, Dmitriy Morozov. Added some additional magic
3098         to make the grid size more useable.
3100 2004-12-05  Hans Breuer  <hans@breuer.org>
3102         * app/app_procs.c : make it compile for the HAVE_POPT and
3103         G_LIB_CHECK_VERSION(2,5,5) case, minor formating
3104         
3105         * lib/plug-ins.c : don't pass non exiting files to xmlDiaParseFile()
3106         * app/app_procs.c : only dia_pluginrc_write() and create_user_dirs()
3107         when interactive. Fixes bug #119329
3108           
3109         * plug-ins/cairo/diacairo.c : adapt to new type naming
3110         scheme (introduced by accident;-) for pixbuf-*
3111         * app/app_procs.c : reflect both type name changes
3113 2004-12-04  Hans Breuer  <hans@breuer.org>
3115         * objects/standard/image.c : fix the correct warning
3116         `image_file_name' might be used uninitialized
3117         
3118         * app/filedlg.c : near complete rewrite
3119         - removed 'related dialog', GtkOptionMenu, most global vars,
3120         also don't hide the dialog but let it go.
3121         - added: filter view by extension, hopefully working diagram
3122         referencing, GtkComboBox usage
3123         
3124         * plug-in/pixbuf/pixbuf.c : switched to dynamic generation
3125         of im/export filter entries. So the user interface reflects
3126         the dynamic nature of pixbuf loaders
3128         * lib/filter.[ch] : implement filter_unregister_*port
3129           lib/libdia.def : added new functions
3130           plug-ins/cgm/cgm.c plug-ins/dxf/dxf.c
3131           plug-ins/hpgl/hpgl.c plug-ins/metapost/metapost.c
3132           plug-ins/pstricks/pstricks.c plug-ins/svg/svg.c
3133           plug-ins/wpg/wpg.c plug-ins/xfig/xfig.c
3134           plug-ins/cairo/cairo.c plug-ins/pixbuf/pixbuf.c :
3135         use them in _plugin_unload () thus all these plug-ins
3136         can be loaded used and unloaded during Dia's runtime
3138 2004-12-04  Lars Clausen  <lars@raeder.dk>
3140         * lib/diagramdata.h: Access methods for units defined per diagram.
3142         * lib/font.c (dia_font_new_from_style): More proper object creation.
3144         * lib/properties.h: Refactored the PROP_STD_* macros to allow
3145         different options.
3147         * app/diagram.c (diagram_init): Force filename to be absolute
3148         path, easing the job for load/save.
3150 2004-12-03  Hans Breuer  <hans@breuer.org>
3152         * lib/libdia.def : removed dia_marshal_*, they are implemented as macros.
3153         added dia_font_set_height, dia_font_copy (note to self: don't try to
3154         maintain these from the *NIX side ;)
3156         * lib/widgets.h : removed DiaColorSelector::col, it is not maintained by
3157         the new color selection anymore
3158         * objects/UML/class_dialog.c : with the above change it would have been more 
3159         easy to fix the color loss bug #156996 which had nothing to do with 'a pointer
3160         problem' but only was an unfinished usage of dia_color_slector(get|set)_color
3162         *  objects/UML/class_dialog.c  objects/UML/class.[ch] : uml_apply_properties
3163         (used in object vtable) and make its prototype match
3165         * lib/widgets.c : made all the GtkTypeInfo 'static const'. I can't directly
3166         correlate any of these strange crashing bug with it, but assume bad things to 
3167         happen when one passes stack allocated stuff to gtk_type_unique()
3169         * lib/widgets.c(dia_font_selector_get_font) : don't access menuitem if it is
3170         not there. Fixes most of the warnings from bug #156996
3172         * lib/makefile.msc : rules to generate diamarshal.[ch]
3174 2004-11-29  Hans Breuer  <hans@breuer.org>
3176         * app/disp_callbacks.c : reenable so-called preedit
3177         as described in bug #158859, Etsushi Kato
3178         Also fixed some compiler warnings while there.
3179         
3180         * objects/standard/image.c(get_directory) : make
3181         the documentation match the implementation.
3182         (image_save) : don't write a leading slash on 
3183         relative filenames 
3185         * plug-ins/gprint/diagnomeprintrenderer.c :
3186         switched to gnome-print-pango usage
3187         
3188         * app/app_procs.c configure.in : although Dia
3189         is not threaded it appears as if we have to
3190         g_thread_init() to avoid crashing in some
3191         libraries which are thread enabled
3193         * lib/diamarshal.list lib/Makefile.am : start of
3194         using GSignal to clean up some object relations
3195         * lib/libdia.def : export marshallers
3196         * app/diagram.[ch] : emit signals when REMOVED,
3197         SELECTION_CHANGED
3198         * app/display.c : added a connection to 
3199         SELECTION_CHANGED to test the new signal stuff
3200         
3201         * app/diagram.c : fixed diagram_finalize while I
3202         was there.
3204 2004-11-28  Hans Breuer  <hans@breuer.org>
3206         * plug-ins/wmf/wmf.cpp(draw_string) : write the widechar version of 
3207         the text if conversion to current locale fails. [This is actually
3208         using code written four years ago;]
3209         * plug-ins/wmf/wmf_gdi.(h|cpp) : added TextOutW (no real implemantation)
3211         * objects/standard/image.c(image_load) : be more robust against 
3212         filenames which seem to be absolute
3214 2004-11-27  Hans Breuer  <hans@breuer.org>
3216         * app/filedlg.c(file_save_callback) : convert to
3217         filename encoding before passing to diagram_save()
3218         Fixes bug #158381, thanks to Robert Ã–gren
3220 2004-11-27  Hans Breuer  <hans@breuer.org>
3222         * lib/dialibartrenderer.c : sometimes its good to read
3223         compiler warnings. Not only define renderer_finalize
3224         but actually *use* it. Should plug a potential huge
3225         memory leak.
3227         * configure.in plug-ins/Makefile.am 
3228           plug-ins/gprint/Makefile.am : build the experimental
3229         gnomeprint plug-in on *NIX, too.
3230         * plug-ins/gprint/diagnomeprint.c : don't include
3231         specific (private) backend headers but instead select
3232         the desired backend via config key setting
3234         * lib/diagdkrenderer.c : add 1 to size of filled arc 
3235         to be rendered by gdk. Fixes bug #150896.
3237         * plug-ins/gprint/diagnomeprint.c 
3238           plug-ins/gprint/diagnomeprintrenderer.c : added magic
3239         to better match page and dash sizes
3241 2004-11-27  Hans Breuer  <hans@breuer.org>
3243         * plug-ins/shape/shape-export.c : it's g_strdup_printf
3245 2004-11-27  Hans Breuer  <hans@breuer.org>
3247         * app/app_procs.c : mention eps-builtin aka. "using
3248         latin1", does not fix the eps-pango issues but #150571
3250 2004-11-27  Hans Breuer  <hans@breuer.org>
3252         * sheets/Cybernetics.sheet.in : changed encoding to 
3253         utf-8, patch from Takeshi AIHANA, fixes #149580
3255 2004-11-27  Hans Breuer  <hans@breuer.org>
3257         * objects/custom/custom_object.c : many existing shapes
3258         rely on a square default size, revert to it although
3259         it originally was by a typo. Fixes bug #148527.
3261 2004-11-27  Hans Breuer  <hans@breuer.org>
3263         * app/load_save.c(dia_cleanup_autosave) 
3264           app/diagram.c : don't use dia->filename if already 
3265         freed and dont use printf at all.
3267         * app/paginate_psprint.c : not only set the renderer::paper
3268         but also renderer::is_portrait. Should fix bug #142524
3270 2004-11-26  Hans Breuer  <hans@breuer.org>
3272         * dia.desktop.in : added Bug Buddy headers (as seen
3273         in planner). Hopefully the automatically filling of
3274         bugs is more meaningful by this.
3275         
3276         * objects/custom/custom_util.c objects/standard/image.c
3277           lib/plug-ins.c : getting rid of deprecated g_dirname,
3278         fixes some more memory bugs : AddrAddress 0x3586C010 is 24 
3279         bytes inside a block of size 44 free'd
3280         
3281         * lib/persistence.c(persistence_load_list) : don't
3282         leak string
3283         
3284         * lib/diaerror.[ch] : (new file) start of better error handling
3285         * lib/Makefile.am lib/makefile.msc lib/libdia.def: 
3286         added new files/funcs
3287         * lib/proplist.c lib/propinternals.h (prop_list_load) : 
3288         allow to propagate error to caller. Also set PXP_NOTSET
3289         to avoid applying unset properties, fixes bug #155255
3290         * lib/propobject.c lib/prop_sdarray.c : still spewing
3291         g_warnings but now with context information
3292         
3293         * app/filedlg.c : more absolute filenames where required
3294         and strip them where we need the filename only
3295         Also explicit DONT choose gnome-vfs backend cause its
3296         threading appears to crash Dia - at least in GNOME build,
3297         see bug #159558
3299 2004-11-26  Hans Breuer  <hans@breuer.org>
3301         * app/filedlg.c : don't use relative filenames for
3302         gtk_file_chooser_set_filename(), GtkFileChooserDialog is very
3303         pedantic about it.
3304         (export_set_extension) : if we don't have a filename don't
3305         use it in strrchr() to avoid crashing
3306         
3307 2004-11-23  Hans Breuer  <hans@breuer.org>
3309         * app/app_procs.c : fixed build for the GNOME case
3310         (let's rip out POPT and depend on glib-2.6, please ;-)
3312 2004-11-23  Hans Breuer  <hans@breuer.org>
3314         * app/app_procs.c : fixed typo which broke the
3315         build for HAVE_POPT case
3316         
3317 2004-11-21  Hans Breuer  <hans@breuer.org>
3319         * app/app_procs.c : some more #if-mess, but one day
3320         we should rely on GLib's 2.6 Option Parser alone
3321         
3322         * plug-ins/wmf/wmf.cpp : use SC() when scaling width
3323         and height for RoundRect() - otherwise size depends on offset,
3324         shorten the unique name
3325         
3326         * plug-ins/python/diamodule.c : provide a unique name
3327         for python filters as well
3329         * lib/dialibartrenderer.c : fix the drawing of Gdk based text
3330         by using the right colors (need black background cause we
3331         are tinitng it with the real color later)
3333         * lib/dia_dirs.c(dia_get_canonical_path) : use G_DIR_SEPARATOR_S
3334         instead of hardcoded slahes, improved portability 
3336         * app/paginate_gdiprint.cpp : use the right filter name to find wmf
3337         plug-in. Also added some more error reporting (e.g. no printer driver)
3339         * plug-ins/gprint/diagnomeprintrenderer.[hc] plug-ins/gprint/diagnomeprint.c
3340           plug-ins/makefile.msc : resurrection of the gnome print renderer. 
3341         Kinda works (alpha quality) for export but does not print yet. 
3342         With bug #158972 resolved this does even work on win32 :-)
3344 2004-11-07  Hans Breuer  <hans@breuer.org>
3346         * doc/diagram.dtd : <composite> can have <composite/>,
3347         <font/> has two 'optional' atributes 'style' and 'family',
3348         these are used to store new (since 0.91) font info.
3349         With this changes non of the issues in bug #147431 remains.
3351         * plug-ins/python/otypes.py : starting to implement an
3352         'create all known object' file as ne stress test source
3353         for the dtd and Dia in general.
3355 2004-11-06  Hans Breuer  <hans@breuer.org>
3357         * app/diapsrenderer.c : don't convert to locale but to 
3358         "LATIN1", fixes bug #146641
3360 2004-11-06  Hans Breuer  <hans@breuer.org>
3362         * app/diagram_tree.c : still no C99 everwhere ...
3363         * lib/libdia.def : update externals
3364         * plug-ins/pstricks/render_pstricks.c : #include <locale.h>
3366         * app/app_procs.[hc] : declare, use ...
3367            app/winmain.c : ... and implement dia_redirect_console().
3368         Even though newer Gtk version don't popup a console window
3369         anymore redirecting the error messages to a file in $TEMP appears
3370         to be much more reasonable than just ignoring it. Fixes bug #150777
3371         based on a patch from Steffen Macke
3373 2004-11-06  Hans Breuer  <hans@breuer.org>
3375         * plug-ins/wmf/wmf.cpp plug-ins/wmf/wmf_gdi.* : added/used
3376         RoundRect() for high level renderer api implementation thus
3377         fixing bug #138744 reported by Lars Clausen
3379 2004-11-06  Hans Breuer  <hans@breuer.org>
3381         * app/prefernces.c : applied patch to make showing the diagram 
3382         menubar the default (advanced users know how to switch it off)
3383         Fixes bug #150706, Steffen Macke
3385 2004-11-06  Hans Breuer  <hans@breuer.org>
3387         * app/commands.c app/commands.h : added view_fullscreen_callback()
3388           view_unfullscreen()
3389           app/menus.c : use it (/View/Fullscreen) thus fixing bug #94090
3390         * app/disp_callbacks.c : use view_unfullscreen() for GDK_Escape
3391         ALso modified to allow handling of unmodified keys again (aren't
3392         there plenty of bug reports for this?
3394 2004-11-06  Hans Breuer  <hans@breuer.org>
3396         * objects/UML/class_dialog.c : fixed casts for usage
3397         of dia_color_selector_set_color()
3398         
3399         * app/filedlg.c : pass a valid filenames to 
3400         gtk_file_chooser_set_filename(), if we don't have a name
3401         don't call it at all. Gets rid of "libgnomevfs-CRITICAL **: 
3402         file gnome-vfs-utils.c: line 749 (gnome_vfs_get_uri_from_local_path): 
3403         assertion `local_full_path[0] == '/'' failed"
3404         
3405 2004-11-06  Lars Clausen  <lars@raeder.dk>
3407         * app/properties.c (create_dialog): 
3408         * app/diagram_tree_window.h: 
3409         * app/diagram_tree.h (HIDDEN_TYPES_NAME): 
3410         * app/diagram_tree_menu_callbacks.c: 
3411         * app/diagram_tree_window.c: 
3412         * app/diagram_tree_menu.c: 
3413         * app/diagram_tree.c: Changed to use persistence instead of
3414         strange hacks in preferences.
3416         * lib/persistence.h:
3417         * lib/persistence.c (persistent_list_get_glist): Don't deref null
3418         pointer.  New function persistent_list_remove_all, and
3419         fixed persistent_list_remove to ... work!
3421 2004-11-05  Lars Clausen  <lars@raeder.dk>
3423         * app/paginate_psprint.c (diagram_print_ps): Call
3424         diagram_print_destroy on destroy rather than delete_event.  That
3425         way the gtk_widget_destroy() calls cleans up properly.  Fixes bug
3426         #154898. 
3428 2004-11-02  Lars Clausen  <lars@raeder.dk>
3430         * objects/UML/class.c (umlclass_load): Actually load the saved
3431         fonts and font sizes. Fixes bug #157016
3433         * configure.in: Require at least GTK+ 2.4.
3435         * app/filedlg.c: Changed to use 2.4 file dialog!  Finally,
3436         finally, finally.  Not quite bulletproof yet, and I need to figure
3437         out a minimum version of Gtk that doesn't spew warnings all over.
3439         * app/diagram.[ch]: diagram_set_filename with const filename.
3441         * app/sheets_dialog_callbacks.c
3442         (on_sheets_dialog_button_apply_clicked): Sheet menu now almost
3443         correctly recreated.  Still something fishy with the sheet menu in
3444         the dialog after adding a new sheet.  Probably the sheet name
3445         being stomped.
3447 2004-11-01  Lars Clausen  <lars@raeder.dk>
3449         * lib/widgets.[ch] (dia_dynamic_menu_reset): Harden against memory
3450         stmping.  Now requires g_free here and there.
3452         * app/preferences.[ch] (prefs_data): Got rid of hidden prefs value
3453         for remembering last sheet, better off as persistent string.  Must
3454         hunt down other things like that.
3456         * app/interface.c (create_sheets): Now remembers last sheet
3457         selected again. Fixes bug #157036.
3459 2004-11-01  Hans Breuer  <hans@breuer.org>
3461         * plug-ins(tex_escape_string) : fixed it [g_utf8_next_char
3462         will never become NULL but only point to the next char
3463         which might indeed be \0]
3464         Use tex_escape_string() to avoid writing invalid tex,
3465         fixes bug #112377
3467         * **/* : a bunch of changes caused by trying 'make distcheck'
3468         which still fails, see Bug #144527
3470 2004-10-31  Lars Clausen  <lars@raeder.dk>
3472         * plug-ins/pstricks/render_pstricks.c (export_pstricks): Avoid
3473         floating point numbers being printed with commas.  Fixes bug
3474         #156148.
3475         
3476         * app/interface.c (create_sheet_dropdown_menu): New function to
3477         create the sheet menu, and also allow recreation.  Still buggy and
3478         slightly prone to magic.
3480         * objects/UML/class_dialog.c
3481         (attributes_list_selection_changed_callback): Don't try to update
3482         the widgets after they're destroyed.  Fixes bug #156706 (I think).
3484         * lib/widgets.c (dia_unit_spinner_new): Avoid crash on NULL
3485         adjustement.  Fixes bug #154637
3487         * sheets/ER/Makefile.am (PIX): 
3488         * sheets/GRAFCET/Makefile.am (PIX): 
3489         * sheets/Jackson/Makefile.am (PIX): 
3490         * sheets/Istar/Makefile.am (PIX): 
3491         * sheets/KAOS/Makefile.am (PIX): Actually install PNG instead of
3492         XPM.  Why these have their pictures in sheets rather than shapes I
3493         don't know.  Fixes bug #152142.
3495 2004-10-31  Hans Breuer  <hans@breuer.org>
3497         * plug-ins/pixbuf/pixbuf.c : when running non interactive
3498         Dia won't call color_init() as it assumes no display. If
3499         we have one as tested ourselve we can as well color_init()
3500         to avoid g_warnings() and produce the right collors.
3501         Fixes bug #155495.
3502     
3503         * app/app-procs.c : try to be a little more helpful
3504         and correct with regard to the command line options.
3505         Renamed --export-to-format to --export-filter and some
3506         other string changes
3508 2004-10-31  Hans Breuer  <hans@breuer.org>
3510         * plug-ins/wmf/wmf_gdi.cpp plug-ins/wmf/wmf_gdi.h :
3511         added GetDeviceCaps() dummy implementation to make 
3512        'wmf' compile on Linux, too.
3514 2004-10-31  Hans Breuer  <hans@breuer.org>
3516         * plug-ins/wmf/wmf.cpp : patch from Robert Ã–gren <gtk@roboros.com>
3517         to finally fix the long lasting clipping issue, bug #85831
3518         Also fixed the line style issue for printing on XP and don't 
3519         miss to ReleaseDC()
3521         * plug-ins/wmf/wmf_gdi.[hc] : added ReleaseDC()
3523         * plug-ins/python/diasvg.py : filter illegal characters from <text/> section
3524         (e.g. &lt; instead of <), fixes bug #155697 (Duncan Palmer)
3526         * plug-ins/python/pydia-error.[hc] : improvede exception handling to transfer 
3527         some info from the console (soon gone on windoze) to message_error()
3528         * plug-ins/python/pydia-render.c plug-ins/python/diamodule.c : use it.
3529         Also some setlocale() hack to let Python behave as expected for LC_NUMERIC
3531         plug-ins/python/diasvg_import.py : re.compile() only once per expression
3532         and some more playing with scaling
3534         * plug-ins/python/makefile.msc : updated
3536 2004-10-30  Hans Breuer  <hans@breuer.org>
3538         * shapes/Civil/civil_arrow_right.shape : removed
3539         <aspectratio type="fixed" /> thus allowing to change
3540         width and height independently, fixes #154897 
3541         (Serge Robinson) by making it consistent with the
3542         up arrow
3544 2004-10-30  Hans Breuer  <hans@breuer.org>
3546         * plug-ins/xfig-xfig-export.c(hasArrow) : don't crash
3547         on arrow being NULL, fixes bug #143063
3549 2004-10-30  Hans Breuer  <hans@breuer.org>
3551         * lib/diagramdata.c app/diagram.c app/disp_callbacks.c
3552           plug-ins/python/pydia-diagram.c plug-ins/python/pydia-diagramdata.c :
3553         removed use of chached variable DiagramData::selected_count
3554         * lib/diagramdata.h : renamed to selected_count_private
3555         (kept for binary compatibility and sanity checks)
3556         * lib/diagramdata.c : more checks on a screwed up selection list
3558         * app/diagram.c(diagram_group_selected) : don't screw up the
3559         DiagramData::selected list, was assignment of parent_list_affected(),
3560         * lib/diagramdata.c (data_select, data_unselect) : protect against
3561         multiple selections of the same object and removement of a not selected
3562         object (apparently caused by the recently added group undo stuff)
3563         together with the above this finally fixes bug #153525
3565         * app/Makefile.am : fix ./autogen.sh ->
3566         app/Makefile.am:171: blank line following trailing backslash
3568         * app/commands.c(objects_group_callback,objects_ungroup_callback) :
3569         ddisplay_do_update_menu_sensitivity() here as well
3571         * configure.in : make the experimental state of the cairo plug-in
3572         more visible
3573         
3574         * app/dia-props.c(diagram_properties_update_sensitivity) : don't
3575         try to update anything if we can't find an active diagram
3576         Additionally set static dialog pointer to NULL by gtk_widget_destroyed
3577         
3578         * configure.in : another attempt to fix bug #156116. If there is
3579         anyone with autotools knowledge reading this - help appreciated ;-)
3581 2004-10-30  Hans Breuer  <hans@breuer.org>
3583         * objects/makefile.msc objects/UML/Makefile.am
3584           objects/UML/uml.c objects/UML/transition.c 
3585           objects/UML/pixmaps/transition.xpm sheets/uml.sheet.in : 
3586         Patch from Peter Allin adds statechart transitions to the UML sheet -
3587         bug #144956 - modified to not print("%s", NULL) which crashes on
3588         newer glib versions. Also added pixmap/transition.xpm to Makefile.am
3590 2004-10-30  Hans Breuer  <hans@breuer.org>
3592         * doc/sheet.dtd doc/diagram.dtd : the namespace does *not* 
3593         match the website anymore, i.e. sould remain unchanged. 
3594         See below and lib/dia_xml.h for the reasoning
3596         * lib/libdia.def : removed dia_color_selector_get_type
3598         * lib/dia_image.c(dia_image_load) : check for pixbuf warnings
3599         (like broken PNG) and g_warning if appropriate
3601         * app/interface.c : #include "message.h"
3603         * app/diaunitspinner.hc : replaced the superfluous #if-0-juggling,
3604         used #error "Moved to lib/widgets.[hc]" instead (IMO it would be
3605         better to just move diaunitspinner to lib/ instead of polluting
3606         widgets.[hc] even more ;)
3607         * app/makefile.msc lib/libdia.def : updated
3609         * app/filedlg.c : patch from gtk@roboros.com, fixes #156224
3610         * app/app_procs.c : patch from gtk@roboros.com, fixes #156088
3612         * config.h.win32 : #define HAVE_CAIRO to let the Cairo plug-in
3613         do something useful when compiled
3615         * plug-ins/cairo/diacairo.c : added 'PNG with alpha' rendering.
3616         Also some more #ifdefed backends usage.
3618 2004-10-10  Lars Clausen  <lars@raeder.dk>
3620         * lib/widgets.c: Better labels for color selector menu.
3622         * app/dia-props.c (diagram_properties_respond): 
3623         * app/preferences.c (prefs_get_value_from_widget): Don't assume
3624         that a dia color selector is of type DiaColorSelector:)
3626         * lib/widgets.[ch]: Color selector changed to dynamic menu.
3628         * lib/prop_attr.c (colorprop_set_from_widget): Don't assume
3629         DiaColorSelector. 
3631 2004-10-09  Lars Clausen  <lars@raeder.dk>
3633         * lib/diaarrowchooser.c (dia_arrow_preview_init): Slightly wider
3634         arrow preview to avoid long arrow heads flipping.
3636         * lib/arrows.[ch]: Support for getting from name to arrow type,
3637         and for listing all arrow names.
3638         
3639         * lib/widgets.[ch]: Changed arrow selector to use dynamic menu.
3641         * lib/libdia.def: Added new global functions.
3643         * lib/persistence.[ch]: Two of the persistent_list functions to
3644         return whether the item was found in the list.
3646         * app/interface.c (create_sheets): Use DiaDynamicMenu to handle
3647         the growing number of sheets.
3649         * lib/widgets.[ch]: Add DiaDynamicMenu as a generalization of the
3650         font menu.
3652 2004-10-05  Lars Clausen  <lars@raeder.dk>
3654         * objects/UML/association.c: Patch from Harvey Thompson
3655         <harveyandsu@yahoo.com>:  Better placement of association texts.
3657 2004-10-03  Lars Clausen  <lars@raeder.dk>
3659         * lib/widgets.c (dia_font_selector_add_menu_item): Make font menu
3660         use the fonts in question.  Can't set tooltips with the name since
3661         lib objects don't know the tool_tips thing, which is rather
3662         app-related.
3664 2004-09-19  Hans Breuer  <hans@breuer.org>
3666         * plug-ins/xslt/*.xsl : s/apply-templates match/apply-templates select/
3667         fixes bug #148278, carlosrp@idea.com.py (Carlos Ra�l Perasso)
3669 2004-09-19  Hans Breuer  <hans@breuer.org>
3671         * dia.desktop.in : string changes as proposed in bug #151822
3672         
3673         * lib/Makefile.am : remove -module from libdia_la_LDFLAGS,
3674         appearts not to be needed on Linux and breaks the build 
3675         on OSX. Fixes bug #152970
3676         
3677 2004-09-18  Lars Clausen  <lars@raeder.dk>
3679         * app/commands.c (view_show_all_callback): Add a bit of border
3680         around Ctrl-E'd diagram, for easier select and better view of edges.
3682 2004-09-19  Hans Breuer  <hans@breuer.org>
3684         * app/Makefile.am : trying to fix the fix from 2004-02-15
3685         Overwriting AM_LDFLAGS still gave a automake warning and it 
3686         also appeard to break linking against gtklibs in a differnt 
3687         prefix. Use dia_LDFLAGS instead.
3689         * plug-ins/svg/svg-import.c : initialize 'end' before usage
3690         patch from dcbw@redhat.com (Dan Williams), fixes bug #150548
3691         
3692         * lib/diarenderer.c : don't try to draw lines which are so much 
3693         degenerated that their point count became negative, fixes bug #148139
3694         
3695         * lib/font.c(layout_cache_equals) : don't crash on nonexisting 
3696         strings (NULL from g_strdup()) 
3698 2004-09-10  Steffen Macke <sdteffen@web.de>
3700         * lib/libdia.def: added color_new_rgb(), focus_previous(),focus_next(),
3701         give_focus(),give_focus_to_object(),remove_focus(),reset_foci()
3702         * app/create_object.c:
3703         * app/diaunitspinner.c:
3704         * app/disp_callbacks.c:
3705         * app/makefile.msc:
3706         * app/modify_tool.c:
3707         * lib/prop_geomtypes.c:
3708         * lib/prop_geomtypes.h: made compile with msvc
3710 2004-09-10  Lars Clausen  <lars@raeder.dk>
3712         * lib/widgets.c: Insulate conversion from outside API by adding
3713         internal function to set value.  Adjustment not appropriate for
3714         units yet.
3716         * lib/prop_geomtypes.c (lengthprop_get_widget): Remove debug info
3718 2004-09-07  Lars Clausen  <lars@raeder.dk>
3720         * app/diapagelayout.c: Include from widgets.c rather than
3721         diaunitspinner.
3723 2004-09-03  Lars Clausen  <lars@raeder.dk>
3725         * objects/standard/box.c: Use PROP_TYPE_LENGTH for corner_radius
3726         as unit-based property testbed.
3728         * lib/prop_geomtypes.c (lengthprop_reset_widget): Implement length
3729         and fontsize widgets. 
3731         * app/Makefile.am (dia_core_files):
3732         * app/diaunitspinner.h: 
3733         * app/diaunitspinner.c: 
3734         * lib/widgets.h: 
3735         * lib/widgets.c (dia_unit_spinner_update): Move diaunitspinner to
3736         lib/widgets.[ch], as it's used in the properties code now.
3738 2004-08-31  Steffen Macke <sdteffen@web.de>
3740         * doc/en/usage-objects-basic.xml: Mentioning supported image formats.
3742 2004-08-30  Lars Clausen  <lars@raeder.dk>
3744         * app/textedit.c: 
3745         * app/diagram.c (diagram_remove_all_selected): Remove debugging
3746         information. 
3748         * lib/color.[ch]: 
3749         * app/undo.c: 
3750         * app/disp_callbacks.c: 
3751         * app/Makefile.am: 
3752         * app/create_object.c: 
3753         * app/textedit.[ch]: 
3754         * app/modify_tool.c: 
3755         * app/diagram.c: 
3756         * lib/text.c: 
3757         * lib/focus.[ch]: Change in focus mechanism to allow highlight of
3758         current input object, multiple inputs per object, and tabbing
3759         between objects.
3761 2004-08-28  Steffen Macke <sdteffen@web.de>
3763         * makefile.msc: added bs to ALL_LINGUAS; adjusted .mo file creation to
3764         allow separate installer component "Translations"
3766 2004-08-27  Akagic Amila  <bono@linux.org.ba>
3768         * configure.in: Added 'bs' to ALL_LINGUAS.
3770 2004-08-26  Steffen Macke <sdteffen@web.de>
3772         * app/makefile.msc: using /subsystem:windows again
3773         * makefile.msc: updated ALL_LINGUAS
3775 2004-08-21  Kjartan Maraas  <kmaraas@gnome.org>
3777         * configure.in: Add Â«nb» to ALL_LINGUAS.
3779 2004-08-21  Steffen Macke <sdteffen@web.de>
3781         * plug-ins/dxf/dxf-export.c: Patch from 
3782         Takeshi Hamasaki <hma@syd.odn.ne.jp>, fixes text alignment
3784 2004-08-17  Lars Clausen  <lars@raeder.dk>
3786         * config.h.win32: 
3787         * dia.spec (Release): 
3788         * doc/pl/dia.xml: 
3789         * doc/en/dia.xml: 
3790         * NEWS: 
3791         * configure.in: 
3793 2004-08-13  Ankit Patel <ankit@redhat.com>
3795         * configure.in: Added "gu" in ALL_LINGUAS.
3797 2004-08-07  Lars Clausen  <lars@raeder.dk>
3799         * configure.in:
3800         * config.h.win32: 
3801         * doc/pl/dia.xml: 
3802         * doc/en/dia.xml: 
3803         * dia.spec (Release): 
3804         * NEWS: New release 0.94-pre6
3806 2004-08-07  Lars Clausen  <lars@raeder.dk>
3808         * app/highlight.c (highlight_reset_objects): Unhighlight inside
3809         groups as well.
3811         * app/load_save.c: 
3812         * plug-ins/shape/shape-export.c: String capitalization fix from
3813         Alan Horkan <horkana@tcd.ie>
3815         * objects/UML/class.c (umlclass_show_comments_callback): Make UML
3816         Class object menu kinda work, rather than blow up.  Doesn't do a
3817         proper undoable change yet.
3819 2004-08-06  Lars Clausen  <lars@raeder.dk>
3821         * app/filedlg.c (file_save_as_callback): Don't remove related
3822         dialogs from the NULL diagram.
3824 2004-08-02  Lars Clausen  <lars@raeder.dk>
3826         * config.h.win32: 
3827         * doc/pl/dia.xml: 
3828         * doc/en/dia.xml: 
3829         * dia.spec (Release): 
3830         * NEWS: Pre5 with leak fix.
3832         * lib/font.c (dia_font_build_layout): Don't try to save an
3833         allocation of LayoutCacheItem if it breaks layout cache hash.
3834         Also make hash function correct, remove explicit height entry
3835         (it's in pfd), and make sure things are correctly unreffed.
3836         Finally fixes #148141.
3838         * lib/text.c (text_set_attributes, text_set_font): Safely unref
3839         when changing font, and actually set the new font in
3840         text_set_font(!).
3841         (text_get_attributes): Ref copied font.
3843 2004-08-01  Lars Clausen  <lars@raeder.dk>
3845         * NEWS: 
3846         * configure.in: 
3847         * dia.spec (Release): 
3848         * config.h.win32: 
3849         * doc/pl/dia.xml: 
3850         * doc/en/dia.xml: Prerelease 4.
3852         * lib/font.c (dia_font_build_layout): Better comparision and
3853         freeing of font cache.
3855 2004-07-31  Lars Clausen  <lars@raeder.dk>
3857         * lib/font.c (dia_font_build_layout): Faster update to avoid
3858         memory leaks.
3860         * app/app_procs.c: Fix from Tom Parker <palfrey@bits.bris.ac.uk>:
3861         Correctly initialize export filter variable.
3863 2004-07-25  Lars Clausen  <lars@raeder.dk>
3865         * dia.spec (Release): 
3866         * configure.in: 
3867         * NEWS: 
3868         * config.h.win32: 
3869         * doc/en/dia.xml: 
3870         * doc/pl/dia.xml: Pre3 coming out.
3872         * lib/diarenderer.c (draw_polygon): 
3873         * plug-ins/dxf/dxf-export.c (export_dxf): Two fixes by Takeshi
3874         Hamasaki <hma@syd.odn.ne.jp>: Correct header to be a 0 (zero)
3875         rather than O (letter), and assert num_points > 1 rather than the
3876         other way around.
3878         * app/recent_files.c: 
3879         * app/filedlg.c: 
3880         * app/diagram.c: 
3881         * app/app_procs.c: Patch from Vitaly Lipatov <lav@altlinux.ru>:
3882         Make filenames conform to filesystem encoding.
3884         * RDP/.cvsignore: Added standard ignore.
3885         
3886         * shapes/network/Makefile.am (SHAPES): Use PNG instead of XPM for
3887         last entry patch-panel, too.
3889         * app/*.png:
3890         * shapes/Circuit/*.png:
3891         * shapes/Civil/*.png:
3892         * shapes/Contact/*.png:
3893         * shapes/Electric/*.png:
3894         * shapes/MSE/*.png:
3895         * shapes/Pneumatic/*.png:
3896         * shapes/SDL/*.png:
3897         * shapes/flowchart/*.png:
3898         * shapes/jigsaw/*.png:
3899         * shapes/network/*.png:
3900         * shapes/sybase/*.png:
3901         * samples/dia*.png:
3902         * dia_gnome_icon_large.png:
3903         * doc/pl/graphics/*.png: Set -kb for PNGs.
3904         
3905         * sheets/{ER,GRAFCET,Istar,Jackson,KAOS}: Added .png files.
3907 2004-07-22  Lars Clausen  <lars@raeder.dk>
3909         * NEWS: 
3910         * config.h.win32: 
3911         * doc/en/dia.xml: 
3912         * doc/pl/dia.xml: 
3913         * dia.spec (Release): 
3914         * configure.in: Update to version 0.94-pre2.
3916         * app/load_save.c (diagram_data_write_doc): Use new namespace
3917         here, too.
3919         * lib/object.h (OBJECT_COMMON_PROPERTIES): Remove 'Dia' from
3920         hidden objects properties.
3922         * objects/standard/line.c: Remove halffinished line gap box from
3923         properties list.
3925         * app/paginate_psprint.c: 
3926         * app/filedlg.c: Patch from kimmidi@novell.com (Kiran Kumar
3927         Immidi): Close export and print dialog with diagram as well.
3928         (#129520)
3929         
3930         * lib/diaarrowchooser.[ch]: Patch from pborelli@katamail.com (paolo
3931         borelli):  Remove deprecated stuff (#137693)
3933         * app/dia-props.c (create_diagram_properties_dialog): Patch from
3934         kimmidi@novell.com (Kiran Kumar Immidi):  Close properties dialog
3935         on destroy.
3937 2004-07-21  Ray Strode  <rstrode@redhat.com>
3939         * dia/dia.desktop.in: Add MimeType line to desktop file
3940         new mime sytem.
3942 2004-07-18  Hans Breuer  <hans@breuer.org>
3944         * shapes/(Circuit|Contatct|MSE|network|Pneumatic|SDL|sybase)/Makefile.am 
3945           sheets/UML/*.png : icons in png format
3946         Partial fixup of stuff broken with the following comment:
3947         "7 days : xpm->png, namespace fix, first rotation bits."
3949         * app/load_save.c(read_objects) : don't add objects to the layer.
3950         This function is called recursively and only the topmost objects
3951         belong in the layers object list. Fixes bug #145417 and is the
3952         the real fix for bug #142480
3953         
3954         * app/app_procs.c : make the --size hack even uglier, but work again
3955         
3956         * lib/dia_dirs.c(dia_get_absolute_filename) : must not free()
3957         but g_free() what is returned by g_build_filename()
3958         
3959         * objects/custom/custom_object.c(custom_destroy) : handle all enum
3960         values in switch to get rid of the warning
3961         
3962         * objects/custom/shape_info.c : use g_ascii_strtod(), get rid 
3963         of setlocale()/strtod()
3964         * lib/dia_svg.c : dito
3965         * lib/dia_xml.c : almost
3967         * plug-ins/python/group_props.py : use the string representation of 
3968         value to ensure "unique values". If the strings would not be different
3969         the user cann't see the difference either
3971 2004-07-17  Lars Clausen  <lars@raeder.dk>
3973         * lib/persistence.h: Have "void" in prototypes (#142663)
3975         * lib/widgets.c (dia_font_selector_init): Better string handling
3976         (#142663) 
3978         * lib/persistence.c (persistence_save_type): Small fixes (#142663)
3980         * objects/standard/image.c (image_load): Use path of diagram
3981         rather than running directory as base for image file place.
3983         * doc/{diagram,sheet}.dtd: Move DTD namespace to new site, and
3984         syntactic fixes. 
3985         
3986         * app/disp_callbacks.c (ddisplay_canvas_events): Patch from
3987         Ambrose Li <a.c.li@ieee.org>:  Better IM context handling.
3989         * Re-added new sample diagrams binarily.
3991 2004-07-17 Sagar Rastogi <rastogi@students.iiit.net>
3993         * app/disp_callbacks.c: Fixed #144962 (also in KNOWN_BUGS),
3994         Disabled keyboard accels when dragging an object.       
3996 2004-07-14  Lars Clausen  <lars@raeder.dk>
3998         * app/grid.c (snap_to_grid): Use diagrams grid setting to
3999         determine hex grid snap.
4001         * doc/pl/Makefile.am: Avoid error based on backslash in comment.
4002         
4003         * app/interface.h: Avoid multiply defined symbols (#147396)
4005 2004-07-10  Lars Clausen  <lars@raeder.dk>
4007         * app/sheets_dialog_callbacks.c (write_user_sheet): 
4008         * lib/sheet.c (load_register_sheet): Don't introduce double
4009         slashes in namespace.
4011         * lib/dia_xml.h (DIA_XML_NAME_SPACE_BASE): Keep consistent with
4012         old diagrams, or XSLT will barf all over.
4013         
4014         * shapes/RDP/place.shape: 
4015         * shapes/RDP/transition.shape: 
4016         * shapes/RDP/Makefile.am: Added .png entries to SHAPES and changed
4017         shapes to use those.
4019 2004-07-07  Lars Clausen <lars@raeder.dk>
4021         * config.h.win32: 
4022         * doc/{en,pl}/dia.xml: 
4023         * dia.spec: 
4024         * configure.in: 
4025         * NEWS: First prerelease of version 0.94.  Now with release
4026         versions in a branch and main devel in the trunk.
4028 2004-07-05  Hans Breuer  <hans@breuer.org>
4030         * */*.[hc] */*/*.c : a bunch of changes to make Dia compile with
4031         -std=c89. Mostly //-comments and M_PI -> G_PI
4032         [Istar, Jackson, KAOS were removed from build cause they
4033         simply have *too* much C++ comments ;]
4034         * object/UML/association.c : use g_strdup() not plain strdup()
4035         * app/paginate_psprint.c : avoid storage size of `pipe_action' 
4036         isn't known with more portable signal code
4037         
4038         * app/app_procs.c : don't call gtk_init() if just --version
4039         is requested (bug #144321, Vladimir Kondratiev)
4040         
4041         * lib/prop_attr.c(fontprop_set_from_offset) : only unref 
4042         DiaFont* if not NULL
4043         * objects/UML/class.c : moved fill_in_fontdata() to 
4044         umlclass_load() to avoid such trouble, though unsure if
4045         this really is an improvement...
4046         
4047         * shapes/network/makefile.am : patch-panel added here too
4049 2004-07-04  Hans Breuer  <hans@breuer.org>
4051         * sheets/network.sheet.in shapes/network/patch-panel.xpm
4052           shapes/network/patch-panel.xpm : added 24-Port-Patch-Panel
4053         fixes bug #136629, James McDonald
4055 2004-07-04  Hans Breuer  <hans@breuer.org>
4057         * lib/persistence.c app/load_save.c app/sheet_dialog_callbacks.c
4058           lib/object_defaults.c : revert changing of Dia's XML namespace
4059         * lib/dia_xml.h : #define DIA_XML_NAME_SPACE_BASE with a comment
4060         about its purpose and relation to real world urls.
4062         * lib/plug-ins.h : increment DIA_PLUGIN_API_VERSION and 
4063         added comment about when to do so
4064         [Should have been long time ago and probably multiple times
4065         to avoid crashing on older plug-ins]
4066         * RELEASE-PROCESS : mention DIA_PLUGIN_API_VERSION
4067         * plug-ins/xslt/xslt.c : use DIA_PLUGIN_CHECK_INIT
4069         * lib/object.c objects/UML/class.c : there are still compilers not 
4070         supporting C99 and other GCCISMs like allocating dynamic sized arrays 
4071         on the stack
4072         * objects/UML/class.h : there is a differnce between a list pointer
4073         and a list pointer pointer. We and GLib want the former.
4075         * plug-ins/pixbuf/pixbuf.c : don't use app_is_interactive () to detect
4076         if Gtk is initialized. Using gdk_display_get_default () avoids the
4077         app/* dependency and is also closer to the requirements of the
4078         plug-ins working.
4080         * plug-ins/cairo/diacairo.c : initialize "unique name" field. Also
4081         some #ifdefed support for Cairo backends not public available yet.
4083         * plug-ins/wmf/wmf.cpp : finally do extended linestyles if the
4084         windoze platform supports them. This should fix bug #109818, at
4085         least for the majority running NT or above ...
4086         * plug-ins/wmf/wmf_gdi.[hc] : portability stuff for the above
4088         * objects/makefile.msc : build Istar, Jackson and Kaos
4090         * objects/UML/class.c(umlclass_load) : don't wrap by default to 
4091         keep old diagrams as they were - instead of this nice new effect ;-)
4092         Also make "wrap_operations" PROP_TYPE_BOOL in PropDescriptions
4094         * objects/UML/class.c : mark for translation _("Wrap ...
4096         * objects/UML/class.c : more correct types, also some default properties
4097         dialog pages adjustment (triggering a bug in lib/prop_widgets.c ?;)
4099         * objects/UML/activity.c : removed a leftover from the 
4100         use-localization-for-font-substitution-hack
4102         * shapes/ChemEng shapes/Cybernetic shapes/Map/Isometric :
4103         'cvs admin -kb *.png' PNG files should already be *added* as binary,
4104         otherwise they are not readable on line-end-converting-platforms
4106         * plug-ins/python/use g_new0(Dia<Im|Ex>portFiler), avoids crashing 
4107         filter_get_by_name()
4109         * plug-ins/python/pydia-property.c : some more g_warnings for
4110         not implemented conversions
4112         * plug-ins/python/group_props.py : ensure unique property values
4113         at the right place. Now something like :
4114         - load an old UML class diagram
4115         - change one of the classes to wrap operations
4116         - select all classes (/Select/Same Type)
4117         - /Dialogs/Group Properties : check wrap_operations, select '1'
4118         - Ok, works like a charm :-)
4120 2004-07-04  Lars Clausen  <lars@raeder.dk>
4122         * lib/diagdkrenderer.c (draw_string): Don't unref NULL
4123         pixbuf. (#145362)
4124         
4125 2004-07-03  Lars Clausen  <lars@raeder.dk>
4127         * app/app_procs.c (do_convert): Two patches from Vitaly Lipatov
4128         <LAV@VL3143.spb.edu>: Fixes console output problems and some
4129         interactiveness problems.
4131 2004-07-02  Lars Clausen  <lars@reader.dk>
4133         * plug-ins/pixbuf/pixbuf.c (dia_plugin_init): Don't load if the
4134         app isn't interactive.
4136 2004-07-01  Lars Clausen  <lars@raeder.dk>
4138         * plug-ins/cairo/diacairo.c: Add init of last field of filter
4139         struct to remove crash.
4141         * sheets/Makefile.am (sheet_in_files): 
4142         * shapes/Makefile.am: 
4143         * sheets/ChemEng.sheet.in: 
4144         * shapes/ChemEng/Makefile.am: 
4145         * configure.in: 
4146         New sheet from "Federico Zenith" <zenith@chemeng.ntnu.no>:
4147         Chemical engineering shapes.
4148         
4149         * app/Makefile.am (run_dia.sh$(EXEEXT)): Changed $* to $@ to allow
4150         multiple arguments when using devel script.
4152         * app/display.c (new_display): 
4153         * app/dia-props.c: 
4154         * lib/diagramdata.c (new_diagram_data): 
4155         * lib/diagramdata.h: 
4156         * app/preferences.h: 
4157         * app/preferences.c: 
4158         * app/grid.c: 
4159         * app/diagram.c: 
4160         * lib/diagramdata.c (new_diagram_data): Patch from Peter Poulsen
4161         <peter_poulsen@stofanet.dk>: Add hexagonal grid!
4163         * HACKING: 
4164         * doc/pl/authors.xml: 
4165         * doc/en/authors.xml: 
4166         * lib/object_defaults.c (dia_object_defaults_save): 
4167         * readme.win32 (BTW): 
4168         * lib/persistence.c (persistence_save): 
4169         * app/load_save.c (diagram_data_write_doc): 
4170         * app/commands.c (help_about_callback): 
4171         * README: Fix links to home page.
4173         * lib/font.c: 
4174         * app/load_save.c (diagram_data_load): 
4175         * lib/prop_text.c (stringprop_load): Avoid NULL strings when
4176         loading, and guard against them when fonting.
4178         * lib/diarenderer.c (draw_rounded_polyline): Patch from
4179         anthonym@overture.com:  Make limited rounding a corner-specific
4180         rendering-only thing.
4182 2004-06-30  Lars Clausen  <lars@raeder.dk>
4184         * lib/font.c (dia_font_build_layout): Return to 0.93.1 font size
4185         adjustment: If you can't fix it, at least don't change it.
4187         * objects/SADT/arrow.c (sadtarrow_draw): Use new rounded arrow
4188         code instead of individual code in here.
4190 2004-06-29  Lars Clausen  <lars@raeder.dk>
4192         * objects/UML/association.c: Patch from Kiran
4193         Kumar Immidi <kimmidi@novell.com>:  Fix bounding box for line end
4194         text. 
4196         * lib/geometry.c: 
4197         * lib/geometry.h: 
4198         * lib/diarenderer.c (draw_rounded_polyline): 
4199         * objects/standard/polyline.c (polyline_draw): 
4200         * objects/standard/zigzagline.c (zigzagline_draw): 
4201         Patch from anthonym@overture.com:  Add rounded polylines.
4203 2004-06-27  Lars Clausen  <lars@raeder.dk>
4205         * lib/font.c (dia_font_new_from_style): Initialize legacy name.
4207         * lib/widgets.c (dia_font_selector_get_family_from_name): Don't
4208         free family list before taking out the pointer we need. Also set
4209         the entry_nr correctly so we get the menu set up right.
4211 2004-06-23  Lars Clausen  <lars@raeder.dk>
4213         * lib/widgets.c (dia_toggle_button_new_with_images): Sink the
4214         images at the right place.
4216         * objects/Istar/actor.c
4217         * objects/Istar/goal.c
4218         * objects/Istar/istar.c
4219         * objects/Istar/istar.h
4220         * objects/Istar/link.c
4221         * objects/Istar/other.c
4222         * objects/Jackson/domain.c
4223         * objects/Jackson/jackson.c
4224         * objects/Jackson/jackson.h
4225         * objects/Jackson/phenomenon.c
4226         * objects/Jackson/requirement.c
4227         * objects/KAOS/goal.c
4228         * objects/KAOS/kaos.c
4229         * objects/KAOS/kaos.h
4230         * objects/KAOS/metaandorrel.c
4231         * objects/KAOS/metabinrel.c
4232         * objects/KAOS/other.c: Patch from Patch from Christophe Ponsard
4233         <cp@cetic.be>: Fix instability issues caused by not returning NULL
4234         in *_move_handle and *_move.  Also improved the headers with
4235         correct (c) information.
4237 2004-06-22  Lars Clausen  <lars@raeder.dk>
4239         * objects/KAOS/goal.c:
4240         * objects/KAOS/other.c:
4241         * objects/Istar/actor.c:
4242         * objects/Istar/goal.c:
4243         * objects/Istar/other.c:
4244         * objects/Jackson/domain.c:
4245         * objects/Jackson/phenomenon.c: Patch from Christophe Ponsard
4246         <cp@cetic.be>: Fix resize issues.
4248         * app/filedlg.c (file_dialog_hide): Patch from Kiran
4249         Kumar Immidi <kimmidi@novell.com>: Check for null when removing
4250         related dialog. #129520.
4252         * app/dia-props.c (diagram_properties_show): Patch from Kiran
4253         Kumar Immidi <kimmidi@novell.com>: Make sure properties dialog is
4254         a child of its diagram. #129520.
4256         * objects/UML/association.c (association_load): Patch from Kiran
4257         Kumar Immidi <kimmidi@novell.com>: Update positions properly for
4258         text placement. #118313.
4260 2004-06-17  Lars Clausen  <lars@raeder.dk>
4262         * objects/KAOS/Makefile.am: Add pixmaps/goal.xpm to EXTRA_DIST
4264         * Makefile.am: Make THANKS only be generated by maintainers.
4266         * doc/pl/Makefile.am: Removed usage+objects+basic.xml from
4267         Makefile, too.
4269         * configure.in: Added three missing Makefiles.
4271         * app/diagram.[ch]: 
4272         * app/filedlg.c:
4273         Patch from shuveb@yahoo.com (Shuveb Hussain): Remove
4274         diagram-related (save) dialog when closing diagram.  To be
4275         extended to other dialogs.
4277         * doc/pl/dia.xml: Removed reference to objects-basic. (#144527)
4279         * samples/Istar.dia:
4280         * samples/Jackson.dia:
4281         * samples/KAOS.dia:
4282         * sheets/Istar.sheet.in:
4283         * sheets/Jackson.sheet.in:
4284         * sheets/KAOS.sheet.in:
4285         * sheets/Istar/*:
4286         * sheets/Jackson/*:
4287         * sheets/KAOS/*:
4288         * objects/Istar/*:
4289         * objects/Jackson/*:
4290         * objects/KAOS/*:
4291         * configure.in: 
4292         * objects/Makefile.am (SUBDIRS): 
4293         * sheets/Makefile.am (SUBDIRS): 
4294         * samples/Makefile.am: Additions from Christophe Ponsard
4295         <cp@cetic.be>: Jackson, I* and KAOS diagram support.  Needs a bit
4296         of hacking still.
4298 2004-06-12  Lars Clausen  <lars@raeder.dk>
4300         * lib/properties.h: 
4301         * lib/prop_geomtypes.[ch]: Preparation for selectable units.
4303         * lib/font.h: Toning down comments a bit:)
4305         * lib/font.c (dia_font_build_layout): Playing around with DPI 
4307         * objects/UML/association.c (association_load): Avoid crashes on
4308         strcmp with NULL.
4310         * objects/UML/association.c: Patch from kimmidi@novell.com:
4311         Improve placement of labels when vertical.  Part fix of #118313
4313         * lib/object.c (dia_object_is_selected): Grouped objects are not
4314         selected, only the group itself.  Thus, don't crash when grouping
4315         beziers. #143681
4317         * objects/UML/association.c: Patch from kimmidi@novell.com:  Agree
4318         on how to represent empty strings.  Fixes #143639.
4320         * lib/object.c (dia_object_is_selected): Added comment answer.
4322 2004-06-12  Hans Breuer  <hans@breuer.org>
4324         * lib/diagramdata.c lib/object.c : deal with grouped objects
4325         not knowing their parent_layer, i.e. avoid crashing in 
4326         dia_object_is_selected() via group_draw() [ Triggered by
4327         playing with the Visio generated svg from bug #143455 ]
4329         * plug-ins/python/diasvg_import.py : started to implement
4330         transformation="translate(...)" and <style/> handling. Also
4331         use some other completely bogus values for em/ex scaling
4332         
4333 2004-06-08  Lars Clausen  <lars@raeder.dk>
4335         * plug-ins/cairo/.cvsignore: CVS-ignore generated makefiles.
4337 2004-06-07  Lars Clausen  <lars@raeder.dk>
4339         * app/layer_dialog.c (layer_dialog_set_diagram): 
4340         * app/display.c: Layer widget crash more properly dealt with in
4341         layer dialog code.
4342         
4343         * app/display.c (ddisplay_flush): Fixed crash when closing:  Layer
4344         widget deselect was called during destroy, but called
4345         ddisplay_flush, leading to a new display timeout after renderer
4346         was dead.
4348         * lib/widgets.c (dia_toggle_button_destroy): 
4349         * app/recent_files.c (recent_file_menuitem_create): 
4350         * lib/persistence.c (persistence_save_list): 
4351         * app/commands.c (edit_delete_callback): 
4352         * lib/object_defaults.c (dia_object_defaults_save): 
4353         * lib/parent.c (parent_list_affected_hierarchy): Killed leaks
4354         (#142669)
4355         
4356         * lib/widgets.c (dia_toggle_button_new_with_images): Remove
4357         debugging info.
4359         * lib/diagramdata.c (new_layer): Initialize connectibility.
4361         * app/display.c (ddisplay_obj_render): 
4362         * app/diagram.c (diagram_find_closest_connectionpoint): Take
4363         connectibility into account.
4365         * app/layer_dialog.h (struct _DiaLayerWidget): 
4366         * app/layer_dialog.c:
4367         Connectible toggle updates, now works fairly well.
4369         * app/select.c (select_transitive_callback): Make sure we're only
4370         selecting in the same layer.
4372 2004-06-04  Lars Clausen  <lars@raeder.dk>
4374         * app/pixmaps/Makefile.am: Also install connectable images.
4375         
4376         * app/layer_dialog.c (dia_layer_update_from_layer): Initially set
4377         layer toggles from layer itself.  Also update diagram correctly
4378         for visibility.  Still need updates for connectivity behaviour.
4380 2004-06-03  Hans Breuer  <hans@breuer.org>
4382         * plug-ins/wpg/wpg.c(draw_image) : take rowstride into account
4384         * lib/diagdkrenderer.c(set_linejoin) : actually set
4385         join_style not cap_style
4386         (set_dashes): with the correct number of dashes
4388 2004-06-03  Lars Clausen  <lars@raeder.dk>
4390         * app/modify_tool.c (click_select_object): 
4391         * lib/text.c (text_set_cursor): 
4392         * app/disp_callbacks.c (ddisplay_canvas_events): Turn off text stuff.
4394 2004-05-31  Hans Breuer  <hans@breuer.org>
4396         * lib/object_defaults.c : don't 'failed to load external 
4397         entity "NULL"' when the defaults file does not exist, 
4398         bug #108764 [again: somehow this got lost]
4400         * app/paginate_gdiprint.cpp : don guess the WMF export 
4401         filter used for printing but find it by unique name.
4402         Also update for export_func renaming
4403         * plug-ins/wmf/wmf.cpp plug-ins/cairo/diacairo.c
4404         provide some unique names
4406         * app/commands.c app/disp_callbacks.c app/paginate_psprint.c 
4407           app/select.c : fix bug #140789 by always checking if there
4408         still is an active diagram before accessing it
4410         * app/defaults.c app/properties.c : user visible string should 
4411         not read DiaObject but stay as "Object defaults/properties"
4413         * app/app_procs.c : reduce the hack to pass --size to the
4414         export via user_data to the only filter supporting it. Other
4415         filters would crash on it or do worse ;(
4417         * plug-ins/wpg/wpg.c : not every 'Object' is a DiaObject ...
4419 2004-05-31  Lars Clausen  <lars@raeder.dk>
4421         * lib/widgets.h: 
4422         * lib/widgets.c: Use GtkType rather than guint for
4423         dia_size_selector_get_type. 
4425 2004-05-29  Lars Clausen  <lars@raeder.dk>
4427         * app/diapsrenderer.c (fill_bezier): Use even-odd winding rule so
4428         that it matches the screen output for selfoverlapping polygons and
4429         beziers. 
4431 2004-05-28  Hans Breuer  <hans@breuer.org>
4433         * app/load_save.c : ignore empty groups on load and don't
4434         write empty groups while saving
4435         * lib/group.h (group_update_data): there is no first object
4436         in empty groups and they probably don't need an update at 
4437         all. Maybe the shold just not exist ?
4439         * plug-ins/cairo/diacairo.c : fixed arc drawing, right aligned
4440         text positioning as well as drawing of images with alpha
4442         * plug-ins/wmf/wmf.cpp : include windows.h if eiher
4443         HAVE_WINDOWS_H or G_OS_WIN32 is defined
4445 2004-05-28  Lars Clausen  <lars@raeder.dk>
4447         * app/pixmaps/Makefile.am (imagedir): 
4448         * app/pixmaps/visible.png:
4449         * app/pixmaps/visible-empty.png: New images for the visibility
4450         button in the layer dialog.
4452         * lib/widgets.c (dia_toggle_button_new_with_images): Remove even
4453         more border around the button.  Still some left when hovering the
4454         mouse or selecting, and the grey background is annoying.
4456         * app/layer_dialog.c (dia_layer_widget_init): Use real buttons for
4457         visibility connector.
4459 2004-05-26  Lars Clausen  <lars@raeder.dk>
4461         * configure.in (DB2MAN): Better check for db2man docbook place.
4462         Need something even better.
4464         * doc/en/Makefile.am (dia.1): Conditional on having DB2MAN.
4466         * lib/widgets.c (dia_toggle_button_new_with_images): Remove
4467         extraeneous borders.
4469         * dia_logo.png:
4470         * dia_gnome_icon.png:
4471         * samples/render-test.dia: Rendering test from Hans.
4473 2004-05-24  Hans Breuer  <hans@breuer.org>
4475         * lib/filter.h : renamed DiaExportFilter::export to
4476         _DiaExportFilter::export_func (should not use c++ 
4477         keywords (g++ specifc ?) in headers. Same for import
4478         out of pure symmetry reasons
4479         * plug-ins/shape/shape-export.c plug-ins/python/diamodule.c
4480           app/diagram.c app/filedlg.c : reflect functions renaming
4482         * plug-ins/wmf/Makefile.am : finally compile the wmf plug-in
4483         under *NIX, too. [If you want something done, do it yourself ;-]
4484         * plug-ins/wmf/wmf_gdi.[hc] : some more stuff to catch up
4485         with wmf.cpp's GDI usage
4486         * plug-ins/wmf/wmf.cpp : compile even without HAVE_WINDOWS_H,
4487         [For the moment it does not much more than compiling, i.e. 
4488         the produced WMF files are invalid, if not created on windoze.]
4490         * configure.in : check for C++ to compile plug-in/wmf
4491         
4492         * objects/GRAFCET/boolequation.c : looks like fixing 
4493         another leak (untested)
4495 2004-05-23  Hans Breuer  <hans@breuer.org>
4497         * acinclude.m4 : another attempt to fix 
4498         bug #142032 (still not sure it's the right one,
4499         but works for me(tm), which the other does not ;)
4500         
4501         * plug-ins/cairo/Makefile.am
4502           plug-ins/Makefile.am 
4503           configure.in : support building the new cairo
4504         plug-in, if given --with-cairo and the cairo
4505         packages are found, see http://cairographics.org
4506         and also http://hans.breuer.org/dia/dia-cairo.htm
4508         * plug-ins/cairo/diacairo.c : make it compile
4509         with DEBUG_CAIRO defined, too.
4511 2004-05-23  Hans Breuer  <hans@breuer.org>
4513         * plug-ins/cairo/Makefile.am : initial attempt
4515         * plug-ins/cairo/diacairo.c : a new exporter based on
4516         Cairo http://cairographics.org rendering api. Currently
4517         it just can export PNG and PS but one day it might get
4518         PDF and more almost for free. [It is not yet included
4519         in the *NIX build system due to lack of auto* magic.]
4521         * plug-ins/pixbuf/pixbuf.c : always register the export
4522         filter part. If the user does not want it it can be 
4523         disabled by File/Plugins or explicit selected the other
4524         one in the Export Formats List
4526 2004-05-23  Hans Breuer  <hans@breuer.org>
4528         * lib/dia_dirs.c : #include "message.h"
4529           lib/widgets.c : #include "persistence.h"
4530           lib/widgets.c(dia_font_selector_init) : still not C99
4531           lib/persitence.h : removed unimplemented prototype
4532           lib/persitence.c(persistence_load_list) : still not C99
4533           app/create_object.c : #include "highlight.h"
4534           app/layer_dialog.c : #include "widgets.h"
4535           app/modify_tool.c : prototype functions before usage
4536           lib/object.c : if there is G_END_DECLS there _must_ be G_BEGIN_DECLS
4537         [otherwise one will have a hard time to make C++ compile ;]
4538           lib/dia_dirs.c : #include "message.h"
4539           lib/font.c : #include <gtk/gtk.h> /* just for gtk_get_default_language() */
4540           lib/
4542         * plug-ins/xfig/xfig-import.c : dont initialize an int with
4543         a string pointer
4545         * lib/dia_image.[hc](dia_image_rgba_data) : make it work
4546         as documented, i.e. _not_ copying. Plugs a memory leak in
4547         lib/dialibartrenderer.c
4549         * lib/diarenderer.c(*_rounded_rect) : renamed parameter rounding
4550         to radius to more of a clue what it is representing
4552         * */makefile.msc lib/libdia.def : updated
4554         ChangeLog : fixed some date copy&paste bug
4556 2004-05-21  Lars Clausen <lars@raeder.dk>
4558         * NEWS: Release tag.
4560         * config.h.win32: Now 0.93+cvs
4562         * RELEASE-PROCESS: Update with new info about release branches.
4563         
4564         * Many files:  Moved devel branch back into main trunk.  Should
4565         have been done in the opposite way, with release in a branch.  
4566         
4567 2004-05-20  Hans Breuer  <hans@breuer.org>
4569         * acinclude.m4 : disable setting of PYTHON_PREFIX
4570         and PYTHON_EXEC_PREFIX from prefix and exec_prefix
4571         as workaround for bug #142032 (the real fix would 
4572         involve some auto* knowledge which I don't have
4573         either;)
4574         
4575         * plug-ins/python/Makefile.am : more python 
4576         plug-ins to be installed (especially svg import,
4577         but also 'simple scale' should be useable 
4578         sometimes)
4579         
4580         * plug-ins/python/scascale.py : update display
4581         after modifying selected objects
4582         
4583         * plug-ins/python/diasvg_import.py : initialize
4584         stroke to none
4585         
4586 2004-05-18  Lars Clausen  <lars@raeder.dk>
4588         * app/diagram_tree.c (select_node): Use
4589         diagram_remove_all_selected to kill selected list.
4591         * lib/font.c: Set language when using a different context.
4593         * plug-ins/svg/svg-import.c: Changed isdigit to g_ascii_isdigit
4594         and removed ctype include (#142661).
4596         * lib/paper.c (get_default_paper): Changed isalnum to
4597         g_ascii_isalnum and removed ctype include. (#142661)
4599         * objects/custom/shape_info.c: 
4600         * lib/dia_svg.c: 
4601         * app/diaunitspinner.c: Removed unrequired ctype.h include. (#142661)
4603 2004-05-17  Hans Breuer  <hans@breuer.org>
4605         * lib/object_defaults.c : don't 'failed to load external 
4606         entity "NULL"' when the defaults file does not exist, 
4607         bug #108764
4609         * lib/widgets.c : fixed possible menu leak
4610         * lib/dialinechooser.c lib/diaarrowchooser.c : finally
4611         avoid finalization of floating references, bug #142307
4613 2004-05-15  Lars Clausen  <lars@raeder.dk>
4615         * plug-ins/xfig/xfig-import.c: Handle default fonts and illegal
4616         fonts better (#138655)
4617         
4618         * doc/pl/Makefile.am (EXTRA_DIST): Also include all xml files here.
4620         * doc/en/Makefile.am (EXTRA_DIST): Including all required files in
4621         dist, xml, dbk and man.  Also the sub-xml files. (#142098)
4623         * Makefile.am (CLEANFILES): 
4624         * sheets/Makefile.am (EXTRA_DIST): Not distributing the
4625         translation-reports, they are generated automagically.  THANKS
4626         file not considered locally generated, so is not locally
4627         cleaned. (#133735) 
4629         * lib/widgets.[ch]: Changing dia_arrow_selector to be a gobject.
4631         * lib/diaarrowchooser.c: 
4632         * lib/prop_attr.c: Fixing naming for arrowselector.
4634         * objects/UML/object.c (objet_type): Oops, little too aggressive
4635         with the DiaObject thing here:)
4637         * objects/custom/shape_info.c (parse_svg_node): Use
4638         g_ascii_isdigit instead of isdigit.
4640         * app/diaunitspinner.c (dia_unit_spinner_update): 
4641         * lib/dia_svg.c (dia_svg_parse_style): Using g_ascii_isspace
4642         instead of isspace avoids char subscript issues (#142467).
4644         * lib/persistence.c (persistence_get_string): Fixed 0/NULL/FALSE
4645         return value conflict.
4647         * app/display.c (ddisplay_update_handler): Fixed 0/FALSE return
4648         value conflict.  Also improved signature. (#142466)
4650         * app/load_save.c (diagram_data_load): Don't overwrite the list in
4651         the layer, but instead free the returned list (#142480)
4653         * app/pixmaps/Makefile.am (IMAGES): Added png's to be installed
4654         for the grid widget.
4656         * doc/en/Makefile.am (dia.1): Make proper rule for making dia.1
4658         * configure.in (DB2MAN): Currently just check for two known
4659         positions for the docbook xsl.  Don't know a generic way to find
4660         this info.  Ought to add an option for it, but then it's really
4661         only required for maintainers, I think.  Maybe.
4663         * app/display.c (update_snap_grid_status): Remove nasty image
4664         toggling code not require for grid toggle button anymore. (#142475)
4666         * app/interface.c (create_display_shell): Use
4667         dia_toggle_button_new_with_images to create grid toggle button.
4668         Much nicer. (#142475)
4670         * app/menus.c (menus_initialize_updatable_items): Free the string
4671         along with the GString. (#142475)
4673         * lib/intl.c (free_alias_table): Free hash table entries in a
4674         proper way, avoiding duplicate frees. (#142475)
4676         * lib/object_defaults.c (_obj_store): Only free layer_name if it's
4677         not put in the hash (avoid reading freed memory). (#142476)
4679         * lib/widgets.c (dia_font_selector_set_styles): Stop leaking
4680         faces. (#142484)
4681         (dia_font_selector_get_family_from_name): Stop leaking
4682         families. (#142482) 
4684 2004-05-14  Lars Clausen  <lars@raeder.dk>
4686         * Transfer of fixes from release branch.  Not the prettiest way to
4687         do it, this should be done during release, not afterwards.
4689         Tomasz KÅ‚oczko <kloczek@pld.org.pl>:
4691         * acinclude.m4: minor fixes (added missing [] quotation).
4693         Lars Clausen  <lars@raeder.dk>:
4695         * app/interface.c (toolbox_delete): 
4696         * app/app_procs.[ch] (app_exit): Stop the delete event if the user
4697         cancels quit due to modified diagrams.
4699         Samúel Jón Gunnarsson  <sammi@techattack.nu>:
4701         * is.po: Added "is" to ALL_LINGUAS.
4703         Lars Clausen  <lars@raeder.dk>:
4705         * dia.spec: Updated as per mail from Zhang Lin-bo <zlb@lsec.cc.ac.cn>
4707         Hans Breuer  <hans@breuer.org>:
4709         * lib/makefile.msc : removed -DGTK_DISABLE_DEPRECATED; the 
4710         burden should be shared and not be win32 only ;) [this time 
4711         build was broken by adding GtkType to widget.h]
4713         * objects/standard/box.c objects/standard/ellipse.c :
4714         for code clarification compare (obj->aspect != FREE_ASPECT)
4715         and not (obj->aspect); no binary effect.
4717         * app/paginate_psprint.c : don't leak printcmd
4719         * objects/standard/box.c objects/standard/ellipse.c : fix gccisms :
4720         standard C requires variables to be declared at the beginning of 
4721         a block, also there is no fabsf() with msvc
4722         
4723         * app/win32print.[ch] : make win32_printer_close() return an
4724         error code, it's used as pclose replacement
4726         Lars Clausen  <lars@raeder.dk>:
4728         * RELEASE-PROCESS: Mention PATCH keyword in release process.
4730 2004-05-06  Lars Clausen  <lars@raeder.dk>
4732         * lib/widgets.[ch]: Utility function to make a widget with two
4733         images (selected and non-selected).
4735         * lib/diagramdata.h: Renamed selectable to connectable.
4736         Selectable will come later.
4738         * configure.in: 
4739         * app/pixmaps/Makefile.am (imagedir): 
4740         * app/pixmaps/connectable.png:
4741         * app/pixmaps/connectable-empty.png: New images for the
4742         selectability widget.  Proper installation, too.
4744         * app/layer_dialog.[ch]: Adding new button showing connectability
4745         status.  Much cleaner way of doing the button, but some problems
4746         with the item getting selected
4748         * lib/widgets.h: Reminder of how to install images for use by
4749         dia_get_image_from_file.
4751 2004-05-05  Lars Clausen  <lars@raeder.dk>
4753         * objects/network/Makefile.am: 
4754         * objects/network/pixmaps/radiocell.xpm: 
4755         * objects/network/pixmaps/basestation.xpm: 
4756         * objects/network/network.c: 
4757         * objects/network/basestation.c: 
4758         * objects/network/radiocell.c: 
4759         Patch from W. Borgert <debacle@debian.org>: Radio cell and base
4760         station objects.
4762         * lib/arrows.[ch]: Patch from Anthony <anthonym@overture.com>:
4763         Backslash arrow head. 
4765         * app/pagesetup.c (pagesetup_respond): Do not free ps twice.
4766         Notify takes care.  Should maybe use that more.
4768         * lib/diagramdata.[ch]: 
4769         * app/filedlg.c (file_export_ok_callback): 
4770         * app/diagram.c (diagram_finalize): DiagramData now a GObject.
4772         * app/dia-props.c (diagram_properties_respond): 
4773         * app/diagram.c (diagram_set_modified): 
4774         * app/undo.c: 
4775         * app/disp_callbacks.c: 
4776         * app/commands.c: 
4777         * app/load_save.c (diagram_save): 
4778         Better handling of undo and modified status -- only diagram
4779         properties and page setup explicitly set modified status, all
4780         other important changes should be done through the undo stack
4781         now.
4783 2004-05-04  Lars Clausen  <lars@raeder.dk>
4785         * app/app_procs.c (app_init): Consistently open a new diagram if
4786         none specified, with standard name Diagram1.dia.
4788         * app/layer_dialog.c: 
4789         * app/diagram.c (diagram_finalize): 
4790         * app/commands.c (dialogs_layers_callback): 
4791         * app/filedlg.c (file_export_ok_callback): 
4792         * app/app_procs.c (app_exit): 
4793         * app/display.c (display_set_active): 
4794         * app/interface.c (dia_dnd_file_drag_data_received): 
4795         * app/recent_files.c: 
4796         Undone attempt at unifying the multi-diagram windows (like
4797         layers).  It broke the layers and didn't make much sense for the
4798         diagram properties dialog anyway.
4800         * lib/group.c: 
4801         * lib/diatypes.h: 
4802         * lib/diagramdata.c: 
4803         * lib/object.h: 
4804         * lib/object.c: Undone attempts at GObject'ifying DiaObject -- too
4805         many subclasses have to be fixed.  Fixed remaining
4806         Object/ObjectType renaming issues.
4808 2004-05-02  Lars Clausen  <lars@raeder.dk>
4810         * lib/object.[ch]: Making DiaObject a GObject.  Now can I avoid
4811           having to make all the children objects conform to
4812           GObject style at once?  Warning!  Does not compile right now.
4814         * many, many files: Rename Object to DiaObject in preparation for
4815           making it a GObject.
4816         
4817         * app/diagram.[ch]: Turn diagram into a real GObject.
4819         * app/pagesetup.c: 
4820         * app/filedlg.c: Correctly ref and unref diagram. 
4822         * lib/diagramdata.h: Starting to turn it into a GObject as well.
4824 2004-05-02  Lars Clausen  <lars@raeder.dk>
4826         * lib/object.[ch]: Starting to convert Object to DiaObject, son of
4827         GObject. 
4829         * app/dia-props.c: Undo the attempt at making it really
4830         multi-diagram, now going for a one-diagram dialog.
4832 2004-04-30  Lars Clausen  <lars@raeder.dk>
4834         * app/undo.c: Undoing broken undo stuff for diagram properties and
4835         page setup.  Shouldn't be mixed into undo at all.
4837         * app/render_gdk.c (draw_pixel_line): Use the dash-setting
4838         function to avoid in particular the grid crawling.
4840         * lib/diagdkrenderer.[ch] (dia_gdk_renderer_set_dashes): Function
4841         to allow aligning dashes, so they don't crawl.
4843 2004-04-28  Lars Clausen  <lars@raeder.dk>
4845         * app/Makefile.am: New files diacanvas.[ch]
4847         * app/interface.c (create_display_shell): Use new diacanvas that
4848         allows placing widgets on canvas, for text edit.
4850         * lib/object.h: 
4851         Early work towards rotation.  No implementation yet.
4853         * app/layer_dialog.c (undo_layer): 
4854         * objects/network/bus.c (bus_create_change): 
4855         * objects/standard/box.c (aspect_create_change): 
4856         * objects/standard/ellipse.c (aspect_create_change): 
4857         Use g_new0 for change struct.
4859         * app/undo.c (diagram_change_apply_or_revert): 
4860         Support for undo of diagram properties and page setup.
4862         * app/disp_callbacks.c (ddisplay_canvas_events): 
4863         * lib/text.h: 
4864         * lib/diagramdata.h: 
4865         * app/modify_tool.c (click_select_object): 
4866         * lib/text.c (text_register_editable): 
4867         Starting work on new text editing model.  Guarded by #ifdef so
4868         far. 
4870 2004-04-07  Lars Clausen  <lars@raeder.dk>
4872         * app/recent_files.c (open_recent_file_callback): 
4873         * app/interface.c (origin_button_press): 
4874         * app/filedlg.c (file_open_ok_callback): 
4875         * app/display.c: 
4876         * app/diagram.[ch]: 
4877         * app/commands.c (dialogs_layers_callback): Using new
4878         diagram_set_current() function to ensure auxilliary windows are
4879         updated. 
4881         * app/layer_dialog.c: Trying to unify with dia-props.  Diagram
4882         menu now borken.  *sniff*
4884         * app/dia-props.c: Diagram properties window attempted
4885         persistentified.  Trying to make more like layer dialog (since it
4886         already changes when the diagram changes), but some things still
4887         borken. 
4889 2004-04-06  Lars Clausen  <lars@raeder.dk>
4891         * lib/dialinechooser.[ch] (dia_line_chooser_set_line_style): 
4892         * lib/attributes.c (attributes_set_default_line_style): 
4893         * app/interface.c (create_lineprops_area): 
4894         Make line style persistent as well.  Added function to directly
4895         set the style and dashlength of a dialinechooser. 
4897 2004-04-03  Lars Clausen  <lars@raeder.dk>
4899         * objects/standard/ellipse.c (ellipse_move_handle, ellipse_copy):
4900         Copy the ellipse extra handle correctly.
4902         * objects/standard/box.c (box_move_handle): Move definitions
4903         according to bug #138925.
4905 2004-04-02  Lars Clausen  <lars@raeder.dk>
4907         * app/recent_files.c: Use absolute name for recent files list.
4909         * lib/attributes.c: Set start and end arrow types, correctly.
4911         * lib/widgets.c (dia_arrow_selector_set_arrow): Use new function
4912         to get arrow index.
4914         * lib/diaarrowchooser.[ch]: Support for setting arrow info.
4916         * app/interface.c (create_lineprops_area): Set persistently stored
4917         arrow info.
4919         * lib/arrows.[ch]: New function to get arrow index (in arrow_types)
4920         from arrow type.
4922         * lib/dia_dirs.c: dia_get_absolute_path now creates a canonical
4923         path (i.e. without '.' or '..').  Not tuned for Win32 yet.
4925         * plug-ins/xfig/xfig-import.c: Redone ordering of import to comply
4926         with what xfig does.  Text now converted from latin-1 to utf-8
4927         (latin-1, since that's what xfig seems to use.  Would like to see
4928         examples of non-latin-1 figs).  String case problems fixed.
4930 2004-04-01  Lars Clausen  <lars@raeder.dk>
4932         * lib/attributes.c: 
4933         * app/interface.c: Default arrows now stored persistently, too.
4935         * lib/arrows.[ch]: New function to get arrow type from name.
4937         * app/color_area.c (color_area_create): 
4938         * lib/attributes.c: 
4939         * app/linewidth_area.c: Also persistent colors and line width.
4940         That was easy.  Arrows and line style will take a bit more work,
4941         but not much.
4943 2004-04-01  Lars Clausen  <lars@raeder.dk>
4945         * app/preferences.c:   All preferences are now
4946         handled by persistence, old prefs load and store code is gone.
4948         * lib/persistence.[ch]: Added string and color persistents.  This is
4949         a different string from the one used in the printer dialog, that
4950         one has a GtkEntry attached -- may want to make that one an
4951         encapsulation of this one or something.
4953 2004-03-31  Lars Clausen  <lars@raeder.dk>
4955         * app/app_procs.c: Do persistence before prefs.  Prefs are to be
4956         phased out anyway.
4957         
4958         * lib/persistence.[ch]: 
4959         * app/preferences.c: Adding persistence for integers, reals,
4960         booleans.  Fixed stupid list bug.  Test persistence for prefs.
4962 2004-03-30  Lars Clausen  <lars@raeder.dk>
4964         * app/recent_files.c: 
4965         Debugging of deallocation.
4966         
4967         * lib/widgets.c: 
4968         Font menu now uses persistence.  Ordering needs fixing, or it must
4969         be sorted.
4971         * lib/libdia.def: 
4972         * lib/Makefile.am (libdia_la_SOURCES): 
4973         * app/Makefile.am (dia_core_files): 
4974         * app/persistence.[ch]: 
4975         * lib/persistence.[ch]: Moved to lib as widgets need it.  Also a
4976         number of fixes, including multiple entries now being read
4977         properly.  Still some oddity about the persistent list having the
4978         role as first entry (which makes the font menu crash after a few
4979         iterations). 
4981 2004-03-26  Lars Clausen  <lars@raeder.dk>
4983         * app/persistence.c:
4984         * app/recent_files.[ch]: Redoing the recent-files list using
4985         persistence, reducing code by about 50%.  Still a problem when
4986         selecting an item from the menu -- possibly it doesn't like the
4987         menu being destroyed while in the callback?
4989 2004-03-25  Lars Clausen  <lars@raeder.dk>
4991         * app/persistence.c (persistence_load_string): Missing semicolon?!?
4993 2004-03-24  Lars Clausen  <lars@raeder.dk>
4995         * RELEASE-PROCESS: 
4997         * app/persistence.[ch]: 
4998         * app/paginate_psprint.c (diagram_print_ps): New type of data can
4999         be stored persistently:  Strings.  Only the printer command/file
5000         go in here now, but things like creator, organization, diagram
5001         comments etc could also be handled this way.
5003         * objects/standard/beziergon.c (beziergon_draw): Avoid control
5004         lines when the object is not selected.
5006 2004-03-23  Lars Clausen  <lars@raeder.dk>
5008         * lib/connectionpoint.h: 
5009         * app/load_save.c: Allow connection points to have names, and
5010         handle that in load/store.
5012         * lib/dialibartrenderer.c: Better highlighting for text.
5014         * lib/diagdkrenderer.h (struct _DiaGdkRenderer): 
5015         * lib/diagdkrenderer.c: Better highlighting for all, using same
5016         principles as libart highlighter.
5018 2004-03-22  Lars Clausen  <lars@raeder.dk>
5020         * lib/dialibartrenderer.[ch]: 
5021         * lib/diagdkrenderer.c: 
5022         * lib/object.h: 
5023         * app/object_ops.c:
5024         * app/diagram.[ch]:
5025         * app/display.[ch]:
5026         * app/Makefile.am: 
5027         * app/modify_tool.c: 
5028         * app/create_object.c: 
5029         * app/highlight.[ch]: 
5030         Added simple object highlighting.  In GDK rendering, highlights
5031         the bbox, in libart highlights the outline of the object (except
5032         for texts).
5034 2004-03-22  Lars Clausen  <lars@raeder.dk>
5036         * RELEASE-PROCESS: Added info on how to do a branch for
5037         development during release process.
5039 2004-03-20  Lars Clausen  <lars@raeder.dk>
5041         * RELEASE-PROCESS: Mention PATCH keyword in release process.
5043 2004-03-19  Lars Clausen  <lars@raeder.dk>
5045         * xmldocs.make: Fixed apparent uninstall error.
5047         * config.h.win32: 
5048         * doc/en/dia-manual.xml: 
5049         * doc/pl/dia-manual.xml: 
5050         * dia.spec: 
5051         * configure.in: 
5052         * NEWS: Version 0.93-pre1.
5054         * lib/dialinechooser.[ch]: Patch from pborelli@katamail.com (paolo
5055         borelli):  Remove some deprecated stuff.
5057 2004-03-18  Lars Clausen  <lars@raeder.dk>
5059         * Makefile.am: Try better uninstall thing for scrollkeeper.
5061         * objects/ER/entity.c: 
5062         * lib/arrows.[ch]: Patch from Georg Lothar Thimm
5063         <MGEORG@ntu.edu.sg>: Adds new ER arrows 1 or many, 0 or many, 0 or
5064         1, 1 exactly, as well as associative ER entities.
5066 2004-03-17  Lars Clausen  <lars@raeder.dk>
5068         * Makefile.am: Make distcheck not complain about scrollkeeper
5069         problems (as per advice from James Henstridge).
5071         * doc/pl/*.{xml,sgml}: Converted SGML manuals to XML to get better
5072         standard installation.
5074         * objects/standard/ellipse.c: Better strings for object menu.
5076         * app/sheets_dialog_callbacks.c: Fixed crashes from broken caching
5077         of dialogs (shame on you, glade!)
5079         * objects/custom/custom_object.c (custom_setup_properties):
5080         Removed debugging output
5082         * app/paginate_psprint.c (diagram_print_ps): Slightly more
5083         readable printer error messages.
5085         * xmldocs.make: 
5086         * omf.make: 
5087         * doc/en/Makefile.am: 
5088         * doc/pl/Makefile.am: 
5089         New more standard way to install the XML-based manuals.  
5091 2004-03-15  Lars Clausen  <lars@raeder.dk>
5093         * objects/standard/box.c (box_move_handle): More intuitive fixed
5094         aspect behaviour.
5096         * objects/standard/ellipse.c: 
5097         * objects/standard/box.c: 
5099         * lib/widgets.[ch]:
5100         * app/layer_dialog.[ch]:
5101         Patch from Steve Langasek <vorlon@debian.org>:
5102         Fixes startup crash on Alpha (bug #137169)
5103         
5104         * objects/standard/box.c: Aspect fixing like ellipses.
5106         * app/Makefile.am (dia_core_files): Include dia-app-icons.h
5108         * lib/pixmaps/Makefile.am (imagedir): Better Makefile.am for
5109         pixmaps, now can uninstall properly.
5111         * objects/standard/ellipse.c: Patch from dooms@info.ucl.ac.be:
5112         Fixed and circle aspect ratios for ellipses.  Bug #137156, #87966,
5113         #93940. 
5114         Added object menu access.
5116 2004-03-07  Hans Breuer  <hans@breuer.org>
5118         * lib/diaarrowchooser.c lib/dialinechooser.c : #undef
5119         GTK_DISABLE_DEPRECATED (I'd rather like if these widgets
5120         would not use deprecated apis, but it's much simpler this way)
5122         * lib/makefile.msc : build the above new widgets and render_pixmap
5123         * lib/libdia.def app/dia.def app/makefile.msc : updated
5125         * app/disp_callbacks.c : fix gccisms (without being able to make much sense of 
5126         what I saw, i.e. how big is an empty array supposed to be ? ;-). 
5127         Previously it gave :
5128         disp_callbacks.c(188) : error C2059: syntax error : '}'
5129         disp_callbacks.c(191) : warning C4034: sizeof returns 0
5131         * app/interface.c : #include "dialinechooser.h"
5133         * lib/diagdkrender.c : make the !HAVE_FREETYPE case compile again
5134         [one more reason not to use it here : it's quite slow compared to
5135          the native win32 font renderer ;]
5137         * app/app_procs.c app/filedlg.c : gtk_widget_destroy does not take
5138         a GtkDialog*, removed unneeded cast
5140         * app/render_eps.c : avoid assignment warning for void* user_data
5141         not being an int 
5143 2004-03-06  Steffen Macke sdteffen@web.de>
5145         * shapes/Map/Isometric/Makefile.am: added Makfile for Isometric
5146         shapes
5148 2004-03-06  Lars Clausen  <lars@raeder.dk>
5150         * lib/arrows.h (DEFAULT_ARROW_SIZE): Downed default arrow size to
5151         0.5, as per poll.
5153         * lib/font.c: Simple cleanup system for layout cache removes any
5154         layout that hasn't been used for 10 minutes, but only during idle
5155         time. 
5157 2004-03-05  Lars Clausen  <lars@raeder.dk>
5159         * sheets/Electric.sheet.in: Added patch from padro@lsi.upc.es
5160         (lluis padro) (#130887): Extended Electric shapes with vertical
5161         versions. 
5163         * sheets/Cybernetics.sheet.in: Normalize shape descriptions (never
5164         start with "Create a" or "A", always capitalize first word).
5166         * objects/standard/ellipse.c: Patch from Grégoire Dooms
5167         <dooms@info.ucl.ac.be>: Add extra connection point in center of
5168         ellipse.  Additionally added a handle in the center, and resize is
5169         now around the center.
5171         * configure.in: 
5172         * sheets/Makefile.am (SUBDIRS): 
5173         * sheets/IsometricMap.sheet.in: 
5174         * shapes/Map/Isometric/*
5175         * shapes/Makefile.am (SUBDIRS): Added Isometric shapes.
5177 2004-03-04  Lars Clausen  <lars@raeder.dk>
5179         * lib/Makefile.am: 
5180         * lib/pixmaps/Makefile.am: 
5181         * configure.in: 
5182         Better installation handling of pixmaps.
5183         
5184         * lib/diagdkrenderer.c: 
5185         * lib/diagtkfontsel.h (struct _DiaGtkFontSelectionClass): 
5186         * lib/diagtkfontsel.c (dia_gtk_font_selection_show_available_fonts): 
5187         Constness fixes.
5189 2004-03-03  Lars Clausen  <lars@raeder.dk>
5191         * lib/diagtkfontsel.h (struct _DiaGtkFontSelection): 
5192         * lib/diagdkrenderer.c: 
5193         * lib/diasvgrenderer.c:
5194         * lib/dialibartrenderer.c:
5195         * lib/diainteractiverenderer.c: 
5196         * lib/prop_text.c (multistringprop_handle_key): 
5197         * lib/dia_dirs.c: 
5198         * lib/dia_image.c (dia_image_rgba_data): 
5199         * lib/widgets.c: 
5200         * lib/diagramdata.c (layer_set_object_list): 
5201         * lib/font.h: 
5202         * lib/font.c: 
5203         Getting rid of compile warnings.
5205         * lib/widgets.c: Handle destroy properly, i.e. unref the two extra
5206         images.  Also remove unused decls.
5208 2004-03-02  Lars Clausen  <lars@raeder.dk>
5210         * lib/widgets.h: 
5211         * lib/widgets.c (dia_size_selector_init): Add images to the size
5212         selector chain widget.  Also new function to load installed images
5213         from files (better than from included XPM, IMHO).
5215 2004-03-02  Lars Clausen  <lars@raeder.dk>
5217         * lib/libdia.def: 
5218         * lib/pixmaps/[un]broken-chain.xpm: Icons stolen from GIMP for the
5219         size selector.
5221         * lib/Makefile.am: 
5222         * lib/widgets.c (dia_size_selector_init): Work
5223         on getting proper icon onto the size selector.  Need simple image
5224         load mechanism in utils.
5226         * lib/text.c: 
5227         * app/display.[ch]:
5228         * app/disp_callbacks.c: Patch from kou@cozmixng.org: Show preedit
5229         strings, handle utf8 strlen properly.  Bug #135930.
5231 2004-03-01  Lars Clausen  <lars@raeder.dk>
5233         * shapes/Cybernetics/*:
5234         * sheets/Cybernetics.sheet.in:
5235         * sheets/Makefile.am:
5236         * shapes/Makefile.am: 
5237         * configure.in: Patch from charly.meyer@t-online.de (Thorsten
5238         Roggendorf): Cybernetic shapes (#95553).
5240 2004-03-01  Lars Clausen  <lars@raeder.dk>
5242         * app/Makefile.am: Fixed $(EXEEXT) warning from automake.
5244         * lib/diatypes.h: New type DiaSizeSelector.
5246         * lib/widgets.[ch]: New size selector widgets that selects two
5247         values (width and height, nominally) optionally linked to keep
5248         aspect ratio.
5250 2004-03-01  Hubert Figuiere  <hfiguiere@teaser.fr>
5252         * plug-ins/svg/render_svg.c (new_svg_renderer): Add DTD declaration
5253         in front of file. Bug #128600.
5255         * app/Makefile.am:
5256         * app/interface.h:
5257         * app/lineprops_area.[ch]:
5258         * lib/Makefile.am:
5259         * lib/dialinechooser.[ch]:
5260         * lib/widgets.c (dia_line_style_selector_init): use line preview 
5261         instead of text labels. This involve moving away line_chooser to lib
5262         from app.
5264         * lib/diaarrowchooser.[ch] (close_and_hide): Make static to avoid
5265         symbol conflicts.
5267         * app/Makefile.am (dia_core_files): 
5268         * app/interface.c (create_lineprops_area):
5269         * app/render_pixmap.[ch]:
5270         * lib/Makefile.am:
5271         * lib/diaarrowchooser.[ch]:
5272         * lib/libdia.def:
5273         * lib/prop_attr.c:
5274         * lib/propdialogs.c:
5275         * lib/render_pixmap.[ch]:
5276         * lib/widgets.c (dia_arrow_fill_menu): Use arrow preview instead
5277         of text labels. This involve moving away arrow_chooser to lib from
5278         app.
5280 2004-02-29  Lars Clausen  <lars@raeder.dk>
5282         * objects/UML/class.[ch]: Puny kludge to avoid GtkList objects
5283         being updated half-way through destruction.  To be removed when
5284         the lists are replaced by something better.
5286         * objects/UML/class_dialog.c: Patch from luc@handhelds.org:
5287         Accelerators for class dialog.  Bug #130995.
5288         Patch from luc@handhelds.org: Better aligning of widgets.  Bug #130994.
5290         * app/dia-props.c:
5291         * app/preferences.c:
5292         * lib/properties.c:
5293         * objects/GRAFCET/step.c:
5294         * objects/Misc/analog_clock.c:
5295         * objects/chronogram/chronoline.c:
5296         * objects/chronogram/chronoref.c:
5297         Change to american spelling (color, not colour) to ease
5298         translators job.  Note that a number of translations may need an
5299         update now.  Bug #120466.
5301 2004-02-29  Lars Clausen  <lars@raeder.dk>
5303         * plug-ins/xfig/xfig-export.c: Patch from solworth@cs.uic.edu:
5304         Better arrow handling for missing arrows.
5306         * plug-ins/metapost/render_metapost.[ch]: Patch from
5307         phred@cs.berkeley.edu (Fred Reiss): Add font faces and font
5308         size. See bug #135363.
5310         * app/app_procs.c (app_init): If non-interactive, or if
5311         --log-to-stderr used, send all messages to stderr.  This should
5312         mean that old diaconv == dia --export-to-format=FOO BAR
5314 2004-02-29  Hubert Figuiere  <hfiguiere@teaser.fr>
5316         * app/menus.c: Get rid of GNOME menus. Deprecated APIs in GNOME 2.
5318 2004-02-28  Lars Clausen  <lars@raeder.dk>
5320         * lib/text.c (text_key_event): Patch from Kouhei Sutou
5321         <kou@cozmixng.org>: Fix wrong utf8 strlen handling.
5323 2004-02-27  Lars Clausen  <lars@raeder.dk>
5325         * KNOWN_BUGS: Added info on most commonly reported bugs, with
5326         BugZilla numbers.
5327         
5328         * app/disp_callbacks.c (popup_object_menu): Unified properties
5329         entry, fixes bug #105080.
5331         * app/diagram.c (diagram_update_menu_sensitivity): 
5332         * app/menus.h (struct _UpdatableMenuItems): 
5333         * app/menus.c (menus_initialize_updatable_items): Menu items
5334         changed around, align menus flattened, properties entry ghosted,
5335         dialogs menu removed, more shortcuts added.  Closing bugs #94018,
5336         #117495, #135125.
5337         Also taking out Gnome menus for now.  They don't allow shortcuts,
5338         so what are they good for?
5340 2004-02-27  Lars Clausen  <lars@raeder.dk>
5342         * app/menus.c (display_menu_items): 
5343         * app/commands.[ch]: Added duplicate menu item from Alan Horkan
5344         (bug #95546).
5346 2004-02-24  Adam Weinberger  <adamw@FreeBSD.org>
5348         * configure.in: Added 'en_CA' (Canadian English) to ALL_LINGUAS.
5350 2004-02-23  Lars Clausen  <lars@raeder.dk>
5352         * app/app_procs.c (app_init): Comments for translators.
5354 2004-02-22  Hubert Figuiere  <hfiguiere@teaser.fr>
5356         * app/preferences.c (prefs_create_dialog): Change packing policy
5357         for widget to expand.
5359         * app/Makefile.am (run_dia.sh): Fixed a typo in wrapper that prevented
5360         running with a debugger.
5362 2004-02-19  Lars Clausen  <lars@raeder.dk>
5364         * app/undo.[ch]: Adding last-saved information to undo to allow a
5365         diagram with all changes since last save undo to be marked as
5366         nonmodified.  Still needs integration with actual undo
5367         apply/revert calls.
5369         * app/diagram.h: 
5370         * app/diagram_tree.c (diagram_tree_update): 
5371         * app/diagram.c: 
5372         * app/display.c (update_modified_status): 
5373         * plug-ins/python/pydia-diagram.c (PyDiaDiagram_GetAttr): 
5374         * app/autosave.c (autosave_check_autosave): Encapsulate modifed
5375         test. 
5377         * app/render_eps.[c]: Restructure to better handle PS vs. EPS
5378         vs. EPSI, comment out EPSI until preview is in there.
5380         * lib/render.c: 
5381         * lib/diarenderer.c: Removing debugging printfs.
5383         * app/diapsrenderer.[ch]: Preparations for proper EPSI rendering
5384         (with preview)
5386         * objects/standard/arc.c (arc_update_handles): Check to avoid
5387         crash when start and end points are the same.
5389 2004-02-19  Lars Clausen  <lars@raeder.dk>
5391         * objects/standard/bezier.c: 
5392         * objects/standard/line.c (line_load): 
5393         * objects/standard/polyline.c (polyline_load): 
5394         * objects/standard/zigzagline.c (zigzagline_load): 
5395         * objects/standard/arc.c (arc_load): 
5396         * lib/widgets.h (DEFAULT_ARROW_WIDTH): Use DEFAULT_ARROW_SIZE
5397         instead of hardcoding.
5399 2004-02-18  Hubert Figuiere  <hfiguiere@teaser.fr>
5401         * app/disp_callbacks.c (popup_object_menu): append a menu item to 
5402         display properties.
5404 2004-02-17  Hubert Figuiere  <hfiguiere@teaser.fr>
5406         * app/app_procs.c: declare rc properly with the proper #ifdef
5408 2004-02-17  Lars Clausen  <lars@raeder.dk>
5410         * plug-ins/xfig/xfig-import.c: Correct ordering of imported FIG
5411         objects (which seemingly FIG itself breaks, or else there is no
5412         ordering).
5414 2004-02-16  Lars Clausen  <lrclause@cs.uiuc.edu>
5416         * plug-ins/xfig/xfig-export.c (figLineWidth): Check for minimum
5417         width renderable in xfig.  Helps on bug #133637, but does not
5418         quite fix it -- something about depth is wrong.
5420         * plug-ins/xslt/xslt.[ch]: Patch #133913 from phenning@lanl.gov:
5421         Extern definitions for Mac compilation.
5423         * app/app_procs.c: Patch #131159 from J. H. M. Dassen
5424         (jdassen@debian.org): Include fix.
5426         * app/interface.c: Patch #130100 from luc@handhelds.org:  Make
5427         sure the initial diagram size is correct.
5429 2004-02-15  Lars Clausen  <lrclause@cs.uiuc.edu>
5431         * lib/Makefile.am (AM_CPPFLAGS): Override AM_CPPFLAGS instead of
5432         CPPFLAGS, as per automake warning.
5433         * app/Makefile.am (AM_LDFLAGS): Override AM_LDFLAGS instead of
5434         LDFLAGS, as per automake warning.
5435         (run_dia.sh): More robust creation, and more easily moved.
5437         * app/undo.c (group_objects_revert): Don't double-free the objects
5438         list.  (#129221) Call object_add_updates on grouped objects.
5439         (ungroup_objects_revert): Call object_add_updates on grouped objects.
5441         * lib/diagramdata.c: Internal
5442         documentation. 
5444         * lib/polyshape.c (polyshape_update_data): Correctly calculate
5445         directions for polyshape corners (thanks, Valgrind!)
5447         * lib/attributes.c: 
5448         * lib/prop_attr.c (arrowprop_load): Use default arrow size.
5450         * lib/arrows.h: Default arrow size defined.  After all are using
5451         this, may lower to 0.4 or so.
5453         * app/lineprops_area.[ch]: New function to set the arrow type for an
5454         arrow chooser.
5456         * app/interface.c (create_lineprops_area): Set default line to
5457         have an arrow (fairly likely to be what's wanted, plus it shows
5458         the user where arrows are set).
5460         * app/app_procs.c: #ifdef HAVE_POPT popt args to process_opt
5462 2004-02-14  Lars Clausen  <lrclause@cs.uiuc.edu>
5464         * plug-ins/metapost/render_metapost.c (draw_with_linestyle):
5465         Dotted lines should use dot_length, not dash_length.
5467 2004-02-06  Hans Breuer  <hans@breuer.org>
5469         * app/interface.c : don't use gtk_drawing_area_size() to avoid
5470         the defaut size being also the minimum size. Instead use
5471         gtk_window_set_default_size() on the display shell. Fixes #130982.
5473         [fixing #131210, but umlauts in the 'main' filename still not really 
5474          supported on systems where filesystem encoding != utf8
5475         (Problems with recent file menu and window title)]
5476         * lib/dia_xml.[hc] : add data_filename() and data_add_filename()
5477         to deal with possible differnces in filename encodings, see
5478         g_filename_<to|from>_utf8()
5479         * objects/standard/image.c : use them.
5481         * lib/widgets.c : handle possible encoding difference here, too.
5482         Also get rid of most warnings by using const and GTK casts where 
5483         appropriate; one wrong cast (probably causing a crash) was found/fixed 
5484         by this - the remaining give a hint on finally leaking FontSelectorEntry.
5486         * lib/widgets.[hc] : hide _DiaFileSelector and *Class in .c. Modified
5487         dia_file_selector_<get|set>_file to behave like the respective Gtk 
5488         functions do : encoding- and const-wise ;-)
5490 2004-02-01  Robert Sedak  <robert.sedak@sk.htnet.hr>
5492         * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
5494 2004-01-19  Hans Breuer  <hans@breuer.org>
5496         * app/app_procs.c app/diaconv : 
5497         only call bind_textdomain_codeset when available, what's good 
5498         for The Gimp (bug #131215) can't be wrong for Dia : bug #125926
5499         * config.h.win32 : define HAVE_BIND_TEXTDOMAIN_CODESET
5501 2004-01-19  Steffen Macke <sdteffen@web.de>
5503         * makefile.msc: updated for new GAIM-like installer build; sync'ed
5504         ALL_LINGUAS with configure.in
5506 2004-01-18  Hans Breuer  <hans@breuer.org>
5508         * app/app_procs.c (myXmlErrorReporting) : avoid possible crash 
5509         by not passing NULL to g_print()
5511         * app/interface.c (create_toolbox) : actually use
5512         persitence_register_window() to restore toolbox window size
5514         * app/makefile.msc lib/makefile.msc : allow to deselect
5515         building with Freetype by command line to nmake like :
5516                 nmake -f makefile.msc "NOFT2=1"
5518         * plug-ins/python/diasvg_import.py : handle 'stroke-array' as
5519         far as possible with Dia's limited line style
5520         * plug-ins/python/pydia-property.c : allow to get and set
5521         Linestyle, style and dash(length)
5523         * lib/object.h : removed typedef for ObjectId not use anywhere
5525 2004-01-17  Hans Breuer  <hans@breuer.org>
5527         * objects/custom/shape_info.[hc] objects/custom/custom_object.c
5528           doc/shape.dtd doc/custom-shapes : 
5529         support for images in custom shapes, also removed some long-time
5530         dead code
5532         * doc/en/*.xml : fixed crippled line ends which get created
5533         when windoze line ends are checkin from the unix side
5535 2004-01-13  Laurent Dhima  <laurenti@alblinux.net>
5537         * configure.in: Added "sq" to ALL_LINGUAS.
5539 2004-01-11  Hans Breuer  <hans@breuer.org>
5541         [more less leaks ;-]
5542         
5543         * objects/SADT/annotation.c : use text_destroy() not g_free()
5544         
5545         * objects/chronogram/chronoline.c : neither leak chronoline::events
5546         nor chronoline::name
5548         * objects/wpg/wpg.c : don't g_free() but g_object_unref(renderer);
5550 2004-01-11  Hans Breuer  <hans@breuer.org>
5552         * lib/properties.h :
5553         * objects/custom/custom_object.c : more properties optional
5554         to be backward compatible for older diagrams not having them 
5555         set. (Try to load samples/all_objects.dia)
5556         
5557         [less memory leaks thanks valgrind ;-]
5558         
5559         * app/recent_files.c (recent_file_history_write) : 
5560         g_free(history_filename);
5561         (recent_file_menu_item) : use g_path_get_basename() 
5562         which already strdups, free result of g_strescape()
5563         
5564         * app/filedlg.c (create_export_menu) : return of
5565         filter_get_export_filter_label() must be g_free()'d
5566         (create_open_menu) : same for import
5567         
5568         * app/export_png.c (export_png_ok) : destroy info ptr
5569         with png_destroy_write_struct()
5570         
5571         * app/app_procs.c (app_init) : g_free(export_format_string);
5572         
5573         * lib/font.c (dia_font_finalize) : finalize parent_class, too
5574         (dia_font_new_from_style) : stop leaking almost all DiaFont by not
5575         refing it a second time, g_type_create_from_instance() is enough
5576         
5577         * lib/object_defaults.c (_obj_store) : don't mess with names
5578         len 0 (should avoid 'Invalid read of size 1, but doesn't ;)
5579         
5580 2004-01-11  Steffen Macke <sdteffen@web.de>
5582         * app/diapsftrenderer.c: including ftoutln.h
5583         * app/makefile.msc: updated for freetype build
5584         * lib/libdia.def: added dia_font_get_context()
5585         * lib/dialibartrenderer.c (draw_string): added cast
5586         
5587 2004-01-10  Hans Breuer  <hans@breuer.org>
5589         * lib/diagdkrenderer.c (draw_string) : gdk_draw_line with
5590         transformed coordinates, fixes bug 130804
5592 2004-01-10  Hans Breuer  <hans@breuer.org>
5594         * app/filedlg.c app/app_procs.c : don't try to destroy 
5595         'gtk_dialog_run'-dialogs dialogs by connecting to the "response"
5596         signal but simply by gtk_widget_destroy() after gtk_dialog_run()
5597         returns. Fixes 'has no handler' bugs like #121019
5599 2004-01-10  Hans Breuer  <hans@breuer.org>
5601         * objects/UML/class.c objects/UML/class_dialog.c : 
5602         handle umlclass->name being empty to avoid, i.e. fix #127968
5604         [plugging memleaks, thanks valgrind :-]
5605         
5606         * lib/dia_xml.c (data_string) : don't leak return value
5607         of xmlNodeListGetString()
5608         
5609         * lib/dia_xml.c (xml_file_check_encoding) : g_free(buf)
5610         before returning, maybe alloca() would be the better 
5611         choice but anyway ;)
5613         * objects/custom/custom_object.c:306 : adde xmlFree(str) below
5614         
5615         * lib/font.c (dia_font_build_layout) : don't leak result
5616         of g_utf8_strdown()
5617         
5618         * lib/diagdkrenderer.c (draw_string) : don't leak rgba
5619         (this is the one which got me started using valgrind, see #130816)
5620         
5621 2004-01-07  Sanlig Badral  <badral@openmn.org>
5623         * configure.in: Added "mn" to ALL_LINGUAS.
5625 2004-01-04  Hans Breuer  <hans@breuer.org>
5627         * lib/diagdkrenderer.c : replace rendering of really small (height
5628         less than 2 pixels) with a simple dashed line, you wont notice the 
5629         differnce beside it being much faster. This allows ...
5630         * lib/diagdkrenderer.h : ... to remove gboolean rendertext ...
5631         * app/navigation.c : ... and lets you see an read rendered text even 
5632         in the nice navigation popup.
5634         * lib/dialibartrenderer.c : FONT_SCALE defined as 1.0 for G_OS_WIN32, too. 
5635         (draw_string) : don't leak temporary image
5637 2004-01-04  Hans Breuer  <hans@breuer.org>
5639         * app/dia-app-icons.h : TODO : to be removed when autogenerated on *NIX, too.
5640         * app/interface.c : use dia-app-icons.h to give Dia window icons
5642         * lib/dia_image.c lib/color.c : _never_ call functions implemented
5643         in app/ from lib/. It is not portable and broken from design
5644         * app/app_procs.c : call color_init() and dia_image_init() conditional,
5645         i.e. only if running interactive.
5647         * lib/font.h : #include <time.h>
5649         * lib/libdia.def : updated externals
5651         * objects/UML/actor.c 
5652             objects/UML/association.c (todo)
5653           objects/UML/branch.c
5654           objects/UML/class.[hc] objects/UML/class_dialog.c
5655           objects/UML/classicon.c
5656           objects/UML/component.c 
5657           objects/UML/constraint.c
5658           objects/UML/dependency.c
5659           objects/UML/generalization.c
5660           objects/UML/implements.c
5661           objects/UML/large_package.c
5662           objects/UML/lifeline.c
5663           objects/UML/message.c
5664           objects/UML/node.c
5665           objects/UML/object.c
5666           objects/UML/realizes.c
5667           objects/UML/small_package.c
5668           objects/UML/state.c
5669           objects/UML/usecase.c
5670           objects/UML/
5671         : ported coloring of most UML objects (bug #97517, orginal
5672           work Mathias Hasselmann)
5674         * lib/properties.h : add _OPTIONAL variants for 
5675         PROP_STD_(LINE|FILL|TEXT)_COLOUR which allows to load old -
5676         i.e. default colored - UML diagrams without complaining
5677         * lib/proplist.c lib/propoffsets.c : avoid setting _OPTIONAL,
5678         not set properties with the help of PXP_NOTSET. Otherwise 
5679         optional attributes would lead to wrong initialization. 
5681         * lib/widgets.[hc] : moved _DiaFontSelector from .h to .c
5682         to hide details and restict #undef GTK_DISABLE_DEPRECATED to .c
5683         Same for most other selectors which probably should be rewritten
5684         to the combo box with tree model from Gtk+ 2.4
5686 2004-01-04  Lars Clausen  <lrclause@cs.uiuc.edu>
5688         * INSTALL (PLATFORM NOTES): Mention the Gnu gettext and iconv as
5689         being the Right Thing(tm) to use on Solaris.
5691         * objects/standard/bezier.c (bezierline_draw): Don't draw
5692         guidelines if not selected.
5694         * lib/object.[ch] (dia_object_is_selected): Function to check whether
5695         a given object is selected. O(n), where n is # selected objects.
5696         
5698 2004-01-03  Lars Clausen  <lrclause@cs.uiuc.edu>
5700         * lib/widgets.[ch]: Make sure old font is re-chosen when the Other
5701         Fonts dialog is closed without pressing Ok (bug #128646).
5703 2004-01-02  Lars Clausen  <lrclause@cs.uiuc.edu>
5705         * app/Makefile.am: Quote arguments correctly for run_dia.sh (bug
5706         #130099). 
5708 2004-01-01  Lars Clausen  <lrclause@cs.uiuc.edu>
5710         * INSTALL: Updated list of requirements (bug #129653)
5712         * doc/en/dia.dia: Beginning class diagram for Dia from Luc
5713         Pionchon <luc@handhelds.org>.
5715 2003-12-31  Lars Clausen  <lrclause@cs.uiuc.edu>
5717         * lib/diagdkrenderer.c (draw_string): Don't attempt to render
5718         empty or NULL strings (bug #130097).
5720 2003-12-31  Chris Sperandio <sperandi@eng.usf.edu>
5721         
5722         * plug-ins/metapost/render_metapost.c: Fixed string colorization.
5723         Added checks against color_black.
5725 2003-12-31  Lars Clausen  <lrclause@cs.uiuc.edu>
5727         * plug-ins/xfig/xfig-export.c (figArrow): Output nothing for
5728         ARROW_TYPE_NONE.  Thanks to Jon A. Solworth for showing that this
5729         can happen.
5731         * objects/UML/component_feature.c: Patch from W. Borgert
5732         <debacle@debian.org>:  Add handle to component feature text.
5734         * lib/diagdkrenderer.c (draw_string): Remove poorly placed caching.
5736         * lib/font.c: Caching PangoLayout for better rendering speed.
5738 2003-12-30  Lars Clausen  <lars@raeder.dk>
5740         * lib/dia_dirs.[ch] (dia_get_absolute_filename): New function to
5741         get absolute file name from relative.
5742         * app/recent_files.c (recent_file_history_add): Use absolute
5743         filenames for recent files menu so that files can be found when
5744         Dia is invoked from other places.  
5746         * app/app_procs.c (handle_all_diagrams): Fix for 1/3 of 130098:
5747         Actually load different diagrams if such are requested on command
5748         line.  
5750         * objects/UML/class_dialog.c (class_create_page): Fix from Luc
5751         Pionchon <luc@handhelds.org>: Correctly align labels for colors.
5753         * lib/diagdkrenderer.[ch]: From Luc: New option to GdkRenderer to
5754         remove text rendering.  May be turned into greeking at some later
5755         stage.
5757         * app/interface.c: 
5758         * app/Makefile.am (dia_core_files): 
5759         * app/navigation.[ch]: Patch from Luc Pionchon <luc@handhelds.org>:
5760         Adds navigation window a la Gimp, though without text being
5761         rendered at all.
5763 2003-12-27  Luc Pionchon <luc@handhelds.org>
5765         * app/navigation.h: (new file)
5766         * app/navigation.c: (new file) creates a navigation window with a
5767         thumbnail view of the whole diagram.
5768         * app/Makefile.am (dia_core_files): added new files.
5770         * app/interface.c (create_display_shell): added a button between
5771         the scrollbars to popup a navigation window.
5773         * lib/diagdkrenderer.h (struct_DiaGdkRenderer): added rendertext
5774         boolean
5775         * lib/diagdkrenderer.c (renderer_init): set rendertext TRUE by default
5776         * lib/diagdkrenderer.c (draw_string): returns if the renderer do
5777         not want text rendering.        
5779 2003-12-14  Lars Clausen  <lrclause@cs.uiuc.edu>
5781         * shapes/Circuit/hresistor.shape: Uses new extra attribute thing.
5783         * objects/custom/shape_info.[ch]: Cleanup.
5785         * objects/custom/custom_object.[ch]: Changed to use new props
5786         interface.
5788         * lib/properties.h: 
5789         * lib/prop_text.c: 
5790         * lib/prop_inttypes.c: 
5791         * lib/prop_geomtypes.c: Added *prop_get_data_size.
5793         * lib/libdia.def: Added object_load_props.
5795         * configure.in: Better FT2 version test, from bug #129225.
5797         * dia.spec (BuildRequires): Changed to match makefile (bug #129131)
5799         * plug-ins/xslt/dia-uml2python.xsl: Added Python sheet from Holger
5800         Lehmann <holger.lehmann@catworkx.de>.
5802         * plug-ins/xslt/Makefile.am: 
5803         * plug-ins/xslt/stylesheets.xml: Added Python, Component List,
5804         and OWL XSLT sheets.
5806 2003-12-13  Lars Clausen  <lrclause@cs.uiuc.edu>
5808         * lib/diagdkrenderer.c: Add implementation so text is still
5809         rendered.  May be improved later.
5811         * lib/dia_image.c: 
5812         * app/main.c: 
5813         * app/export_png.c: 
5814         * app/diagram.c: 
5815         * app/app_procs.c: Patch from W. Borgert <debacle@debian.org>:
5816         Allow running without a $DISPLAY!
5818         * lib/color.c: Remove warnings for non-interactive run.
5820         * doc/en/dia.dbk: 
5821         * app/export_png.c: 
5822         * app/diaconv.c: 
5823         * app/app_procs.[ch]: 
5824         Patch from W. Borgert <debacle@debian.org>: Allow a --size argument
5825         to specify size for PNG output.
5827         * app/lineprops_area.c (dia_arrow_preview_expose): Make arrows
5828         render a little smaller, so as to fit the big ones.
5830         * lib/arrows.[ch]: New arrow type from W. Borgert
5831         <debacle@debian.org>: Filled Dot and Triangle.
5833 2003-12-02  Lars Clausen  <lrclause@cs.uiuc.edu>
5835         * doc/pl/Makefile.am (install-data-hook): Fixed installation bug
5836         for gif images.
5838         * plug-ins/xslt/dia-uml2owl.xsl: Added OWL XSLT from Dan Connolly.
5840         * acinclude.m4: Better Python configure code patch (can't find
5841         author, author please speak up!)
5843 2003-12-01  Lars Clausen  <lrclause@cs.uiuc.edu>
5845         * lib/diagdkrenderer.c (get_cached_text): Stupid bugs replaced by
5846         smarter ones.
5848 2003-11-30  Hans Breuer  <hans@breuer.org>
5850         * plug-ins/python/diasvg.py : initialize self.dash_length
5851         in constructor to avoid crashing if the renderer user
5852         does not set it before first usage.
5854 2003-11-30  Lars Clausen  <lrclause@cs.uiuc.edu>
5856         * lib/diagdkrenderer.c: Start of cache GDK text renderer -- not
5857         active yet.
5859         * configure.in: 
5860         * config.h.win32: Set version number to 0.92.2+cvs to distinguish
5861         development and stable versions.
5863         * lib/text.c (text_draw): Use new renderer function to draw the
5864         text.
5866         * lib/diarenderer.h: 
5867         * lib/diarenderer.c: New renderer function "draw_text" with
5868         default implementation.  This function should eventually be the
5869         main interface, as it will be able to handle width and caching of
5870         rendering internally.  All users of draw_string should convert to
5871         use Text objects and call either renderer->draw_text or text_draw,
5872         the latter if the text can be edited in-place (as should be the
5873         goal, eventually).
5875 2003-11-29  Lars Clausen  <lrclause@cs.uiuc.edu>
5877         * shapes/Circuit/hresistor.shape: First example of extra
5878         attributes. 
5880 2003-11-28  Lars Clausen  <lrclause@cs.uiuc.edu>
5882         * plug-ins/shape/shape-export.c: 
5883         * lib/diasvgrenderer.h: 
5884         * lib/diasvgrenderer.c: 
5885         * plug-ins/svg/render_svg.c (new_svg_renderer): 
5886         Actually store the font size, using DiaRenderer's font fields.
5888 2003-11-27  Lars Clausen  <lrclause@cs.uiuc.edu>
5890         * objects/custom/shape_info.[ch]: 
5891         * objects/custom/custom_object.[ch]: 
5892         Support for extra attributes in custom objects.
5893         
5894 2003-11-23  Lars Clausen  <lrclause@cs.uiuc.edu>
5896         * app/diagram.c (diagram_update_menu_sensitivity): More
5897         intelligent checks for menu sensitivity.  Might be slow on huge
5898         diagrams, but I think other things outweigh it by a lot.
5900         * app/menus.[ch]: Make "Bring Forwards"
5901         and "Send Backwards" updateable.
5903 2003-11-22  Steffen Macke <sdteffen@web.de>
5905         * shapes/Assorted/arrow-turn-up.shape:
5906         * shapes/Assorted/arrow-turn-up.png:
5907         * sheets/Assorted/Makefile.am:
5908         * sheets/Assorted.sheet.in: Added new arrow
5910 2003-11-17  Lars Clausen  <lrclause@cs.uiuc.edu>
5912         * app/app_procs.c
5913         * app/color_area.c
5914         * app/commands.c
5915         * app/defaults.c
5916         * app/dia_embedd.c
5917         * app/diagram.c
5918         * app/diagram_tree.c
5919         * app/diagram_tree_menu.c
5920         * app/diagram_tree_window.c
5921         * app/diapagelayout.c
5922         * app/diaunitspinner.c
5923         * app/export_png.c
5924         * app/filedlg.c
5925         * app/interface.c
5926         * app/layer_dialog.c
5927         * app/lineprops_area.c
5928         * app/linewidth_area.c
5929         * app/menus.c
5930         * app/pagesetup.c
5931         * app/paginate_psprint.c
5932         * app/persistence.c
5933         * app/plugin-manager.c
5934         * app/preferences.c
5935         * app/properties.c
5936         * app/recent_files.c
5937         * app/sheets.c
5938         * app/sheets_dialog.c
5939         * app/sheets_dialog_callbacks.c
5940         * app/tool.c: Patch from Sebastien Tricaud <toady@gscore.org>:
5941         GTK-2 compatibility update, mostly gtk_foo -> g_foo.
5943         * TODO: Updated, note on EPS transparency.
5945 2003-11-07  Lars Clausen  <lrclause@cs.uiuc.edu>
5947         * objects/UML/class.c (umlclass_draw): Allow classes with no name
5948         without crashing.
5950 2003-11-01  Lars Clausen  <lrclause@cs.uiuc.edu>
5952         * config.h.win32: 
5953         * doc/en/dia-manual.xml: 
5954         * dia.spec: 
5955         * configure.in: 
5956         * NEWS: Another Brown Bag release for parenting problems,
5957         including a crash bug fix.
5959         * app/connectionpoint_ops.c (diagram_update_connections_object):
5960         Also update connections when moving children.  This can cause
5961         move_handle to be called twice, so it must be idempotent.
5963         * app/load_save.c: Loading and saving of children totally redone.
5964         Now doesn't violate assumption that all objects in a layer are
5965         placed in order in XML file.
5967         * objects/UML/branch.c (branch_create): Don't lie about being
5968         resizable. 
5970         * objects/UML/node.c (node_create): 
5971         * objects/UML/large_package.c (largepackage_create): Drag with
5972         lower right-hand handle at creation like all other objects.
5974 2003-10-28  Lars Clausen  <lrclause@cs.uiuc.edu>
5976         * app/disp_callbacks.c (ddisplay_drop_object): Change initial
5977         parenting drop to behave like a move inside, i.e. constrain place
5978         instead of trying to resize.  'Cause, resizing cannot be done for
5979         all objects (e.g. UML Class). Also simplified the algorithm a lot
5980         at the same time.
5982         * app/load_save.c: Saving and loading of connection points for
5983         children added.  Prototypes for static functions added.
5985         * lib/dynamic_obj.c: Removed debugging output.
5987 2003-10-26  Lars Clausen  <lrclause@cs.uiuc.edu>
5989         * doc/en/dia-manual.xml: 
5990         * doc/pl/dia-manual.sgml: 
5991         * dia.spec: 
5992         * config.h.win32: 
5993         * configure.in: 
5994         * NEWS: Brown Bag release 0.92.1
5996         * lib/dynamic_obj.c: Fixed embarassing dynamic object removal bug.
5998 2003-10-25  Lars Clausen  <lrclause@cs.uiuc.edu>
6000         * app/app_procs.c (app_init): Rearrangement for translators.
6002 2003-10-24  Steffen Macke <sdteffen@web.de>
6004         * lib/text.c(text_key_event): enforcing the inserted text length now,
6005         fix for bug #125348
6007 2003-10-22  Lars Clausen  <lrclause@cs.uiuc.edu>
6009         * MAINTAINERS: Change Debian maintainer to be the default address.
6011         * objects/Misc/analog_clock.c (analog_clock_move_handle): Reorder
6012         args to match prototype, thus removing crashbug #125159.
6014         * RELEASE-PROCESS: Note to self.
6016 2003-10-22  Steffen Macke <sdteffen@web.de>
6018         * doc/en/dia-manual.xml: removed superfluous external references
6019         
6020 2003-10-21  Steffen Macke <sdteffen@web.de>
6022         * lib/libdia.def: added filter_get_by_name
6023         * app/render_eps.c: moved extensions definition outside #ifdef
6025 2003-10-19  Lars Clausen  <lrclause@cs.uiuc.edu>
6027         * Makefile.am: 
6028         * dia.1:
6029         Removed old Dia manual, put new one in doc/en/.  Translations
6030         should go in doc/??/.
6032         * doc/en/dia-manual.xml: 
6033         * doc/pl/dia-manual.sgml: 
6034         * dia.spec (Release): 
6035         * config.h.win32: 
6036         * configure.in: 
6037         * NEWS: 0.92 is here!
6039         * doc/en/dia.dbk: 
6040         * doc/en/dia.1: 
6041         * doc/en/Makefile.am (man_MANS): Added man page, thanks to Fredrik
6042         HallenBerg, W. Borgert.  Not currently autogenerated from dia.dbk,
6043         but it shall be.
6045         * doc/en/usage-objects.xml: Fixed lower-case PNG tags.
6047         * doc/en/usage-objects-selecting.xml: Commented out empty note.
6049 2003-10-14  Lars Clausen  <lrclause@cs.uiuc.edu>
6051         * doc/pl/dia-manual.sgml: 
6052         * doc/en/dia-manual.xml: 
6053         * config.h.win32: 
6054         * NEWS: 
6055         * configure.in: 
6056         * dia.spec (Release): Pre7.
6058         * app/diapsrenderer.c (draw_string): Convert string to print based
6059         on current locale.  If conversion fails, fall back to UTF-8 (which
6060         is almost certain to be messy).
6062 2003-10-13  Lars Clausen  <lrclause@cs.uiuc.edu>
6064         * doc/pl/dia-manual.sgml: 
6065         * dia.spec (Release): 
6066         * configure.in: 
6067         * NEWS: 
6068         * config.h.win32: 
6069         * doc/en/dia-manual.xml: Pre6.
6071         * plug-ins/pstricks/render_pstricks.c (draw_string): Don't escape
6072         TeX chars in strings -- must be possible to use TeX text in there.
6073         Also avoids infinite loop bug (#124464) Will get option for this
6074         later.
6076 2003-10-11  Lars Clausen  <lrclause@cs.uiuc.edu>
6078         * shapes/Cisco/Makefile.am: Cisco shapes now install correctly.
6080         * doc/en/dia-manual.xml: 
6081         * doc/pl/dia-manual.sgml: 
6082         * dia.spec (Release): 
6083         * configure.in: 
6084         * config.h.win32: 
6085         * NEWS: pre5.
6087         * app/authors.h: Removed duplicate of M. C. Nelson.
6089         * plug-ins/pixbuf/pixbuf.c: Unique name for pixbuf export: gdkpixbuf.
6091         * app/export_png.c: Unique name for libart PNG export: png-libart.
6093         * app/render_eps.c: Unique names for the two eps export methods:
6094         eps-builtin, eps-pango.
6096         * lib/filter.h: Binary compatibility change: 
6097         Added unique name to export filters.  Can be NULL.
6098         * lib/filter.c (filter_get_by_name): Finding a filter by
6099         non-extension name.
6101         * app/app_procs.h: Changed prototype for do_convert.
6102         * app/app_procs.c (app_init): Support for non-extension file
6103         format selection for export.  Also allow extension to differ from
6104         that specified by the filters.  A bit of refactoring, too.
6106 2003-09-28  Steffen Macke <sdteffen@web.de>
6108         * makefile.msc: added target po to update the translations
6110 2003-09-27  Lars Clausen  <lrclause@cs.uiuc.edu>
6112         * config.h.win32: 
6113         * dia.spec (Release): 
6114         * NEWS: 
6115         * doc/pl/dia-manual.sgml: 
6116         * doc/en/dia-manual.xml: 
6117         Pre4 is given a short try.
6118         
6119         * configure.in: Give all necessary libs to PNG test.
6121         * lib/font.c: Added legacy entries for sans, serif and monospace.
6123         * app/app_procs.c (internal_plugin_init): 
6124         * app/render_eps.h: 
6125         * app/render_eps.c: 
6126         Added PS fonts output for Unix.
6128         * app/diapsrenderer.c (set_font): Adjusted height by the magic .7
6129         factor to make PS fonts stay in boxes.
6130         
6131 2003-08-03  Hans Breuer  <hans@breuer.org>
6133         * config.h.win32 : close the version string
6135         * lib/libdia.def : with color_white, color_black being static
6136         on win32 they can not be exported anymore either
6138         * lib/dialibartrenderer.c : text rendering is back on win32,
6139         only by Gdk though; almost a year seems to be enough to
6140         wait for my patch at bug #94791 to be accepted ...
6142 2003-09-23  Lars Clausen  <lrclause@cs.uiuc.edu>
6144         * shapes/network/{digitizing_board.png,plotter.png,
6145         laptop.png,telephone.png}: 22x22 icons.
6147 2003-09-22  Lars Clausen  <lrclause@cs.uiuc.edu>
6149         * doc/pl/dia-manual.sgml: 
6150         * doc/en/dia-manual.xml: 
6151         * dia.spec (Release): 
6152         * configure.in: 
6153         * config.h.win32: 
6154         * NEWS: 
6155         pre3 improves font rendering speed.
6157         * app/app_procs.c (app_init): Don't do pango init here, it's done
6158         on demand in font.c now.
6160         * lib/font.c: Load pango context on demand rather than during
6161         init/all the time strikes a better balance between working font
6162         size and speed.  Still need to cache width calculations.
6164 2003-09-18  Lars Clausen  <lrclause@cs.uiuc.edu>
6166         * lib/dia_xml.c: Enable pretty printing.  Should have been added
6167         on 8/12. 
6169 2003-09-11  Lars Clausen  <lrclause@cs.uiuc.edu>
6171         * lib/arrows.c (calculate_arrow_point): Adjust arrow line
6172         adjustment a bit for half diamond and open round.
6174         * RELEASE-PROCESS: Added note about notifying translators and
6175         maintainers. 
6177         * doc/pl/dia-manual.sgml: 
6178         * doc/en/dia-manual.xml: 
6179         * dia.spec (Release): 
6180         * configure.in: 
6181         * config.h.win32: 
6182         * NEWS:
6183         Update to 0.92-pre2.
6184         
6185 2003-09-10  Lars Clausen  <lrclause@cs.uiuc.edu>
6187         * lib/arrows.c (calculate_arrow_point): Some fixing-up of arrow
6188         calculation for half diamond and open round.
6190         * lib/arrows.c: 
6191         * objects/UML/component_feature.c: 
6192         * lib/arrows.h: Patch from W. Borgert <debacle@debian.org>: Use
6193         arrows instead of specific little hacks.  Much nicer, but damn
6194         there's a lot of arrows.
6196         * lib/dialibartrenderer.c (begin_render): 
6197         * app/render_libart.c (begin_render): Use correct DPI for screen
6198         (well, actually the default DPI of 75 for now).
6200         * app/display.h: Informative notes on the DDISPLAY_*_ZOOM macros.
6202         * lib/diagdkrenderer.c (draw_string): Some reformatting.
6204         * app/app_procs.c (app_init): Note on what should be done for the
6205         pango context now, only it doesn't work:(
6207         * lib/font.c (dia_font_new): Make sure to load fonts that are
6208         used, using a reasonable pango_context.  Also a comment on the
6209         global_zoom_factor, 
6211 2003-09-09  Lars Clausen  <lrclause@cs.uiuc.edu>
6213         * doc/pl/graphics/*.png:
6214         * doc/pl/Makefile.am: Added graphics to distro, avoiding empty
6215         loop (bug #121817).  PL translator may want to change the
6216         home_network png to be in Polish.  If the docs get translated into
6217         more languages, we'll want to find out how to share these things.
6219 2003-09-08  Lars Clausen  <lrclause@cs.uiuc.edu>
6221         * app/splash.c (app_splash_init): Patch from Sébastien Tricaud
6222         <stricaud@mwsp.net>: Use g_signal_* instead of gtk_signal_* in
6223         splash.
6225         * app/filedlg.c (file_save_as_callback): Put filename setting
6226         together.  (Preparation for allowing default save dir.)
6228         * app/paginate_psprint.c (diagram_print_ps): Use $PRINTER
6229         correctly this time:)
6231         * app/dia-props.c (diagram_properties_show): 
6232         * app/properties.c (properties_show): Make sure the
6233         dialogs are transient for the correct diagram.
6235 2003-09-07  Lars Clausen  <lrclause@cs.uiuc.edu>
6237         * configure.in: Make sure -lz -lm is passed into second png test
6238         as well (stupid AC_LINK_IFELSE can't take it as an argument).
6240         * plug-ins/xfig/xfig-import.c: Skip XFig comments to make certain
6241         comment-filled files readable.  Once we have a 'generic data'
6242         system, we can put comments in there.
6244 2003-09-06  Steffen Macke <sdteffen@web.de>
6246         * plug-ins/pstricks/render_pstricks.c(tex_escape_string): using
6247         g_string_sized_new() instead of g_string_new() to make it compile
6248         * app/Makefile.am: including dia.ico and dia.rc in the tarball
6249         * plug-ins/wmf/wmf.cpp (set_linestyle): In WMF maximum linewidth is 1 
6250         for non-solid linestyles - otherwise custom linestyles have to be used.
6252 2003-09-02  Steffen Macke <sdteffen@web.de>
6254         * app/commands.c(help_manual_callback): using dia-manual.chm instead of 
6255         dia.chm
6257 2003-09-02  Christian Neumair  <chris@gnome-de.org>
6259         * sheets/Pneumatic.sheet.in: Slight unification fix.
6261 2003-09-02  Lars Clausen  <lrclause@cs.uiuc.edu>
6263         * config.h.win32: 
6264         * configure.in: 
6265         * dia.spec (Release): 
6266         * doc/en/dia-manual.xml: 
6267         * doc/pl/dia-manual.sgml: 
6268         * NEWS: Update to 0.92-pre1.
6270         * app/properties.c (properties_key_event): Removing Esc/Enter
6271         handling for now, interferes to much with regular dialog usage.
6273         * plug-ins/pstricks/render_pstricks.c (tex_escape_string):
6274         Function to escape special TeX characters.  Not in use yet, as
6275         PSTricks output by default is TeX strings.  Should get a save-time
6276         selector. 
6278 2008-09-01  Steffen Macke <sdteffen@web.de>
6280         * lib/paper.h: explanatory comment on width and height
6282 2003-08-30  Steffen Macke <sdteffen@web.de>
6284         * lib/color.c:
6285         * lib/color.h: made color_white, color_black static on win32
6287 2003-08-28  Lars Clausen  <lrclause@cs.uiuc.edu>
6289         * configure.in (PNG_LIBS): Something in the png tests added an
6290         extra -lpng to $LIBS.  Saving old $LIBS to avoid that.
6292 2003-08-27  Lars Clausen  <lrclause@cs.uiuc.edu>
6294         * configure.in: Quote correctly for temporarily adding freetype
6295         cflags to CPPFLAGS.
6297         * app/preferences.c (prefs_save): Remove debugging g_print.
6299 2003-08-26  Lars Clausen  <lrclause@cs.uiuc.edu>
6301         * objects/flowchart/parallelogram.c (pgram_update_data):
6302         Directions for connections, better system for placing
6303         connectionpoints. 
6305 2003-08-25  Lars Clausen  <lrclause@cs.uiuc.edu>
6307         * lib/diagramdata.c (layer_find_closest_object_except): Look all
6308         the way through the object list, so the foremost object is selected.
6310         * lib/diagramdata.h: Removing dynamic_obj.h, it should only be
6311         included for diagramdata.c.
6313         * lib/prop_text.c (multistringprop_handle_key): Attempt at making
6314         newline in multistringprop not close the dialog.  Failed so far.
6316 2003-08-25  Steffen Macke <sdteffen@web.de>
6318         * app/commands.c: using CHM instead of HTML on win32 if available
6319         * lib/diagramdata.h: including dynamic_obj.h
6321 2003-08-25  Lars Clausen  <lrclause@cs.uiuc.edu>
6323         * app/properties.c (properties_key_event): Make Enter = Ok for
6324         properties dialogs.  Still some problems with this and Esc for
6325         Cancel, for instances escaping out of a menu closes the dialog.
6327         * objects/UML/association.c (association_get_properties): 
6328         * objects/UML/class_dialog.c (class_create_page): Grab appropriate
6329         focus. 
6331         * app/diapsft2renderer.c (draw_string): Use
6332         dia_font_scaled_build_layout to ensure similarity of text.
6334         * lib/diagramdata.c: Remove obj from dynobj list when removing
6335         from layer to avoid nasty race conditions.
6337         * app/undo.c (group_objects_revert): Make sure to unparent and
6338         remove from dynobj list when changing layers objects.
6340 2003-08-23  Steffen Macke <sdteffen@web.de>
6342         * plug-ins/wmf/wmf.cpp (draw_image): replaced BitBlt() with 
6343         StretchBlt(); fixes #92249
6344         
6345 2003-08-23  Lars Clausen  <lrclause@cs.uiuc.edu>
6347         * app/filedlg.c (file_save_as_callback): 
6348         * app/preferences.h: 
6349         * app/preferences.c (prefs_data): 
6350         * lib/diagramdata.h: 
6351         * lib/diagramdata.c (new_diagram_data): 
6352         * app/load_save.c (diagram_data_load): 
6353         Let the document remember whether it was compressed.  The user can
6354         still override this in the Save As... dialog, and that will still
6355         be remembered as the default for new diagrams.
6357 2003-08-23  Steffen Macke <sdteffen@web.de>
6359         * plug-ins/xslt/Makefile.am: added dia-uml2componentlist.xsl
6361 2003-08-22  Steffen Macke <sdteffen@web.de>
6363         * plug-ins/xslt/dia-uml.xsl:
6364         * plug-ins/xslt/dia-uml2componentlist.xsl: generate a HTML file with a
6365         table containing a list of components grouped by stereotype
6367 2003-08-21  Steffen Macke <sdteffen@web.de>
6369         * lib/makefile.msc: added connectionpoint.obj
6370         * lib/libdia.def: added connpoint_update, find_slope_directions
6371         * app/disp_callbacks.c: including scroll_tool.h
6372         * obj/makefile.msc: added component_feature.obj
6373         * app/paginate_gdiprint.c: fixed loop initialization in 
6374         paginate_gdiprint(); partial fix for bug #85831 - the scaling is still
6375         wrong
6377 2003-08-21  Lars Clausen  <lrclause@cs.uiuc.edu>
6379         * plug-ins/python/pydia-object.c (PyDiaObject_MoveHandle): Fix
6380         move_handle call.
6382         * lib/diagramdata.h: Colors added to prefs.
6383         * lib/diagramdata.c (new_diagram_data): Set diagram colors from prefs.
6384         New field for pagebreak color, which should
6385         behave the same as grid color and be settable for a diagram.
6387         * app/diagram.c (diagram_init): Update diagram pagebreak color
6388         from prefs. 
6390         * app/grid.c (pagebreak_draw): Draw using diagrams pagebreak
6391         colors. 
6393         * app/preferences.[ch]: Default diagram colors now #defines, so
6394         loading can use it.  Also, colors are now in NewDiagramData, so
6395         are passed nicely into new diagrams directly from prefs.  Yum.
6397         * app/load_save.c (diagram_data_write_doc, diagram_data_load): 
6398         Support for loading and saving grid and pagebreak colors with the
6399         diagram.  I'm inclined to make all the three Colors in diagram
6400         Color*s instead, so we can tell if they're specified for the
6401         diagram or merely the default setting.  There'd be no way for the
6402         user to tell if the color of a diagram is default, though, unless
6403         we add a 'reset to default' button to prefs.
6405         * app/dia-props.c: Adding widgets for dynamic grid, grid colour,
6406         pagebreak color.  Unsensitizing grid size when dynamic.
6408         * objects/UML/component.c: Patch from Krzysztof Foltman
6409         <kfoltman@onet.pl>: Add two new connectionpoints and adjust a
6410         third.  Makes the left side connections actually be on the line
6411         (gasp!). 
6413 2003-08-20  Steffen Macke <sdteffen@web.de>
6415         * lib/libdia.def: added layer_find_closest_object_except
6416         * lib/diagramdata.c: added ; after GOTO to make MSVC compile 
6418 2003-08-20  Lars Clausen  <lrclause@cs.uiuc.edu>
6420         * app/tool.h: 
6421         * app/tool.c: 
6422         * app/scroll_tool.c: 
6423         * app/interface.c: 
6424         * app/disp_callbacks.c: 
6425         * app/create_object.h: 
6426         * app/create_object.c: Patch from Krzysztof Foltman
6427         <kfoltman@onet.pl>: Middle button can scroll transiently when
6428         menu-bar-mode is on, and mouse wheels (hopefully) can scroll in
6429         various ways.
6431         * app/authors.h: 
6432         * sheets/UML.sheet.in: 
6433         * sheets/UML/receptacle.xpm: 
6434         * sheets/UML/Makefile.am: 
6435         * sheets/UML/eventsource.xpm: 
6436         * sheets/UML/eventsink.xpm: 
6437         * objects/UML/pixmaps/facet.xpm: 
6438         * objects/UML/uml.c (dia_plugin_init): 
6439         * objects/UML/Makefile.am (libuml_objects_la_SOURCES): 
6440         * objects/UML/component_feature.c: 
6441         Patch from W. Borgert <debacle@debian.org>:  Add event sources and
6442         event sinks.
6443         
6444 2003-08-19  Lars Clausen  <lrclause@cs.uiuc.edu>
6446         * lib/object.h: Turning some comments into doxygen style.
6448         * lib/object_defaults.c (dia_object_defaults_load)
6449         (dia_object_default_get, dia_object_default_create): 
6450         Fixing up existing documentation.
6452         * lib/object.h: Doxygen style documentation begun.
6454         * app/create_object.c: 
6455         * app/undo.c: 
6456         * app/connectionpoint_ops.c: 
6457         * app/disp_callbacks.c: 
6458         * app/modify_tool.c: 
6460         * objects/network/wanlink.c (wanlink_move_handle): 
6461         * objects/network/bus.c (bus_move_handle): 
6463         * objects/flowchart/parallelogram.c (pgram_move_handle): 
6464         * objects/flowchart/ellipse.c (ellipse_move_handle): 
6465         * objects/flowchart/diamond.c (diamond_move_handle): 
6466         * objects/flowchart/box.c (box_move_handle): 
6468         * objects/custom/custom_object.c (custom_move_handle): 
6470         * objects/chronogram/chronoref.c (chronoref_move_handle): 
6471         * objects/chronogram/chronoline.c (chronoline_move_handle): 
6473         * objects/SADT/box.c (sadtbox_move_handle): 
6474         * objects/SADT/arrow.c (sadtarrow_move_handle): 
6475         * objects/SADT/annotation.c (annotation_move_handle): 
6477         * objects/Misc/analog_clock.c (analog_clock_move_handle): 
6479         * objects/GRAFCET/vergent.c (vergent_move_handle): 
6480         * objects/GRAFCET/vector.c (arc_move_handle): 
6481         * objects/GRAFCET/transition.c (transition_move_handle): 
6482         * objects/GRAFCET/step.c (step_move_handle): 
6483         * objects/GRAFCET/condition.c (condition_move_handle): 
6484         * objects/GRAFCET/action.c (action_move_handle): 
6486         * objects/FS/function.c: 
6487         * objects/FS/flow.c: 
6488         * objects/FS/flow-ortho.c (orthflow_move_handle): 
6489         * objects/FS/flow-poly.c (flow_move_handle): 
6491         * objects/UML/usecase.c (usecase_move_handle): 
6492         * objects/UML/state_term.c (state_move_handle): 
6493         * objects/UML/state.c (state_move_handle): 
6494         * objects/UML/small_package.c (smallpackage_move_handle): 
6495         * objects/UML/realizes.c (realizes_move_handle): 
6496         * objects/UML/object.c (objet_move_handle): 
6497         * objects/UML/note.c (note_move_handle): 
6498         * objects/UML/node.c (node_move_handle): 
6499         * objects/UML/message.c (message_move_handle): 
6500         * objects/UML/lifeline.c (lifeline_move_handle): 
6501         * objects/UML/large_package.c (largepackage_move_handle): 
6502         * objects/UML/implements.c (implements_move_handle): 
6503         * objects/UML/generalization.c (generalization_move_handle): 
6504         * objects/UML/fork.c (fork_move_handle): 
6505         * objects/UML/dependency.c (dependency_move_handle): 
6506         * objects/UML/constraint.c (constraint_move_handle): 
6507         * objects/UML/compprop.c (compprop_move_handle): 
6508         * objects/UML/component.c (component_move_handle): 
6509         * objects/UML/branch.c (branch_move_handle): 
6510         * objects/UML/association.c (association_move_handle): 
6511         * objects/UML/actor.c (actor_move_handle): 
6512         * objects/UML/activity.c (state_move_handle): 
6513         * objects/UML/class.c (umlclass_move_handle): 
6515         * objects/standard/ellipse.c (ellipse_move_handle): 
6516         * objects/standard/zigzagline.c (zigzagline_move_handle): 
6517         * objects/standard/textobj.c (textobj_move_handle): 
6518         * objects/standard/polyline.c (polyline_move_handle): 
6519         * objects/standard/polygon.c (polygon_move_handle): 
6520         * objects/standard/line.c (line_move_handle): 
6521         * objects/standard/image.c (image_move_handle): 
6522         * objects/standard/bezier.c (bezierline_move_handle): 
6523         * objects/standard/arc.c (arc_move_handle): 
6524         * objects/standard/beziergon.c (beziergon_move_handle): 
6525         * objects/standard/box.c (box_move_handle): 
6526         
6527         * objects/ER/relationship.c (relationship_move_handle): 
6528         * objects/ER/participation.c (participation_move_handle): 
6529         * objects/ER/entity.c (entity_move_handle): 
6530         * objects/ER/attribute.c (attribute_move_handle): 
6531         
6532         * lib/polyshape.c (polyshape_move_handle): 
6533         * lib/polyshape.h: 
6534         * lib/orth_conn.c (orthconn_move_handle): 
6535         * lib/orth_conn.h: 
6536         * lib/neworth_conn.c (neworthconn_move_handle): 
6537         * lib/neworth_conn.h: 
6538         * lib/element.c (element_move_handle): 
6539         * lib/element.h: 
6540         * lib/connection.c (connection_move_handle): 
6541         * lib/connection.h: 
6542         * lib/beziershape.c (beziershape_move_handle): 
6543         * lib/beziershape.h: 
6544         * lib/bezier_conn.c (bezierconn_move_handle): 
6545         * lib/bezier_conn.h: 
6546         *BINARY COMPATIBILITY CHANGE*
6547         Update prototype for *_move_handle() to include connectionpoint,
6548         and also pass on modifiers.  Pass in connectionpoint where
6549         applicable. 
6550         
6551         * lib/dummy_dep.h (dummy_dep): Adding dummy dependencies for new
6552         file connectionpoint.c.
6554 2003-08-17  Danilo Å egan  <dsegan@gmx.net>
6556         * configure.in: Added "sr" and "sr@Latn" to ALL_LINGUAS.
6558 2003-08-15  Lars Clausen  <lrclause@cs.uiuc.edu>
6560         * lib/object.c (object_copy): Use g_malloc0 instead of g_malloc.
6562         * lib/beziershape.c (beziershape_update_data): Autoroute
6563         directions for beziershapes!
6565         * lib/connectionpoint.c (find_slope_directions): 
6566         * lib/connectionpoint.h: Function for finding the available
6567         directions on a slope.
6569         * lib/polyshape.c: Reasonable directions for
6570         connectionpoints.       
6572 2003-08-14  Lars Clausen  <lrclause@cs.uiuc.edu>
6574         * objects/Misc/analog_clock.c (analog_clock_update_arrow_tips): 
6575         * objects/GRAFCET/vergent.c (vergent_update_data): 
6576         * objects/GRAFCET/transition.c (transition_update_data): 
6577         * objects/GRAFCET/action.c (action_update_data): 
6578         * objects/GRAFCET/step.c (step_update_data): 
6579         * objects/FS/function.c (function_update_data): 
6580         * lib/connpoint_line.c (connpointline_putonaline): 
6581         * objects/ER/attribute.c (attribute_update_data): 
6582         * objects/ER/entity.c (entity_update_data): 
6583         * objects/ER/relationship.c (relationship_update_data): 
6584         * objects/chronogram/chronoline.c (chronoline_update_data): Set
6585         directions for connection points.
6587         * objects/UML/component.c (component_create): Set to allow
6588         parenting. 
6590         * app/create_object.c (create_object_button_press): 
6591         * app/diagram.[ch] (diagram_find_clicked_object_except): 
6592         * lib/diagramdata.[ch] (layer_find_closest_object_except): 
6593         Avoid parenting to objects you're connecting to (otherwise you
6594         couldn't make a connection out of a parenting object).  To do
6595         this, added functions to find the nearest object except a given
6596         list of objects.
6597         
6598         * app/render_libart.c: Rearrange libart include to avoid multiple
6599         include program (and put libart includes inside #ifdef!)
6601 2003-08-13  Lars Clausen  <lrclause@cs.uiuc.edu>
6603         * lib/dialibartrenderer.c: Don't include art_config.h if others
6604         also do, as it isn't #ifdef'd.
6606         * objects/flowchart/ellipse.c (ellipse_update_data): Add
6607         directions for connection points.
6609 2003-08-12  Lars Clausen  <lrclause@cs.uiuc.edu>
6611         * objects/flowchart/box.c (box_update_data): Add directions, use
6612         connpoint_update. 
6613         (box_load): Use g_malloc0.
6615         * lib/Makefile.am (libdia_la_SOURCES):
6616         * lib/connectionpoint.c (connpoint_update): 
6617         Function to call to update a connection point info in _update_data().
6618         
6619         * lib/connectionpoint.h: Convenience DIR_ macros.
6621         * app/preferences.c (prefs_data): Make pretty formatted XML the
6622         default.
6624         * lib/dialibartrenderer.c: 
6625         * app/render_libart.c: Make sure art_config.h is included, cause
6626         some libart headers are broken.
6628         * configure.in (HAVE_FREETYPE): Restore CPPFLAGS to old value
6629         after test.  Add freetype-config cflags to cflags variable.
6631 2003-08-11  Lars Clausen  <lrclause@cs.uiuc.edu>
6633         * app/authors.h: Credits for Krzysztof.
6635         * sheets/Flowchart.sheet.in: Updated descriptions from Krzysztof
6636         Foltman <kfoltman@onet.pl>.  It occurs to me that the name (rather
6637         than the description) is visible in the title of the properties
6638         dialog.  That ought to be a short description (translatable),
6639         though we still want long descriptions for the tooltips.  Hmmm...
6641         * configure.in: Updated to use AC_LINK_IFELSE instead of
6642         AC_TRY_COMPILE, also force to link to check libs on Solaris.
6644         * objects/ER/entity.c (entity_load): 
6645         * objects/ER/attribute.c (attribute_load): 
6646         * lib/attributes.c (attributes_set_default_font): 
6647         Check if font is non-null before unreffing.
6648         
6649 2003-08-08  Lars Clausen  <lrclause@cs.uiuc.edu>
6651         * app/diagram.c (diagram_ungroup_selected) 
6652         (diagram_group_selected): Use the undo apply to make sure grouping
6653         and ungrouping is done in consistent manners.  This removes a fair
6654         amount of duplicated code from diagram.c.
6656         * app/undo.c (ungroup_objects_revert, ungroup_objects_apply) 
6657         (group_objects_revert, group_objects_apply): Working undo/redo for
6658         diagram tree updates.  The initial actions still don't quite work.
6660 2003-08-07  Lars Clausen  <lrclause@cs.uiuc.edu>
6662         * app/create_object.c (create_object_button_press): 
6663         * app/undo.[ch]: 
6664         * app/diagram.c: Undo support for parenting.  Uses apply/revert in
6665         undo only for manipulating the parent/child relationships.  Things
6666         like removing an object doesn't use the undo functions for
6667         parenting, so any updates to come (like to diagramtree) should be
6668         done in those, too.
6670 2003-08-03  Hans Breuer  <hans@breuer.org>
6672         * app/create_object.c : minor formating and g_new0 for
6673         tool creation
6675         * lib/bezier_conn.[hc] lib/beziershape.[hc]
6676           lib/prop_geomtypes.c (prop_geomtypes_register)
6677           objects/standard/bezier.c objects/standard/beziergon.c :
6678         ability to set bezpoints via StdProp api
6680         * plug-ins/python/pydia-property.c : convert list of tuples
6681         to BEZPOINTARRAY
6683         *  plug-ins/python/diasvg_import.py : use it to
6684         implement part of path parsing. Also minor improvements
6685         like inheritance of group attributes to members,
6686         whitespace, title and style:text/css ignoring ;-)
6688 2003-08-02  Hans Breuer  <hans@breuer.org>
6690         * lib/connections.c (connection_move_handle): return
6691         something to make it compile
6692         * lib/object.c(190) : error C4033: 'object_list_move_delta_r' 
6693         must return a value -> dito
6694         [Is there a warnings-as-errors switch we could use with gcc 
6695          to avoid such in future ?]
6697         * plug-ins/python/pydia-object.h : define *_Check macros
6698         * plug-ins/python/diamodule.c : provide dia.group_create()
6699         * plug-ins/python/pydia-diagramdata.c : add 
6700         DiaDiagramData.add_layer()
6701         * plug-ins/python/pydia-property.c : allow to set color by
6702         tuple of doubles
6704         *  plug-ins/python/diasvg_import.py : based on the above
6705         implement a) group support, b) rgb(1,2,3) color handling,
6706         and somewhat fishy data:image/png;base64 support (create
6707         temporary files from inline image data)
6708         d) dump the import errors as text into an 'Error' layer
6710         *  plug-ins/python/diasvg.py : add xmlns:xlink, removed a
6711         stray " in draw_rect and corrected error message formating 
6713         * plug-ins/pydia/pydia-geometry.c : removed ## to make it
6714         compile with gcc 3.3, fixes bug #117204. Thanks to Daniel 
6715         Jacobowitz.
6716         
6717 2003-08-01  Hubert Figuiere  <hfiguiere@teaser.fr>
6719         * app/magnify.c (create_magnify_tool): allocate with g_new0()
6721         * app/preferences.c (prefs_create_dialog): use checkboxes for boolean 
6722         preferences values (see bug 118570). Also group items into a GtkFrame.
6724 2003-07-31  Lars Clausen  <lrclause@cs.uiuc.edu>
6726         * app/menus.c:
6727         * app/menus.h:
6728         * app/commands.h: 
6729         * app/commands.c (objects_unparent_children_callback): 
6730         * app/diagram.h: 
6731         * app/diagram.c (diagram_unparent_selected,
6732         (diagram_update_menu_sensitivity): 
6733         Added unparenting of single children.
6735         * lib/bezier_conn.c:
6736         * lib/bezier_conn.h:
6737         * lib/beziershape.c:
6738         * lib/beziershape.h:
6739         * lib/connection.c:
6740         * lib/connection.h:
6741         * lib/element.c:
6742         * lib/element.h:
6743         * lib/group.c:
6744         * lib/neworth_conn.c:
6745         * lib/neworth_conn.h:
6746         * lib/object.h:
6747         * lib/orth_conn.h:
6748         * lib/poly_conn.c:
6749         * lib/poly_conn.h:
6750         * lib/polyshape.c:
6751         * lib/polyshape.h:
6752         * objects/EML/instantiation.c:
6753         * objects/EML/interaction-ortho.c:
6754         * objects/EML/interaction.c:
6755         * objects/EML/process.c:
6756         * objects/ER/attribute.c:
6757         * objects/ER/entity.c:
6758         * objects/ER/participation.c:
6759         * objects/ER/relationship.c:
6760         * objects/FS/flow-ortho.c:
6761         * objects/FS/flow-poly.c:
6762         * objects/FS/flow.c:
6763         * objects/FS/function.c:
6764         * objects/GRAFCET/action.c:
6765         * objects/GRAFCET/condition.c:
6766         * objects/GRAFCET/step.c:
6767         * objects/GRAFCET/transition.c:
6768         * objects/GRAFCET/vector.c:
6769         * objects/GRAFCET/vergent.c:
6770         * objects/Misc/analog_clock.c:
6771         * objects/SADT/annotation.c:
6772         * objects/SADT/arrow.c:
6773         * objects/SADT/box.c:
6774         * objects/UML/activity.c:
6775         * objects/UML/actor.c:
6776         * objects/UML/association.c:
6777         * objects/UML/branch.c:
6778         * objects/UML/class.c:
6779         * objects/UML/classicon.c:
6780         * objects/UML/component.c:
6781         * objects/UML/constraint.c:
6782         * objects/UML/dependency.c:
6783         * objects/UML/fork.c:
6784         * objects/UML/generalization.c:
6785         * objects/UML/implements.c:
6786         * objects/UML/large_package.c:
6787         * objects/UML/lifeline.c:
6788         * objects/UML/message.c:
6789         * objects/UML/node.c:
6790         * objects/UML/note.c:
6791         * objects/UML/object.c:
6792         * objects/UML/realizes.c:
6793         * objects/UML/small_package.c:
6794         * objects/UML/state.c:
6795         * objects/UML/state_term.c:
6796         * objects/UML/usecase.c:
6797         * objects/chronogram/chronoline.c:
6798         * objects/chronogram/chronoref.c:
6799         * objects/custom/custom_object.c:
6800         * objects/flowchart/box.c:
6801         * objects/flowchart/diamond.c:
6802         * objects/flowchart/ellipse.c:
6803         * objects/flowchart/parallelogram.c:
6804         * objects/network/bus.c:
6805         * objects/network/wanlink.c:
6806         * objects/standard/arc.c:
6807         * objects/standard/bezier.c:
6808         * objects/standard/beziergon.c:
6809         * objects/standard/box.c:
6810         * objects/standard/ellipse.c:
6811         * objects/standard/image.c:
6812         * objects/standard/line.c:
6813         * objects/standard/polygon.c:
6814         * objects/standard/polyline.c:
6815         * objects/standard/textobj.c:
6816         * objects/standard/zigzagline.c:
6817         Binary compatibility update:  Added return value for foo_move() and
6818         foo_move_handle().  Orthconn derivatives also returns change from
6819         orthconn_move_handle().
6820         
6821         * lib/orth_conn.c: Undo support for autorouting.  Neworthconn
6822         doesn't support it yet.
6824         * lib/object.c (object_list_move_delta_r, object_list_move_delta):
6825         Add returning ObjectChange from object moves.  Needs to handle
6826         multiple object moves.
6828         * app/modify_tool.c (modify_motion, modify_release): Add
6829         ObjectChange from move & move_handle to undo stack.
6831         * objects/EML/instantiation.c (instantiation_move): Removing
6832         duplicate move & update.
6834 2003-07-30  Lars Clausen  <lrclause@cs.uiuc.edu>
6836         * plug-ins/xfig/xfig-export.c: Added support for arrow head
6837         export.  Many arrow types not supported by XFig, replacing those
6838         with standard arrows.  Not sure whether it'd be better to render
6839         them as a group of lines instead.  You'd lose the arrow-ness for
6840         further editing, but preserve the actual shape of it.  Also added
6841         support for dash length.
6843         * plug-ins/xfig/xfig-import.c: Added support for dash length settings.
6845         * plug-ins/xfig/fig-format-3.2: Added copy of Fig format
6846         description for version 3.2, for reference.
6848         * plug-ins/xfig/xfig-import.c: Added import of arrows.
6850         * app/menus.c: Removed prefs item from Gnome diagram menu.  Made
6851         Align Vertical Adjacent call _v rather than _h.
6853 2003-07-29  Hubert Figuiere  <hfiguiere@teaser.fr>
6855         * app/scroll_tool.c (create_scroll_tool): 
6856         * app/modify_tool.c (create_modify_tool): use g_new0() to
6857         initialize the tool
6859 2003-07-29  Lars Clausen  <lrclause@cs.uiuc.edu>
6861         * configure.in: Added proper settings for XSLT_LIBS and XSLT_CFLAGS.
6863 2003-07-24  Pablo Saratxaga  <pablo@mandrakesoft.com>
6865         * configure.in: Added Macedonian (mk) to ALL_LINGUAS
6867 2003-07-23  Dmitry G. Mastrukov  <dmitry@taurussoft.org>
6869         * configure.in: Added Belarusian to ALL_LINGUAS.
6871 2003-07-19  Hans Breuer  <hans@breuer.org>
6873         [
6874          Make the xslt plug-in work on win32, too. It appears
6875          to require a quite recent version of libxml and libxslt,
6876          otherwise windoze pathes aren't translated correctly
6877          during file processing
6878         ]
6880         * plug-ins/xslt/xslt.h : #include <glib.h> before 
6881         using G_OS_WIN32
6883         * plug-ins/xslt/xslt.c : plugged some memory leaks and do
6884         the 'script' file finding similar to how it is done
6885         with the python scripts (no need for hardcoded pathes,
6886         removed the 'plugin' part from the path)
6888         * plug-ins/xslt/stylesheets.xml : added again. It does
6889         not have any path but only the pure filename again
6891         * plug-ins/xslt/stylesheets.xml.in : removed
6893         * plug-ins/xslt/Makefile.am : removed 'plugin' and the
6894         rule to process stylesheets.xml.in
6896         * plug-ins/makefile.msc : added xslt
6898 2003-07-19  Hans Breuer  <hans@breuer.org>
6900         Finally Dia learned to remember the recent selected sheet
6902         * app/preferences.[hc] : added prefs.recent_sheet
6903         * app/interface.c : restore and remember the sheet-option-menu
6904         history, but only if the respective number is stiil available.
6905         This additional adds robustness against running Dia without
6906         any sheet (e.g. installation problems)
6907         * app/app_procs.c : call prefs_safe() in app_exit() to remember
6908         changes which are not done by the prefernces dialog
6910         * app/diagram_tree_menu.c app/diagram_tree_menu_callbacks.c :
6911         removed every call (especially the conditional ones) to prefs_safe().
6912         Before prefs_safe() was called _many_ times during Dia startup
6914 2003-07-18  Hans Breuer  <hans@breuer.org>
6916         * app/makefile.msc lib/makefile.msc lib/libdia.def :
6917         updated win32 build
6919         * lib/color.c : use gtk_widget_get_default_visual();
6920         as suggested in #114536
6922         * app/interface.c app/disp_callbacks.c :
6923         moved round_up () to the latter file where it is used
6925         * app/linewidth_area.c : #include "interface.h" for
6926         interface_get_toolbox_shell()
6928 2003-07-18  Hubert Figuiere  <hfiguiere@teaser.fr>
6930         * plug-ins/pixbuf/.cvsignore
6931         * shapes/Cisco/.cvsignore: 
6932         added cvsignore
6934 2003-07-17  Lars Clausen  <lrclause@cs.uiuc.edu>
6936         * app/dia-props.c (diagram_properties_retrieve): Use
6937         diagram_get_name() to add the diagram name to the diagram
6938         properties dialog.
6940         * app/diagram.h: 
6941         * app/diagram.c (diagram_get_name): New function to get a
6942         reasonable diagram name.
6944         * lib/diagramdata.h: Added major_lines, dynamic and colour to grid
6945         info.  Still need to be able to set dynamic grid.  Also ought to
6946         follow Gnome style and have instant apply.
6948         * app/preferences.h: 
6949         * app/preferences.c (prefs_data): Remove option to use stippled
6950         grid, add option for major line offset.  Default to 5 minor lines
6951         per major line.
6952         Add option for dynamically sized grid.
6954         * app/display.c (ddisplay_render_pixmap): Call pagebreak_draw as well.
6956         * app/grid.c: Pagebreak drawing separated out.  Grid drawing using
6957         stippled/solid to display minor/major grid lines.  Line drawing in
6958         separate functions away from calculating line distance.
6960         * app/grid.h: Split page break drawing out of grid_draw.
6962         * app/layer_dialog.c (layer_dialog_show): Patch from Hubert
6963         Figuiere <hfiguiere@teaser.fr>:  Layer dialog show go to front
6964         when menu item is selected.
6966 2003-07-15  Lars Clausen  <lrclause@cs.uiuc.edu>
6968         * configure.in: Removed -Winline flag to make way for important
6969         warnings. 
6971         * samples/UML-demo.dia: Adjusted for 0.91 font size, saved as
6972         non-compressed.  Should fix bug #117381, also look prettier.
6973         
6974         * Makefile.am: 
6975         * dia.desktop.in: Patch from Mark McLoughlin <mark@skynet.ie>:
6976         Set up desktop info more properly.
6978 2003-07-13  Lars Clausen  <lrclause@cs.uiuc.edu>
6980         * activity.c:
6981         * actor.c:
6982         * branch.c:
6983         * class.c:
6984         * classicon.c:
6985         * component.c:
6986         * large_package.c:
6987         * lifeline.c:
6988         * node.c:
6989         * note.c:
6990         * object.c:
6991         * small_package.c:
6992         * state.c:
6993         * state_term.c:
6994         * usecase.c: 
6995         Autorouting directions patch from Krzysztof Foltman
6996         <kfoltman@onet.pl>.
6998         * app/menus.c: Wrong GNOME paren fixed.  Correct callbacks for
6999         GNOME parent menu items.
7000         
7001         * app/authors.h: Added Vadim to contributors list.
7003 2003-07-12  Lars Clausen  <lrclause@cs.uiuc.edu>
7005         * app/commands.[ch]: 
7006         * app/create_object.c: 
7007         * app/disp_callbacks.[ch]: 
7008         * app/diagram.[ch]: 
7009         * app/interface.c: 
7010         * app/load_save.c: 
7011         * app/menus.[ch]:
7012         * app/modify_tool.c
7013         * app/undo.[ch]:
7014         * lib/Makefile.am:
7015         * lib/group.c: 
7016         * lib/object.[ch]: 
7017         * lib/parent.[ch]:
7018         * objects/UML/large_package.c: Patch from Vadim Berezniker
7019         <vadim@berezniker.com>: 
7020         Objects may "parent" other objects, i.e. contain them within
7021         themselves, restrain them and move them along.  Some more stuff is
7022         needed, such as selection and individual unparenting.  This adds
7023         parenting to UML - Large Package rather than Box.
7025 2003-07-11  Lars Clausen  <lrclause@cs.uiuc.edu>
7027         * app/linewidth_area.c: Patch from Krzysztof Foltman
7028         <kfoltman@onet.pl>: Make linewidth dialog conform to HIG (well,
7029         conform more, at least:).
7031         * plug-ins/metapost/render_metapost.[ch] : Applied patch from
7032         Chris Sperandio <sperandi@eng.usf.edu>:  Fixed linewidths and
7033         arcs.  Implemented images (though there is some pixelization and
7034         banding in the output).  Changed output file format to be a little
7035         more readable.  
7037         * app/app_procs.c (app_exit): Added message for double exit, which
7038         shouldn't happen any more.  Also preventing strange g_object_unref
7039         messages by having a printf after gtk_main_quit.  This is really
7040         weird.
7042         * app/interface.c (toolbox_delete): Avoid double app_exit call by
7043         removing handler for destroy when delete is called.
7045 2003-07-07  Lars Clausen  <lrclause@cs.uiuc.edu>
7047         * app/display.h: 
7048         * app/display.c (ddisplay_scroll_to_object,
7049         ddisplay_scroll_center_point):  New function for easy scrolling to
7050         object or point.
7052 2003-07-06  Lars Clausen  <lrclause@cs.uiuc.edu>
7054         * plug-ins/xslt/Makefile.am: Patch from Hubert Figuiere:  Add
7055         $(srcdir) on stylesheets.xml.
7057         * app/menus.c: Patch from Hubert Figuiere: Adds help menu to
7058         diagram menus (since they're at the top by default now).  Also
7059         move the Properties... menu item from Dialogs to Objects.  Dialogs
7060         menu should disappear at some point.
7062         * autogen.sh: Patch from Hubert Figuiere: Don't automatically call
7063         ./configure from ./autogen.sh, as configure may need to be run
7064         from a different directory.  (Also more standard this way.)
7066         * app/app_procs.c (app_init): 
7067         * app/Makefile.am (INCLUDES): Gnome standardization patch from
7068         Alex. 
7070 2003-07-03  Lars Clausen  <lrclause@cs.uiuc.edu>
7072         * objects/flowchart/parallelogram.c (pgram_update_data):
7073         Left/right alignment for parallelograms.  Doesn't use all
7074         available space, but then pgrams also ignore their shear value.
7075         This thing needs a loving hand.
7077 2003-07-01  Hans Breuer  <hans@breuer.org>
7079         * lib/properties.h : introduce PROP_FLAG_OPTIONAL
7080         * lib/proplist.c : don't complain if optional attr is missing
7081         * lib/orth_conn.h : make "orth_autoroute" optional to
7082         stop complaining with older files.
7084 2003-06-13  Guntupalli Karunakar  <karunakar@freedomink.org>
7086         * configure.in: Added "ml" for Malayalam in ALL_LINGUAS.
7088 2003-06-05  Andrew Halper  <ashalper@cox.net>
7090         * app/diagram_tree.c : add scrolling of drawing area
7091         to desired object on "Locate".  Patch modified to use new ddisplay
7092         function ddisplay_scroll_to_object().
7094 2003-06-11  Lars Clausen  <lars@raeder.dk>
7096         * lib/diagramdata.h: Added major_lines, dynamic and colour to grid
7097         info.  Before next version, the grid dialog (view dialog, really)
7098         must be redone to allow a) instant apply, b) apply to all
7099         diagrams, and c) setting colour, dynamic, major lines.
7101         * app/preferences.h: 
7102         * app/preferences.c (prefs_data): Remove option to use stippled
7103         grid, add option for major line offset.  Default to 5 minor lines
7104         per major line.
7105         Add option for dynamically sized grid.
7107         * app/display.c (ddisplay_render_pixmap): Call pagebreak_draw as well.
7109         * app/grid.c: Pagebreak drawing separated out.  Grid drawing using
7110         stippled/solid to display minor/major grid lines.  Line drawing in
7111         separate function away from calculating line distance.
7113         * app/grid.h: Split page break drawing out of grid_draw.
7115 2003-05-15  Hans Breuer  <hans@breuer.org>
7117         * plug-ins/python/diasvg.py : add xlink definition,
7118         also avoid to put spaces into attribute values. At least
7119         Sodipodi doesn't like them in width/height attributes
7121         * plug-ins/python/diasvg_import.py : add simple scaling.
7122         Some (more) handling for <svg>, <desc>, <circle>        
7124         * plug-ins/python/scascale.py : (new file) which does
7125         some experimental scaling via StdProp api
7127         * plug-ins/python/pydia-cpoint.c 
7128           plug-ins/python/pydia-handle.c : return PyDiaPoint for
7129         obj.pos not simple tuples. PyDiaPoint has a tuple interface
7130         so this may even be api compatible ...
7132 2003-05-11  Hans Breuer  <hans@breuer.org>
7134         * app/line_area.c : add window position persitence
7136         * lib/poly_conn.[hc] lib/polyshape.[hc] : allow to set 
7137         'poly_points' via StdProp api
7138         * lib/neworth_conn.h : don't rely on OrthConn and 
7139         NewOrtConn having the same struct offsets
7141         * lib/properties.h : introduce PROP_FLAG_WIDGET_ONLY
7142         to help separating 'useful' properies - in terms of
7143         the PyDia access
7145         * objects/custom/custom_object.c
7146           objects/UML/*.c
7147         add the missing prop_desc_list_calculate_quarks to
7148         all the *_describe_props()
7150         * objects/standard/beziergon.c objects/standard/bezier.c :
7151         explicit initializtion of default_user_data
7152         * objects/standard/polygon.c objects/standard/polyline.c :
7153         Same here. Also use POLY<CONN|SHAPE>_COMMON_PROPERTIES
7155         * plug-ins/python/diamodule.c : implement dia.register_import
7157         * plug-ins/python/makefile.msc : need to link with Pango
7158         for pango_color_parse()
7160         * plug-ins/python/pydia-property.c : add a bunch of type
7161         conversions to PyDiaProperty_ApllyToObject()
7163         * plug-ins/python/diasvg_import.py : (new file) which currently
7164         is mainly a stress test for PyDia but for some files already
7165         produces better results than svg-import.c
7167 2003-05-06  Lars Clausen  <lrclause@cs.uiuc.edu>
7169         * objects/UML/uml.c (uml_get_operation_string): Avoid ':' on
7170         type-less operations.
7172 003-05-03  Hasbullah Bin Pit  <sebol@ikhlas.com>
7174         * configure.in(ALL_LINGUAS): Added "ms".
7176 2003-05-01  Lars Clausen  <lrclause@cs.uiuc.edu>
7178         * plug-ins/xslt/xslt.c (xslt_ok): 
7179         * plug-ins/shape/shape-export.c (new_shape_renderer): 
7180         * plug-ins/svg/render_svg.c (new_svg_renderer): 
7181         * plug-ins/hpgl/hpgl.c (export_data): 
7182         * plug-ins/dxf/dxf-export.c (export_dxf): 
7183         * plug-ins/metapost/render_metapost.c (export_metapost): 
7184         * plug-ins/pstricks/render_pstricks.c (export_pstricks): 
7185         * plug-ins/xfig/xfig-export.c (export_fig): 
7186         * plug-ins/wpg/wpg.c (export_data): 
7187         * plug-ins/cgm/cgm.c (export_cgm): 
7188         * app/render_eps.c (export_eps): 
7189         * app/export_png.c (export_png_ok): 
7190         * app/load_save.c (diagram_data_save): Adding and standardizing
7191         output file error messages to include fopen error message.
7193 2003-05-01  Steffen Macke <sdteffen@web.de>
7195         * app/persistence.c: do not use unistd.h for MSVC build
7197 2003-04-30  Lars Clausen  <lrclause@cs.uiuc.edu>
7199         * sheets/Assorted.sheet.in
7200         * sheets/Circuit.sheet.in
7201         * sheets/Contact.sheet.in
7202         * sheets/EML.sheet.in
7203         * sheets/ER.sheet.in
7204         * sheets/Electric.sheet.in
7205         * sheets/FS.sheet.in
7206         * sheets/Flowchart.sheet.in
7207         * sheets/GRAFCET.sheet.in
7208         * sheets/Logic.sheet.in
7209         * sheets/MSE.sheet.in
7210         * sheets/Misc.sheet.in
7211         * sheets/Pneumatic.sheet.in
7212         * sheets/SADT.sheet.in
7213         * sheets/SDL.sheet.in
7214         * sheets/UML.sheet.in
7215         * sheets/chronogram.sheet.in
7216         * sheets/ciscohub.sheet.in
7217         * sheets/ciscomisc.sheet.in
7218         * sheets/cisconetwork.sheet.in
7219         * sheets/ciscorouter.sheet.in
7220         * sheets/civil.sheet.in
7221         * sheets/network.sheet.in
7222         * sheets/sybase.sheet.in:
7223         Patch from Jan-Willem Harmanny <jwharmanny@zeelandnet.nl>
7224         standardizes shape descriptions to use no articles, no 'create
7225         ...'.
7226         
7227         * app/interface.c (tool_data): Standard objects follow same
7228         standard as sheets.
7230 2003-04-29  Lars Clausen  <lrclause@cs.uiuc.edu>
7232         * app/color_area.c (color_area_edit): More informative title on
7233         color selection dialog.
7235         * app/disp_callbacks.c (ddisplay_drop_object): Update menu
7236         sensitivity when dropping object in.  Also reset tool to pointer.
7238         * objects/flowchart/diamond.c (diamond_update_data): 
7239         * objects/flowchart/parallelogram.c (pgram_update_data): Added
7240         left and right alignment options.
7242 2003-04-28  Lars Clausen  <lrclause@cs.uiuc.edu>
7244         * objects/flowchart/box.c: Added left and right alignment options.
7246 2003-04-26  Lars Clausen  <lrclause@cs.uiuc.edu>
7248         * app/persistence.c (persistence_load): Test existence of
7249         persistence file before trying to open it.
7251 2003-04-25  Lars Clausen  <lrclause@cs.uiuc.edu>
7253         * app/properties.c: Escape now closes properties dialogs.
7255 2003-04-25  Hans Breuer  <hans@breuer.org>
7257         * app/config.h.win32 : bump version to 0.91+cvs
7259         * app/makefile.msc lib/makefile.msc lib/libdia.def : updated
7261         * lib/dia_dirs.c : G_OS_WIN32: #define mkdir(s,a) _mkdir(s)
7263         * app/commands.c : don't leak "netscape" if getenv("BROWSER")
7264         returns NULL
7266         * app/presistence.c : need to #include "dia_xml_libxml.h"
7267         for xmlDiaParseFile
7269         * app/layer_dialog.c : make delayed creation work by protecting
7270         all non static layer_dialog_*() with :
7271            if (layer_dialog == NULL || layer_dialog->dialog == NULL)
7272              create_layer_dialog();
7273         * app/app_procs.c : removed /* create_layer_dialog(); */
7275         * objects/uml/association.c : give it a minimal StdProp
7276         implementation to fix bug #108896
7277         * lib/object_defaults.c : don't try to copy props if there
7278         is no obj->ops->describe_props
7280 2003-04-24  Lars Clausen  <lrclause@cs.uiuc.edu>
7282         * objects/standard/image.c (image_create): 
7283         * objects/standard/ellipse.c (ellipse_create): 
7284         * objects/standard/box.c (box_create): 
7285         * objects/flowchart/ellipse.c (ellipse_create): 
7286         * objects/flowchart/diamond.c (diamond_create): 
7287         * objects/flowchart/box.c (box_create): 
7288         * objects/custom/custom_object.c (custom_create): 
7289         * objects/ER/relationship.c (relationship_create): 
7290         * objects/ER/entity.c (entity_create): 
7291         * objects/ER/attribute.c (attribute_create): Initialize
7292         elem->height to DEFAULT_HEIGHT instead of DEFAULT_WIDTH.
7294         * lib/dia_svg.c (dia_svg_parse_style): Added case to set center
7295         alignment. 
7297         * configure.in: 
7298         * plug-ins/Makefile.am: 
7299         * plug-ins/xslt/Makefile.am: 
7300         * plug-ins/xslt/xslt.c (dia_plugin_init): 
7301         Patch from Götz Waschk <waschk@informatik.uni-rostock.de> uses
7302         automake-style if to only include xslt dir when needed.  Works
7303         with automake 1.4 and up, at least.
7305 2003-04-22  Lars Clausen  <lrclause@cs.uiuc.edu>
7307         * lib/diasvgrenderer.c (draw_string): 
7308         * lib/dia_svg.c (dia_svg_parse_style): Use
7309         text-anchor:(start|middle|end).
7311         * lib/diasvgrenderer.c (draw_polygon, fill_polygon): Use svg
7312         polygon rather than polyline & avoid missing line pieces.
7313         (get_draw_style): Set fill-opacity to 0 on draw_style to avoid
7314         black-filled things.
7316 2003-04-21  Lars Clausen  <lrclause@cs.uiuc.edu>
7318         * app/persistence.c (persistence_load): Check that persistence
7319         file exists before trying to read it.
7320         (persistence_update_window): Removed printf.
7322         * objects/GRAFCET/step.c: Don't copy defaults for name and id.
7324         * lib/autoroute.c: Take badness into the layouters again, as some
7325         of them know they can do things that are pretty but would be
7326         counted as ugly by the default calculation.
7328         * objects/UML/large_package.c: Shrink package name box when no
7329         stereotype is present.
7331         * lib/orth_conn.h (ORTHCONN_COMMON_MENUS): 
7332         * lib/orth_conn.c: Added object menu item for autorouting.
7334         * objects/FS/flow-ortho.c (orthflow_get_object_menu): 
7335         Autorouting, plus set initial dragging handle to be the end, not
7336         the middle.
7337         (orthflow_draw): Flipped arrow place to be at the end, as
7338         originally intended (got lost in arrow update).
7340         * objects/standard/zigzagline.c (zigzagline_get_object_menu): 
7341         * objects/UML/dependency.c (dependency_get_object_menu): 
7342         * objects/UML/association.c (association_get_object_menu): 
7343         * objects/UML/realizes.c (realizes_get_object_menu): 
7344         * objects/SADT/arrow.c (sadtarrow_get_object_menu): 
7345         * objects/GRAFCET/vector.c (arc_get_object_menu): 
7346         * objects/ER/participation.c (participation_get_object_menu): 
7347         * objects/EML/instantiation.c (instantiation_get_object_menu): 
7348         * objects/UML/generalization.c (generalization_get_object_menu): 
7349         * objects/EML/interaction-ortho.c (interaction_ortho_get_object_menu): 
7350         Autorouting setup (currently disabled for SADT/arrow).
7351         
7352 2003-04-19  Lars Clausen  <lrclause@cs.uiuc.edu>
7354         * lib/autoroute.c: Removed printfs.
7356         * lib/orth_conn.c: 
7357         * lib/autoroute.[ch] (autoroute_layout_orthconn): Handle
7358         non-connected orthconns too.
7360 2003-04-18  Lars Clausen  <lrclause@cs.uiuc.edu>
7362         * lib/orth_conn.h: 
7363         * lib/orth_conn.c: Function to set autorouting on/off, use
7364         autorouting in move_handle (turns off when a middle handle is
7365         moved), added to standard orthconn props. 
7367         * app/disp_callbacks.c (create_object_menu, popup_object_menu):
7368         Stopped signal emission for check menu items being set to on/off.
7370         * objects/standard/zigzagline.c: Added autorouting object menu item.
7372         * lib/autoroute.c: Added last cases of autoroute layout, fixed
7373         floating point comparison bug, cleaned up layouters, tweaked
7374         badness to allow kinks. 
7376 2003-04-17  Lars Clausen  <lrclause@cs.uiuc.edu>
7378         * lib/connectionpoint.h: Changed DIR_* macros to go around the
7379         clock. 
7381         * lib/orth_conn.[ch] (orthconn_set_points): New function to set all
7382         points at once.
7383         * objects/standard/zigzagline.c (zigzagline_move_handle): Removed
7384         old cruft, added call to autoroute (currently cannot be turned
7385         off).  Need to check what undo thinks about this.
7386         * lib/autoroute.[ch]: Fairly working simple layout.
7388         * lib/Makefile.am (libdia_la_SOURCES): Added autoroute files.
7389         * lib/autoroute.[ch]: Start of proper autorouting functionality.
7391 2003-04-10  Lars Clausen  <lrclause@cs.uiuc.edu>
7393         * lib/prop_widgets.c: Show labels on ListProp.
7395 2003-04-11  Steffen Macke <sdteffen@web.de>
7397         * doc/en/dia-manual.xml: removed reference of non-existing authors 
7398         note.
7399         * doc/en/usage-objects-selecting: commented out misleading section
7400         references.
7402 2003-04-10  Lars Clausen  <lrclause@cs.uiuc.edu>
7404         * app/app_procs.c (app_init): Layer window now opened at startup
7405         only if needed.
7407         * lib/prop_widgets.c: Show labels on ListProp.
7409 2003-04-09  Steffen Macke <sdteffen@web.de>
7411         * doc/en/*.sgml: removed files
7412         * doc/en/*.xml: added files
7413         * doc/en/Makefile.am: switched to XML DocBook
7415 2003-04-09  Lars Clausen  <lrclause@cs.uiuc.edu>
7417         * plug-ins/xslt/xslt.c (dia_plugin_init): 
7418         * configure.in: Added --with-xslt-prefix to allow other XSLT
7419         placements than /usr/lib.
7421 2003-04-09  Steffen Macke <sdteffen@web.de>
7423         * lib/makefile.mingw: updated to include latest files, including 
7424         and linking libintl
7425         * lib/geometry.h: don't define isinf and finite for mingw gcc build
7427 2003-04-08  Lars Clausen  <lrclause@cs.uiuc.edu>
7429         * app/persistence.h:
7430         * app/persistence.c (persistence_register_window_create): 
7431         * app/app_procs.c (app_init): 
7432         Register window function that doesn't create the window unless it
7433         should be open.  Other windows should move to this, so startup
7434         speed can be reduced.
7435         
7436         * app/persistence.h: Removed call prototype for update_window, now
7437         done internally.
7438         * app/persistence.c (persistence_register_window): A number of
7439         fixes.  Doesn't forget position when window is closed.  Now
7440         actually loads prefs.
7442         * app/layer_dialog.c (create_layer_dialog): Removed extraneous
7443         event connect.
7445         * app/preferences.c (prefs_data): 
7446         * app/diagram_tree_window.h: 
7447         * app/diagram_tree_window.c: Added persistence registering.
7448         Removed prefs items storing size and openness. 
7450         * app/sheets_dialog.c (create_sheets_main_dialog): Added
7451         persistence registering.  
7453         * app/Makefile.am (dia_core_files): Added persistence files.
7455         * lib/dia_dirs.h: 
7456         * lib/dia_dirs.c (dia_config_ensure_dir): New function to ensure
7457         that dirs are present.
7459         * app/app_procs.c (app_init): Loads persistent values on startup.
7460         (app_exit): Saves persistent values on exit.
7462         * app/layer_dialog.c (create_layer_dialog): Registers the layer
7463         window for persistence.
7465         * app/persistence.[ch]: New files handling various kinds of
7466         persistence.
7468 2003-04-04  Lars Clausen  <lrclause@cs.uiuc.edu>
7470         * lib/arrows.c: Adjusted arrow head spacing, more systematic arrow
7471         head spacing calculations.  Added half-circle arrow from Matthieu
7472         Sozeau <mattam@netcourrier.com> 
7474 2003-04-03  Lars Clausen  <lrclause@cs.uiuc.edu>
7476         * app/app_procs.c (app_init): Moved layer dialog init to allow
7477         tooltips to be initialized.
7479         * app/interface.c (create_display_shell): More tooltips.
7481         * app/linewidth_area.c (linewidth_area_create) 
7482         (linewidth_area_events): 
7483         * app/color_area.c (color_area_events, color_area_create): 
7484         Made tooltips work by embedding drawing_area in event_box.
7486         * app/interface.c (create_display_shell,
7487         (create_lineprops_area, create_color_area): Added a few tooltips.
7489 2003-04-01  Lars Clausen  <lrclause@cs.uiuc.edu>
7491         * app/pixmaps/off-grid.xpm: 
7492         * app/pixmaps/on-grid.xpm: 
7493         * app/Makefile.am (EXTRA_DIST): Added snap to grid icons.
7495         * app/display.h: 
7496         * app/commands.c (view_snap_to_grid_callback): 
7497         * app/display.c (ddisplay_set_snap_to_grid) 
7498         (update_snap_grid_status): 
7499         * app/interface.c (create_display_shell, grid_toggle_snap): 
7500         Added snap-to-grid status button.
7502 2003-03-31  Lars Clausen  <lrclause@cs.uiuc.edu>
7504         * app/app_procs.c (app_init): Create a new diagram if a file on
7505         the command line isn't found.
7507 2003-03-17  Lars Clausen  <lrclause@cs.uiuc.edu>
7509         * lib/dialibartrenderer.c (draw_string): Correct color handling
7510         for AA.
7512 2003-03-14  Lars Clausen  <lrclause@cs.uiuc.edu>
7514         * NEWS: 
7515         * doc/en/dia-manual.sgml: 
7516         * doc/pl/dia-manual.sgml: 
7517         * configure.in: 
7518         * dia.spec (Release): 
7519         Version 0.91 is here!
7521 2003-02-10  Steffen Macke <sdteffen@web.de>
7523         * plug-ins/wmf/wmf.cpp: patch from Ken Tsukahara 
7524         <ken.tsukahara@tmt-d.co.jp>, fixes windows printing and WMF export of
7525         non-ANSI characters, closes #107980
7527 2003-03-04  Lars Clausen  <lrclause@cs.uiuc.edu>
7529         * configure.in: 
7530         * NEWS: 
7531         * dia.spec (Release): 
7532         * doc/en/dia-manual.sgml: Upping to pre6.
7534         * configure.in: Missing comma broke HAVE_IEEEFP_H test.
7536         * app/lineprops_area.c (dia_arrow_chooser_new): Fixing bug
7537         #107511:  Make arrow selector for correct arrow type.
7539 2003-03-03  Lars Clausen  <lrclause@cs.uiuc.edu>
7541         * shapes/Circuit/Makefile.am (SHAPES): Added hjumper.png to
7542         EXTRA_DIST.
7544 2003-03-02  Lars Clausen  <lrclause@cs.uiuc.edu>
7546         * doc/en/dia-manual.sgml: 
7547         * configure.in: 
7548         * NEWS: 
7549         * dia.spec (Release): Upping to pre5.
7551         * configure.in: Add freetype-config derived libs to the
7552         AC_CHECK_LIB statement for freetype.
7554 2003-02-28  Hans Breuer  <hans@breuer.org>
7556         [fix for bug #107203]
7558         * lib/diarenderer.c : add warning 'implementation'
7559         for fill_rect to avoid crashing with a renderer
7560         which does not implement this required function.
7562         * plug-ins/dxf/dxf-export.c : provide - still empty -
7563         'implementations' for fill_rect and fill_polygon 
7564         to suppress the above warnings. Now it works like
7565         in version 0.90 
7567 2003-02-28  Steffen Macke <sdteffen@web.de>
7569         * samples/all_objects.dia: New sheet containing all dia shapes
7570         and objects; one layer per sheet
7571         
7572 2003-02-28  Lars Clausen  <lrclause@cs.uiuc.edu>
7574         * lib/prop_text.c (multistringprop_get_widget,
7575         multistringprop_reset_widget, multistringprop_set_from_widget): 
7576         Now uses GtkTextView instead of deprecated stuff, and also works:)
7578         * configure.in: Slightly more informative error message for isinf.
7580         * dia.spec (Requires): Require libxml2 rather than libxml.
7582 2003-02-28  Steffen Macke <sdteffen@web.de>
7584         * shapes/Circuit/hjumper.png:
7585         * shapes/Circuit/hjumper.shape: added missing icon for horizontal
7586         jumper shape
7587         
7588 2003-02-26  Lars Clausen  <lrclause@cs.uiuc.edu>
7590         * doc/en/dia-manual.sgml: 
7591         * configure.in: 
7592         * dia.spec (Release):
7593         * NEWS: New prerelease 0.91pre4, two important fixes.
7595 2003-02-25  Lars Clausen  <lrclause@cs.uiuc.edu>
7597         * plug-ins/xslt/Makefile.am (EXTRA_DIST): Also dist
7598         stylesheets.xml.in 
7600         * app/commands.c (help_manual_callback): More correct URL for help
7601         page (include file://, was broken on Dillo without it).
7603 2003-02-24  Lars Clausen  <lrclause@cs.uiuc.edu>
7605         * app/disp_callbacks.c: Set modifed when text is changed.
7607         * app/modify_tool.c (modify_button_release): Allow undo for moving
7608         objects.
7610 2003-02-16  Lars Clausen  <lrclause@cs.uiuc.edu>
7612         * dia.spec: 
7613         * doc/en/dia-manual.sgml: 
7614         * NEWS: 
7615         * configure.in: New prerelease with important bugfix.
7616         * shapes/network/digitizing_board.png:
7617         * shapes/network/plotter.png: Re-adding with -kb.
7618         
7619 2003-02-17  Abel Cheung  <maddog@linux.org.hk>
7621         * app/app_procs.c (app_init): Add comment for translators.
7623 2003-02-16  Lars Clausen  <lrclause@cs.uiuc.edu>
7625         * lib/filter.c (filter_register_import, filter_register_export):
7626         Don't accept filters with NULL description.
7628         * lib/plug-ins.c (dia_plugin_load): Fail if there's no description
7629         (as we assume the description is available in other places).
7631 2003-02-15  Lars Clausen  <lrclause@cs.uiuc.edu>
7632         
7633         * app/disp_callbacks.c (ddisplay_vsb_update, ddisplay_hsb_update): 
7634         * app/display.c (ddisplay_resize_canvas): Use
7635         ddisplay_add_update_all().
7636         (ddisplay_add_update_all): Free display and update lists when
7637         doing update_all, as they'll be regenerated immediately to cover
7638         all visible area.  Fixes bug #106165, crash when resizing.  This
7639         appears to be the original AA crash bug, believed long extinct.
7641 2003-02-13  Lars Clausen  <lrclause@cs.uiuc.edu>
7643         * app/commands.c (help_manual_callback): Use file: protocol for
7644         help. 
7646         * plug-ins/xslt/.cvsignore: Ignore .o files, please.
7648         * plug-ins/xslt/stylesheets: Removed old-style config file.
7649         
7650         * plug-ins/xslt/stylesheets.xml.in: New XML-based config file.
7652         * plug-ins/xslt/Makefile.am: 
7653         * plug-ins/xslt/xslt.c: Applied patch from Matthieu, improved path
7654         handling (no more DIA_PLUGIN_PATH).
7656 2003-02-11  Lars Clausen  <lrclause@cs.uiuc.edu>
7658         * plug-ins/svg/render_svg.c: 
7659         * lib/diasvgrenderer.c: Fixed numeric localized output issues.
7661 2003-02-10  Lars Clausen  <lrclause@cs.uiuc.edu>
7663         * objects/SADT/arrow.c (sadtarrow_draw): Clamp cosa, cosb to 
7664         [-1.0, 1.0].  Shouldn't be necessary, but in some cases the
7665         side of the triangle is longer than the hypotenuse.  Rounding
7666         error suspected.
7668 2003-02-09  Lars Clausen  <lrclause@cs.uiuc.edu>
7670         * NEWS: 
7671         * configure.in: 
7672         * doc/en/dia-manual.sgml: Update for pre2.
7674         * app/menus.c (display_menu_items): Fixed wrongly place separators.
7676         * objects/flowchart/box.c (box_update_data): Applied patch from
7677         Eivind Tagseth <eivind-gnome@multinet.no> to allow resize (with
7678         comment). 
7680         * app/paginate_psprint.c (print_page): Set paper name, so it
7681         convinces ps printers to use to right size.
7683 2003-02-07  Lars Clausen  <lrclause@cs.uiuc.edu>
7685         * app/properties.c (properties_show): Hide the dialog if the
7686         object is NULL (get rid of 'no properties' randomly popping up).
7688 2003-02-06  Lars Clausen  <lrclause@cs.uiuc.edu>
7690         * plug-ins/pixbuf/pixbuf.c (export_data): Adjust width and height
7691         for diagrams not starting at origo.
7693 2003-02-05  Lars Clausen  <lrclause@cs.uiuc.edu>
7695         * dia.spec (BuildRequires): Use libxml2-devel.
7697         * plug-ins/pixbuf/Makefile.am: Added to CVS.
7699         * RELEASE-PROCESS: Note on RPM version numbers.
7701         * app/interface.c (create_display_shell): Don't set as toolbar
7702         under Unix, either.  Especially not the diagram shell.  It removes
7703         it from the taskbar and makes it unresizable, always-on-top with
7704         OpenBox.  TOOLBAR != TOOLBOX.  Setting toolbox to the only
7705         appropriate thing, UTILITY, is not good either, you lose resizing
7706         and minimizing/maximizing under OpenBox.
7708         * app/menus.c (display_menu_items): Set delete item to use Delete.
7710 2003-02-04  Lars Clausen  <lrclause@cs.uiuc.edu>
7712         * dia.spec (BuildRequires, Requires): Updated for Gtk2
7713         requirements.
7715         * app/disp_callbacks.c (ddisplay_canvas_events): Only add a
7716         display flush when getting focus in, or we may get an update after
7717         the diagram has been destroyed in some cases.  Fixes bug #105221.
7719         * plug-ins/xfig/xfig-import.c: Notes on the splines used by XFig.
7721         * lib/diarenderer.c: Notes on the basis matrix for our beziers.
7723         * app/app_procs.c (app_init): Fixed missing popt context for Gnome
7724         - gnome-compiled Dia will now read files specified on the command line.
7726 2003-02-03  Lars Clausen  <lrclause@cs.uiuc.edu>
7728         * INSTALL (REQUIREMENTS): Updated requirements section.
7730         * configure.in: Better finite() check from MÃ¥rten Svantesson
7731         <f95-msv@nada.kth.se>.  Doesn't seem to generate strange dangly
7732         if's. 
7733         
7734 2003-02-03  Lars Clausen  <lrclause@cs.uiuc.edu>
7736         * plug-ins/xfig/xfig-import.c: Notes on spline conversions.
7738         * app/app_procs.c (debug_break): Added some code to avoid
7739         over-eager optimizations removing the call.  Surely there's a
7740         nicer way, but I'm not sure how.
7742         * app/diapsft2renderer.c (draw_bezier_outline): Removed paps relic
7743         that set text to black.
7745 2003-02-02  Lars Clausen  <lrclause@cs.uiuc.edu>
7747         * NEWS: Mention of Twiki as doc source for Python.
7749         * plug-ins/pixbuf/pixbuf.c: Export with pixbuf if
7750         libart/libpng is not available.  Later when we have a way of
7751         letting the user pick options in the file select dialog we shall
7752         allow the choice when applicable.
7754 2003-02-02  Steffen Macke <sdteffen@web.de>
7756         * doc/en/usage-loadsave.sgml:
7757         * doc/en/usage-objects.sgml: patch from
7758         James K. Lowden <jklowden@schemamania.org> to fix
7759         some docbook errors
7760         
7761 2003-02-01  Lars Clausen  <lrclause@cs.uiuc.edu>
7763         * plug-ins/Makefile.am (SUBDIRS): 
7764         * plug-ins/pixbuf/pixbuf.c: 
7765         * plug-ins/pixbuf/Makefile.am: 
7766         * configure.in: 
7767         Added pixbuf plugin to Makefile.am, but for import only.  PNG
7768         export handled by libart, which is better. JPG export is
7769         discouraged.  BMP is not much used on Unix.  Next release will
7770         integrate libart to allow all outputs.
7772 2003-02-01  Hans Breuer  <hans@breuer.org>
7774         * app/preferences.c :
7775         * app/pagesetup.c :
7776         the last two dialogs with 'old' button order finally
7777         are converted to gtk2, no GnomeDialog in all of Dia 
7778         anymore :-) 
7780 2003-02-01  Hans Breuer  <hans@breuer.org>
7782         * app/filedlg.c : don't try to use a button as
7783         'overwrite-file-dialog'-parent, use the FileSelDialog
7784         instead
7786         * plug-ins/pixbuf/pixbuf.c : make it work with 
7787         system-visual-depth < 24. Remove 'bmp' from output
7788         format extensions, it just was wishful thinking.
7790         * plug-ins/python/Makefile.am : added the four new python 
7791         plug-ins mentioned below to pyplugin_DATA and EXTRA_DIST
7793 2003-02-01  Hans Breuer  <hans@breuer.org>
7795         * NEWS : updated content beside dependencies
7797 2003-02-01  Hans Breuer  <hans@breuer.org>
7799         * lib/arrow.h : arrow_types needs to be declared as DIAVAR
7800         to make it useable across DLL boundaries
7801         * app/lineprops_area.c : same code to access arrow_types
7802         on all platforms
7804         * objects/UML/class.c : the non empty string is e.g.
7805         comment != NULL && comment[0] != '\0'
7806         * objects/UML/uml.c : same here, don't bother with
7807         empty operation stereotypes
7809 2003-02-01  Steffen Macke <sdteffen@web.de>
7811         * app/lineprops_area.c: latest changes do not work on
7812         windows, using old code without tooltips
7813         * makefile.msc: fixed copying of wmf.dll
7814         * plug-ins/makefile.msc: 
7815         * app/makefile.msc:
7816         * lib/makefile.msc: now linking libintl
7817         * config.h.win32: enabling native language support
7819 2003-01-31  Lars Clausen  <lrclause@cs.uiuc.edu>
7821         * plug-ins/xslt/Makefile.am (libxslt_filter_la_LDFLAGS): Removed
7822         -ldl and -lglib.  May or may not work on windows...awaiting verdict.
7824 2003-01-31  Daniel Yacob  <locales@geez.org>
7826         * configure.in: Added am (Amharic) to ALL_LINGUAS.
7828 2003-01-31  Steffen Macke <sdteffen@web.de>
7830         * objects/UML/class.c (umlclass_calculate_data): fixed crash
7831         when comments were visible, no class comment available and
7832         a attribute comment
7833          
7834 2003-01-31  Lars Clausen  <lrclause@cs.uiuc.edu>
7836         * RELEASE-PROCESS: Updated to fit new install-module syntax.
7837         * Prerelease 0.91-pre1 released on a suspecting public.  Tagging
7838         with DIA_0_91_PRE1.
7840 2003-01-30  Lars Clausen  <lrclause@cs.uiuc.edu>
7842         * config.h.win32: 
7843         * NEWS: 
7844         * configure.in:
7845         * dia.spec:
7846         Prerelease version changes, version 0.91-pre1.
7848         * app/sheets_dialog_callbacks.h: 
7849         * app/sheets_dialog_callbacks.c: 
7850         * app/sheets_dialog.c (create_sheets_main_dialog): 
7851         * app/sheets.c (sheets_dialog_create): More destroy stuff.  Trying
7852         to handle destruction of main dialog cleanly, but it's a mess.
7854         * configure.in: Downgraded ieeefp test to make it not produce
7855         illegal shell code.
7857         * lib/widgets.c (dia_arrow_selector_set_arrow): 
7858         (dia_line_style_selector_set_linestyle): Select menu dot
7859         correctly set.
7861         * lib/arrows.c (calculate_arrow_point): Fix of wrong arrow
7862         adjustment for diamondheads.
7864         * lib/plug-ins.c (dia_plugin_load): Fixed typo.
7866         * app/properties.c (create_dialog): Destroy properties dialog and
7867         box correctly.
7869         * app/sheets_dialog_callbacks.c
7870         (on_sheets_dialog_button_edit_clicked): Only create a new dialog
7871         if the old one is destroyed.
7873 2003-01-29  Lars Clausen  <lrclause@cs.uiuc.edu>
7875         * app/export_png.c (export_png_ok): Added info on resolution.
7876         Should (next release) improve export dialog to allow setting
7877         resolution instead of pixels.
7879         * app/lineprops_area.c (dia_arrow_chooser_new): Use menudesc list
7880         to generate arrowheads as well as tooltips.
7882         * lib/arrows.c: Added hollow diamond to menudesc list.
7884         * lib/arrows.[ch]: 
7885         * lib/widgets.[ch]: Moved arrow name list into arrows.[ch] to
7886         unify with rendered menu.
7888         * lib/diarenderer.c (draw_line_with_arrows)
7889         (draw_polyline_with_arrows, draw_arc_with_arrows)
7890         (draw_bezier_with_arrows): Fixed linestyle change bug (#104488)
7891         without changing renderer API.  Thanks to David Scherba for
7892         providing inspiration.
7894 2003-01-28  Lars Clausen  <lrclause@cs.uiuc.edu>
7896         * app/interface.c (create_display_shell):
7897         * app/display.h: Patching from Hubert Figuiere
7898         <hfiguiere@teaser.fr>:  Better types for menu bar widgets, and
7899         correct menu items.
7901 2003-01-26  Lars Clausen  <lrclause@cs.uiuc.edu>
7903         * app/defaults.c (defaults_show): Fixed defaults closing bug.
7904         Thanks to Hans for pointing it out.
7906 2003-01-25  Hans Breuer  <hans@breuer.org>
7908         * app/commands.c : don't warn about crashing libart renderer
7909         on win32. It simply doesn't render text anymore :-(
7911         * app/filedlg.c : use GtkMessageDialog for 'file overwrite'
7913         * objects/UML/class.c : don't access umlclass->properties_dialog
7914         after calling gtk_widget_destroy(umlclass->properties_dialog->dialog)
7915         which sets the former to NULL by destroy_properties_dialog() callback.
7917         * plug-ins/wmf/wmf.cpp : use dia_image_rowstride()
7919         * plug-ins/python/pydia-font.c : fix PyDiaFont_GetAttr()
7921         * plug-ins/python/pydia-image.c : add image.uri member
7922         not only useful for SVG rendering
7924         * plug-ins/python/diasvg.py : (new file) a more advanced
7925         example. A full blown SVG Renderer, currently only
7926         registered for .svgz
7928         * plug-ins/python/export-object.py : write text props
7930         * plug-ins/python/debug_objects.py : write prop.type and
7931         prop.visible 
7933 2003-01-25  Lars Clausen  <lrclause@cs.uiuc.edu>
7935         * objects/UML/association.c (association_update_data): Better
7936         bounding box for assoc with arrows.
7938         * lib/properties.h: New flag for properties with multiple values
7939         in groups.
7941         * app/lineprops_area.c (dia_arrow_chooser_dialog_show): Correct
7942         arrow updating in dialog.  Was broken due to changes from destroy
7943         fix:(
7945         * app/commands.c (view_aa_callback): AA warning only for Windows
7946         -- I trust the Unix side well enough.
7948         * app/render_libart.c (get_text_width): 
7949         * lib/dialibartrenderer.h (struct _DiaLibartRenderer): Font and
7950         font height can be taken from parent instance.
7952         * lib/dialibartrenderer.c (dia_libart_renderer_class_init) 
7953         (get_text_width): Proper cursor positioning for libart renderer.
7954         Ought to have a DiaInteractiveRenderer that these two can inherit
7955         from, that knows about transform.
7957 2003-01-25  Steffen Macke <sdteffen@web.de>
7959         * plug-ins/xslt/xslt.h: don't use dlfcn.h on win32. XSLT
7960         plug-in still not working on win32
7961         
7962 2003-01-24  Lars Clausen  <lrclause@cs.uiuc.edu>
7964         * app/disp_callbacks.c (ddisplay_canvas_events): Moved
7965         gdk_window_get_pointer to avoid destroy crash.  Simpler than I
7966         thought.
7968 2003-01-23  Lars Clausen  <lrclause@cs.uiuc.edu>
7970         * app/app_procs.c (app_init): Run gtk_init before popt so we don't
7971         bail out on gtk options.
7973         * lib/message.c (gtk_message_internal): Better handling of destroy
7974         event.
7976 2003-01-22  Lars Clausen  <lrclause@cs.uiuc.edu>
7978         * app/color_area.c (color_area_edit): 
7979         * lib/widgets.c (dia_file_selector_browse_pressed) 
7980         (dia_color_selector_pressed): 
7981         * app/plugin-manager.c (get_plugin_manager): 
7982         * app/filedlg.c (file_open_callback, file_save_as_callback) 
7983         (file_export_callback):
7984         * app/diagram_tree_window.c (diagram_tree_window_new): Correct
7985         handling of destroy event.
7987 2003-01-22  Alan Horkan <horkana@tcd.ie>
7989         * app/commands.c (file_new_callback): Changed Untitled to Diagram
7990         for default name.
7992 2003-01-21  Lars Clausen  <lrclause@cs.uiuc.edu>
7994         * app/preferences.c (prefs_create_dialog): 
7995         * app/linewidth_area.c (linewidth_create_dialog): 
7996         * app/lineprops_area.c (dia_arrow_chooser_dialog_show): 
7997         * app/layer_dialog.c (create_layer_dialog)
7998         (layer_dialog_edit_layer): Correct handling of destroy signal. 
8000         * app/diapsft2renderer.c (set_font): Adjust silly random factor
8001         for change in font.c
8003         * lib/widgets.c: Avoid warning when font menu file doesn't exist.
8005         * lib/font.c (dia_font_build_layout): Let's all use the same weird
8006         factor here.
8008         * app/lineprops_area.c (dia_arrow_chooser_dialog_show): 
8009         * app/layer_dialog.c (create_layer_dialog) 
8010         (layer_dialog_edit_layer): 
8011         * app/filedlg.c (file_open_callback, file_save_as_callback) 
8012         (file_export_callback): 
8013         * app/dia-props.c (create_diagram_properties_dialog): 
8014         * app/defaults.c (defaults_dialog_destroyed): 
8015         * app/color_area.c (color_area_edit): Dialog destroy event handling.
8017 2003-01-19  Lars Clausen  <lrclause@cs.uiuc.edu>
8019         * app/defaults.c (defaults_dialog_destroyed): Reset cache when
8020         defaults dialog destroyed.
8022 2003-01-19  Steffen Macke <sdteffen@web.de>
8024         * objects/makefile.msc: added bondgraph
8025         * plug-ins/makefile.msc: added GDK_PIXBUF_LIBS in order
8026         to compile pixbuf.dll
8027         * makefile.msc: copying all objects and dlls now
8028         
8029 2003-01-19  Hans Breuer  <hans@breuer.org>
8031         * app/diagram.[hc] : provide dia_open_diagrams(), make
8032         open_diagrams variable static
8033         * app/dia.def : export it (to be used by PyDia)
8034         * app/app_procs.c app/autosave.c app/diagram_tree_window.c
8035           app/display.c app/dynamic_refresh.c app/layer_dialog.c
8036           app/load_save.c : make use of dia_open_diagrams()
8038         * app/interface.c : don't set GDK_WINDOW_TYPE_HINT_TOOLBAR
8039         on win32. It removes the diagram window from the taskbar and
8040         shrinks it's window title to toolbar style (newest gtk2.2 cvs)
8042         * app/menus.c : add '...' to menu entries where a dialog 
8043         gets invoked
8044         * app/recent_files.c app/dia_embedd.c : reflect the above in 
8045         menus_get_item_from_path() calls
8047         * lib/libdia.def : add dia_image_rgba_data
8049         * lib/properties.h lib/prop_text.[hc] : add new property
8050         type StringList
8051         * objects/UML/class.[hc] object/UML/class_dialog.c : use
8052         StringList for attributes_strings and operations_strings to
8053         make this calculated data accessible via the Property API
8055         * plug-ins/python/diamodule.c : use dia_open_diagrams() and
8056         provide dia.new() to create a new diagram, dia.registered_types()
8057         to get on Dia's type registry, dia.message() for simple dialogs
8059         * plug-ins/python/pydia-diagram.c : implement DiaDiagram.display()
8060         to create a new display from a diagram. Let diagram.extents and
8061         diagram.bg_color return the same types as in diagramdata.*
8063         * plug-ins/python/pydia-geometry.c : add a read-only 
8064         'sequence interface' to DiaPoint and DiaRectangle
8066         * plug-ins/python/pydia-property.c : allow to get on StringList
8067         from Python
8069         * plug-ins/python/pydia-render.c : fix typo to make it compile
8071         * plug-ins/python/python-startup.py : removed 'import pygtk'
8072         again. This file does not need any gtk UI, and some python
8073         plug-ins don't do either
8075         * plug-ins/python/gtkcons.py : ported to GTK2 interface, now
8076         it should actually work as intended again
8078         * plug-ins/python/group_props.py : (new file) a prototype for
8079         one the most requested features: Change properties of selected
8080         objects in one step. Requires pygtk.
8082         * plug-ins/python/select_by.py : (new file) select objects by 
8083         common properties. Requires pygtk.
8085         [Start of 'PyDia Self Documentation Series']
8087         * plug-ins/python/pydiadoc.py : (new file) generates a new 
8088         diagram which contains all objects of dir(dia)
8089         
8090         * plug-ins/python/otypes.py : (new file) generates a new diagram 
8091         which contains all the currently registered object types sorted 
8092         by their containing package
8094 2003-01-18  Lars Clausen  <lrclause@cs.uiuc.edu>
8096         * configure.in: Added check for Pango >= 1.1.5, which appears to
8097         be enough to have text work.
8098         (INTLOBJS): Added dummy subst cause gettext doesn't always seem to
8099         do it.  AC_SUBST should be idempotent, though.
8101 2003-01-17  Lars Clausen  <lrclause@cs.uiuc.edu>
8103         * configure.in (HAVE_FREETYPE): Better test for freetype version
8104         using neat macro.
8105         Now actually sets HAVE_IEEEFP_H, needed for Solaris.
8107         * lib/font.c: Renamed global_size_one to global_zoom_factor to
8108         avoid confusion, and added comment.  Set scale factor in
8109         dia_font_build_layout to 1.0 for Unix side.  This fixes at least
8110         my weird scaling problems.  Fonts are now of the expectable size,
8111         i.e. the space between lines at size 1.0 is 1.0.  If we want a
8112         compatibility fix, we should scale fonts by about 1/0.75 from 0.90
8113         diagrams, though there will always be differences.
8115 2003-01-15  Lars Clausen  <lrclause@cs.uiuc.edu>
8117         * plug-ins/python/python-startup.py: 
8118         * plug-ins/python/gtkcons.py: Require gtk 2.0 for pygtk
8120         * plug-ins/python/python.c (dia_plugin_init): Added warning
8121         message for missing startup file.
8123         * lib/dialibartrenderer.c (draw_image): Alpha rendering!  Yay!
8124         
8125         * lib/dia_image.c (dia_image_rgb_data): 
8126         * app/diapsrenderer.c (draw_image): Fixed rowstride problems
8127         involving EPS.  Can't do transparency in EPS yet.
8129         * lib/dia_image.h: 
8130         * lib/dia_image.c (dia_image_rgba_data): New function to get RGBA
8131         data as one chunk.  Documentation for the RGB data getting funcs.
8132         (dia_image_rgb_data): Added comment.
8134         * lib/dialibartrenderer.c (draw_image): Correct rowstride handling
8135         (bug #103565)
8137 2003-01-13  Steffen Macke <sdteffen@web.de>
8139         * lib/dia_image.c: dia_image_rgb_data() is working for
8140         non-alpha images now. Fixes #93762
8141         * Makefile.am: added makefile.msc to EXTRA_DIST
8142         
8143 2003-01-10  Steffen Macke <sdteffen@web.de>
8145         * app/paginate_psprint.c: Closing print dialog when file
8146         could not be written. Fixes #84746
8147         
8148 2003-01-04  Steffen Macke <sdteffen@web.de>
8150         * doc/custom-shapes: incomplete description of <svg:text>
8152 2003-01-03  Steffen Macke <sdteffen@web.de>
8154         * makefile.msc(new): new makefile to create file
8155         structure suitable for running dia win32 under
8156         $(TOP)/dia/build/win32
8157         
8158 2003-01-02  Steffen Macke <sdteffen@web.de>
8159         
8160         * lib/dia_svg.c: including stdlib.h
8161         * lib/makefile.msc: added gdk_pixbuf libs to linker
8162         * app/makefile.msc: added gdk_pixbuf libs, made libart
8163         libs compatible with gnuwin32 package
8164         
8165 2003-01-01  Hans Breuer  <hans@breuer.org>
8167         * lib/font.c : more comment about global_size_one
8169         * app/menus.c : <control>[<shift>]A for plain gtk build too.
8171         * plug-ins/wmf/wmf.cpp : some type juggling to make 
8172         msvc7 happy
8174 2002-12-31  Steffen Macke <sdteffen@web.de>
8176         * app/makefile.msc: added hint on how to enable console output
8177         
8178 2002-12-17  Lars Clausen  <lrclause@cs.uiuc.edu>
8180         * objects/standard/textobj.c (textobj_load): Get the handle type
8181         right, at least to be the same as when created.
8183 2002-12-12  Lars Clausen  <lrclause@cs.uiuc.edu>
8185         * lib/dialibartrenderer.c (draw_string): Removed extra 'is'.
8187 2002-12-08  Hans Breuer  <hans@breuer.org>
8189         * app/commands.c : fixed bug #85315 'give diagram properties, 
8190         instead of no object selected error' almost a one-liner
8192         * app/splash.c : don't make having the logo pixmap
8193         mandatory. Fixes bug #96068. 
8195         * app/defaults.c : avoid crashing from open-dialog,esc,open-dialog
8196         sequence by connecting to the "delete_event"
8197         * app/objects/uml/class_dialog.c : handle "destroy" for 
8198         the same reason.
8200         * lib/libdia.def : remove diaXmlNewChild again
8202         * app/paginate_gdiprint.cpp : reflect Dia's page setting
8203         portrait/landscape in the windoze print dialog
8205         * objects/makefile.msc : only UML needs to link against
8206         $(GTK2_LIBS) and only custom against $(LIBXML2_LIBS)
8208 2002-12-08  Lars Clausen  <lrclause@cs.uiuc.edu>
8210         * objects/standard/ellipse.c (ellipse_distance_from): 
8211         * lib/geometry.c (distance_ellipse_point): Ellipse now uses the
8212         correct distance function.  Could be faster, but it's not really
8213         essential. 
8215 2002-12-07  Lars Clausen <lrclause@cs.uiuc.edu>
8217         * lib/font.c: Changed global_size_one to more correct 28.35.
8218         Looks better, too.
8220         * app/load_save.c:
8221         * lib/dia_xml.h: 
8222         * lib/dia_xml.c: Removed pretty print hack, the libxml thing works
8223         after all.
8225 2002-12-07  Hans Breuer  <hans@breuer.org>
8227         * lib/widgets.c : g_file_get_contents() silently assumes
8228         a binary file. Reflect when creating the font_menu file
8229         to get rid of junk in font menus
8231 2002-12-06  Hans Breuer  <hans@breuer.org>
8233         * app/diapsrenderer.[hc] app/diapsft2renderer.[hc] :
8234         removed 0xD 0xD 0xA line ends which get created by
8235         cvs if windoze line ends 0xD 0xA are checked in from
8236         *nix and checked out on win32.
8238         * app/preferences.c : changed toolbox_on_top default to
8239         false. It is currently not possible to change the behaviour
8240         at runtime, at least not on win32.
8242         * lib/dialibartrenderer.c : bug #94791 'rendering to 
8243         bitmap without PangoFt2' got delayed to milestone future 
8244         so wrap libart text rendering into PANGO_WIN32_FUTURE. 
8245         It is not available without my Pango patch in bugzilla.
8247         * lib/font.c : added comment to global_size_one and adapt
8248         the arbitrary size scaling in dia_font_build_layout() for
8249         win32, too. This is needed to get an acceptable font size 
8250         approximation for Dia 0.90 and earlier files.
8251         Also #include "message.h".
8253         * app/makfile.msc app/dia.def lib/makefile.msc lib/libdia.def :
8254         reflect movement of group.[hc]
8255         * lib/group.h : export group_type which gets used by app/*
8257         * lib/diagtkfontsel.c : added #undef GTK_DISABLE_DEPRECATED
8258         to get the GtkTypeInfo definition
8260         * plug-ins/makefile.msc : dxf and xfig don't need to link
8261         against app/ anymore now that group is moved to lib/
8263         * plug-ins/python/pydia-render.c : remove massive leaking
8264         of self, i.e. PyDiaRenderer
8266         *  plug-ins/python/makefile.msc : remove linking against
8267         GTK libs
8269 2002-12-06  Lars Clausen  <lrclause@cs.uiuc.edu>
8271         * objects/standard/line.c: Removed properties options for gaps,
8272         until release is done.
8274         * configure.in: Check for freetype version.
8276         * lib/text.c (text_insert_char): Fixed small buffer overflow for
8277         length = 0.
8279         * lib/dialibartrenderer.c (draw_string): Removed debugging printf.
8281         * app/diapsft2renderer.h: 
8282         * app/diapsft2renderer.c: 
8283         * app/diapsrenderer.h: 
8284         * app/diapsrenderer.c: Split ps rendering into standard and freetype.
8286         * app/render_eps.c (export_eps, new_psprint_renderer): Using
8287         PS_FT2 renderer when available.  Old render stuff killed.  Yay!
8289         * lib/properties.h: Fixed bad frame end def.
8291         * app/Makefile.am (dia_core_files): Added diapsft2renderer.[ch].
8293         * lib/dia_xml.c (data_add_string): Avoid #-less strings.
8294         
8295         * objects/bondgraph/Makefile.am: Removed unneeded EXTRA_DIST.
8297 2002-12-05  Lars Clausen  <lrclause@cs.uiuc.edu>
8299         * lib/font.c: Now checking for the proper dia-style standard fonts.
8301         * lib/Makefile.am: 
8302         * app/Makefile.am: Moving group.[ch]
8304         * plug-ins/dxf/dxf-import.c: 
8305         * plug-ins/xfig/xfig-import.c: 
8306         * plug-ins/xfig/xfig-export.c: Now can refer directly to group.h.
8308         * app/object_ops.c: 
8309         * app/object_ops.h: 
8310         * lib/object.c (object_list_move_delta, object_copy_list): 
8311         * lib/object.h: Moved some object-related functions from
8312         object_ops to object to assist moving group.c.
8314         * lib/diatypes.h: Added Group typedef.
8316         * lib/group.h: 
8317         * lib/group.c: Moved from app to lib to a) resolve plug-ins
8318         references, and b) make groups more "real" objects.
8320         * lib/Makefile.am (libdia_la_SOURCES): Added diatyps.h
8322 2002-12-03  Lars Clausen <lrclause@cs.uiuc.edu>
8324         * lib/font.c (dia_font_init): Added check that the three standard
8325         fonts exist.
8327 2002-12-02  Lars Clausen  <lrclause@cs.uiuc.edu>
8329         * lib/dia_xml.[ch]:
8330         * app/load_save.c: Linebreaks in dia files, no indentation.
8331         Should help text tools.  xmlNewChild wrapped in diaXmlNewChild for
8332         this. 
8333         
8334         * objects/standard/line.c: Small but important fixes to the line
8335         gap code.
8337         * lib/dia_xml.h: 
8338         * lib/dia_xml.c (diaXmlNewChild): 
8339         * app/load_save.c (diagram_data_write_doc, write_objects): Simple
8340         XML prettyprinting wrapper.
8342 2002-12-03  Steffen Macke <sdteffen@web.de>
8344         * shapes/Cisco/Makefile.am:
8345         * shapes/Cisco/*.shape: finished conversion of Cisco icons
8346         to *.png
8347         
8348 2002-12-02  Steffen Macke <sdteffen@web.de>
8350         * doc/en/Makefile.am:
8351         * doc/en/usage-objects.sgml:
8352         * doc/en/graphics/line_icon.png: (new) added line icon
8353         
8354 2002-12-02  Lars Clausen  <lrclause@cs.uiuc.edu>
8356         * objects/standard/line.c: Binary search object edge line gap.
8358 2002-12-01  Lars Clausen  <lrclause@cs.uiuc.edu>
8360         * configure.in: Added Cisco makefile, sorted Makefiles list.
8362         * shapes/Makefile.am (SUBDIRS): Added Cisco dir
8364         * configure.in: Now checks for availability of PangoFT2 and
8365         FreeType, raising an error if not found.
8367         * app/Makefile.am (dia_core_files): Adding diapsft2renderer from
8368         Hans.
8370 2002-12-01  Steffen Macke <sdteffen@web.de>
8371         
8372         * doc/en/usage-loadsave.sgml: updated information on import
8373         and export formats
8374         
8375 2002-11-28  Lars Clausen  <lrclause@cs.uiuc.edu>
8377         * app/commands.c (edit_copy_callback): Freeing copy_list.
8379 2002-11-28  Steffen Macke <sdteffen@web.de>
8380         
8381         * app/render_libart.c: art_config.h was included twice
8383 2002-11-27  Lars Clausen  <lrclause@cs.uiuc.edu>
8385         * sheets/.cvsignore: More ignorance.
8387         * lib/diagdkrenderer.c (draw_string): Removed silly #ifdef 1.
8389         * lib/prop_widgets.h: Two (currently unused) settings for frame
8390         foldability.
8392         * lib/prop_widgets.c (frame_beginprop_get_widget): Frames are now
8393         (by default) foldable. 
8395         * lib/propinternals.h: 
8396         * lib/propdialogs.c (prop_dialog_add_raw_with_flags): Way to add
8397         widgets in a more controlled manner.
8399         * objects/standard/line.c (line_update_data): Line gap things
8400         inserted.  Can do xeyes now:)
8402 2002-11-26  Christian Neumair  <chris@gnome-de.org>
8404         * .cvsignore: Changed.
8405         * objects/bondgraph/.cvsignore, plug-ins/metapost/.cvsignore,
8406         plug-ins/xslt/.cvsignore, shapes/Assorted/.cvsignore, shapes/Misc/.cvsignore:
8407         Added.
8409 2002-11-26  Lars Clausen  <lrclause@cs.uiuc.edu>
8411         * app/pixmaps/delete.xpm: Trashcan stolen from Gimp.
8413         * lib/widgets.c (dia_font_selector_get_font): Fixed wrong name
8414         passing to font hash.
8416         * app/filedlg.c (file_save_as_ok_callback): Check that filename is
8417         utf-8 or locale-convertible before adding to dialog text.  This
8418         probably needs done in a number of places where we get text from
8419         the environment and send it to GTK to display.
8421         * lib/widgets.c: Fixed case problems for font menu entries.
8423         * objects/SADT/annotation.c: Don't run the event test (but leave
8424         it here for inspiration).
8426         * lib/widgets.c: 
8427         * lib/widgets.h: Allowing setting preview text for fonts.
8429 2002-11-26  Lars Clausen  <lrclause@cs.uiuc.edu>
8431         * objects/bondgraph/Makefile.am: 
8432         * objects/bondgraph/bondgraph.c: 
8433         * configure.in: 
8434         * objects/Makefile.am: Added bond graph dir.
8436 2002-11-26  Lars Clausen  <lrclause@cs.uiuc.edu>
8438         * lib/text.c (text_calc_boundingbox, text_draw): Better cursor size.
8440 2002-11-25  Lars Clausen  <lrclause@cs.uiuc.edu>
8442         * lib/text.c (text_calc_boundingbox, text_draw): Better cursor
8443         positioning. 
8445         * app/diapsrenderer.c: Freetype rendering is back in force.
8447         * app/disp_callbacks.c: Added missing updates for pre-text-change.
8449 2002-11-25  David Hoover <jazzdaq@yahoo.com>
8451         * app/render_libart.c: Added missing #include line for libart.
8453         * lib/geometry.h:
8454         * lib/geometry.c: Added point_convex function.  This computes
8455         points inside a line segment (0 <= alpha <= 1) or outside the
8456         line segment (alpha < 0 | alpha > 1).
8458         * objects/standard/line.c: Line now has additional code/attributes
8459         which permit the line to extend past the line anchors (gap < 0) or
8460         leave a gap without reaching the anchor (gap > 0).  If no gap is
8461         specified, the default gap of 0 will result in identical line
8462         behavior as before.  If the 'fractional' attributes are TRUE, the
8463         gap length is not fixed, but a percentage of the line length.  I
8464         did not know how create the GTK widgets so the gap code currently
8465         cannot be used without adding XML attributes by hand.
8467 2002-11-25  Lars Clausen  <lrclause@cs.uiuc.edu>
8469         * lib/diagdkrenderer.c (draw_string): Removed timing bits.
8471         * lib/Makefile.am (libdia_la_SOURCES): Added fontsel files to SOURCES.
8473 2002-11-24  Lars Clausen  <lrclause@cs.uiuc.edu>
8475         * lib/font.c: Debugging functionality in separate functions.
8477         * lib/widgets.c: Using fontsel with context.
8479         * lib/diagtkfontsel.[ch]: Context-aware copy of the GTK fontsel.
8481         * objects/custom/custom_object.c: Orientation handling for shapes,
8482         patch thanks to Martin Hans <opfinder@gmx.net>.
8484         * objects/standard/zigzagline.c (zigzagline_move_handle): Starting
8485         work on even better orientation handling.
8487         * app/menus.c (menus_get_item_from_path): Fixed sily warnings from
8488         casting NULL pointers.  Should be unnecessary in an upcoming GTK
8489         release. 
8491 2002-11-18  Lars Clausen  <lrclause@cs.uiuc.edu>
8493         * lib/font.h:
8494         * lib/font.c:
8495         * lib/widgets.c: Now uses correct context to get font families.
8497         * lib/diagdkrenderer.c (get_text_width, draw_string): 
8498         * lib/dialibartrenderer.c (draw_string): 
8499         * lib/font.h: 
8500         * lib/font.c (dia_font_init): Removed old kludgy font name compare.
8501         (dia_font_build_layout): Unified the twiddle factors into a use of
8502         global_size_one.  But I deeply distrust Pango for seeming to
8503         change size of fonts every time I turn my back.
8505         * app/display.c: 
8506         * app/diagram.c: 
8507         * app/menus.c:
8508         * app/menus.h: Updated some more methods to also be more specific
8509         on the types.
8511         * app/menus.h:
8512         * app/recent_files.c: 
8513         Changed to return most specific type, to avoid run-time type errors.
8515         * app/menus.c (menus_get_item_from_path): Non-gnome version now
8516         gets menu_item rather than widget, which works better.
8518 2002-11-17  Cyrille Chépélov  <cyrille@chepelov.org>
8520         * app/display.c: (new_display):
8521         * app/menus.c: (menus_get_item_from_path):
8522         Relying on the tearoff to locate the input methods menu wasn't a
8523         good idea: tearoffs seem to be an endangered species nowadays.
8524         Anyway, the IM menu seems to be working now.
8526         * app/interface.c: hinted the window manager that the toolbox window
8527         is a toolbox window. Not that my (fairly default configuration)
8528         sawfish cares, but other NETWM compliant WMs may.
8530         * app/commands.c: 
8531         * app/defaults.c: 
8532         * app/dia-props.c:
8533         * app/filedlg.c: 
8534         * app/interface.c: 
8535         * app/layer_dialog.c: 
8536         * app/linewidth_area.c: 
8537         * app/properties.c: 
8538         * app/sheets_dialog.c: 
8539         * app/splash.c: 
8541         The GTK doc says to avoir gtk_window_set_wmclass() and 
8542         gtk_window_set_policy(), and use gtk_window_set_role() and
8543         gtk_window_set_resizable(), respectively.
8544         
8545         * app/preferences.c: (prefs_create_dialog):
8546         * app/preferences.h:
8547         * app/display.c: (display_set_active):
8548         Added a preference to have the toolbox hover over diagram windows.
8549                 
8550 2002-11-12  Lars Clausen  <lrclause@cs.uiuc.edu>
8552         * lib/diagdkrenderer.c (get_text_width, draw_string):
8553         Freetype-based string drawing now works.  Not very fast, though.
8554         I wish I could use the graphics card for this:(  I'm doing three
8555         bitmap loops where I should be doing one.  The size is not correct
8556         either, despite having get_text_width give the right thing.
8558 2002-10-21  Lars Clausen  <lrclause@cs.uiuc.edu>
8560         * app/connectionpoint_ops.c (diagram_update_connections_object):
8561         Allows more than one connectionpoint on an object to be moved at a
8562         time (bug #96306).
8564 2002-10-18  Stanislav Brabec  <sbrabec@suse.cz>
8566         * configure.in: Added cs to ALL_LINGUAS.
8568 2002-10-17  Lars Clausen  <lrclause@cs.uiuc.edu>
8570         * app/paginate_psprint.c: Removed unnecessary decl of autosave
8571         stuff.
8573         * app/display.c (ddisplay_set_renderer): Calls to begin/end render.
8575         * app/export_png.c (export_png_ok): Saving more variables from the
8576         evil setjmp.
8578 2002-10-16  Lars Clausen  <lrclause@cs.uiuc.edu>
8580         * lib/dialibartrenderer.c (begin_render):
8581         (end_render): Correct pushing and popping of font contexts.
8582         (draw_string): Double zooming eliminated, strange twiddle factor
8583         introduced (grumble).  Close to working now, but there are still
8584         strange differences from font to font.  In particular, some fonts
8585         really mess with the cursor and extents.
8587         * app/render_eps.c (export_eps): 
8588         * app/diapsrenderer.c (dia_ps_renderer_finalize): 
8589         Fixed file closing confusion, no longer dependent on PS/EPS.
8591         * app/diagram.c (diagram_place_down_selected) 
8592         (diagram_place_up_selected): Now implemented.
8594         * lib/font.c (dia_font_init): 
8595         * lib/font.h: 
8596         Redesigned the font init/context pushing code.  Start of fix for
8597         font name differences.
8598         
8599 2002-10-15  Kjartan Maraas  <kmaraas@gnome.org>
8601         * app/sheets_dialog_callbacks.c: Fix a typo.
8602         
8603 2002-10-15  Hans Breuer  <hans@breuer.org>
8605         * app/diapsrenderer.[hc] : (new files, old content :-)
8606         simple base class for post script rendering. Does neither 
8607         use Pango/FT2 nor does it handle non latin1 characters. 
8608         The fancy stuff which nowadays appears to be needed should 
8609         probably be done in derived class(es)
8611         * app/makefile.msc app/Makefile.am : added new files
8613         * app/paginate_psrint.c : re-enabled and used as test
8614         for the simple ps renderer above.
8616         * app/render_eps.[hc] : ripped out common ps code and
8617         moved to DiaPsRenderer. The rest of the file is mostly
8618         disabled. And I don't understand enough of it to 
8619         change port it.
8621         * app/diaepsrenderer.h : short lived, removed.
8623 2002-10-15  Lars Clausen  <lrclause@cs.uiuc.edu>
8625         * lib/plug-ins.c (dia_register_plugin): Don't try to load libdia
8626         as a plugin (thanks to Torben Nielsen).
8628 2002-10-14  Lars Clausen  <lrclause@cs.uiuc.edu>
8630         * app/diaepsrenderer.h: 
8631         * app/render_eps.h: 
8632         * app/paginate_psprint.c: 
8633         #ifdef'd out enough ps stuff to allow compile.  Now we just need
8634         to convert it.
8635         
8636 2002-10-12  Hans Breuer  <hans@breuer.org>
8638         [last plug-in ported]
8640         * plug-ins/xfig/xfig-export.c : ported to new renderer api
8642         * plug-ins/xfig/xfig-import.c(fig_create_object) : need to
8643         scale color values to [0..1.0] to properly reconstruct
8644         user colors
8646         * plug-ins/xfig/xfig-common.c : some cleaning
8648 2002-10-12  Hans Breuer  <hans@breuer.org>
8650         [decrease inter-plug-in-dependencies]
8652         * objects/custom/shape_info.[hc] : move parse_style()
8653         to lib/dia_svg.[hc] as dia_svg_parse_style(); Namespace
8654         the related structs and constants.
8655         * objects/custom/custom_object.c : reflect namespace
8656         changes
8658         * lib/dia_svg.[hc] : new files
8659         * lib/makefile.msc lib/Makefile.am : add new files
8660         * lib/libdia.def : updated externals
8662         * plug-ins/svg/svg-import.c : use dia_svg_parse_style()
8664         * plug-ins/svg/svg.c : enable svg import for win32 (and
8665         probably for other non ELF builds)
8667         * plug-ins/makefile.msc : enable svg import
8669 2002-10-11  Hans Breuer  <hans@breuer.org>
8671         * plug-ins/metapost/render_metapost.[hc] : ported
8673         * plug-ins/pstricks/render_pstricks.[hc] : dito
8675 2002-10-11  Hans Breuer  <hans@breuer.org>
8677         * plug-ins/cgm/cgm.c : ported, appears to work as before,
8678         but graphic apps available to me can't import the generated 
8679         files (the could not with Dia-0.90 cgm as well) ...
8681         * plug-ins/dxf/dxf-export.c : Ported to new renderer api.
8682         Removed all those function which did emulate 'complex' 
8683         drawing ops with basic ones (e.g. rect by line) cause this
8684         stuff is already provided by the base class
8685         * plug-ins/dxf/dxf-import.c : removed render.h include
8687         * plug-ins/python/pydia-font.[hc]
8688           plug-ins/python/pydia-text.c : finally ported to new font api
8690         * plug-ins/python/pydia-layer.c : add extra parameter
8691         to layer_find_closest_connectionpoint()
8693         * plug-ins/python/pydia-render.c : ported to DiaRenderer api
8695         * plug-ins/python/python.c : added missing copyright notice
8697         * plug-ins/hpg/hpgl.c plug-ins/wpg/wpg.c plug-ins/wmf/wmf.cpp : 
8698         actually use the renderers set_font implementation
8700         * plug-ins/renderer.inc : unused now, removed
8701         * plug-ins/Makefile.am : reflect it
8703 2002-10-08  Hans Breuer  <hans@breuer.org>
8705         * app/render_gdk.c : don't add the InteractiveRenderer
8706         interface multiple times (it's added to the type, not
8707         the object)
8708         * app/render_libart.c : dito. It's currently added
8709         unconditional cause eport_png uses it, but claims
8710         to be non-interactive. Probably set_size should be moved
8711         to the DiaRenderer interface.
8713         * lib/dialibartrenderer.c : add implementations for
8714         get_<width|height>_pixels. Libart rendering works again.
8715         DiaLibartRenderer::draw_image : use dia_image_rowstride()
8716         instead of width*3
8718         * lib/diatransform.c(dia_transform_coords_double) :
8719         don't ROUND() the returned values
8721         * plug-ins/pixbuf/pixbuf.c : added import function. It
8722         simply creates a wrapping "Standard - Image" object.
8724         * plug-ins/shape/shape-export.c : use the more direct
8725         method to call base class methods
8727 2002-10-07  Lars Clausen  <lrclause@cs.uiuc.edu>
8729         * lib/font.c (dia_font_init): Changed dia_font_init to return old
8730         pango context, to allow stacked contexts (for printing while
8731         antialiased).
8732         
8733         * lib/arrows.h
8734         * lib/bezier_conn.h
8735         * lib/beziershape.h
8736         * lib/boundingbox.h
8737         * lib/color.h
8738         * lib/connection.h
8739         * lib/connectionpoint.h
8740         * lib/create.h
8741         * lib/dia_image.h
8742         * lib/diagdkrenderer.h
8743         * lib/diagramdata.h
8744         * lib/dialibartrenderer.h
8745         * lib/diamenu.h
8746         * lib/diarenderer.h
8747         * lib/diasvgrenderer.h
8748         * lib/diatransform.h
8749         * lib/element.h
8750         * lib/filter.h
8751         * lib/focus.h
8752         * lib/font.h
8753         * lib/geometry.h
8754         * lib/handle.h
8755         * lib/neworth_conn.h
8756         * lib/objchange.h
8757         * lib/object.h
8758         * lib/orth_conn.h
8759         * lib/paper.h
8760         * lib/plug-ins.h
8761         * lib/poly_conn.h
8762         * lib/polyshape.h
8763         * lib/properties.h
8764         * lib/ps-utf8.h
8765         * lib/sheet.h
8766         * lib/text.h
8767         * lib/textattr.h
8768         * lib/widgets.h
8769         * lib/diatypes.h
8770         Moved all externally visible struct typedefs into diatypes.h, as
8771         per Hans' suggestions.
8773 2002-10-07  Steffen Macke <sdteffen@web.de>
8775         * lib/Makefile.am: removed a '\' causing problems
8777 2002-10-07  Hans Breuer  <hans@breuer.org>
8779         [Libart Renderer resurrected; almost it's compiling but
8780          almost instantly crashing :-]
8782         * lib/dialibartrenderer.[hc] : new files, ported to DiaRenderer
8783         * app/render_libart.[hc] : ported to DiaInteractiveRenderer
8784         * lib/diatransform.[hc] : added dia_transform_coords_double()
8786         * app/display.c : the right parameters for new_renderer_libart()
8787         * app/export_png.c : ported, removed the blind Display hack
8789         * app/makefile.msc lib/makefile.msc 
8790           lib/Makefile.am : updated
8792         * lib/dia<|gdk|interactive>renderer.c : properly copyrighted
8794 2002-10-06  Hans Breuer  <hans@breuer.org>
8796         * plug-ins/pixbuf/pixbuf.c : (new file)
8797         there is a new export plug-in called 'Pixbuf' which uses 
8798         DiaGdkRenderer to export to gdk-pixbuf supported bitmap
8799         formats (currently only PNG and JPEG).
8801 2002-10-06  Hans Breuer  <hans@breuer.org>
8803         See also: 
8804         http://mail.gnome.org/archives/dia-list/2002-October/msg00027.html
8806         * lib/dia-enums.h lib/diatransform.[hc]
8807           lib/diarenderer.[hc] lib/diainteractiverenderer.c
8808           lib/diagdkrenderer.[hc] lib/diasvgrenderer.[hc]
8809         : new files 
8811         * lib/makefile.msc lib/makefile.am : added new files
8813         * lib/plug-ins.c : g_module_error() returns a locale
8814         string, convert to utf8 before further usage 
8816         * lib/render.h : #error out. Everything including this
8817         needs porting
8818         * lib/*.[hc] : ported to new renderer api
8820         * app/diaepsrenderer.h : unfinished DiaEpsRenderer interface
8821         just to make the rest compile
8822         * app/render_eps.c : temporary disabled all of this
8823         * app/render_eps.h : removed RendererEPS
8825         * app/render_gdk.[hc] : a small wrapper around the new
8826         DiaGdkRenderer form lib/*
8828         * app/render_libart.h : removed RenderLibart definition
8829         * app/render_libart.c : not yet ported to new DiaRenderer
8830         but having an implementation to untie form FT2 dependency
8831         at least on win32. It is using new Pango api form bug #94791
8833         * app/render_pixmap.[hc] : a small wrapper around the new
8834         DiaGdkRenderer form lib/*
8836         * app/display.h : removed render_*.h includes
8837         * app/display.c : the only place where specific 
8838         renderers need to be known
8840         * app/connectionpoint_ops.c app/grid.c app/handle_ops.c
8841         use new DiaInteractiveRenderer interface
8843         * app/*.c : ported to new renderer api
8844         * object/*/*.c : ported to new renderer api
8845         s/render.h/diarenderer.h/
8846         s/Renderer/DiaRenderer/
8847         s/renderer->ops/renderer_ops/
8848         add in every draw method:
8849         DiaRendererClass *renderer_ops = DIA_RENDERER_GET_CLASS (renderer);
8851         * plug-ins/hpgl/hpgl.c : 
8852           plug-ins/wmf/wmf.cpp 
8853           plug-ins/wpg/wpg.c : ported to be DiaRenderer based
8854         * plug-ins/shape/shape-export.c
8855           plug-ins/svg/render_svg.c : ported to be DiaSvgRenderer based
8856           (nice how small these files became :-)
8858 2002-09-28  Hans Breuer  <hans@breuer.org>
8860         * */makefile.msc : updated
8862         * app/defaults.c : don't gdk_invalidate_rect(NULL)
8863         * app/disp_callbacks.c : 
8864         can't cast GtkWindow to GdkWindow, use shell->window
8865         (ddisplay_unrealize) don't use already unrefed im_context
8866         * app/display.c :
8867         can't cast from GtkMenu to GtkMenuItem
8868         (ddisp_destroy) : mark im_context as unrefed
8870         * lib/dia_xml (data_font) : prefer new font format over old one
8871         (data_add_font) : write the legacy name to allow file exchange
8872         with pre Pango versions of Dia, which would otherwise crash 
8873         on missing font 'name' attribute.
8874         * lib/font.c (dia_font_get_legacy_name) : improved implementation
8875         to get a better match.
8877         * lib/libdia.def : updated
8879         * lib/messages.c : don't gdk_widget_show(NULL)
8881         * lib/prop_text.c : don't gtk_entry_set_text() with NULL string 
8883         [make Dia compile, link _and_ work with mingw/gcc3.2]
8885         * config.h.win32 : #define LIBXML, this gets defined from libxml
8886         header but only for _MSC_VER. The mingw build did access an 
8887         unitialized function pointer for xmlFree.
8889         * */makefile.mingw : updated (some plug-ins have build issues)
8890         
8891         * lib/handle.h lib/object.h :   there appears to be no 
8892         forward declaration of the form 
8893                 typedef enum _HandleId HandleId 
8894         (at least not with GCC 3.2 for C++) ../lib/handle.h:22: 
8895         use of enum `_HandleId' without previous declaration
8897         * app/paginate_gdiprint.cpp : added a hack to avoid g++
8898         naming conflict on 'export'
8900         * app/paginate_gdiprint.h : forward declare Diagram
8902         * objects/SADT/annotaion.c : use g_random_double()
8904 2002-09-26  Lars Clausen  <lrclause@cs.uiuc.edu>
8906         * app/modify_tool.c: Made motion not happen until sufficiently
8907         large or past double-click interval, to avoid accidental moving
8908         when doubleclicking.  Got the double-click time right, and fixed
8909         some issues with release.  There are some corner cases that may
8910         exhibit strange behaviour, will look at those later.  Nah, let's
8911         not care about those, they are rare and not dangerous.
8913 2002-09-26  Cyrille Chépélov  <cyrille@chepelov.org>
8915         * app/layer_dialog.c: 
8916         * app/load_save.c: 
8917         * plug-ins/dxf/dxf-import.c: 
8918         * plug-ins/python/pydia-diagram.c: 
8919         * lib/diagramdata.c:
8920         * lib/diagramdata.h:
8921         Improved the consistency of the obj->parent_layer backlinks (esp.
8922         during reloads)
8924         * lib/Makefile.am:
8925         * lib/dummy_dep.h:
8926         * lib/dynamic_obj.[ch] (NEW):
8927         * app/Makefile.am:
8928         * app/app_procs.c: 
8929         * app/dynamic_refresh.[ch] (NEW):
8930         * objects/Misc/analog_clock.c: 
8931         Added support for dynamic refresh (animated objects).
8932                 
8933 2002-09-25  Cyrille Chépélov  <cyrille@chepelov.org>
8935         Patch from Owen Taylor <otaylor@redhat.com>:    
8936         * doc/en/Makefile.am:
8937         * doc/en/dia-manual.sgml:
8938         * doc/en/usage-objects.sgml:
8939         * doc/en/usage-quickstart.sgml:
8940         * doc/pl/Makefile.am:
8941         * doc/pl/dia-manual.sgml:
8942         * doc/pl/usage-objects.sgml:
8943         * doc/pl/usage-quickstart.sgml:
8945         - Change the DTD declration from an outdated GNOME one to a
8946         standard DTD.
8947         
8948         - Remove close tags for <graphics> which aren't allowed for
8949         docbook SGML
8950         
8951         - A hacky fix for a problem where some versions of db2html don't
8952         create *.css files. (If *.css doesn't match anything, then you get
8953         the global explicitely.)
8955         (Closes: #92061)
8956         
8957 2002-09-24  Cyrille Chépélov  <cyrille@chepelov.org>
8959         * objects/custom/custom_object.c: 
8960         * objects/custom/shape_info.[ch]: GE_TEXT display lists elements 
8961         were never properly prepared for use when reloading a shape with
8962         <svg:text> elements. Thanks to Scott Frazer <frazer@nc.rr.com> for
8963         reporting the problem and coming up with a fix! (Closes: #93974)
8965         * app/menus.c: patch from Alan Horkan <horkana@tcd.ie>: review
8966         the menu shortcuts towards better GNOME HIG compliance (Closes: #87157)
8968         * app/menus.c:
8969         * app/display.c: updated menu item paths Alan's patch had moved.
8970         
8971         * app/interface.c: Fixed a crash when gdk-pixbuf doesn't want to
8972         load the sheet-provided icon (libpng versions mismatch, grrr.).
8973         
8974         * configure.in:
8975         * objects/Makefile.am:
8976         * objects/Misc/Makefile.am (NEW):
8977         * objects/Misc/libmisc.c (NEW):
8978         * objects/Misc/analog_clock.c (NEW):
8979         * objects/Misc/pixmaps/analog_clock.xpm (NEW):
8980         * sheets/Misc.sheet.in: just a little experiment...
8982 2002-09-23  Cyrille Chepelov  <cyrille@chepelov.org>
8984         * plug-ins/xlst/Makefile.am: found a way to silence automake while
8985         not forcing everyone to build using libxslt.
8987         * lib/font.c: 
8988         * lib/message.c:
8989         * lib/object_defaults.c:
8990         * lib/intl.[ch]:
8991         * lib/render.c:
8992         * lib/properties.[ch]:
8993         * lib/propobject.c:
8994         * objects/standard/box.c: 
8995         * objects/UML/state_term.c:
8996         * objects/FS/box.c:
8997         * objects/FS/flow-ortho.c:
8998         * app/app_procs.c:
8999         * app/autosave.c:       
9000         * app/commands.c:
9001         * app/diagram_tree.c:
9002         * app/display.c:
9003         * app/disp_callbacks.c:
9004         * app/export_png.c:
9005         * app/filedlg.c:
9006         * app/lineprops_area.c:
9007         * app/menus.c:  
9008         * app/preferences.c:
9009         * app/render_eps.c:     
9010         * app/sheets.c:
9011         * app/sheets_dialog_callbacks.c:
9012         * plug-ins/xslt/xslt.c:
9013         * plug-ins/metapost/render_metapost.c:
9014         * plug-ins/xfig/xfig-export.c:
9015         * plug-ins/shape/shape-export.c:
9016         
9017         Killed most gcc-3.2 warnings (const-correctness and derived warnings, 
9018         unused variables, mostly)
9020         * app/display.c:
9021         * app/menus.c: enabled GTK Input Methods (thanks Lars!)
9023         * app/Makefile.am: modified run_dia.sh so that we recover the
9024         ability to run a debugger despite libtool's hacks.
9026         * plug-ins/dxf/Makefile.am: 
9027         * app/Makefile.am
9028         "make distcheck" fixes.
9029         
9030 2002-09-19  Lars Clausen  <lrclause@cs.uiuc.edu>
9032         * objects/UML/uml.c (uml_get_operation_string): Patch from Mauf
9033         <mfranzoni@madd.it>:  Check for the type being NULL.
9035 2002-09-16  Lars Clausen  <lrclause@cs.uiuc.edu>
9037         * app/render_eps.c (set_font): Re-tweaked font size for printing.
9039 2002-09-12  Cyrille Chepelov  <cyrille@chepelov.org>
9041         Patch from Angus Ainslie <angusa@deltatee.com>:
9042         * plug-ins/dxf/dxf-import.c:
9043         * plug-ins/dxf/autocad_pal.h: Import from visio 2002 improvements.
9045         (plus a couple extra fixes by me, such as the removal of printf's,
9046         adapting for recent changes, and killed a couple warnings) 
9048         * app/authors.h: a 60K patch isn't insignificant, is it?
9049         
9050 2002-09-09  Tor Lillqvist  <tml@iki.fi>
9052         * configure.in: Check for both pangoft2 (using PKG_CHECK_MODULES,
9053         as before) and -lfreetype (using AC_CHECK_LIB). At least on
9054         Solaris with Sun's compiler (Forte C), you need to link also the
9055         dia application with -lfreetype, even if it is implicitly linked
9056         to by -lpangoft2. Rename FREETYPE_CFLAGS and _LIBS to PANGOFT2_*,
9057         which is what they actually mean. Use FREETYPE_LIBS for
9058         -lfreetype.
9060         Don't look for libsunmath if isinf() is not found in math.h (as on
9061         Solaris). The sunmath library is part of Forte C and not present
9062         on all machines. Besides, even if isinf was found in libsunmath,
9063         we didn't use it in the Makefile.am.
9064         
9065         Fix a couple of bashisms.
9067         AC_SUBST also Z_LIBS, need to link the dia application to -lz,
9068         too, on Solaris with Forte C.
9070         Don't try to use the gcc flags with other compilers.
9071         DIA_CHECK_CFLAG gives a false indication that Forte C understands
9072         the gcc -f switches, but in fact they get interpreted meaning
9073         something completely different.
9075         Define the automake conditional HAVE_CGC.
9076         
9077         * app/Makefile.am (dia_LDADD): Add Z_LIBS and FREETYPE_LIBS.
9079         Use -export-dynamic only with gcc.
9081         * */Makefile.am
9082         * */*/Makefile.am: Modify according to the FREETYPE_CFLAGS -> 
9083         PANGOFT2_CFLAGS rename.
9085         * lib/geometry.h: Drop HAVE_SUNMATH_H and <sunmath.h> per above.
9086         
9087         * lib/dia_xml.c: Include geometry.h for the isinf() stuff on
9088         Solaris.
9090         * lib/paper.c: Workaround for gccism: Can't use inline this way with
9091         Forte C, either.
9093 2002-09-08  Cyrille Chepelov  <cyrille@chepelov.org>
9095         * lib/text.c(set_string): fixed a memory leak (char* ain't no
9096         std::auto_ptr<char> !).
9098         * app/display.[ch]:
9099         * app/interface.[ch]:
9100         * app/ddisp_callbacks.[ch]: Added some basic support for input 
9101         methods (GtkIMContext-based)
9103         * lib/Makefile.am:
9104         * app/Makefile.am: made libdia a shared object (per Tor
9105         Lillqvist's suggestion/request), to cope for platforms with a less
9106         than par dynamic library loader.
9108         * app/display.c: disabled the input method menu (I really don't
9109         see where and how to put them. Blame Frozen Bubble )
9110         
9111 2002-09-06  Lars Clausen  <lrclause@cs.uiuc.edu>
9113         * objects/flowchart/box.c (box_update_data): Made resizing
9114         possible again (only set width & height when resized too small).
9116         Patch from Soeren Sandmann <sandmann@daimi.au.dk>:
9118         * app/disp_callbacks.c (ddisplay_canvas_events): Handle
9119         GdkScrollEvents.
9120         
9121 2002-09-05  Cyrille Chepelov  <cyrille@chepelov.org>
9123         * app/authors.h: now showing Akira TAGOH's name in the native script.
9125 2002-09-01  Lars Clausen  <lrclause@cs.uiuc.edu>
9127         * plug-ins/xslt/xslt.c: Removed glib warning for unset
9128         DIA_PLUGIN_PATH.
9130 2002-09-01  Cyrille Chepelov  <cyrille@chepelov.org>
9132         * plug-ins/svg/render_svg.c: Applied (reversed...) patch from
9133         Mike Sowka <msowka@rogers.com>. This fixes a problem with the
9134         sweep flag in arcs.
9136 2002-08-31  Lars Clausen  <lrclause@cs.uiuc.edu>
9138         * objects/UML/class.c: Fixed showing of empty stereotypes and got
9139         the string placed correctly.
9141 2002-08-30  Hans Breuer  <hans@breuer.org>
9143         * lib/font.c (dia_font_get_style) : don't shift already
9144         shifted DIA_FONT values.
9146         * lib/libdia.def : updated externals
9148         * app/disp_callbacks.c : on win32 GdkEventKey::string already
9149         is in UTF-8. (Longterm this probably should be handled on the
9150         gtk api level)
9152         * app/command.[hc] app/display.[hc] app/menus.c : add code to 
9153         switch display renderers again. The libart renderer is very 
9154         useful for win9x with it's limited GDI.
9156         * app/render_gdk.c : use g_warning instead of printf which gets
9157         nowhere on win32 (non console apps)
9159         * app/render_libart.c : make it compile without FREETYPE
9161         * objects/makefile.msc plug-ins/makefile.msc : added clean target
9163 2002-08-29  Lars Clausen  <lrclause@cs.uiuc.edu>
9165         * app/render_eps.c (postscript_draw_contour): Debugging statement
9166         that allowed me to figure out font problems.
9168         * lib/widgets.c (dia_font_selector_set_styles): Use radio menu
9169         items for font styles.
9171         * objects/FS/flow-poly.c: 
9172         * objects/FS/flow-ortho.c: 
9173         * objects/FS/flow.c: Further conversion away from GTK dialogs.
9174         Can't set a default label right now:(
9176         * app/interface.c (fill_sheet_wbox): Added initialization for mask.
9178 2002-08-27  Cyrille Chepelov  <cyrille@chepelov.org>
9179         Patch from Andrew Ferrier  <andrew@new-destiny.co.uk>:
9181         * Makefile.am: rules relating to AUTHORS and THANKS
9182         altered.
9183         * AUTHORS: file content changed to more accurately
9184         reflect guideline requirements.
9185         * TODO: warning added about Gnome BTS.
9186         * KNOWN_BUGS: warning added about Gnome BTS.
9188         ---
9190         * AUTHORS: added full copyright info.
9191         * mkauthors-placeholder: (removed) 
9192         
9193 2002-08-27  Lars Clausen  <lrclause@cs.uiuc.edu>
9195         * app/paginate_psprint.c (print_page): Fixed text printing after
9196         tip from Dov Grobgeld.
9198 2002-08-26  Lars Clausen  <lrclause@cs.uiuc.edu>
9200         * app/paginate_psprint.c (print_page): Fixed color of clip
9201         region.
9203 2002-08-26  Cyrille Chepelov  <cyrille@chepelov.org>
9205         * sheets/Makefile.am: enabled intltool-merge translation cache for
9206         sheets.
9208         * Makefile.am:
9209         * mkauthors-placeholder:
9210         * AUTHORS: revived that file (in a placeholder form) so that
9211         automake stops yelling.
9212         (derived from a patch by Andrew Ferrier <andrew@new-destiny.co.uk>) 
9213         (Closes: #91144)
9215         Heh, by the way, thanks Christophe. I feel better now.
9216         
9217 2002-08-25  Christophe Merlet  <christophe@merlet.net>
9219         * app/command.c: Removed invalid multibyte sequence in Chepelov.
9221 2002-08-24  Lars Clausen  <lrclause@cs.uiuc.edu>
9223         * lib/dia_image.c (dia_image_rgb_data): 
9224         Bugfixes in image data retrieval.
9225         
9226         * app/render_eps.c: Refactoring of new_*_renderer.
9228 2002-08-23  Lars Clausen  <lrclause@cs.uiuc.edu>
9230         * app/render_eps.c: 
9231         * lib/dia_image.h: 
9232         * lib/dia_image.c: Support for rowstride != width (odd width images)
9234 2002-08-20  Lars Clausen  <lrclause@cs.uiuc.edu>
9236         * lib/paper.c (get_paper_info): Fixed NULL prefs problem.
9237         * plug-ins/xfig/xfig-import.c: Removed assertion.
9239 2002-08-18  Lars Clausen  <lrclause@cs.uiuc.edu>
9241         * lib/paper.c: Removed app/preferences.h reference.
9243 2002-08-14  Lars Clausen  <lrclause@cs.uiuc.edu>
9245         * plug-ins/svg/svg-import.c: 
9246         * plug-ins/xfig/xfig-import.c: 
9247         * lib/Makefile.am (libdia_a_SOURCES): 
9248         * objects/standard/Makefile.am (libstandard_objects_la_SOURCES): 
9249         * lib/create.h:
9250         * objects/standard/create.h:
9251         * objects/standard/polygon.c (polygon_create): 
9252         * objects/standard/polyline.c (polyline_create): 
9253         * objects/standard/beziergon.c (beziergon_create): 
9254         * objects/standard/bezier.c (bezierline_create): 
9255         Moving create.h into lib.
9257 2002-08-13  Lars Clausen  <lrclause@cs.uiuc.edu>
9259         * app/render_libart.[ch]: Work on PNG font export.  Something's
9260         still fishy with the scaling, I don't get it.
9262         * app/display.c: 
9263         * app/interface.c: Replaced broken zoom combo with entry+menu.
9264         Now works beautifully.  Removed WITHOUT_ZOOM_COMBO stuff.
9266         * app/render_gdk.c (get_text_width): Checks for validity of text.
9267         Temporary help while debugging input -- should only activate on
9268         invalid input.
9270         * objects/SADT/annotation.c: 
9271         * objects/GRAFCET/transition.c: 
9272         * objects/FS/function.c: Removal of gtk.h include.
9274         * objects/UML/state.c (state_load): Warnings about using State
9275         object for initial/final states.
9277         * plug-ins/cgm/cgm.c (init_fonts): Proper Pango interfacing.
9279 2002-08-12  Lars Clausen  <lrclause@cs.uiuc.edu>
9281         * app/render_eps.c: Text rendering that scales correctly.  Too bad
9282         the standard fonts don't get selected right.
9284 2002-08-09  Lars Clausen  <lrclause@cs.uiuc.edu>
9286         * lib/diagramdata.h: 
9287         * lib/paper.c (get_paper_info): 
9288         * lib/paper.h: 
9289         * plug-ins/xfig/xfig-import.c: 
9290         Committed before testing.  I am so embarrased.  This compiles, now
9291         that the includes are in the right order.
9292         
9293         * app/diagram.c (diagram_init): 
9294         * app/app_procs.c (do_convert): 
9295         * app/preferences.h: 
9296         * lib/diagramdata.h: 
9297         * lib/diagramdata.c (new_diagram_data): 
9298         * lib/paper.h: 
9299         * lib/paper.c (get_paper_info): 
9300         Moved new_diagram part of prefs into lib/diagramdata.h.  More
9301         could be done in new_diagram_data() now.
9303 2002-08-08  Lars Clausen  <lrclause@cs.uiuc.edu>
9305         * app/render_eps.c: Better scaling of fonts at non-normal zoom.
9307 2002-08-07  Cyrille Chepelov <cyrille@chepelov.org>
9309         * configure.in: removed silly user-visible comment
9311         (actually, this is a dummy entry before I manually run nemo; for
9312         some dist-upgrade related reason, this morning's run aborted before
9313         the snapshots were created)
9314         
9315 2002-08-06  Lars Clausen  <lrclause@cs.uiuc.edu>
9317         * objects/network/wanlink.c: 
9318         * objects/network/bus.c: 
9319         stdprop compliance!
9321         * objects/custom/custom_object.c: 
9322         * objects/network/wanlink.c: 
9323         * objects/flowchart/parallelogram.c: 
9324         * objects/flowchart/ellipse.c: 
9325         * objects/flowchart/diamond.c: 
9326         * objects/flowchart/box.c: 
9327         Removed GTK defaults stuff.
9328         
9329         * objects/UML/fork.c: 
9330         * objects/UML/object.c: 
9331         * objects/UML/lifeline.c: 
9332         * objects/UML/branch.c: 
9333         * objects/GRAFCET/transition.c: 
9334         * objects/FS/function.c: Removed GTK include.
9336         * objects/FS/flow-ortho.c: 
9337         * objects/FS/flow.c: Made the label behave again.
9338         Also removed GTK defaults stuff.
9340 2002-08-06  Hans Breuer  <hans@breuer.org>
9342         * app/autosave.c : ported to GDir which is the improved
9343         cross platform replacement for <dirent.h>
9345         * app/makefile.msc : build autosave.obj
9347         * app/font.c : some (bad?) code calls 
9348         dia_font_scaled_decent() not only with empty string but 
9349         with NULL. Handle it gracefully.
9351         * lib/paper.c : don't depend on ../app. Although IMO
9352         this shouldn't be allowed on any platform it is only
9353         disabled for win32, where it simply doesn't work
9354         this way
9356         * lib/widget.c (strcase_equal) : pass char* to g_strcasecmp()
9358         * objects/fs/flow.c : conditionalize debug spew, disabled
9359         and 'ported' to use g_print. Simple printf won't work with
9360         standard win32 gui apps, may even crash them.
9362         * plug-ins/makefile.msc : DISABLED svg-import cause it
9363         depends on ../objects/custom. This not only break the
9364         build for all non ELF systems but IMO also isn't acceptable
9365         from a design point of view. See dia-list mail on subject.
9367         * plug-ins/python/makefile.msc :
9368           plug-ins/python/python.c : remove all references to dirent    
9370 2002-08-05  Cyrille Chepelov  <cyrille@chepelov.org>
9372         * configure.in: added ro to ALL_LINGUAS
9374         * po-checktrans:
9375         * po-checktrans.py:
9376         * ../translation-graphs/transgraph.py: added support for fuzzy
9377         translations. Enlarged the graphs.
9379 2002-08-05  Lars Clausen  <lrclause@cs.uiuc.edu>
9381         * app/disp_callbacks.c (ddisplay_canvas_events): Now translates
9382         key events according to locale.  No clue if this works for
9383         advanced stuff.
9385 2002-08-04  Lars Clausen  <lrclause@cs.uiuc.edu>
9387         * lib/text.c: Various UTF8 related fixes, in particular in
9388         deleting.  Text_insert_char is fine, far as I can tell.
9390         * app/interface.c (create_display_shell): 
9391         * app/commands.c: Now uses gtk_clipboard functions, for they are
9392         much simpler.  Also handles Win32 clipboard.  Non-ascii chars
9393         don't seem to get handled correctly by text_insert_char in
9394         lib/text.c.
9395         
9396         * app/commands.c (received_selection_handler): Got utf8 handling
9397         on paste, and individual char handling out of commands.c.  Pasting
9398         non-ASCII is still broken, somehow.  It's all lib/text.c's fault.
9400         * lib/message.c (gtk_message_internal): Message dialog re-shown
9401         when new message appears.  Maybe it should even move to top?
9403         * lib/font.c: 
9404         * lib/widgets.c: 
9405         * app/render_eps.c (create_eps_renderer): Fonts now lowercase
9406         (again) and case-insensitive.
9408         * objects/GRAFCET/condition.c (CONDITION_FONT): Changed to
9409         BASIC_SANS_FONT. 
9411 2002-08-02  Lars Clausen  <lrclause@cs.uiuc.edu>
9413         * app/commands.c (edit_cut_text_callback): 
9414         * lib/text.c (text_delete_all): Now functioning undo for text cut.
9415         
9416         * app/commands.c (edit_cut_text_callback): Now removes text.
9417         Undo is broken, though.
9419 2002-08-01  Lars Clausen  <lrclause@cs.uiuc.edu>
9421         * app/diagram.c (diagram_update_menu_sensitivity): 
9422         Making cut_text active.
9423         
9424         * app/commands.h: 
9425         * app/commands.c: Using PROP_TYPE_TEXT to find text to copy to
9426         clipboard.  Also removed AA callback.   
9428 2002-08-01  Lars Clausen  <lrclause@cs.uiuc.edu>
9430         * objects/chronogram/chronoref.c: 
9431         * objects/chronogram/chronoline.c: 
9432         * objects/SADT/annotation.c: 
9433         * objects/SADT/arrow.c: 
9434         * objects/SADT/box.c: 
9435         * objects/GRAFCET/vergent.c: 
9436         * objects/GRAFCET/vector.c: 
9437         * objects/GRAFCET/step.c: 
9438         * objects/GRAFCET/condition.c: 
9439         * objects/GRAFCET/action.c: 
9440         * objects/ER/participation.c: 
9441         * objects/ER/relationship.c: 
9442         * objects/ER/entity.c: 
9443         * objects/ER/attribute.c: 
9444         Removing unnecessary GTK references.
9446 2002-07-31  Lars Clausen  <lrclause@cs.uiuc.edu>
9448         * objects/standard/image.c: 
9449         * objects/standard/textobj.c: 
9450         * objects/standard/ellipse.c: 
9451         * objects/standard/polygon.c: 
9452         * objects/standard/beziergon.c:
9453         * objects/standard/box.c: 
9454         Making default default properties.
9455         
9456         * objects/standard/image.c: 
9457         * objects/standard/arc.c: 
9458         * objects/standard/box.c: 
9459         * objects/standard/zigzagline.c: 
9460         * objects/standard/polyline.c: 
9461         * objects/standard/line.c: 
9462         * objects/standard/ellipse.c: 
9463         * objects/standard/polygon.c: 
9464         * objects/standard/beziergon.c: Removing vestigal GTK stuff.
9466         * lib/object_defaults.c (dia_object_default_create): 
9467         * lib/proplist.c: 
9468         * lib/properties.h: 
9469         * lib/object.c (object_copy_using_properties): 
9470         * lib/propdialogs.c: 
9471         * lib/propinternals.h: 
9472         * lib/propobject.c (object_create_props_dialog)
9473         (object_copy_props): 
9474         Removing the standard (toolbox) properties from defaults dialogs.
9476 2002-07-30  Lars Clausen  <lrclause@cs.uiuc.edu>
9478         * lib/font.c (dia_font_scaled_string_width) 
9479         (dia_font_scaled_ascent, dia_font_scaled_descent): Account for
9480         zoom factor.
9481         * lib/text.c (text_calc_boundingbox): Take descent into account.
9483         * objects/standard/bezier.c (bezierline_draw): 
9484         * lib/render.c (draw_bezier_with_arrows): 
9485         Better arrow drawing for beziers.  Doesn't change the mouse-click
9486         area either.
9488         * lib/arrows.h: Some const-ness.
9490         * lib/arrows.c (calculate_arrow_point): Initialize zero-length moves.
9492         * lib/render.c (draw_arc_with_arrows): 
9493         * objects/standard/arc.c (arc_draw): Better arrow drawing for
9494         arcs.  Doesn't change the mouse-click area yet.
9496         * app/menus.c: Forgotten fix:  Redraw menu item for non-Gnome.
9498         * lib/render.h: 
9499         * lib/render.c: 
9500         Arc arrow prework.
9502 2002-07-29  Lars Clausen  <lrclause@cs.uiuc.edu>
9504         * app/group.c (group_draw): Forgotten commit: Groups to draw as
9505         objects (using default routines).
9507         * app/object_ops.h: 
9508         * app/diagram.h: 
9509         * lib/diagramdata.h: 
9510         * lib/diagramdata.c (layer_find_closest_connectionpoint): 
9511         * objects/standard/zigzagline.c (zigzagline_move_handle): 
9512         * app/diagram.c (diagram_find_closest_connectionpoint): 
9513         * plug-ins/python/pydia-diagram.c
9514         (PyDiaDiagram_FindClosestConnectionPoint):
9515         * app/object_ops.c (object_connect_display) 
9516         (object_find_connectpoint_display) 
9517         * app/create_object.c (create_object_button_press) 
9518         (create_object_motion): 
9519         * app/modify_tool.c (modify_motion): 
9520         Adding object param to allow connectionpoint and handle coinciding.
9522         * objects/standard/zigzagline.c (zigzagline_check_orientation): 
9523         Fixing minor problems.
9525         * objects/standard/ellipse.c (ellipse_update_data): 
9526         Added direction hints.
9528         * lib/diagramdata.c: 
9529         * lib/object.c: 
9530         * lib/object.h: 
9531         * lib/diagramdata.h: 
9532         * objects/standard/zigzagline.c: 
9533         First working example of zigzagline hints, currently only between
9534         Box and Zigzagline.
9536 2002-07-27  Steffen Macke <sdteffen@web.de>
9538         * plug-ins/svg/render_svg.c: added support for rounded
9539         rectangles (fixes #69053 if compile with
9540         -DNEW_RENDER_OPS)
9541         * object/custom/shape_info.[c|h]: made parse_style and
9542         parse_path accessible for svg plug-in
9543         * plug-ins/svg/Makefile.am:
9544         * plug-ins/svg/svg.c:
9545         * plug-ins/svg/svg-import.c(new): added SVG import filter
9547 2002-07-27  Lars Clausen  <lrclause@cs.uiuc.edu>
9549         * objects/standard/box.c: 
9550         * objects/standard/zigzagline.c (zigzagline_move): 
9551         More work on zigzagline hints.
9553 2002-07-26  Lars Clausen  <lrclause@cs.uiuc.edu>
9554         * lib/connectionpoint.h: 
9555         Hints for zigzaglines.
9557         * app/properties.c (properties_show): 
9558         * app/defaults.c (defaults_show): 
9559         * lib/properties.h: 
9560         * lib/propobject.c (object_create_props_dialog): 
9561         * lib/object.h: 
9562         * objects/FS/flow-poly.c: 
9563         * objects/network/wanlink.c: 
9564         * objects/network/bus.c: 
9565         * objects/UML/class.h: 
9566         * objects/UML/class_dialog.c: 
9567         * objects/UML/association.c: 
9568         Start of removing toolbox props from props dialogs.
9569         
9570         * lib/widgets.c: 
9571         * lib/arrows.h: 
9572         * app/lineprops_area.c (dia_arrow_chooser_new): 
9573         * lib/arrows.c: Two new arrows: Concave, filled and blanked.
9575         * app/create_object.c: 
9576         * app/modify_tool.c: 
9577         * app/cursor.h: 
9578         * app/cursor.c: 
9579         More cursor change.
9581 2002-07-25  Lars Clausen  <lrclause@cs.uiuc.edu>
9583         * app/preferences.c: 
9584         * lib/paper.c: 
9585         * app/diapagelayout.c: 
9586         New prefs selector kind PREF_CHOICE chooses between a list of
9587         strings.  Used for picking default paper.
9588         
9589         * app/preferences.c (prefs_data): 
9590         * lib/paper.c (get_paper_info): Added prefs setting for
9591         is_portrait.
9593         * lib/render.c (draw_polyline_with_arrows): Handles degenerate
9594         line segments at the ends (bug #86603).
9596 2002-07-25  Lars Clausen  <lrclause@cs.uiuc.edu>
9598         * objects/standard/zigzagline.c (zigzagline_copy): Fix for bug
9599         #60324: Now calls update_data after copy.
9601         * app/interface.c (fill_sheet_wbox): Better fix for bug #88601:
9602         Now doesn't steal selection from non-object tools.
9604 2002-07-24  Lars Clausen  <lrclause@cs.uiuc.edu>
9606         * app/commands.c (help_manual_callback): Uses BROWSER environment
9607         variable when available.
9609 2002-07-23  Lars Clausen  <lrclause@cs.uiuc.edu>
9611         * app/interface.c (fill_sheet_wbox): Fix for bug #88601: Select an
9612         object from the new sheet when changing.
9614         * app/app_procs.c (app_init): Uses more standard size icon, from
9615         patch #56433.  Keeping old icon as dia_gnome_icon_large.png.
9617 2002-07-22  Lars Clausen  <lrclause@cs.uiuc.edu>
9619         * objects/UML/implements.c (implements_update_data): 
9620         * objects/UML/realizes.c (realizes_update_data): 
9621         * objects/UML/dependency.c (dependency_update_data): 
9622         Test for null strings before calling on ascent.
9624         * objects/UML/realizes.c (realizes_draw): 
9625         * objects/UML/message.c (message_draw): 
9626         * objects/UML/generalization.c (generalization_draw): 
9627         * objects/UML/dependency.c (dependency_draw) 
9628         * objects/UML/constraint.c (constraint_draw): 
9629         * objects/GRAFCET/condition.c (condition_draw): 
9630         * objects/UML/association.c (association_draw): 
9631         * objects/FS/flow-ortho.c (orthflow_draw): 
9632         * objects/FS/flow.c (flow_draw): Change to use
9633         draw_foo_with_arrows.  Pretty pretty arrows.  Yay me!
9635         * lib/render.h: 
9636         * lib/arrows.c (calculate_arrow_point): 
9637         * lib/arrows.h: 
9638         * lib/render.c: 
9639         * objects/standard/zigzagline.c:
9640         * objects/standard/polyline.c:
9641         * objects/standard/line.c: Work towards better arrow drawing.
9643 2002-07-21  Lars Clausen  <lrclause@cs.uiuc.edu>
9645         * objects/UML/state.c: Starting phase-out of State object as
9646         initial/final state (which never worked right).
9648         * app/app_procs.c (app_init): --version command line option for
9649         non-Gnome.
9651         * configure.in: Slight improvement in GETTEXT_PACKAGE handling.
9653 2002-07-19  Lars Clausen  <lrclause@cs.uiuc.edu>
9655         * app/render_eps.c: Removed debugging info.
9657         * lib/font.c (dia_font_scaled_ascent, dia_font_scaled_descent):
9658         Kludge to make ascent and descent work for empty strings.  Won't
9659         work when using non-ASCII fonts.  Better would be to get a
9660         PangoFont and ask directly.
9662         * configure.in: Simple define of GETTEXT_PACKAGE, and some updates
9663         of the init stuff.
9665         * app/render_gdk.c (get_text_width): Fixed use of wrong string.
9666         Cursor now better.
9668 2002-07-18  Lars Clausen  <lrclause@cs.uiuc.edu>
9670         * plug-ins/xfig/xfig-export.c: First use of draw_object render
9671         function: All shapes are now groups in XFig export.
9673         * lib/diagramdata.c (normal_render): 
9674         * lib/render.c: 
9675         * lib/render.h: 
9676         * app/display.c (ddisplay_obj_render): 
9677         New render function for drawing objects, allows renderers to group
9678         or otherwise specially handle objects.  We may want to reconsider
9679         calling it in app/display.c, as we 'know' the object draw function
9680         is the default one there.
9682         * lib/Makefile.am: Removed extra \ that broke stuff.
9684         * plug-ins/xfig/xfig-import.c: 
9685         Spline import for xfig.  Not perfect.
9687         * objects/standard/create.h: 
9688         * objects/standard/bezier.c (bezierline_create): 
9689         * lib/bezier_conn.c: 
9690         * lib/beziershape.c (beziershape_set_points): 
9691         * lib/bezier_conn.h: 
9692         * lib/beziershape.h: 
9693         Support for creating beziers non-interactively.
9695 2002-07-17  Lars Clausen  <lrclause@cs.uiuc.edu>
9697         * plug-ins/xfig/xfig-import.c: Support for polygons and
9698         polylines.  Special warning handling system removed.
9700         * lib/message.c (gtk_message_internal): Fixed bug involving
9701         closing message window and then getting repeated message.
9703         * Makefile.am: 
9704         * autogen.sh: 
9705         * configure.in (GETTEXT_PACKAGE): 
9706         Update based on bug #88199.  Hopefully this doesn't break too much
9707         intl stuff.
9709         * dia.desktop.in (_Comment): Changed after suggestion from
9710         calum.benson@ireland.sun.com (bug 88345)
9712         * app/sheets_dialog_callbacks.c: Fix from Dolores Alia de Saravia
9713         <loli@unsa.edu.ar> that makes user/system distinction better.
9715 2002-07-16  Lars Clausen  <lrclause@cs.uiuc.edu>
9717         * app/render_libart.c: Got the context right, removed crashes.
9719         * app/commands.c: 
9720         * app/commands.h: 
9721         Redraw menu item.
9723         * app/display.c: 
9724         * app/display.h: 
9725         * app/interface.c: 
9726         * app/menus.c: 
9727         Remove libart #defines from most places (still around for png export).
9729         * app/render_libart.h: 
9730         * app/render_libart.c: 
9731         * configure.in (HAVE_LIBART): 
9732         Starting on update of libart stuff for png export (without X).
9734         * app/autosave.h (autosave_check_autosave): 
9735         * app/load_save.h: 
9736         * app/diagram.h: 
9737         * app/Makefile.am (dia_core_files): 
9738         * app/load_save.c: 
9739         * app/diagram.c (diagram_set_modified): 
9740         * app/autosave.c: 
9741         * app/app_procs.c (app_init): 
9742         Autosave support.  No automatic restore yet.
9744 2002-07-16  Lars Clausen  <lrclause@cs.uiuc.edu>
9746         * app/render_eps.c (create_eps_renderer): #ifdef'd a scale
9747         assignment. 
9748         
9749 2002-07-15  Lars Clausen  <lrclause@cs.uiuc.edu>
9751         * app/interface.c (fill_sheet_menu): Tear-off for sheets menu.
9753 2002-07-15  Andrew Ferrier  <andrew@new-destiny.co.uk>
9755         * Fix for 'make dist' etc. --- problem caused by
9756         previous AUTHORS patch.
9758 2002-07-14  Lars Clausen  <lrclause@cs.uiuc.edu>
9760         * plug-ins/cgm/cgm.c (init_fonts): Changed pango_font_map to
9761         pango_context. 
9762         (set_font): NULL check.
9763         
9764 2002-07-12  Lars Clausen  <lrclause@cs.uiuc.edu>
9766         * app/disp_callbacks.c: 
9767         * lib/diamenu.h: 
9768         Addition to the object menus allows check menu items.
9770 2002-07-11  Andrew Ferrier  <andrew@new-destiny.co.uk>
9772         * HACKING: completely changed to bring up-to-date.
9773         * AUTHORS: file needs REMOVING from CVS as now
9774           dynamically generated.
9775         * app/authors.h: split into subcategories for original
9776           authors, maintainers, etc.
9777         * app/app_procs.c: --credits rewritten to support new
9778           app/authors.h
9779         * app/commands.c: no changes to about box code, comment
9780           added though.
9781         * Makefile.am: added rule for AUTHORS. I'm still
9782           inexperienced with automake, it seems to work, but
9783           for AUTHORS-related bugs, look at this change first.
9785 2002-07-10  Lars Clausen  <lrclause@cs.uiuc.edu>
9787         * plug-ins/Makefile.am (SUBDIRS): Just realized why my hack didn't
9788         work.  Back to including xslt dir always.
9790         * objects/UML/uml.c: 
9791         * objects/UML/class.h: 
9792         * objects/UML/class_dialog.c: 
9793         * objects/UML/class.c: Patch from
9794         <mattam@netcourrier.com>:  Adds comment visibility switch, also
9795         fixes various bugs.
9797         Big patch from Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
9798         for state/fork/activity stuff.
9799         * objects/UML/state.c: Removed old draw_rounded_rectangle code.
9800         * objects/UML/Makefile.am:
9801         * objects/UML/uml.c:
9802         * sheets/UML.sheet.in: Added new objects activity, fork,
9803           state_term.
9804         * objects/UML/pixmaps/state_term.xpm:
9805         * objects/UML/state_term.c: New, only initial/final states.
9806         * objects/UML/pixmaps/activity.xpm:
9807         * objects/UML/activity.c: New, activity state.
9808         * objects/UML/pixmaps/fork.xpm:
9809         * objects/UML/fork.c: New, fork/join bar.
9810         * objects/UML/pixmaps/state.xpm: state icon.
9812         
9813         * doc/diagram.dtd: 
9814         * doc/shape.dtd: Patch from "Dolores Alia de Saravia"
9815         <loli@unsa.edu.ar> to add dia: to diagram.dtd elements and add
9816         svg:text to shape.
9818 2002-07-07  Lars Clausen  <lrclause@cs.uiuc.edu>
9820         * plug-ins/Makefile.am (SUBDIRS): Made the XSLT dir depend on
9821         detecting XSLT
9823         * app/Makefile.am: Commented out the diaconv parts while it's not
9824         used anyway.  To come back later.
9826         * configure.in (HAVE_FREETYPE): 
9827         * app/app_procs.c: 
9828         * app/render_eps.h: 
9829         * app/render_eps.c: Support for printing with freetype, better
9830         encapsulated now.  Renders the text nicely, but ignores font
9831         setting.  Requires pangoft2 to get the font outline, but non-text
9832         objects can still be rendered without it.
9834         * app/commands.h: 
9835         * app/commands.c (objects_place_up_callback) 
9836         (objects_place_down_callback): 
9837         * app/diagram.h: 
9838         * app/diagram.c (diagram_place_down_selected) 
9839         (diagram_place_up_selected): Starting support for moving objects
9840         one level up/down.
9842         * app/menus.c: Removed character/numeral shortcuts.
9844 2002-07-06  Hans Breuer  <hans@breuer.org>
9846         * makefile.am app/makefile.am lib/makefile.am
9847           objects/makefile.am plug-ins/makefile.am 
9848           plug-ins/python/makefile.am :
9849         added required files for win32 build to EXTRA_DIST
9851         * app/paginate_psprint.c app/render_eps.c 
9852           app/app_procs.c :
9853         wrap (E)PS Renderer into HAVE_FREETYPE, no FreeType
9854         on Pango as currently is on win32 => no PostScript 
9855         anymore.
9857         * lib/widgets.c : undef GTK_DISABLE_DEPRECATED;
9858         use '/* noop */;' for empty case labels; replace
9859         debug spew printf with g_print which is guaranteed 
9860         to work on win32, too.
9862         * lib/font.c (dia_pfd_set_weight) : set 'intermediate' values 
9863         for DIA_FONT_MEDIUM and DIA_FONT_DEMIBOLD as explicit allowed 
9864         in the pango_font_description_set_weight() api documentation
9865         Take care for them in dia_font_get_style() too.
9867         * lib/font.[hc] lib/widget.c objects/custom/shape_info.c
9868           plug-ins/shape/shape-export.c plug-ins/svg/render_svg.c :
9869         rename Obliquity to Slant which appears to be the usual name,
9870         also rename dia_font_get_style_string -> dia_font_get_slant_string
9872         * plug-ins/wmf/wmf.cpp : finally ported to new font api
9874         * lib/prop_attr.c app/render_gdk.c : dont *_unref if NULL
9876         * objects/uml/association.c class.c large_package.c message.c
9877         if g_free() is used g_strdup needs to be used.
9878         * objects/custom/shape_info.c
9879           objects/ER/attribute.c entity.c
9880           objects/standard/image.c 
9881           app/sheets_dialog_callbacks.c : more strdup cleaning
9883 2002-07-05  Lars Clausen  <lrclause@cs.uiuc.edu>
9885         * app/render_eps.c: Non-crashing printing (made the right
9886         context).  Font output still fscked up.
9888 2002-07-05  Andrew Ferrier  <andrew@new-destiny.co.uk>
9890         * app/authors.h: Added file --- now master
9891         location for contributors data.
9892         * app/app_procs.c: Added --credits option.
9893         * app/commands.c: Modified about box to use
9894         app/authors.h.
9896 2002-07-05  Lars Clausen  <lrclause@cs.uiuc.edu>
9898         * app/render_eps.c: First stab at EPS rendering using the contour
9899         code from PAPS.  Crashes.
9901 2002-06-30  Lars Clausen  <lrclause@cs.uiuc.edu>
9903         * app/recent_files.c (recent_file_history_remove): 
9904         Fixed call to g_list_delete_link discarding return value.
9905         
9906         * lib/widgets.c (dia_font_selector_set_styles): 
9907         * lib/font.h (DiaFontWeight): 
9908         * lib/font.c (dia_font_get_style): Revert to DIA_FONT_NORMAL==0
9910 2002-06-30  Cyrille Chepelov  <cyrille@chepelov.org>
9912         Contribution from Alan Horkan <horkana@tcd.ie>: 
9913         
9914         * shapes/Assorted/*
9915         * sheets/Assorted.sheet:
9916         A set of 40 assorted geometric shapes.
9918         * sheets/Assorted.sheet.in:
9919         * sheets/Makefile.am
9920         * shapes/Assorted/Makefile.am:
9921         * shapes/Makefile.am:
9922         * po/POTFILES.in:
9923         * configure.in:
9924         Done the integration job of Alan's shapes. (Translators: have fun!)
9926         * po/dia.pot: refreshed the main potfile.
9927         
9928 2002-06-28  Cyrille Chepelov  <cyrille@chepelov.org>
9930         Patch from Tim Ellis <Tim.Ellis@gamet.com>:
9931         
9932         * objects/UML/class.[ch]:
9933         * objects/UML/class_dialog.c:
9934         changed the number of connection points from a hardcoded value of
9935         8 to a #defined constant
9937         (I changed the constant back from 20 to 8, until we better know
9938         how we'll handle more connection points on the UML class in the
9939         future -- but Tim's patch is a welcome clean-up).
9941 2002-06-26  Cyrille Chepelov  <cyrille@chepelov.org>
9943         * shapes/MSE/demultiplexer.xpm:
9944         * shapes/MSE/node_center.xpm:
9945         * shapes/MSE/multiplexer.xpm:
9946         * shapes/MSE/tacsat.xpm: updated MSE icons (transparency) by Alan
9947         Horkan <horkana@tcd.ie>
9949 2002-06-25  Lars Clausen  <lrclause@cs.uiuc.edu>
9951         * lib/widgets.c: Total rehash of font selector, with font dialog
9952         option, expanding list (not LRU yet), and stuff.
9954 2002-06-25  Cyrille Chépélov  <cyrille@chepelov.org>
9956         * lib/font.h:
9957         * lib/font.c: 
9958         Added a set of new setter/getters, some of them more specially for
9959         the SVG-ish I/O.
9960         
9961         * plug-ins/shape/shape-export.c: (new_shape_renderer),
9962         (destroy_shape_renderer), (set_font), (draw_string):
9963         * plug-ins/svg/render_svg.c: (new_svg_renderer),
9964         (destroy_svg_renderer), (set_font), (draw_string):
9966         Actually exported the font face, style, weight and size (sodipodi
9967         agrees with dia on how a small sample should look like (a sample
9968         0.90 would not even display anyways). Yay !)
9970         Patch from Matthieu Sozeau <mattam@netcourrier.com>:
9972         * plug-ins/xslt/Makefile.am: repaired the mess Cyrille put there.
9974         (end of ChangeLog-less patch)
9976         * objects/custom/shape_info.c (parse_style): now understands the
9977         font-style and font-weight attributes as well. Does not use
9978         anymore dia_font_new_from_legacy_name().
9979         
9980 2002-06-24  Lars Clausen  <lrclause@cs.uiuc.edu>
9982         * objects/standard/textobj.c: Now uses stdprops for defaults.
9984         * lib/font.h: Changed order of DiaFontWeight entries.  Sorry.
9985         * lib/font.c (dia_font_get_style): Style now linear and conversion
9986         simple. 
9988         * lib/widgets.c (dia_font_selector_set_styles): Fixed the style
9989         selector. 
9991 2002-06-24  Cyrille Chepelov  <cyrille@chepelov.org>
9993         * plug-ins/dxf/dxf-import.c:
9994         using dia_font_new_from_style()
9996         Patch from Matthieu Sozeau  <mattam@netcourrier.com>:
9998         * objects/UML/class.[ch]: Added a comment field to class
9999         * objects/UML/uml.[ch]: Added a comment field to attributes,
10000         operations and parameters.
10001         * objects/UML/class_dialog.c: Added code for the new comment
10002         fields.
10003         * plug-ins/xslt/*.xsl: Added some code to handle comments.
10004         * plug-ins/xslt/xslt*.c: Clean up based on Cyrille comments.
10005         Added a $directory parameter for stylesheets so the output is 
10006         in the good place (not in the $PWD).
10008         (end of Patch)
10010         * AUTHORS: added contributors, updated maintainers. Removed the
10011         specific areas of action.
10013         * Patch from Andrew Ferrier <andrew@new-destiny.co.uk>, derived
10014         from a patch by Xing Wang <quixon@gnuchina.org>:
10016         * app/commands.c: help_about_callback now supports
10017         new-style GNOME about box as well as old GTK style. 
10018         code also tidied (Closes: #85726)
10020         (end of Patch)
10022         * app/commands.c: fixed the copyright (it's not all FSF), and
10023         maintainers. Synced contributors list with AUTHORS.
10024                 
10025 2002-06-24  Lars Clausen  <lrclause@cs.uiuc.edu>
10027         * lib/message.c: More work on repeating messages, now with
10028         togglable view.
10030 2002-06-24  Hans Breuer  <hans@breuer.org>
10032         * lib/widget.c : some more bits in place, at least
10033         it does something useful instead of crashing. Much
10034         better - but not all ok :-)
10036 2002-06-23  Lars Clausen  <lrclause@cs.uiuc.edu>
10038         * lib/message.c (gtk_message_internal): First stab at repeating
10039         message dialog.
10041 2002-06-23  Cyrille Chepelov  <cyrille@chepelov.org>
10043         * objects/FS/*.c:
10044         * objects/GRAFCET/*.c:
10045         * objects/SADT/*.c:
10046         * objects/UML/association.c: (one instance forgotten)
10047         * objects/UML/large_package.c: 
10048         * objects/standard/textobj.c:
10049         * lib/attributes.c:
10050         * lib/text.c:
10051         using dia_font_new_from_style()
10053 2002-06-23  Hans Breuer  <hans@breuer.org>
10055         * lib/font.c : giving some love to
10056         dia_font_new_from_legacy_name() that is making
10057         import of old files as painless as possible and
10058         provide an almost exact match where possible.
10059         It does not yet fully work because it interfers
10060         with the Style to DiaStyle conversion which comes
10061         next ...
10063         [Changing these files is only allowed with Dia-0.90]
10064         * broken-files/fonts-0.90.dia : including the
10065         common hard-coded fonts from Dia-0.90. It also
10066         has drawn bounding-boxes for win32 as they were calculated
10067         from the former version (they were all too big).
10068         * broken-files/fonts-0.90-full.dia : all hardcoded
10069         fonts including the asian versions. On my machine
10070         this gives _a lot_ complaining about missing fonts
10071         and a finally a broken file display. Anyone having
10072         all these fonts ?
10073         
10074 2002-06-23  Cyrille Chepelov  <cyrille@chepelov.org>
10076         * objects/chronogram/*.c: 
10077         * objects/custom/custom_object.c:
10078         * objects/ER/*.c:
10079         using dia_font_new_from_style()
10081 2002-06-23  Lars Clausen  <lrclause@cs.uiuc.edu>
10083         * lib/widgets.c (dia_font_selector_set_styles): Improvements to
10084         font selector (stability, insensitivity).
10086         * lib/font.c (dia_font_scaled_build_layout): Removed unworkable
10087         stretching scheme for tweaking, and made scaling scheme faster
10088         (but less precise).
10089         (dia_font_dia_style_to_pango): Oops, % != /.
10091 2002-06-23  Cyrille Chepelov  <cyrille@chepelov.org>
10093         
10094         * patch from Matthieu Sozeau  <mattam@netcourrier.com>:
10096         * plug-ins/xslt : Added an XSLT plugin to export dia files using
10097         XML Stylesheets. The plug-in requires DIA_PLUGIN_PATH to be set.
10098         It includes a small config file to tell it what stylesheets to use.
10100         (end of patch)
10101         
10102         * plug-ins/xslt/xsltdialog.c: modified the dialog to be more 
10103         GTK2.0/HIG compliant (the labels could be slightly more verbose,
10104         perhaps). Added back a couple forgotten _(). Removed //-style
10105         comments.
10106         
10107 2002-06-23  Hans Breuer  <hans@breuer.org>
10109         * lib/plug-ins.c
10110         (dia_plugin_get_name) : don't crash plugin_manager
10111         on name being NULL 
10112         (dia_plugin_load) : reuse the description field to
10113         store the error string if loading fails.
10115         * lib/font.[hc] : starting to beautify the new
10116         font api: proper namespacing, adding convenience
10117         functions like dia_font_new_from_style(), ...
10119         * objects/uml/*.c : use the new convenience functions.
10121         [Next thing I plan to do is changing the other font
10122          functions to take DiaStyle and make Style and 
10123          BASIC_*_FONT vanish. As well as giving some love to
10124          dia_font_new_from_legacy_name().
10125          If anyone want's to help on converting the other
10126          objects to the new api during that, I would highly 
10127          appreciate it.]
10129 2002-06-23  Hans Breuer  <hans@breuer.org>
10131         * lib/font.c : made it compile and small indent fixes.
10132         Is there a code-has-no-effect-so-needs-not-be-valid
10133         with GCC?       
10135         * lib/widgets.c : use g_strcasecmp
10137 2002-06-22  Lars Clausen  <lrclause@cs.uiuc.edu>
10139         * lib/font.c: 
10140         * lib/font.h: 
10141         * lib/widgets.c: Font names sorted, style selector widget
10142         reappeared.  Doesn't select the old style yet.
10144 2002-06-22  Cyrille Chepelov  <cyrille@chepelov.org>
10146         * lib/font.c: one who expects a text's font to be changed shall 
10147         actually request the attributes to apply to the whole range of the
10148         said text... D'oh! 
10150         * lib/font.c: extents computation was wrong.
10152         * lib/font.c: dia_font_get_legacy_name(); g_strconcat works better
10153         if a last NULL parameter is added...
10155         * lib/font.c: extents computation was completely wrong. This looks
10156         much better this time.
10158         * objects/UML/class.c: fixed the various strings positions.
10160         * lib/font.h, and **/*.[ch] (all callers of dia_font_new): used
10161         macros to get the hardcoded base fonts.
10163         * objects/ER/relationship.c: wasn't converted to DiaFont*
10164         
10165 2002-06-22  Hans Breuer  <hans@breuer.org>
10167         * lib/widget.c : dont use backend specific functions
10168         to get on the font_families. Including it would mean
10169         including <windows.h> which breaks due to namespace
10170         pollutions ...
10172         * lib/libdia.def : updated externals
10174         * app/makefile.msc : temporary disabled: -DHAVE_LIBART
10176         * lib/font.c : added empty dia_font_init_instance function,
10177         reformatting of dia_fon_unref to allow to set breakpoint,
10178         dia_fon_build_layout() : dont crash on string==NULL
10180         * lib/text.c (text_set_attributes) : don't unref the wrong font
10182         * lib/widgets.c (dia_fon_selector_set_font) : our hashtable
10183         stores lowercased font names, but dia_font_get_family()
10184         returns mixed case      
10186 2002-06-22  Lars Clausen  <lrclause@cs.uiuc.edu>
10188         * lib/widgets.c: 
10189         * app/render_gdk.c: Patch from Hans Breuer.
10191         * app/Makefile.am (dia_core_files): diaconv commented out for now.
10192         
10193 2002-06-22  Cyrille Chepelov  <cyrille@chepelov.org>
10195         * lib/all files touched yesterday: took into account some of Hans
10196         Breuer's remarks in
10197         http://mail.gnome.org/archives/dia-list/2002-June/msg00257.html
10199         * objects/chronogram/*: 
10200         * objects/custom/*:
10201         * objects/ER/*:
10202         * objects/flowchart/*:
10203         * objects/FS/*:
10204         * objects/GRAFCET/*:
10205         * objects/SADT/*:
10206         * objects/standard/textobj.?:
10207         * objects/UML/*:
10208         converted to the new DiaFonts.
10210         * plug-ins/cgm/*:
10211         * plug-ins/pstricks/*:
10212         * plug-ins/wpg/*:
10213         * plug-ins/dxf/*:
10214         * plug-ins/xfig/*:
10215         Made minimalistic conversions so that they'd at least compile.
10217         * app/render_gdk.c:
10218         * app/render_pixmap.c:
10219         Converted to the new DiaFonts.
10221         * app/app_procs.c
10222         * app/diaconv.c:
10223         * app/render_eps.c:
10224         made the minimal changes so that it would at least build.       
10226         *** At this point, the thing builds on my machine, but segfaults
10227         right away. ***
10228         
10229 2002-06-21  Cyrille Chepelov  <cyrille@chepelov.org>
10231         * configure.in: removed the backend-specific pango pkg_modules
10232         (trivial to add back if needed, when actually needed)
10234         * app/Makefile.am:
10235         * app/*gnomeprint.[ch]: (removed): removed the GNOME-print
10236         renderer. The APIs will have completely changed when we get around
10237         to redo a renderer for it, anyways.
10239         * font.[ch]: rewrote everything from scratch, with a Pango
10240         implementation. Normally, only backend-neutral things should go in
10241         there.
10243         **WARNING**: new rules for managing DiaFont* pointers: these are
10244         reference-counted GObjects. One >must< diafont_ref() and
10245         diafont_unref() as appropriate. I wish I could overload operator=()...
10247         lib/plug-ins.h: bumped up the plug-in API.
10248         
10249         lib/attributes.c: 
10250         lib/dia_xml.c: 
10251         lib/dummy_dep.h
10252         lib/object_defaults:
10253         lib/prop_attr.c: Adapted to the new DiaFont API. This'll change
10254         again tomorrow with GObject.
10255         
10256         lib/widgets.c: Adapted to the new DiaFont API and to Pango.
10258         **** The rest of the tree should be updated as well ****
10259         
10260 2002-06-21  Lars Clausen  <lrclause@cs.uiuc.edu>
10262         * app/render_gdk.h: 
10263         * app/render_gdk.c: 
10264         * app/render_pixmap.c: 
10265         * app/render_pixmap.h: 
10266         * app/render_libart.h: 
10267         * app/render_libart.c: 
10268         * lib/font.h: 
10269         * lib/font.c: Removed freetype stuff (still around in
10270         lib/widgets.c 'cause we might want the font selector widget).
10272 2002-06-20  Cyrille Chepelov  <cyrille@chepelov.org>
10274         * shapes/network/laptop.(xml|shape):
10275         * sheets/network.sheet.in: added Laptop (notebook) PC shape,
10276         contributed by Alan Horkan <horkana@tcd.ie>. (Closes: #82643)
10278 2002-06-17  Hans Breuer  <hans@breuer.org>
10280         * lib/object_defaults.c : #include <libxml/tree.h> not
10281         <tree.h> pointed out by Xing Wang
10283 2002-06-17  Lars Clausen  <lrclause@cs.uiuc.edu>
10285         * lib/color.h (GDK_COLOR_TO_DIA, DIA_COLOR_TO_GDK): 
10286         * lib/widgets.c: 
10287         * app/color_area.c: Update to
10288         gtk_color_selection_*_current_color() fixed bad crash issues, plus
10289         updated color conversions.
10291         * sheets/ER/weakentity.xpm: Accepted patch from
10292         quixon@gnuchina.org to make icon match actual appearance.
10294         * app/recent_files.c: Fixed GNOME recent file problem, thanks to
10295         quixon@gnuchina.org.
10297 2002-06-16  Hans Breuer  <hans@breuer.org>
10299         * lib/plug-in.[hc] : make PlugInInfo opaque again in the 
10300         good tradition of information hiding. Add new function
10301         dia_plugin_get_symbol()
10302         * app/sheets.c app/sheets_dialog_callbacks.c : use it
10304         * app/sheets.c : stop complaining about object_get_type() 
10305         returning NULL. This is a consequence of e.g. disabling 
10306         plug-ins at runtime _and_ it was and is gracefully handled. 
10307         Spitting out g_warning for it isn't appropriate. 
10309         * lib/object.[ch] : removed dead code
10311         * app/plugin-mangager.c : almost complete rewrite for gtk2
10312         using GtkListStore/GtkTreeView
10314         * lib/libdia.def : updated externals
10316         * todo.gtk2 : updated, that is removed already done steps
10318 2002-06-15  Hans Breuer  <hans@breuer.org>
10320         * objects/uml/class_dialog.c : clean some left-over
10321         utf8-mess, return 0 from "focus_out_event" handlers
10322         to avoid asserting in gtk (#78305). Reconstruct 
10323         stereotype/NULL behaviour to avoid rendering empty
10324         stereotypes on classes and member functions
10326         [#56109 - Provide object defaults for StdProp objects,
10327          some remaining issues are discussed in bugzilla]
10329         * lib/object_defaults.c : (new file) manage default properties 
10330         of dia objects. The serialization is done with standard
10331         object methods in a diagram compatible format.
10333         * lib/object.c : add object_registry_foreach() which allows
10334         to iterate over all registered object types
10336         * lib/object.h : added prototypes object_default*() and
10337         object_registry_foreach()
10339         * lib/makefile.am lib/makefile.msc : add new file to build
10341         * lib/libdia.def : export new functions
10343         * app/defaults.c : provide StdProp based defaults if the
10344         ObjectType doesn't implement it's own default functions
10346         * app/create_object.c : through dia_object_default_create()
10347         * app/disp_callbacks.c : same here
10349 2002-06-12  Lars Clausen  <lrclause@cs.uiuc.edu>
10351         * objects/FS/flow-ortho.c (orthflow_get_object_menu): Menu
10352         sensitivity for deleting segments.
10354 2002-06-12  Cyrille Chépélov  <cyrille@chepelov.org>
10356         * app/color_area.c: (color_area_events):
10357         * app/diagram.c: (diagram_destroy):
10358         * app/interface.c: (zoom_activate_callback), (fill_sheet_wbox),
10359         (fill_sheet_menu):
10360         * app/load_save.c: (diagram_data_load):
10361         * app/menus.c: (menus_get_item_from_path):
10362         * app/preferences.c: (prefs_load):
10363         * app/render_gdk.c: (get_text_width):
10364         * lib/arrows.h:
10365         * lib/color.c: (color_convert):
10366         * lib/dia_dirs.c: (dia_config_filename):
10367         * lib/dia_xml.c: (xmlDiaParseFile), (data_type):
10368         * lib/intl.c: (intl_get_language_list):
10369         * lib/message.c: (message):
10370         * lib/message.h:
10371         * lib/paper.c: (get_default_paper):
10372         * lib/plug-ins.c: (this_is_a_plugin), (dia_register_plugins):
10373         * lib/widgets.c: (dia_file_selector_get_file):
10374         * lib/widgets.h:
10375         * objects/standard/image.c: (get_directory):
10377         warningectomy.
10378         
10379 2002-06-12  Lars Clausen  <lrclause@cs.uiuc.edu>
10381         * ChangeLog: Fixed bad UTF-8 mess.  Apologies.
10383 2002-06-11  Lars Clausen  <lrclause@cs.uiuc.edu>
10385         * app/interface.c: sscanf now returns EOF on empty string, so
10386         handle no match for zoom factor better => correct zoom at start.
10388         * app/sheets.c (create_object_pixmap): Tried to display empty error.
10389         (sheets_optionmenu_create): Died when not finding specified
10390         sheet.  Don't think it should.
10392         * objects/UML/association.c: Added patch from osamyn@ulb.ac.be
10393         (bug #84367) to place the text better.
10395 2002-06-11  Cyrille Chepelov  <cyrille@chepelov.org>
10397         * configure.in: Added forgotten libgnomeui-2.0 when --enable-gnome
10398                         
10399         * app/commands.c: Removed unnecessary gnome include. Removed
10400         GNOME-Print support.
10402         * app/menus.h: Removed now unnecessary gnome include.
10403         
10404         * app/sheets_dialog.c: Used Gtk 2.0 stock buttons instead of
10405         GNOME-specific stock buttons
10406         
10407 2002-06-09  Hans Breuer  <hans@breuer.org>
10409         * app/app_procs.c : convert 'Modified diagrams exits'
10410         dialog to use GtkMessageDialog. That gives us:
10411         - icons without Gnome dependency
10412         - much less code, also cross platform
10413         - improved useability ?
10415         * app/color_area.c : the Color Selection Widget looked
10416         quite wrong (alpha problems). Fix it by merging in required
10417         changes stolen from The Gimp cvs
10418         * app/color_area.h : to get the right appearance the maskes
10419         needed to be taken into account
10420         * app/interface.c : adapt to color_area_create changes.
10421         Also remove some dead code and finally remove cvs autexpansion, 
10422         I was bothered enough by irrelevant differences :-)
10424         * app/defaults.c app/properties.c app/dia-props.c : use improved GtkDialog
10425         api, i.e stocks and response to make the GnomeDialog usage
10426         obsolete. Also fixed the issue with closing the 'parent'
10427         before closing the dialog
10429         * app/display.[ch] : removed some dead code and conversion
10430         to new GtkDialog api. Also trying to conform to new HIG
10431         standard http://developer.gnome.org/projects/gup/hig/
10433 2002-06-09  Hans Breuer  <hans@breuer.org>
10435         * lib/makefile.msc : define GTK_DISABLE_DEPRECATED,
10436         build ps-utf8.c
10438         * lib/dia_image.c : gtk_widget_set_default_visual()
10439         remove. It does nothing with Gtk2.
10441         * lib/libdia.def : added ps_unicoder exports
10443         * lib/message.c : remove #GNOME use GtkMessageDialog.
10444         Yeah, Dia gets dialogs wit icons cross-platform.
10446         * lib/prop_geomtypes.c : gtk_spin_button_get_value_as_float()
10447         to gtk_spin_button_get_value()
10449         * lib/prop_inttypes.c : gtk_label_set() -> gtk_label_set_text()
10451         add #undef GTK_DISABLE_DEPRECATED to still use ...
10452         * lib/prop_text.c :  ... GtkText
10453         * lib/prop_widgets.c : ... GtkList
10454         * lib/prop_dialogs.c : ... gtk_signal_connect and more
10455         * lib/widgets.c : ... (too much to list here)
10457         * lib/ps-utf8.c : #include <string.h>
10459 2002-06-08  Cyrille Chepelov  <cyrille@chepelov.org>
10461         * configure.in:
10462         * Makefile.am:  Adapted for gtk2.
10463         Removed dependencies on libunicode, on iconv(), on langinfo().
10465         * acconfig.h: removed (now obsolete)
10467         * lib/charconv.[ch]: removed (superceded by glib)
10468         * lib/ps-utf8.[ch]: removed dependency on charconv.[ch]
10470         * **/*.[ch]: removed (utfchar *), (unichar) and other charconv or
10471         libunicode types for their glib counterparts. Fixed the include
10472         paths for libxml2. Removed all traces of libxml1 or non-UTF8
10473         support (there were remains in objects/uml).
10475         
10476 2002-06-08  Hans Breuer  <hans@breuer.org>
10478         */*.c */*/*.c : remove all the #ifdef *_UTF8_* hell,
10479         only keep the utf-8 clean code cause Dia+Gtk2 now talk it.
10480         Also use g_strdup()'s handling of NULL by returning NULL
10481         again at all places I found (remove unnecessary if's)
10483         * todo.gtk2 : new file to keep notes about gtk2 porting,
10484         further issues and thoughts and some status information.
10485         Also sent to dia-list ('Dia goes Gtk2 ...').
10486         
10487         [make it compile with GTK+ 2.0]
10489         * config.h.win32 : #undef GTK_TALKS_UTF8_WE_DONT,
10490         removed definition of S_ISDIR, S_ISREG and getlogin
10492         * */makefile.msc : Use GTK2 and libxml2
10493         BEWARE: makefile.am, configure.in not yet ported !
10495         * app/app_procs.c app/diagram.c : remove 
10496         gtk_item_factory_dump_rc code, (it wasn't read in again anyway) 
10497         but set use gtk_menu_set_accel_path() on menu creation
10499         * app/color_area.c lib/widgets.c : 
10500         make use of gtk_color_selection_set_has_palette ()
10502         * app/commands.c : gdk_pixbuf_new_from_file wants an 
10503         extra argument. Convert from DIR to GDir usage.
10505         * app/diagram_tree.c(button_press_callback) : need to return 
10506         FALSE in the signal handler to let gtk process it further.
10507         (get_object_name) : don't leak 'prop'
10508         
10509         * app/diapagelayout.c : adapt to GtkTypeInfo changes and handle 
10510         dia_page_layout_destroy() getting called more than once
10512         * app/diaunitspinner.c : GtkEditable -> GtkEntry, 
10513         GtkTypeInfo changes
10515         * app/disp_callbacks.c : gtk_menu_append() -> gtk_menu_shell_append()
10517         * app/display.h : wrap input contexts declarations into #ifdef USE_XIM.
10518         IIRC this code will not compile unchanged when USE_XIM is defined ...
10520         * app/gtk[hv]wrapbox.[hc] : use already ported version from The GIMP 1.3.x
10522         * app/interface.c : there is no widget->klass anymore in Gtk, 
10523         use GTK_WIDGET_GET_CLASS instead. gdk_pixbuf_new_from_file() extra
10524         parameter. Some tweaking of GtkWrapBox usage to get four tools in
10525         a row again.
10526         switch off GTK's double buffering on Dia's canvas. Otherwise we would 
10527         get triple buffering and flicker.
10528         Replace call to GTK private function _gtk_accel_group_attach()
10529         with public gtk_window_add_accel_group()
10531         * app/layer_dialog.c : adapt to GtkTypeInfo changes
10533         * app/load_save.c lib/plug-ins.c lib/sheet.c 
10534           objects/custom/custom.c : 
10535         simplified by using g_file_test()
10537         * app/menus.c : convert from gtk_item_factory_<dump|parse>_rc 
10538         to gtk_accel_map_<save|load>. Also added common stock-icons
10539         to the menu.
10540         
10541         * app/preferences.c : use gtk_button_set_label() instead
10542         of button->child which is gone. Also removed GLIB_CHECK_VERSION.
10544         * app/preferences.c lib/dia_xml.c lib/plug-ins.c :
10545         #ifdef G_OS_WIN32 #include <io.h>, this was formerly done
10546         in config.h.win32
10548         * app/recent_files.c : removed GLIB_CHECK_VERSION
10550         * app/render_eps.c 
10551           plug-ins/metapost/render_metapost.c
10552           plug-ins/pstricks/render_pstricks.c
10553           plug-ins/svg/render_svg.c :
10554         replace getlogin() with g_get_user_name() which always
10555         returns non NULL
10557         * app/render_gdk.c : gdk_region_union_with_rect() modifies
10558         inplace now and returns nothing, also less #hell
10560         * app/render_libart.c : some initial #hell cleaning, SuckFont
10561         still needs to vanish
10563         * app/splash.c : gdk_pixbuf_new_from_file() second arg and
10564         GTK_WINDOW_DIALOG -> GTK_WINDOW_TOPLEVEL
10566         * app/render_pixbuf.c app/sheets.c : plain #hell cleaning
10567         * app/sheets_dialog_callbacks.c : some #hell and adaptions
10568         needed to GtkWrapBox api changes
10571         * lib/charconv.[hc] : removed from build
10572         [changed appropriate]
10573         * lib/prop_inttypes.c lib/prop_text.c : 
10574         all utf-8 cleaning 
10575         * lib/text.c : ported from HEAD but keep original indent
10576         intact. Original was done by Akira TAGOH.
10578         * lib/color.c : GdkColorContext is gone, use GdkColormap instead.
10580         * lib/dia_image.c : gdk_pixbuf_new_from_file() second arg
10582         * lib/dia_xml.c : remove #ifdef GLIB_CHECK_VERSION, it's the
10583         same on all platforms now!
10585         * lib/font.c : still using SuckFont which was an IMPERATIVE FIXME!
10587         * lib/message.c : remove "charconv.h"
10589         * lib/prop_text.c : #define GTK_ENABLE_BROKEN to use GtkText
10591         * lib/plug-in.c :
10592         * lib/sheet.c : convert from DIR to GDir usage
10594         * lib/widgets.c : gtk_menu_(shell_)append and GtkTypeInfo
10596         * lib/widgets.h : include gtk<label|colorseldialog>.h
10599         * objects/fs/flow.c :
10600         * objects/fs/flow-ortho.c : GTK_ENABLE_BROKEN to use GtkText
10602         * objects/custom/custom.c : convert from DIR to GDir usage
10605         * plug-ins/python/makefile.msc : updated for GTK2/Python2.2
10608 2002-05-03  Hans Breuer  <hans@breuer.org>
10610         * lib/dia_xml.c : make the well formed utf8 check
10611         actually work for &#251; (non 7-bit ascii encoding)
10612         and fixed the file re-writing if the check fails.
10613         Thanks to Vitaly Lipatov for noticing the misbehaviour.
10615         * lib/font.c : synchronize #ifdef G_OS_WIN32 with
10616         comment on last ressort font. Thanks to Maxim Sobolev.
10618 2002-06-03  Cyrille Chepelov  <cyrille@chepelov.org>
10620         * sheets/network.sheet.in: corrected a typo in plotter invocation.
10622 2002-06-03  Steffen Macke  <sdteffen@web.de>
10624         * shapes/network/digitizing_board.png:
10625         * shapes/network/digitizing_board.shape:
10626         * shapes/network/plotter.png:
10627         * shapes/network/plotter.shape:
10628         * shapes/network/Makefile.am
10629         * sheets/network.sheet.in: added new plotter and digitizing
10630         board shapes
10631         
10632 2002-06-02  Cyrille Chepelov  <cyrille@chepelov.org>
10634         * lib/font.c: made a symptomatic fix to a segfault reported by 
10635         Jan Keirse <jan.keirse@pandora.be> on a SuSE 7.3 system. This
10636         won't prevent dia from terminating, but should give more
10637         user-friendly information about why did it terminate.
10639         Two patches from <robert.young@dsto.defence.gov.au>:
10640         
10641         * app/display.c: fix the size of the canvas area which gets
10642         redrawn. There was an off-by one error (Closes #83659)
10644         * app/display.c: make sure we redraw all screen only when we
10645         really have to (some update_areas were mistakenly ignored) (Closes
10646         #83496). 
10648         * NEWS: added a new entry for the future. Put there a reminder to
10649         update the dependencies.
10651         * configure.in: put in notes about what will change shortly.
10652         upped the version to 0.90+cvs (did also in config.h.win32)
10653         upped the minimum version for intltools (now 0.21)
10654         
10655 2002-06-01  Cyrille Chepelov  <cyrille@chepelov.org>
10657         * dia.spec:
10658         * configure.in:
10659         * NEWS:
10660         * config.h.win32:
10661         bumped up version number to 0.90. Yay!
10663 2002-05-30  Cyrille Chepelov  <cyrille@chepelov.org>
10665         * doc/pl/Makefile.am:
10666         * doc/en/Makefile.am: fixed a "make install" problem when db2html
10667         is not present (Reported by Andrew Ferrier
10668         <andrew.junk@new-destiny.co.uk>). Fixed another "make distclean"
10669         problem which prevented me from ever seeing the problem in doc/en...
10670         
10671         * Makefile.am: added autogen.sh to the EXTRA_DIST clause.
10672         
10673         * lib/font.c: patch from <robert.young@dsto.defence.gov.au>; add a
10674         way to read the font path from the XFS configuration files in
10675         order to enable FreeType (fixes #83098).
10677         * POTFILES.(in,skip): now skips objects/sybase/sybase.c, which is not
10678         shipped nowadays.
10679                 
10680         * dia.spec:
10681         * configure.in:
10682         * NEWS:
10683         * config.h.win32:
10684         bumped up version number to 0.90.RC3
10686 2002-05-29  Zbigniew Chyla  <cyba@gnome.pl>
10688         * configure.in, doc/Makefile.am, doc/pl/Makefile.am,
10689         doc/pl/authors.sgml, doc/pl/dia-manual.sgml, doc/pl/dia-pl.omf,
10690         doc/pl/intro.sgml, doc/pl/license.sgml, doc/pl/topic.dat
10691         doc/pl/usage-canvas.sgml, doc/pl/usage-customization.sgml,
10692         doc/pl/usage-layers.sgml, doc/pl/usage-loadsave.sgml
10693         doc/pl/usage-objects-selecting.sgml, doc/pl/usage-objects-special.sgml,
10694         doc/pl/usage-objects.sgml, doc/pl/usage-quickstart.sgml:
10695         Added Polish documentation.
10697 2002-05-27  Cyrille Cheeplov  <cyrille@chepelov.org>
10699         * objects/UML/state.c: there was a (gratuitous?) change of on-XML
10700         format for the UML State object. Now there's a hack to reload
10701         older files, and get them converted on the fly. 
10702         Justyna BiaÃ…?a <nell@poczta.gazeta.pl> reported this. Thanks!
10704         * lib/properties.h:
10705         * lib/propobject.c:
10706         * lib/proplist.c: Added a new property flag, PROP_FLAG_LOAD_ONLY,
10707         and adapter the proplist predicates. A LOAD_ONLY property is for
10708         when you have legacy to support but can't resist moving your
10709         fields around... (was needed to support the above state.c fix).
10711         If the in-core of your object changes and you need a LOAD_ONLY
10712         property for the old format, you must keep some spare room in your
10713         object's struct to accomodate for the potential old-style
10714         attributes. Then in foo_load(), after having called
10715         object_load_using_properties(), you must inspect the old-style
10716         fields and act accordingly. Don't ever change the on-disk formats...
10718         * objects/UML/object.c:
10719         * objects/UML/small_package.c: added a check against empty
10720         stereotypes still consuming space. Reported by Dolores Alia de
10721         Saravia <loli@unsa.edu.ar>. Thanks!     
10722         
10723 2002-05-26  Cyrille Chepelov  <cyrille@chepelov.org>
10725         * INSTALL: added platform notes from MÃ¥rten Svantesson, for when
10726         using libtool on an AFS partition.
10728         * po/update_potfiles_in.sh: now simply calls the recent intltools 
10729         features; they work better than hand-crafted half-ignorant
10730         scripts. Thanks to Kenneth Rohde Christiansen <kenneth@gnu.org>
10731         for the tip.
10733         * po/POTFILES.in: added back two files update_potfiles_in.sh
10734         didn't take into account. Now this file is not automatically
10735         generated anymore!      
10736         * po/POTFILES.skip: told `intltool-update -m` what files to ignore
10737         (the usual suspects, in fact).
10739         * configure.in: improved the isinf() / isfinite() detection on
10740         Solaris (MÃ¥rten Svantesson)
10741         
10742 2002-05-25  Cyrille Chepelov  <cyrille@chepelov.org>
10744         * configure.in: one expression was replacing $CFLAGS, removing
10745         whatever was previously in.
10746         Added more checks for isinf() and finite() on Solaris.
10748         * lib/geometry.h: added a macro defintion for isinf() if not
10749         HAVE_ISINF. (Hans, you may want to #define HAVE_ISINF if relevant
10750         on Win32)
10752         * app/commands.c: "cut" did not set the 'modified' bit (paste has
10753         been for a little while). Fixes #82994.
10755         * Makefile.am: added more stuff to distclean-local. This should make
10756         "make distcheck" pass! Thanks to the author of
10757         http://mail.gnome.org/archives/gnome-2-0-list/2001-August/msg00212.html
10758         ... I wonder who this Henstridge guy is ... ;-)
10759         Darn. Still doesn't pass. I give up for tonight.
10760         
10761         * po/update_potfiles_in.sh: updated to take care of sheet files,
10762         and to filter out the EML plug-in.
10763         * po/POTFILES.in: updated with all .c and all .sheet.in files 
10765         * po/dia.pot, po/*.po: again updated all .po files with all
10766         strings (with the updated POTFILES). Now with the up-to-date
10767         POTFILES, just all languages have some fuzzy or untranslated
10768         strings (not that the 100% team was that large beforehand...)
10770         * po-checktrans: removed the comment about .po files not holding
10771         all translatable stuff, since now they do.
10772         
10773 2002-05-24  Cyrille Chepelov  <cyrille@chepelov.org>
10775         * dia.spec:
10776         * configure.in:
10777         * NEWS:
10778         * config.h.win32:
10779         bumped up version number to 0.90.RC2
10781 2002-05-20  Hans Breuer  <hans@breuer.org>
10783         * app/load_save.c : starting to increase
10784         Dias tolerance on incomplete/broken files. The 
10785         corresponding bug is #56233. But the patch there does
10786         neither apply anymore nor does it really fix the problem
10787         but only delays it, e.g. even if it would be allowed
10788         to read a file without any layers, the later code can't
10789         handle it.
10790         * lib/dia_xml.c : attribute_<num|first>_data(), data_type()
10791         handle passing in NULL for the node gracefully.
10793         * shapes/network/printer.shape : added two more connection
10794         points - one at each side - to fix bug #60359
10796         * app/commands.c (edit_copy_callback) : 
10797         add ddisplay_do_update_menu_sensitivity() to make 
10798         sequence select-copy-paste work.
10800 2002-05-20  Hans Breuer  <hans@breuer.org>
10802         * app/create_object.c (create_object_button_press) :
10803         added a call to ddisplay_do_update_menu_sensitivity()
10804         to make Ctrl^D etc work after object creation. 
10805         Fixes #80983.
10807 2002-05-18  Lars Clausen  <lrclause@cs.uiuc.edu>
10809         * objects/ER/entity.c: 
10810         * objects/ER/attribute.c: 
10811         * objects/ER/relationship.c: Patch to allow text size change from
10812         Celso Tetsuo Nagase Suzuki.
10814 2002-05-18  Steffen Macke <sdteffen@web.de>
10816         * app/app_procs.c: #ifdef'd xmlerror.h (comes with 
10817         libxml2)
10818         * doc/en/graphics/greendots.png:
10819         * doc/en/home_network.png:
10820         * doc/en/line_props.png: 
10821         * dia-diagram.png:
10822         * dia_gnome_icon.png:
10823         * dia_gnome_menu_icon.png:
10824         * dia_logo.png:
10825         * shapes/network/telephone.png:
10826         * shapes/Logic/and.png:
10827         * shapes/Logic/buffer.png:
10828         * shapes/Logic/connector.png:
10829         * shapes/Logic/inverter.png:
10830         * shapes/Logic/nand.png:
10831         * shapes/Logic/nor.png:
10832         * shapes/Logic/not.png:
10833         * shapes/Logic/or.png:
10834         * shapes/logic/xor.png:
10835         * samples/ER-demo.dia:
10836         * samples/SADT.dia:
10837         * samples/UML-demo.dia:
10838         * samples/chronograms.dia:
10839         * samples/grafcet.dia: re-added as binary files
10841 2002-05-17  Hans Breuer  <hans@breuer.org>
10843         * lib/libdia.def : reflect removing of render_store.[ch]
10845         * */makefile.mingw : remove VERSION definition it's
10846         done in config.h.win32. Dia still doesn't work if
10847         build with mingw ...
10849         * RELEASE-PROCESS : removed */makefile.mingw
10851         * app/sheets_dialog_callbacks.c : if we use those
10852         ugly charconv_gtk_* functions lib/charconv.h needs to
10853         be #included ...
10854         * lib/charconv.h : ... and needs to contain the 
10855         necesseray prototypes _and_ #defines
10857         * plug-ins/shape/shape-export.c : with libxml2 xmlNewGlobalNs
10858         is deprecated and does nothing but spit a warning. This broke
10859         the shape format writing. Fixed.
10860         Also with libxml2 pretty formatted xml isn't the default
10861         anymore, but needs to be enabled explicit: It is done now 
10862         for shape files, which almost always needed to be edited by
10863         hand ... 
10865         * app/app_procs.c : #if G_OS_WIN32 redirect xmlErrorReporting
10866         from stderr - which is invalid on Dia/win32 - to g_print -
10867         which opens up a console window if necessary. This way
10868         a xml-deprecation-error shouldn't stay unnoticed next time
10870 2002-05-17  Steffen Macke <sdteffen@web.de>
10872         * shapes/Misc/folder.png:
10873         * shapes/Misc/file.png: re-added as binary files
10874         
10875 2002-05-16  Lars Clausen  <lrclause@cs.uiuc.edu>
10877         * lib/font.c: Fixed segfault for fonts without family_name.
10879 2002-05-17  Cyrille Chepelov  <cyrille@chepelov.org>
10881         * po/POTFILES.in: added app/sheets_dialog_callbacks.c
10883         * app/sheets_dialog_callbacks.c: While reviewing UTF-8isation upon
10884         Lars' request, minor cosmetic stuff (mostly _() of human-readable
10885         XML comments in .sheet files; one translator booby-trap disarmed).
10887         * lib/charconv.c: moved #hell inside the body of the new
10888         charconv_*gtk* functions (otherwise the Win32 or gtk2.0 linker
10889         will yell)
10890         
10891 2002-05-16  Lars Clausen  <lrclause@cs.uiuc.edu>
10893         * plug-ins/wpg/Makefile.am (INCLUDES): 
10894         * plug-ins/shape/Makefile.am (INCLUDES): 
10895         * plug-ins/svg/Makefile.am (INCLUDES): 
10896         * plug-ins/pstricks/Makefile.am (INCLUDES): 
10897         * plug-ins/metapost/Makefile.am (INCLUDES): Added UNICODE_CFLAGS
10898         and DEBUG_CFLAGS in some missing places.
10900         * MAINTAINERS: New file containing list of known package
10901         maintainers. 
10903         * lib/charconv.h: 
10904         * lib/charconv.c: Charconv versions of some common gtk calls.
10906         * app/sheets_dialog_callbacks.c
10907         (on_sheets_new_dialog_button_ok_clicked),
10908         (on_sheets_dialog_button_edit_clicked),
10909         (on_sheets_dialog_button_remove_clicked),
10910         (on_sheets_edit_dialog_button_ok_clicked):
10911         * app/sheets.c (sheets_optionmenu_create),
10912         (sheets_optionmenu_create): Added utf8 translations.
10914         * app/sheets_dialog.c: 
10915         * app/sheets.c: 
10916         * app/sheets_dialog_callbacks.c: Added some missing _()'s.
10918 2002-05-16  Cyrille Chepelov  <cyrille@chepelov.org>
10920         * po/POTFILES.in: added app/sheets_dialog.c
10922 2002-05-15  Cyrille Chépélov  <cyrille@chepelov.org>
10924         * lib/charconv.c: (charconv_local8_to_utf8),
10925         (charconv_utf8_to_local8): tweaked the warnings to get more 
10926         informations
10927         * lib/font.c: (font_get_suckfont): handled a potential case of
10928         uninitialised data being used (just paranoid)
10929         
10930         * objects/GRAFCET/boolequation.c: (opstring),
10931         (opblock_get_boundingbox), (opblock_draw),
10932         (boolequation_calc_boundingbox): some extra hoops needed now dia
10933         talks UTF8 (but gtk doesn't). More #hell. Beeek. Basically, the
10934         symbols can't yet be used with their proper Unicode cells, since
10935         gtk will demand them in the Symbol font, expressed in the local
10936         8-bit encoding.
10937         
10938         * samples/grafcet.dia: re-saved, now with a fixed bounding box (by
10939         the fix just above).
10941 2002-05-14  Lars Clausen  <lrclause@cs.uiuc.edu>
10943         * app/diagram_tree.c (get_object_name): Check that name property
10944         doesn't have null string.
10946 2002-05-13  Lars Clausen  <lrclause@cs.uiuc.edu>
10948         * autogen.sh (DIE): Added conditional --force to gettextize.
10950         * app/pagesetup.c (pagesetup_ok): Commented out missing Gnome
10951         function call.
10953 2002-05-13  Cyrille Chepelov  <cyrille@chepelov.org>
10955         * RELEASE-PROCESS: added James' notes on how to properly make the
10956         tarball.
10958         * configure.in: removed macro nesting related to libpng.h, which
10959         was causing some problems on some systems (like mine, which made
10960         the snapshots bad).
10962         Made --enable-unicode, previously an option, the mandatory case.
10964         * app/Makefile.am: updated EXTRA_DIST
10965         
10966         * NEWS:
10967         * app/makefile.mingw:
10968         * dia.spec:
10969         * doc/en/dia-manual.sgml:
10970         * plug-ins/makefile.mingw:
10971         * configure.in: bumped up the version number to 0.90.RC1
10973         * lib/render_objects.[ch]:
10974         * po/POTFILES.in: removed render_objects from the build.
10976         * plug-ins/Makefile.am:
10977         * plug-ins/wmf/Makefile.am (new): EXTRA_DIST'ed the WMF plug-in,
10978         so we keep its source in the tarball.
10980         * objects/network/*.c, Makefile.am:
10981         * objects/sybase/*.c, Makefile.am:
10982         * po/POTFILES.in: cleaned up the non-existent files from the po
10983         build process.
10985         * plug-ins/Makefile.am: re-enabled metapost plug-in.
10986         
10987 2002-05-13  Steffen Macke <sdteffen@web.de>
10989         * AUTHORS:
10990         * app/command.c: added M. C. Nelson to the Authors
10991         * sheets/Circuit/Makefile.am: added firewall shape to build
10992         * sheets/network/Makefile.am: added telephone and microphone
10993           shapes to build
10995 2002-05-13  Lars Clausen  <lrclause@cs.uiuc.edu>
10997         * RELEASE-PROCESS: Added list of files that contain the release
10998         number or should otherwise be changed at each release.
11000 2002-05-12  Lars Clausen  <lrclause@cs.uiuc.edu>
11002         * objects/UML/uml.c (uml_operation_read): Forgot to commit this
11003         (reported fixed) bug: POLYMORPHIC -> LEAF for default.
11005 2002-05-12  Hans Breuer  <hans@breuer.org>
11007         * config.h.win32 : changed VERSION to 0.90.RC1
11009         * app/makefile.msc lib/makefile.msc : use renamed
11010         gdk-pixbuf version (same content but renamed because
11011         all the other gtk+ dlls are renamed) to avoid trouble
11012         mixing gtk versions (of which one would not 
11013         be initialized ...
11015         * app/app_procs.c : removed recently unneeded
11016         inclusion of "sheets.h"
11018         * app/render_gdk.c : removed my own debug spew
11019         which should never made it to cvs
11021         * lib/render_object.[hc] : added
11022         #error "File not used anymore."
11024         * lib/libdia.def : updated externals
11026         * app/interface.c : dropped filenames need to be
11027         converted from uri with Gtk+2.0
11029 2002-05-12  Cyrille Chepelov  <cyrille@chepelov.org>
11031         * RELEASE-PROCESS (new): a draft document about how to release. To
11032         be discussed. (already with some input from Hans Breuer)
11034 2002-05-12  Steffen Macke <sdteffen@web.de>
11036         * sheets/Makefile.am: re-added Misc sheet to make process
11037         
11038 2002-05-12  Lars Clausen  <lrclause@cs.uiuc.edu>
11040         * objects/FS/function.c: Added comments to humungous list of menu
11041         items, to aid translators.
11043 2002-05-11  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
11045         * app/menus.c (display_menu_items): Added a few shortcuts for zooms.
11047         * app/menus.c (display_menu_items): Added a few shortcuts for zooms.
11049         * app/interface.c (create_toolbox): Disallow shrinking beyond
11050         requested size.  Fixes bug #59439, and confirms to GTK guidelines
11051         (see gtk_window_set_policy).
11052         (create_sheets): Removed now unnecessary set_usize call.
11054 2002-05-10  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
11056         * lib/beziershape.c (remove_handles): Fixing removal of last
11057         segment.  Undo of removal still hokey.
11059 2002-05-10  Lars Clausen  <lrclause@cs.uiuc.edu>
11061         * lib/bezier_conn.c (remove_handles): Proper offset for fixing
11062         handles. 
11063         * lib/beziershape.c (beziershape_init): Removed early call to
11064         beziershape_update_data where points aren't set yet.
11065         (beziershape_add_segment): Use segment 0 instead of overflowing
11066         points array with segment+1.
11067         (beziershape_remove_segment): Proper offset for fixing
11068         connectionpoints. 
11069         (remove_handles): Proper offset.
11071 2002-05-08  Lars Clausen  <lrclause@cs.uiuc.edu>
11073         * objects/GRAFCET/action.c (action_update_data): Init x value of
11074         click point for call to connpointlist_adjust_count.
11076         * app/modify_tool.c (create_modify_tool): Init tool->auto_scrolled
11078         * app/render_pixmap.c (new_pixmap_renderer): Moved first linestyle
11079         setting to where values are inited.
11081         * lib/polyshape.c (polyshape_init): Removed call to
11082         polyshape_update_data that tried to use uninitialized data.
11084 2002-05-06  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
11086         * app/sheets_dialog.c: Mass removal of //-style comments.  The
11087         Irix compiler doesn't like them:(  I do...
11089 2002-05-06  Lars Clausen  <lrclause@cs.uiuc.edu>
11091         * app/render_libart.c (draw_string): Bail out when no GDK font is
11092         found.
11093         (set_font): Give error when font not found.
11094         (set_fillstyle): Intlized error msg.
11096         * app/pagesetup.c (pagesetup_ok, pagesetup_apply): Sets diagram
11097         modified when applied (and ok only does apply if apply is set
11098         sensitive).  Fixes bug #75623.
11100 2002-05-06  Pablo Saratxaga  <pablo@mandrakesoft.com>
11102         * configure.in: Added Vietnamese (vi) to ALL_LINGUAS
11104 2002-05-05  Steffen Macke <sdteffen@web.de>
11106         * app/Makefile.am: added $(UNICODE_CFLAGS)
11107         
11108 2002-05-02  Lars Clausen  <lrclause@cs.uiuc.edu>
11110         * app/commands.c (help_manual_callback): Check return value of
11111         opendir.
11113         * plug-ins/xfig/Makefile.am (INCLUDES): Added DEBUG_FLAGS
11115         * plug-ins/xfig/xfig-import.c: Fixed misspelled Poly_L_ine, added
11116         checks for errors.
11118 2002-04-30  Lars Clausen  <lrclause@cs.uiuc.edu>
11120         * app/render_gdk.c (draw_string): Extra free killed.  Thanks valgrind!
11122         * objects/UML/uml.c (uml_operation_read): Fix of UML default
11123         inheritance. 
11125 2002-04-30  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
11127         * app/filedlg.c (file_save_as_callback, file_save_as_ok_callback):
11128         Added button to toggle diagram compression.
11130 2002-04-29  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
11132         * lib/font.c: Support for loading extra kerning files, plus got
11133         rid of rounding errors.  Bounding box mostly perfect for freetype
11134         fonts.
11135         (font_string_width): Fudge factor to get around nonlinearity of
11136         font scaling.
11138 2002-04-29  Lars Clausen  <lrclause@cs.uiuc.edu>
11140         * lib/font.c (font_string_width): YA font calculation scheme, with
11141         comments.
11143         * objects/UML/class.c (umlclass_calculate_data): Uses the same
11144         font for drawing and calculating now.
11146         * configure.in: Added utime.h check.
11148         * app/render_gdk.c (draw_string): Uses gdk_draw_text_wc when in
11149         GTK_DOESNT_TALK_UTF8_WE_DO.  Thus it matches the string width calc.
11151 2002-04-26  Hans Breuer  <hans@breuer.org>
11153         [ Instead of fixing about 70 occurances in 20 files
11154           where GTK_TALKS_UTF8_WE_DONT needed to be handled
11155           Dia on win32 from now on uses glib-2.0 and not 
11156           only talks utf-8 with gtk-1.3 but also internally.
11157           GTK_TALKS_UTF8_WE_DONT isn't supported/needed
11158           anymore. ]
11160         * config.h.win32 : #define UNICODE_WORK_IN_PROGRESS
11161         #undef GTK_TALKS_UTF8_WE_DONT
11163         * */makefile.msc : changes to use glib-2.0 (still
11164         using gtk+1.3(win32-production)
11166         * app/disp_callbacks.c : remove GTK_TALKS_UTF8_WE_DONT,
11167         adapt kevent->string handling, add <string.h>
11168         * app/render_gdk.c (get_text_width) : the length given
11169         is in chars, gdk_text_width() needs bytes
11171         * app/render_libart.c : 
11172         * app/render_pixmap.c : remove GTK_TALKS_UTF8_WE_DONT
11173         (could simplify the same way as done in render_gdk.c)
11175         * app/diagram_tree.c app/paginate_gdiprint.cpp
11176           app/sheets.c :
11177         * lib/prop_basic.c lib/prop_geomtypes.c 
11178           lib/propdialgs.c lib/propobject.c :
11179         added <string.h> which is now removed from charconv.h
11181         * lib/charconv.h : optional use infrastructure from
11182         glib-2.0 -> only five direct function mapping left
11184         * lib/charconv.c : avoid to build this with glib-2.0
11186         * lib/font.c : no string conversion needed anymore      
11187         when Dia and Gtk talk utf-8, also code adaptions
11188         for GLIB_CHECK_VERSION(2,0,0)
11190         * lib/libdia.def : removed charconv functions
11192         * lib/prop_inttypes.c : removed GTK_TALKS_UTF8_WE_DONT,
11193         replace charconv_unichar_to_utf8() with g_unichar_to_utf8()
11195         * lib/prop_text.c lib/prop_widgets.c lib/font.c : 
11196         removed GTK_TALKS_UTF8_WE_DONT
11198         * lib/text.c : finally(?) fixed cursor <place|move>ment 
11199         for Umlauts. Also fixed char insertion, still wondering
11200         how this could ever work. Does realloc on Linux 
11201         initialize the memory with zeros ?
11203         * objects/chronogram/chronoline_event.c
11204           objects/grafcet/boolequation.c :
11205         there is no uni_get_utf8 when building for glib-2.0.
11206         Replace with g_utf8_get_char() and g_utf8_next_char().
11208         * objects/uml/stereotype.c (bracketted_to_string) : 
11209         simplify while adding code for glib-2.0 build
11211 2002-04-27  Lars Clausen  <lrclause@cs.uiuc.edu>
11213         * app/diagram.h: Autosave field
11214         * app/diagram.c (diagram_set_modified): Sets autosave field.
11215         
11216         * objects/UML/usecase.c (usecase_update_data): 
11217         * objects/flowchart/ellipse.c (ellipse_update_data): 
11218         * objects/flowchart/parallelogram.c (pgram_update_data): 
11219         * objects/flowchart/diamond.c (diamond_update_data): 
11220         * objects/custom/custom_object.c (custom_update_data): 
11221         * objects/UML/state.c (state_update_data): 
11222         * objects/UML/small_package.c (smallpackage_update_data): 
11223         * objects/UML/object.c (objet_update_data): 
11224         * objects/UML/note.c (note_update_data): 
11225         * objects/UML/node.c (node_update_data): 
11226         * objects/UML/component.c (component_update_data): 
11227         * objects/UML/classicon.c (classicon_update_data): 
11228         * objects/UML/actor.c (actor_update_data): 
11229         * objects/SADT/box.c (sadtbox_update_data): 
11230         * objects/FS/function.c (function_update_data): 
11231         All now update text boundaries from update_data.
11232         
11233         * lib/widgets.c (dia_font_selector_set_styles): Made the style set
11234         correctly. 
11236 2002-04-26  Hans Breuer  <hans@breuer.org>
11238         * config.h.win32 : added VERSION definition here
11239         (and removed from makefile.msc's)
11241         * app/makefile.msc : added new files
11243         * app/app_procs.c (app_init): remove sheets_dialog_create()
11244         from start-up and ... 
11246         * app/sheet.c (sheets_dialog_show_callback) : ... lazy create
11247         sheet_dialog here when it is really needed.
11248         #include "../lib/message.h", make sheets_dialog_create() 
11249         return it's success or failing on (!custom_type_symbol). 
11250         Although editing shapes is nice IMHO it isn't crucial enough 
11251         to abort() Dia if       it isn't possible.
11253         * app/sheet.h : adapt create_sheet_dialog() prototype
11255         * app/sheets_dialog.c : add #ifdef HAVE_UNISTD_H
11257         * app/sheets_dialog_callbacks.c : #ifdef HAVE_UNISTD_H and
11258         #ifdef HAVE_UTIME_H. Otherwise #include <sys/utime.h> and
11259         name space corrections for utime() and utim_buf #ifdef
11260         G_OS_WIN32
11262         * lib/libdia.def : export new sheet functions
11264         * lib/makefile.msc : added new files
11266         * lib/render.c : don't put draw_bezier_with_arrows() in
11267         the DrawLineWithArrowsFunc slot
11269         * objects/custom/custom_object.c : #include <gmodule.h>
11270         and export 'custom_type' via G_MODULE_EXPORT
11272         * objects/uml/class_dialog.c : removed 'incompatible 
11273         types' warnings. Some refactoring while making it fit
11274         on screen with 800x600 again.
11276         * plug-ins/python/pydia-cpoint.h : add PyDiaConnectionPoint_Check
11278         * plug-ins/python/pydia-handle.h : extra parameter to
11279         PyDiaHandle_New to store the owner of the handle
11280         * plug-ins/python/pydia-handle.c : store handle owner
11281         on construction and use it in new method .connect()
11282         * plug-ins/python/pydia-object.c plug-ins/python/pydia-diagram.c : 
11283         adapt to changed prototype
11285 2002-04-24  Lars Clausen  <lrclause@cs.uiuc.edu>
11287         * lib/text.c (text_calc_boundingbox): Will now return early if box
11288         passed is NULL.
11290         * objects/flowchart/box.c (box_update_data): Now updates text
11291         width info from update_data.
11293 2002-04-23  Steffen Macke <sdteffen@web.de>
11295         * plug-ins/xfig/xfig-import.c: fixed text import
11296         
11297 2002-04-22  Lars Clausen  <lrclause@cs.uiuc.edu>
11299         * app/export_png.c: Moved dialog functions to their own file.
11300         * app/dialogs.[ch]: New files with standard functions for creating
11301         small, transient dialogs (e.g. export options).
11302         * app/Makefile.am: Added dialogs.[ch]
11304 2002-04-19  Steffen Macke <sdteffen@web.de>
11306         * shapes/Misc/folder.*:
11307         * shapes/Misc/file.*:
11308         * shapes/Misc/Makefile.am:
11309         * shapes/Makefile.am:
11310         * sheets/Misc.sheet.in:
11311         * sheets/Makefile.am:
11312         * configure.in: added new Misc sheet containing filesystem shapes
11313         
11314 2002-04-18  Lars Clausen  <lrclause@cs.uiuc.edu>
11316         * app/lineprops_area.c: Arrow selector in toolbox changed to use
11317         standard arrowdraw code.  Line is thinner to make some arrowheads
11318         distinguishable. 
11320 2002-04-18  Steffen Macke <sdteffen@web.de>
11322         * sheets/network.sheet.in:
11323         * shapes/network/telephone.shape:
11324         * shapes/network/Makefile.am: added telephone shape
11325         
11326 2002-04-16  Steffen Macke <sdteffen@web.de>
11328         * sheets/EML.sheet.in: commented out unavailable shapes
11329         
11330 2002-04-15  M.C. Nelson <mcn@kobayashimaru.org>
11332         * app/sheets_dialog_callbacks.c:  Fixed segfault caused by mis-ordered
11333           variable assignment.
11334         
11335 2002-04-15  Steffen Macke <sdteffen@web.de>
11337         * plug-ins/dxf/dxf-import.c: text import works again
11338         * shapes/Pneumatic/Makefile.am: added compush shape
11339         * sheets/Pneumatic.sheet.in: commented out unavailable shapes dist33
11340         and dist53
11341         
11342 2002-04-11  M.C. Nelson <mcn@kobayashimaru.org>
11344         * All these modifications are for the 'Sheets and Objects' dialog
11345           (new feature):
11347         * app/pixmaps/line_break.xpm: new icon representing a line break.
11348         
11349         * app/pixmaps/n_a.xpm: new empty icon representing not available.
11351         * app/Makefile.am: added sheets_*.[ch] files to compile list.
11352         
11353         * app/menus.c: added GNOME and gtk menu items for 'Sheets and Objects'
11354         
11355         * app/sheets_dialog.c: [new file] definition of 'Sheets & Objects' dlgs
11357         * app/sheets_dialog.h: [new file] support for Sheets & Objects dlgs 
11358         
11359         * app/app_procs.c: added call to sheets_dialog_create() in app_init()
11360         
11361         * app/sheets_dialog_callbacks.c: [new file] callbacks for S & O dialogs
11363         * app/sheets_dialog_callbacks.h: [new file] support for " " "
11365         * app/interface.c: added 'interface_current_sheet_name' global to 
11366           fill_sheet_wbox(); made fill_sheet_menu() non-static
11368         * app/interface.h: added extern declaration for aboves.
11370         * app/sheets.c: [new file] instantiation and other funcs for S & O dlgs
11372         * app/sheets.h: [new file] declarations for backing store structures
11374         * lib/sheet.c: modification of new_sheet() parameters; introduction
11375           of USER and SYSTEM scope for sheets; procedure for sorting sheets;
11376           changes to load_register_sheet().
11378         * lib/sheet.h: added 'user_data_type' field to SheetObject structure;
11379           added 'has_icon_on_sheet' flag to SheetObject structure; added 
11380           'filename', 'scope', 'shadowing' fields to Sheet structure.
11382         * lib/plug-ins.c: moved _PluginInfo declaration to header file where
11383           it belongs.
11385         * lib/plug-isn.h: see above.
11387         * lib/object.c: added 'sheet.h' to include list; added several 
11388           functions
11389           to detect objects which are not found on any sheet (for future use)
11390           object_type_detect_nosheet_callback(), object_types_detect_nosheet(),
11391           object_type_get_sheet_name(), object_type_strip_sheet_from_name().
11393         * lib/object.h: added public declarations for above functions where
11394           necessary.
11396         * objects/custom/custom.c: made custom_object_load() non-static so we
11397           can load and interpret .shape files from the Sheets & Objects dialog
11399         * objects/custom/custom_object.c: made 'custom_type' non-static so 
11400           we can differentiate between SVG shapes and other types.a
11402 2002-04-07  Hans Breuer  <hans@breuer.org>
11404         * app/object_ops.c (object_list_align_v): Fix the 'Leak fix'
11405         from 2002-01-22 to not destroy diagram->data->selected. 
11406         Avoids to crash on Objects/Align/Vertical/Top
11408         * app/render_eps.c (draw_string) : un-const buffer
11409         It isn't at all const (g_malloc(), assignment, g_free()).
11410         Doesn't gcc catch such ?
11412         * lib/arrows.h : prototype calculate_arrow_point()
11414         * lib/font.c (font_get_suckfont) : no need to
11415         special case gdk_draw_string() with GTK_TALKS_UTF8,
11416         cause all the parameter differences are handled above
11418         * lib/libdia.def : updated externals
11420         * lib/makefile.msc : removed string_prerenderer, added render
11422         * lib/render.c (draw_rect) : don't pass a Point** if a Point*
11423         is expected. [Sometimes it's good to read compiler warnings.]
11425         * objects/standard/image.c : simplified by use of g_strconcat()
11427         * plug-ins/python/makefile.msc : updated for Python 2.2
11429 2002-04-03  Lars Clausen  <lrclause@cs.uiuc.edu>
11431         * objects/standard/zigzagline.c (zigzagline_draw): Fixed
11432         directionality problem for zero-length line segments.
11434 2002-03-28  Lars Clausen  <lrclause@cs.uiuc.edu>
11436         * app/diagram.c (diagram_ungroup_selected) 
11437         (diagram_update_menu_sensitivity): Now allows ungrouping of
11438         several groups at once.
11440 2002-03-15  Lars Clausen  <lrclause@cs.uiuc.edu>
11442         * lib/render.c, all renderers: Binary incompatibility, change to
11443         expandable renderops structure.
11445 2002-03-15  Steffen Macke <sdteffen@yahoo.com>
11447         * objects/standard/Makefile.am:
11448         * objects/network/Makefile.am:
11449         * objects/UML/Makefile.am:
11450         * objects/ER/Makefile.am:
11451         * objects/FS/Makefile.am:
11452         * objects/flowchart/Makefile.am:
11453         * objects/custom/Makefile.am:
11454         * objects/GRAFCET/Makefile.am:
11455         * objects/chronogram/Makefile.am:
11456         * objects/SADT/Makefile.am:
11457         * plug-ins/cgm/Makefile.am:
11458         * plug-ins/pstricks/Makefile.am:
11459         * plug-ins/hpgl/Makefile.am:
11460         * plug-ins/wpg/Makefile.am:
11461         * plug-ins/svg/Makefile.am:
11462         * plug-ins/shape/Makefile.am: added $(UNICODE_CFLAGS)
11463         
11464 2002-03-13  Lars Clausen  <lrclause@cs.uiuc.edu>
11466         * app/render_eps.c: Support for dumping TrueType fonts (taken from
11467         ttfps).
11469 2002-03-12  Lars Clausen  <lrclause@cs.uiuc.edu>
11471         * lib/render.c: New abstract super class for renderers.
11473 2002-03-07  Akira TAGOH  <tagoh@redhat.com>
11475         * objects/ER/attribute.c (attribute_save): save a font property.
11476         (attribute_load): load a font property, and if can't load it, it's
11477         initialized.
11479         * objects/ER/entity.c (entity_save): save a font property.
11480         (entity_load): load a font property, and if can't load it, it's
11481         initialized.
11483         * objects/ER/relationship.c (relationship_save): save a font property.
11484         (relationship_load): load a font property, and if can't load it, it's
11485         initialized.
11487         * objects/UML/class.c (fill_in_fontdata): don't replace if it already
11488         has a vaule.
11489         (umlclass_save): save the font and the font size properties.
11490         (umlclass_load): load the font and the font size properties.
11492 2002-03-05  Cyrille Chepelov  <cyrille@chepelov.org>
11494         * lib/string_prerenderer.[ch] (REMOVED):
11495         * lib/render.h:
11496         * lib/diagramdata.c:
11497         * lib/Makefile.am:
11498         * app/render_eps.c: got rid of the string-specific string
11499         prerenderer, transitioned its functionality towards Lars'
11500         two-phase rendering
11502 2002-03-05  Lars Clausen  <lrclause@cs.uiuc.edu>
11504         * configure.in: Using Freetypes own check for ver >= 1.0.5.  You
11505         may need to rerun aclocal.
11507 2002-03-04  Lars Clausen  <lrclause@cs.uiuc.edu>
11509         * lib/font.c: First attempt at Unicodeness for Freetype.
11511 2002-03-02  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
11513         * lib/font.c (font_string_width): Fixed font_string_width for
11514         freetype.  BB is now almost right.
11516 2002-03-01  Lars Clausen  <lrclause@cs.uiuc.edu>
11518         * app/render_eps.h: 
11519         * app/paginate_psprint.c (paginate_psprint): 
11520         * lib/font.c: 
11521         * app/render_eps.c: Support for dumping postscript fonts into
11522         postscript files with freetype.  Fairly primitive, but works.
11523         Unicode version may have problems.
11525 2002-02-28  Akira TAGOH  <tagoh@redhat.com>
11527         * objects/UML/class_dialog.c (class_read_from_dialog)
11528         (class_fill_in_dialog), (class_create_page): add the font selector and
11529         the font size selector.
11531         * objects/UML/class.c (umlclass_draw): uses each font_height.
11532         (umlclass_calculate_data): ditto.
11533         (fill_in_fontdata): add initial value of new font_height.
11534         (umlclass_copy): add new font_height.
11536 2002-02-27  Cyrille Chepelov  <chepelov@calixo.net>
11538         Patch from Geoff Gerrietts <ggerrietts@yahoo.com>:
11539         
11540         * lib/font.c: calculate font metrics properly and stop guessing at
11541         string widths.
11543 2002-02-28  Akira TAGOH  <tagoh@redhat.com>
11545         * configure.in: changed gtk_advancement value to dia_talks_utf8.
11546         right now Dia is working with UTF-8 internally. it means Dia probably
11547         support most languages also including the languages which heretofore
11548         didn't work correctly.
11550 2002-02-26  Akira TAGOH  <tagoh@redhat.com>
11552         * objects/FS/function.c: add related text properties.
11553         (function_get_props), (function_set_props): add handling attribute.
11555         * objects/FS/flow.c: add related text properties.
11556         (flow_get_props), (flow_set_props): add handling attribute.
11558         * objects/FS/flow-ortho.c: add related text properties.
11559         (orthflow_set_props), (orthflow_get_props): add handling attribute.
11561         * objects/ER/relationship.c: add PROP_STD_TEXT_FONT to property.
11563         * objects/ER/entity.c: ditto.
11565         * objects/ER/attribute.c: ditto.
11567 2002-02-26  Cyrille Chepelov  <cyrille@chepelov.org>
11569         Patch contributed by Geoff Gerrietts <ggerrietts@yahoo.com>:
11570         
11571         * autogen.sh: add a check for missing intltoolize.
11573 2002-02-20  Akira TAGOH  <tagoh@redhat.com>
11575         * lib/ps-utf8.c (unicode_to_ps_name): if this function calls with same
11576         charcode, it was registered the duplicate item to HashTable. fix.
11578         * app/render_gnomeprint.c (get_width_string): add new function.
11579         (draw_string): fix non-multibyte specific code.
11581 2002-02-19  Cyrille Chepelov  <cyrille@chepelov.org>
11583         Patch contributed by Matthieu Sozeau <mattam@netcourrier.com>:
11584         
11585         * lib/font.c: do not try to search paths that do not begin with
11586         '/', like X Font Server addresses.
11587         
11588         * objects/UML/message.c (message_draw): free mname when not 
11589         message->text but CREATE or DESTROY.
11590         
11591         * objects/UML/uml.h:
11592         * objects/UML/uml.c:
11593         * objects/UML/class_dialog.c: added code to handle a stereotype 
11594         attribute for operations.
11596 2002-02-19  Akira TAGOH  <tagoh@redhat.com>
11598         * lib/Makefile.am: add LIBART_CFLAGS.
11600 2002-02-15  Hans Breuer  <hans@breuer.org>
11602         * lib/font.c (font_get_suck_font): the black and white pixel values 
11603         need to be taken from a 1 bit colormap rather than the default colormap.
11604         (fixed again, last time was 2000-05-26)
11606         Also handle the case where GTK_TALKS_UTF8 and expects all strings
11607         passed in to be in this encoding.
11609         * lib/libdia.def : export suck_font_free()
11611         * lib/text.c (text_draw) : avoid circular dependency to ../app
11612         at least for the !USE_XIM case, where it is unnecessary.
11614 2002-02-15  Cyrille Chepelov  <cyrille@chepelov.org>
11616         Changes contributed by Matts Kivik <kivik@firstlinux.net>:
11617         
11618         * shapes/Circuit/microphone_de.(shape|xpm) (NEW):
11619         * sheets/Circuit.sheet.in: added new shape microphone
11620         * shapes/Circuit/speaker_de.shape: Added a connection point.
11621         
11622 2002-02-13  Akira TAGOH  <tagoh@redhat.com>
11624         * app/render_libart.c (draw_string): fixed build issue for Win32.
11626         * lib/font.c (font_get_suckfont): fixed typo. it could't build under
11627         Win32.
11629         * configure.in: fixed testing gtk_advancement.
11631         * app/render_gnomeprint.c (draw_string): uses utfchar instead of char.
11633 2002-02-12  Akira TAGOH  <tagoh@redhat.com>
11635         * lib/text.c (text_draw): fixed XIM position, when menubar is shown for
11636         diagram window.
11638 2002-02-11  Lars Clausen  <lrclause@cs.uiuc.edu>
11640         * app/group.c (group_copy): Made new object properly initialized
11641         before copy.
11643 2002-02-11  Steffen Macke <sdteffen@yahoo.com>
11645         * app/Makefile.am: added plug-ins to DIA_LIB_PATH in run_dia.sh
11646         
11647 2002-02-10  Akira TAGOH  <tagoh@redhat.com>
11649         * lib/text.c (text_draw): fixed XIM transaction.
11651         * app/interface.c (create_display_shell): add signal for
11652         size_allocate.
11654         * app/disp_callbacks.c (ddisplay_size_allocate): add new function for
11655         XIM transaction.
11656         (set_input_dialog): remove.
11657         (ddisplay_canvas_events): remove XIM transaction. it can't transact
11658         correctly on this function.
11660 2002-02-10  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
11662         * app/app_procs.c:
11663         * app/export_png.c: Added checks for interactivity (maybe this
11664         should be a hook after all?).
11666         * app/filedlg.c (file_export_callback): Made export dialog add
11667         suffix when reopened.
11669         * app/export_png.c: Added dialog asking for export size.
11671 2002-02-09  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
11673         * lib/widgets.c: Fixed font reselection problem and first font
11674         bogus warning.
11676         * objects/UML/actor.c (actor_update_data): Changed to have
11677         connection points below text.
11679 2002-02-08  Akira TAGOH  <tagoh@redhat.com>
11681         * lib/text.c (text_split_line): use g_strndup() instead of g_malloc()
11682         and memcpy().
11684 2002-02-07  Akira TAGOH  <tagoh@redhat.com>
11686         * lib/font.c (font_get_suckfont): rewrited. generating suckfont from
11687         strings which is given.
11688         (suck_font): remove. it's any longer needed.
11690         * app/render_libart.c (set_font): don't get suckfont.
11691         (draw_string): get suckfont only which is needed for now.
11693 2002-02-05  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
11695         * lib/text.c: Fixes for misunderstood width functions.
11697 2002-02-05  Hans Breuer  <hans@breuer.org>
11699         * lib/dia_xml.c : use g_strconcat() instead of 
11700         malloc, strcpy, strcat dance
11701         * app/properties.c : same here and plug memory leak
11702         (gtk functions don't eat strings)
11704         * objects/UML/message.c : there is no g_sprintf()
11705         use g_strdup_printf() instead ...
11707 2002-02-05  Akira TAGOH  <tagoh@redhat.com>
11709         * lib/message.c (gtk_message_internal): doesn't need to convert to
11710         UTF-8.
11712         * app/render_libart.c (draw_string): fixed transaction for UTF-8
11713         support.
11714         (get_text_width): ditto.
11716         * app/Makefile.am (EXTRA_DIST):
11717         s/paginate_gdiprint.c/paginate_gdiprint.cpp/
11719         * app/render_gdk.c (gdk_freetype_copy_glyph): fixed build issue.
11720         This function needs ifdef HAVE_FREETYPE because don't use it for
11721         --disable-freetype
11723 2002-02-04  Cyrille Chepelov  <cyrille@chepelov.org>
11725         * NEWS: updated with the new dependencies.
11726         
11727         Patch from Matthieu Sozeau <mattam@netcourrier.com>:
11729         * objects/UML/class.h:
11730         * objects/UML/class.c:  
11731         * objects/UML/class_dialog.c: added code to handle the UMLParameterKind
11732         property using a GtkMenu. Options are Undefined, In, Out, In & Out
11734 2002-02-04  Lars Clausen  <lrclause@cs.uiuc.edu>
11736         * app/render_libart.c: Slow but working libart freetype renderer,
11737         with color!
11739 2002-02-03  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
11741         * app/render_gdk.c (draw_string): Fixed gc_function bug.
11743         * lib/widgets.c (dia_font_selector_init): Sorts the font list.
11745         * lib/font.c (freetype_render_string): 
11746         * lib/font.h:
11747         * app/render_gdk.c:
11748         * app/render_gdk.h: Changed freetype_render_string to use
11749         callback.  Rendering is broken.
11751 2002-02-03  Cyrille Chepelov  <cyrille@chepelov.org>
11753         Patch from Matthieu Sozeau <mattam@netcourrier.com>:
11755         * objects/UML/uml.h:    
11756         * objects/UML/uml.c: added UMLInheritanceType and isQuery
11757         (constant) UML Operation attributes. UMLInheritanceType is either
11758         UML_ABSTRACT or UML_POLYMORPHIC  or UML_LEAF.
11760         * objects/UML/class.h:
11761         * objects/UML/class.c:  
11762         * objetcs/UML/class_dialog.c: added code to handle new
11763         UMLOperation attributes via a GtkMenu and a checkbox.
11765 2002-02-03  Akira TAGOH  <tagoh@redhat.com>
11767         * app/disp_callbacks.c (ddisplay_realize): fixed XIM issue.
11768         several client doesn't work with previous codes.
11770 2002-02-01  Lars Clausen  <lrclause@cs.uiuc.edu>
11772         * lib/font.c (freetype_render_string): Kerning.  Very few fonts
11773         seem to use it.
11775 2002-02-02  Akira TAGOH  <tagoh@redhat.com>
11777         * app/disp_callbacks.c (ddisplay_canvas_events): fixed crashes,
11778         when doing the operation like invert the objects after active view is
11779         destroyed. when changes focus, it needs to set active_display.
11781         * app/layer_dialog.c (dia_layer_update_from_layer):
11782         (layer_dialog_edit_layer): need to convert to locale encoding
11783         if GTK_DOESNT_TALK_UTF8_WE_DO is defined.
11784         (edit_layer_ok_callback):
11785         need to convert to UTF8 if GTK_DOESNT_TALK_UTF8_WE_DO is defined.
11787         * lib/diagramdata.c (new_diagram_data): ditto.
11789         * app/layer_dialog.c (layer_dialog_new_callback): ditto.
11791         * lib/diagramdata.c (new_layer): use utfchar instead of char for
11792         argument.
11794         * lib/widgets.c: if HAVE_FREETYPE isn't defined, it can't build. fixed.
11795         (dia_font_selector_set_styles): when HAVE_FREETYPE is defined only,
11796         it's needed for now. also this function needs prototype declaration.
11798 2002-01-31  Lars Clausen  <lrclause@cs.uiuc.edu>
11800         * lib/widgets.c: Style now functional on font selector.  Some leak
11801         possible, but doesn't show up under stress test.
11803 2002-01-31  Akira TAGOH  <tagoh@redhat.com>
11805         * app/plugin-manager.c (clist_select_row): name and description needs to
11806         convert to locale encoding, when GTK_DOESNT_TALK_UTF8_WE_DO is defined.
11807         (get_plugin_manager): ditto.
11809         * lib/plug-ins.c (dia_plugin_info_init): name needs to convert to UTF-8.
11811         * app/diagram_tree.c (get_object_name): fixed transaction for UTF-8
11812         support.
11814         * lib/prop_text.c (stringprop_reset_widget): fixed crashes,
11815         when prop->string_data is NULL.
11817 2002-01-30  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
11819         * lib/widgets.c: 
11820         * lib/widgets.h: New font selector separating font and style.
11821         Style not functional yet.
11823 2002-01-30  Lars Clausen  <lrclause@cs.uiuc.edu>
11825         * lib/text.c: 
11826         * app/render_gdk.c (draw_string): More freetype support, now
11827         renders text.  Still broken is font selection and exporting.
11829 2002-01-30  Akira TAGOH  <tagoh@redhat.com>
11831         * objects/chronogram/chronoref.c (chronoref_create): missing gettextize
11832         for font.
11834         * objects/chronogram/chronoline.c (chronoline_create): ditto.
11836         * objects/UML/usecase.c (usecase_create): ditto.
11838         * objects/UML/state.c (state_create): ditto.
11840         * objects/UML/object.c (objet_create): ditto.
11842         * objects/UML/node.c (node_create): ditto.
11844         * objects/UML/message.c (message_create): ditto.
11846         * objects/UML/component.c (component_create): ditto.
11848         * objects/UML/classicon.c (classicon_create): ditto.
11850         * objects/UML/actor.c (actor_create): ditto.
11852         * objects/SADT/box.c (sadtbox_create): ditto.
11854         * objects/SADT/annotation.c (annotation_create): ditto.
11856         * objects/GRAFCET/transition.c (TRANSITION_FONT): ditto.
11858         * objects/GRAFCET/step.c (STEP_FONT):
11859         * (step_create): ditto.
11861         * objects/GRAFCET/condition.c (CONDITION_FONT): ditto.
11863         * objects/GRAFCET/action.c (ACTION_FONT):
11864         (action_create): ditto.
11866         * objects/FS/function.c (function_create): ditto.
11868         * objects/FS/flow.c (flow_create):
11869         (flow_load): 
11870         (flow_apply_defaults): ditto.
11872         * objects/FS/flow-poly.c (flow_create):
11873         (flow_load):
11874         (flow_apply_defaults): ditto.
11876         * objects/FS/flow-ortho.c (orthflow_create):
11877         (orthflow_load):
11878         (orthflow_apply_defaults): ditto.
11880         * objects/ER/relationship.c: use utfchar instead of char for structure.
11881         (relationship_create): name needs to convert to UTF-8.
11883         * objects/ER/attribute.c: use utfchar instead of char for structure.
11884         (attribute_create): name needs to convert to UTF-8.
11886         * objects/ER/entity.c: use utfchar instead of char for structure.
11887         (entity_create): name needs to convert to UTF-8.
11889         * app/interface.c (fill_sheet_wbox): needs to convert UTF-8 to locale
11890         encoding for tooltips, if GTK_TALKS_UTF8 isn't defined.
11891         (fill_sheet_menu): needs to convert UTF-8 to locale encoding for menu
11892         items. if GTK_TALKS_UTF8 isn't defined.
11894 2002-01-29  Akira TAGOH  <tagoh@redhat.com>
11896         * objects/UML/class.c (umlclass_calculate_data): fixed malloc size.
11897         it was my careless mistake...
11899         * lib/attributes.c (attributes_set_default_font): temporarily gettextize
11900         a font name, because there are strings which isn't shown by "Courier".
11901         We need to consider a way to feel free to choose a font at runtime.
11903         * lib/render_object.c (render_object_load): ditto.
11905         * lib/text.c (data_text): ditto.
11907         * objects/EML/instantiation.c (instantiation_create): ditto.
11909         * objects/EML/interaction-ortho.c (interaction_ortho_create):
11910         (interaction_ortho_load): ditto.
11912         * objects/EML/interaction.c (interaction_create):
11913         (interaction_load): ditto.
11915         * objects/EML/process.c (fill_in_fontdata): ditto.
11917         * objects/ER/attribute.c (attribute_create): 
11918         (attribute_load): ditto.
11920         * objects/ER/entity.c (entity_create): 
11921         (entity_load): ditto.
11923         * objects/ER/relationship.c (relationship_create): 
11924         (relationship_load): ditto.
11926         * objects/UML/association.c (association_create): 
11927         (association_load): ditto.
11929         * objects/UML/class.c (fill_in_fontdata): ditto.
11931         * objects/UML/constraint.c (constraint_create): ditto.
11933         * objects/UML/dependency.c (dependency_create): ditto.
11935         * objects/UML/generalization.c (generalization_create): ditto.
11937         * objects/UML/implements.c (implements_create): ditto.
11939         * objects/UML/large_package.c (largepackage_create): ditto.
11941         * objects/UML/note.c (note_create): ditto.
11943         * objects/UML/realizes.c (realizes_create): ditto.
11945         * objects/UML/small_package.c (smallpackage_create): ditto.
11947         * objects/custom/shape_info.h (FONT_DEFAULT): ditto.
11949         * objects/custom/custom_object.c (custom_create): ditto.
11951         * objects/network/antenna.c (render_to_store): ditto.
11953         * objects/network/computer.c (render_to_store): ditto.
11955         * objects/network/disc.c (render_to_store): ditto.
11957         * objects/network/flash.c (render_to_store): ditto.
11959         * objects/network/hub.c (render_to_store): ditto.
11961         * objects/network/modem.c (render_to_store): ditto.
11963         * objects/network/modularswitch.c (render_to_store): ditto.
11965         * objects/network/monitor.c (render_to_store): ditto.
11967         * objects/network/printer.c (render_to_store): ditto.
11969         * objects/network/rj45plug.c (render_to_store): ditto.
11971         * objects/network/scead-plug.c (render_to_store): ditto.
11973         * objects/standard/textobj.c (textobj_load): ditto.
11975         * objects/sybase/client.c (render_to_store): ditto.
11977         * objects/sybase/dataserver.c (render_to_store): ditto.
11979         * objects/sybase/ltm.c (render_to_store): ditto.
11981         * objects/sybase/repserver.c (render_to_store): ditto.
11983         * objects/sybase/rsm.c (render_to_store): ditto.
11985         * objects/sybase/stableq.c (render_to_store): ditto.
11987         * plug-ins/dxf/dxf-import.c (read_entity_text_dxf): ditto.
11989         * objects/UML/uml.h (UML_STEREOTYPE_START):
11990         (UML_STEREOTYPE_END): changes default strings.
11992 2002-01-28  Akira TAGOH  <tagoh@redhat.com>
11994         * objects/UML/stereotype.c (string_to_bracketted): fixed transaction
11995         for UTF-8 support. if GTK+ and Dia don't handle UTF-8, all of characters
11996         which is given to arguments isn't UTF-8. so don't need to convert it.
11997         if GTK+ handle UTF-8, also don't need to convert it.
11998         (strend): remove.
11999         (bracketted_to_string): fixed transaction for UTF-8 support.
12000         also start/end bracket is not necessarily 1 character. so that when use
12001         strend(), it doesn't work correctly.
12002         (string_to_stereotype): use utfchar instead of char.
12003         (remove_stereotype_from_string): ditto.
12004         (stereotype_to_string): ditto.
12006         * objects/UML/stereotype.h: ditto.
12008         * objects/UML/message.c: use utfchar instead of char for structure.
12009         (MESSAGE_CREATE_LABEL, MESSAGE_DESTROY_LABEL): remove.
12011         * objects/UML/small_package.c: use utfchar instead of char for structure.
12013         * objects/UML/realizes.c: ditto.
12015         * objects/UML/object.c: ditto.
12017         * objects/UML/large_package.c: ditto.
12019         * objects/UML/implements.c: ditto.
12021         * objects/UML/generalization.c: ditto.
12023         * objects/UML/dependency.c: ditto.
12025         * objects/UML/constraint.c: ditto.
12027         * objects/UML/component.c: ditto.
12029         * objects/UML/class_dialog.c (attributes_get_current_values):
12030         (attributes_list_new_callback, attributes_fill_in_dialog):
12031         (parameters_set_values, parameters_get_values):
12032         (parameters_get_current_values, parameters_list_new_callback):
12033         (operations_set_values, operations_get_values):
12034         (operations_get_current_values, operations_list_new_callback):
12035         (operations_fill_in_dialog, templates_set_values):
12036         (templates_get_values, templates_get_current_values):
12037         (templates_list_new_callback, templates_fill_in_dialog):
12038         fixed transaction for UTF-8 support.
12040 2002-01-27  Akira TAGOH  <tagoh@redhat.com>
12042         * objects/UML/message.c (message_draw): fixed transaction for UTF-8 support.
12044         * objects/UML/class_dialog.c (class_read_from_dialog):
12045         (class_fill_in_dialog):
12046         (attributes_get_values): ditto.
12048         * objects/UML/actor.c (actor_create): ditto.
12050         * objects/UML/class.c (umlclass_calculate_data): ditto.
12052         * objects/UML/association.c (association_apply_properties):
12053         (fill_in_dialog): ditto.
12055         * objects/UML/uml.c (uml_get_attribute_string):
12056         (uml_get_operation_string):
12057         (uml_get_parameter_string):
12058         (uml_get_formalparameter_string): use utfchar instead of char.
12060         * objects/UML/uml.h: gettextize UML_STEREOTYPE_START and
12061         UML_STEREOTYPE_END.
12063         * objects/UML/class.h: use utfchar instead of char.
12065         * lib/dia_xml.c (data_add_string): ditto.
12067         * lib/text.c (text_insert_char): fixed characters# calculation
12068         when includes multibytes character in strings.
12070 2002-01-26  Steffen Macke  <sdteffen@yahoo.com>
12072         Patch from Richard Rowell <rwrowell@bellsouth.net>:
12074         * app/lineprops_area.c:
12075         * lib/arrows.h:
12076         * lib/arrows.c: 
12077         * lib/widgets.c: added crow foot arrow and cross arrow
12078         
12079         Patch from Frank Gevaerts <frank.gevaerts@fks.be>:
12080         
12081         * plug-ins/svg/render_svg.c: fixed arcs, fill and text alignment
12083 2002-01-26  Cyrille Chepelov  <cyrille@chepelov.org>
12085         * po/update.pl (REMOVED):
12086         * po/update.sh (REMOVED):
12087         * xml-i18n-merge.in.kg (REMOVED):
12088         * xml-i18n-update.in.kg (REMOVED):
12089         * sheets/Makefile.am:
12090         * Makefile.am:
12091         * autogen.sh:
12092         * configure.in: converted from xml-i18n-tools to intltools
12094         This looks like it fixes the build bugs of the snapshot tarballs, 
12095         and it supersedes #69611.       
12097 2002-01-25  Akira TAGOH  <tagoh@redhat.com>
12099         * lib/text.c (text_insert_char): fixed characters# calculation.
12100         it's not string length.
12102         * lib/plug-ins.c (dia_plugin_info_init): when GTK_DOESNT_TALK_UTF8_WE_DO
12103         is defined, needs to convert a description to UTF-8.
12105         * app/render_gdk.c (get_text_width): fixed transaction for
12106         UTF-8 support. also should uses gdk_text_width_wc() instead
12107         of gdk_text_width().
12109         * app/render_gdk.c (draw_string): when GTK_DOESNT_TALK_UTF8_WE_DO
12110         is defined, needs to convert to locale encoding for display.
12111         Also use utfchar instead of char for argument.
12113 2002-01-24  Hans Breuer  <hans@breuer.org>
12115         * app/commands.c(edit_paste_callback and more) : 
12116         call diagram_modified(ddisp->diagram) to fix #68083
12117         (help_menu_callback) : plug a DIR leak
12119         * app/disp_callbacks.c(ddisplay_canvas_events) : handle 
12120         GTK_TALKS_UTF8_WE_DONT
12122         * app/render_gdk.c(get_text_with) : it's a bad idea to use
12123         gdk_string_with() when GTK_TALKS_UTF8_WE_DONT instead of
12124         gdk_text_width(). The length value is still questionable ...
12126         * lib/charconv.c : use functions already available in early
12127         GLIB-1.3 days whiches API hasn't changed since, to avoid
12128         version problems with the win32 build
12130         * lib/font.c : finally fix #58045 and #68208
12132         * lib/dia_xml.c (xmlDiaSaveFile) : gzdopen in binary mode
12134 2002-01-24  Akira TAGOH  <tagoh@redhat.com>
12136         * app/disp_callbacks.c (ddisplay_canvas_events): when event returned
12137         no strings, fixed transaction.
12139         * lib/charconv.h: fixed typo.
12141         * app/menus.c: fixed typo.
12143         * lib/charconv.c (charconv_utf8_strchr): remove. use uni_strchr instead.
12145         * objects/UML/object.c: attrib's type uses utfchar instead of char.
12147         * app/disp_callbacks.c (ddisplay_canvas_events): forget g_free()
12149         * lib/text.c (text_create_change): use unichar instead of char.
12151         * lib/text.c (data_add_text, data_text, apply_textstr_properties):
12152         use utfchar instead of char.
12154         * lib/text.c (text_insert_char, text_key_event): fixed transaction for
12155         UTF-8 support.
12157         * lib/charconv.c (charconv_utf8_get_char): add new function.
12159 2002-01-23  Akira TAGOH  <tagoh@redhat.com>
12161         * lib/text.c (text_delete_forward, text_delete_backward,
12162         text_split_line): fixed transaction for UTF-8 support.
12164         * lib/text.c (text_copy): when UNICODE_WORK_IN_PROGRESS is defined,
12165         strlen[] has string length for UTF-8, so has to use alloclen[].
12167         * dia.pot: remove.
12169         * .cvsignore: add dia.pot.
12171 2002-01-24  Stanislav Visnovsky  <visnovsky@nenya.ms.mff.cuni.cz>
12173         * configure.in: Added "sk" to ALL_LINGUAS.
12175 2002-01-22  Akira TAGOH  <tagoh@redhat.com>
12177         * lib/text.c (text_set_string, new_text, text_copy,
12178         text_get_string_copy, text_join_lines): use utfchar instead of gchar
12179         for strings.
12181         * lib/text.c (set_string): use charconv_utf8_strchr() instead of
12182         strchr().
12184         * lib/charconv.c (charconv_utf8_strchr): add new function.
12186         * lib/charconv.c (charconv_keyval_to_unicode): ditto.
12188         * lib/charconv.c (charconv_utf8_from_gtk_event_key): ditto.
12190         * app/disp_callbacks.c (ddisplay_canvas_events): needs to convert
12191         strings to the appropriate encoding.
12193 2002-01-22  Lars Clausen  <lrclause@cs.uiuc.edu>
12195         * app/object_ops.c (object_list_align_[hv]): Leak fix.
12197         * lib/Makefile.am (INCLUDES): Added debug flags.
12199         * app/object_ops.c: Fixed ordering problem of align equi-distant &
12200         adjacent. 
12202 2002-01-21  Akira TAGOH  <tagoh@redhat.com>
12204         * lib/font.c (font_string_width): use gdk_text_width_wc() instead of
12205         gdk_string_width().
12207         * objects/GRAFCET/boolequation.c: fixed invalid comment.
12209         * objects/UML/stereotype.c (string_to_bracketted): fixed build problem
12210         when defined UNICODE_WORK_IN_PROGRESS.
12212         * lib/dia_xml.c (data_add_string): fixed typo.
12214 2002-01-20  Akira TAGOH  <tagoh@redhat.com>
12216         * configure.in: fixed test gtk_advancement.
12218 2002-01-019  Steffen Macke  <sdteffen@yahoo.com>
12220         * plug-ins/svg/render_svg.c: fix for #69053, alignment of text
12221         exported to SVG
12223         Patch from M.C. Nelson <mcn@mani.kobayashimaru.org>: 
12225         * app/recent_files.[ch]: reworked to support GNOME, accelerators,
12226         tool tips, preferences, and arbitrarily long ~/.dia/history
12228         * app/menus.c: made 'Plugins' consistantly spelled and accelerated;
12229         removed 'Open Recent'; added new separators for recent documents on
12230         File menu.
12232         * app/interface.[ch] (interface_get_toolbox_shell): new function
12234         * app/diagram.c: added new parameter to recent_file_history_add() call
12236         * app/preferences.[ch]: added new 'Recent documents list size'
12237         preferences item
12238         
12239 2002-01-18  Akira TAGOH  <tagoh@redhat.com>
12241         * lib/font.c (font_get_gdkfont_helper): use gdk_fontset_load ().
12242         if it failed, should be used gdk_font_load ().
12244         * lib/font.c (font_data): added the font entries for CJK.
12246 2002-01-17  Steffen Macke  <sdteffen@yahoo.com>
12248         Patch from M.C. Nelson <mcn@mani.kobayashimaru.org>:
12250         * app/menus.c: replaced GDK_F1 with "F1" to fix segfault on startup
12251         
12252 2002-01-04  Cyrille Chepelov  <cyrille@chepelov.org>
12254         Patch from Martin Cracauer <cracauer@cons.org>:
12255         
12256         * app/menus.c: add missing #include <gdk/gdkkeysyms.h> (useful in the
12257         non-GNOME case ?)
12259 2002-01-01  Hans Breuer  <hans@breuer.org>
12261         * app/command.c : optional use GDI printing on windoze
12263         * app/preferences.[hc] : add option 'prefer_psprint' to 
12264         select the print engine to use (could be used for Dia/Gnome
12265         as well)
12267         * app/paginate_gdiprint.(h|cpp) : new files, which interlink the
12268         wmf plug-in with the common win32 print api. Now printing
12269         should work almost as expected from a windows program :-)
12271         * app/diagram.c app/menus.[hc] : rename _UpdatableMenuItems.delete
12272         to .edit_delete to avoid clashes with C++
12274         * app/makefile.msc : updated for GDI printing
12276         * plug-ins/wmf/wmf.cpp : some small modifications to support
12277         GDI printing. Also swap R and B channel in draw_image()
12279         * app/makefile.am : added windows only files to EXTRA_DIST
12281         * objects/uml/class.c(umlclass_set_props) : force recalculation
12282         when applying properties
12284         * lib/charconv.c lib/dia_xml.c : temporary back-ported to
12285         glib-1.3.2 (for win32) IMHO causes recent cvs introduces too
12286         many incompatible changes (and would force a gtk update)
12288         * objects/makefile.msc : don't build C-Objects which are
12289         already available as 'pure shape'
12291         * plug-ins/makefile.msc : remove diaimport from build. It was
12292         only available via mailing-list and is broken since the
12293         StdProp overhaul.
12296         Patch from Jose A Ortega Ruiz  <jaortega@acm.org>
12298         * app/preferences.[hc] : tweaked preferences.c to make 
12299         PREF_STRING work. Use it for 'diagram_tree_hidden'. Also
12300         added some more DiagramTree prefererences and their own
12301         notebook page.
12303         * app/diagram_tree.[hc] : allow to sort by object type or name
12304         and hide by type ...
12305         * app/diagram_tree_menu.[hc] : ... add respective menu entries ...
12306         * app/diagram_tree_menu_callbacks.[hc] : ... and callbacks.
12308         * app/diagram_tree_window.c : handle hidden types and window
12309         size restoring.
12311 2001-12-20  Hans Breuer  <hans@breuer.org>
12313         * plug-ins/python/Makefile.am : patch from Peter Moulder 
12314         <pmoulder@csse.monash.edu.au> to make the python plug-in
12315         compile on *nix too.
12317 2001-12-03  Cyrille Chepelov  <chepelov@calixo.net>
12319         Patch from Alan <horkana@tcd.ie>:
12321         * app/menus.c: bind the F1 shortcut to the Help/_Manual function.
12323 2001-11-20  Hans Breuer  <hans@breuer.org>
12325         * app/makefile.msc : add new diagram_tree_menu(_callbacks).obj
12327 2001-11-18  Jose A Ortega Ruiz  <jaortega@acm.org>
12329         * app/diagram_tree.[hc] : Added new functions and types for
12330         sorting diagram and objects, and attaching the popup menus.
12332         * app/preferences.h: Added more diagram tree preferences, using a
12333         DiagramTreeConfig struct in DiaPreferences. The new prefs are the
12334         height and width of the diagram tree window and the default sort
12335         orders for diagrams and objects.
12337         * app/preferences.c (prefs_data): Added new entries for the new
12338         diagram tree preferences.
12340         * app/preferences.c (prefs_tabs): New tab for diagram tree
12341         preferences.
12343         * app/diagram_tree_window.[hc] (create_diagram_tree_window): 
12344         * app/diagram_tree_window.c (diagram_tree_window_new): 
12345         * app/interface.c (create_tree_window): The diagram tree window is
12346         initialised using the DiagramTreeConfig part of prefs.
12349 2001-11-14  Jose A Ortega Ruiz  <jaortega@acm.org>
12351         * app/diagram_tree_menu.[hc]: New files. Functions to create the
12352         diagram tree popup menus.
12354         * app/diagram_tree_menu_callbacks.[hc]: New files. Callbacks for
12355         the diagram tree popup menus.
12357         * app/Makefile.am (dia_core_files): diagram_tree_menu* files
12358         added.
12360 2001-11-13  Jose A Ortega Ruiz  <jaortega@acm.org>
12362         * app/diagram_tree.c (double_click_callback, diagram_tree_new):
12363         double-clicking a diagram tree node raises the diagram window
12364         to the foreground (and, if a object node was clicked, selects the
12365         object in the diagram).
12367         * app/diagram_tree.c (select_tree_widget): selecting an object
12368         node with single click simply updates it (no raise).
12370 2001-11-08  Jose A Ortega Ruiz  <jaortega@acm.org>
12371         These changes make the diagram tree lazy: it is not created unless
12372         the diagram tree window is requested.
12373         
12374         * app/diagram_tree_window.[hc] (create_diagram_tree_window): new
12375         function for creating the tree window.
12377         * app/interface.c (create_tree_window): call
12378         create_diagram_tree_window() instead of diagram_window().
12380         * app/diagram_tree.c (diagram_tree_add, diagram_tree_remove) 
12381         (diagram_tree_update, diagram_tree_update_name) 
12382         (diagram_tree_add_object, diagram_tree_add_objects) 
12383         (diagram_tree_remove_object, diagram_tree_remove_objects) 
12384         (diagram_tree_update_object): accept a NULL tree as a nominal
12385         argument (and do nothing in this case!), so that the diagram tree
12386         is not initialised if not used.
12388         * app/diagram_tree_window.c (diagram_tree): do not create the
12389         diagram tree until diagram_window() or diagtree_show_callback()
12390         are invoked.
12392 2001-10-31  Jose A Ortega Ruiz  <jaortega@acm.org>
12393         [slightly modified and applied from Hans Breuer <hans@breuer.org>]
12395         * app/diagram_tree_window.[hc] : (new files) implementation of 
12396         the diagram tree window, a container for a diagram tree. [Removed
12397         the horizontal scroll bar glitch by disableing it]
12399         * app/diagram_tree.[hc] : (new files) implementation of the 
12400         diagram tree widget. [Don't rely on the layers GPtrArray to be
12401         NULL terminated, but use its ->len field] 
12403         * app/Makefile.am (dia_core_files): added new files
12404         diagram_tree.[hc] and diagram_tree_window.[hc]
12406         * app/interface.[hc] : (create_tree_window): this function 
12407         creates the new diagram tree window widget
12409         * app/undo.c (delete_objects_apply) (delete_objects_revert) 
12410         (insert_objects_apply) (insert_objects_revert) (group_objects_apply) 
12411         (ungroup_objects_apply) (ungroup_objects_revert): 
12412         every time that an undoable command modifies a diagram 
12413         adding/removing/(un)grouping objects, a diagram_tree_something() is 
12414         invoked to keep the diagram tree window in sync
12416         * app/properties.c (properties_apply): call to
12417         diagram_object_modified(), which updates the diagram tree window
12418         when the properties of an object are modified
12420         * app/preferences.[hc] : new "show_diagram_tree" configuration option 
12421         (whether the diagram tree window should be shown on dia startup)
12423         * app/menus.c : added '<Toolbox>/File/Diagram Tree' entry
12425         * app/diagram.h (diagram_object_modified): callback notifying of a
12426         diagram object modification
12428         * app/diagram.c (diagram_load_into): added call to
12429         diagram_tree_add() to add newly loaded diagrams to the diagram
12430         tree window
12431         (diagram_destroy): call to diagram_tree_remove() to remove a
12432         destroyed diagram from the diagram tree window
12433         (diagram_add_object): call to diagram_tree_add_object() to add an
12434         object to the diagram tree window
12435         (diagram_add_object_list): as above, but with an object list
12436         (diagram_selected_break_external): deletion of objects from the
12437         diagram is detected here, and diagram_tree_remove_object() is
12438         invoked to remove the object from the diagram tree window (it
12439         would be nice to have a diagram_remove_object() in the Diagram
12440         interface)
12441         (diagram_set_filename): update the diagram tree window when a
12442         diagram's filename changes
12444         * app/commands.c (file_new_callback): added call to
12445         diagram_tree_add() to add newly created diagrams to the diagram
12446         tree window
12448         * app/app_procs.c (app_init): added call to create_tree_window()
12450         * app/makefile.msc : updated
12452 2001-10-28  Hans Breuer  <hans@breuer.org>
12454         * app/preferences.h (DiaPreferences): 
12455         * app/preferences.c (prefs_data): new "show_diagram_tree"
12456         configuration option (whether the diagram tree window should be
12457         shown on dia startup)
12459         * app/menus.c: added the new "<Toolbox>/View/Diagram tree" menu
12460         entry (both for GNOME and gtk)
12462         * app/diagram.h (diagram_object_modified): callback notifying of a
12463         diagram object modification
12465         * app/diagram.c (diagram_load_into): added call to
12466         diagram_tree_add() to add newly loaded diagrams to the diagram
12467         tree window
12468         (diagram_destroy): call to diagram_tree_remove() to remove a
12469         destroyed diagram from the diagram tree window
12470         (diagram_add_object): call to diagram_tree_add_object() to add an
12471         object to the diagram tree window
12472         (diagram_add_object_list): as above, but with an object list
12473         (diagram_selected_break_external): deletion of objects from the
12474         diagram is detected here, and diagram_tree_remove_object() is
12475         invoked to remove the object from the diagram tree window (it
12476         would be nice to have a diagram_remove_object() in the Diagram
12477         interface)
12478         (diagram_set_filename): update the diagram tree window when a
12479         diagram's filename changes
12481         * app/commands.c (file_new_callback): added call to
12482         diagram_tree_add() to add newly created diagrams to the diagram
12483         tree window
12485         * app/app_procs.c (app_init): added call to create_tree_window()
12487 2001-10-28  Hans Breuer  <hans@breuer.org>
12489         * plug-ins/python/pydia-property.c : apparently I missed
12490         to commit this last time. Now it has some more SetAttr
12491         support (apply from property)
12493         * plug-ins/python/pydia-properties.h : added PyDiaProperty_Check
12495         * plug-ins/python/pydia-text.[ch] : new files
12497 2001-10-14  Hans Breuer  <hans@breuer.org>
12499         * lib/charconv.c : g_locale_to_utf8() does not handle NULL
12500         strings. Use g_strdup() for these.
12502         libxml2 does not produce 'any extra indentation when saving a tree'
12503         [libxml2-2.4.2/doc/upgrade.html] anymore, which was the default with
12504         libxml(1). To get human readable XML some extra tweaking is required.
12505         It is enabled by setting 'pretty_formated_xml' to 'true' in 'diarc'.
12506         * lib/dia_xml.[hc] : provide and use 'DIAVAR pretty_formated_xml'
12507         * app/preferences.[ch] : initialize 'pretty_formated_xml'
12509         * lib/libdia.def : updated externals
12511         * lib/properties.h : add prototype for prop_list_from_single ()
12513         * plug-ins/makefile.msc : build metapost plug-in
12515         * plug-ins/metapost/render_metapost.c : msvc does not like
12516         switch labels without operation 'default: }'. Added a noop.
12518         * plug-ins/python/pydia-text.[hc] : (new files) wrap DiaText
12519         * plug-ins/python/diamodule.c : added PyDiaText 
12520         * plug-ins/python/makefile.msc : dito. Also added LIBXML_CFLAGS.
12521         Although the python plug-in does not use libxml at all, the
12522         headers are required to use the lib/prop*.h headers
12524         * plug-ins/python/pydia-diagramdata.c : added wrappers for
12525         update_extents and get_sorted_selected (should I duplicate
12526         more functions from PyDiaDiagram or should they be moved?)
12528         * plug-ins/python/pydia-properties.c : allow to set (some) properties
12529         through the dictionary api
12530         * plug-ins/python/pydia-property.h : declare PyDiaProperty_ApplyToObject
12531         * plug-ins/python/pydia-property.c : implement it (currently only
12532         string properties can be set)
12534         Reimplement PyDiaProperty_GetAttr by means of the new StdProp api.
12535         Quoting myself: 'Still not convinced that this is better than an 
12536          integral property->type and some casting ...
12537          It is trading a straightforward 40 lines switch statement to
12538          this nice 'type safe' function mapping (about 125 lines)'
12539         (But now it works again, better than changing the News file :)
12540         
12541 2001-10-14  Cyrille Chepelov  <chepelov@calixo.net>
12543         patch from <robert.young@dsto.defence.gov.au>: 
12544         * objects/UML/component.c: remember to set font in UML component
12545         object (fixes #62132)   
12547 2001-10-02  Lars Clausen  <lrclause@cs.uiuc.edu>
12549         * plug-ins/metapost/metapost.c: 
12550         * plug-ins/metapost/Makefile.am:
12551         * plug-ins/metapost/render_metapost.c:
12552         * plug-ins/metapost/render_metapost.h:
12553         Metapost renderer from Chris Sperandio
12555 2001-09-14  Hans Breuer  <hans@breuer.org>
12557         * app/render_gdk.c : reflect the fact, that GTK already talks
12558         UTF8 on win32, fixes #59982, #56100, (#55992 ?) ...
12560         * lib/font.c : 
12561         * app/render_libart.c : trying to fix #58045 but it appears
12562         to be an Gdk/win32, too. 
12564         * lib/charconv.c : handle utf8 conversion with the help of
12565         glib-1.3 even in the !HAVE_UNICODE case.
12567         * lib/dia_xml.c : reduce complaing about missing encoding, by
12568         detecting if the default (utf8) would break the file.
12570 2001-09-13  Cyrille Chepelov  <chepelov@calixo.net>
12572         * lib/charconv.c: (get_local_charset): at least please try to not 
12573         silently change the logic, while avoiding crashes. 
12575         * lib/font.c: (suck_font): put a #error, we have a nasty something
12576         to fix there before we switch to Gtk 2.0.
12577         
12578 2001-09-09  Hans Breuer  <hans@breuer.org>
12580         * **/makefile.mingw : Approach to compile Dia with mingw.
12581         Compiling mostly works but running does not (yet) ... 
12583         * lib/geometry.h : 
12584         - use G_OS_WIN32 instead of _MSC_VER to drag in isinf, etc. definitions. 
12585           Apparently mingw needs it too.
12586         - enable 'normalization' of a null verctor. Otherwise the beziergon
12587           bounding box calculation would be broken at least with msvc. What's
12588           the mathematical correct result of 0.0/0.0 ?
12590         * lib/dia_xml.c : isinf() for mingw too.
12592         * lib/dia_dirs.c : use MAX_PATH instead of _MAX_PATH (works for mingw 
12593         and msvc)
12595         * lib/charconv.c : still crashes if strcmp(NULL, "UTF-8"). 
12596         Please don't do it.
12598         * lib/font.c : Trying to reflect that GTK_TALKS_UTF8_WE_DONT
12600         * lib/libdia.def : updated externals. Apparently mingw needs
12601         them to produce the right mangling.
12603         * plug-ins/shape/shape-exports.c : get prototypes for xmlStrdup
12604         and xmlDiaSaveFile
12606 2001-09-08  Wang Jian  <lark@linux.net.cn>
12608         * configure.in(ALL_LINGUAS): Renamed zh_CN.GB2312 to zh_CN
12610 2001-09-07  Cyrille Chepelov  <chepelov@calixo.net>
12612         * lib/dia_xml_libxml.h:
12613         * lib/dia_xml.c: (data_add_string), (xmlDiaSaveFile): Duplicated
12614         libxml1's code, to rework the output file before it gets committed
12615         to disk. This is rubbish, and will be removed when libxml2
12616         switches from discouraged to mandatory. 
12617         All in all, this fixes #60152. 
12618         
12619         * lib/charconv.h: 
12620         * lib/charconv.c: (charconv_unichar_to_utf8):
12621         made the type of the input parameter explicitly an unsigned long.
12623         * configure.in: Added a check for libz (we must now include it
12624         explicitly, for xmlDiaSaveFile).
12625         
12626         * app/load_save.c: (diagram_data_save):
12627         * lib/plug-ins.c: (ensure_pluginrc), (info_fill_from_pluginrc),
12628         (dia_pluginrc_write):
12629         * plug-ins/shape/shape-export.c: (new_shape_renderer),
12630         (end_render), (draw_string):
12631         * plug-ins/svg/render_svg.c: (new_svg_renderer), (end_render),
12632         (draw_string):
12634         Made sure we always write UTF-8 XML files, and through
12635         xmlDiaSaveFile().
12637         * NEWS: documented that fact.
12638         
12639 2001-09-07  James Henstridge  <james@daa.com.au>
12641         * configure.in (found_libxml): refactor the check for libxml a
12642         little so that it handles finding both libxml1 and 2 better.
12644 2001-09-03  Cyrille Chepelov  <chepelov@calixo.net>
12646         * app/app_procs.c: removed a spurious } which caused a compilation
12647         error in the (!HAVE_GNOME && HAVE_POPT_H) case
12649         * lib/charconv.c: (get_local_charset): some versions of iconv(1)
12650         don't know what ANSI X3.4-1968 is. I didn't know until this day,
12651         but it's just plain old ASCII. Added a check to shield the poor
12652         XML library.
12654         Patches from <robert.young@dsto.defence.gov.au>:
12656         * lib/text.c: (text_calc_boundingbox) Bounding box now calculates the
12657         width and height of text before calculating bounds. Fixes #59928
12659         * app/preferences.c: Moved grid related items into Grid Tab.
12660         
12661 2001-09-02  Cyrille Chepelov  <chepelov@calixo.net>
12663         * app/interface.c: (create_zoom_widget): connected one more signal
12664         to the Zoom selector combo's list. Fixes #59879.
12666         * app/app_procs.[ch]: (app_init) (do_convert)
12667         (build_output_file_name): brought back into the main executable
12668         the rare useful bits of the ill-fated diaconv. This means we have
12669         one new feature : --export-to-format (-t), which should make
12670         writing conversion scripts easier, and a crude implementation of
12671         -t and -e for the poptless argument parsing, which means the Win32
12672         port should be able to take advantage of it (that should make
12673         resolving #58197 possible).
12675         * app/diaconv.c: kept the poor duck compiling (but that's about
12676         it).
12678         * plug-ins/svg/render_svg.c: updated the SVG DTD header (I hope
12679         I've got it right).
12681         * NEWS: updated about the new feature above, and documented the 
12682         "missing encoding specification" complaint. 
12683         
12684 2001-09-01  Abel Cheung  <maddog@linux.org.hk>
12686         * configure.in: Rename zh_TW.Big5 -> zh_TW in ALL_LINGUAS.
12688 2001-09-01  Cyrille Chepelov  <chepelov@calixo.net>
12690         * objects/standard/bezier.c: used g_new0 instead of g_new, to take
12691         care of #59837.
12693 2001-09-01  James Henstridge  <james@daa.com.au>
12695         * */Makefile.am: various changes to include missing files, and fix
12696         sheets dir to handle building with builddir != srcdir.
12698         * autogen.sh: unconditionally pass the --enable-maintainer-mode
12699         and --enable-db2html flags so that builds from CVS work correctly.
12701         * configure.in: increment version number.  Also add an
12702         --enable-db2html flag.  Without the flag, db2html won't be run (if
12703         the flag is passed and db2html is not present, do nothing).
12705 2001-08-30  Cyrille Chepelov  <chepelov@calixo.net>
12707         * lib/poly_conn.c: (polyconn_copy): it's a wonder this routine
12708         even compiled. It's really too bad there is no lint tool easily
12709         available (or a more cautious, pedandic, paranoid and verbose
12710         compiler). Anyway, this fixes #59662. (this didn't affect 0.88.x)
12712 2001-08-27  Cyrille Chepelov  <chepelov@calixo.net>
12714         * app/load_save.c:
12715         * dia/lib/plug-ins.c: use g_strdup() instead of strdup(). Patch
12716         from <robert.young@dsto.defence.gov.au>. Fixes #59591.
12718         * app/menu.c: added ellipsis(...) to diagram properties menu item.
12719         * app/dia-props.c: diagram properties dialog contents did not
12720         represent current diagram settings.
12721         * app/dia-props.[ch]:
12722         * app/display.c: diagram properties contents now follows currently
12723         selected diagram.
12724         Patch also from <robert.young@dsto.defence.gov.au>, fixes #59409.
12726         * AUTHORS: added Robert Young.
12727         
12728 2001-08-27  Cyrille Chepelov  <chepelov@calixo.net>
12730         * app/modify_tool.c: (modify_button_release): Patch from
12731         <robert.young@dsto.defence.gov.au>. Fixes the remaining bit from
12732         #59090: if selection dragging was released outside of the window, 
12733         artifacts of the selection box remained.
12735 2001-08-25  Cyrille Chepelov  <chepelov@calixo.net>
12737         * Objects/custom/shape_info.c: added missing #include <xmlmemory.h>
12739 2001-08-19  Cyrille Chepelov  <chepelov@calixo.net>
12741         * configure.in:
12742         * sheets/Makefile.am: prepared the terrain for the Version of
12743         xml-i18n-tools Which Comes After 0.9 (and which will feature at
12744         last a sane behaviour with XML files). Some reasonible delay
12745         before enforcing that version *will* be given.
12747         * xml-i18n-merge.in.kg: included the current CVS xml-i18n-merge.in
12748         
12749         * lib/plug-ins.c: <xmlmemory.h> defines xmlFree(), otherwise it
12750         becomes a nonexistent symbol.
12751         
12752 2001-08-18  Hans Breuer  <hans@breuer.org>
12754         * app/app_procs.c : made it compile without ENABLE_NLS
12756         * app/diap_callbacks.c : strcmp isn't guaranteed to work
12757         with NULL pointers
12759         * app/load_save.c :
12760         * lib/plug-ins.c : 
12761         * objects/custom/shape_info.c : avoid mixing allocators and dealocators. 
12762         It has to be :
12763                 xmlGetProp, ... -> xmlFree
12764                 malloc, strdup -> free
12765                 g_new, g_malloc, g_strdup - > g_free
12767         * app/win32print.c : some more error checking, still not
12768         working on Win9x
12770         * lib/charconv.c : get_local_charset is used even with !HAVE_UNICODE
12772         * lib/dia_xml.c : msvc still has no unistd.h
12774         * lib/dia_xml.c :
12775         * lib/sheets.c : temporary resolved libxml include brokeness
12777         * plug-ins/python/pydia-*.c : reflect Font and StdProp api
12778         changes. Compiles again, but doesn't do anything useful anymore.
12779         (see THE_PROP_TYPE_IS_INTEGRAL)
12781         * **/makefile.msc : updated to use LIBXML2
12783         * lib/libdia.def : reflect api changes
12785 2001-08-17  Cyrille Chepelov  <chepelov@calixo.net>
12787         * config.h.win32: added defines telling that gtk speaks UTF8.
12788         Hans, I believe this reflects what GTK on Win32 does.
12790         * app/app_procs.c: if GTK talks UTF8, we'll feed it UTF8 localised
12791         strings.        
12792         * lib/prop_inttypes.c: 
12793         * lib/prop_text.c:
12794         * lib/prop_widgets.c: fixed typos in the GTK_TALKS_UTF8_WE_DONT
12795         code path.
12796         
12797         * lib/plug-ins.c: (dia_register_plugins_in_dir): If there is a
12798         trailing // (or whatever (G_DIR_SEPARATOR * 2) is), a recursive
12799         search for plug-ins is done.
12800         * app/Makefile.am: made app/run_dia.sh use the // capability. No
12801         need to update this anymore if we get a new plug-in library (or
12802         remove one).
12804         * lib/dia_xml.c: #include <unistd.h> was missing.
12805         
12806         * lib/properties.h: 
12807         * lib/proplist.c: (pdtpp_defaults): Added a new flag,
12808         PROP_FLAG_NO_DEFAULTS. Will be used in the "automatic defaults"
12809         support.        
12811 2001-08-16  Cyrille Chepelov  <chepelov@calixo.net>
12813         * sheets/civil.sheet: removed duplicate "Danish" entries.
12815         * autogen.sh:
12816         * configure.in: 
12817         * .cvsignore:
12818         * sheets/Makefile.am: 
12819         * po/POTFILES.in:
12820         * Makefile.am: applied the xml-i18n-tools README's instructions.
12822         * po/(da de fr hu nl nn no sl).po: merged the translations from
12823         the sheet files into the .po files. I hope I haven't mixed
12824         languages...
12825         * sheets/*.sheet (REMOVED):
12826         * sheets/*.sheet.in (NEW): moved the sheet files sans
12827         translations into .sheet.in files. 
12828         
12829         * sheets/xml-i18n-unicodify: (NEW) included from xml-i18n-tools,
12830         because we don't yet want to force all translators to work using
12831         UTF-8 editors. We'll want to do that sometime (sooner rather than
12832         later). Okay, I sing a slightly different tune in po/ChangeLog...
12834         * dia.desktop (REMOVED):
12835         * dia.desktop.in (NEW): used also the x18t infrastructure for
12836         this too.
12838         * xml-i18n-update.in.kg (NEW): This one will stay in CVS until an
12839         "official" version of x18t with support for .sheet files is available.
12840         * xml-i18n-merge.in.kg (NEW): This one will stay in CVS until an
12841         "official" version of x18t which doesn't corrupt UTF-8 data in XML
12842         is available.
12843         
12844         ** yes, we are now using xml-i18n-tools to manage the sheet
12845         translations. For the Win32 build, Nemo stores snapshots of
12846         translated strings next to the CVS snapshots. **
12848         * sheets/checktrans.py: suddenly, some sheets have lots of
12849         translations (objects which existed before sheets, mostly).
12850         Adapted the formatting.
12852         * po/README (REMOVED): this is obsolete ! It was ignored, anyway.
12854         * app/display.[ch]: (ddisplay_autoscroll), (ddisplay_scroll):
12855         * app/modify_tool.[ch]: (modify_motion): A (modified) patch from
12856         <robert.young@dsto.defence.gov.au>, to fix #59090.
12858         * app/display.c: (ddisplay_scroll): While at it, added some
12859         margin, so that autoscrolling can happen within a margin outside
12860         the diagram's extents.
12862         * app/tool.[ch]: 
12863         * app/interface.c:
12864         * app/disp_callbacks.c: Robert "forced" me to go when I usually
12865         don't, namely the app/ directory. So while I was there, I
12866         scratched a long-time itch. If no object has focus, pressing the
12867         space bar will select back the tool which was selected before the 
12868         current one (I find this especially useful with "reset after create" !)
12869         
12870         * lib/proplist.c: (prop_list_from_single): Renamed
12871         prop_list_singleton() to avoid confusion with the Singleton
12872         pattern (which it definitely is not).
12873         
12874         * lib/propobject.c: (object_prop_by_name_type),
12875         (object_prop_by_name): The "flags" parameter was not necessary.
12876         These don't return synthetic properties, but properties built from
12877         a real property description list; therefore, we don't call
12878         make_new_prop() but use the existing property descriptor, which
12879         has perfectly valid (and meaningful) flags.
12881         * lib/proplist.c: (pdtpp_synthetic), (pdtpp_from_object): These
12882         new predicates better reflect the reason why properties exist when
12883         they're created by make_new_prop() or object_prop_by_name().    
12885         * lib/propobject.c: (object_prop_by_name_type), (object_prop_by_name):
12886         * lib/prop_basic.c: (make_new_prop): used the new reasons instead
12887         of pdtpp_true().
12889         * lib/properties.h: reflects all the above changes.
12891         * objects/SADT/arrow.c:
12892         * objects/SADT/annotation.c:
12893         * sheets/SADT.sheet: minor renamings to better match FIPS 183's
12894         IDEF0 terminology.
12895         
12896 2001-08-15  Cyrille Chepelov  <chepelov@calixo.net>
12898         * lib/properties.h:
12899         * lib/proplist.c: (prop_list_singleton):
12900         * lib/propobject.c: (object_prop_by_name_type), (object_prop_by_name):
12901         Added these, to simplify interactions of plug-ins with the StdProp
12902         core.
12904         * lib/Makefile.am:
12905         * lib/dia_xml.h:
12906         * lib/dia_xml_libxml.h (NEW): 
12907         * app/load_save.c:
12908         * lib/dia_xml.c:
12909         * lib/plug-ins.c:
12910         * lib/sheet.c:
12911         * objects/custom/shape_info.c: A few prototypes were causing
12912         #include hell, because we generally attempt to not pull the whole
12913         libxml header set when we include dia_xml.h. Moved those
12914         prototypes away for the rare cases they're necessary.
12915         
12916 2001-08-15  Hans Breuer  <hans@breuer.org>
12918         * lib/font.c : made LARS_TRACE_MESSAGES Standard C conform
12920         * lib/libdia.def : 
12921         * lib/makefile.msc : updated
12923         * lib/prop_basic.c : __FUNCTION__ is a gcc extension. Please
12924         use G_GNUC_FUNCTION instead.
12926         * lib/prop_inttypes.c : include <stdlib.h> for strtol()
12928         * objects/sadt/annotation.c : disable TEMPORARY_EVENT_TEST for
12929         msvc instead of cleaning missing includes
12931         * plug-ins/wmf/wmf.cpp :
12932         * plug-ins/wmf/wmf_gdi.h : fixed for Font to DiaFont renaming
12934 2001-08-15  Cyrille Chepelov <chepelov@calixo.net>
12936         * app/app_procs.c:
12937         * app/load_save.c:
12938         * lib/dia_xml.c:
12939         * lib/plug-ins.c:
12940         * lib/sheet.c:
12941         * objects/custom/shape_info.c:
12942         * plug-ins/shape/shape-export.c:
12943         * plug-ins/svg/render_svg.c: used the libxml1/libxml2
12944         compatibility macros as taught by http://xmlsoft.org/upgrade.html;
12945         removed xmlKeepBlanksDefault(0) in favour for proper
12946         xmlIsBlankNode() testing. Lots of other fixups to use the
12947         "libxml1.5" (libxml2 parser embedded in recent libxml1), and to
12948         make libxml1 output correct files.
12950         * configure.in: use libxml2 (>= 2.3.9) if it's found, or
12951         libxml1 (>= 1.8.14). Exactly one of these must be installed (devel
12952         packages). If both devel packages are found, the build will stop 
12953         (Fredrik: please add a Build-Conflicts: on libxml2-dev for the moment) 
12955         * lib/bezier_conn.c: (bezierconn_init): Lars, you forgot to
12956         allocate the first handle :-)
12957         
12958         * lib/object.c: (object_init): <gratuitous>g_new() used instead of
12959         a cast and a sizeof.</gratuitous>
12961         * objects/custom/custom_object.c: (custom_copy): don't call
12962         text_get_attrbutes if the shape has no text...
12963         (custom_update_data): The info->resize_with_text code was a bit
12964         directive; basically, the shape's bounding box was forced to be 
12965         proportional to the text's bounding box.... This fixes #57187.
12966         
12967         * objects/custom/shape_info.c: (load_shape_info): Set an obvious
12968         default for info->aspect_ratio; unobfuscated a line about
12969         info->resize_with_text;
12970         
12971 2001-08-15  Cyrille Chepelov <chepelov@calixo.net>
12973         * lib/properties.h: added comments next to the PROP_TYPEs to tell
12974         which C Property subclass to use.
12975         
12976         * plug-ins/dxf/dxf-import.c: (read_entity_line_dxf): Removed the
12977         cast-ridden form of setting properties in a list, in favour for
12978         the "local pointers" form. I'll take any better offer...
12980 2001-08-14  Cyrille Chepelov <chepelov@calixo.net>
12981         
12982         * lib/font.c: fprintf(...) --> fprintf(format...)
12984         * configure.in: added a disabled versioned test for glib.
12985         * lib/prop_geomtypes.c: (bezpointprop_load), (bezpointprop_save),
12986         (bezpointarrayprop_load), (bezpointarrayprop_save): replaced
12987         g_critical() with a simple g_error(). Proper fix is to implement
12988         that stuff. 
12990         * lib/properties.h: PROP_STD_TEXT is a PROP_TYPE_TEXT, not a
12991         PROP_TYPE_STRING.
12992         
12993         * lib/properties.h:     
12994         * lib/propdesc.c: (prop_desc_list_calculate_quarks):
12995         * lib/proplist.c: (find_prop_by_name_and_type):
12996         * lib/prop_basic.c: (make_new_prop), (initialize_property):
12997         * lib/propoffsets.c: (do_set_props_from_offsets),
12998         (do_get_props_from_offsets), (prop_offset_list_calculate_quarks):
12999         Added a type_quark member to PropDescription, Property and
13000         PropOffset. Used it to implement a safety in
13001         do_[sg]et_props_from_offsets().
13002                 
13003         * objects/flowchart/diamond.c: the diamond's text was not saved,
13004         and thus not even copied (c&p).
13005         * objects/standard/textobj.c: ditto.
13007         Most of the above changes thanks to Robert Young's testing. Thanks !
13008         
13009 2001-08-14  Kjartan Maraas  <kmaraas@gnome.org>
13011         * sheets/*.sheet: Added some Norwegian translations (both nynorsk
13012         and bokmÃ¥l).
13013         
13014 2001-08-13  Cyrille Chepelov  <chepelov@calixo.net>
13016         * lib/proplist.c (prop_list_from_descs): added a call to
13017         prop_desc_list_calculate_quarks(). (find_prop_by_name_and_type):
13018         too embarrassing to tell.
13019         
13020         * lib/propdesc.c (prop_desc_list_calculate_quarks): converted the
13021         while loop to a for loop, for symmetry with
13022         prop_offset_list_calculate_quarks().
13024         * lib/geometry.h: new inline function, rectangle_equals.
13026         * lib/diagramdata.[ch]: refactored a bit the diagram extents
13027         computation logic, and changed it to always be the union of the
13028         visible layers' extents. This should close #58882 (Debian
13029         #107167), and fixes #55498.
13031         * app/display.c: made the initial visible box more coherent with
13032         the diagram being loaded's extents.
13034         * app/prop_attr.c: don't set the font (from offset) if font_data
13035         is NULL. Two brainos in colorprop_load() and fontprop_load().
13036         
13037 2001-08-13  Cyrille Chepelov  <chepelov@calixo.net>
13039         * lib/properties.[ch]: split in a lot of pieces: 
13041         * lib/prop_*.[ch] (NEW): all property types are now first-class
13042         objects, inheriting from the original abstract Property type.
13043         * lib/propdesc.c (NEW): property description handling routines
13044         * lib/propoffsets.c (NEW): property offset handling routines
13045         * lib/proplist.c (NEW): property list handling routines
13046         * lib/propobject.c (NEW): property list <-> object routines
13047         * lib/propregistry.c (NEW): holds the PropertyType-->PropertyOps
13048         relations.
13049         * lib/propinternals.h: prototypes for stuff not usually needed by 
13050         the outside of StdProps.
13051         * lib/Makefile.am: a lot of new files have been added...
13053         THE ABOVE CHANGES ARE MAJOR CHANGES AND AFFECT THE WHOLE TREE, IN
13054         BOTH INTERFACES AND RUN-TIME STABILITY.
13056         * lib/plug-ins.h: bumped up DIA_PLUGIN_API_VERSION
13057         
13058         * lib/object.h: removed the incestuous relationship with
13059         properties.h' contents. Now a Property list is a GPtrArray -->
13060         object interface change !
13062         * app/app_procs.c/app_init(): removed a disabled call to a
13063         non-existent routine. Added a call to stdprops_init().
13064         
13065         * objects/Makefile.am: disabled the construction of EML. I'm not
13066         touching these until a certain issue is solved (or this module
13067         removed).
13068         * app/group.c:  
13069         * objects/**/*.c except objects/EML/*: adapted all stdprop-using 
13070         objects to the interface changes.
13071         
13072         * app/disp_callbacks.c: killed a warning.
13073         * lib/dia_xml.[ch]: sprinkled "const" modifiers. 
13075         * app/commands.c: 
13076         The macros PROP_VALUE_* have disappeared. Adapted to using the new 
13077         interface.
13079         * plug-ins/dxf/dxf-import.c: 
13080         * plug-ins/xfig/xfig-import.c: 
13081         PROP_VALUE_* macros have been removed. Converted to the new API.
13083         * plug-ins/python/**/*: I gave up converting this; I can't
13084         compile --with-python (problems with object.h defined both by us
13085         and by Python). I'll gladly help whomever cares to fix it !
13086         (or, fix it myself if someone tells me how to compile it).
13087         
13088         * configure.in: added the UNICODE-related progress defines.
13089                 
13090         * configure.in:
13091         * lib/geometry.h: On Solaris and perhaps other systems, finite()
13092         is defined in ieeefp.h rather than in math.h. Patch from Andrew
13093         Halper <ashalper@acm.org> with further modifications, isinf() is
13094         provided by -lsunmath (sunmath.h).
13095         
13096         * lib/font.c: conditionally disabled Lars' debugging messages.
13097         Bracketed the definition of DiaFontFamily with #ifdef HAVE_FREETYPE.
13098         
13099 2001-08-11  Lars Clausen  <lrclause@cs.uiuc.edu>
13101         * lib/bezier_conn.h: 
13102         * objects/standard/bezier.c (bezierline_create): 
13103         * lib/bezier_conn.c (bezierconn_init): 
13104         Preparations for use of userdata for bezier lines.
13105         
13106         * objects/standard/polygon.c: 
13107         * objects/standard/create.h:
13108         * lib/polyshape.c:
13109         * lib/polyshape.h:
13110         * plug-ins/xfig/xfig-import.c:
13111         Use of user_data for polygon as well, including adding
13112         polyshape_set_points.  Include file for non-interactive 
13113         creation of standard objects, objects/standard/create.h
13115 2001-08-10  Lars Clausen  <lrclause@cs.uiuc.edu>
13117         * app/render_gdk.c: 
13118         * app/render_gdk.h: 
13119         * lib/font.c:
13120         * lib/font.h:
13121         * lib/widgets.c:
13122         More preliminary freetype support.  Not at all functional, crashes
13123         when rendering.
13125         * lib/poly_conn.h: 
13126         * lib/poly_conn.c: 
13127         * objects/standard/polyline.c: 
13128         Support for creating polyline objects with more than two points.
13129         This includes an extra function and a prototype change in the
13130         poly_conn lib object.
13132         * lib/object.c (object_copy): Fixed memory leak of handles and
13133         connections.
13135 2001-08-08  Abel Cheung  <maddog@linux.org.hk>
13137         * dia.desktop: added traditional Chinese strings
13139 2001-08-04  Cyrille Chepelov  <chepelov@calixo.net>
13141         * NEWS: updated to reflect build-time dependencies.
13143         * lib/properties.[ch]: wrote get_prop_descriptions() as a wrapper
13144         around obj->ops->describe_props(obj). Quarks are none of an
13145         object's business in the general case... 
13146         * lib/text.c: Added an apply_textattr_properties() function to
13147         factor out some common code related to applying a dialog's text
13148         attribute properties to a (Text *) which wasn't edited there. 
13149         Ditto for textstr, for the string part of an objet.
13151         * objects/GRAFCET/action.c:
13152         * objects/SADT/annotation.c:
13153         * objects/SADT/box.c: used apply_textattr_properties().
13154         
13155         * objects/UML/actor.c: 
13156         * objects/UML/branch.c:
13157         * objects/UML/component.c:
13158         * objects/UML/constraint.c:
13159         * objects/UML/small_package.c:
13160         * objects/UML/state.c:
13161         * objects/UML/usecase.c:
13162         * objects/UML/large_package.c:
13163         * objects/UML/note.c:
13164         * objects/UML/node.c:
13165         * objects/UML/message.c:
13166         * objects/UML/classicon.c:
13167         * objects/UML/object.c:
13168         * objects/UML/realizes.c:
13169         * objects/UML/dependency.c:
13170         * objects/UML/implements.c:
13171         slim-fast(tm) cure using more StdProps, and UTF-8 audit.
13172         (most objects were already using StdProps to some extent ; this
13173         systematises usage and removes some dead wood). 
13174         
13175         * objects/UML/stereotype.[ch]: use UTF-8 internally. const police work.
13176         * objects/UML/uml.[ch]: audited for UTF-8.
13178         * objects/UML/class.c: the UML_STEREOTYPE_* strings defined by
13179         uml.h can be in UTF-8... this code isn't yet ready. Duplicating a
13180         private (ISO-8859-1) definition.
13181         
13182         * lib/charconv.c: Added a warning if we didn't run
13183         nl_langinfo(CODESET) but rely instead on a hardcoded default.
13184         
13185 2001-08-02  Cyrille Chepelov  <chepelov@calixo.net>
13187         * lib/diamenu.h:
13188         * app/disp_callbacks.c: added a way for an object to cause an
13189         already realised menu to be destroyed (for instance if it changes
13190         too much).
13192         * objects/custom/custom_object.c: used the above to fix #55073.
13194 2001-08-01  Lars Clausen  <lrclause@cs.uiuc.edu>
13196         * configure.in: Remove 2.50 prereq.
13198 2001-07-30  Cyrille Chepelov  <chepelov@calixo.net>
13200         * po-checktrans.py: under some circumstances, there was one column 
13201         more than what was supposed to be, thus breaking the formatting.
13202         
13203 2001-07-29  Cyrille Chepelov  <chepelov@calixo.net>
13204         
13205         * objects/SADT/annotation.c: forgot to add a #include <stdlib.h>
13207         * NEWS: updated with new stuff since 0.88
13209         * shapes/network/antenna.shape: the text was misplaced ; fixed.
13211         * shapes/network/firewall.(shape|xpm) (NEW): a brick-wall looking
13212         firewall router (upon request from Cyril Lacoux
13213         <clacoux@easter-eggs.com>)
13215         * configure.in (didn't rename to configure.ac): autoconf 2.50
13216         constructs were used ; added an AC_PREREQ call to guard against
13217         older autoconfs.
13218         
13219 2001-07-27  Cyrille Chepelov  <chepelov@calixo.net>
13221         * lib/properties.c: minor clean-ups with the event delivery code.
13223         * EML/instantiation.c: brought this object back from stone and ice
13224         age.    
13226         * app/diaconv.c(NEW): added a command-line conversion tool. Still
13227         lacks a man page and correctness. In fact, it doesn't work. Please
13228         see #58196 if you want to finish it.
13229         
13230         * lib/message.[ch]: redefined things a little so that a different
13231         message_internal routine could be passed.
13232         applications can use that to fit themselves to the display model.
13234 2001-07-26  Cyrille Chepelov  <chepelov@calixo.net>
13236         * objects/SADT/box.c: 
13237         * objects/GRAFCET/action.c: spelling in property descriptors (name
13238         field...)
13239         * objects/SADT/annotation.c: ditto, plus a temporary test of the
13240         event delivery code (try to click on the "click me !" button !).
13242         * app/group.c: 
13243         * lib/properties.[ch]: improved (fixed) support for group event 
13244         handlers. Fixed various things from yesterday's code to make it
13245         not too obviously crash.
13247 2001-07-26  Cyrille Chepelov  <chepelov@calixo.net>
13249         * app/group.c: added delivery of events to the first member of the
13250         group which is able to process it.
13252         * lib/properties.c(prop_desc_lists_intersection): properties
13253         don't match if they don't have identical event handler.
13254         * lib/properties.h: simplified the PropEventHandler signature.
13256         Event delivery code is still untested so far, but should be
13257         lurking harmless.
13258         
13259 2001-07-25  Cyrille Chepelov  <chepelov@calixo.net>
13261         * lib/properties.[ch]: Added (untested !) property event handler
13262         capability. Added a new PROP_TYPE_BUTTON, for the purpose of
13263         generating such events. This stuff compiles, and should lurk
13264         around silently as long as you don't declare property descriptors
13265         with events (AFAICT).
13266         In object_create_props_dialog() and friends:
13267         attached a single structure with lots of data instead of lots of
13268         little attachments of data to the dialog widget.
13269         
13270         * lib/object.h: fixed mild typedef breakage introduced by the above.
13272 2001-07-17  Lars Clausen  <lrclause@cs.uiuc.edu>
13274         * lots of files: Changed Font to DiaFont
13275         * */Makefile.am: Added FREETYPE_LIBS
13276         * plug-ins/xfig/xfig-export.c: Improved (working:) color handling
13278 2001-07-13  Kjartan Maraas  <kmaraas@gnome.org>
13280         * configure.in: Added "nn" to ALL_LINGUAS.
13281         
13282 2001-07-09  Alex Larsson  <alexl@redhat.com>
13284         * app/disp_callbacks.c:
13285         Add gdk_im_ready() calls to XIM code.
13287 2001-07-04  Cyrille Chepelov  <chepelov@calixo.net>
13289         * lib/properties.[ch]: splitted prop_get_widget() into
13290         prop_get_widget() (gives a widget but doesn't fill it) and 
13291         prop_reset_widget() (fills an existing widget with a property's value).
13293         * lib/widgets.[ch]: const enforcement police work.
13295         * shapes/network/antenna.shape: added a connection point at top,
13296         upon request from <Emmanuel.Quemener@cri.ens-cachan.fr>.
13297         
13298 2001-06-25  Cyrille Chepelov  <chepelov@calixo.net>
13300         * intl/*: tested with gettext-0.10.38
13301         * configure.in: moved a macro call around (AM_PROG_CC) to keep
13302         some of autogen.sh from complaining.
13303         * INSTALL: added a warning against gettext older than at least 0.10.36
13304         
13305 2001-06-19  Cyrille Chepelov  <chepelov@calixo.net>
13307         * configure.in: added explicit calls to AM_LANGINFO_CODESET and
13308         AM_ICONV (both provided by gettext)
13310 2001-06-14  Cyrille Chepelov  <chepelov@calixo.net>
13312         * lib/charconv.c: corrected the degraded mode for when
13313         !HAVE_UNICODE. Thanks to Ben A. Hetland for reporting this.     
13315         * objects/chronoline/chronoline_events.c: UTF8 compliance.
13316         
13317 2001-06-13  Cyrille Chepelov  <chepelov@calixo.net>
13319         * lib/properties.[ch]: convenience macros around PROP_NOTEBOOKS ;
13320         new "eye candy" properties: PROP_MULTICOL_(BEGIN|PAGE|END) to lay 
13321         widgets on several columns, PROP_FRAME_(BEGIN|END) to put widgets
13322         into a frame box.
13324         * objects/chronogram/chronoline.c:
13325         * objects/chronogram/chronoref.c: took advantage of the above to
13326         make nicer looking dialogs.
13328         * lib/charconv.[ch]: added charconv_unichar_to_utf8 ("inspired"
13329         from libunicode's internals).
13330         * lib/message.c: convert strings to local encoding prior to
13331         display (UNICODE_WORK_IN_PROGRESS)
13332         * lib/properties.[ch]: convert strings to local encoding prior to
13333         display, and back to UTF8 (UNICODE_WORK_IN_PROGRESS).
13334         * lib/render.h: tagged strings as (utfchar *) instead of (char *)
13335         * lib/stringprerenderer.[ch]: ditto
13337         (lib/text.c has been audited for UTF8, but the size of the changes
13338         make them inappropriate for commit before 0.89)
13339         
13340 2001-06-12  Cyrille Chepelov  <chepelov@calixo.net>
13342         * objects/boolequation.h (<save|load>_boolequation): made the 
13343         prototypes for match the .c file.
13344         
13345         * samples/grafcet.dia: minor non-conformance with IEC-848
13346         fixed (in the transition from step 100 to step 101).
13348         * lib/properties.[ch]: added a flag (PROP_FLAG_DONT_MERGE) to
13349         disallow editing of properties if the object is part of a group.
13351         * objects/chronogram/chronoline.c: 
13352         * objects/SADT/annotation.c:
13353         * objects/SADT/box.c:
13354         * objects/GRAFCET/step.c:
13355         * objects/GRAFCET/transition.c:
13356         * objects/GRAFCET/condition.c: took advantage of PROP_FLAG_DONT_MERGE.
13357         
13358 2001-06-12  Hans Breuer  <hans@breuer.org>
13360         * lib/libdia.def : removed lazyprop exports
13361         * lib/makefile.msc : removed lazyprop.obj
13363         * objects/custom/custom_objects.c : use HAVE_UNISTD_H
13364         and avoid crashes by always creating a custom->text,
13365         when (custom->info->has_text) 
13367         * objects/makefile.msc : removed sybase from build
13369         * objects/GRAFCET/boolequation.c (<save|load>_boolequation) :
13370         ObjectNode is a pointer already, which is what we want
13371         instead of a pointer pointer.
13373         * plug-ins/wmf/wmf.cpp : fixed problem with arc scaling
13374         and implemented working export for images
13376         * shapes/network/zip-disk.shape : added connection points 
13378 2001-06-12  Cyrille Chepelov  <chepelov@calixo.net>
13380         * objects/SADT/box.c: removed lazyprops for standard props.
13381         * objects/chronograms/chronoline.c: removed lazyprops (phew !)
13382         * objects/chronograms/chronoref.c: ditto 
13384         * lib/Makefile.am:
13385         * lib/dummy_dep.h:
13386         * lib/connpoint_line.c:
13387         * lib/lazyprops.[ch] (DELETED): good riddance (closes #55895)
13388         * lib/properties.[ch]: new property types:
13389             - PROP_TYPE_STATIC: static text to be displayed in the dialog.
13390             - PROP_TYPE_MULTISTRING: same as string, but renders as a
13391             multi-line entry box.
13392             - PROP_TYPE_NOTEBOOK_BEGIN,_PAGE,_END: stuff to make dialogs
13393             in a tabbed-notebook style (this is a bit complicated to use; 
13394             see objects/chronograms/chronoline.c for an example).
13395                
13396 2001-06-11  Cyrille Chepelov  <chepelov@calixo.net>
13398         * objects/GRAFCET/boolequation.[ch]: zap lazyprops. Add standard props.
13399         * objects/GRAFCET/step.c: ditto.
13400         * objects/GRAFCET/vector.c: ditto.
13401         * objects/SADT/annotation.c: ditto.
13402         * objects/SADT/arrow.c: ditto (plus bounding box fixes).
13403         
13404         * lib/properties.[ch]: two more non-visible types
13405         (PROP_TYPE_ENUMARRAY and PROP_TYPE_INTARRAY).
13407         * lib/neworthconn.[ch]:
13408         * lib/orthconn.[ch]: added support for manipulation through
13409         standard properties.
13411         * configure.in: removed -fomit-frame-pointer, this seems to
13412         confuse recent gcc/gdb's, maybe we'll get better stack dumps in 
13413         bugzilla.
13415         * charconv.[ch]: more functions from unicode.h.
13416         get_local_charset() wasn't working properly, fixed now.
13417         A subtle crashbug in charconv_utf8_to_local8() nailed (thanks to 
13418         ElectricFence !)
13419         
13420         * objects/EML/process.h: pulled the bits of lazyprops.h it uses.
13421         * lib/lazyprops.[ch]: put a big fat warning in.
13423         * app/render_eps.c: one line mysteriously went away, causing a
13424         variable to be used uninitialised....
13426 2001-06-10  Cyrille Chepelov  <chepelov@calixo.net>
13428         * app/app_procs.c: commented out the call to
13429         bind_textdomain_codeset(): it's premature.
13430         
13431         * lib/connpoint_line.c: a NULL point can be given to
13432         connpointline_adjust_count(), in case there's not really a clicked
13433         point.
13435         * lib/textattr.h(NEW): moved the definition of TextAttributes to sort
13436         #include order troubles. #included by lib/text.h, so there is no 
13437         impact outside lib/.
13438         * lib/properties.[ch]: added support for CONNPOINT_LINE and
13439         (nonvisible) TEXT properties.
13441         * objects/GRAFCET/action.c:
13442         * objects/GRAFCET/vergent.c: dropped lazyprops for standard
13443         properties.
13444         
13445         * objects/UML/lifeline.c: pruned some legacy stuff (now pure
13446         standard properties code). Grafted a dynamic number of connection
13447         points (heavily inspired from what Vergent does). This is the real
13448         fix for #55863.
13450         * objects/GRAFCET/boolequation.[ch]: audited for UTF-8
13452         * lib/fonts.c: some hardening (mostly g_assert())
13453 2001-06-09  Cyrille Chepelov  <chepelov@calixo.net>
13455         * app/app_procs.c (app_init): added a call to
13456         bind_textdomain_codeset() so that gettext gives us UTF-8 strings
13457         (UNICODE_WORK_IN_PROGRESS).
13458         
13459 2001-06-08  Cyrille Chepelov  <chepelov@calixo.net>
13461         * plug-ins/xfig/xfig-import.c: corrected a typo (fixes #55910)
13463         * objects/UML/lifeline.c: patch from Marc <mrw@siemens.ch> 
13464         (fixes #55863) : some clean-ups in the handling of connection
13465         points. Now the total number of connection points is just a
13466         #define (the proper solution is to retrofit the GRAFCET Vergent's
13467         dynamic behaviour wrt connection points).
13468         
13469 2001-06-07  Cyrille Chepelov  <chepelov@calixo.net>
13471         * app/app_procs.c (app_init): added a call to unicode_init() (only
13472         if HAVE_UNICODE, of course).
13474         * lib/charconv.c: simplified the code which detects the local
13475         charset. No need to use <langinfo.h>, libunicode already takes the
13476         burden of figuring that out. Also, if local charset is utf8, no
13477         conversion will take place.
13478         Exposed a way to get the current charset (similar to
13479         unicode_get_charset() but actually working, hopefully).
13481         * lib/charconv.h: Added a partial non-UTF8 implementation of
13482         unicode.h if !HAVE_UNICODE (actually, all the time for the
13483         moment). The UTF8 implementation is just macros on libunicode (use
13484         the functions prefixed by uni_, as defined by charconv.h, not
13485         unicode_, unless that code is to be compiled only if HAVE_UNICODE).
13486         From now on, all strings which don't *need* to be ASCII should be
13487         utfchar *, not gchar *. Just include charconv.h, let it sort out
13488         the details (such as: "is libunicode available and enabled?") 
13490         * lib/ps-utf8.c: fixed a few name clashes. Used the charconv.h
13491         "API" instead of directly libunicode. Removed the now unnecessary
13492         speculative clustering of characters in encoding pages.
13494         * app/render_eps.c: made the local8->utf8 conversions dependent of
13495         !UNICODE_WORK_IN_PROGRESS (this is not where the local8/utf8
13496         boundary will be when this WIP is done).
13498         * lib/dia_xml.c (data_point): fixed a format string typo.
13500         * po/POTFILES.in: added all C files from lib/ 
13501         
13502 2001-06-06  Cyrille Chepelov  <chepelov@calixo.net>
13504         * app/disp_callbacks.c: make sure the objects' connected objects
13505         are updated when the objects' size changes after a keypress event
13506         (fixes #51222)
13508         * configure.in: added a big warning about the possible future
13509         non-optionality of --enable-unicode. 
13511         * TODO: removed entries which look like done ; added a few ones
13512         (Bugzilla "enhancement" bugs may be a better way to keep track of
13513         this)
13514         
13515 2001-06-05  Cyrille Chepelov  <chepelov@calixo.net>
13517         * objects/UML/message.c: got rid of #55564 and of message_copy()
13518         by using more standard properties (are the message_state_*()
13519         functions still necessary ?)
13521 2001-06-04  Fredrik Hallenberg  <hallon@lysator.liu.se>
13523         * lib/plug-ins.c: 
13524         * objecs/custom/shape_info.c:
13525         * plug-ins/shape/shape-export.c:
13526         * plug-ins/svg/render_svg.c: patch from obecian <obecian@openbsd.org>
13527         use xmlChar instead of obsolete CHAR.
13529 2001-06-03  Hans Breuer  <hans@breuer.org>
13531         * app/diagram.h : added prototype for diagram_update_menu_sensitivity()
13532         * app/commands.c : give the right number of parameters
13533         to diagram_update_menu_sensitivity ()
13535         * app/preferences.c : do proper initialization for DiaPrefsData:
13536         render_bounding_boxes. It would be a real surprise if 'hidden'
13537         properties would have ever worked before.
13538         Don't try to access the widgets of hidden property, it does not
13539         have one.
13541         * lib/diagramdata.h : make render_bounding_boxes a DIAVAR, cause
13542         it is defined in libdia, but initialized from dia app, which 
13543         otherwise gave nice start-up crashes.
13545         * lib/diagramdata.c : initialize the color for rendering bounding 
13546         boxes in the Dia range (0 .. 1.0)
13548         * lib/libdia.def : added *_bbox functions for export
13550         * lib/makefile.msc : added new sources
13552         * objects/custom/custom_object.c : use HAVE_UNISTD_H
13554 2001-05-30  Cyrille Chepelov  <chepelov@calixo.net>
13556         * app/interface.c:
13557         * app/menus.c: patch from Hubert Figuiere <hfiguiere@teaser.fr> ;
13558         removes a translation of menus (in a place where there shouldn't
13559         have been), which gets rid of a waterfall of warnings if LANG!=C,
13560         and a fix to #55047.
13562 2001-05-29  Steffen Macke     <sdteffen@yahoo.com>
13564         * lib/charconv.c : added #include <errno.h>
13566         * app/dia_embedd.c : updated menus_get_item_from_path usage
13567         
13568 2001-05-27  Cyrille Chepelov  <chepelov@calixo.net>
13570         * lib/ps-utf8.c: Strings in Symbol fonts were incorrectly rendered.
13571         Added a special case for Symbol strings, so that they're not
13572         re-encoded using the LN encoding (we use the bare Adobe encoding
13573         instead).
13575         * objects/custom/custom_object.c: Now that #52912 is fixed,
13576         I could remove the ugly hack I wrote to squash the shape bounding box
13577         problem shown by Ben A. Hetland a few months ago, and fix it
13578         properly this time.
13579         
13580         * lib/text.c: enlarged a little the bounding box to account for
13581         the cursor in rightmost position.
13582         
13583         * lib/diagramdata.c: draw bounding boxes only if the relevant
13584         variable is set (as before), but also only if the rendere is
13585         interactive (ie, don't bother rendering bounding boxes on 
13586         Postscript...)
13587         Made the bounding box's line width a fixed value, 0.01
13588         
13589         * lib/boundingbox.c: fixed the "pointy corners" code for polylines
13590         and assymmetric control beziers. Implemented ellipse_bbox().
13591         
13592         * Makefile.am: incantations to get po/dia.pot build, as suggested
13593         by Hubert in #55075.
13594         
13595         * shapes/network/computer.shape: typo fixed.
13596         * shapes/network/antenna.shape: fixed #55074 (antenna is now
13597         properly translucent, except for its base where it makes sense. It
13598         doesn't look that ugly anymore if transparent mode is on).
13600         * configure.in: --enable-unicode is now the default. This
13601         still currently affects only printing.
13602         
13603 2001-05-26  Cyrille Chepelov  <chepelov@calixo.net>
13605         * lib/boundingbox.c: fixed a minor logic error wrt closed shapes. 
13606         The overshoot code is buggy, and the bounding boxes for polyshapes
13607         looks a bit cheezy. To be done ASAP.
13609 2001-05-26  James Henstridge  <james@daa.com.au>
13611         * configure.in: call AM_PATH_PYTHON rather than AM_PATH_PYTHON_JH.
13612         This should clear up some of the build problems people have been
13613         having.
13615         * acinclude.m4: call AM_PATH_PYTHON_JH AM_PATH_PYTHON
13617 2001-05-26  Cyrille Chepelov  <chepelov@calixo.net>
13619         * lib/Makefile.am:
13620         * lib/boundingbox.[ch] (NEW): (some) refactoring of the bounding
13621         box code (beginning with lines, polylines and polybeziers), into a
13622         more generic facility. While at it, a better shot at correctly
13623         computing the bounding box of a Bezieroid (should take care of
13624         #53424, #51233 and of course is part 1 of #52912).
13626         * lib/diagramdata.c: turned the RENDER_BOUNDING_BOXES conditional
13627         into a hidden preference (set render_bounding_boxes in diarc).
13628         * app/preferences.[ch]: Added support for hidden preferences.
13630         * lib/geometry.[ch]: sprinkled with "const" modifiers.
13631         
13632         * lib/bezier_conn.[ch]:
13633         * lib/beziershape.[ch]:
13634         * lib/connection.[ch]:
13635         * lib/element.[ch]:
13636         * lib/poly_conn.[ch]:
13637         * lib/orth_conn.[ch]:
13638         * lib/neworth_conn.[ch]:
13639         * lib/polyshape.[ch]: adapted to take advantage of
13640         boundingbox.[ch] instead of relying on private (duplicate) code.
13642         * object/FS/flow.c:
13643         * object/GRAFCET/action.c:
13644         * objects/GRAFCET/condition.c:
13645         * objects/GRAFCET/vergent.c:
13646         * objects/GRAFCET/vector.c:
13647         * objects/SADT/annotation.c:
13648         * objects/SADT/arrow.c:
13649         * objects/ER/participation.c:
13650         * objects/UML/constraint.c:
13651         * objects/UML/implements.c:
13652         * objects/UML/lifeline.c:
13653         * objects/UML/message.c:
13654         * objects/UML/realizes.c:
13655         * objects/UML/generalization.c:
13656         * objects/UML/association.c:
13657         * objects/UML/dependency.c:
13658         * objects/FS/flow-ortho.c:
13659         * objects/network/bus.c:
13660         * objects/standard/arc.c:
13661         * objects/standard/bezier.c:
13662         * objects/standard/beziergon.c:
13663         * objects/standard/line.c:
13664         * objects/standard/polygon.c:
13665         * objects/standard/zigzagline.c:
13666         
13667         * objects/standard/polyline.c: Some *BBExtras structures changed
13668         names while moving to boundingbox.[ch]. A trivial mass-renaming.
13669         
13670 2001-05-20  Cyrille Chepelov  <chepelov@calixo.net>
13672         * app/disp_callbacks.c (ddisplay_canvas_events): Take into account
13673         wheel mouses for scrolling (from Patrick Sung <phsung@ualberta.ca>)
13675         * app/display.c (ddisplay_update_scrollbars): from Patrick's
13676         suggestion, remove the extra scrollable area (it was only visible
13677         to the scrollbars). This is experimental.
13678         
13679         * objects/custom/custom_object.c: If a shape's icon file doesn't 
13680         exist, warn and substitute a default icon, instead of crashing.
13681         (fixes #52913)
13682         
13683         * objects/network/network.c:
13684         * shapes/network/modularswitch.(shape|xpm) (NEW):
13685         * shapes/network/printer.(shape|xpm) (NEW):
13686         * shapes/network/genmonitor.(shape|xpm) (NEW):
13687         * shapes/network/computer.(shape|xpm) (NEW):
13688         * shapes/network/Makefile.am: four less objects, four more shapes.
13689         These were the last known RenderObjects. (phew !)
13691         * lib/Makefile.am:
13692         * lib/dummy_dep.h:
13693         * objects/sybase/Makefile.am: 
13694         * objects/network/Makefile.am: Removed the older Renderobjects
13695         from the build, and their infrastructure (not yet deleted,
13696         though).
13698         * shapes/network/sceadplug.shape:
13699         * shapes/network/antenna.shape:
13700         * shapes/network/modem.shape:
13701         * shapes/network/hub.shape:
13702         * shapes/network/rj45plug.shape:
13703         * shapes/sybase/client.shape:
13704         * shapes/sybase/dataserver.shape:
13705         * shapes/sybase/ltm.shape:
13706         * shapes/sybase/repserver.shape:
13707         * shapes/sybase/rsm.shape:
13708         * shapes/sybase/stableq.shape: Minor corrections (line widths were
13709         ten times too narrow).
13710         
13711 2001-05-19  Cyrille Chepelov  <chepelov@calixo.net>
13713         * objects/network/network.c:
13714         * shapes/network/sceadplug.(shape|xpm) (NEW):
13715         * shapes/network/antenna.(shape|xpm) (NEW):
13716         * shapes/network/modem.(shape|xpm) (NEW):
13717         * shapes/network/Makefile.am: four less objects, four more shapes.
13718         
13719         * lib/Makefile.am:
13720         * lib/diagramdata.c:
13721         * lib/render.h:
13722         * lib/string_prerenderer.[ch] (NEW):
13723         Add a new renderer primitive, predraw_string() (does nothing, to be
13724         used as a hook to optimise the character encodings if needed). 
13725         Added a string pre-renderer, which can be viewed as a filter
13726         renderer (to route draw_string() to predraw_string() and ignore
13727         the rest, in a first rendering pass)
13728         
13729         * app/render_eps.c: Took advantage of the above to make wholly
13730         optimised Postscript encoding page(s), even (especially) with 
13731         non-latin1 code (HAVE_UNICODE must be true).
13733         (#53512 in fact is wholly resolved).
13734         
13735 2001-05-18  Cyrille Chepelov  <chepelov@calixo.net>
13737         * lib/charconv.c: steps towards resolution of #53512 (inspired by
13738         Alexey Novodvorsky <aen@logic.ru>'s patch).
13740         * app/menus.c (dia_menu_signal_proxy): checked that the signal
13741         handler is not NULL before transferring control to it... (fixes #52836)
13743         * app/app_procs.c (app_init): removed non-constant initialiser
13744         (fixes #52950)
13746         * objects/custom/custom_object.c:
13747         * objects/custom/shape_info.[ch]:
13748         * objects/custom/test.xml: merged patch #53476 from Steven Hawkins 
13749         <skh@mathstar.com>. This add support for a <svg:text> shape
13750         element, and some related style properties (font, font height, 
13751         alignment)
13753         * doc/custom_shapes: a precision about the meaning of case in a
13754         SVG path (closes #52364)
13756         * lib/dummy_dep.h: fix for SGI IRIX 6.2 (#53053, reported and
13757         fixed by <drk@sgi.com>)
13758         
13759 2001-05-17  Cyrille Chepelov  <chepelov@calixo.net>
13761         * objects/network/network.c:
13762         * shapes/network/Makefile.am:
13763         * shapes/network/hub.(shape|xpm) (NEW):
13764         * shapes/network/flash.(shape|xpm) (NEW):
13765         * shapes/network/rj45plug.(shape|xpm) (NEW):
13766         More shapes, less renderobjects.
13768 2001-05-16  Cyrille Chepelov  <chepelov@calixo.net>
13769         
13770         * plug-ins/svg/render_svg.c: typo made exported ellipses
13771         corrupted (zero Y pseudo-radius).
13773         * objects/network/network.c:
13774         * objects/network/disc.c:
13775         * shapes/network/disc.(shape|xpm): Converted the first
13776         Renderobject into a shape. Normally, old diagrams should reload
13777         without problems (please check this against your diagrams). More
13778         flexibility should be gained that way. I intend to hunt and
13779         eradicate all renderobjects as I can commit cycles to that. 
13781         * objects/Makefile.am:
13782         * configure.in:
13783         * app/Makefile.am:
13784         * objects/sybase/sybase.c:
13785         * shapes/sybase/Makefile.am(NEW):
13786         * shapes/sybase/client.(xpm|shape) (NEW):
13787         * shapes/sybase/dataserver.(xpm|shape) (NEW):
13788         * shapes/sybase/ltm.(xpm|shape) (NEW):
13789         * shapes/sybase/repserver.(xpm|shape) (NEW):
13790         * shapes/sybase/rsm.(xpm|shape) (NEW):
13791         * shapes/sybase/stableq.(xpm|shape) (NEW): converted Sybase
13792         renderobjects into shapes. The Sybase objects are now not compiled
13793         anymore, and ready to be nuked if nobody objects in the next few weeks.
13794         
13795         * app/commands.c:
13796         * app/diagram.[ch]:
13797         * app/disp_callbacks.c:
13798         * app/display.[ch]:
13799         * app/interface.[ch]:
13800         * app/menus.[ch]:
13801         * app/modify_tool.c:
13802         * app/preferences.[ch]:
13803         * app/recent_files.c:
13804         * app/select.c: Added patch #52364 from Hubert Figuiere. This adds
13805         a menu bar reflecting the popup menu, to each display window. This
13806         is optional (changing the preference currently doesn't affect
13807         already opened windows; a few other rough edges to cut).
13809         * plug-ins/wpg/wpg.c:
13810         * plug-ins/xfig/xfig-import.c:
13811         * plug-ins/python/pydia-property.c:
13812         * plug-ins/python/pydia-properties.c:
13813         * plug-ins/python/pydia-geometry.c:
13814         * plug-ins/pstricks/render_pstricks.c:
13815         * lib/arrows.c:
13816         * objects/EML/dbox.c:
13817         * lib/ps-utf8.c: paleolithic C compilers choke on //. Should fix 
13818         #53054.
13820         * lib/ps-utf8.c: improved the clustering of alphabetic character
13821         definitions in custom encodings pages.
13822         
13823 2001-05-02  Hans Breuer  <hans@breuer.org>
13825         * lib/object.h : OBJECT_COMMON_PROPERTIES_OFFSETS correct type 
13826         of 'obj_bb' to PROP_TYPE_RECT
13828         * objects/custom/custom_object.c : take all quarks into account, 
13829         not only 4 as copy&paste suggests
13831         * objects/uml/objects.c : completed the implementation of the
13832         property api to avoid reading of totally bogus data. Removed
13833         the PROBABLY_DEAD_CODE. It actually was dead code, but not because
13834         there was too much but too less ...
13835   
13836         The above changes removed all known crashes (mentioned below) 
13837         from the Property API. Property access is still incomplete though.
13839         * objects/flowchart/box.c :
13840         * objects/flowchart/diamond.c :
13841         * objects/flowchart/ellipse.c :
13842         * objects/flowchart/parallelogram.c :
13843         * objects/uml/classicon.c :
13844         * objects/uml/state.c : calculate number of quarks from quark array 
13845         size instead of using hardcoded values for consistence and to avoid 
13846         future bugs like the above
13847         
13848         * objects/eml/nlist.c : include <string.h> for strcmp()
13850         * lib/dia_xml.c : relax g_warning for values, which
13851         appear to be too small. There is nothing which prevents
13852         them while saving
13854         * plug-ins/python/pydia-geometry.c : changed stringifying of
13855         geometry objects accept BezPoint back to %f, which does not
13856         crash anymore, because all the data is intialized now and it
13857         simply is more readable than %e ...
13859         * plug-ins/python/python-startup.py : removed dependency
13860         to PyGtk, because it isn't required here and probably won't
13861         in i.e.: export filters.
13863         * plug-ins/python/gtkcons.py : create the gtkoutfile even
13864         if sys.stderr.fileno() isn't supported
13866         * app/makefile.msc : make version 0.88
13867         * plug-ins/makefile.msc : make version 0.88 an added new
13868         xfig files to build
13870 2001-05-11  James Henstridge  <james@daa.com.au>
13872         * NEWS: remember to add news items this time.
13874         * dia.spec: update spec file for 0.88 release.
13876         * configure.in: up version number to 0.88
13878         * plug-ins/python/Makefile.am (EXTRA_DIST): fix up typo that was
13879         preventing any of the useful python scripts from being
13880         distributed.
13882         * sheets/Makefile.am (sheet-translation-report): fix bustage I
13883         introduced in my fixups for the 0.87 release :(
13885 2001-05-10  Lars Clausen  <lrclause@cs.uiuc.edu>
13887         * plug-ins/xfig/xfig-import.c: Finally got groups working.
13889 2001-05-09  Lars Clausen  <lrclause@cs.uiuc.edu>
13891         * plug-ins/xfig/xfig-import.c: Improvements to error handling and
13892         group manipulation.
13894 2001-05-09  Cyrille Chepelov  <chepelov@calixo.net>
13896         * lib/ps-utf8.[ch]:
13897         * lib/Makefile.am: fix makefile breakage which led to not
13898         including ps-utf8.[ch] in the released tarballs. 
13900 2001-05-09  James Henstridge  <james@daa.com.au>
13902         * Makefile.am (core-translation-report): dist scripts needed for
13903         this target, and change to $(srcdir) before running.
13905         * sheets/Makefile.am (EXTRA_DIST): actually dist the sheets.  DATA
13906         files aren't automatically included in the tarball by automake
13907         because they could be generated files.
13909         * objects/EML/Makefile.am (EXTRA_DIST): fix directory names.
13911         * doc/en/Makefile.am (install-data-hook): fix up where graphics
13912         are installed.
13914         * configure.in: up version number to 0.87
13916         * plug-ins/python/*.py: no longer necessary to explicitly set
13917         sys.argv, as python.c does it for us now (like it should).
13919         * plug-ins/python/gtkcons.py: fix up so it plays nicely as a dia
13920         python plugin.
13922         * plug-ins/python/python-startup.py: startup script that imports
13923         all modules in $(datadir)/dia/python and ~/.dia/python.
13925         * plug-ins/python/python.c (dia_plugin_init): change so that it
13926         only runs the $(datadir)/dia/python-startup.py script.  Make sure
13927         that sys.argv and __main__.__file__ are set when calling the
13928         startup script.
13930         * plug-ins/python/Makefile.am: update makefile.  Make it install
13931         gtkcons.py plugin.  I haven't set any other plugins to install, as
13932         they look like they are mainly for debugging purposes.
13934         * configure.in: add tests to detect if python is available, so we
13935         can build the python plugin.  Only run if --with-python passed to
13936         configure.
13938 2001-05-08  James Henstridge  <james@daa.com.au>
13940         * acinclude.m4: add macros for detecting python.
13942         * app/menus.c (dia_gnome_menu_get_widget): handle paths that point
13943         at GNOME_APP_UI_SUBTREE entries.
13944         (menus_add_path): function to add a menu item to the menubars.
13945         Uses a hash table to keep track of extra menu items it adds.  Also
13946         notifies the item factory about the entries so that accels can be
13947         saved for them.
13948         (menus_add_path): implement gtk only version.
13949         (menus_init): use menus_add_path() to add the menu.
13950         (plugin_callback): simplify.
13952 2001-05-08  Steffen Macke <sdteffen@yahoo.com>
13954         * app/menu.c: removed #ifndef GNOME; GNOME build was broken
13955         
13956 2001-05-08  Lars Clausen  <lrclause@cs.uiuc.edu>
13958         * plug-ins/xfig/xfig-export.c: 
13959         * plug-ins/xfig/xfig-common.c: 
13960         * plug-ins/xfig/xfig-import.c: 
13961         * plug-ins/xfig/xfig.c: 
13962         * plug-ins/xfig/xfig.h: 
13963         * app/Makefile.am: Added support for exporting to Fig format
13964         (except splits, which are less powerful in Fig).  Some refactoring
13965         along the way.
13967 2001-05-02  Hans Breuer  <hans@breuer.org>
13969         * plug-ins/python/debug_objects.py : added another
13970         test to get massive crashes from the Property API due
13971         to unintialized data.
13973         * app/menu.c : the callback_action wasn't incremented
13974         (should have checked my last optimization). Now more
13975         than one plug-in callback is supported again.
13977         * plug-ins/python/pydia-geometry.c : avoid crashes from
13978         glib, when trying to g_strdup_printf unintialized floats.
13980         * plug-ins/python/pydia-property.c : avoid crashes from
13981         because of string_data == NULL (PROP_TYPE_FILE, PROP_TYPE_STRING)
13983 2001-05-01  Hans Breuer  <hans@breuer.org>
13985         * objects/makefile.msc : added eml
13986         * objects/eml/instantiation.c : initialize 'inst' pointer
13987         before using, zero initialization for objects
13988         * objects/eml/interaction-ortho.c :
13989         * objects/eml/interaction.c : zero initialization for objects
13991         * app/menus.c : removed Gimp mru stuff which slipped in at
13992         2000-08-15, was never activated and will never be needed, 
13993         because of Steffens recent file list patch added at 2001-01-05.
13995         * objects/eml/*.c : some more zero initialization of objects
13996         to avoid infinite (uninitialized) bounding boxes
13998         Implemented a callback api which allows plug-ins to register
13999         menu call backs. Dia for Gnome should compile, but will need 
14000         some extra tweaking to make it work because I can't test it.
14002         * plug-ins/python/pydia-error.h :
14003         * plug-ins/python/pydia-render.c : moved Pxthon function return 
14004         value handling from pydia-render.c to pydia-error.h, to make it
14005         usable for
14006         * plug-ins/python/diamodule.c : implement callback function
14007         registration from and relaying to Python code
14009         * app/menus.c : register and use plug-in menu callbacks
14011         * lib/filter.[hc] : implement filter_register_callback() and
14012         filter_get_callbacks() for the above
14013         * lib/libdia.def : export them
14015         * plug-ins/python/debug_objects.py (new file): 
14016         sample using the above
14018 2001-04-27  Lars Clausen  <lrclause@cs.uiuc.edu>
14020         * plug-ins/shape/shape-export.c (new_shape_renderer): 
14021         The name of a shape is now taken from the dir, to conform with
14022         standard naming.
14024 2001-04-25  Lars Clausen  <lrclause@cs.uiuc.edu>
14026         * app/properties.c (properties_show): Added title containing
14027         object type, plus (hopefully) fix of the ghost properties dialog.
14029 2001-04-16  Cyrille Chepelov  <chepelov@calixo.net>
14031         * app/display.c: remove the display idle handler in case we
14032         destroy the ddisplay (caused crashes in ddd, probably random
14033         crashes elsewhere).
14035         * autogen.sh: 
14036         * configure.in:
14037         * Makefile.am: hack around gettext-0.10.36's new "features".
14038         
14039         * lib/properties.[ch]: added new function object_copy_props().
14040         Added new property type PROP_TYPE_ENDPOINTS
14042         * lib/connection.h: added support for load/saving through the
14043         properties interface.
14045         * lib/object.[ch]: object_load/save/copy_using_properties()
14046         support functions (code factorisations).
14047         
14048         * objects/GRAFCET/boolequation.c: check against null values in
14049         boolequation_set_value() and boolequation_destroy().
14051         * objects/GRAFCET/transition.c: Converted from lazyprops to
14052         standard properties. 31% less (x86) code !
14054         * objects/GRAFCET/condition.c: also converted from lazyprops to
14055         standard properties. Also killed lots of code.
14056         
14057 2001-04-13  Hans Breuer  <hans@breuer.org>
14059         * plug-ins/wmf/wmf.cpp : changed text conversion from
14060         g_utf8_utf16 to g_convert usage. The latter function is already
14061         available in tml's last "official" Gtk+ version (2000-12-26).
14062         This change allows to use recent Dia with either the official
14063         version or the latest cvs "gtk-1-3-win32-production"-branch.
14065 2001-04-14  Lars Clausen  <lrclause@cs.uiuc.edu>
14067         * Patch from David S. Thompson <dcthomp@mail.utexas.edu>:
14068         * app/disp_callbacks.c:
14069         - Allow submenus in DiaMenus.
14070         - Don't require DiaMenu.title to be non-null (so that
14071           submenus aren't required to have titles)
14073         * objects/FS/function.c:
14074         - object menu now has submenus, an almost complete list of
14075           standard-basis verbs, and a start on nouns.
14076         - box padding, dash length, and other visual attributes are
14077           scaled by the font size... eventually font height will be
14078           a function property.
14079         - draw functions with smaller font to make initial view hold
14080           a reasonable number of functions.
14081         
14082 2001-04-13  Cyrille Chepelov  <chepelov@calixo.net>
14084         * sheets/ER.sheet:
14085         * sheets/chronogram.sheet:
14086         * sheets/jigsaw.sheet:
14087         * sheets/sybase.sheet: Updated Dutch sheet translations from Dag
14088         Wieers <dag@wieers.com>
14090 2001-04-13  Hans Breuer  <hans@breuer.org>
14092         * app/app_procs.c (app_exit) : added g_return_if_fail (!app_exit_once)
14093         to ensure that all the deinitialization is only done once. Fixes
14094         recent app exit crash on win32
14096         * lib/dia_xml.c : provide isinf() replacement for msc which does only
14097         have _finite()
14099         * lib/libdia.def : updated
14101         * objects/makefile.msc : added wanlink.c 
14103         * objects/network/wanlink.c : added M_PI_2 definition for poor
14104         platforms which don't have one
14106         * objects/standard/arc.c :
14107         * objects/standard/zigzagline. c: part of ConectionBBExtras wasn't
14108         initialized which led to rather huge bounding boxes (try Ctrl^A on
14109         diagrams with Arcs or ZigZagLines).
14110         * objects/*/*.c : to avoid further bugs like the above changed all
14111         object initializations to g_malloc0 or g_new0
14114 2001-04-09  Cyrille Chepelov  <chepelov@calixo.net>
14116         * lib/paper.[ch]: get rid of "no previous prototype fo `foo'" by
14117         doing a s/T foo()/T foo(void)/ for all possible values of T and foo.
14119         * objects/UML/class.c: 
14120         * objects/UML/usecase.c:
14121         * objects/UML/large_package.c:
14122         * objects/UML/message.c:
14123         * objects/UML/object.c:
14124         * objects/UML/lifeline.c:
14125         * objects/FS/flow.c:
14126         * objects/FS/flow-ortho.c:
14127         * objects/FS/function.c:
14128         * objects/custom/custom_object.c:
14129         * objects/GRAFCET/vergent.c:
14130         * objects/chronogram/chronoref.c:
14131         * objects/SADT/box.c:
14132         * objects/SADT/annotation.c:
14133         * plug-ins/dxf/dxf-import.c:
14134         * plug-ins/xfig/xfig-import.c:
14135         * plug-ins/wpg/wpg.c:
14136         * app/command.c:
14137         * app/app_procs.c:
14138         * app/display.c: /* certainly more WIP than dead code there */
14139         Unused variables, unused static function definitions, forgotten or
14140         incomplete prototypes added or fixed, lack of const or unwanted const,
14141         etc. (mostly clean-ups of leftovers of the pre-properties era).
14142         Non-obvious cases bracketed by #define THIS_IS_PROBABLY_DEAD_CODE,
14143         please check these.
14145         * app/lineprops_area.c: More of the same. Missing prototypes
14146         added, and functions unused outside made static.
14148         * app/recent_files.c:
14149         * app/properties.c:
14150         * app/defaults.c: some variables are used only when doing a GNOME
14151         build.
14152         
14153         * app/magnify.c: missing #include <stdlib.h>.
14155         * app/paginate_gnomeprint.c: Unused variable; missing "message.h".
14157         These are a lot of clean-ups (by the way, this compiles and runs
14158         cleanly with "gcc-3.0 -O2 -Wall --std=gnu99" too !); please grep
14159         for DEAD_CODE, and if it's yours, judge it.
14160         
14161 2001-04-07  Cyrille Chepelov  <chepelov@calixo.net>
14163         * plug-ins/dxf-import.c: some progress with the arcs; still some
14164         clean-ups to do and line width scaling issues to figure out.
14166         * objects/standard/arc.c: start_point and end_point properties
14167         (duplicated from standard/line.c)
14169         * plug-ins/xfig/xfig-import.c: zip ! zap ! no more dead DXF import
14170         code there.
14171         
14172 2001-04-06  Cyrille Chepelov  <chepelov@calixo.net>
14174         * plug-ins/dxf-import.c: setlocale-related clean-ups and fixes ;
14175         preliminary support for arcs (doesn't work). Circles and ellipses are
14176         now transparent. Coordinate and width scaling are now a common 
14177         static constant (probably before morphing into a preference).
14178         
14179         * sheet/checktrans.py: improved error reporting. Made checktrans
14180         count lack of <name xml:lang="code"> as a lack of translation for
14181         language "code" (no, it's not a plot to bring down other
14182         language's scores !)
14183         
14184         * sheet/*.sheet: Ensured all sheets have an encoding="iso-8859-1"
14185         in the header, and have <name xml:lang="fr"> components.
14186         
14187 2001-04-05  Cyrille Chepelov  <chepelov@calixo.net>
14189         * objects/custom/custom_object.c: temporary hack to fix the shape
14190         bounding box reported by Ben A. Hetland. Proper fix isn't .87
14191         material, see bugzilla #52912.
14193 2001-04-05  Lars Clausen  <lrclause@cs.uiuc.edu>
14195         * objects/standard/image.c (get_directory): Now uses
14196         G_SEPARATOR_CHAR_S instead of "/"
14198         * sheets/network.sheet: 
14199         * sheets/Logic.sheet:
14200         * sheets/Flowchart.sheet:
14201         * sheets/Electric.sheet:
14202         * sheets/Circuit.sheet:
14203         * sheets/ER.sheet:
14204         * sheets/Pneumatic.sheet:
14205         * sheets/SDL.sheet:
14206         * sheets/UML.sheet:
14207         * sheets/GRAFCET.sheet:
14208         * sheets/MSE.sheet:
14209         * sheets/chronogram.sheet:
14210         * sheets/civil.sheet:
14211         * sheets/network.sheet:
14212         Danish translations.
14213         
14214         * objects/standard/image.c (get_directory): Changed get_directory
14215         to use g_dirname to find the directory part.
14217 2001-04-05  Cyrille Chepelov  <chepelov@calixo.net>
14219         * sheets/ER.sheet:
14220         * sheets/Electric.sheet:
14221         * sheets/Flowchart.sheet:
14222         * sheets/Logic.sheet:
14223         * sheets/network.sheet: More Dutch translations from Dag Wieers.
14225 2001-04-04  Cyrille Chepelov  <chepelov@calixo.net>
14227         * sheets/checktrans.py: now emits a warning when two descriptions
14228         for a single language code are found.
14230         * Makefile.am:
14231         * sheets/Makefile.am: -translation-reports now also depend on their
14232         checktrans.py
14233         
14234 2001-04-04  Cyrille Chepelov  <chepelov@calixo.net>
14236         * sheets/Circuit.sheet:
14237         * sheets/Contact.sheet:
14238         * sheets/Logic.sheet:
14239         * sheets/chronogram.sheet:
14240         * sheets/sybase.sheet: 
14241         Dutch translations from Dag Wieers <dag@wieers.com>
14243 2001-04-04  Cyrille Chepelov  <chepelov@calixo.net>
14245         * po-checktrans.py: Now shows the detailed counts alongside the
14246         percentage of translations.
14247         
14248 2001-04-03  Cyrille Chepelov  <chepelov@calixo.net>
14250         * Makefile.am:
14251         * po-checktrans (NEW):
14252         * po-checktrans.py (NEW): builds core-translation-report:
14253         percentages of core (gettext) translations done [Not placed into
14254         po/ where that should belong, because of integration fear^Wissues
14255         with gettextize]. 
14257         TO THE KIND ATTENTION OF PACKAGERS: core-translation-report and 
14258         sheets/sheet-translation-report probably ought to be copied on the 
14259         user's /usr/share/doc/dia (or equivalent) directory.
14261         * sheets/Makefile.am: sheet-translation-report now a simple
14262         EXTRA_DIST; make install won't install it by default. 
14263         
14264 2001-04-03  Cyrille Chepelov  <chepelov@calixo.net>
14266         * app/preferences.c: changed the default grid colour to something
14267         less intrusive. 
14269         * shapes/SDL/*.shape:
14270         * sheets/SDL.sheet: renamed all SDL shapes to conform to the
14271         "$LIBRARY - $NAME" convention. THIS REQUIRES FIXING THE EXISTING
14272         DIA FILES (well, for files using SDL), see the mailing list
14273         archive "SDL (ab)using the global shape namespace" for a script to
14274         do this conversion.
14276         * sheets/SDL.sheet: translated into French
14277         * sheets/network.sheet: fixed XML typos. Yay ! 100% :-)
14278         
14279 2001-04-02  Cyrille Chepelov  <chepelov@calixo.net>
14281         * lib/dia_xml.c: made data_point() more paranoid
14283         * sheets/Makefile.am:
14284         * sheets/checktrans (NEW):
14285         * sheets/checktrans.py: Made checktrans handle more gracefully the
14286         absence of python and python-xml packages, and made the error
14287         message more helpful.
14288         
14289 2001-04-01  Lars Clausen  <lrclause@cs.uiuc.edu>
14291         * lib/render_object.c (new_render_object): Made initial handles
14292         behave like on most other objects.
14294         * app/load_save.c (read_objects): Fixed premature free'ing ofr
14295         typestr causing garbage.
14297 2001-04-01  Lars Clausen  <lrclause@C194282.chmpgn1.il.home.com>
14299         * objects/FS/flow-ortho.c: Fixed a crashbug causes by not
14300         accouting for handle ordering through copy and save. (#51479)
14302 2001-03-31  Cyrille Chepelov  <chepelov@calixo.net>
14304         * sheets/Circuit.sheet: Norwegian translation mistagged to German.
14306 2001-03-31  Steffen Macke  <sdteffen@yahoo.com>
14308         * sheets/Circuit.sheet
14309         * sheets/UML.sheet
14310         * sheets/network.sheet: Updated German translations
14311         
14312 2001-03-30  Cyrille Chepelov  <chepelov@calixo.net>
14313         * lib/arrows.[ch]:
14314         * lib/widgets.c:
14315         * app/lineprops_area.c: The return of the revenge of the arrow
14316         heads. Now all types covered by ISO 10303-201 should be covered.
14317         
14318 2001-03-30  Cyrille Chepelov  <chepelov@calixo.net>
14320         * sheets/Flowchart.sheet: translations in probably Hungarian were
14321         a victim of cut-n-paste from the German one. Fixed (hopefully).
14322         * sheet/UML.sheet: translation in probably Norwegian was a victim
14323         of cut-n-paste from the French one. Fixed (hopefully).
14324         * sheets/Logic.sheet: French translation not tagged with
14325         xml:lang="fr".
14326         
14327         * sheets/checktrans.py:
14328         * sheets/Makefile.am: new file, sheet-translation-report, to be
14329         installed along the sheets, show how much of them has been
14330         translated into which language (I wish the result was prettier...)
14332         * po/README: most translators don't read this file, but anyway...
14334         * sheets/.cvsignore:
14335         * objects/network/.cvsignore: the usual negotiation with CVS.
14337 2001-03-30  Cyrille Chepelov  <chepelov@calixo.net>
14339         * sheets/*.sheet: French translations
14341 2001-03-28  Cyrille Chepelov  <chepelov@calixo.net>
14343         Added patch #52363 from Hubert Figuiere <hfiguiere@teaser.fr>:
14345         ** objects/network/network.c:
14346         ** objects/network/wanlink.c:
14347         ** objects/network/pixmaps/wanlink.c:
14348         ** sheets/network.sheet:
14349         ** objects/network/Makefile.am: a better object to use instead of
14350         the older WAN Connection.
14351         
14352         ** lib/geometry.[ch]: rotation matrix functions in geometry.c (derived from gimp)
14354         ** objects/GRAFCET/vector.c: renamed Vector to GRAFCETVector to avoid a
14355         name clash 
14357         * objects/GRAFCET/vector.c: Re-renamed GRAFCETVector into
14358         Arc; kept the C file name (because CVS wouldn't like it), and
14359         still registering the older object name (but advertising the newer
14360         one in sheets/GRAFCET.sheet).   
14362 2001-03-24  Hans Breuer  <hans@breuer.org>
14364         * app/dia.def : some plug-ins (currently only python, xfig) are using 
14365         functions from the dia executable. To get them working these functions 
14366         need to be explicit exported on win32. IMO the much cleaner way would
14367         be to move these functions to libdia, but that would require some
14368         long term restructuring ...
14370         * lib/libdia.def : updated
14372         * plug-ins/makefile.msc : build xfig plug-in
14374 2001-03-24  Hans Breuer  <hans@breuer.org>
14376         * app/diagram.c : g_strdup (dia->filename) because it will be
14377         g_free ()d
14379         * app/display.c : set ddisp->renderer to NULL after destruction.
14380         This may solve or help to identify erroneous access to it after
14381         destruction.
14383         * plug-ins/wmf/wmf.cpp : convert string from utf8 to wchar to
14384         get 'umlauts' working
14386 2001-03-22  Cyrille Chepelov  <chepelov@calixo.net>
14388         * object/chronogram/chronoline_event.c: stupid bug ; rises and falls
14389         were reversed... (look for the patch, and drink a beer to my
14390         stupidity)      
14391         
14392 2001-03-23  Hans Breuer  <hans@breuer.org>
14394         * app/app_procs.c : don't g_error () if the config directory
14395         can't be created (at least not on windoze) because it's quite
14396         common that the user don't read or understand the FAQ ...
14398         * app/cursor.c : use ddisplay_active () instead of active_display
14399         from app/display.c
14401         * app/display.[hc] : made active_display var static and provide
14402         an accessor funtion ddisplay_active_diagram ()
14404         * app/dia-props.c : don't store the active_diagram, but ask
14405         for it everytime it needed.
14407         * lib/properties.h : #include "intl.h"
14409         * lib/makefile.msc : need to take care of inclusion order to
14410         avoid clashes with gtk+2.0's gdk-pixbuf
14412         * objects/makefile.msc : added uml/stereotype.c to build
14414 2001-03-23  Lars Clausen  <lrclause@cs.uiuc.edu>
14416         * **/*.c: Added config.h to the remaining .c files, and changed
14417         all to be <config.h>.
14419 2001-03-22  Steffen Macke <sdteffen@yahoo.com>
14421         * lib/arrows.c
14422         * lib/arrows.h
14423         * lib/widgets.c
14424         * app/lineprops_area.c: added new arrow types with double
14425         heads
14426         
14427 2001-03-20  Steffen Macke <sdteffen@yahoo.com>
14429         * shapes/Civil/civil_gas_bottle.xpm
14430         * shapes/Civil/civil_gas_bottle.shape
14431         * sheets/civil.sheet
14432         * shapes/Civil/Makefile.am: Added gas bottle shape by Arne
14433         Battermann
14434         
14435 2001-03-20  Lars Clausen  <lrclause@cs.uiuc.edu>
14437         * objects/custom/shape_info.c (load_shape_info): 
14438         * objects/custom/shape_info.h: 
14439         * objects/custom/custom_object.c (custom_update_data): 
14440         Better support for text outside the box -- new attributes 'resize'
14441         and 'align' for text entity.  Align not fully supported yet.
14443         * lib/text.c (text_calc_boundingbox): Adding BB for cursor width.
14445 2001-03-20  James Henstridge  <james@daa.com.au>
14447         * app/interface.c (display_data_received_callback): comment out
14448         status message.
14450 2001-03-19  James Henstridge  <james@daa.com.au>
14452         * app/GNOME_Dia.oaf: rename from GNOME_Dia.oafinfo.
14454         * objects/UML/realizes.c: similar here.
14456         * objects/UML/implements.c: similar here.
14458         * objects/UML/component.c: similar here.
14460         * objects/UML/generalization.c: same here.
14462         * objects/UML/dependency.c: allow NULL for ->name and
14463         ->stereotype.  This fixes a number of problems in loading saved
14464         files.
14466         * lib/properties.c: various changes so that NULL string properties
14467         should work.
14469         * objects/standard/line.c (line_update_data):
14470         line->extra.start_long and line->extra.end_long were not being
14471         initialised.  This fixes potential problems with the bounding box
14472         of "Standard - Line" objects.
14474 2001-03-19  Hans Breuer  <hans@breuer.org>
14476         * app/commands.c : added win32 specific code to display a html
14477         file. #include "text.h" for text_delete_all prototype.
14479         * app/dia.ico :
14480         * app/dia.rc : (new) to give Dia win32 an icon
14482         * app/win32print.[ch] : new files to support direct postscript
14483         file printing on win32. Beware: it *requires* a ps-printer!
14485         * app/paginate_psprint.c : disable the signal code for win32 build
14486         and added small specific changes to support win32print.
14488         * app/makefile.msc : added win32print and linking shell32.lib
14490         * lib/libdia.def : updated
14492 2001-03-18  Kevin Breit <battery841@mediaone.net>
14494         * doc/en/dia-C.omf: Added file.  Dia should now list in the Nautilus
14495           Help tabs.
14497 2001-03-17  James Henstridge  <james@daa.com.au>
14499         * app/paginate_psprint.c (diagram_print_ps): add code that traps
14500         SIGPIPEs during printing.  This gets rid of a number of crashes
14501         caused by printing (eg. typing an incorrect print command).
14503         * dia.spec (%install): gzip the manpage.
14505         * lib/beziershape.c (beziershape_save): fix off by one error in
14506         beziershape save code, which was adding an extra segment to the
14507         object on save.
14509         * app/menus.c: add a separator in the gnome version of the help
14510         menu.
14512         * app/app_procs.c (app_init): add a --nosplash argument which
14513         disables the splash screen.
14515         * app/dia_embedd.c (main): don't leave the splash screen open for
14516         embeddable component.
14518         * app/splash.c (app_splash_init): the gtk_widget_show_now() call
14519         didn't seem to be showing the splash screen like expected, so I
14520         have replaced it with some code that calls gtk_main() until the
14521         first exposure of the window.
14523 2001-03-16  James Henstridge  <james@daa.com.au>
14525         * app/Makefile.am (EXTRA_DIST): add extra pixmaps.
14527         * objects/UML/Makefile.am (libuml_objects_la_SOURCES): add
14528         stereotype.h
14530         * lib/Makefile.am (libdia_a_SOURCES): add diavar.h here.
14532         * app/Makefile.am (dia_core_files): remove splash.h from file
14533         list, as it doesn't exist.
14535         * doc/en/Makefile.am (uninstall-local): remove the docdir on
14536         uninstall.
14538         * doc/Makefile.am (uninstall-local): target to remove the C
14539         symlink.
14541         * dia.spec (%files): include the documentation in the package.
14543         * app/menus.c (toolbox_menu_items): add menu item for manual,
14544         which calls help_manual_callback.
14546         * app/commands.c (help_manual_callback): find help file and load
14547         netscape to view it.
14549         * app/commands.h: add prototype for help_manual_callback()
14551         * doc/Makefile.am (helpdir): similar here.
14553         * doc/en/Makefile.am (helpdir): make the helpdir
14554         $(pkgdatadir)/help/en in the non gnome case.
14556         * configure.in (HAVE_GNOME): add conditional.
14558         * doc/en/Makefile.am: handle the graphics in a more general way,
14559         so it is easier for Kevin to add them to the build (just add them
14560         to the GRAPHICS var).
14562         * app/Makefile.am (embed_extra_print_files): make the case of
14563         building without gnome-print support but with bonobo support work.
14564         dia-embedd needs to be include the gnome-print
14566 2001-03-09  Cyrille Chepelov  <chepelov@calixo.net>
14568         * samples/Makefile.am: included all samples in the distribution....
14569         
14570 2001-03-09  Cyrille Chepelov  <chepelov@calixo.net>
14572         * configure.in: removed premature test for DPS. Added -*- m4 -*-
14573         at the beginning. Made HAVE_UNICODE non-default. po/es_ES.po has
14574         vanished, removed it from ALL_LINGUAS.
14576         * lib/charconv.[ch] (NEW): a very small wrapper around
14577         unicode_iconv to convert strings between utf8 and local charset
14578         (actually, ISO-8859-1, though one can do
14579         CFLAGS="-DEFAULT_8BIT_CHARSET=\"ISO-8859-2\"" and the like).
14581         * lib/ps-utf8.[ch] (NEW): A PostScript Unicoder ; a smallish
14582         library to help build Postscript streams which use as many custom
14583         font encodings as necessary to correctly represent all characters
14584         used (testing from users with non-latin1 and/or more than 256
14585         characters in routine use *very* welcome).
14587         * app/Makefile.am, lib/Makefile.am: integrated these into the
14588         build process.
14590         * shapes/Logic/.cvsignore (NEW): .cvsignore
14591         
14592         * app/render_eps.h: forwarded some changes Lars forgot to include.
14593         * app/render_eps.c: turned off ASCII85 and FILTERS, as this
14594         doesn't yet build.
14596 2001-03-08  Kevin Breit <battery841@mediaone.net>
14598         * doc/en/home_network.png: Added file.
14599         * doc/en/line_props.png: Added file.
14600         * doc/en/usage-objects.sgml: Added two graphics to file.
14601         * doc/en/usage-quickstart.sgml: Added one graphic to file.
14603 2001-03-06  Kjartan Maraas  <kmaraas@gnome.org>
14605         * app/grid.h: Place comment around text after #endif.
14606         * lib/bezier_conn.c: #include <string.h>.
14607         * lib/beziershape.c: #include <string.h>.
14608         * lib/connpoint_line.h: Comment after #endif.
14609         * lib/dia_dirs.c: #include <string.h>.
14610         * lib/element.c: Same.
14611         * lib/lazyprops.c: #include <config.h> and "intl.h".
14612         * lib/lazyprops.h: Comment out text after #endif.
14613         * lib/neworth_conn.c: #include <string.h>
14614         * lib/orth_conn.c: Same here.
14615         * lib/poly_conn.c: Here too.
14616         * lib/polyshape.c: And here.
14617         * lib/properties.c: Remove #include "intl.h" from here and add
14618         an array of static strings to work around bug in gettext that
14619         makes it miss strings in a #define body.
14620         * objects/GRAFCET/action_text_draw.h: Comment out text after #endif.
14621         * objects/GRAFCET/boolequation.h: Same here.
14622         * objects/chronogram/chronoline_event.h: Add prototype for
14623         destroy_cle().
14624         
14625 2001-03-05  Lars Clausen  <Lars R. Clausen <lrclause@cs.uiuc.edu>
14627         * objects/FS/function.c: 
14628         * objects/FS/flow.c: 
14629         * objects/FS/flow-ortho.c: 
14630         Updated to use properties.
14632 2001-03-03  James Henstridge  <james@daa.com.au>
14634         * lib/lazyprops.c (__propdlg_build_enum): translate the radio
14635         button labels when creating them.
14637 2001-02-28  Lars Clausen  <Lars R. Clausen <lrclause@cs.uiuc.edu>
14639         * objects/UML/actor.c
14640         * objects/UML/realizes.c 
14641         * objects/UML/implements.c 
14642         * objects/UML/generalization.c 
14643         * objects/UML/dependency.c 
14644         * objects/UML/constraint.c
14645         Updated to use properties.
14646         
14647         * objects/UML/stereotype.c 
14648         * objects/UML/stereotype.h
14649         Generalized to any kind of bracketting.
14650         
14651 2001-02-28  James Henstridge  <james@daa.com.au>
14653         * app/menus.c: add help entry to the help menu.  Need to get this
14654         working for the non GNOME case as well (maybe put help under
14655         $(datadir)/dia/help for non GNOME?)
14657         * doc/en/topic.dat: add a topic.dat file for GNOME menus.
14659         * doc/en/dia-manual.sgml (legalnotice): add an id attribute to
14660         this element so that we get a meaningful filename in the html
14661         translation.
14663         * doc/Makefile.am, doc/en/Makefile.am: new makefiles to handle the
14664         documentation.
14666         * configure.in (DB2HTML): add a check for the db2html program, and
14667         set an automake conditional if it is found.
14669         * Makefile.am: remove EXTRA_DIST rules that cover doc/ directory,
14670         and descend into doc/ directory while building.
14672         * configure.in (AC_OUTPUT): add doc/ makefiles to output list, now
14673         we need more complex rules for building the docs.
14675 2001-02-25  Hans Breuer  <hans@breuer.org>
14677         * config.h.win32 : some cleanup
14679         * app/prefererences.c : g_scanner_(freeze|thaw)_symbol_table
14680         are deprecated since glib-1.3.2. Sorry needing to use them
14681         contionally, but there is no glib-1.2 for win32
14683         * app/recent_files.c : use g_strescape (params) conditionally
14685         * lib/connection.c : include string.h for memcpy
14687         * lib/geometry.h : added some stuff for compatibility with
14688         msvc, which previously came from included config.h
14690         * lib/libdia.def : updated
14692         * objects/makefile.msc : updated
14694         * objects/GRAFCET/action.c(490) : fixed warning C4700: local variable 
14695         'extra' used without having been initialized
14697         * objects/network/bus.c(658) : initialize 'extra'
14699         * plug-ins/makefile.msc : updated
14701         * plug-ins/cgm/cgm.c :
14702         * plug-ins/pstricks/render_pstricks.c : 
14703         g_free() memory allocated by dia_image_rgb_data(). Plugs possibly 
14704         huge memory leaks.
14706         * plug-ins/python/python.c : use HAVE_DIRENT_H
14708 2001-02-23  Lars Clausen  <Lars R. Clausen <lrclause@cs.uiuc.edu>
14710         * lib/connection.c (connection_update_boundingbox): 
14711         Made the BB shrink on right and lower sides, too.
14713 2001-02-23  Kjartan Maraas  <kmaraas@gnome.org>
14715         * */*.c: #incude <config.h> at the top.
14716         * */*.h: Remove include of "config.h" since it should only
14717         be included in .c files and at the very top for things to
14718         work.
14719         * sheets/*.sheet: Updated Norwegian translations.
14720         
14721 2001-02-22  Lars Clausen  <Lars R. Clausen <lrclause@cs.uiuc.edu>
14723         * objects/UML/small_package.c: 
14724         * objects/UML/class.c: 
14725         * objects/UML/node.c: 
14726         * objects/UML/usecase.c:
14727         * objects/UML/lifeline.c: 
14728         * objects/UML/message.c:
14729         Various cleanup of properties in particular.  Now much more use of
14730         standard properties.
14732         * lib/diagramdata.c (layer_render): Visualization of bounding
14733         boxes, for debugging purpoises.
14735 2001-02-22  Cyrille Chepelov  <chepelov@calixo.net>
14737         * lib/geometry.h:
14738         * lib/connection.[ch]:
14739         * lib/poly_conn.[ch]:
14740         * lib/polyshape.[ch]:
14741         * lib/bezier_conn.[ch]:
14742         * lib/beziershape.[ch]:
14743         * lib/orth_conn.[ch]:
14744         * lib/neworth_conn.[ch]:
14745         * lib/element.[ch]: Changed a bit the _update_boundingbox()
14746         interface. Now the parent elements have an extra_spacing
14747         structure, which child objects just need to fill, to take care of
14748         most arrow & line width extra space needs.
14750         * objects/**/*.c: updated all objects to the new interface.
14751         While at it, killed all instances of (Object *) downcasts (phew !)
14753         * objects/GRAFCET/condition.c: removed the arrowhead, which IEC848
14754         doesn't speak about.
14755         
14756 2001-02-21  Lars Clausen  <Lars R. Clausen <lrclause@cs.uiuc.edu>
14758         * sheets/Logic.sheet: New sheet for Logic symbols.
14760 2001-02-21  James Henstridge  <james@daa.com.au>
14762         * app/menus.c (dia_gnome_menu_get_widget): new function to find a
14763         widget by its path name.  Walks the GnomeUIInfo heirachy rather
14764         than widget tree, compares untranslated label names and ignores
14765         underscores in the labels.
14766         (menus_get_item_from_path): use dia_gnome_menu_get_widget so that
14767         lookups are not dependent on the current locale, as with
14768         gnome_app_find_menu_pos.
14770         * acconfig.h: guard against multiple inclusion of config.h.
14772         * app/select.c (select_style_callback): simply set the selection
14773         style to the value of action.
14775         * app/menus.c (menus_init): simplify the item factory based menu
14776         code a bit.  It looks like it was using some code cut and pasted
14777         from the gimp, which looked a bit unnecessary.  Things work fine
14778         without it.
14779         (selectmenu): set the action to the type of selection mode
14780         requested.
14781         (display_menu_items): use the symbolic enumeration values for the
14782         action field.
14784         * app/plugin-manager.c: 
14785         * app/plugin-manager.h: 
14786         * app/filedlg.c:
14787         * app/filedlg.h: 
14788         * app/select.c:
14789         * app/select.h: change prototypes.
14791         * app/commands.c: update all callback prototypes, and get rid of
14792         some #ifdef GNOME's.
14794         * app/commands.h: change function prototypes.
14796         * app/dia_embedd.c (save_fn):
14797         s/ex_Bonobo_IOError/ex_BonoboStorage_IOError/
14799         * app/menus.c (menus_init): for gnome menus, use
14800         gnome_app_fill_menu_custom and pass in a GnomeUIBuilderData
14801         structure that proxies the callbacks to have the same signature as
14802         GtkItemFactory type 1 callbacks.
14803         (menus_init): for GTK menus, change from callback type 2 to type
14804         1.
14805         (display_menu_items): add back tearoffs.  I don't know who removed
14806         these for the gtk menu case.
14808 2001-02-20  Kevin Breit <battery841@mediaone.net>
14810         * doc/en/usage-objects-special.sgml: Fixed a few of the special
14811         object descriptions.  More to come in the next few days.
14813 2001-02-20  Lars Clausen  <lrclause@cs.uiuc.edu>
14815         * app/render_eps.c: Fixed for internationalized floating point
14816         output. 
14818         * objects/UML/note.c: Fixed properties -- was missing
14819         Get/ApplyPropertiesFunc.  Also improved update to recalculate text
14820         position. 
14822 2001-02-19  Lars Clausen  <lrclause@cs.uiuc.edu>
14824         * plug-ins/xfig/xfig-import.c: 
14825         File added importing xfig files.  Still very rough, but good
14826         enough to let others hack on it.
14828 2001-02-07  Cyrille Chepelov  <chepelov@calixo.net>
14830         * app/interface.c:
14831         * app/linewidth_area.c:
14832         * lib/lazyprops.c:
14833         * lib/properties.c:
14834         * lib/widgets.c:
14835         * objects/ER/attribute.c:
14836         * objects/ER/entity.c:
14837         * objects/ER/relationship.c:
14838         * objects/custom/custom_object.c:
14839         * objects/flowchart/box.c:
14840         * objects/flowchart/diamond.c:
14841         * objects/flowchart/ellipse.c:
14842         * objects/flowchart/parallelogram.c:
14843         * objects/standard/box.c:
14844         * objects/standard/textobj.c: per Vlad Harchev's request, made
14845         page sizes of gtk_adjustments different than their step sizes.
14846         When sensible values of page size weren't found (overwhelming
14847         majority of cases), page sizes were set to 10.0 * respective step
14848         size.   
14850 2001-02-07  Lars Clausen  <lrclause@cs.uiuc.edu>
14852         * objects/network/hub.c: 
14853         Patch from Hubert Figuiere applied, adding connection points.
14855 2001-02-02  James Henstridge  <james@daa.com.au>
14857         * app/display.c (new_display): set update id to 0 here.
14858         (ddisplay_update_handler): rename from ddisplay_flush, and set
14859         update_id to 0 at end of processing.
14860         (ddisplay_flush): new implementation that simply sets an idle
14861         handler to perform the actual drawing.
14863         * app/display.h: add structure member to hold the redraw idle
14864         handler id.
14866 2001-01-31  Lars Clausen  <lrclause@cs.uiuc.edu>
14868         * objects/standard/ellipse.c (ellipse_copy): 
14869         * objects/standard/zigzagline.c (zigzagline_copy): 
14870         Fix of copying provided by Martin Hawlisch.
14872 2001-01-23  Kevin Breit <battery841@mediaone.net>
14874         * doc/en/graphics/: added directory
14876         * doc/en/graphics/greendots.png: added file
14878         * doc/en/*sgml: made minor and some major changes to prepare for 1.4
14879         release.
14881 2001-01-23  Kevin Breit <battery841@mediaone.net>
14883         * doc/en/*sgml: made some grammar changes and fixed a few markup bugs.
14884                         thanks to John Fleck!
14886 2001-01-21  Kevin Breit <battery841@mediaone.net>
14888         * doc/en/*sgml: made just minor changes to a few lines; nothing major.
14890 2001-01-12  Michael Meeks  <michael@helixcode.com>
14892         * app/dia_embedd.c (init_server_factory): do a bonobo_activate
14893         so our POA gets setup properly.
14895         * app/paginate_gnomeprint.c (paginate_gnomeprint): g_free
14896         things we g_malloc.
14898         * configure.in: Use bonobox_print.
14900         * app/dia_embedd.c (embeddable_factory): add print interface.
14901         (object_print): impl.
14903 2001-01-11  Michael Meeks  <michael@helixcode.com>
14905         * app/dia_embedd.c (embeddable_factory): aggregate PersistFile.
14906         (load_fn, save_fn): impl.
14907         (view_factory): hide modified status bar, & use activate fn.
14908         (refresh_view): force redraws of the views.
14909         (view_show_hide): split from
14910         (dia_view_activate): here.
14912         * app/diagram.c (diagram_load_into): split from diagram_load.
14913         (new_diagram): simplify bu splittin stuff into
14914         (diagram_init): here.
14916 2001-01-10  Steffen Macke <sdteffen@yahoo.com>
14918         * shapes/jigsaw/*.shape: replaced #000000 with foreground
14919         and #ffffff with background
14920         
14921 2001-01-08  Steffen Macke <sdteffen@yahoo.com>
14923         *configure.in: GTK+-build was broken due to missing
14924         have_bonobo=no
14925         
14926 2001-01-06  Michael Meeks  <michael@helixcode.com>
14928         * app/dia_embedd.c (main): add running context support.
14929         (dia_embeddable_destroy): remove old running object counting.
14930         (embeddable_factory): ditto.
14931         (view_factory): comment out menu path hiding.
14933         * lib/sheet.c (load_register_sheet): use free to free
14934         stuff from libxml not g_free.
14936         * acconfig.h: kill cover for USE_BONOBOX and USE_OAF
14938         * configure.in: remove USE_OAF checks, check for a precice
14939         Bonobo version >= 0.31, revamp bits.
14941         * app/dia_embedd.c (init_server_factory): upd.
14942         (init_dia_factory): remove OAF conditionals, everything uses
14943         oaf now.
14945         * app/GNOME_Dia.oafinfo: rename OAFIIDs
14947         * app/Makefile.am: remove ancient gnorba code.
14948         rename dia.oafinfo to GNOME_Dia.oafinfo
14950 2001-01-07  Hans Breuer <Hans@Breuer.Org>
14952         * config.h.win32
14953         * install.win32
14954         * readme.win32 : some more files required or useful to build 
14955         Dia on win32
14957         * plug-ins/wmf/wmf.cpp : fixed open issues like fill_arc and
14958         fill_bezier implementation, boundary drawing in fill mode, etc.
14959         Next one complaining gets the source, uncommented ...
14961         * shapes/network/router-symbol.xpm 
14962         * shapes/network/switch-atm-symbol.xpm 
14963         * shapes/network/switch-symbol.xpm : removed "-*- picture -*- "
14964         from /* XPM */ header, cause it stopped Dia/gdk_pixbuf to detect 
14965         the files as XPMs. Maybe the X versions of these functions are more
14966         tolerant ...
14968 2001-01-06  Steffen Macke <sdteffen@yahoo.com>
14970         * plug-ins/python/Makefile.am: added libart path
14972         * plug-ins/python/python.c: added dirent.h
14974         * configure.in: added es_ES and pt_BR to ALL_LINGUAS
14975         
14976 2001-01-06  Hans Breuer <Hans@Breuer.Org>
14978         * objects/uml/actor.c
14979         * objects/uml/branch.c
14980         * objects/uml/class.c
14981         * objects/uml/classicon.c
14982         * objects/uml/component.c
14983         * objects/uml/large_package.c
14984         * objects/uml/node.c
14985         * objects/uml/note.c
14986         * objects/uml/object.c
14987         * objects/uml/small_package.c
14988         * objects/uml/state.c
14989         * objects/uml/usecase.c : started to implement the generic property
14990         interface for the uml objects. Would appreciate some help on how
14991         to implement properties which are list of properties themselves,
14992         e.g. member functions and their parameters of UMLClass.
14994 2001-01-06  Hans Breuer <Hans@Breuer.Org>
14996         * plug-ins/python/diamodule.c : finally ported to win32.
14997         Added new objects and implemented register_export function.
14999         * plug-ins/python/pydia-object.h
15000         * plug-ins/python/pydia-display.c
15001         * plug-ins/python/pydia-handle.c
15002         PyObject_HEAD_INIT needs some tweakink on win32. Done in
15003         pydia-object.h; others files simply using it.
15005         * plug-ins/python/pydia-layer.c : reflect 
15006         layer_find_closest_connection(_)point renaming
15008         * plug-ins/python/pydia-object.c : add property properties.
15009         Also change bounding_box to DiaRectangle.
15011         * plug-ins/python/python.c : extended error reporting; use
15012         all *.py files from Dia's plug-in dir instead of hardcoded
15013         test.py. This sollution should be fine with Win32, but on
15014         Unix it may need some tweaking (dunno) ...
15016         * plug-ins/python/export-object.py
15017         * plug-ins/python/export-render.py : test and documentation 
15018         implementations for export filter implementations in Python
15020         * plug-ins/python/pydia-color.[hc]
15021         * plug-ins/python/pydia-diagramdata.[hc]
15022         * plug-ins/python/pydia-error.[hc]
15023         * plug-ins/python/pydia-export.[hc]
15024         * plug-ins/python/pydia-font.[hc]
15025         * plug-ins/python/pydia-geometry.[hc]
15026         * plug-ins/python/pydia-image.[hc]
15027         * plug-ins/python/pydia-properties.[hc]
15028         * plug-ins/python/pydia-property.c
15029         * plug-ins/python/pydia-render.c : new objects in new files 
15031         * plug-ins/python/makefile.am : added new files but can't test it
15033         * plug-ins/python/pydia.def
15034         * plug-ins/python/makefile.msc : for win32 build
15036         * plug-ins/cgm/cgm.c
15037         * plug-ins/dxf/dxf-import.c
15038         * plug-ins/dxf/dxf-export.c
15039         * plug-ins/hpgl/hpgl.c : reflect export API change
15041         * plug-ins/shape/shape-export.c : reflect export API change
15042         and check for libart (better the availibility of a png exporter) 
15043         at run-time instead of compile-time. 
15045 2001-01-06  Steffen Macke <sdteffen@yahoo.com>
15047         * app/recent_files.h was missing from Hans's commit
15049         * plug-ins/shape/shape_export.c: shape export was broken
15050         due to interface changes
15051         
15052 2001-01-05  Hans Breuer <Hans@Breuer.Org>
15054         Applied Steffen's recent file list patch :
15055         * app/Makefile.am : added recent_files.[hc]
15056         * app/diagram.c : add files to recent file list
15057         * app/menus.c : add recent file menu
15058         * app/app_procs.c : changed initialization order to
15059         make recent file list work with command line processing.
15061         The Filter export()/import() functions have got an additional 
15062         parameter to allow multiple filters via one C callback (required
15063         for Python bindings)
15065         * app/commands.[hc] : corrected the signature for gtk menu callback
15066         functions, which actually use the second or third parameter. This
15067         is the absolute minimum change to make these functions/menu entries
15068         work again. Using the other possible gtk menu callback signature
15069         would have required one more function to change. (see mailing list
15070         thread "Objects/Align/Equal Distance" for more information.
15072         * app/disp_callbacks.c : applied Gustavo J.A.M. Carneiro's
15073         zoom-combo focus patch
15075         * app/display.c
15076         * app/interface.c : wrapped the Zoom Combo code into 
15077         #ifndef WITHOUT_ZOOM_COMBO because IHMO it isn't an useabilty
15078         improvement but cluttering the user interface. Also it wasn't
15079         compiling on Win32 anyway. The win32 version does define 
15080         WITHOUT_ZOOM_COMBO to keep the old look. 
15081         There are plans to use the statusbar to display size and placement
15082         of selected objects, whereas the Zoom Combo would need to get out
15083         of the way as well.
15085         Added "Save Changes?" to diagram close dialog. Hopefuly the
15086         Yes/No/Cancel option isn't too much windoze like. IHMO this is
15087         an useability improvement.
15089         * app/export_png.c
15090         * app/filedlg.c
15091         * app/load_save.c
15092         * app/layer_dialog.c
15093         * app/paginate_psprint.c
15094         * app/render_eps.c
15095         - reflect signature changing of filter->export function
15096         - replaced '/' with G_DIR_SEPARARTOR where appropriate
15098         * app/diaunitspinner.c
15099         * app/render_libart.c
15100         added misssing headers like <string.h>
15102         * app/object_ops.c : fixed copy&paste bug in dialog string
15104         * app/splash.c : gdk_widget_show_now () does not ensure actual
15105         drawing of the splash screen, at least not on win32. Reuse the
15106         previous implementation with gtk_main_iteration() again.
15108         * */makefile.msc : make use of the build module (available in
15109         gnome-cvs/build. Updated for other source changes
15111         * lib/filter.h : added an user_data pointer to <ex/im>port()
15112         function signature and Dia<Im/Ex>portFilter to allow different
15113         filters to reuse the same callback function
15115         * lib/font.c : #include <string.h>
15117         * lib/orth_conn.c 
15118         * lib/poly_conn.c 
15119         * lib/poly_shape.c 
15120         * lib/neworth_conn.c
15121         * lib/text.c : don't mix allocator functions (g_)realloc, free, ...
15123         * */*.def : export function definition files required by win32 build
15125         * objects/custom/custom.c : #include <string.h>
15127         * plug-ins/pstricks/render_pstricks.c
15128         * plug-ins/shape/shape_export.c
15129         * plug-ins/svg/render_svg.c
15130         reflect changes to filter export function signature
15132         * plug-ins/wmf/wmf.cpp : fixed indent and scaling. It now should
15133         mostly work as expected
15134         * plug-ins/wmf/wmf_gdi.[hc] : Updated comment. Still not used
15135         to build the wmf plug-in because on the one hand the GDI emulation 
15136         isn't finished and on the other hand it isn't required when building
15137         for win32. Is there anybody out there, who wants to save WMF on non
15138         windoze platforms ?
15140         * plug-ins/wpg/wpg.cpp : fixed scaling to take axis dependent
15141         offset into account.
15143 2001-01-02  Steffen Macke <sdteffen@yahoo.com>
15145         * app/Makefile.am: added missing plug-ins to run_dia.sh
15147         * lib/paper.c: added paper sizes A0, A1, A2
15149         * objects/UML/class.c
15150         objects/UML/class.h
15151         objects/UML/class_dialog.c: added support for colored UML
15152         classes
15153         
15154 2000-12-30  Kevin Breit <battery841@mediaone.net>
15156         * doc/en/usage-customization.sgml: added more content
15158 2000-12-24  Kevin Breit <battery841@mediaone.net>
15160         * doc/en/usage-layers.sgml: added file, contributed by Remypsb
15161         <remy.viard@laposte.net>
15163 2000-12-24  Steffen Macke <sdteffen@yahoo.com>
15165         * added limiting lines to Civil Engineering sheet,
15166         fixed vertical pump icon
15167         
15168 2000-12-20  Steffen Macke <sdteffen@yahoo.com>
15170         * updated/additional Civil Engineering shapes: better icons,
15171         shapes use foreground/background colors now and are filled
15172         
15173 2000-12-03  Kevin Breit  <battery841@mediaone.net>
15175         * doc/en/dia-manual.sgml Integrated a few diffs.  New section should be
15176         the selection <sect1>
15178 2000-11-29  Fredrik Hallenberg  <hallon@lysator.liu.se>
15180         * app/load_save.c (diagram_data_save): avoid using obsoleted
15181         libxml calls (only matters when compiling with libxml2)
15183 2000-11-25  James Henstridge  <james@daa.com.au>
15185         * app/disp_callbacks.c (ddisplay_drop_object): add a function to
15186         handle the tool drops on the canvas.
15188         * app/interface.c (display_data_received_callback): do the check
15189         to make sure that the drag is from a local toolbox here as well.
15191         * app/interface.c (create_tools): unref the pixmap/mask after
15192         creating the GtkPixmap.
15193         (tool_setup_drag_source): function to set up a drag source for
15194         create object tool buttons.
15195         (create_tools): setup drag source for CREATE_OBJECT_TOOL's.
15196         (fill_sheet_wbox): same here.
15197         (create_display_shell): set up the display canvas as a drag
15198         destination.
15199         (display_drop_callback, display_data_received_callback): functions
15200         to handle drops of tool buttons.
15202         * app/menus.c (menus_init): don't use gnome_popup_menu_new().  It
15203         does weird shit to the user_data pointer for a menu item.  Object
15204         alignment should work again now.
15206         * app/splash.c (get_logo_pixmap): don't unref the bitmap if it is
15207         NULL, and mark this function static.
15208         (app_splash_init): use gtk_widget_show_now() instead of the
15209         gtk_main_iteration loop.
15210         (app_splash_init): connecting gtk_widget_destroy to the destroy
15211         signal of a widget seems pretty useless.
15213 2000-11-23  Kevin Breit <battery841@users.sourceforge.net>
15215         * doc/en/dia-manual.sgml:
15216                 Added sect1 for advanced object types.  Starting development
15217                 on that part.
15219 2000-11-18  Kevin Breit <battery841@mediaone.net>
15221         * doc/en/dia-manual.sgml:
15222                 Stupid spelling fixes.
15224 2000-11-18  Kevin Breit <battery841@mediaone.net>
15226         * doc/en/dia-manual.sgml:
15227                 Just some small changes I made.  Props to Greg LeBlanc on the
15228                 recommendations.
15230 2000-11-17  Alexander Larsson  <alla@lysator.liu.se>
15232         * app/display.c:
15233         (ddisplay_add_display_area): Clip input rectangle to
15234         the visible part of the display.
15235         (ddisplay_scroll): Optimization, don't scroll and
15236         redraw if moving to the same position as before.
15238         * app/render_libart.c (renderer_libart_copy_to_window):
15239         Removed sanity check. Now moved to ddisplay_add_display_area().
15241         * lib/diavar.h:
15242         Added return at end of file.
15243         
15244 2000-11-13 Kevin Breit <battery841@mypad.com>
15245         * doc/en/dia-manual.sgml
15246                 Commited manual changes from Henry House <hajhouse@houseag.com>
15248 2000-10-21 Hans Breuer <Hans@Breuer.Org>
15249         * lib/beziershape.c :
15250                 The previous code was accessing unowned memory due to IHMO
15251                 wrong index calculation. Now it appears to be fixed.
15252                 *Please Review!*
15254         * lib/makefile.msc
15255         * plug-ins/makefile.msc
15256         * objects/makefile.msc
15257         * app/makefile.msc: (new files)
15258                 Makefiles for Dia on Win32, Micro$oft VC only.
15260         * plug-ins/pstricks/render_pstricks.c
15261         * plug-ins/dxf/dxf-import.c
15262         * plug-ins/shape/shape-export.c
15263         * plug-ins/svg/render_svg.c
15264         * app/commands.c
15265         * app/filedlg.c
15266         * app/preferences.c
15267         * app/render_eps.c
15268         * lib/sheet.c
15269         * lib/plug-ins.c
15270         * objects/custom/custom.c
15271         * objects/standard/image.c
15272                 portability (not only win32): use HAVE_UNISTD_H, HAVE_DIRENT_H 
15273                 where   appropriate, add missing prototypes like <string.h>
15275         * plug-ins/wmf/wmf_gdi.cpp
15276         * plug-ins/wmf/wmf_gdi.h:
15277                 start of wmf write functions for non Win32 platform. Not 
15278                 finished yet. The other way to get it working maybe to
15279                 link the plug-in against wine libs.
15280                 
15281         * plug-ins/wpg/wpg.c : add missing brace
15283         * app/load_save.c :
15284                 Handling for unknown objects at load time. Previously Dia
15285                 was crashing, if you try to load a file referencing objects
15286                 whiches plug-ins aren't installed/available. Now it spits out 
15287                 a warning and ignores the unknown objects.
15289         * app/interface.c
15290                 toolbox DND support for files like The Gimp does it.
15292         * app/main.c
15293         * app/app_procs.h
15294                 Simple splash screen support and usage.
15296         * app/app_procs.c
15297                 Splash screen, portability fixes, dont' g_error if there is
15298                 g_get_homedir return NULL. This may remove the one and only
15299                 FAQ for Win32.
15301         * app/menus.c :
15302                 Make it compile without ENABLE_NLS
15304         * app/render_libart.c :
15305                 Sanity check to avoid calling libart with wrong window coordinates.
15306                 They come from the update handler. Direct Gdk is dealing nicely
15307                 with coordinates out of range, libart does access un-owned memory
15308                 in this case, mostly causing crashes.
15310         * app/winmain.c: (new file) Export the Win32 Gui version of the
15311                 main function. This file is only required for Windoze.
15313         * app/splash.c: (new file) splash screen implementation
15315         * lib/color.h
15316         * lib/font.h
15317         * lib/diavar.h: (new file)
15318                 moved special variable export code to diavar.h, because it is
15319                 needed in color.h and font.h
15321         * lib/paper.c :
15322                 M$VC cann't export inlined functions. Quick hack to let it
15323                 link again. Probably the glib mechanics should be used here?
15325         * objects/UML/lifeline.c : initialize var before usage
15327         * objects/GRAFCET/step.c : removed unused var
15329 2000-10-14  James Henstridge  <james@daa.com.au>
15331         * app/render_gnomeprint.c (draw_image): change code so images
15332         don't get flipped when printing.
15334         * app/paginate_gnomeprint.c (diagram_print_gnome): check to make
15335         sure that the return value of
15336         gnome_print_context_new_with_paper_size is not NULL.
15338         * app/render_gnomeprint.c (draw_arc): add code to convert arcs
15339         into a series of bezier segments.
15340         (fill_arc): similar code to handle filled arc segments.
15342 2000-10-12  Fredrik Hallenberg  <hallon@lysator.liu.se>
15344         * app/app_procs.c
15345         * app/commands.c
15346         * app/dia-props.c
15347         * app/diagram.c
15348         * app/diagram.h
15349         * app/disp_callbacks.c
15350         * app/display.c
15351         * app/linewidth_area.c
15352         * app/paginate_psprint.c
15353         * app/preferences.c
15354         * app/undo.c
15355         * app/font.c
15356         * app/message.c
15357         * app/neworth_conn.c
15358         * app/orth_conn.c
15359         * objects/standard/box.c: various small changes to get rid of 
15360         annoying warnings (eg faulty prototypes and unused variables)
15362         * app/disp_callbacks.c
15363         * app/cursor.h
15364         * app/magnify.c
15365         * app/magnify.h: update magnify tool icon when pressing/releasing
15366         shift. I will try to make something more general so that similar
15367         things can be used by other tools.
15369         * shapes/SDL/inout.shape
15370         * shapes/SDL/return.shape: fixed some typos
15372 2000-10-09  James Henstridge  <james@daa.com.au>
15374         * objects/custom/shape_info.c (parse_path): apply patch from
15375         Robert Young <robertdotyoung@dsto.defence.gov.au> to fix bug
15376         #25221
15378 2000-10-08  James Henstridge  <james@daa.com.au>
15380         * objects/standard/image.c (image_set_props): if the file could not
15381         be loaded, show the broken image icon.
15383         * plug-ins/Makefile.am (SUBDIRS): add shape to the subdirs list.
15385         * plug-ins/shape/*: the shape export plugin by Steffen Macke.
15387         * app/interface.c (fill_sheet_wbox): use gdk-pixbuf to load the
15388         object icon when loading from a file.  This allows you to have PNG
15389         icon files for shapes.
15391 2000-10-07  James Henstridge  <james@daa.com.au>
15393         * app/Makefile.am (dia_LDADD): remove GDK_IMLIB_LIBS reference.
15395         * lib/Makefile.am, app/Makefile.am (INCLUDES): remove
15396         GDK_IMLIB_CFLAGS reference.
15398         * app/commands.c (help_about_callback): remove imlib code.
15400         * lib/dia_image.c: only include the pixbuf version of the image
15401         routines.
15403         * acconfig.h: remove the HAVE_GDK_PIXBUF flag from here.
15405         * configure.in (CPPFLAGS): remove the check for imlib, as we now
15406         require gdk-pixbuf.
15408         * plug-ins/pstricks/render_pstricks.c (new_pstricks_renderer):
15409         conditionally define \setfont as well.
15411 2000-10-05  James Henstridge  <james@daa.com.au>
15413         * plug-ins/pstricks/render_pstricks.c (new_pstricks_renderer): fix
15414         preamble so that we define \setlinejoinmode and \setlinecaps
15415         commands conditionally on them being undefined.  This way, the
15416         pstricks output files should work without modification, and will
15417         support the commands when they are implemented in pstricks.
15419 2000-10-05  Szabolcs Ban  <shooby@gnome.hu>
15421         * dia.desktop: added hungarian translations to dia.desktop
15423 2000-10-04  James Henstridge  <james@daa.com.au>
15425         * sheets/UML.sheet: fix typo.
15427         * objects/custom/shape_info.c: use strtod instead of g_strtod.
15428         (parse_path): actually call setlocale around strtod calls.
15430         * lib/dia_xml.c: use strtod rather than g_strtod.  We wrap each
15431         call in setlocale(LC_NUMERIC, "C"), so there is no reason to call
15432         the g_strtod wrapper.
15434         * shapes/SDL/: add SDL shapes from Rubens Ramos
15435         <rubens_ramos@yahoo.com>
15437         * acinclude.m4 (DIA_CHECK_CFLAG): fix up macro.
15439         * sheets/Makefile.am (SHEETS): add SDL.sheet to list.
15441         * shapes/MSE/: add Mobile Subscriber Equipment shapes from
15442         W. Michael Petullo <mike@flyn.org>.
15444         * sheets/Makefile.am (SHEETS): add civil.sheet (which got missed
15445         from the 0.86 tarball) and jigsaw.sheet.
15447         * configure.in: add shapes/jigsaw/Makefile to list of generated files.
15449         * shapes/jigsaw/: jigsaw shapes from Martin Hawlisch.
15451         * shapes/network/: add network-additional shapes here.
15453         * sheets/network.sheet: add the network-additional shapes from
15454         Martin Hawlisch <Martin.Hawlisch@bflow.com> to the main network
15455         sheet.
15457 2000-09-30  Fredrik Hallenberg  <hallon@lysator.liu.se>
15459         * configure.in: Updated ALL_LINGUAS
15461         * po/nl.po: Removed newline from translation
15463 2000-09-17  Asbjorn Pettersen  <asbjornP@dualog.no>
15465         * app/commands.c (help_about_callback): Use G_DIR_SEPARATOR_S in 
15466         logo filename generation. 
15468         * lib/dia_dirs.c (dia_get_data_directory): Handle empty subdir better.
15469         Avoiding "//dia_logo.png".
15471 2000-09-16  Asbjorn Pettersen  <asbjornP@dualog.no>
15473         * app/filedlg.c: add include <sys/types.h> to
15474         remove warning. (OS/2)
15476 2000-09-13  Cyrille Chepelov <chepelov@calixo.net>
15478         * objects/chronogram/chronoline_event.c (reparse_clevent):
15479         the __checksum routine was simply bogus. Redone it in a slightly
15480         saner way (reported by Michael Farr <mfarr@cs.latrobe.edu.au>).
15482 2000-09-10  Asbjorn Pettersen  <asbjornP@dualog.no>
15484         * app/create_object.c (create_object_button_press): 
15485         * app/modify_tool.c (click_select_object): 
15486         * lib/object.h: select renamed to selectf to prevent
15487         compiler problems with function select().  OS/2 version.
15489 2000-09-08  Karsten Weiss  <knweiss@gmx.de>
15491         * po/de.po: Updated.
15493 2000-09-07  Karsten Weiss  <knweiss@gmx.de>
15495         * dia.desktop: Added German translation
15496         * app/menus.c: "Diagram Propeties..." -> "Diagram Properties..."
15498 2000-08-29  Manuel de Vega Barreiro <barreiro@arrakis.es>
15500         * configure.in (ALL_LINGUAS): added "es"
15502 2000-08-28  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
15504         * app/magnify.c:
15505         * app/cursor.h:
15506         * app/cursor.c:
15507         * app/scroll_tool.c:
15508         Standardized cursor function get_cursor().  Magnify now has
15509         looking-glass cursor with + and -.
15511         * app/create_object.c (create_object_button_press): 
15512         Newly created connections now snap to connection points even when
15513         off the grid. 
15515 2000-08-17  Daniel Egger  <egger@suse.de>
15517         * app/menus.c: #ifdef'ed some code for the none GNOME
15518         case.
15519         * app/dia_embedd.c: Changed obvious hackery. Can anyone
15520         please have a look at the GNOME UI menu creation? The
15521         gnome-app-helper code is ages old and plainly broken!
15523 2000-08-15  Daniel Egger  <egger@suse.de>
15525         * app/commands.c:
15526         * app/commands.h:
15527         * app/diagram.c:
15528         * app/display.c:
15529         * app/menus.c:
15530         * app/select.c: First big patch to get the menus
15531         working again in the international version. Copied
15532         some code written by Sven and me from GIMP and
15533         thus implemented automatic tearoffmenu creation and
15534         proper translation. I also removed that pseudo
15535         radiomenu hack and cleaned up several translation
15536         hacks which have never really worked. All in all
15537         this is part I of the big menu patch. Enjoy and tell
15538         me if you detect any problems.
15540 2000-08-14  Daniel Egger  <egger@suse.de>
15542         * sheets/UML.sheet: Changed one German translation as
15543         suggested by Heribert Schuetz <hs@heribert-schuetz.de>.
15545 2000-08-10  Fredrik Hallenberg  <hallon@lysator.liu.se>
15547         * app/diapagelayout.c:
15548         * lib/diagramdata.c:
15549         * lib/diagramdata.h:
15550         * lib/Makefile.am:
15551         * lib/paper.c:
15552         * lib/paper.h: honour PAPERCONF env variable and /etc/papersize when
15553         selecting paper size for a new diagram. TODO: Use libpaper if 
15554         available and use gnome_paper-stuff if using GNOME.
15556         * sheets/Electric.sheet: fixed typo.
15557         
15558 2000-08-08  James Henstridge  <james@daa.com.au>
15560         * po/README: added a readme file to tell translators to translate
15561         the .sheet files as well.
15563         * app/commands.c (help_about_callback): fix small bug where we tried
15564         to gdk_bitmap_unref() the mask for the about box image, even though
15565         it was NULL.  Now check for a NULL mask.
15567 2000-08-07  Daniel Egger  <egger@suse.de>
15569         * sheets/*.sheet: Added translations for the name
15570         in the toolbar tab. Brushed up some descriptions 
15571         and some translations a bit.
15573 2000-08-06  James Henstridge  <james@daa.com.au>
15575         * plug-ins/svg/render_svg.c (new_svg_renderer): update public
15576         identifier and dtd url for SVG output.
15577         (new_svg_renderer): fix the output of the viewBox output.  The
15578         second two numbers are the width and height -- not the right
15579         and bottom sides of the box.
15581         * shapes/*/*.shape: update svg namespace URI.
15583         * objects/custom/shape_info.c (load_shape_info): change the
15584         namespace URI for custom shapes yet again to match the Candidate
15585         Recommedation.  It looks like this one will probably be the final
15586         one.
15588         * app/display.c (new_display): remove the code that sets ic and
15589         ic_attr members to NULL, as one of the previous function calls
15590         causes the display to be realised.  This means that the ic gets
15591         lost.  Thanks to Yukihiro Nakai <ynakai@redhat.com> for finding
15592         this one.
15594 2000-08-06  James Henstridge  <james@daa.com.au>
15596         * shapes/Makefile.am (SUBDIRS): add Civil back to list.
15598         * NEWS: fixed date in NEWS file, as I will release today.
15600         * README: updated the README a little.  Added note that Dia is now
15601         a GNU program.
15603         * dia.spec: fix up spec file.
15605         * plug-ins/wpg/wpg.c: changed DIAG_NOTE stuff here as well.
15607         * plug-ins/hpgl/hpgl.c: change Hans's DIAG_NOTE stuff so that we don't
15608         get heaps of warnings when you turn off debugging.
15609         Also made a few other warning fixes.
15611 2000-08-02  James Henstridge  <james@daa.com.au>
15613         * plug-ins/svg/Makefile.am (INCLUDES): add XML_CFLAGS to INCLUDES.
15615         * configure.in: update version number.
15617 2000-08-01  James Henstridge  <james@daa.com.au>
15619         * app/commands.c (help_about_callback): add Hans to about dialog.
15621         * doc/shape.dtd: dtd for shape file format.
15623         * doc/custom-shapes: update doc file about creating custom shapes.
15625         * shapes/*/*.shape: change namespace URI for the SVG portion to the
15626         one for the latest draft.
15628         * shapes/*/*.shape: fix up rect definitions.
15630         * objects/custom/shape_info.c (load_shape_info): recognise newer
15631         namespace tag for SVG.
15632         (parse_svg_node): the rect element should take attributes x, y, width
15633         and height -- not x1,y1,x2,y2.
15635         * plug-ins/svg/render_svg.c (new_svg_renderer): updated doctype
15636         output to use the newest draft DTD.
15638         * plug-ins/svg/svg.c: initialisation code for plugin.
15640         * plug-ins/svg/render_svg.c: move svg export code to a plugin.
15642         * plug-ins/svg/Makefile.am: makefile for svg plugin.
15644         * app/app_procs.c (internal_plugin_init): don't register the svg
15645         export filter here.
15647         * app/Makefile.am (dia_core_files): don't compile in render_svg.[ch]
15649 2000-07-31  James Henstridge  <james@daa.com.au>
15651         * objects/standard/textobj.c (textobj_get_defaults): 
15652         * objects/standard/polygon.c (polygon_get_defaults): 
15653         * objects/standard/image.c (image_get_defaults): 
15654         * objects/standard/ellipse.c (ellipse_get_defaults): 
15655         * objects/standard/box.c (box_get_defaults): 
15656         * objects/standard/beziergon.c (beziergon_get_defaults): 
15657         * objects/flowchart/parallelogram.c (pgram_get_defaults): 
15658         * objects/flowchart/ellipse.c (ellipse_get_defaults): 
15659         * objects/flowchart/diamond.c (diamond_get_defaults): 
15660         * objects/flowchart/box.c (box_get_defaults): 
15661         * objects/custom/custom_object.c (custom_get_defaults): 
15662         * objects/FS/flow.c (flow_get_defaults): 
15663         * objects/FS/flow-poly.c (flow_get_defaults): 
15664         * objects/FS/flow-ortho.c (orthflow_get_defaults): ref and sink the
15665         defaults widget.
15667         * app/defaults.c (defaults_show): don't keep on ref'ing the defaults
15668         widgets for various object types.
15669         (create_dialog): ref and sink the no_defaults_dialog.
15671         * app/preferences.c (prefs_create_dialog): change
15672         gtk_container_border_width call to gtk_container_set_border_width.
15674 2000-07-29  James Henstridge  <james@daa.com.au>
15676         * app/commands.c (view_aa_callback): show a warning dialog if
15677         you start AA mode.
15679         * app/interface.c (fill_sheet_menu): don't add a menu item for
15680         empty sheets.
15682 2000-07-26  James Henstridge  <james@daa.com.au>
15684         * plug-ins/dxf/dxf-export.c: updates from Steffen to fix bug #18677
15686         * app/menus.c: remove edit grid menu item.
15688         * app/commands.[ch] (view_edit_grid_callback): removed.
15690         * app/display.c (new_display): don't initialise removed Grid members.
15692         * app/grid.c: remove unused functions.
15694         * app/grid.h: remove dialog related stuff from Grid structure.
15695         Remove prototypes for dialog functions.
15697         * app/menus.c: add to menus
15698         
15699         * app/commands.[ch] (view_diagram_properties_callback): new command
15700         for showing the diagram properties dialog.
15702         * app/dia-props.[ch]: a new diagram properties dialog.  To replace
15703         the edit grid dialog.
15705 2000-07-25  James Henstridge  <james@daa.com.au>
15707         * app/grid.c (grid_x_update): 
15708         (grid_y_update): as the grid setting is stored with the diagram,
15709         update all displays when a change is made.
15711         * app/modify_tool.c (modify_motion): use new snap_to_grid sig.
15713         * app/create_object.c (create_object_button_press): 
15714         (create_object_motion): use new snap_to_grid signature.
15716         * app/grid.c (grid_draw): use the grid settings in the DiagramData,
15717         and handle invisible grid lines.
15718         (snap_to_grid): use new grid settings.  Also changed signature to
15719         take a DDisplay rather than Grid pointer.
15720         (grid_show_dialog): get the defaults from the correct place.
15722         * app/display.c (new_display): do not set ddisp->grid.width_[xy].
15724         * app/diagram.c (new_diagram): set the grid size defaults from the
15725         user preferences.
15727         * app/load_save.c (diagram_data_save): save grid and guide info to
15728         diagram file.
15729         (diagram_data_load): add guide and grid load support.
15731         * lib/diagramdata.c (new_diagram_data): set the new DiagramData
15732         members.
15734         * lib/diagramdata.h: add members to DiagramData for grid and guide
15735         settings.
15737         * configure.in (BONOBO_LIBS): update configure scripts
15739         * app/dia.oafinfo: oafinfo file for dia embeddables.
15741         * app/dia_embedd.c: add OAF support.
15743 2000-07-24  James Henstridge  <james@daa.com.au>
15745         * plug-ins/wpg/Makefile.am: 
15746         * plug-ins/pstricks/Makefile.am: 
15747         * plug-ins/hpgl/Makefile.am: 
15748         * plug-ins/dxf/Makefile.am: same here.
15750         * plug-ins/cgm/Makefile.am: remove LIBADD.  Dia already links with
15751         the required libraries, and the link line was causing libtool not
15752         to build a shared library on some systems :(
15754         * plug-ins/cgm/cgm.c (write_real): the initial if statement should
15755         be checking x, not n.
15757 2000-07-23  James Henstridge  <james@daa.com.au>
15759         * app/preferences.c (prefs_data): set the "reset tools after
15760         create" preference to true by default.  That seems to be what most
15761         people expect.
15763         * app/interface.c (create_sheets): instead of a notebook, use an
15764         option menu that updates the sheet tools.  The notebook tabs were
15765         getting a bit unwieldly, so the option menu should fix that.  This
15766         also reduces the number of widgets in the tools radio button
15767         group, which should make the UI a little more responsive.
15769 2000-07-19  Fatih Demir <kabalak@gmx.net>
15770         
15771         * configure.in: Added tr to ALL_LINGUAS.
15772                 [ Yeah, we're now having a Turkish translation,
15773                    too. ]
15774         
15775         * dia.desktop: Added the Turkish entries.
15777 2000-07-02  Fredrik Hallenberg  <hallon@lysator.liu.se>
15779         * doc/diagram.dtd: changed string-element so it conforms to the
15780         output from dia.
15782 2000-06-30  Fredrik Hallenberg  <hallon@lysator.liu.se>
15784         * configure.in: added chinese. 
15785         Use AM_PROG_LIBTOOL instead of AC_PROG_LIBTOOL.
15787         * app/app_procs.c:
15788           app/load_save.c:
15789           app/render_svg.c:
15790           lib/dia_xml.c:
15791           lib/plug-ins.c:
15792           lib/sheet.c:
15793           objects/custom/shape_info.c: 
15794           shapes/Circuit/npn.shape:
15795           shapes/Circuit/pnp.shape:
15796           sheets/*.sheet: dia now works with libxml2.
15797         Libxml2 is a bit more picky when parsing xml and reported errors on all 
15798         sheet files because they use non ascii characters (added 
15799         encoding="iso-8859-1"). Also "xml:lang=en@layman" is not proper xml so 
15800         I commented out these.
15802 2000-06-30  Christopher R. Gabriel  <cgabriel@linux.it>
15804         * configure.in (ALL_LINGUAS): added Italian
15806 2000-06-27  Sung-Hyun Nam  <namsh@lgic.co.kr>
15808         * configure.in (ALL_LINGUAS): added Korean
15810 2000-06-25  James Henstridge  <james@daa.com.au>
15812         * objects/flowchart/parallelogram.c (pgram_create): use default font
15813         and add properties interface support.
15815         * objects/flowchart/ellipse.c (ellipse_create): use default font and
15816         add properties interface support.
15818         * objects/flowchart/diamond.c (diamond_create): use default font and
15819         add properties interface code.
15821         * objects/flowchart/box.c (box_create): use default font.
15823         * objects/custom/custom_object.c (custom_create): use default font
15824         here too.
15826         * objects/standard/textobj.c (textobj_create): update to use default
15827         font.
15829         * lib/attributes.c: add implementations.
15831         * lib/attributes.h (attributes_[gs]et_default_font): add function
15832         prototypes for setting/getting a default font.
15834 2000-06-24  James Henstridge  <james@daa.com.au>
15836         * app/paginate_gnomeprint.h: updated prototype.
15838         * app/paginate_gnomeprint.c (paginate_gnomeprint): update to use
15839         diagram page settings.
15841         * objects/standard/beziergon.c (beziergon_copy): same here.
15843         * objects/standard/polygon.c (polygon_copy): copy the fill colour
15844         as well.
15846         * app/undo.h: 
15847         * app/tool.h (tool_options_dialog_show): 
15848         * app/scroll_tool.h (free_scroll_tool): 
15849         * app/render_svg.h: 
15850         * app/render_libart.h (renderer_libart_copy_to_window): 
15851         * app/render_gdk.h (renderer_gdk_copy_to_window): 
15852         * app/properties.h (properties_hide_if_shown): 
15853         * app/preferences.h (prefs_load): 
15854         * app/object_ops.h: 
15855         * app/modify_tool.h (free_modify_tool): 
15856         * app/magnify.h (free_magnify_tool): 
15857         * app/linewidth_area.h (linewidth_area_create): 
15858         * app/layer_dialog.h: 
15859         * app/handle_ops.h (handle_is_clicked): 
15860         * app/group.h: 
15861         * app/grid.h (grid_destroy_dialog): 
15862         * app/defaults.h (defaults_show): 
15863         * app/cut_n_paste.h (cnp_exist_stored_objects): 
15864         * app/create_object.h (free_create_object_tool): 
15865         * app/connectionpoint_ops.h (diagram_unconnect_selected): 
15866         * app/commands.h: 
15867         * app/color_area.h (color_area_create): 
15868         * app/app_procs.h (app_is_embedded): remove extern keyword from
15869         function prototypes.
15871         * lib/text.h: 
15872         * lib/sheet.h (load_all_sheets): 
15873         * lib/render_store.h: 
15874         * lib/render_object.h (render_object_load): 
15875         * lib/polyshape.h (polyshape_closest_segment): 
15876         * lib/poly_conn.h (polyconn_closest_segment): 
15877         * lib/orth_conn.h: 
15878         * lib/object.h: 
15879         * lib/objchange.h (new_object_state_change): 
15880         * lib/neworth_conn.h (neworthconn_add_segment): 
15881         * lib/message.h (message_error): 
15882         * lib/lazyprops.h: 
15883         * lib/geometry.h: 
15884         * lib/font.h (font_descent): 
15885         * lib/focus.h (remove_focus): 
15886         * lib/element.h: 
15887         * lib/diagramdata.h: 
15888         * lib/dia_xml.h (data_add_composite): 
15889         * lib/dia_image.h: 
15890         * lib/connpoint_line.h: 
15891         * lib/connection.h (connection_move_handle): 
15892         * lib/color.h: 
15893         * lib/attributes.h (attributes_set_default_line_style): 
15894         * lib/arrows.h (arrow_draw): remove extern keyword from function
15895         definitions.  It is not required for functions.
15897         * plug-ins/dxf/Makefile.am (INCLUDES): 
15898         * plug-ins/pstricks/Makefile.am (INCLUDES): 
15899         * plug-ins/cgm/Makefile.am (INCLUDES): 
15900         * objects/SADT/Makefile.am (INCLUDES): 
15901         * objects/chronogram/Makefile.am (INCLUDES): 
15902         * objects/GRAFCET/Makefile.am (INCLUDES): 
15903         * objects/flowchart/Makefile.am (INCLUDES): 
15904         * objects/sybase/Makefile.am (INCLUDES): 
15905         * objects/FS/Makefile.am (INCLUDES): 
15906         * objects/standard/Makefile.am (INCLUDES): 
15907         * objects/network/Makefile.am (INCLUDES):
15908         * objects/UML/Makefile.am (INCLUDES): same here.
15910         * objects/ER/Makefile.am: changed inclusion of some macros to
15911         variables.
15913         * lib/plug-ins.c (dia_register_plugins_in_dir): use a few defines to
15914         handle the plug in extension, rather than have all the #ifdef's in
15915         the code.
15917         * plug-ins/Makefile.am: add renderer.inc to dist.
15919         * plug-ins/dxf/dxf-import.c: Updates from Steffen Macke.
15921 2000-06-11  Asbjorn Pettersen  <asbjornP@dualog.no>
15923         * lib/plug-ins.c: Handle OS/2 dll's too.
15925 2000-06-07  James Henstridge  <james@daa.com.au>
15927         * app/plugin-manager.c (get_plugin_manager): set some table
15928         packing options to make it look a little nicer.
15930         * plug-ins/hpgl/Makefile.am, plug-ins/wpg/Makefile.am: added
15931         makefiles for these plug-ins.
15933         * plug-ins/{hpgl,wmf,wpg}/*: removed dos style cariage returns.
15935         * configure.in: added hpgl and wpg directories to build.  Added
15936         note about whether gnome-print support was enabled, and noted that
15937         it is not recommended.
15939 2000-06-06  James Henstridge  <james@daa.com.au>
15941         * plug-ins/{hpgl,wmf,wpg}/*: Hans Breuer's plug-ins.  They still need
15942         a little work, but I am checking them in so I don't lose them.
15944 2000-06-01  James Henstridge  <james@daa.com.au>
15946         * objects/standard/arc.c: added extra properties.
15948         * lib/beziershape.c (beziershape_closest_handle): fix a bug where I
15949         was using the wrong index into the handles array.  This gets corner
15950         type changing working correctly.
15952         * lib/properties.[ch]: add support for BezPoint's and BezPoint arrays
15953         to properties code (no editing or loading yet though).  Also added
15954         support for point array manipulation through the offsets interfaces.
15956         * lib/Makefile.am (INCLUDES): added include of gdk-pixbuf 
15958         * app/interface.c (origin_button_press): changes so the origin
15959         button doesn't grab the pointer when we pop up the menu.
15961         * app/commands.c (help_about_callback): fix small memory leak in
15962         about box code.
15964         * app/menus.c (menus_init): fixed breakage I introduced in the non
15965         gnome menus when I was doing the menu changes.  The tearoffs work
15966         really nicely in plain gtk mode as well.
15968         * objects/standard/beziergon.c (beziergon_create): changed the
15969         returned handles to match the handle numbering changes.  Now
15970         segment addition and removal works correctly with undo!
15972         * lib/beziershape.c: various changes to the code.  Changed the
15973         numbering of handles, and fixed the segment removal code.
15975 2000-05-31  James Henstridge  <james@daa.com.au>
15977         * objects/standard/beziergon.c: remove connection point handling.
15978         There is still a bit of work to be done to get adding and removing
15979         of segments working correctly.
15981         * lib/beziershape.c: add connection point handling to beziershape.
15982         I set it for two connection points per segment.
15984 2000-05-30  James Henstridge  <james@daa.com.au>
15986         * objects/standard/polygon.c: don't do connectionpoint handling.
15988         * lib/polyshape.c: changed to handle connection points internally.
15989         Also, don't worry about connections to handles on polyshape, as
15990         all handles are non connectable.
15992 2000-05-30 Ville Hautamaki <villeh@cs.joensuu.fi>
15994         * configure.in: Added finnish
15995         
15996 2000-05-30  James Henstridge  <james@daa.com.au>
15998         * sheets/*.sheet: translation updates to the .sheet files.
16000         * po/fr.po: updated po file from Christophe Merlet.
16002         * menus.h: removed prototypes for functions which have been removed.
16004 2000-05-29  James Henstridge  <james@daa.com.au>
16006         * app/layer_dialog.c (layer_dialog_set_diagram): set the selected
16007         item in the option menu when changing selected diagram.
16009         * app/dia_embedd.c (view_factory): fix up function to work with new
16010         menus API.
16012         * app/disp_callbacks.c (ddisplay_realize): remove call to
16013         display_set_active from here.
16014         (ddisplay_canvas_events): move call here.  This gets rid of all the
16015         warnings, as the renderer has been fully set up correctly at this
16016         point.
16018         * app/menus.c (menus_init): add the tearoff item to the start of the
16019         right click menu.
16021         * app/app_procs.c (create_user_dirs): we don't need to create the
16022         menus directory anymore.
16024         * app/disp_callbacks.c (ddisplay_popup_menu): it should not be
16025         necessary to update the menu state here, as it was done when the
16026         active display was set.
16028         * app/display.c (display_set_active): update the menu state when
16029         changing active displays.
16031         * app/interface.c (origin_button_press): set the display as active
16032         when a click is made on the menu button.
16034         * app/menus.c (menus_init): set up a quit function to save the accels
16035         at exit.
16036         Add tearoff items for the non GNOME menus, add accelerators for
16037         several GNOME menus.
16039         * app/disp_callbacks.c (ddisplay_popup_menu): get the menu with
16040         menus_get_image_menu().
16042         * app/menus.c (menus_get_item_from_path): use display_menus here
16043         rather than ddisp->popup.
16045         * app/display.h: remove the popup member in the DDisplay structure.
16047         * app/interface.c: remove option of not using wrap box.
16048         (create_toolbox): change to always use menus_get_toolbox_menubar
16049         even when using gnome menus.
16050         (create_display_shell): use menus_get_image_menu to load accelerators
16051         only -- not the actual popup menu.
16053         * app/menus.c (menus_init): new function to create the menus.
16054         (menus_get_toolbox_menubar): use this function whether gnome is
16055         in use or not.  Changed to use menus_init.
16056         (menus_get_image_menu): same here.  Also, now this function always
16057         returns the same menu, rather than a new one each time.
16058         (menus_init): read a menurc file to load accelerators here.
16060 2000-05-28  James Henstridge  <james@daa.com.au>
16062         * app/display.c (ddisplay_really_destroy): unset active display if
16063         active display is destroyed.
16064         (ddisplay_active): simplify function to return active_display as set
16065         by display_set_active.  This allows using a pinned menu with any
16066         display -- not just the one it was popped up from.
16067         (display_set_active): notify the layer dialog of change of diagrams
16068         when active diagram changes.
16070         * app/disp_callbacks.c (ddisplay_canvas_events): set active display
16071         on button and key presses.
16072         (ddisplay_realize): set active display on realize.
16074         * app/display.c (display_set_active): simple implementation of this
16075         function.
16077         * app/display.h (display_set_active): add prototype for setting
16078         the active display.
16080         * app/interface.c (create_display_shell): don't give focus to the
16081         menu button.
16083         * app/menus.c: fix up menus for Beziergon.
16085         * app/interface.c (create_display_shell): make the widget in the
16086         top left corner a button that can be used to pop up the right click
16087         menu, like in gimp and sketch.
16089         * app/disp_callbacks.c (ddisplay_popup_menu): new function to popup
16090         the display menu.
16092         * objects/standard/beziergon.c (beziergon_set_corner_type_callback):
16093         add code to set corner types for beziergon.
16095         * lib/beziershape.c (beziershape_set_corner_type): fix up corner type
16096         setting code.
16097         (beziershape_move_handle): use the previous corner type for right
16098         controls.
16100         * app/interface.c (tool_data): add beziergon to toolbox.
16102         * objects/standard/standard.c (dia_plugin_init): initialise the new
16103         Beziergon object type.
16105         * objects/standard/beziergon.c: an object based on BezierShape.
16107         * lib/dummy_dep.h (dummy_dep): added to dummy_dep.
16109         * lib/beziershape.[ch]: new files implementing a bezier shape.
16111 2000-05-26  James Henstridge  <james@daa.com.au>
16113         * lib/text.c (text_key_event): handle multibyte inserts.
16114         (text_key_event): also add home and end keybindings.
16116         * app/interface.c (create_display_shell): connect handlers for
16117         focus_in_event, focus_out_event, realize and unrealize signals.
16119         * app/display.[ch] (new_display): initialise input context members.
16121         * app/disp_callbacks.[ch]: added XIM support here.
16123         * lib/font.c (suck_font): the black and white pixel values should be
16124         taken from a 1 bit colormap rather than the default colormap.
16126         Hans Breuer's Windows patches ...
16128         * lib/font.c: use Courier New for fixed width font on windows
16129         machines.
16131         * lib/dia_image.h: change to "struct _DiaImage".
16133         * lib/dia_image.c: change "struct DiaImage" to "struct _DiaImage"
16135         * app/disp_callbacks.c (ddisplay_canvas_events): allow ctrl+right
16136         mouse button for object menu.  This will make two button mouse owners
16137         happier.
16139 2000-05-25  James Henstridge  <james@daa.com.au>
16141         * app/filedlg.c (file_open_ok_callback): use diagram_load here.
16143         * app/app_procs.c (app_init): add extra NULL argument to call of
16144         diagram_load.
16146         * app/load_save.h: remove prototype.
16148         * app/load_save.c: remove diagram_data function here.
16150         * app/diagram.h: added prototype.
16152         * app/diagram.c (diagram_load): new function here, which uses import
16153         filters.
16155         * plug-ins/dxf/dxf.c: register the import filter as well.
16157         * plug-ins/dxf/dxf-import.c: added (unfinished) DXF import filter from
16158         Steffen Macke <macke@heini.fbbwu.fh-lueneburg.de>
16160         * objects/standard/line.c: add start_point and end_point properties
16161         to standard line object.
16163 2000-05-21  James Henstridge  <james@daa.com.au>
16165         * app/paginate_psprint.c: added missing include of locale.h.
16167         * objects/custom/custom_object.c (custom_draw): use fabs rather than
16168         abs for scaling factors.
16169         (custom_distance_from): same here.
16171         * dia.spec: make sure rpm doesn't bomb out when LINGUAS isn't set.
16173 2000-05-18  James Henstridge  <james@daa.com.au>
16175         * po/POTFILES.in: updated POTFILES.in.
16177         * dia.spec: incremented version number in spec file.
16179         * NEWS: added (lots of) news items for the 0.85 release.
16181         * app/preferences.c (prefs_save): set LC_NUMERIC to C while writing
16182         the config file.
16184         * configure.in: updated version number here.
16186         * app/Makefile.am (run_dia.sh): include plug-ins in the lib path.
16188 2000-05-17  James Henstridge  <james@daa.com.au>
16190         * app/app_procs.c (internal_plugin_init): register the native import
16191         filter.
16193         * app/load_save.c (diagram_data_load, diagram_load): split this
16194         function into two -- one that does all the work on the DiagramData
16195         structure, and the other that provides compatibility with the old
16196         function.
16197         (dia_import_filter): use diagram_data_load to define an import
16198         filter.
16200         * app/diagram.h (new_diagram): added const to prototype.
16202         * app/filedlg.c (file_open_callback): change to use new import filter
16203         code.
16205         * lib/filter.c: added import filter management functions.
16207         * lib/filter.h: added prototypes for import filter interface.
16209         * app/commands.c (help_about_callback): updated about dialog to
16210         contain a few more names.
16212 2000-05-16  James Henstridge  <james@daa.com.au>
16214         * configure.in (Configuration): added a status message to the end of
16215         the configure script to give the user some idea of what was
16216         configured.
16218         * plug-ins/dxf/Makefile.am: Makefile for new plugin.
16220         * plug-ins/dxf/dxf.c (dia_plugin_init): added file to initialise the
16221         plugin.
16223         * plug-ins/dxf/dxf-export.c: new file -- Steffen Macke's DXF export
16224         filter for dia.
16226         * configure.in (AM_PATH_LIBART): use the check function provided
16227         with libart rather than our own code.  It is more reliable, and
16228         it only requires that people who build out of CVS have libart.m4
16229         installed (not necessarily all of libart).
16230         (AM_PATH_GDK_PIXBUF): same here for gdk-pixbuf.
16232 2000-05-12  Andreas Hyden  <a.hyden@cyberpoint.se>
16234         * dia.desktop: Added Swedish translation.
16236 2000-05-09  James Henstridge  <james@daa.com.au>
16238         * lib/dia_xml.c: you can't free a const pointer, so remove const
16239         from variable definitions.
16241         Explicitely set LC_NUMERIC where needed, as sometimes it isn't
16242         initialised correctly.
16244         * app/render_svg.c (export_svg): set locale to C.
16246         * app/paginate_psprint.c (paginate_psprint): set locale to C.
16248         * app/render_eps.c (export_eps): set locale to C for EPS export.
16250         * lib/dia_xml.c (data_add_real): change to C locale for snprintf call.
16251         (data_add_point): same here.
16252         (data_add_rectangle): same here.
16253         (data_real): use g_strtod to convert strings to real numbers, so that
16254         locales are taken into account.
16255         (data_point): same here.
16256         (data_rectangle): same here.
16258         * AUTHORS: added Henk and Jacek to authors file.
16260         Daniel Egger's code cleanups.
16262         * app/select.c (select_invert_callback): remove unused variable.
16264         * app/plugin-manager.c (get_plugin_manager): fix typo.
16266         * app/load_save.c (read_connections, write_objects): 
16267         (write_connections): made some functions static.
16269         * app/interface.c (toolbox_delete, toolbox_destroy): made some
16270         functions static.
16272         * app/filedlg.c (file_export_callback): remove unused variable.
16274         * app/app_procs.c: various warning fixes.
16276         Integrating Jacek Pliszka's pstricks export filter.
16278         * plug-ins/pstricks/pstricks.c: code to initialise the plugin.
16280         * plug-ins/pstricks/render_pstricks.[ch]: Jacek Pliszka's pstricks
16281         renderer (with a few small modifications by me).
16283         * plug-ins/pstricks/Makefile.am: new makefile for pstricks plug-in.
16285         * plug-ins/Makefile.am (SUBDIRS): add pstricks subdirectory.
16287 2000-05-07  Alexander Larsson  <alla@lysator.liu.se>
16289         * configure.in:
16290         * sheets/Makefile.am:
16291         * shapes/Makefile.am:
16292         * shapes/Civil/Makefile.am:
16293         * sheets/civil.sheet:
16294         * shapes/Civil/*:
16295         Added civil/hydraulic/structural engineering objects from
16296         sdteffen <macke@heini.fbbwu.fh-lueneburg.de>.
16297         
16298 2000-05-07  Alexander Larsson  <alla@lysator.liu.se>
16300         * objects/FS/flow-poly.c:
16301         * objects/FS/flow.c:
16302         Fix division by zero in point_normalize().
16303         Patch by David Thompson <dcthomp@mail.utexas.edu>
16305 2000-04-27  Lars Clausen  <lrclause@cs.uiuc.edu>
16307         * lib/arrows.c:
16308         * lib/bezier_conn.c:
16309         * lib/connpoint_line.c:
16310         Added checks for zero-length lines before calls to point_normalize.
16312 2000-04-24  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
16314         * app/preferences.c (prefs_data): Changed
16315         reversed_dragging_intersects to not make the dialog ridiculously
16316         wide.
16317         
16318 2000-04-22  James Henstridge  <james@daa.com.au>
16320         Hans's win32 patches:
16322         * app/export_png.c: include message.h
16323         * app/interface.c: include dia_dirs.h
16324         * app/linewidth_area.c: check for rint
16325         * app/main.c: include interface.h
16326         * app/paginate_psprint.c: remove unused variable.
16327         * app/preferences.c: include message.h
16328         * app/render_svg.c: include stdlib.h
16329         * app/select.c: include object_ops.h
16330         * lib/dia_dirs.c: miscelaneous fixes for win32.
16331         * lib/dia_image.c: include string.h
16332         * lib/plug-ins.c: look for .dll files rather than .la files on win32.
16333         * lib/properties.c: include stdlib.h
16334         * lib/properties.h: define extra data for standard properties as
16335         static variables on win32 (to get around dynamic linker problems).
16336         * objects/standard/polygon.c: polygon_create_change missing return
16337         statement.
16339 2000-04-18  Pablo Saratxaga <pablo@mandrakesoft.com>
16341         * configure.in (ALL_LINGUAS): added Catalan
16343 2000-04-18  James Henstridge  <james@daa.com.au>
16345         * objects/standard/bezier.c (bezierline_get_object_menu): add a
16346         separator to the object menu between the add/remove segment items
16347         and the corner type items.
16348         (bezierline_get_object_menu): add code to disable the menu item for
16349         the current corner type.  Really just a cosmetic change.
16351         * app/disp_callbacks.c (create_object_menu): handle DiaMenuItems with
16352         a NULL for the label or with no associated callback.
16354         * objects/standard/bezier.c (bezierline_menu_items): use the
16355         enumeration values rather than numeric values for the corner types.
16357         * lib/bezier_conn.[ch]: added a corner_types member to the BezierConn
16358         structure, and add code to handle it.  Also, don't save the corner
16359         types inline in the bez_points node.  The way it is conditionally
16360         including the element just feels like it will break.
16362         * lib/geometry.h (BezPoint): removed the corner_type stuff from
16363         BezPoint.  The corner type stuff is a user interface level idea rather
16364         than something required by the renderer, so should be taken care of
16365         at the object level.
16367 2000-04-17  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
16369         * configure.in: Fixed some problems with the gdk-pixbuf/imlib
16370         checks.  Weren't able to reproduce original bug, tough.
16372 2000-04-16  Cyrille Chepelov  <chepelov@calixo.net>
16374         * sheets/Electric.sheet:
16375         * sheets/Contact.sheet:
16376         * sheets/Pneumatic.sheet:
16377         * sheets/Circuit.sheet: sprayed some <br/>'s around.
16378         (added a few French translations in the last file)
16379         
16380 2000-04-16  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
16382         * lib/geometry.h: 
16383         * lib/bezier_conn.h: 
16384         * objects/standard/bezier.c: 
16385         * lib/bezier_conn.c: Support for cuspy, smooth and symmetric
16386         bezier points.  Only one minor problem known:  Menus are active
16387         for endpoints minor handles.
16388         11:28: Save and load now works, too.
16389         (bezierconn_closest_major_handle): 12:03: New function to get the
16390         non-control point handle associated with the nearest control
16391         point.  
16392         Also fixed the menu activation problem, and made remove_segment
16393         not remove the endpoint.
16395 2000-04-15  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
16397         * configure.in: Added check for gdk-pixbuf being >= 0.7.0 since
16398         new API is in use.
16400 2000-04-15  Asbjorn Pettersen  <asbjornP@dualog.no>
16402         * lib/plug-ins.c: Added <sys/types.h> and moved <fcntl.h> below
16403         <sys/stat.h>.   OS/2 patch.
16405 2000-04-15  James Henstridge  <james@daa.com.au>
16407         * objects/FS/flow-ortho.c, objects/FS/function.c: Applied David
16408         Thompson's patch that adds undo support to the function structure
16409         diagram objects.
16411 2000-04-14  James Henstridge  <james@daa.com.au>
16413         * objects/custom/custom_object.c (custom_distance_from): new
16414         implementation of distance algorithm that actually takes the
16415         display list into account when calculating the distance.  Much nicer
16416         than a simple bounding box.
16418 2000-04-13  Lars Clausen  <lrclause@cs.uiuc.edu>>
16420         * lib/geometry.c (line_crosses_ray): Fixed division by zero bug
16422 2000-04-12  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
16424         * objects/standard/polygon.c: Start of polygons own changes (for
16425         connectionpoints).  Need to do seperate changes in polyshape, too,
16426         rather than reuse the bezier changes.
16428 2000-04-13  James Henstridge  <james@daa.com.au>
16430         * lib/dia_image.c (dia_image_draw): use the new enumeration values
16431         from after the gdk-pixbuf cleanup.
16433         * lib/geometry.c (bez_point_distance_and_ray_crosses): fix up limit
16434         on for loop.  Last set of coefficients were not beeing calculated,
16435         which caused a bit of breakage.
16437         * lib/bezier_conn.c (bezierconn_closest_segment): use the new
16438         functions in geometry.c for calculating the closest segment.
16439         (bezierconn_distance_from): use distance_bez_line_point to calculate
16440         the distance.
16442         * lib/geometry.c (distance_bez_line_point): new function to calculate
16443         the distance from an open bezier line to a point.
16444         (distance_bez_shape_point): new function to calculate the distance
16445         from a closed bezier shape.
16446         (distance_ellipse_point): new function to calculate the distance from
16447         a filled ellipse to a point.
16449         * lib/geometry.h (BezPoint): moved this structure here from render.h
16451 2000-04-12  James Henstridge  <james@daa.com.au>
16453         * lib/geometry.c (distance_bez_seg_point): new function to calculate
16454         the distance from a bezier segment.
16456         * lib/polyshape.c (polyshape_distance_from): use distance_polygon_point
16457         to calculate the distance from the object.
16459         * lib/geometry.c (distance_polygon_point): function for calculating
16460         the distance from a polygon to a point.
16462 2000-04-12  Cyrille Chepelov  <chepelov@calixo.net>
16464         * app/interface.c:
16465         * lib/sheet.[ch]: added a <br/> tag in sheet files, so that line 
16466         breaks can be inserted in the tool box. 
16468         * doc/sheet.dtd: updated the DTD
16469         * sheets/GRAFCET.sheet: tried <br/> on that sheet (more to come).
16470         
16471 2000-04-12  James Henstridge  <james@daa.com.au>
16473         * app/plugin-manager.c (get_plugin_manager): use the GTK_DIALOG
16474         macro if the dialog is a GtkDialog :(
16476 2000-04-11  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
16478         * objects/standard/polygon.c: Connectionpoints now properly
16479         managed in a GList.  As far as I can tell, this will not dieturb
16480         the order (but I have the nagging doubt...)
16482         * lib/polyshape.c: No longer knows about connectionpoints.
16484 2000-04-11  James Henstridge  <james@daa.com.au>
16486         * app/Makefile.am: fix makefile for bonobo build.
16488         * configure.in: fix checks for bonobo.
16490         * app/menus.c: added entries for the plugin manager.
16492         * app/Makefile.am (dia_core_files): added plugin manager to files
16493         list.
16495         * app/plugin-manager.[ch]: the plugin manager dialog.
16497         * app/display.c (display_update_menu_state): set the antialiased
16498         menu entry to the correct value.
16500 2000-04-11  Cyrille Chepelov  <chepelov@calixo.net>
16502         * objects/custom/custom_object.c: not all renderers like ellipses with
16503         negative dimensions. This could cause ellipses to disappear when using
16504         the flip_h and flip_v functions.
16506         * samples/grafcet.dia: fixed speling and correctness.
16507         
16508 2000-04-11  James Henstridge  <james@daa.com.au>
16510         * lib/plug-ins.[ch]: added more accessors for use by a plugins dialog.
16511         exposed the dia_plugin_load and dia_plugin_unload functions.
16513         * lib/plug-ins.c (plugin_load): change plugin_load to work on an
16514         already created PluginInfo structure.
16516         * app/app_procs.c (app_exit): call dia_pluginrc_write() to write
16517         the pluginrc file.
16519         * lib/sheet.c: fix up call to dia_config_filename.
16521         * lib/plug-ins.[ch]: started writing code for handling a pluginrc
16522         file.  This would save information such as which plugins not to
16523         load during startup.
16525 2000-04-09  James Henstridge  <james@daa.com.au>
16527         * lib/sheet.c: use dia_config_filename to resolve file in ~/.dia.
16529 2000-04-10  Alexander Larsson  <alla@lysator.liu.se>
16531         * lib/plug-ins.c (dia_register_plugins):
16532         Don't free the value returned from g_getenv.
16534 2000-04-09  Anders Carlsson  <andersca@gnu.org>
16536         * app/preferences.h: Add reverse_rubberbanding_intersects preference variable.
16538         * app/preferences.c (prefs_data): Add reverse_rubberbanding_intersects preference data.
16540         * app/modify_tool.c (modify_button_release): If rubberbanding is done from 
16541         right to left, select objects that intersect the rubberbanding rectangle
16542         instead of selecting objects that are in the rectangle.
16544         * lib/diagramdata.c (layer_find_objects_intersecting_rectangle): Add function.
16546         * lib/diagramdata.h: Likewise.
16549 2000-04-09  James Henstridge  <james@daa.com.au>
16551         * lib/plug-ins.[ch]: add copyright messages to files.
16553         * plug-ins/cgm/cgm.c (dia_plugin_init): convert plugin over to new
16554         plugin interface.
16556         * objects/sybase/sybase.c (dia_plugin_init): 
16557         * objects/network/network.c (dia_plugin_init): 
16558         * objects/flowchart/flowchart.c (dia_plugin_init): 
16559         * objects/custom/custom.c (dia_plugin_init): 
16560         * objects/chronogram/chronogram.c (dia_plugin_init): 
16561         * objects/UML/uml.c (dia_plugin_init): 
16562         * objects/SADT/sadt.c (dia_plugin_init): 
16563         * objects/GRAFCET/grafcet.c (dia_plugin_init): 
16564         * objects/FS/fs.c (dia_plugin_init): 
16565         * objects/ER/er.c (dia_plugin_init): updated plugin load code for
16566         object libraries.
16568         * objects/standard/standard.c (dia_plugin_init): change over to new
16569         plugin interface.
16571         * lib/plug-ins.h (DIA_PLUGIN_CHECK_INIT): added a macro to define
16572         the version checker for plugins.
16574         * app/app_procs.c: remove plugin loading code from here, and use
16575         code from plug-ins.[ch].  Also move registration of internal
16576         objects/filters to a `builtin' plugin.
16578         * lib/Makefile.am (libdia_a_SOURCES): added plug-ins.[ch] to library.
16580         * configure.in: use AC_PROG_LIBTOOL rather than AM_PROG_LIBTOOL.
16582         * app/Makefile.am (EXTRA_DIST): you can't include a conditionally
16583         defined variable in EXTRA_DIST.
16585         * app/preferences.h: removed dia_config_filename from header.
16587         * app/preferences.c: removed dia_config_filename function.
16589         * lib/dia_dirs.c (dia_config_filename): moved function over to this
16590         file.  Also changed implementation slightly so that it should work
16591         on the win32 port correctly (and use NT home directories).
16593         * lib/dia_dirs.h (dia_config_filename): move dia_config_filename where
16594         it should have been.
16596         * lib/plug-ins.[ch]: new plugin loading code.
16598 2000-04-08  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
16600         * objects/standard/polygon.c: Fixed startup crash bug (do'h!).
16602         * lib/polyshape.c: Fix closest segment finding, exposes deeper
16603         bugs in adding corners to 'wraparound' segment.
16605         * objects/standard/polygon.c: Added connection points (fixed so
16606         far), set menu sensitivity.
16608         * lib/polyshape.c: Changed to box-style handles, fixed for start
16609         and ends not being special, added initial connections,
16611         * lib/dummy_dep.h: Added polyshape (gotcha!)
16613         * objects/standard/pixmaps/ellipse.xpm: 
16614         * objects/standard/pixmaps/box.xpm: 
16615         Filled element pixmaps with white.
16617         * lib/polyshape.c: 
16618         * objects/standard/polygon.c: 
16619         * lib/polyshape.h: 
16620         * objects/standard/standard.c: 
16621         * objects/standard/Makefile.am (libstandard_objects_la_SOURCES): 
16622         * lib/Makefile.am (libdia_a_SOURCES): 
16623         * app/menus.c: 
16624         * app/interface.c (tool_data): 
16625         Added Standard/Polygon object and PolyShape lib object.  Still
16626         needs inside grab and connection points.
16628         * app/commands.c (help_about_callback): Now uses gdk-pixbuf if
16629         available. 
16631         * configure.in: Made imlib a fallback if gdk-pixbuf is absent or
16632         not wanted.
16634         * app/app_procs.c (app_init): Moved gtk_init outside #ifdef, moved
16635         if (argv) outside ifdefs.
16637 2000-04-04  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
16639         * objects/standard/image.c (image_set_props): 
16640         Aspect ratio is back in town.
16642         * app/Makefile.am (dia_LDADD): 
16643         * acconfig.h: 
16644         * configure.in: 
16645         Check for gdk_pixbuf (by default disabled, for now)
16647         * app/render_eps.c (draw_image): 
16648         * app/render_libart.c (draw_image): 
16649         * app/render_gnomeprint.c (draw_image): 
16650         Support for alpha mask in rendering.  Color postscript, too.
16652         * lib/dia_image.c: 
16653         * lib/dia_image.h: 
16654         Support for gdk_pixbuf and proper masking for exports.
16656 2000-04-01  Kjartan Maraas  <kmaraas@online.no>
16658         * sheets/*.sheets: Updated Norwegian translations.
16659         
16660 2000-03-30  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
16662         * lib/text.c (text_insert_char): 
16663         * lib/render_store.c (add_data): 
16664         Made realloc double the alloced space rather than add
16665         a fixed amount, to reduce memory stress.
16667         * app/select.c: Added new select method 'Transitive'
16668         that select every reachable (by connections) object.
16670 2000-03-27  Kjartan Maraas  <kmaraas@online.no>
16672         * dia.desktop: Added Norwegian translation.
16673         
16674 2000-03-26  Alexander Larsson  <alla@lysator.liu.se>
16676         * app/render_eps.c:
16677         * app/render_svg.c:
16678         Don't dereference NULL pointer if the renderer
16679         couldn't open the file. Fix by Lars Clausen.
16680         Bug reported by Martin Chisholm <b1mt@unb.ca>
16681         
16682 2000-03-26  Alexander Larsson  <alla@lysator.liu.se>
16684         * dia.desktop:
16685         * po/pt.po:
16686         Updated pt translation from Pedro Morais <pmmm@rnl.ist.utl.pt>
16688 2000-03-25  Alexander Larsson  <alla@lysator.liu.se>
16690         * app/dia.gnorba (location_info):
16691         Changed to correct executable name.
16693 2000-03-25  Alexander Larsson  <alla@lysator.liu.se>
16695         * app/app_procs.c:
16696         Don't do any argument parsing or initialization
16697         if argv==NULL.
16699         * app/dia_embedd.c:
16700         Call init_server_factroy before app_init.
16701         Call app_init with argv==NULL
16702         Now we don't get any critical error on startup.
16704         * configure.in:
16705         Add Electric and Pneumatic to makefile list.
16706         
16707 2000-03-24  Cyrille Chepelov <chepelov@calixo.net>
16709         * shapes/Electric/*:
16710         * sheets/Electric.sheet:
16711         Add some Electric circuit shapes.
16713         * shapes/Pneumatic/*:
16714         * sheets/Pneumatic.sheet:
16715         Add some Pneumatic & Hydraulic circuit shapes
16716         (both sheets are still incomplete, though feature enough 
16717         things for basic circuits).
16719         * shapes/Contact/l_*.(xpm|shape):
16720         * sheets/Contact.sheet
16721         * shapes/Contact/Makefile.am
16722         made the older electric circuit shapes in Contact obsolete (disabled
16723         them in the sheet, made that sheet Ladder only). Fixed the makefile
16724         for forgotten items.
16725         
16726 2000-03-24  Alexander Larsson  <alla@lysator.liu.se>
16728         * app/Makefile.am:
16729         Add support for Dia bonobo component.
16730         Currently a bit raw, so it's commented out.
16731         
16732         * app/dia_embedd.c:
16733         * app/dia.gnorba:
16734         New files for embedding dia.
16735         The menu disabling hack is a bit gross. Esp. for GNOME.
16737         * app/app_procs.h:
16738         Add new function app_is_embedded();
16740         * app/diagram.c:
16741         Don't destroy diagram when last display is destroyed if embedded.
16742         
16743         * app/display.c:
16744         Change initialization of display so it works with embedding.
16746         * app/display.h:
16747         Clarify comment about display destruction.
16749         * app/interface.[ch]:
16750         Added top_level_window argument to create_display_shell.
16751         Don't open a top-level window if embedding.
16752         Don't quit app if trying to close toolbox window when embedding.
16753         Add toolbox_show() and toolbox_hide().
16755         * app/main.c:
16756         Added app_is_embedded() function (just returns false).
16757         Added toolbox_show() call in main().
16759         * app/menus.c:
16760         Added code for getting toolbox menus. This is used to
16761         hide some menu items when running embedded.
16762         
16763         * app/app_procs.c:
16764         Include sheet.h to remove warning.
16766         * objects/UML/association.c:
16767         Clarify association direction text.
16768         
16769 2000-03-16  Fredrik Hallenberg  <hallon@lysator.liu.se>
16771         * dia.1
16772         Fixed man page so whatis parsing works.
16774 2000-03-12  Alexander Larsson  <alla@lysator.liu.se>
16776         * app/render_libart.c (new_libart_renderer):
16777         Fix from segg <segg@infonet.ca> to compile without libart.
16778         I forgot to change the stub for new_libart_renderer when doing
16779         the interactive renderer stuff for libart.
16781 2000-03-11  Alastair McKinstry  <mckinstry@computer.org>
16783         * dia.desktop: Added Irish translation.
16784         
16785         * configure.in (ALL_LINGUAS): Added Irish (ga) translation.
16787 2000-03-07  Asbjorn Pettersen  <asbjornP@dualog.no>
16789         * app/load_save.c (fchmod): OS/2 defines only.
16791 2000-03-07  James Henstridge  <james@daa.com.au>
16793         * lib/properties.c (prop_get_widget): set the position in the option
16794         menu correctly.
16796 2000-03-06  Alexander Larsson  <alla@lysator.liu.se>
16798         * app/display.c:
16799         * app/export_png.c:
16800         * app/render_libart.[ch]:
16801         Don't export png:s with an interactive libart renderer.
16803 2000-03-03  Asbjorn Pettersen  <asbjornP@dualog.no>
16805         * lib/arrows.c (finite): define finite(d) isfinite(d)  for OS/2
16807 2000-03-02  James Henstridge  <james@daa.com.au>
16809         * dia.spec (%build): unset LINGUAS before running configure.  This
16810         ensures that all translations get included in the RPM.
16812         * lib/properties.c (object_create_props_dialog): put in a check for
16813         a NULL return from the describe_props() object method.
16814         (prop_desc_lists_union): make sure that the returned array is not
16815         NULL.
16816         (prop_desc_lists_intersection): same here.
16818 2000-02-29  Alexander Larsson  <alla@lysator.liu.se>
16820         * objects/ER/Makefile.am:
16821         * objects/FS/Makefile.am:
16822         * objects/UML/Makefile.am:
16823         Don't link object libs with gtk.
16825 2000-02-29  James Henstridge  <james@daa.com.au>
16827         * app/preferences.c (prefs_save): check to see if the file could
16828         be opened before writing the prefs.
16830         * app/disp_callbacks.c (popup_object_menu): pass the button event
16831         to gtk_menu_popup.  This allows you to click and release to open
16832         the object menu.
16833         (ddisplay_canvas_events): same here.
16834         (create_object_menu): set the object type menu item in the object
16835         menu to be insensitive.
16837         * app/render_svg.c (draw_string): call xmlEncodeEntitiesReentrant,
16838         as we are now requiring a new version of libxml.
16840         * dia.spec: updated version number.  Added requirement for
16841         libxml >= 1.8.5
16843         * configure.in: incremented version number to 0.84.
16844         Added check for libxml >= 1.8.5.  This will prevent some of the
16845         problems people have had with broken libxml versions.
16847         * NEWS: added news items.
16849         * app/interface.c (create_color_area): removed call to realize parent
16850         widget.  Segg <segg@infonet.ca> reported that it caused a warning,
16851         but I haven't seen it on my copy of dia.
16853 2000-02-28  James Henstridge  <james@daa.com.au>
16855         * app/export_png.c: added copyright notice, and made the band height
16856         a constant.
16858 2000-02-27  Alexander Larsson  <alla@lysator.liu.se>
16860         * lib/font.c (suck_font):
16861         Fixed off-by one bug in font pixmap height.
16862         Fixes the problem with garbage at the bottom of some text in aa mode
16863         and in png exported files.
16865 2000-02-27  James Henstridge  <james@daa.com.au>
16867         * app/app_procs.c: add the png export filter if it was compiled in.
16869         * app/export_png.c (export_png): new PNG export filter.  This requires
16870         the libart renderer to work as it needs a renderer that renders to a
16871         pixel buffer.
16873         * configure.in: add check for libpng.
16875         * lib/message.c (message_internal): use a GNOME dialog here as well.
16877         * app/display.c (ddisplay_close): use a GNOME dialog here.
16879         * app/render_eps.c (create_eps_renderer): use diagram scaling factor
16880         when exporting to EPS.  This is because some people said the EPS
16881         output was too large
16883 2000-02-26  James Henstridge  <james@daa.com.au>
16885         * app/defaults.c (create_dialog): use a GNOME dialog for the defaults
16886         window.
16888         * app/app_procs.c (app_exit): use a GNOME dialog here.
16890         * app/preferences.c (prefs_create_dialog): if GNOME support is
16891         enabled, show a GNOME dialog.
16893         * app/grid.c (grid_draw): use preferences when drawing page break
16894         lines.
16896         * app/preferences.c: add page break preferences to dialog.
16898         * app/preferences.h: added page break preferences.
16900 2000-02-25  James Henstridge  <james@daa.com.au>
16902         * sheets/UML.sheet: added new objects.
16904         * objects/UML/uml.c: link in the two new objects.
16906         * objects/UML/node.c: 
16907         * objects/UML/branch.c: new UML objects from Stfan Seefeld
16908         <seefelds@magellan.umontreal.ca>.
16910 2000-02-24  James Henstridge  <james@daa.com.au>
16912         * objects/custom/custom_object.c: converted to use the properties
16913         interface.  In the future, it would be nice to add support for
16914         defining custom properties for custom objects, but that can wait.
16916 2000-02-22  James Henstridge  <james@daa.com.au>
16918         * sheets/Circuit.sheet: added new circuit shapes to sheet.
16920         * plug-ins/cgm/cgm.c: cgm plugin updates from Henk Jan Priester
16921         <hj@justcroft.com>.  Fixes number encoding, colour encoding, fonts
16922         and adds a few new features.
16924 2000-02-21  Daniel Egger  <egger@suse.de>
16926         * sheets/*.sheets: Added German translations and made some
16927         corrections to the others.
16928         
16929 2000-02-21  James Henstridge  <james@daa.com.au>
16931         * shapes/Circuit/Makefile.am (SHAPES): added new shapes to list.
16933         * shapes/Circuit/...: added new shapes from Erik Janssens.
16935 2000-02-20  James Henstridge  <james@daa.com.au>
16937         * app/interface.c (create_color_area): realize the parent window
16938         first.
16940         * objects/standard/image.c: properties patch for standard image
16941         object, from Lars Clausen.
16943         * lib/properties.c: support for PROP_TYPE_FILE from Lars Clausen.
16945         * lib/properties.h (PropType): added file property type.
16947         * shapes/Circuit/speaker_de.xpm: changed size of pixmap to match
16948         other shapes.
16950         * app/interface.c: use wrap box for toolbox.
16952         * app/Makefile.am: added new files.
16954         * app/gtk*wrapbox.[ch]: added wrap box widget.
16956 2000-02-19  James Henstridge  <james@daa.com.au>
16958         * sheets/network.sheet: added extra shapes to networks sheet.
16960         * configure.in (AC_OUTPUT): added shapes/network/Makefile
16962         * shapes/network/*: added shapes that were posted to the list a while
16963         back.
16964         
16965         * shapes/Makefile.am (SUBDIRS): added network subdirectory
16967         * app/menus.c (toolbox_menu_items): don't right justify help menu for
16968         gtk+ version of menus.
16970         * app/properties.c (create_dialog): use a GnomeDialog if we happen
16971         to be using gnome.
16973 2000-02-18  James Henstridge  <james@daa.com.au>
16975         * objects/flowchart/box.c: set extra data for corner radius and text
16976         padding properties.
16978         * objects/standard/box.c: set extra data for corner radius property.
16980         * lib/properties.h: set extra data in some standard properties.
16982         * lib/properties.c (prop_get_widget): look at the extra data for
16983         int, real and enum property types.  They now use GtkSpinButton and
16984         GtkOptionMenu respectively.
16986         * lib/properties.h: extra data members for creating property setting
16987         widgets.
16989 2000-02-17  James Henstridge  <james@daa.com.au>
16991         * objects/flowchart/box.c: reverted load/save functions back to
16992         previous implementations.  Made box use standard property names.
16994         * plug-ins/cgm/cgm.c (set_linestyle): was missing a */
16996         * app/grid.c: add more digits to the grid edit dialog.  This patch
16997         was also from Lars Clausen.
16999         * objects/standard/zigzagline.c: 
17000         * objects/standard/textobj.c:
17001         * objects/standard/polyline.c:
17002         * objects/standard/line.c:
17003         * objects/standard/ellipse.c:
17004         * objects/standard/box.c: 
17005         * objects/standard/bezier.c: 
17006         * objects/standard/arc.c: patches to add properties code to standard
17007         objects.  Based on patches from Lars Clausen.  I have also removed
17008         some dead code from the files.
17010         * lib/properties.h (PROP_STD_*): define a number of standard
17011         properties.  Where appropriate, objects should include these
17012         properties in their PropDescription list.  This way, the intersection
17013         of properties of two different shapes will be greater.
17015 2000-02-14  James Henstridge  <james@daa.com.au>
17017         * objects/flowchart/box.c (box_load, box_save): use property save
17018         routines.  Make sure that any props not handled by object_load_props
17019         are loaded before calling object_load_props, or we get errors because
17020         update_data is called.
17022         * lib/properties.c (object_get_props_from_offsets): fixed an indexing
17023         error that could cause properties to be loaded incorrectly.
17024         (object_set_props_from_offsets): similar here.
17026         * lib/properties.[ch] (prop_{load,save}): functions for loading
17027         or saving a property in Dia's XML file format.
17028         (object_{load,save}_props): load or save some properties of an
17029         object.  These functions should help simplify the load/save methods
17030         of objects that implement the properties interface.
17032 2000-02-13  James Henstridge  <james@daa.com.au>
17034         * objects/flowchart/box.c: use offset code to simplify property
17035         get/set routines.
17037         * lib/element.h (ELEMENT_COMMON_PROPERTIES): standard element
17038         properties.
17039         (ELEMENT_COMMON_PROPERTIES_OFFSETS): offsets.
17041         * lib/object.h (OBJECT_COMMON_PROPERTIES): list of standard object
17042         properties.
17043         (OBJECT_COMMON_PROPERTIES_OFFSETS): the offsets of the properties.
17045         * lib/properties.[ch] (object_{get,set}_props_from_offsets): new
17046         functions 
17048 2000-02-12  Alexander Larsson  <alla@lysator.liu.se>
17050         * app/Makefile.am:
17051         Add the custom object to DIA_LIB_PATH in run_dia.sh
17053 2000-02-10  Cyrille Chepelov  <chepelov@calixo.net>
17055         * sheets/Circuit.sheet:
17056         * shapes/l_sout* (NEW):
17057         * shapes/l_outj.* (NEW): added new outputs : jump, and the power-saved
17058         variants of simple, inverted, set and reset outputs.
17059         Still to do: all Schneider/Telemecanique TSX *7 function blocks ; 
17060         probably a split of Contact and Ladder sheets. And then a major 
17061         revamping of the Contact sheet.
17063 2000-02-10  James Henstridge  <james@daa.com.au>
17065         * app/Makefile.am (dia_LDADD): don't link with libcustom_objects.
17067         * app/app_procs.c (register_all_objects): don't explicitely
17068         register the custom objects library -- let it be loaded by the
17069         normal plugin loading methods.
17071         * lib/Makefile.am (libdia_a_SOURCES): don't include custom.h here.
17073         * objects/custom/Makefile.am: build libcustom_objects as a shared
17074         library again.
17076         * objects/custom/shape_info.[ch]: don't read the description field
17077         of custom shapes.  It makes more sense to have these in the sheet
17078         file to localise the parts of dia that translators have to deal
17079         with.
17081         * objects/custom/custom_object.c (custom_object_new): do not
17082         create the sheet object for the new custom shape -- this is
17083         handled by the custom sheet code.
17085         * objects/custom/custom.c: change over to being a normal plug-in
17086         rather than being linked with the main dia executable.
17088 2000-02-09  James Henstridge  <james@daa.com.au>
17090         * sheets/Circuit.sheet: 
17091         * sheets/Flowchart.sheet: 
17092         * sheets/Contact.sheet: fixed up sheets.
17094         * objects/custom/custom_object.c (custom_object_new): set the
17095         extra ObjectType fields.
17097         * lib/sheet.c: use extra ObjectType fields when creating sheet
17098         objects.  Give a warning if <shape> tags are found in a sheet
17099         file.  Now the custom sheet code does not know about custom
17100         shapes -- they look like any other object type.
17102         * lib/object.h (ObjectType): added extra members
17104 2000-02-08  Alexander Larsson  <alla@lysator.liu.se>
17106         * app/linewidth_area.c:
17107         Added code to set arbitrary line width.
17108         Patch by Lars Clausen <lrclause@cs.uiuc.edu>
17110 2000-02-08  Alexander Larsson  <alla@lysator.liu.se>
17112         * app/linewidth_area.c: 
17113         * lib/font.[ch]:
17114         Add support for font-sucking.
17115         Implementation borrowed from gnome-canvas.
17116         
17117         * app/render_libart.[ch]:
17118         Implement text rendering.
17120 2000-02-07  Alexander Larsson  <alla@lysator.liu.se>
17122         * app/properties.c (create_dialog):
17123         ref and sink no_properties_dialog.
17125 2000-02-07  James Henstridge  <james@daa.com.au>
17127         * app/group.c (group_describe_props): new function.  Return the
17128         intersection of the properties of the contained objects that
17129         implement the describe_props interface.
17130         (group_get_props): implement by iterating through contained objects
17131         and calling their get_props method until all properties have been
17132         set.  Maybe this should go through all objects all the time??
17133         (group_set_props): implement by calling set_props method on all
17134         contained objects.
17135         (group_ops): use standard props dialog creation routines.
17137         * lib/properties.c (prop_desc_lists_intersection): fix implementation
17138         of intersection -- I was using i++ instead of i-- in a for loop :(
17140         * objects/custom/custom.c (custom_register_objects): fix usage
17141         of dia_get_data_directory again.
17143         * lib/sheet.c: fix up use of dia_get_data_directory, so that we
17144         actually read the sheets.
17146 2000-02-06  Alexander Larsson  <alla@lysator.liu.se>
17148         Win32 port by Hans Breuer <Hans@Breuer.org>
17150         * app/Makefile.am:
17151         Remove DATADIR and LIBDIR defines.
17153         * lib/Makefile.am:
17154         Add dia_dirs.c and dia_dirs.h
17155         Added DATADIR and LIBDIR defines.
17157         * lib/dia_dirs.[ch]:
17158         New files for handling special directories.
17160         * app/app_procs.c:
17161         * app/commands.c:
17162         * lib/sheet.c:
17163         * objects/custom/custom.c:
17164         Fix warnings.  Use directory functions.
17166         * app/diagram.h:
17167         Add prototype for diagram_redraw_all.
17169         * app/diaunitspinner.c:
17170         * app/filedlg.c:
17171         * app/interface.c:
17172         * app/preferences.c:
17173         Fix warning.
17175         * app/load_save.c:
17176         Win32 doesn't have mkstemp and fchmod.
17178         * app/paginate_psprint.c:
17179         Win32 calls popen _popen and pclose _pclose.
17180         
17181         * app/arrow.c:
17182         Win32 calls finite _finite.
17184         * lib/color.h:
17185         Win32 needs to dllexport the color vars.
17187         * objects/GRAFCET/step.c:
17188         * objects/chronogram/chronoref.c:
17189         snprintf -> g_snprintf
17191 2000-02-05  James Henstridge  <james@daa.com.au>
17193         * lib/properties.c: more fixes so that it doesn't crash when using
17194         properties.  The undo/redo stuff also works!!
17196         * objects/flowchart/box.c (box_{describe, get, set}_props): test
17197         object where I have implemented the new properties interface
17198         complete with automatic properties dialog generation.
17200         * lib/properties.c (object_apply_props): fixed stupid error when
17201         creating the old_props array.  Also, it no longer frees the props
17202         array -- you will have to do that yourself.
17204 2000-02-04  James Henstridge  <james@daa.com.au>
17206         * app/properties.c (properties_apply): pass object_part to
17207         apply_properties.
17209         * lib/object.h (ApplyPropertiesFunc): added widget argument.
17211         * lib/lazyprops.h (PROPDLG_CREATE): ref and sink properties dialogs
17212         created this way as well.
17214         * objects/*/*.c: ref and sink the properties dialog window for each
17215         widget.  It can't rely on ref count being incremented by
17216         properties_show anymore.
17218         * app/properties.c (properties_show): don't ref the widget before
17219         removing it, or its ref count will increase each time you open the
17220         properties dialog.  Don't unparent the widget, as container_remove
17221         does that for us.
17223         * lib/object.h: fixed up prototypes for new object methods.
17225         * lib/properties.[ch]: added functions for automatically creating
17226         a properties dialog from the output of describe_props, get_props and
17227         set_props.
17228         (object_apply_props): apply properties and return an ObjectChange
17229         structure that can be used for undo.
17231 2000-02-03  Cyrille Chepelov  <chepelov@calixo.net>
17233         * objects/GRAFCET/transition.c: minor leak plugged.
17235         * sheets/GRAFCET.sheet:
17236         * objects/GRAFCET/pixmaps/condition.xpm: (NEW)
17237         * objects/GRAFCET/condition.c: (NEW) added a new object type, action 
17238         conditions.
17239         * objects/GRAFCET/Makefile.am: fixed incorrect dependencies, added
17240         new ones (for condition.c).
17241         * objects/GRAFCET/action.c: added connection points for the conditions.
17242         * samples/grafcet.dia: updated the sample to improve conformance to
17243         IEC 848 and take advantage of dia's new features.
17244         
17245         * lib/geometry.h: (point_get_normed) fixed a typo.
17247 2000-02-02  James Henstridge  <james@daa.com.au>
17249         * lib/object.h: added object functions describe_props, get_props and
17250         set_props.  Do type definitions so that object.h doesn't need to
17251         include properties.h, since properties.h includes object.h.
17253         * lib/properties.[ch]: more hacking.
17255         * po/de.po: updated po file.
17257 2000-01-30  James Henstridge  <james@daa.com.au>
17259         * configure.in: don't add flags to CFLAGS unconditionally.  Instead,
17260         check to see if the C compiler accepts the flag beforehand.
17262         * lib/properties.[ch]: start of properties code.
17264         * shapes/Contact/Makefile.am (SHAPES): fix up makefile.
17266 2000-01-30  Cyrille Chepelov  <chepelov@calixo.net>
17267         
17268         * sheets/GRAFCET.sheet:
17269         * sheets/GRAFCET/etapemc.xpm: (NEW)
17270         * sheets/GRAFCET/etapesp.xpm: (NEW)
17271         * objects/GRAFCET/step.c: Added the macro and
17272         sub-program call step types.
17274         * objects/GRAFCET/receptivity.[ch]: renamed to 
17275         objects/GRAFCET/boolequation.[ch]. 
17276         * objects/GRAFCET/transition.c: changed (Receptivity *) to 
17277         (BoolEquation *)
17279         * lib/connpoint_line.[ch]: 
17280         * objects/chronogram/chronoline.c:
17281         * objects/chronogram/chronoref.c:
17282         * objects/GRAFCET/vergent.c:
17283         * objects/standard/line.c:
17284         * objects/SADT/box.c: Minor CPL interface changes, factored out the
17285         point count adjustment code into the CPL object.
17286         
17287 2000-01-29  Alexander Larsson  <alla@lysator.liu.se>
17289         * app/render_libart.c:
17290         Added support for images and bezier curves.
17291         Only text/fonts missing now.
17293         * app/render_gdk.c:
17294         Removed old erronous comment.
17296 2000-01-29  Cyrille Chepelov <chepelov@calixo.net>
17298         * objects/chronogram/chronoline_event.c: removed references to
17299         lround(). Please don't insist, I'm already red of shame.
17300         
17301 2000-01-29  Alexander Larsson  <alla@lysator.liu.se>
17303         * app/render_libart.[ch]:
17304         * app/Makefile.am:
17305         Non-finished libart renderer.
17307         * acconfig.h:
17308         Added HAVE_LIBART flag
17310         * configure.in:
17311         Added libart probe
17313         * app/app_procs.c:
17314         Call gdk_rbg_init().
17316         * app/connectionpoint_ops.c:
17317         * app/disp_callbacks.c:
17318         * app/grid.c:
17319         * app/handle_ops.c:
17320         * app/magnify.c:
17321         * app/modify_tool.c:
17322         Change ddisp->renderer type from RendererGdk * to Renderer *
17323         Draw zoom and select rects in ddisp->canvas->window instead
17324         of ddisp->renderer->renderer->pixmap.
17326         * app/display.[ch]:
17327         Add aa_renderer to DDisplay, and  support for it.
17328         New function ddisplay_set_renderer() for changing renderer.
17329         Add ddisplay_transform_coords_double() function, used by aa renderer.
17330         Change ddisp->renderer type from RendererGdk * to Renderer *
17332         * app/menus.c:
17333         Add antialias to menu.
17334         
17335         * app/commands.[ch]:
17336         add view_aa_callback function
17337         Change ddisp->renderer type from RendererGdk * to Renderer *
17339         * lib/geometry.[ch]:
17340         Added IntRectangle and int_rectangle_union.
17342 2000-01-28  James Henstridge  <james@daa.com.au>
17344         * app/commands.h: removed prototypes.
17346         * app/commands.c: removed the functions that have been moved to
17347         filedlg.c.
17349         * app/filedlg.h: added new prototypes.
17351         * app/filedlg.c (file_open_callback): move open dialog to this
17352         file.  This implementation should remember the current directory
17353         between file loads.
17354         (file_save_as_callback): moved this dialog as well.
17355         (file_save_callback): moved this function here.
17357         * app/paginate_psprint.c (paginate_psprint): if not in fit to mode,
17358         align page boundaries to the origin.
17360         * app/diagram.c (diagram_update_extents): redraw the diagram if the
17361         scaling factor changes while updating the extents.  This is so the
17362         page breaks get redrawn correctly.
17364         * app/pagesetup.c (pagesetup_apply): added diagram_flush call when
17365         applying changes.
17367         * app/grid.c (grid_draw): draw page breaks as well as grid lines.
17368         For normal mode, use (0,0) as the origin.  For `fit to' mode, use
17369         the corner of the bounding box.
17371         * app/pagesetup.c (create_page_setup_dlg): load new paper attributes
17372         into page setup dialog.
17373         (pagesetup_apply): apply new `fit to' attributes to the diagram.
17375         * app/load_save.c (diagram_load): load new paper `fit to' attributes.
17376         (diagram_data_save): save `fit to' data.
17378         * lib/diagramdata.c (new_diagram_data): initialise `fit to' members.
17379         (data_update_extents): when in `fit to' mode, update scale factor
17380         when we update the extents.
17382         * lib/diagramdata.h (PaperInfo): added `fit to' members to PaperInfo
17383         structure.
17385         * .../.cvsignore: added some cvsignore files to quieten cvs.
17386         
17387         * app/pagesetup.c (pagesetup_changed): added code to change the
17388         scaling/fit to values as you change the options in the page setup
17389         dialog.  I haven't added code so that the fit to options are saved
17390         though.
17392         * app/diapagelayout.[ch]: changed the scaling portion of the widget
17393         to make it easier to set a `fit to' style scaling factor.
17395 2000-01-27 Cyrille Chepelov <chepelov@calixo.net>
17396         * lib/neworth_conn.[ch]: (NEW) Temporary (hopefully) fork of orth_conn,
17397         but connpoint_line-based, so that there's a connection point at the 
17398         middle of each segment. Currently only the SADT arrow uses this.
17400         * objects/SADT/* (NEW): SADT (both idf0 and idf1) support.
17401         
17402 2000-01-26 Cyrille Chepelov <chepelov@calixo.net>
17403         * lib/lazyprops.[ch]:(NEW) Added a bunch of macros for loading, 
17404         saving and editing of properties (and default properties). 
17405         See the new objects (GRAFCET, SADT, chonograms) for examples.
17406         For already too hairy stuff, see objects/chronogram/chronoline.c.
17408         * lib/connpoint_line.[ch] (NEW): This subobject manages a line of 
17409         evenly spaced connection points, which the user can add or remove at
17410         will. An object can own several connection point lines. See the SADT
17411         Box, or the GRAFCET vergents for examples.
17413         * lib/dummy_dep.h: added dependencies to new files. Told gcc to keep 
17414         quiet about unused stuff.
17416         * objects/GRAFCET (NEW):
17417         * samples/grafcet.dia (NEW):
17418         Added support for GRAFCET charts. 
17420         * objects/chronogram (NEW):
17421         * samples/chronograms.dia (NEW):
17422         Added support for chronograms (feature requested by Ronald L. Chichest;
17423         I found I'd use it often, too).
17425         * objects/standard/line.c: Replace the middle connectionpoint by 
17426         a whole connection point line, which defaults to one point (hint, 
17427         hint). New Line object menu to take advantage of this. 
17428         "Bothwards" compatibility is preserved (although you may loose 
17429         connections if you load a newer file in a older dia).
17431         * app/lineprops_area.c:
17432         * lib/arrows.[ch]:
17433         * lib/widgets.c: Added hollow and filled ellipse arrow head type. 
17434         (feature requested by Benjamin Kahn).
17435         Merged in Steffen Macke's slashed arrow head type.
17437         * app/Makefile.am (app/run_dia.sh actually):
17438         Added $DEBUGGER in front of dia's invocation, so that
17439         you can call "DEBUGGER=ddd app/run_dia.sh" (maybe naive, but useful).
17440         Added $(EFENCE) to app/dia's LDFLAGS, so that you can do 
17441         "EFENCE=-lefence" to link with Electric Fence.
17443         * configure.in: Made gcc do more aggressive optimisations on i386, and
17444         enabled warnings.
17445         
17446 2000-01-24  James Henstridge  <james@daa.com.au>
17448         * lib/geometry.[ch]: added inline versions of functions.  Used
17449         glib's G_INLINE_FUNC stuff, so it should still work on systems
17450         without inline funcs.
17452         * plug-ins/cgm/cgm.c (draw_ellipse, fill_ellipse): fixed up so that
17453         it outputs the correct element id for the ellipse objects.
17455 2000-01-24 Cyrille Chepelov <chepelov@calixo.net>
17457         * lib/object.[ch]: added object_add_connectionpoint_at, similar to
17458         object_add_handle_at. Message typo fixed.
17459         
17460         * lib/sheet.c (load_register_sheet):
17461         potential bug fixed (warning hunt).
17463         * objects/custom/custom.c (custom_object_load): disabled an assertion
17464         which made dia abort upon failure to load a shape file. Fixed a
17465         subsequent crash. 
17467         * objects/custom/shape_info.c (load_shape_info): Made the custom 
17468         shape load code ignore XML comments between <?xml ...?> and the 
17469         root object (mostly useful to put the emacs magic comments).
17470         
17471         * app/load_save.c: Made dia do backup copies of files when saving,
17472         and complain in case of failure.
17474 2000-01-24  Cyrille Chepelov  <chepelov@calixo.net>
17476         * AUTHORS: fixed my address (ISP thought it was a great idea to change
17477         the domain name)
17478         
17479         * configure.in:
17480         * shapes/Contact:
17481         * shapes/Contact/*:
17482         * sheets/Contact.sheet:
17483         * sheets/Makefile.am:
17484         Added support for Contact and LADDER charts.
17486         * dia.desktop: Added a French translation.
17487         
17488 2000-01-23  James Henstridge  <james@daa.com.au>
17490         * app/commands.c (help_about_callback): don't die if can't load
17491         logo image.
17493         * app/render_gdk.c (bezier_add_lines): sanity check to try to weed
17494         out NaN's when performing bezier curve subdivision.
17496         * objects/custom/custom_object.c: initialise memory of Custom structs
17497         to zero.
17499         * app/render_svg.c (draw_image): added image support to the XML
17500         output filter.  The image is just referenced, rather than being
17501         included inline, so if you copy the SVG file somewhere else, you
17502         may need to move the images or fix up the links.
17504         * plug-ins/cgm/cgm.c (draw_string): output a text colour element,
17505         so the text is not just displayed in black all the time.
17507 2000-01-15  Fredrik Hallenberg  <hallon@lysator.liu.se>
17509         * configure.in: fixed libpopt test so we wont try to build with
17510         too old libpopt.
17512 1999-12-18  Yuri Syrota  <rasta@renome.rovno.ua>
17514         * configure.in: Added "uk" to ALL_LINGUAS.
17516 1999-12-24  James Henstridge  <james@daa.com.au>
17518         * po/ru.po: updated russian translation from Valek Filippov.
17519         
17520         * app/render_svg.c (new_svg_renderer): make output use 19991203
17521         version of SVG DTD.  Use viewBox to set the extents of the view.
17523         * INSTALL (FONTS): updated locations of gnome-xml and imlib.  List
17524         ftp.gnome.org as the download.
17526         * TODO (TODO): weeded out completed todo items and added a few extra.
17528         * Makefile.am (EXTRA_DIST): added documentation to EXTRA_DIST.
17530         * doc/sheet.dtd: first stab at a DTD for the sheet files.  It would
17531         be good to get rid of the object/shape distinction and separate
17532         the custom shape code out from the main application.
17534         * objects/custom/README, diagram.dtd: moved to new doc directory.
17535         Renamed the custom shapes README to custom-shapes.  Also updated
17536         custom shape docs a bit and removed the section on sheet files, as
17537         that has changed a bit.
17539         * plug-ins/cgm/cgm.c (draw_image): give an error if the row length
17540         of the image data is larger than the maximum cell array.  I should
17541         add code to break scan lines down further in this case, but for now
17542         an error message is better than an infinite loop.
17544         * app/filedlg.c (file_export_ok_callback): show a dialog if we
17545         couldn't determine the export filter to use.
17547         * app/commands.c (help_about_callback): fixed up about box logo
17548         expose bug.  Now just use a GtkPixmap widget rather than a
17549         GtkDrawingArea and calling gdk_imlib_paste_image.
17551         * app/Makefile.am (EXTRA_DIST): added print stuff to extra dist,
17552         because automake does not always get things right.
17554         * configure.in: updated version number to 0.83.
17556         * app/preferences.c (prefs_save): 
17557         * app/render_svg.c (new_svg_renderer): "wt" is not a valid flag string
17558         for fopen.  Text is the default file mode anyway.
17560         * app/commands.c (file_save_as_dialog_ok_callback, file_new_callback): 
17561         * app/grid.c (grid_x_update, grid_y_update, grid_show_dialog): 
17562         * app/load_save.c (write_objects, write_connections): 
17563         * app/filedlg.c (file_export_ok_callback): 
17564         * lib/dia_xml.c (data_add_int, data_add_enum, data_add_real): 
17565         * lib/dia_xml.c (data_add_point, data_add_rectangle): 
17566         * lib/font.c (init_x11_font, font_get_gdkfont): changed calls to
17567         snprintf to calls to g_snprintf.
17569         * plug-ins/cgm/cgm.c (export_cgm): write the original dia file name
17570         as the picture name.
17572 1999-12-23  James Henstridge  <james@daa.com.au>
17574         * plug-ins/cgm/cgm.c (write_int32, write_int16): fixed up output of
17575         negative numbers.  This fixes the upside down text problem I was
17576         having previously.
17577         (draw_image): implemented the image code.  It will try to split the
17578         image data up into bands if it is too big to fit into a single
17579         cgm cell array element.  It will have problems if you try to insert
17580         an image wider than about 10,000 pixels though.
17582         * Makefile.am: use gnomedatadir for the files that need to be
17583         installed in gnome's datadir.  This is mainly to help people doing
17584         packages for weird setups.
17586 1999-12-22  James Henstridge  <james@daa.com.au>
17588         * plug-ins/cgm/cgm.c: added support for text.  Now only images and
17589         beziers are left to do.  The text seems to be the wrong way up
17590         still.  This is probably a problem with character orientation
17591         element, but I have used what the settings given in the standard.
17592         Other than this, the CGMs dia produces are readable (and displayable)
17593         by ralcgm and corel draw.
17594         (draw_string): subtract from the X coord rather than the Y coord for
17595         center and right aligned text.
17597         * plug-ins/cgm/cgm.c: a few fixups for the output.  Use REALSIZE as
17598         the size of a real number, and changed name of write_double to
17599         write_real.  Consider changing to fixed real encoding.  Also, now
17600         all element headers are correct.  Once the real number encoding is
17601         fixed, only text, beziers and images are left to do.
17603 1999-12-21  James Henstridge  <james@daa.com.au>
17605         * Makefile.am (SUBDIRS): recurse into plug-ins.
17607         * configure.in: add plug-ins directory makefiles to list.
17609         * plug-ins/cgm/cgm.c: start of cgm export filter.  Beziers and text
17610         not done yet.  Also, the output files are not quite correct.
17612         * app/render_eps.c (print_reencode_font): don't reencode the Symbol
17613         font.  It doesn't work if you do.
17615 1999-12-20  James Henstridge  <james@daa.com.au>
17617         * app/app_procs.c (app_init): don't use diagram_export_to_eps to
17618         export the files.  Instead, use filter_guess_export_filter to
17619         guess the correct format to save in and use the appropriate filter.
17620         It defaults to postscript for compatibility.
17622         * app/diagram.[ch] (diagram_export_to_eps): removed export to eps
17623         function.
17625         * app/commands.[ch]: removed export to eps functions.
17627         * app/menus.c: removed export to eps menu items.
17629         * app/app_procs.c: register new export filters.
17631         * app/load_save.[ch]: define dia native export filter.
17633         * app/render_eps.[ch]: define eps export filter.
17635         * lib/filter.h: added diafilename argument to the DiaExportFunc
17636         prototype.  This is useful for putting the source of the diagram
17637         into the output file for instance.
17639         * app/app_procs.c (app_init): register the SVG export filter.  Have
17640         to get EPS code converted to this API, and maybe also allow saving in
17641         DIA's native format from the export dialog.  In fact, it is now
17642         possible to load an export filter from a shared library and it will
17643         integrate into the interface correctly.
17645         * app/menus.c: removed references to the SVG renderer.
17647         * app/commands.[ch]: removed svg stuff.
17649         * app/diagram.[ch]: removed diagram_export_to_svg function.
17651         * app/render_svg.[ch]: added a DiaExportFilter structure for this
17652         renderer.
17654         * app/filedlg.[ch]: code for the new export diagram dialog.  Will
17655         probably move the open/save dialogs to this file as well.
17657 1999-12-19  James Henstridge  <james@daa.com.au>
17659         * lib/filter.[ch]: start of interface for generalised handling of
17660         filters.  I have only done code for export filters so far.  I still
17661         need to do the gui for this, and convert the current SVG and EPS
17662         filters to the new API.
17664         * lib/bezier_conn.c (bezierconn_copy): fix up copy operation.  We
17665         weren't setting the last handle correctly.  It was actually assigning
17666         to the wrong position in the handles array, so the last handle was
17667         left as NULL, which caused the segfault.
17669         * objects/standard/image.c (image_copy): modified routine so that
17670         it just adds a reference to the DiaImage structure in the new image
17671         object.  This seems to have cleared up the problems with copying
17672         image objects.
17674         * dia.spec: spec file additions from John Gotts.
17676 1999-12-12  James Henstridge  <james@daa.com.au>
17678         * configure.in (GNOME_LIBS): updated version number to 0.82.  0.82
17679         has not been released yet though.
17681         * Makefile.am (EXTRA_DIST): distribute diagram.dtd.
17683         
17684         The following based on a patch from Lars Clausen:
17685         
17686         * objects/standard/bezier.c (bezierline_move_handle): when performing
17687         the initial drag of the bezierline, move the control points to keep
17688         the line straight.
17690         * lib/bezier_conn.c (bezierconn_add_segment): when adding a segment,
17691         make the new control points a bit closer to the major point.
17693         * app/create_object.c (create_object_motion): use HANDLE_MOVE_CREATE
17694         as the reason for the move.
17695         (create_object_button_release): use HANDLE_MOVE_CREATE_FINAL as the
17696         move reason.
17698         * lib/handle.h: new handle move reasons.
17700 1999-12-09  James Henstridge  <james@daa.com.au>
17702         * dia.spec: include the new files in RPMs.
17704         * Makefile.am: install these new files.
17706         * dia.keys.in: file describing actions and icon for dia diagrams for
17707         use in the gnome file manager.
17708         
17709         * dia.mime: a file defining the application/x-dia-diagram mime type.
17710         
17711         * dia-diagram.png: an icon for dia diagrams.
17713 1999-12-08  James Henstridge  <james@daa.com.au>
17715         * plug-ins/python/pydia-diagram.c: added heaps of new methods.
17717         * plug-ins/python/pydia-display.[ch]: wrapper for display.
17719         * objects/standard/ellipse.c: applied Lars's patch to optionally not
17720         draw the background of the ellipse.
17722         * app/load_save.c (read_connections): do some sanity checking on the
17723         handle and connection point numbers before performing the object
17724         connection.
17726         * lib/bezier_conn.c (bezierconn_load): give the correct number of
17727         handles when loading a BezierConn.
17729 1999-12-07  Kjartan Maraas  <kmaraas@online.no>
17731         * sheets/*.sheet: Finished Norwegian translations.
17732         
17733 1999-12-07  James Henstridge  <james@daa.com.au>
17735         * plug-ins/python/diamodule.c (PyDia_Load): load diagram function.
17736         (PyDia_GetObjectType): find object type function.
17738         * plug-ins/python/pydia-diagram.c (PyDiaDiagram_Save): added a save
17739         method for diagrams.
17741         * plug-ins/python/pydia-object.c: added methods for DiaObject and
17742         DiaObjectType.
17744         * AUTHORS: added Lars and Cyrille to the authors file.
17746         * objects/standard/bezier.c (bezierline_add_segment_callback): place
17747         new point correctly.
17749         * lib/bezier_conn.h (bezierconn_closest_segment): fixed prototype.
17751         * lib/bezier_conn.c: applied Lars's patch for placement of the new
17752         point when adding a segment to a BezierConn.
17754 1999-12-06  James Henstridge  <james@daa.com.au>
17756         * plug-ins/python/test.py: test script for the python plug-in.
17758         * plug-ins/python/python.c: this file contains the plug-in startup
17759         code for the python plugin.  Right now, it just initialises the
17760         dia module and executes a script.
17762         * objects/standard/polyline.c (polyline_draw): fix start arrow size.
17764         * objects/standard/bezier.c (bezierline_draw): draw control lines for
17765         bezier curve if we are using an interactive renderer (ie. only if
17766         displaying to the screen).
17768         * lib/bezier_conn.[ch] (bezierconn_draw_control_lines): function
17769         to draw control lines on to a bezier curve.  Based on implementation
17770         from Lars.
17772         * objects/standard/bezier.c (bezierline_delete_segment_callback):
17773         calculate segment number using closest_segment rather than
17774         closest_handle.  Sometimes the closest handle is part of a different
17775         segment.
17776         (bezierline_draw): use correct size for start arrow.
17778         The next few entries are from Peter Moulder <reiter@netspace.net.au>:
17779         * lib/geometry.c (distance_line_point): added notes to documentation
17780         in comment.
17781         * app/object_ops.c (object_list_align_v): 
17782         (object_list_align_h): fix of by one error when calculating free space
17783         for equal distance alignment.
17784         * app/menus.c (objects_align_h, objects_align_v): include align
17785         adjacent menu items in the gnome version of the menus.
17786         * app/diagram.c (diagram_update_menu_sensitivity): set sensitivity on
17787         align adjacent menu items correctly.
17790         * lib/dummy_dep.h (dummy_dep): added bezierconn to dummy dependency
17791         table.
17793         * objects/standard/bezier.c: converted bezierline to use BezierConn.
17794         Still a few bugs.  It crashes on deleting line segments.
17796         * lib/Makefile.am (libdia_a_SOURCES): added BezierConn to libdia.
17798 1999-12-05  James Henstridge  <james@daa.com.au>
17800         * lib/bezier_conn.[ch]: start of BezierConn object
17802         * app/interface.c: add bezierline to toolbox.
17804         * objects/standard/standard.c: initialise bezierline.
17806         * objects/standard/bezier.c: new object from Lars R. Clausen.  I have
17807         made a few modifications to get it working nicely.  It still needs
17808         a bit of work though.  Maybe create a BezierConn object in lib.
17810 1999-12-02  James Henstridge  <james@daa.com.au>
17812         * plug-ins/python/pydia-*.c: fixed compile errors in these files.
17813         
17814         * plug-ins/python/Makefile.am: tried building everything.  It is
17815         building as a library at the moment.  I will have to convert it
17816         to a libtool library and add some initialisation code.
17817         
17818         * plug-ins/python/diamodule.c: start of the dia module, using the
17819         other object wrappers.  Not complete.
17821 1999-12-01  James Henstridge  <james@daa.com.au>
17823         * plug-ins/python/pydia-object.c (PyDiaObject_GetAttr): implement
17824         the handles and connections attributes.
17826         * plug-ins/python/pydia-layer.c: added functions that use
17827         ConnectionPoint's.
17829         * plug-ins/python/pydia-handle.[ch]: wrapper for Handle's.
17831         * plug-ins/python/pydia-cpoint.[ch]: wrapper for ConnectionPoint's.
17833         * plug-ins/python/pydia-*.[ch]: starts of python scripting plug-in.
17834         I am currently wrapping the basic elements in the diagram in python
17835         objects -- nothing to see or play with yet.
17837 1999-11-30  Alexander Larsson  <alla@lysator.liu.se>
17839         * AUTHORS:
17840         * HACKING:
17841         James Henstridge <james@daa.com.au> is now the maintainer of Dia.
17843 1999-11-29  Alexander Larsson  <alla@lysator.liu.se>
17845         * configure.in:
17846         * po/ru.po:
17847         Added russian translation from Valek Filippov <frob@df.ru>
17849 1999-11-24  James Henstridge  <james@daa.com.au>
17851         * sheets/UML/*: 
17852         * sheet/ER/*: moved extra sheet pixmaps back to separate dirs as
17853         discussed with Alex.  Also added extra makefiles so that make install
17854         works correctly.
17856 1999-11-23  Alexander Larsson  <alla@lysator.liu.se>
17858         * app/preferences.[ch]:
17859         * app/display.c:
17860         Added snap to grid preference.
17861         Patch from Michael Leslie <mles@springboardwireless.com>
17863 1999-11-21  Alexander Larsson  <alla@lysator.liu.se>
17865         * app/load_save.c:
17866         * lib/dia_xml.c:
17867         * lib/sheet.c:
17868         * lib/text.c:
17869         * objects/custom/shape_info.c:
17870         All strings returned by libxml must be freed with free, not
17871         g_free, or there will be problems if you use memory debugging
17872         in glib.
17873         
17874 1999-11-21  Alexander Larsson  <alla@lysator.liu.se>
17876         * app/create_object.[ch]:
17877         * app/menus.c:
17878         * app/tool.[ch]:
17879         * app/commands.[ch]:
17880         * app/pixmaps.h:
17881         * app/interface.[ch]:
17882         Reverted the tool menu patch. It has some 'issues'.
17883         I liked it though, so it'll probably return.
17885 1999-11-21  Alexander Larsson  <alla@lysator.liu.se>
17887         Fixed a lot of memory leaks. Thanks to Bruce Mitchener
17888         <bruce@cybersight.com> for some purify runs and analysis.
17889         Also a great thank you to Owen Taylor for creating MemProf, a
17890         free memory leak detector that was used to find and verify a
17891         lot of these fixes.
17892         
17893         * app/diagram.c:
17894         * app/paginate_psprint.c:
17895         * app/render_eps.[ch]:
17896         * app/render_svg.[ch]:
17897         Free renderers.
17899         * app/interface.c:
17900         Don't add a reference to ddisp->shell. Why was this done in
17901         the first place?
17903         * app/load_save.c:
17904         * lib/dia_xml.c:
17905         * lib/sheet.c:
17906         * lib/text.c:
17907         Free all strings returned from xmlGetProp
17909         * app/modify_tool.c:
17910         Plug leak.
17912         * objects/custom/custom.c:
17913         Use closedir() after opendir().
17915         * objects/custom/shape_info.c:
17916         User g_free() instead of "if (tmp) free(tmp)".
17918         * sheets/ER.sheet:
17919         Add newline at end of file.
17920         
17922 1999-11-20  Alexander Larsson  <alla@lysator.liu.se>
17924         Based on patch from Patrick Reynolds <reynolds@cs.duke.edu>
17925         Adds tool menu and keyboard shortcuts.
17927         * app/create_object.[ch]:
17928         Use tool_set() instead of tool_reset().
17929         create_create_object_tool() takes extra type argument
17931         * menus.c:
17932         Add tools menu.
17933         
17934         * tool.[ch]:
17935         Moved tool_data here, export it.
17936         Add separate tool type for all create objects tools.
17937         new functions tool_set().
17939         * commands.[ch]:
17940         New callback tool_set_callback.
17942         * pixmaps.h:
17943         Moved some pixmaps to interface.c.
17944         
17945         * interface.[ch]:
17946         Remove tool_data array (moved to tool.c).
17947         Use the tool_data from tool.c.
17948         Remove modify_tool_button global var.
17949         
17950 1999-11-20  Alexander Larsson  <alla@lysator.liu.se>
17952         Patch from Patrick Reynolds <reynolds@cs.duke.edu>
17953         
17954         * app/app_procs.c:
17955         Interprets command-line arguments as files to open even when
17956         HAVE_POPT is not defined.
17958         * app/magnify.c:        
17959         Shift-clicking when zooming zooms out, like the Gimp.
17961         * app/menus.c:
17962         Has hotkeys for zoom-100% and snap-to-grid.
17964 1999-11-17  James Henstridge  <james@daa.com.au>
17966         * app/scroll_tool.c (scroll_motion): fixed shift style scrolling so
17967         that it is not jumpy.
17969         * app/Makefile.am (EXTRA_DIST): added extra files to extra dist list.
17971         * app/scroll_tool.c (scroll_motion): added `grabbing hand' type
17972         scrolling by pressing the shift key when using the scroll tool.
17974         * sheets/Makefile.am: fixed makefile so that install actually works
17975         if the directories $(pkgdatadir)/sheets/UML and $(pkgdatadir)/sheets/ER
17976         don't exist.
17977         (SHEETS): install Circuit.sheet
17979 1999-11-15  Alexander Larsson  <alla@lysator.liu.se>
17980         Patch from Cyrille Chepelov <chepelov@rmcnet.fr>
17982         * sheets/Circuit.sheet:
17983         * sheets/ER.sheet:
17984         * sheets/FS.sheet:
17985         * sheets/Flowchart.sheet:
17986         * sheets/UML.sheet:
17987         * sheets/network.sheet:
17988         * sheets/sybase.sheet:
17989         Changed name space
17991         * sheets/Circuit.sheet:
17992         added some missing French translations
17994         * lib/sheet.c:
17995         killed the temporary sheet namespace
17997         * objects/custom/custom.c:
17998         obsolete comment cleaned up
18000 1999-11-12  Alexander Larsson  <alla@lysator.liu.se>
18002         * configure.in:
18003         * po/pt.po:
18004         Added portugese translation from Pedro Morais
18005         <pmmm@rnl.ist.utl.pt>
18007 1999-11-11  Alexander Larsson  <alla@lysator.liu.se>
18009         Changed all sheets to be specified in xml.
18010         All sheet objects removed from the C code.
18011         Patch from Cyrille Chepelov <chepelov@rmcnet.fr>
18012         
18013         * Makefile.am:
18014         * configure.in:
18015         Adding shapes dir.
18016         Updated version to 0.81cvs.
18017         
18018         * app/Makefile.am:
18019         Update run_dia.sh with sheet-dir.
18020         
18021         * app/app_procs.c:
18022         Load all sheets on startup.
18023         Create sheet directory first time.
18024         Don't call custom_register_sheets().
18026         * lib/Makefile.am:
18027         Add sheetdir define
18029         * lib/custom.h:
18030         Remove custom_register_sheets().
18032         * lib/sheet.[ch]:
18033         Add sheet loading code.
18035         * sheet/Circuit.sheet:
18036         * sheet/ER.sheet:
18037         * sheet/FS.sheet:
18038         * sheet/Flowchart.sheet:
18039         * sheet/UML.sheet:
18040         * sheet/network.sheet:
18041         * sheet/sybase.sheet:
18042         Added sheet files.
18044         * sheet/ER/weakentity.xpm:
18045         * sheet/UML/aggregation.xpm
18046         * sheet/UML/umlclass_template.xpm
18047         Added sheet pixmaps.
18048         These are moved from their old places.
18050         * sheet/.cvsignore:
18051         Shut up cvs.
18053         * objects/*/*.c:
18054         Removed sheet objects and sheet registration.
18055         
18056         * objects/ER/Makefile.am:
18057         * objects/ER/pixmaps/weakentity.xpm:
18058         * objects/UML/Makefile.am:
18059         * objects/UML/pixmaps/aggregation.xpm:
18060         * objects/UML/pixmaps/umlclass_template.xpm:
18061         Removed alternative pixmaps. (Moved to sheet).
18063         * objects/custom/Makefile.am:
18064         * objects/custom/load_sheet.[ch]:
18065         Removed old sheet loading code.
18066         
18067         * objects/custom/custom.c:
18068         Load all shapes instead of sheets.
18069         Removed custom_register_sheets().
18071         * objects/custom/custom_object.c:
18072         Added debug code.
18074         * objects/custom/shape_info.[ch]:
18075         Added shape_info_getbyname().
18077         * objects/flowchart/Makefile.am:
18078         * objects/flowchart/collate.shape            
18079         * objects/flowchart/delay.shape              
18080         * objects/flowchart/display.shape            
18081         * objects/flowchart/document.shape           
18082         * objects/flowchart/extract.shape            
18083         * objects/flowchart/flowchart.c              
18084         * objects/flowchart/intstorage.shape         
18085         * objects/flowchart/magdisk.shape            
18086         * objects/flowchart/magdrum.shape            
18087         * objects/flowchart/magtape.shape            
18088         * objects/flowchart/manualinput.shape        
18089         * objects/flowchart/manualop.shape           
18090         * objects/flowchart/merge.shape              
18091         * objects/flowchart/offlinestore.shape       
18092         * objects/flowchart/offpageconn.shape        
18093         * objects/flowchart/or.shape                 
18094         * objects/flowchart/predefdproc.shape        
18095         * objects/flowchart/preparation.shape        
18096         * objects/flowchart/punchedcard.shape        
18097         * objects/flowchart/punchedtape.shape        
18098         * objects/flowchart/sort.shape               
18099         * objects/flowchart/sumjunction.shape        
18100         * objects/flowchart/terminal.shape           
18101         * objects/flowchart/transaction.shape        
18102         * objects/flowchart/transmittape.shape       
18103         * objects/flowchart/pixmaps/collate.xpm      
18104         * objects/flowchart/pixmaps/delay.xpm        
18105         * objects/flowchart/pixmaps/display.xpm      
18106         * objects/flowchart/pixmaps/document.xpm     
18107         * objects/flowchart/pixmaps/extract.xpm      
18108         * objects/flowchart/pixmaps/intstorage.xpm   
18109         * objects/flowchart/pixmaps/magdisk.xpm      
18110         * objects/flowchart/pixmaps/magdrum.xpm      
18111         * objects/flowchart/pixmaps/magtape.xpm      
18112         * objects/flowchart/pixmaps/manualinput.xpm  
18113         * objects/flowchart/pixmaps/manualop.xpm     
18114         * objects/flowchart/pixmaps/merge.xpm        
18115         * objects/flowchart/pixmaps/offlinestore.xpm 
18116         * objects/flowchart/pixmaps/offpageconn.xpm  
18117         * objects/flowchart/pixmaps/or.xpm           
18118         * objects/flowchart/pixmaps/predefdproc.xpm  
18119         * objects/flowchart/pixmaps/preparation.xpm  
18120         * objects/flowchart/pixmaps/punchedcard.xpm  
18121         * objects/flowchart/pixmaps/punchedtape.xpm  
18122         * objects/flowchart/pixmaps/sort.xpm         
18123         * objects/flowchart/pixmaps/sumjunction.xpm  
18124         * objects/flowchart/pixmaps/terminal.xpm     
18125         * objects/flowchart/pixmaps/transaction.xpm  
18126         * objects/flowchart/pixmaps/transmittape.xpm 
18127         Moved shapes and their pixmaps to shapes/flowchart
18129         * shapes/Circuit/Makefile.am:
18130         * shapes/Circuit/index.sheet:
18131         Removed index.sheet.
18132         
18133         * shapes/Makefile.am:
18134         * shapes/flowchart/Makefile.am:
18135         * shapes/flowchart/*.shape:
18136         * shapes/flowchart/*.xpm:
18137         Added flowchart shapes. (Moved from objects/flowchart)
18138         
18140 1999-11-07  Fredrik Hallenberg  <hallon@lysator.liu.se>
18142         * app/app_procs.c: Fixed popt stuff.
18144 1999-11-01  James Henstridge  <james@daa.com.au>
18146         * shapes/Circuit/[hv]led_de.{shape,xpm}: new circuit shapes from
18147         Andreas Scherf.
18149 1999-10-31  Alexander Larsson  <alla@lysator.liu.se>
18151         * dia.spec:
18152         * configure.in:
18153         Update version to 0.81.
18154         
18155         * NEWS:
18156         Update with news for 0.81.
18157         
18158         * shapes/Circuit/*:
18159         * shapes/Circuit_eu/*:
18160         Moved european circuit objects to Circuit sheet.
18162 1999-10-31  Alexander Larsson  <alla@lysator.liu.se>
18163         
18164         * lib/diagramdata.[ch]:
18165         Added layer_set_object_list() function.
18167         * app/undo.[ch]:
18168         Added support for undo of reordered objects.
18169         Fix the undo of delete to keep the right order on undo.
18170         
18171         * app/diagram.c:
18172         changed loop to object_add_updates_list() calls.
18173         Added undo support to bring to front/back.
18175         * app/disp_callbacks.c:
18176         * app/paginate_psprint.c:
18177         Remove warnings.
18179 1999-10-30  Alexander Larsson  <alla@lysator.liu.se>
18181         This plugs some leaks. Thanks to
18182         Bruce Mitchener <bruce@cybersight.com> for running
18183         Dia through purify for me.
18184         
18185         * app/app_procs.c:
18186         Free displays and diagrams on exit.
18188         * app/modify_tool.c:
18189         Free gc when freeing tool.
18191         * lib/diagramdata.c:
18192         Free layer name.
18193         
18194         * app/display.c:
18195         Free update and display lists when destroying display.
18196         
18197         * lib/diagramdata.c:
18198         Don't leak layer name.
18200         * objects/custom/load_sheet.c: 
18201         * objects/custom/shape_info.c:
18202         Free loaded xml documents.
18204 1999-10-28  Alexander Larsson  <alla@lysator.liu.se>
18206         * app/commands.c:
18207         * app/object_ops.[ch]:
18208         Add undo handling to alignment ops.
18209         Based partially on patch by Dan Cohn <dan@internap.com>.
18211         * objects/standard/image.c (image_move_handle):
18212         Don't divide by zero for small images.
18213         Patch by Dan Cohn <dan@internap.com>.
18215         * objects/UML/class.c (umlclass_destroy): 
18216         * objects/custom/custom_object.c (custom_destroy):
18217         Don't free connectionpoints before calling element_destroy
18218         which unconnects them.
18220 1999-10-26  Alexander Larsson  <alla@lysator.liu.se>
18222         * objects/custom/custom_object.c: 
18223         Load and save padding too. Fixes strange load crashes.
18225         * app/group.c (group_destroy):
18226         Don't unconnect already freed connectionpoints when
18227         destroying group. Probably fixes bug reported by
18228         Elliot Lee <sopwith@redhat.com>.
18230         * app/render_gdk.c:
18231         Don't crash on zero-size (broken) bezier curves.
18232         Different sort of fix. This should work on closed bezier curves
18233         too.
18235         * objects/standard/textobj.c:
18236         Activate default properties dialog for Text objects.
18238         * app/render_eps.c: 
18239         * app/load_save.c:
18240         * app/preferences.c:
18241         * app/render_svg.c:
18242         fopen files in binary or text mode.
18244 1999-10-26  Alexander Larsson  <alex@cendio.se>
18246         * app/render_gdk.c (bezier_add_lines):
18247         Don't crash on zero-size (broken) bezier curves.
18248         Fixes a crashing bug.
18250 1999-10-25  James Henstridge  <james@daa.com.au>
18252         * app/Makefile.am (run_dia.sh): allow dia to find internal shape files
18253         before it is installed.
18255         * objects/flowchart/flowchart.c: use relative paths to find shapes.
18257         * objects/custom/custom.c (custom_object_load): take file names
18258         relative to $(pkgdatadir)/shape-internal, and check an environment
18259         variable for an alternative directory.
18261         * app/...: added copyright messages to the top of my new code.
18263         * app/paginate_psprint.c: some general clean ups.  Also, give an error
18264         dialog if we can't open the command or output file for writing.
18266         * app/diapagelayout.c (dia_page_layout_set_orientation): fixed
18267         function so it would set orientation to landscape correctly.
18269         * app/paginate_psprint.c: use the paper settings that come with
18270         the diagram.  Also implemented landscape printing.
18272         * app/render_eps.c (new_psprint_renderer): use diagram paper metrics
18273         in PS header.
18275         * app/commands.[ch] (file_pagesetup_callback): added callback for
18276         the page setup dialog.
18278         * app/menus.c: added page setup menu item.
18280         * app/pagesetup.[ch]: implementation of the page setup dialog.
18282         * app/diapagelayout.[ch]: added accessors for the scaling factor.
18283         
18284         * app/load_save.c (diagram_load): load paper information from save
18285         file.
18286         (diagram_save): save the paper info.
18288         * lib/diagramdata.c (new_diagram_data): initialise paper info section
18289         of DiagramData structure.
18290         (diagram_data_destroy): free the paper name.
18292         * lib/diagramdata.h: added a paper member to the DiagramData structure
18293         that holds the page layout info for a diagram.
18295 1999-10-21  Alexander Larsson  <alla@lysator.liu.se>
18297         * objects/flowchart/box.c:
18298         * objects/flowchart/ellipse.c:
18299         * objects/flowchart/diamond.c:
18300         * objects/flowchart/parallelogram.c:
18301         Load and save padding too. Fixes strange load crashes.
18303 1999-10-21  Alexander Larsson  <alla@lysator.liu.se>
18305         * app/app_procs.c (name_is_lib):
18306         .dll, .sl and .so.0.0.0 are also libraries.
18308 1999-10-20  James Henstridge  <james@daa.com.au>
18310         * configure.in: added extra makefile.
18311         
18312         * shapes/Circuit_eu/*: a new set of european circuit shapes from
18313         Andreas Scherf <scherfa@fh-trier.de>.  Made a few small modifications
18314         (added fuses to makefile, fill the area of some of the components).
18316 1999-10-19  Alexander Larsson  <alla@lysator.liu.se>
18318         * lib/Makefile.am:
18319         * app/Makefile.am: 
18320         Add GDK_IMLIB_CFLAGS to includes.
18321         Changed --export-dynamic to -export-dynamic
18323         * lib/widgets.c:
18324         * objects/UML/message.c:
18325         Removed c++ comment.
18327         * lib/render_store.[ch]:
18328         Don't use empty structure. That is not Ansi C.
18330 1999-10-19  James Henstridge  <james@daa.com.au>
18332         * app/diapagelayout.c (dia_page_layout_init): use DiaUnitSpinner's for
18333         the margin entries, as they allow interpretation of units.
18334         (paper_size_change): display the current page dimensions.
18336         * app/diaunitspinner.[ch]: a widget derived from the standard
18337         GtkSpinButton that tries to take units into account.  So if you enter
18338         "1in" into the entry, it will convert it to 2.54cm.
18340 1999-10-18  Alexander Larsson  <alla@lysator.liu.se>
18342         * app/app_procs.c:
18343         Removed include of dlfcn.h
18345 1999-10-18  James Henstridge  <james@daa.com.au>
18347         * app/diapagelayout.c (paper_size_change, orient_changed): set upper
18348         bound on margin widths.  It is set to the paper width/height.
18350         * objects/flowchart/diamond.c (diamond_distance_from): fixed distance
18351         routine for the diamond.  This bug was found and fixed by Daniel Wang
18352         <danwang@CS.Princeton.EDU>
18354 Sun Oct 17 19:46:36 1999  ape@gandalf.spacetec.no  (Asbjorn Pettersen)
18356         * app/commands.c: Add <sys/types.h> before <sys/stat.h> to
18357         remove warning (OS/2 version).
18359 1999-10-17  Alexander Larsson  <alla@lysator.liu.se>
18361         * README:
18362         Put a pointer to objects/custom/README.
18363         
18364 1999-10-17  Alexander Larsson  <alla@lysator.liu.se>
18366         * dia.spec:
18367         Updated version to 0.80
18369         * configure.in:
18370         Updated version to 0.80cvs
18372 1999-04-08  Alexander Larsson  <alla@lysator.liu.se>
18374         * Released Dia 0.80
18375         Tag called DIA_0_80
18376         
18377 1999-10-17  Fredrik Hallenberg  <hallon@lysator.liu.se>
18379         * app/Makefile.am
18380         * lib/Makefile.am
18381         * objects/UML/Makefile.am
18382         * objects/ER/Makefile.am
18383         * objects/network/Makefile.am
18384         * objects/standard/Makefile.am
18385         * objects/FS/Makefile.am
18386         * objects/sybase/Makefile.am
18387         * objects/flowchart/Makefile.am
18388         * objects/custom/Makefile.am
18389         Added -I$(top_srcdir)/intl which is needed for
18390         --with-included-gettext.
18392         * POTFILES.in
18393         Updated.
18394         
18395         * po/sv.po
18396         Updated swedish translation.
18398 1999-10-16  Alexander Larsson  <alla@lysator.liu.se>
18400         * configure.in:
18401         Updated version number to 0.80.
18403         * KNOWN_BUGS:
18404         New file.
18406         * TODO:
18407         Updated. Moved bugs to KNOWN_BUGS.
18409         * NEWS:
18410         Updated with 0.80 release notes.
18411         
18412 1999-10-16  Alexander Larsson  <alla@lysator.liu.se>
18413         
18414         * lib/orth_conn.c:
18415         For backwards compatibility, make sure handle 0 and 1 are the
18416         first and last handle. Fixes compatibility with 0.41, breaks
18417         compatibility with cvs version.
18418         Fixed bug in undo/redo of adding deleting endpoint segments
18419         when the endpoint was connected.
18420         Start OrthConn objects with three segments.
18422 1999-10-16  James Henstridge  <james@daa.com.au>
18424         * objects/custom/custom_object.c (custom_update_data): changed
18425         resizing behaviour a bit so that shapes don't grow huge when you try
18426         to resize them to smaller than the size required by the text box.
18427         Also, now shapes will not grow with fixed aspect ratio when you enter
18428         text into them unless the shape has the fixed aspect ratio flag set.
18430 1999-10-15  James Henstridge  <james@daa.com.au>
18432         * objects/flowchart/flowchart.c: add new shapes to flowchart sheet.
18434         * object/flowchart/pixmaps/...: corresponding pixmaps for new shapes.
18436         * objects/flowchart/magdrum.shape: 
18437         * objects/flowchart/offlinestore.shape: 
18438         * objects/flowchart/punchedtape.shape: 
18439         * objects/flowchart/transmittape.shape: 
18440         * objects/flowchart/punchedcard.shape: new shapes.
18442         * objects/flowchart/flowchart.c: add new shapes to flowchart sheet.
18444         * object/flowchart/pixmaps/...: corresponding pixmaps for new shapes.
18446         * objects/flowchart/collate.shape:
18447         * objects/flowchart/delay.shape:
18448         * objects/flowchart/extract.shape:
18449         * objects/flowchart/intstorage.shape:
18450         * objects/flowchart/magdisk.shape:
18451         * objects/flowchart/magtape.shape:
18452         * objects/flowchart/merge.shape:
18453         * objects/flowchart/or.shape:
18454         * objects/flowchart/sort.shape:
18455         * objects/flowchart/sumjunction.shape: new shapes.
18457 1999-10-15  Alexander Larsson  <alla@lysator.liu.se>
18459         * TODO (BUGS):
18460         Added bug:
18461         Entering an erronous command as print command
18462         crashes dia.
18464         * app/paginate_psprint.c:
18465         Save all print dialog values for next time.
18466         
18467         * app/Makefile.am:
18468         Remove custom lib from DIA_LIB_PATH.
18470 1999-10-14  James Henstridge  <james@daa.com.au>
18472         * objects/flowchart/flowchart.c: add new shapes to flowchart sheet.
18474         * object/flowchart/pixmaps/...: corresponding pixmaps for new shapes.
18475         
18476         * objects/flowchart/offpageconn.shape: 
18477         * objects/flowchart/manualop.shape: 
18478         * objects/flowchart/preparation.shape: 
18479         * objects/flowchart/manualinput.shape: 
18480         * objects/flowchart/predefdproc.shape: 
18481         * objects/flowchart/terminal.shape: new shapes in the flowchart sheet.
18483 1999-10-13  James Henstridge  <james@daa.com.au>
18485         * app/diapagelayout.[ch]: added accessors to paper information.  The
18486         widget should be just about complete now.
18488         * app/diapagelayout.[ch]: fleshed out the page setup widget a bit more.
18489         It actually does something now.
18491 1999-10-12  James Henstridge  <james@daa.com.au>
18493         * app/pixmaps/portrait.xpm, app/pixmaps/landscape.xpm: support pixmaps
18494         for the page layout widget.
18496         * app/diapagelayout.[ch]: start of page layout widget.  Not actually
18497         built yet as it is not complete.
18499         * objects/flowchart/flowchart.c: added new shapes to sheet.
18501         * objects/flowchart/display.shape:
18502         * objects/flowchart/transaction.shape: new shapes.
18504         * AUTHORS: added my name to the spec file.
18506         * dia.spec: include the dia desktop entry to the spec file.
18508         * Makefile.am: install the dia.desktop file.
18510         * dia.desktop: added a gnome desktop entry so you can start dia
18511         from the gnome panel menu.
18513 1999-10-11  James Henstridge  <james@daa.com.au>
18515         * objects/custom/custom_object.c:
18516         * objects/custom/shape_info.c: warning fixes.
18518         * objects/flowchart/document.shape: a shape file for the `document'
18519         flowchart shape.
18521         * lib/custom.h: new header with the custom shape prototypes.
18523         * app/app_procs.c: register custom objects as well.
18524         (register_objects_in): close shared libraries if they don't load
18525         correctly, and call g_module_make_resident on libraries that load
18526         correctly.
18528         * app/Makefile.am (dia_LDADD): added libcustom_objects.a to link list.
18530         * objects/custom/custom.c: removed get_version, added custom_ prefix
18531         to register_objects and register_sheets.
18533         * objects/custom/Makefile.am: converted to a normal library.
18535 1999-10-10  Alexander Larsson  <alla@lysator.liu.se>
18537         * app/lineprops_area.c:
18538         * app/render_svg.c:
18539         * lib/objchange.c:
18540         * objects/custom/shape_info.c:
18541         * objects/flowchart/box.c:
18542         * objects/flowchart/diamond.c:
18543         * objects/flowchart/ellipse.c:
18544         * objects/flowchart/parallelogram.c:
18545         * objects/network/flash.c:
18546         * objects/network/scead-plug.c:
18547         * objects/sybase/client.c:
18548         Removed -Wall warnings.
18549         
18550         * objects/network/bus.c:
18551         Removed unused functions.
18553         * objects/FS/flow-ortho.c:
18554         * objects/FS/flow-poly.c:
18555         * objects/FS/flow.c:
18556         * objects/FS/function.c:
18557         
18558         Implemented "non-implemented" undo for FS objects.
18559         Now at least it won't crash.
18560         
18561 1999-10-10  Alexander Larsson  <alla@lysator.liu.se>
18563         * objects/network/bus.c:
18564         Implemented undo.
18565         Handles are now added and removed using the object menu.
18566         Default to 6 handles instead of 10.
18567         Changed name from "Standard - Bus" to "Network - Bus". Kept old
18568         name for backwards compatibility.
18570         * objects/network/network.c:
18571         Changed name from "Standard - Bus" to "Network - Bus". Kept old
18572         name for backwards compatibility.
18574         * app/properties.[ch]:
18575         * app/undo.c:
18576         Update properties in properties dialog if the shown object
18577         is part of and ObjectChange (undo or redo).
18579         * lib/poly_conn.c:
18580         Remove old known bugs list.
18582         * objects/UML/class_dialog.c:
18583         Removed debug printf's.
18585 1999-10-10  James Henstridge  <james@daa.com.au>
18587         * objects/custom/custom.c (custom_object_load): new function that
18588         provides a nice entry point to the custom shape code for when it
18589         gets used by other libraries.
18591         * configure.in: removed 11 makefiles from AC_OUTPUT list.  This
18592         speeds builds up a bit.
18594         * */Makefile.am (EXTRA_DIST): include pixmaps in distribution.
18595         (SUBDIRS): do not descend into pixmaps subdirs.
18597         * */pixmaps/Makefile.am: removed -- incorporate into parent makefiles.
18598         This speeds up build process.
18600         * objects/custom/custom.c (sheets): made variable static.
18602         * objects/custom/custom_util.[ch] (custom_get_relative_filename):
18603         renamed function.
18605         * objects/custom/load_sheet.[ch] (custom_sheet_load): renamed function.
18607         * objects/custom/custom.c: look in ~/.shapes instead of
18608         ~/.dia_shapes as the per-user shapes directory.
18610         * app/preferences.c (prefs_save): save config to ~/.diarc.
18611         (prefs_load): load configuration from ~/.diarc.  If the file
18612         does not exist, fallback on the old ~/.diarc location.
18614         * app/app_procs.c (create_user_dirs): create the ~/.dia directory
18615         on startup.
18616         (register_all_objects): look for user specific objects in
18617         ~/.objects rather than ~/.dia_libs.
18619 1999-10-10  Fredrik Hallenberg  <hallon@lysator.liu.se>
18621         * configure.in:
18622         * app_procs.c:
18623         * objects/flowchart/box.c
18624         * objects/flowchart/ellipse.c
18625         * objects/flowchart/flowchart.c 
18626         Use gmodule for dynamic linking. As gmodule is using
18627         RTLD_GLOBAL i had to change flowchart box and ellipse
18628         so the typenames doesn't conflict with the standard
18629         box and ellipse.
18631         * message.c
18632         * commands.c
18633         Use button box to make dialogs look better.
18635 1999-10-09  Alexander Larsson  <alla@lysator.liu.se>
18637         * objects/UML/class_dialog.c:
18638         * objects/UML/class.h:
18639         Implemented undo for "UML - Class" objects.
18640         Not 100% tested yet.
18642         * objects/UML/classicon.c:
18643         * objects/UML/constraint.c:
18644         * objects/UML/dependency.c:
18645         * objects/UML/generalization.c:
18646         * objects/UML/implements.c:
18647         * objects/UML/large_package.c:
18648         * objects/UML/lifeline.c:
18649         * objects/UML/message.c:
18650         * objects/UML/object.c:
18651         * objects/UML/realizes.c:
18652         * objects/UML/state.c:
18653         * objects/UML/usecase.c:
18654         Removed warnings.
18655         
18656         * lib/connectionpoint.h:
18657         Fixed typo.
18658         
18659 1999-10-09  James Henstridge  <james@daa.com.au>
18661         * objects/custom/*.[ch]: added copyright notices to custom object
18662         files.
18664         * shapes/Circuit/hdiode.shape:
18665         * shapes/Circuit/hzener.shape: 
18666         * shapes/Circuit/opamp.shape:
18667         * shapes/Circuit/vdiode.shape:
18668         * shapes/Circuit/vzener.shape: made adjustments to make the circuit
18669         shapes look nice after the custom shape code changes.
18671         * objects/custom/README: updated docs to cover changes to drawing
18672         code.
18674         * objects/custom/custom_object.c (custom_draw): honour the line
18675         properties when drawing the shape.
18677         * objects/custom/shape_info.[ch]: added support for setting line
18678         properties for individual drawing elements in a custom shape.  You
18679         can set the dash style, dash length, cap style and join style.
18681 1999-10-07  James Henstridge  <james@daa.com.au>
18683         * objects/custom/shape_info.c (parse_style): added a few extra synonyms
18684         for foreground and background.
18686         * objects/custom/custom_object.c (custom_draw): use the new style
18687         information when drawing the object.
18689         * objects/custom/shape_info.[ch]: store all shape style info in the
18690         GraphicStyle structure.  This makes adding support for extra CSS
18691         attributes easier -- we don't have to keep adding extra arguments to
18692         a lot of functions.
18694 1999-10-05  James Henstridge  <james@daa.com.au>
18696         * lib/intl.c (unalias_lang): merged in changes from the i18n code
18697         swiped from gnome-libs.
18699 1999-10-03  Alexander Larsson  <alla@lysator.liu.se>
18701         * objects/standard/image.c (get_directory):
18702         Fix memleak. Found by Kjartan Maraas <kmaraas@online.no>
18704 1999-09-28  Alexander Larsson  <alla@lysator.liu.se>
18706         * lib/poly_conn.c (polyconn_destroy):
18707         Fix bug. Access of freed memory.
18708         Rememeber, you can't free the handles of an object
18709         before calling object_destroy(), as it unconnects the handles
18710         therefore referencing them.
18712 1999-09-28  Alexander Larsson  <alla@lysator.liu.se>
18714         * app/undo.c:
18715         undo_clear() didn't set stack->depth to zero.
18716         This made other undo functions crash after this had been called
18717         on a "full" stack.
18718         
18719         * dia.xpm:
18720         Slightly modified by Chris Love <clove@exactis.com>
18722 1999-09-19  Alexander Larsson  <alla@lysator.liu.se>
18724         * objects/UML/class.h: 
18725         * objects/UML/class_dialog.c:
18726         Retrun NULL ObjectChange on class property change.
18727         This means no crashes, but "UML - Class" doesn't support undo yet.
18728         
18729 1999-09-19  Alexander Larsson  <alla@lysator.liu.se>
18730         
18731         * lib/text.c:
18732         Indentation fix.
18734         * objects/UML/classicon.c:
18735         * objects/UML/dependency.c:
18736         * objects/UML/generalization.c:
18737         * objects/UML/implements.c:
18738         * objects/UML/large_package.c:
18739         * objects/UML/lifeline.c:
18740         * objects/UML/message.c:
18741         * objects/UML/object.c:
18742         * objects/UML/realizes.c:
18743         * objects/UML/state.c:
18744         * objects/UML/usecase.c:
18745         Update to new undo (w. get/set_state).
18746         Add object menu to add/delete segments.
18748 1999-09-17  Alexander Larsson  <alla@lysator.liu.se>
18750         * app/menus.c:
18751         Add equal distance alignment.
18753         * app/object_ops.c:
18754         Add equal distance alignment.
18755         Fix bug in adjacent alignment.
18757 1999-09-16  Alexander Larsson  <alla@lysator.liu.se>
18759         * objects/UML/constraint.c: 
18760         Update to new undo (w. get/set_state).
18762 1999-09-15  Alexander Larsson  <alla@lysator.liu.se>
18764         * app/paginate_psprint.c:
18765         Save (parts, more todo) of the info in the print dialog to the
18766         next time it's opened.
18767         Patch from Yo Ric Dude <ricdude@toad.net>
18769 1999-09-14  Alexander Larsson  <alla@lysator.liu.se>
18771         * configure.in:
18772         Updated version string to 0.41cvs.
18774         * objects/UML/assocition.c:
18775         Update to new undo (w. get/set_state).
18776         Add object menu to add/delete segments.
18778         * app/app_procs.c:
18779         Added function debug_break() and called it after all
18780         objects and sheets are loaded. Place a breakpoint here if you
18781         want to debug objects. All symbols should be loaded.
18783 1999-09-12  James Henstridge  <james@daa.com.au>
18785         * app/menus.c (display_menu_items): added print menu item.
18786         (filemenu): always add print menu item -- even if gnome-print is
18787         not installed.
18789         * app/commands.h, app/commands.c (file_print_callback): the print
18790         menu item is now available for both gnome-print and non gnome-print
18791         setups.
18793         * app/paginate_psprint.c (diagram_print_ps): show a dialog to let you
18794         print with the non gnome-print driver.
18796 1999-09-11  James Henstridge  <james@daa.com.au>
18798         * app/paginate_gnomeprint.c (diagram_print_gnome): moved the gnome
18799         printer dialog code out of commands.c.
18801         * app/paginate_psprint.c: new file containing the pagination code for
18802         psprint.
18804         * app/render_eps.c: made a few modifications so as well as producing
18805         EPS files, this renderer can be set up to do postscript printing.
18806         This basically entailed adding an extra function to create a RenderEPS
18807         renderer which did not bother setting the viewport for the document.
18808         That was left for the pagination code.
18810 1999-09-10  James Henstridge  <james@daa.com.au>
18812         * app/render_gnomeprint.c (draw_ellipse, fill_ellipse): since
18813         gnome-print does not support elliptic arcs at the moment, approximate
18814         the ellipse with eight bezier curves.  This gives a pretty good
18815         match to a true ellipse.
18817 1999-09-09  James Henstridge  <james@daa.com.au>
18819         * app/commands.c (file_gnome_print_callback): added support for
18820         scaling the diagram.  Also fixed a few other bugs.
18822         * app/paginate_gnomeprint.c (print_page): added ability to scale
18823         document.  Fixed up test to see if the page has no objects on it.
18824         This should prevent some blank pages being printed.  Non square
18825         objects such as lines could still cause problems.
18827 1999-09-08  James Henstridge  <james@daa.com.au>
18829         * app/commands.c (file_gnome_print_callback): changed from using the
18830         standard printer selection dialog to one that also has a paper size
18831         selector as well.
18833         * commands.[ch]: added callbacks for the print menu item.  Currently
18834         it only does A4 output.  I will make it configurable soon.
18835         
18836         * app/menus.c: add a print diagram menu item if gnome-print support
18837         is enabled.
18838         
18839         * app/paginate_gnomeprint.c, app/paginate_gnomeprint.h: this is a
18840         bit higher level than the gnome-print renderer.  It splits the
18841         diagram into page size chunks and then renders them.  For each
18842         page, it only renders the objects whose bounding box intersects
18843         the page, and it sets the clip mask so that the diagram does not
18844         overlap the margins.
18845         
18846         * app/render_gnomeprint.c, app/render_gnomeprint.h: added a renderer
18847         that uses gnome-print as its back end.
18848         
18849         * configure.in: added a check for gnome-print.  It is disabled by
18850         default because the code is not really working correctly yet.
18852         * app/menus.c: the delete object menu item was missing from the
18853         GnomeUIInfo style menus.
18855 1999-09-07  Fredrik Hallenberg  <hallon@lysator.liu.se>
18857         * configure.in
18858         Added japanese to ALL_LINGUAS.
18859         Fix for Linux on Alpha.
18861 1999-09-07  Alexander Larsson  <alla@lysator.liu.se>
18863         * app/create_object.c (create_object_button_press):
18864         Always initialize tool->obj. Otherwise we store a null
18865         in the undo Change.
18867         * lib/text.c:
18868         Set linestyle before drawing cursor.
18869         Fix undo of backwards delete.
18871 1999-09-05  James Henstridge  <james@daa.com.au>
18873         * dia.spec: updated spec file to distribute $(prefix)/share/dia.
18875         * app/render_svg.c (draw_image): some fixes so that the appropriate
18876         style attributes are set.  Before it was setting line styles on
18877         fill_* functions.  Now it only does this for the draw_* variants.
18879         * app/Makefile.am (run_dia.sh): set the DIA_SHAPE_PATH environment
18880         variable so that custom shapes can be loaded.
18882         * shapes/: new directory for custom shapes.  The Circuit sheet has
18883         been moved here.
18885 1999-09-02  James Henstridge  <james@daa.com.au>
18887         * TODO: removed a few todo items that have been implemented.
18889         * app/interface.c (create_sheets): enabled the popup page menu to the
18890         notebook.  This can make it easier to select different sheets.
18892         * object/custom/Circuit/: added diode, zener diode, ground point and
18893         operational amplifier shapes.
18894         
18895         * objects/custom/Makefile.am: added a note about adding DEBUG_CUSTOM
18896         if you want the output.
18898         * objects/custom/shape_info.c (parse_path): same here.
18900         * objects/custom/load_sheet.c (load_with_readdir): don't print so
18901         much debugging output.  To get the previous level of output, define
18902         DEBUG_CUSTOM.
18904         * objects/custom/shape_info.c (parse_svg_node): polygons were being
18905         recorded as polylines in the ShapeInfo structure.
18907         * objects/custom/README: some notes on writing new custom shapes.
18908         
18909 1999-09-01  James Henstridge  <james@daa.com.au>
18911         * objects/custom/Circuit/hinductor.*:
18912         * objects/custom/Circuit/vinductor.*: added inductor shapes that
18913         also test out the bezier curve and SVG path support.
18914         
18915         * objects/custom/custom_object.c (custom_draw): added support for
18916         drawing bezier paths and filled shapes.
18918         * objects/custom/shape_info.c (parse_path): new function to parse
18919         SVG path elements.  It does not do quadratic beziers or elliptic
18920         arcs though.  Only moves, lines and cubic beziers.
18921         (*): added support for paths.
18923 1999-08-31  James Henstridge  <james@daa.com.au>
18925         * objects/sybase/ltm.c (render_to_store): use the newer bezier API.
18927         * app/render_svg.c (draw_bezier, fill_bezier): updated renderer
18928         interface
18930         * app/render_eps.c (draw_bezier, fill_bezier): updated renderer
18931         interface
18933         * app/render_gdk.c (draw_bezier, fill_bezier): updated renderer
18934         interface.
18936         * lib/render_store.[ch]: use newer bezier functions.
18938         * lib/render.h: changed the bezier drawing functions to use an array
18939         of BezPoint structures instead of normal Point structures to allow
18940         lineto's mixed in with the curveto's.
18941         
18942         * objects/custom/Circuit/pnp.*: added pnp transistor shape.
18943         
18944         * objects/custom/Circuit/Makefile.am (SHAPES): added index.sheet and
18945         xpm images for different shapes to Makefile.
18947         * objects/custom/custom_object.c (custom_object_new): set the icon
18948         for the sheet button if there is one.  Otherwise fall back on the
18949         default custom object icon.
18951         * objects/custom/shape_info.c (load_shape_info): read the sheet
18952         icon name from the shape file.
18954         * app/interface.c (create_sheet_page): if sheet_obj->pixmap == NULL,
18955         check the pixmap_file field for the name of a pixmap file to load
18956         for the tool.
18958         * lib/sheet.h (SheetObj): added pixmap_file field to structure.  It is
18959         at the end of the structure, and it isn't used if the pixmap field
18960         is non NULL, so it should not break binary compatibility.
18962         * objects/custom/load_sheet.[ch]: moved sheet loading code here.  Also
18963         added support for the use of an index.sheet file so you can specify
18964         the ordering of the shapes in the sheet, and also internationalise
18965         the sheet name and actually be able to give a description.  The old
18966         readdir based sheet loading code acts as a fallback if an index.sheet
18967         file can not be found.
18969         * objects/custom/custom_util.[ch]: new file containing useful routines
18970         needed by the custom object code.  Currently only contains a simple
18971         routine for resolving relative paths.
18973         * objects/custom/custom_object.c (custom_draw): fixed problem with
18974         drawing rectangles if the shape has been flipped.
18976 1999-08-30  James Henstridge  <james@daa.com.au>
18978         * objects/custom/custom_object.c (custom_get_object_menu): allow
18979         flipping of custom shapes.  This uses the miggle click object
18980         menu.
18982         * objects/custom/Circuit/npn.shape: fix aspect ratio.
18984         * objects/custom/custom_object.c (custom_update_data): honour the
18985         aspect ratio constraints.
18987         * objects/custom/shape_info.c (load_shape_info): updated aspect ratio
18988         tag parsing, so you can specify a free, fixed or a range for aspect
18989         ratios for the shape.
18991 1999-08-29  James Henstridge  <james@daa.com.au>
18993         * objects/custom/test.xml, objects/custom/Circuit/*.shape: fixed
18994         up shape namespace tag.
18996         * objects/custom/shape_info.c (load_shape_info): check xml:lang
18997         attribute on <description> elements to support i18n for custom
18998         shape descriptions.
18999         Also changed the shape namespace for custom shapes to something
19000         a little more sensible.
19002         * lib/dummy_dep.h (dummy_dep): added extra dummy dependency.
19004         * lib/intl.c: new file containing some functions for i18n stuff.
19006         * app/layer_dialog.c (create_button_box): fixed a warning.
19008         * objects/custom/custom_object.c: use current line style.  Save dash
19009         length.
19011         * objects/flowchart/diamond.c: use current line style.  Save dash
19012         length.
19014         * objects/flowchart/parallelogram.c: use current line style.  Save
19015         dash length.
19017         * objects/flowchart/ellipse.c: use current line style.  Save dash
19018         length.
19020         * objects/flowchart/box.c: use current line style.  Save dash length.
19022         * objects/standard/ellipse.c: make ellipse use current line style.
19024         * objects/standard/box.c: use the line style set in the toolbox for
19025         new boxes, and remember the dash length.
19027         * app/commands.c (view_toggle_rulers_callback): fix reshowing of
19028         rulers.
19030 1999-08-24  James Henstridge  <james@daa.com.au>
19032         * objects/flowchart/ellipse.c (ellipse_update_data): made some changes
19033         to try to stop ellipse to get infinite width/height when we resize,
19034         while trying to keep the text inside the ellipse.
19036         * objects/flowchart/box.c, objects/flowchart/parallelogram.c,
19037         * objects/flowchart/diamond.c, objects/flowchart/ellipse.c: fixed
19038         resizing behaviour, so that you can't push objects round the screen
19039         with the resize handles.
19041         * app/lineprops_area.c (dia_arrow_chooser_init, dia_line_chooser_init):
19042         get the OK buttons in the dialogs to take default clicks.
19044         * objects/custom/custom_object.c: added code so that resizing the
19045         shape does not end up pushing it round the screen.
19047 1999-08-23  Alexander Larsson  <alla@lysator.liu.se>
19049         * app/display.[ch]:
19050         Generate rectangle with the union of the damaged regions.
19051         This is used to optimize the grid paint and the object rendering.
19052         display_render_pixmap passes this info to grid_draw() and data_render().
19054         * app/grid.[ch]:
19055         grid_draw doesn't draw grid lines outside of damaged rectangle.
19056         Sets dashlength when drawing non-solid grid.
19057         
19058         * lib/diagramdata.[ch]:
19059         data_render() and layer_render() takes an optional damaged rectangle
19060         argument. No objects not intersecting this are drawn.
19062         * app/diagram.c:
19063         Fix warning.
19064         Call data_render with NULL update rectangle.
19065         
19066 1999-08-23  James Henstridge  <james@daa.com.au>
19068         * objects/custom/custom_object.c (custom_update_data): if the aspect
19069         ratio is fixed, make sure the shape is not distorted.
19071         * object/custom/shape_info.h, objects/custom/shape_info.c: notice if
19072         a <fixaspectratio/> tag is given in the shape file.
19074         * objects/custom/shape_info.[ch], objects/custom/custom_object.c:
19075         added support for stroke-width, stroke and fill CSS attributes
19076         specified in style attributes of the SVG elements.  The line width
19077         is relative to the user specified line width.  The stroke and fill
19078         attributes can only be used to swap the foreground/background
19079         colours.
19081         * lib/widgets.c (dia_line_style_selector_set_linestyle): set the
19082         sensitivity on the dash length selector when this function is called.
19084         * objects/standard/arc.c: same.  Also handle dash length.
19085         * objects/standard/zigzagline.c: same.
19086         * objects/standard/polyline.c: same.  Also handle dash length.
19087         * objects/standard/line.c: use default arrow/line styles.
19089         * app/interface.c: added callbacks to set the default attributes.
19091         * lib/attributes.c: added implementations of these functions.
19093         * lib/attributes.h: added extra prototypes for the new line properties
19094         area in the toolbox.
19096         * app/interface.c (create_lineprops_area): added line properties
19097         area to bottom of toolbox.
19099         * app/lineprops_area.h: a header exporting a few routines of the
19100         line properties area widgets.
19102         * app/lineprops_area.c: new file containing a selector for arrows
19103         and line styles to go in the main toolbox.
19105 1999-08-22  Alexander Larsson  <alla@lysator.liu.se>
19107         * HACKING:
19108         Update Gtk+ 1.0.5 comment to 1.2.0.
19110         * INSTALL:
19111         Demand libtool 1.3
19113         * acconfig.h:
19114         Add HAVE_LIBPOPT
19116         * configure.in:
19117         Make sure we don't propagate -ldl and -lpopt to all LIBS
19118         by adding new var APP_LIBS that only app/dia links with.
19119                 
19120         * app/Makefile.am:
19121         Update run_dia.sh to load custom and flowchart objects.
19123         * objects/ER/Makefile.am:
19124         * objects/FS/Makefile.am:
19125         * objects/UML/Makefile.am:
19126         * objects/network/Makefile.am:
19127         * objects/standard/Makefile.am:
19128         * objects/sybase/Makefile.am:
19129         Don't build versioned libs.     
19130         
19131 1999-08-22  James Henstridge  <james@daa.com.au>
19133         * configure.in: added objects/custom/Circuit/Makefile to AC_OUTPUT
19134         list.
19136         * objects/Makefile.am (SUBDIRS): added custom to subdir list -- it
19137         should actually work a bit now.
19139         * objects/custom/Circuit/*: a test sheet for the custom shape code.
19140         It is a small collection of circuit elements.
19142         * objects/custom/shape_info.c: fixed up loading of polylines and
19143         polygons.  Before it was removing negative signs :(
19145         * objects/custom/pixmaps/custom.xpm: drew the custom shape icon.  A
19146         placeholder was here before.  I still need to work out how to set
19147         icons for individual custom shapes.
19148         
19149         * objects/custom/custom.c: added code to load the shapes into sheets
19150         properly.  The shape files should be arranged into directories, and
19151         each directory represents a different sheet in the toolbox.  This
19152         will make it very easy to distribute a collection of dia shapes as
19153         a tarball.  I still need to work out internationalisation, and maybe
19154         also shape ordering in the sheet.
19156         * objects/custom/custom_object.c: fixed up dialogs for these objects.
19157         (custom_create): fix for objects without text areas.
19159         * objects/custom/shape_info.h, objects/custom/custom_object.c: loading
19160         and saving of custom object works correctly now.
19162 1999-08-21  James Henstridge  <james@daa.com.au>
19164         * objects/flowchart/ellipse.c: 
19165         * objects/flowchart/diamond.c: 
19166         * objects/flowchart/parallelogram.c: 
19167         * objects/flowchart/box.c: Fixed up a few bugs in these objects when
19168         copying or loading these object types.  Not all the connection
19169         points would be initialised correctly.
19171         * objects/flowchart/Makefile.am (libflowchart_objects_la_LDFLAGS):
19172         similar here.
19174         * objects/custom/Makefile.am (libcustom_objects_la_LDFLAGS): do not
19175         build a versioned library.  It will only ever be dlopen'd, so this
19176         is not a problem.
19178         * objects/custom/custom_object.c (custom_distance_from): allow
19179         selecting the object by clicking on the text.  This fixes problems
19180         where the text box is outside the graphic.
19182         * objects/custom/shape_info.c (load_shape_info): fixed up reading
19183         of connections points.  It should be possible to add connections
19184         to custom objects now.
19186         * objects/custom/custom_object.c (custom_update_data): fixed resizing
19187         due to changes to text.
19189         * configure.in: added extra makefiles.
19190         
19191         * objects/custom/shape_info.[ch]:
19192         * objects/custom/custom_object.c:
19193         * objects/custom/custom.c: the starts of custom shape support in dia.
19194         This is not built by default at the moment, since it is not quite
19195         complete.  When it is, it will let you create more shapes for dia
19196         without writing a line of C.  Its implementation includes buzzwords
19197         such as XML and SVG, so it must be good :)
19199 1999-08-19  Karsten Weiss  <karsten@addx.au.s.shuttle.de>
19201         * app/app_procs.c (app_exit): Use button labels "Quit" and
19202         "Cancel" instead of "Yes" and "No".
19203         Set default action to "Cancel" instead of "Quit".
19205 1999-08-19  James Henstridge  <james@daa.com.au>
19207         * objects/flowchart/flowchart.c: added ellipse object.
19208         
19209         * objects/flowchart/ellipse.c: a new shape for the flowchart toolbox.
19211 1999-08-18  James Henstridge  <james@daa.com.au>d
19213         * app/color_area.c (color_area_edit): small fix to prevent dia from
19214         segfaulting when you try to change the default foreground/background.
19216 1999-08-17  Alexander Larsson  <alla@lysator.liu.se>
19218         * app/diagram.[ch] (diagram_redraw_all):
19219         Added function that redraws all diagrams.
19221         * app/preferences.c (prefs_apply):
19222         Call diagram_redraw_all when prefs are changed.
19224         * app/render_svg.c:
19225         Don't use xmlEncodeEntitiesReentrant(). It doesn't exist on
19226         older libxml's, and the old version works good enought here.
19227         
19228 1999-08-17  James Henstridge  <james@daa.com.au>
19230         * lib/widgets.c: changed handlers that were connected to the GtkButton
19231         "pressed" signal to connect to the "clicked" signal.  This removes the
19232         problem where dialogs are inactive until you click a mouse button
19233         after using a colour selector.
19235         * configure.in: added extra makefiles to AC_OUTPUT list.
19236         
19237         * objects/Makefile.am (SUBDIRS): added flowchart module
19239         * objects/flowchart/*: a collection of shapes for use in flowcharts.
19241         * app/color_area.c (color_area_events): similar here.
19243         * app/linewidth_area.c (linewidth_area_events): sometimes a configure
19244         event is recieved with event->width == 0, which causes a warning if we
19245         try to create a pixmap of that width.
19247         * app/preferences.c, app/preferences.h, app/grid.c: added code to
19248         allow you to configure the colour of the grid, and also lets you
19249         set the grid to use dotted lines instead of solid ones.
19250         
19251         * app/commands.c, app/commands.h, app/diagram.c, app/diagram.h,
19252         app/menus.c, app/Makefile.am: added menu entry for exporting SVG files.
19253         
19254         * app/render_svg.h, app/render_svg.c: an SVG (Scalable Vector Graphics)
19255         export filter.  It is not quite complete, but for most shapes it
19256         works as expected.  Fonts still need a bit of work.
19258 1999-08-11  Robert Brady  <rwb197@ecs.soton.ac.uk>
19260         * configure.in: Added "en_GB" to ALL_LINGUAS.
19262 1999-08-04  Fredrik Hallenberg  <hallon@lysator.liu.se>
19264         * menus.c
19265         Added Undo and Redo to GNOME menus.
19266         
19267         * objects/ER/attribute.c:
19268         * objects/ER/entity.c:
19269         * objects/ER/participation.c:
19270         * objects/ER/relationship.c:
19271         Added get/set_state functions.
19273         * objects/ER/participation.c:
19274         Added add/delete segment.
19276         * po/sv.po
19277         Updated Swedish translation.
19279 1999-07-25  Alexander Larsson  <alla@lysator.liu.se>
19281         * app/preferences.[hc]:
19282         Added undo_depth pref.
19283         
19284         * app/undo.[ch]:
19285         Never grow stack larger than pref.undo_depth.
19286         undo_depth == 0 means unlimited.
19287         Converted printfs to conditionally compiled DEBUG_PRINTFs.
19288         
19289 1999-07-25  Alexander Larsson  <alla@lysator.liu.se>
19291         * app/diagram.c:
19292         * app/group.c:
19293         * lib/object.h:
19294         * lib/render_object.c:
19295         * objects/ER/attribute.c:
19296         * objects/ER/entity.c:
19297         * objects/ER/participation.c:
19298         * objects/ER/relationship.c:
19299         * objects/FS/flow-ortho.c:
19300         * objects/FS/flow-poly.c:
19301         * objects/FS/flow.c:
19302         * objects/FS/function.c:
19303         * objects/UML/actor.c:
19304         * objects/UML/association.c:
19305         * objects/UML/class.c:
19306         * objects/UML/classicon.c:
19307         * objects/UML/component.c:
19308         * objects/UML/constraint.c:
19309         * objects/UML/dependency.c:
19310         * objects/UML/generalization.c:
19311         * objects/UML/implements.c:
19312         * objects/UML/large_package.c:
19313         * objects/UML/lifeline.c:
19314         * objects/UML/message.c:
19315         * objects/UML/note.c:
19316         * objects/UML/object.c:
19317         * objects/UML/realizes.c:
19318         * objects/UML/small_package.c:
19319         * objects/UML/state.c:
19320         * objects/UML/usecase.c:
19321         * objects/network/bus.c:
19322         * objects/standard/arc.c:
19323         * objects/standard/box.c:
19324         * objects/standard/ellipse.c:
19325         * objects/standard/image.c:
19326         * objects/standard/line.c:
19327         * objects/standard/polyline.c:
19328         * objects/standard/textobj.c:
19329         * objects/standard/zigzagline.c:
19330         Removed all traces of is_empty(). It doesn't work in an
19331         Undo/Redo world.
19333 1999-07-25  Alexander Larsson  <alla@lysator.liu.se>
19335         * app/diagram.c:
19336         * app/group.[ch]:
19337         * app/undo.[ch]:
19338         Undoable grouping and ungrouping.
19340         * app/layer_dialog.c:
19341         * lib/diagramdata.[ch]:
19342         Undoable layer ops.
19344         * app/modify_tool.c:
19345         Undoable unconnect on handle move.
19347         * lib/orth_conn.[ch]:
19348         Working undoable add/remove segment.
19349         Removed endpoint_handles from OrthConn, renamed
19350         midpoint_handles to handles and put the endpoint
19351         handles there.
19353         * objects/standard/zigzagline.c:
19354         * objects/ER/participation.c:
19355         * objects/UML/association.c:
19356         * objects/UML/dependency.c:
19357         * objects/UML/generalization.c:
19358         * objects/UML/realizes.c:
19359         Update for the changes in OrthConn
19360         
19361 1999-07-23  Karsten Weiss  <karsten@addx.au.s.shuttle.de>
19363         * configure.in: Added "de" to ALL_LINGUAS.
19365 1999-07-17  Alexander Larsson  <alla@lysator.liu.se>
19367         * dia.1:
19368         Fixed typo.
19370         * app/display.c:
19371         * po/da.po:
19372         * po/fr.po:
19373         * po/hu.po:
19374         * po/no.po:
19375         * po/pl.po:
19376         * po/sv.po:
19377         Don't have the <Display> etc part of the menu strings
19378         i18n:ed. Patch from Fabrice.Bellet@imag.fr.
19380         * app/diagram.c:
19381         Don't have the <Display> etc part of the menu strings
19382         i18n:ed. Patch from Fabrice.Bellet@imag.fr.
19383         Don't remove is_empty() objects, that don't work with undo.
19385         * lib/objchange.[ch]:
19386         New files.
19387         Definition of ObjectChange. This is essentially an Change
19388         exported to the object libs. It encapsulates a change made
19389         to an objects internals. It can be applied, reverted and freed.
19390         There are also utility functions for doing ObjectChanges that
19391         only get/set the whole state of an object to store the change.
19392         This cannot be used when the object change deletes or adds a
19393         object which has references from other objects, eg. Handles which
19394         might be connected.
19396         * lib/Makefile.am:
19397         Added objchange.c and objchange.h.
19399         * lib/dia_image.c:
19400         Return NULL when loading fails.
19402         * lib/diamenu.h:
19403         Menu callbacks return an ObjectChange.
19405         * lib/dummy_dep.h:
19406         Reference objchange.o
19408         * lib/focus.h:
19409         Key events return ObjectChange if they modify the object.
19411         
19412         * lib/object.h:
19413         Added object_add_handle_at() function.
19414         Apply properties returns an ObjectChange.
19415         Remove ObjectState and the get/set state functions, these
19416         don't always work. Use the new ObjectChange instead.
19417         
19418         * lib/object.c:
19419         Added object_add_handle_at() function implementation.
19420         
19421         * lib/orth_conn.[ch]:
19422         Use ObjectChange. Not finished yet.
19423         Removed get/set/free state functions
19425         * lib/poly_conn.[ch]:
19426         Use ObjectChange.
19427         Don't remove segments that are small.
19428         Removed get/set/free state functions
19430         * lib/text.[ch]:
19431         Use ObjectChange.
19432         Added functions to get/set all text attributes.
19434         * objects/standard/arc.c:
19435         * objects/standard/box.c:
19436         * objects/standard/ellipse.c:
19437         * objects/standard/image.c:
19438         * objects/standard/line.c:
19439         * objects/standard/polyline.c:
19440         * objects/standard/textobj.c:
19441         * objects/standard/zigzagline.c:
19442         Use ObjectChange.
19443         fixed bug in image_set_state.
19444         zigzagline.c not finished yet.
19446         * app/disp_callbacks.c:
19447         Use ObjectChange that are returned from menu callbacks and
19448         key_events for undo.
19450         * app/properties.c:
19451         Use ObjectChange that are returned from properties apply
19452         for undo.
19454         * app/undo.c:
19455         * app/undo.h:
19456         New undo type: ObjectChangeChange. This wraps a change to the
19457         internals of an object (and ObjectChange) in code that does
19458         app specific stuff (object_add_updates etc.)
19460 1999-07-11  Alexander Larsson  <alla@lysator.liu.se>
19462         * lib/orth_conn.[ch]:
19463         Added code for add/delete segment.
19465         * objects/standard/zigzagline.c:
19466         Use the new orth_conn code.
19467         
19469 1999-07-08  Fredrik Hallenberg  <hallon@lysator.liu.se>
19471         * objects/FS/Makefile.am
19472         Removed fs.h from sources.
19474         * Makefile.am
19475         * dia.1
19476         Added man page.
19478 1999-07-07  Alexander Larsson  <alla@lysator.liu.se>
19480         * app/disp_callbacks.c (ddisplay_canvas_events):
19481         Fix for bug. Every other arrow-key press got lost.
19482         patch from Mr. Data Esq. <data@r47h102.res.gatech.edu>
19484         * INSTALL:
19485         change automake.sh to autogen.sh
19486         
19487 1999-06-24  Alexander Larsson  <alla@lysator.liu.se>
19489         * app/diagram.c:
19490         Don't remove 'empty' objects.
19491         This violent destruction of objects won't work
19492         with the new undo framework.
19494         * app/disp_callbacks.c:
19495         Save undo info for object menu calls and key_events.
19497         * app/properties.c:
19498         Save undo info on properties apply.
19500         * lib/dia_image.[ch]:
19501         Add refcounting for images.
19503         * app/render_eps.c:
19504         * app/render_gdk.c:
19505         * lib/render.h:
19506         DiaImage * -> DiaImage
19508         * app/undo.[ch]:
19509         Add undo functions for object state changes.
19511         * lib/focus.h:
19512         * lib/text.c:
19513         change of semntics for focus->key_event.
19514         Now returns TRUE if the object recieving the event
19515         was changed.
19517         * lib/object.h:
19518         Comment changes.
19520         * lib/orth_conn.[ch]:
19521         Don't automatically create and delete segments when
19522         handles are moved. This is incompatible with undo.
19523         Added state get, set and free functions.
19525         * lib/orth_conn.[ch]:
19526         Added state get, set and free functions.
19528         * objects/UML/object.c:
19529         * objects/UML/uml.c:
19530         Fixed typo "UML - Objet" -> "UML - Object".
19531         Saved old for backwards compatibility.
19533         * objects/standard/arc.c:
19534         * objects/standard/box.c:
19535         * objects/standard/ellipse.c:
19536         * objects/standard/image.c:
19537         * objects/standard/line.c:
19538         * objects/standard/polyline.c:
19539         * objects/standard/textobj.c:
19540         * objects/standard/zigzagline.c:
19541         Added get/set state functions.
19542         Textobj has a redo crash-bug.
19543         Zigzagline needs object menus to add segments.
19544         
19546 1999-06-20  Alexander Larsson  <alla@lysator.liu.se>
19548         * app/render_eps.c (set_dashlength):
19549         Don't generate eps files with zero dash-length.
19551 1999-06-16  Alexander Larsson  <alla@lysator.liu.se>
19553         * app/commands.c:
19554         * app/create_object.c:
19555         * app/undo.[ch]:
19556         Finished undo for create and paste.
19557         
19558         * lib/object.h:
19559         Started properties undo.
19561 1999-06-14  Alexander Larsson  <alla@lysator.liu.se>
19563         * TODO:
19564         Added resizeable groups.
19566         * app/app_procs.c:
19567         Removed unused variable.
19569         * app/commands.c:
19570         * app/undo.[ch]:
19571         Undo/redo for cut/delete done.
19573         * app/create_object.c:
19574         * app/modify_tool.c:
19575         * lib/diagramdata.[ch]:
19576         * app/diagram.[ch]:
19577         renamed diagram_add_selected -> diagram_select
19578         renamed diagram_remove_selected -> diagram_unselect
19579         
19580         * app/properties.[ch]:
19581         Added properties_hide_if_shown() function.
19583 1999-06-13  Alexander Larsson  <alla@lysator.liu.se>
19585         * app/undo.[ch]:
19586         * app/Makefile.am:
19587         Undo functions.
19588         
19589         * app/commands.[ch]
19590         * app/modify_tool.[ch]
19591         * app/object_ops.[ch]
19592         * app/connectionpoint_ops.c
19593         * app/menus.c
19594         Use undo functions.
19595         WARNING: Not finished. Will break.
19596         Finished: move object, move handle.
19598         * app/diagram.[ch]
19599         Added diagram_selected_break_external() function.
19600         It removes all connections between selected objects
19601         and non-selected.
19602         Add undo stack to Diagram.
19603         
19604         * lib/diagramdata.[ch]
19605         Added layer_remove_objects() function
19606         
19607 1999-06-11  Fredrik Hallenberg  <hallon@lysator.liu.se>
19609         * objects/FS/Makefile.am
19610         * objects/sybase/Makefile.am
19611         Now uses GNOME_CFLAGS.
19613         * app/app_procs.c
19614         Now compiles with GNOME even if popt.h isn't available.
19616 1999-06-10  Alexander Larsson  <alla@lysator.liu.se>
19618         * configure.in
19619         * objects/Makefile.am
19620         * objects/sybase/*
19621         First version of sybase objects from
19622         Brian Bruns <camber@umcc.ais.org>
19624 1999-06-10  Fredrik Hallenberg  <hallon@lysator.liu.se>
19626         * configure.in
19627         Added fr to ALL_LINGUAS
19629 1999-06-09  Fredrik Hallenberg  <hallon@lysator.liu.se>
19631         * configure.in
19632         * app/app_procs.c
19633         Popt-code is activated if popt is available.
19635 1999-06-08  Alexander Larsson  <alla@lysator.liu.se>
19637         This is a patch from David Thompson <dcthomp@mail.utexas.edu>
19638         
19639         * lib/orth_conn.[ch]:
19640         Added orthconn_get_middle_handle()
19642         * lib/text.[ch]:
19643         Added text_set_cursor_at_end()
19644         
19645         * objects/FS/*
19646         Added first version of functions structure diagrams.
19647         
19648 1999-05-24  Alexander Larsson  <alla@lysator.liu.se>
19650         * app/modify_tool.c:
19651         Include math.h to remove warning.
19653         * app/commands.c (dialogs_properties_callback):
19654         Bring up correct properties dialog when selected
19655         from menu.
19656         From Dan Cohn <dan@internap.com>
19658 1999-05-20  Alexander Larsson  <alla@lysator.liu.se>
19660         Patch from Lars R. Clausen 
19661         
19662         * app/modify_tool.c:
19663         Changed abs to fabs.
19665 1999-05-19  Alexander Larsson  <alla@lysator.liu.se>
19667         * INSTALL: 
19668         * configure.in:
19669         Require Gtk+ 1.2.0
19671 1999-05-18  Alexander Larsson  <alla@lysator.liu.se>
19673         Patches from Dan Cohn <dan@internap.com>
19674         
19675         * app/commands.[ch]: 
19676         * app/display.[ch]: 
19677         * app/menus.c:
19678         * app/preferences.[ch]:
19679         Implements ability to turn on/off connection points in
19680         current drawing and in global prefs.
19682 1999-05-18  Alexander Larsson  <alla@lysator.liu.se>
19684         * lib/widgets.c (dia_line_style_selector_init): 
19685         Fixed warnings.
19686         
19687         * lib/diagramdata.c (layer_update_extents):
19688         Fixed uninitialized variable error.
19690 1999-05-17  Alexander Larsson  <alla@lysator.liu.se>
19692         * lib/dia_image.c:
19693         Made some changes to the gdk_imlib visual+colormap setup.
19695 1999-05-17  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
19697         * objects/UML/usecase.c: 
19698        * objects/UML/lifeline.c
19699         Fine tunning.
19701         * objects/UML/object.c: 
19702         * objects/UML/message.c: 
19703         Changed font from Courier to Helvetica.
19705         * lib/widgets.c: 
19706         * lib/widgets.h:
19707         Added dash lenth to the LineStyle widget.
19708         
19709         * objects/standard/ellipse.c :
19710         * objects/standard/zigzagline.c: 
19711         * objects/standard/line.c: 
19712         Added dash lenght property.
19714 1999-05-16  Alexander Larsson  <alla@lysator.liu.se>
19716         * app/render_eps.c:
19717         First shot at latin1 encoded eps files.
19718         Works, but the eps files get a bit large.
19719         
19720 1999-05-16  Alexander Larsson  <alla@lysator.liu.se>
19722         * objects/UML/class.[ch]: 
19723         * objects/UML/uml.[ch]:
19724         Reverted the line wrap changes.
19725         Some day this might return, but it has to be selectable and
19726         default to off for loaded objects, otherwise it breaks file
19727         format compatibility.
19728         There was also some complains about how it looked, so a making it
19729         selectable is good for this too.
19731 1999-05-15  Alexander Larsson  <alla@lysator.liu.se>
19733         * objects/UML/class.[ch]:
19734         Some indentation cleanup.
19735         Added wrap_lines variable to class.
19736         I'll fix the line break stuff tomorrow.
19738 1999-05-13  Alexander Larsson  <alla@lysator.liu.se>
19740         * lib/dummy_dep.h:
19741         Added ref to poly_conn.o.
19743         * objects/standard/polyline.c (polyline_draw): 
19744         * objects/standard/zigzagline.c (zigzagline_draw): 
19745         * objects/standard/arc.c (arc_draw): 
19746         * objects/standard/line.c (line_draw):
19747         Draw lines before arrows. This makes hollow arrows not
19748         show the line.
19750 1999-05-13  Alexander Larsson  <alla@lysator.liu.se>
19752         Changes from Kim Peasley <kpeasley@ior.com> 
19753                 
19754         * objects/UML/class.c:
19755         Break lines with long operations so classes won't be
19756         so wide.
19758         * objects/UML/uml.[ch]:
19759         Helperfunctions for the above.
19760         
19761         * objects/UML/objects.c:
19762         Fix bug that duplicated the text in the attributes
19763         textwidget each time the object was selected.
19764         
19765 1999-05-12  Alexander Larsson  <alla@lysator.liu.se>
19767         Changes from Lars R. Clausen <lrclause@cs.uiuc.edu>
19768         
19769         * app/modify_tool.c:
19770         * app/modify_tool.h:
19771         Control-drag is restricted to vertical/horizontal movement
19772         
19773         * lib/object.h:
19774         ModifierKeys argument added to object_move_handle
19776         * app/connectionpoint_ops.c:
19777         * app/create_object.c:
19778         * app/object_ops.c:
19779         * objects/ER/attribute.c:
19780         * objects/ER/entity.c:
19781         * objects/ER/participation.c:
19782         * objects/ER/relationship.c:
19783         * objects/UML/actor.c:
19784         * objects/UML/association.c:
19785         * objects/UML/class.c:
19786         * objects/UML/classicon.c:
19787         * objects/UML/component.c:
19788         * objects/UML/constraint.c:
19789         * objects/UML/dependency.c:
19790         * objects/UML/generalization.c:
19791         * objects/UML/implements.c:
19792         * objects/UML/large_package.c:
19793         * objects/UML/lifeline.c:
19794         * objects/UML/message.c:
19795         * objects/UML/note.c:
19796         * objects/UML/object.c:
19797         * objects/UML/realizes.c:
19798         * objects/UML/small_package.c:
19799         * objects/UML/state.c:
19800         * objects/UML/usecase.c:
19801         * objects/network/bus.c:
19802         * objects/standard/arc.c:
19803         * objects/standard/box.c:
19804         * objects/standard/ellipse.c:
19805         * objects/standard/image.c:
19806         * objects/standard/line.c:
19807         * objects/standard/polyline.c:
19808         * objects/standard/textobj.c:
19809         * objects/standard/zigzagline.c:
19810         Changed calls to move_handle to pass the new argument.
19811         
19812         * lib/widgets.c:
19813         * lib/widgets.h:
19814         Default line width, color etc #define'd
19815         
19816         * po/da.po:
19817         Updates of danish menus
19819 1999-05-08  Fredrik Hallenberg  <hallon@lysator.liu.se>
19821         * dia.xpm
19822         * dia_gnome_icon.png
19823         * dia_gnome_menu_icon.png
19824         * dia_logo.png
19825         Graphics by Toussaint Frédéric <ftoussin@club-internet.fr>.
19827         * app/commands.c
19828         About dialog shows dia_logo.png. Removed the GNOME about dialog.
19830         * Makefile.am
19831         Distribute the icons and install logo in pkgdatadir.
19832         
19833         * app/Makefile.am
19834         Added DATADIR-define.
19835         
19836 1999-04-28  Alexander Larsson  <alla@lysator.liu.se>
19837         Patches from Enrico Scholz <enrico.scholz@wirtschaft.tu-chemnitz.de>
19839         * dia.spec:
19840         Updated version number, made setup quiet, can build from cvs,
19841         --enable-gnome, now using automake 1.4 DESTDIR feature, install-strip
19843         * lib/Makefile.am
19844         * objects/ER/Makefile.am
19845         * objects/UML/Makefile.am
19846         * objects/network/Makefile.am
19847         * objects/standard/Makefile.am
19848         now builds better with gnome
19850         * objects/UML/class_dialog.c
19851         Fixed typo -> po files must be updated too!!
19852         
19853 1999-04-28  Alexander Larsson  <alla@lysator.liu.se>
19855         * lib/dummy_dep.h:
19856         Added reference so that widgets.o gets linked to the app.
19858 1999-04-23  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
19860         * objects/UML/classicon.c: 
19861         Added object mode.
19863         * objects/UML/actor.c: 
19864         Changed position of 'snap-to-grid' so connection points are
19865         in the grid.
19867 1999-04-22  Alexander Larsson  <alla@lysator.liu.se>
19869         * objects/UML/classicon.c:
19870         Changed position of 'snap-to-grid'.
19871         By Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
19872         
19873 1999-04-22  Alexander Larsson  <alla@lysator.liu.se>
19875         * objects/network/antenna.c
19876         * objects/network/flash.c
19877         * objects/network/hub.c
19878         * objects/network/modem.c
19879         * objects/network/modularswitch.c
19880         * objects/network/rj45plug.c
19881         * objects/network/scead-plug.c
19882         * objects/network/network.c
19883         * objects/network/Makefile.am
19884         * objects/network/pixmaps/antenna.xpm
19885         * objects/network/pixmaps/flash.xpm
19886         * objects/network/pixmaps/hub.xpm
19887         * objects/network/pixmaps/modem.xpm
19888         * objects/network/pixmaps/modularswitch.xpm
19889         * objects/network/pixmaps/rj45plug.xpm
19890         * objects/network/pixmaps/sceadplug.xpm
19891         * objects/network/pixmaps/Makefile.am
19892         Lots of new network objects from
19893         Roland Steinbach <roland@support-system.com>.
19895 1999-04-15  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
19897         * objects/UML/classicon.c: 
19898         Fixed connection positions, saved type as int (it has 3 states),
19899         and other small fixes.
19900         
19901 1999-04-14  Alexander Larsson  <alla@lysator.liu.se>
19903         * app/preferences.c:
19904         * app/load_save.c:
19905         Added preference compress_save. It lets dia save uncompressed
19906         xml files.
19908         * objects/UML/class.c:
19909         Fixed bug with size calculation on methods that had class scope.
19910         
19911 1999-04-13  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
19913         * objects/UML/usecase.c: 
19914         Added collaboration mode
19915         Fixed connection points with text > ellipse bug and other 
19916         small things
19918         * objects/UML/state.c:
19919         Fixed bug of bad position of text after being either end
19920         or begin, moved and returned to text
19922 1999-04-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
19924         * app/preferences.c: Add prototype declaration for prefs_apply.
19926 1999-04-11  Alexander Larsson  <alla@lysator.liu.se>
19928         * app/preferences.c:
19929         Added 'ok' button.
19930         Apply don't hide window.
19932         * app/properties.c:
19933         Add 'ok' button.
19935         * objects/UML/object.c:
19936         * objdcts/UML/state.c:
19937         Some data was not copied on copy.
19939         This patch is from
19940         Ben Hochstedler <benh@eeyore.moneng.mei.com>
19942 1999-04-09  Alexander Larsson  <alla@lysator.liu.se>
19944         * app/Makefile.am:
19945         Changed link order between X and libxml.
19946         Some people had problems with an old libz in their
19947         x11 directory.  
19949 1999-04-09  Kjartan Maraas  <kmaraas@online.no>
19951         * po/no.po: updated translation.
19952         
19953 1999-04-08  Lars R. Clausen <lrclause@cs.uiuc.edu>
19955         * lib/message.c (message_error):
19956         Fixed small error.
19958         * app/commands.[ch]:
19959         * app/diagram.[ch]:
19960         Added begining of xfig importing
19962 1999-04-08  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
19964         * objects/UML/pixmaps/state.xpm: 
19965         * objects/UML/state.c: 
19966         New UML object state machine.
19968         * objects/UML/uml.c:
19969         * objects/UML/Makefile.am:
19970         * objects/UML/pixmaps/Makefile.am:
19971         Added the state object.
19972         
19973 1999-04-08  Alejandro Aguilar Sierra  <ale@bucefalo>
19975         * objects/UML/usecase.c: 
19976         Added dialog to allow move text outside the ellipse.
19978 1999-04-08  Alexander Larsson  <alla@lysator.liu.se>
19980         * Released Dia 0.41
19981         Tag called DIA_0_41
19983         * NEWS:
19984         Updates for 0.41.
19985         
19986 1999-04-08  Alexander Larsson  <alla@lysator.liu.se>
19988         * configure.in:
19989         Updated version number to 0.41
19991         * po/*.po:
19992         Update po-files
19994 1999-04-04  Fredrik Hallenberg  <hallon@lysator.liu.se>
19996         * app/app_procs.c
19997         Changed errormessage for --export-to-ps. Removed call to 
19998         g_log_set_always_fatal().
20000         * app/diagram.c
20001         * app/disp_callbacks.c
20002         * app/load_save.c
20003         (i18n) Removed gettext from some debugmessages.
20005         * app/menus.c
20006         Small fix in GNOME-menus. Added warning that will help track
20007         problems with translations.
20009         * po/sv.po
20010         (i18n) Updated swedish translation.
20012 1999-04-02  Alexander Larsson  <alla@lysator.liu.se>
20014         * po/da.po:
20015         New updates
20017 1999-04-01  Alexander Larsson  <alla@lysator.liu.se>
20019         * po/da.po:
20020         * po/no.po:
20021         Some fixes.
20022         
20023 1999-04-01  Alexander Larsson  <alla@lysator.liu.se>
20025         * po/da.po:
20026         (i18n) Updated the danish translation.
20027         From Lars R. Clausen.
20029 1999-04-01  Fredrik Hallenberg  <hallon@lysator.liu.se>
20031         * app/menus.c
20032         (i18n) The popup menu is translated now.
20034         * po/sv.po
20035         (i18n) Updated swedish translation.
20037 1999-03-29  Alexander Larsson  <alla@lysator.liu.se>
20039         * Released Dia 0.40
20040         Tag called DIA_0_40
20042         * NEWS:
20043         Updated for new release
20044         
20045 1999-03-29  Alexander Larsson  <alla@lysator.liu.se>
20047         * objects/network/bus.c:
20048         Added initialization of properties dialog to NULL.
20050         * app/commands.c (edit_cut_callback):
20051         Update menu sensitivity when cut object.
20053         * app/modify_tool.c (click_select_object):
20054         * app/modify_tool.c (modify_button_release): 
20055         Call diagram_update_menu_sensitivity() when
20056         selecting objects to update stuff that depends
20057         on selected/not selected.
20059 1999-03-29  Alexander Larsson  <alla@lysator.liu.se>
20061         * Makefile.am:
20062         Change order of subdir so that libintl.a builds.
20063         Now passed make distcheck.
20065 1999-03-28  Alexander Larsson  <alla@lysator.liu.se>
20067         * lib/font.c (init_x11_font):
20068         Stupid bug fixed.
20070 1999-03-28  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
20072         * objects/UML/pixmaps/classicon.xpm: 
20073         * objects/UML/classicon.c:
20074         * objects/UML/uml.c:
20075         Added the class stereotype icon objects.
20077         * app/commands.c:
20078         Changed default ps extension from .ps to .eps.
20079         
20080 1999-03-28  Alexander Larsson  <alla@lysator.liu.se>
20082         * lib/Makefile.am:
20083         Added diamenu.h and intl.h
20085         * lib/font.c:
20086         Stupid typo fix.
20087         
20088         * objects/UML/pixmaps/Makefile.am:
20089         Added message.xpm
20091         * objects/standard/pixmaps/Makefile.am:
20092         Added image.xpm
20094 1999-03-28  Alexander Larsson  <alla@lysator.liu.se>
20096         * lib/font.c:
20097         Use a scalable font before fixed when real font not found.
20099         * app/commands.c:
20100         Removed warning.
20102         * objects/standard/image.c:
20103         Better handling of loading/saving of images.
20105         * INSTALL:
20106         Added some text about cvs, fonts and rewrote some parts.
20108         * TODO:
20109         Updated with new stuff.
20110         
20111         * configure.in:
20112         Bump up version number to 0.40.
20113         
20114 1999-03-28  Alexander Larsson  <alla@lysator.liu.se>
20116         * app/display.c:
20117         Moved diagram_add_ddisplay() call into new_display().
20118         Fixed new_display to not use uninitialized variables
20119         causing loaded files to show up as black (or garbage).
20120         
20121         * app/commands.c:
20122         * app/app_procs.c:
20123         Removed unneeded calls to diagram_add_ddisplay().
20124         
20125 1999-03-28  Alexander Larsson  <alla@lysator.liu.se>
20127         * objects/UML/lifeline.c:
20128         Fixed bug in copy.
20129         Patch from Andreas Jaeger <aj@arthur.rhein-neckar.de>.
20131         * objects/UML/message.c:
20132         Fixed bug loading messages with null-text.
20133         Patch from Andreas Jaeger <aj@arthur.rhein-neckar.de>.
20135 1999-03-27  Fredrik Hallenberg  <hallon@lysator.liu.se>
20137         * po/sv.po
20138         Updated swedish translation.
20140         * app/menus.c
20141         (GNOME) Removed help-browser from help menu. Fixed typo.
20143         * app/interface.c
20144         (GNOME) Accelerators in diagrams should work now. 
20146 1999-03-25  Fredrik Hallenberg  <hallon@lysator.liu.se>
20148         * app/app_procs.c
20149         * app/commands.c
20150         * app/defaults.c
20151         * app/disp_callbacks.c
20152         * app/display.c
20153         * app/interface.c
20154         * app/menus.c
20155         * app/preferences.c
20156         * app/render_eps.c
20157         * lib/diagramdata.c
20158         * lib/font.c
20159         * lib/message.c
20160         * lib/widgets.c
20161         * objects/ER/*.c
20162         * objects/UML/*.c
20163         * objects/network/*.c
20164         * objects/standard/*.c
20165         * po/update_pofiles_in.sh
20166         * po/POFILES.in
20167         More i18n. All strings (expect rare debug messages) can be
20168         translated now. Moved intl.h from app to lib. Updated
20169         update_pofiles_in.sh to check all .c-files.
20171 1999-03-23  Alexander Larsson  <alla@lysator.liu.se>
20173         * app/disp_callbacks.c (ddisplay_canvas_events):
20174         Don't drop keys while num-lock, scroll-lock etc is on.
20176 1999-03-22  Alexander Larsson  <alla@lysator.liu.se>
20178         * app/render_eps.c (draw_image):
20179         Fixed exporting of images.
20180         Still not perfect, but not outright buggy.
20181         
20182 1999-03-22  Alexander Larsson  <alla@lysator.liu.se>
20184         * configure.in:
20185         * po/hu.po:
20186         Added hungarian translation. By Shooby Ban <bansz@szif.hu>.
20188         * app/Makefile.am:
20189         Added $* to the dia call in run_dia.sh
20191 1999-03-22  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
20192         
20193         * lib/color.[ch]:
20194         Added color_equals() call.
20196         * objects/standard/arc.c:
20197         * objects/standard/line.c:
20198         Don't save unneccesary data.
20199         
20200         * objects/standard/box.c:
20201         * objects/standard/ellipse.c:
20202         * objects/standard/image.c:
20203         * objects/standard/polyline.c:
20204         * objects/standard/zigzagline.c:
20205         Share properties dialog.
20206         Don't save unneccesary data.
20207         
20208 1999-03-22  Seth Alves  <alves@hungry.com>
20210         * app/menus.c:
20211         * app/diagram.c:
20212         * app/display.c:
20213         small changes so that gnome menus aren't broken
20214         
20215 1999-03-22  Alexander Larsson  <alla@lysator.liu.se>
20217         * po/da.po:
20218         Added danish translation from lrclause@cs.uiuc.edu.
20220         * po/POFILES.in:
20221         Updated file.
20223         * po/update_pofiles_in.sh:
20224         Added script that updates POFILES.in.
20225         This should probably be run automatically from somewhere.
20227 1999-03-19  Alexander Larsson  <alla@lysator.liu.se>
20229         * app/diagram.[ch]:
20230         Added function diagram_update_menu_sensitivity() which
20231         sets the sensitivity of some menu items. This function
20232         is called at each diagram state change (from diagram_modified()).
20233         This is needed  because otherwise the keyboard accelerators
20234         don't work correctly.
20236         * app/display.[ch]:
20237         Changed display_set_menu_sensitivity() to display_update_menu_state().
20238         Moved lots of code to diagram_update_menu_sensitivity() in
20239         diagram.c. Optimized to only look up menu-items from path:s once.
20240         
20241         * app/disp_callbacks.c:
20242         * app/interface.c:
20243         When we get a GDK_FOCUS_CHANGE, update menu sensitivity.
20244         Need to set GDK_FOCUS_CHANGE_MASK.
20245         
20246         * app/create_object.c:
20247         Call diagram_modified when an object has been created and
20248         selected so that the menu sensitivity is updated. 
20250         * app/menus.[ch]:
20251         removed menus_set_sensitive() and menus_set_state(). Exported
20252         renamed function menus_get_item_from_path().
20254 1999-03-15  Alexander Larsson  <alla@lysator.liu.se>
20256         * app/disp_callbacks.c:
20257         Show (empty) object menus on object that has none.
20258         Show title on object menus.
20260         * app/display.c:
20261         Set zoom factor correctly when opening new displays.
20262         Better setting of scrollbars.
20264         * app/grid.c:
20265         * app/menus.h:
20266         Some reformating cleanup.
20268         * lib/diamenu.h:
20269         Added title to object menus.
20271         * objects/*/*.c:
20272         Added object menu method (NULL-valued) to all objects.
20274         * objects/standard/polyline.c:
20275         Added title to object menu.
20277 1999-03-14  Alexander Larsson  <alla@lysator.liu.se>
20279         * app/preferences.[ch]:
20280         New files. Implements the preferences dialog and
20281         loading/saving of ~/.diarc.
20283         * app/Makefile.am:
20284         Added preferences.[ch].
20286         * app/app_procs.c:
20287         Load preferences on startup.
20289         * app/commands.[ch]:
20290         Added file_preferences_callback to show the preferences dialog.
20292         * app/create_object.c:
20293         Update extents when creating object.
20294         Use the reset_tools_after_create preferences setting.
20296         * app/display.c:
20297         Use preferences when creating new display.
20299         * app/menus.c:
20300         Add preferences to menu.
20302         * app/defaults.c:
20303         * app/layer_dialog.c:
20304         * app/properties.c:
20305         Don't allow shrinking of dialog.
20306         Add i18n of some strings.
20308 1999-03-11  Kjartan Maraas  <kmaraas@fib.hl.no>
20309         * po/no.po:
20310         Norwegian translation added.
20311         
20312 1999-03-11  Alexander Larsson  <alla@lysator.liu.se>
20314         * objects/standard/line.c: 
20315         * objects/standard/arc.c: 
20316         * objects/standard/polyline.c: 
20317         * objects/standard/zigzagline.c:
20318         Loading of arrow data fixed.
20320 1999-03-09  Alexander Larsson  <alla@lysator.liu.se>
20322         * app/commands.c:
20323         Update extents when saving and exporting to postscript.
20324         Fixes a bug with postscript bounding-box being wrong.
20326         * app/defaults.c:
20327         Changed border width from 5 to 2.
20329         * app/group.c:
20330         Move grouped objects by the move-point of the first object.
20331         Fixes bug that made all objects in the group be off-grid
20332         when moving the group, even though all objects was on-grid.
20334         * app/layer_dialog.c:
20335         Update extents when changing layer.
20337 1999-03-08  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
20339        * objects/UML/uml.c: 
20340        * objects/UML/component.c: 
20341        * objects/UML/pixmaps/component.xpm: 
20342        Added the UML component object
20343         
20344 1999-03-04  Seth Alves  <alves@hungry.com>
20346         * objects/UML/generalization.c (generalization_create): avoid
20347         math on uninitialized genlz->text_width (NaN causes sigfpe)
20348         
20349         * objects/UML/realizes.c (realizes_create): same
20351         * objects/UML/dependency.c (dependency_create): same
20353 1999-03-01  Seth Alves  <alves@hungry.com>
20355         * app/display.c (ddisplay_active): don't fly a warning panel
20356         if ddisplay_active is called when no views are open.
20358         * app/commands.c (set_default_file_selection_directory): set
20359         file selector's default directory if there is already
20360         a document open.
20362 1999-02-28  Alexander Larsson  <alla@lysator.liu.se>
20364         * INSTALL:
20365         New info about imlib requirements.
20367         * Configure.in:
20368         Added lib/pixmaps/Makefile to created makefiles.
20370         * app/app_procs.c:
20371         * app/commands.c:
20372         Change from obsoleted to newer gtk calls.
20373         
20374         * load_save.c:
20375         Pass filename of the diagram when loading and saving.
20376         This creates better oportunities to handle filename saving.
20378         * lib/object.h:
20379         Pass filenames to load and save methods.
20380         
20381         * lib/dia_image.[ch]:
20382         Added dia_image_get_broken() call that returns a image which
20383         is used for 'broken' images.
20384         
20385         * lib/pixmaps/.cvsignore:
20386         * lib/pixmaps/Makefile.am:
20387         * lib/pixmaps/broken.xpm:
20388         New files for the broken image bitmap.
20390         * lib/widgets.c:
20391         Fixed bug with double destroyed filedialog.
20393         * objects/*/*.c:
20394         Updated load and save prototypes to use the new filename argument.
20396         * objects/image.c:
20397         Render broken image instead of line when got no image.
20398         Use the new filename in load and save to save (if possible)
20399         relative pathnames and to better try to find loaded images.
20401 1999-02-28  Alexander Larsson  <alla@lysator.liu.se>
20403         * TODO:
20404         Some updates to the todo file.
20405         
20406         * app/menus.c:
20407         * app/display.c:
20408         Place over/place over => sent to back/bring to front.
20409         Added some keyboard shortcuts to menus.
20410         
20411 1999-02-28  Alexander Larsson  <alla@lysator.liu.se>
20413         * lib/dia_xml.c:
20414         Changed string saving/loading to a new method. This should
20415         be much better att handling &,<,> and whitespaces.
20416         Loading strings of the old kind is still supported for backwards
20417         compatibility.
20419         * samples/ER-demo.dia:
20420         * samples/UML-demo.dia:
20421         Updated to use the new strings.
20422         
20423         * app/load_save.c:
20424         statusbar modified update fix.
20426 1999-02-27  Seth Alves  <alves@hungry.com>
20428         * app/app_procs.c (app_init): added a --export-to-ps option
20429         which will cause dia to load a dia file and save it as ps
20430         and then exit.  this is a little bogus, because it still
20431         pops up a window.  this option only shows up if --enable-gnome
20432         is used
20434         * app/display.c (display_set_menu_sensitivity): no Edit/Delete
20435         menu when built with --enable-gnome
20437         * app/interface.c (create_display_shell): build status bar
20438         even if --enable-gnome is used
20440         * app/menus.c: menu fixes for --enable-gnome
20442         * app/commands.c (file_open_dialog_ok_callback): fixed up
20443         menus when --enable-gnome is used
20444         (file_export_to_eps_callback): set a default file name
20445         when dialog is created
20447 1999-02-27  Alexander Larsson  <alex@c125.ryd.student.liu.se>
20449         * objects/UML/association.c (association_create):
20450         Fixed usage of not initialized variable.
20451         Pointed out by Seth Alves <alves@hungry.com>.
20453 1999-02-24  Alexander Larsson  <alex@c125.ryd.student.liu.se>
20455         * configure.in:
20456         Fixed detection of gnome-xml.
20457         From Valtteri Vuorikoski <vuori@k.notcom.org>.
20458         
20459         * app/app_procs.c:
20460         Fixed error detection on dlsym calls. 
20461         From Valtteri Vuorikoski <vuori@k.notcom.org>.
20463 1999-02-23  Alexander Larsson  <alla@lysator.liu.se>
20465         * objects/UML/message.c (fill_in_dialog):
20466         Fixed warnings.
20468 1999-02-22  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
20470         * objects/standard/zigzagline.c:
20471         * objects/standard/polyline.c:
20472         * objects/standard/line.c:
20473         * objects/standard/arc.c:
20474         * lib/widgets.h:
20475         * lib/arrows.h:
20476         * lib/widgets.c:
20477         Support for sizeable arrows. 
20479         * objects/standard/box.c:
20480         * objects/standard/ellipse.c:
20481         * objects/standard/image.c:
20482         Changed creation handle to lower-right.
20483         Transparent box/ellipse.
20484         
20485         * objects/standard/image.c:
20486         Better layout of properties boxes.
20488 1999-02-20  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
20490         * objects/UML/message.c (fill_in_dialog): 
20491         Fixed dialog fill in. Common dialog for all messages.
20493         * objects/UML/object.c: 
20494         Added multiple instance. Dialog related bugs fixed.
20495         Common dialog for all instances. Completed copy and destroy.
20497         * objects/UML/lifeline.c (lifeline_load): 
20498         Conn initialization bug fixed and few bad loading prevention flags.
20499         Common dialog for all lifeline objects.
20500         
20501 1999-02-15  Alexander Larsson  <alla@lysator.liu.se>
20503         * lib/dia_image.[ch]:
20504         More work on the DiaImage abstraction.
20505         
20506         * app/app_procs.c:
20507         * app/render_eps.c:
20508         * app/render_gdk.c:
20509         * objects/standard/image.c:
20510         Use the new DiaImage calls.
20512 1999-02-15  Alexander Larsson  <alla@lysator.liu.se>
20514         * app/menus.c:
20515         * app/display.c:
20516         Reversed the meaning of align horizontal/vertical.
20518 1999-02-15  Alexander Larsson  <alla@lysator.liu.se>
20520         * app/load_save.c (diagram_load):
20521         Statusbar update fix.
20523 1999-02-15  Alexander Larsson  <alla@lysator.liu.se>
20525         * app/interface.c (create_display_shell):
20526         Fixed status bar size.
20527         
20528 1999-02-15  Alexander Larsson  <alla@lysator.liu.se>
20530         * lib/dia_image.[ch]:
20531         Added extern declaration for dia_image_release.
20532         Removed dia_image_draw, as it's not neseccary.
20534 1999-02-14  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
20535         
20536         * app/object_ops.c: 
20537         * app/menus.c: 
20538         Added equal distance alignment both vertical and horizontal.
20539         
20540         * objects/UML/object.c: 
20541         Added a couple of attributes to load/read that were missing.
20543         * objects/UML/lifeline.c: 
20544         Better handling of handles. Fixed another bug I forgot to add
20545         to my last patch.
20546         
20547 1999-02-13  Alexander Larsson  <alla@lysator.liu.se>
20549         Patch from Lars Clausen <lrclause@shasta.cs.uiuc.edu>
20550         
20551         * lib/dia_image.[ch]:
20552         * lib/Makefile.am:
20553         New files. DiaImage wraps the GdkImlibImage.
20555         * lib/render.h:
20556         * app/render_eps.c:
20557         * app/render_gdk.c:
20558         * lib/render_store.[ch]:
20559         * objects/standard/image.c:
20560         Use the new DiaImagetype.
20562         * lib/widgets.c:
20563         Removed unused variable to eliminate  warning.
20565 1999-02-11  Alexander Larsson  <alla@lysator.liu.se>
20567         * objects/standard/box.c:
20568         Added rounded corners on the box object.
20570         * lib/widgets.[ch]:
20571         Updated the DiaFileSelector widget.
20572         
20573 1999-02-09  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
20575         * objects/UML/object.c (objet_draw): 
20576         Completed underlining of all object name lines. 
20578         * objects/UML/message.c (fill_in_dialog): 
20579         Fixed a bug that filled incorrectly the message's dialog.
20581         * objects/UML/lifeline.c (lifeline_load): 
20582         Some cleanning and fixed a couple of bugs that caused
20583         crashes after reading diagrams with lifelines.
20585         * lib/text.c: 
20586         Added flags to prevent crash with void strings
20588 1999-02-07  Matthias Köster <Matthias.Koester@Informatik.Uni-Oldenburg.DE>
20589         * app/display.[ch]:
20590         Added statusbar to the display widget. Currently shows the zoom
20591         factor and modified flag of the viewed diagram. The statusbar is
20592         updated upon calls to ddisplay_zoom and ddisplay_update_statusbar.
20593         This caused the following additions:
20594         
20595         * app/diagram.[ch]:
20596         Added function diagram_set_modified. Calls
20597         ddisplay_update_statusbar for all displays showing the modified diagram.
20598         Changed diagram_modified to call diagram_set_modified.
20599         
20600         * app/interface.c:
20601         Added the creation of the statusbar.
20602         
20603         * app/load_save.c:
20604         diagram_save now calls diagram_set_modified instead of setting
20605         dia->modified. Needed to force call to display_update_statusbar
20606         
20607         * app/commands.c:
20608         Changed the way view_show_all works. Now calls ddisplay_zoom
20609         instead of directly setting the zoom_factor, so the zoom factor is
20610         correctly shown in the statusbar.
20612         * app/magnify.c:
20613         Fixed rubberband zoom to use ddisplay_zoom().
20614         
20615 1999-02-07  Fredrik Hallenberg  <hallon@lysator.liu.se>
20617         * app/app_procs.c
20618         Rudimentary GNOME session management.
20619         
20620         * app/disp_callbacks.c
20621         * app/interface.c
20622         * app/menus.c
20623         * app/menus.h
20624         GNOME menus. Problems: 
20625         Callbacks doesn't get user_data.
20626         Weird warnings when creating popup menus.
20627         menus_set_sensitive(), menus_set_state() doesn't work.
20629 1999-02-05  Lars Clausen  <lrclause@shasta.cs.uiuc.edu>
20631         * configure.in:
20632         Add AM_PATH_GDK_IMLIB() call.
20634         * app/Makefile.am:
20635         Add gdk_imlib to linking flags.
20637         * app/app_procs.c:
20638         Init gdk_imlib.
20639         Print library-loading error messages on stdout too.
20641         * app/interface.c:
20642         Add standard image to toolbox.
20643         
20644         * app/render_eps.c: 
20645         Set a more reasonable dot length.  Fixed
20646         missing initialization of dot length.
20647         Added draw_image methods.
20649         * app/render_gdk.c (new_gdk_renderer): 
20650         Dot a bit wider.  Looks good in normal mode now.
20652         * objects/standard/image.c:
20653         * objects/standard/pixmaps/image.xpm:
20654         New files. Standard object for images.
20655         
20656         * app/render_eps.c (set_linestyle):
20657         * app/render_gdk.c (set_linestyle):
20658         * lib/widgets.c (dia_line_style_selector_init): 
20659         * lib/render.h: 
20660         New line style DOTTED.
20662         * lib/render.h:
20663         * lib/render_store.c:
20664         Change DrawImage call to use gdk_imlib.
20666         * lib/widgets.[ch]:
20667         Added widgets for selecting files.
20668         Added dotted to the linestyle selector.
20670 1999-02-06  Alexander Larsson  <alla@lysator.liu.se>
20672         * objects/network/printer.c:
20673         * objects/network/network.c:
20674         * objects/network/pixmaps/printer.xpm:
20675         * objects/network/.cvsignore:
20676         * objects/network/Makefile.am:
20677         * objects/network/pixmaps/Makefile.am:
20678         New printer object in network.
20679         From Martin Hawlisch <hawlisch@roxi.rz.fh-mannheim.de>
20681         * TODO:
20682         Added known XML bug.
20683         
20684 1999-02-06  Alexander Larsson  <alla@lysator.liu.se>
20686         * app/load_save.c:
20687         * lib/dia_xml.c:
20688         Reverted back from #include <gnome-xml/tree.h> to
20689         #include <tree.h> as this is fixed by the xml-config program.
20690         The former way broke for some people.
20691         Reported by blizzard@redhat.com.
20693         * objects/UML/lifeline.c:
20694         * objects/UML/message.c:
20695         * objects/UML/object.c:
20696         Removed some warnings.
20697         
20698 1999-02-04  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
20700         * objects/UML/lifeline.c: 
20701         Fixed connection points over the life line when the focus of
20702         control is not drawn.
20704         * objects/UML/message.c: 
20705         Now a recursive message can be freely resized using the handles.
20707 1999-02-02  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
20709         * objects/UML/lifeline.c:
20710         Added connection points.
20711         Added properties dialog with the option to draw/hide focus of control
20712         box and destruction mark.
20714         * objects/UML/object.c: 
20715         Added properties dialog and stereotype, explicit state and attributes. 
20716         It's also possible to mark the object as active.
20718         * objects/UML/pixmaps/object.xpm: 
20719         Cosmetic change.
20721         * objects/UML/message.c:
20722         Added "recursive" message type (was not necessary to use OrthConn).
20724 1999-02-02  Alexander Larsson  <alla@lysator.liu.se>
20726         * objects/standard/arc.c:
20727         Removed old debug code. Fixes a visual bug. From lrclause@cs.uiuc.edu.
20729 1999-02-01  Alexander Larsson  <alla@lysator.liu.se>
20731         Patch from Lars R. Clausen <lrclause@cs.uiuc.edu>
20732         
20733         * app/load_save.c:
20734         * lib/dia_xml.c:
20735         Update xml includes to gnome-xml/*.h.
20737         * objects/standard/arc.c:
20738         Only one property dialog per type.
20739         Fix arrows directions.
20741         * objects/standard/box.c:
20742         * objects/standard/ellipse.c:
20743         * objects/standard/textobj.c
20744         Added default properties dialog.
20745         
20747 1999-01-31  Alejandro Aguilar Sierra  <asierra@servidor.unam.mx>
20749         * objects/UML/Makefile.am: 
20750         * objects/UML/uml.c:
20751         * objects/UML/lifeline.c: 
20752         * objects/UML/object.c: 
20753         * objects/UML/message.c:
20754         * objects/UML/pixmaps/lifeline.xpm: 
20755         * objects/UML/pixmaps/object.xpm: 
20756         * objects/UML/pixmaps/message.xpm:
20757         Added 3 new UML objects for dynamic modeling. To avoid internal 
20758         conflicts, the name "objet" is used for object "object".        
20760         * lib/arrows.[ch]: 
20761         Added ARROW_HALF_HEAD arrow type to allow drawing asynchronous
20762         UML messages.
20763         
20764 1999-01-30  Alexander Larsson  <alla@lysator.liu.se>
20766         * app/display.[ch]:
20767         * app/modify_tool.c:
20768         Added autoscrolling while doing rubber-band select.
20769         This patch from Matthias Köster
20770         (Matthias.Koester@Informatik.Uni-Oldenburg.DE)
20771         
20773 1999-01-28  Alexander Larsson  <alla@lysator.liu.se>
20775         * app/defaults.[ch]:
20776         New files, deals with default properties dialog.
20778         * lib/diamenu.h:
20779         New file. Contains definitions for the new object menu.
20781         * lib/poly_conn.[ch]:
20782         New file. Base class for poly-line like objects.
20784         * objects/standard/polyline.c:
20785         * objects/standard/pixmaps/polyline.xpm:
20786         New files. Polyline object.
20788         * app/app_procs.c:
20789         Fixed bug with infinite loop when registering sheets.
20790         
20791         * app/commands.c:
20792         Removed unneccesary stuff.
20794         * app/disp_callbacks.c:
20795         Support for object menus.
20797         * app/interface.c:
20798         Added polyline to toolbox.
20799         Added call to tool_options_dialog_show() when double clicking on
20800         tool.
20802         * app/tool.[ch]:
20803         New function tool_options_dialog_show() for tool properties.
20805         * lib/arrows.[ch]:
20806         Added ARROW_NONE.
20808         * lib/object.h:
20809         Added ObjectType methods for handling object default dialogs.
20810         Added Object method for handling object_menu.
20811         Added unused methods to ObjectTypeOps for future binary
20812         compatibility.
20814         * lib/widgets.[ch]:
20815         Added DiaArrowTypeSelector widget.
20817         * objects/standard/arc.c:
20818         * objects/standard/zigzagline.c:
20819         Added support for default properties.
20821         * objects/standard/line.c:
20822         Added support for default properties.
20823         Just use one properties dialog for all line objects. NOTE: This
20824         seems to have a bug. We're working on it.
20826         * standard/standard.c:
20827         Add the polyline object.
20829 1999-01-27  Alexander Larsson  <alla@lysator.liu.se>
20831         * app/modify_tool.c:
20832         Commented out buggy transitive select function. It wasn't really
20833         meant to go into cvs.
20834         
20836 1999-01-25  Fredrik Hallenberg  <hallon@lysator.liu.se>
20838         * autogen.sh:
20839         * acconfig.h:
20840         * configure.in:
20841         * Makefile.am:
20842         * app/Makefile.am:
20843         * po/POTFILES.in:
20844         * app/intl.h
20845         i18n-support.
20847         * po/sv.po:
20848         Swedish translation. Not completed.
20849         
20850         * configure.in:
20851         * acconfig.h:
20852         Added possibility to enable GNOME specific code with configure.
20854         * configure.in:
20855         Added possibility to set debug level with configure.
20857         * commands.[hc]:
20858         Added about dialog.
20860         * app_procs.c
20861         * commands.c
20862         * interface.c
20863         * menus.c
20864         Added some GNOME specific code. Not ready for use.
20866 1999-01-24  Alexander Larsson  <alla@lysator.liu.se>
20868         * INSTALL:
20869         Added text about needing gtk 1.1.13 and gnome-xml.
20870         
20871         * NEWS:
20872         Described changes since last version (0.20).
20874         Released version 0.30, tagged DIA_0_30.
20876 1999-01-22  Alexander Larsson  <alla@lysator.liu.se>
20878         * app/magnify.c (magnify_button_release):
20879         Fixed a problem when zooming in on a very small box would
20880         not release the grabbed pointer-focus.
20882 1999-01-21  Alexander Larsson  <alla@lysator.liu.se>
20884         * app/load_save.c (diagram_load):
20885         Be somewhat more robust when loading files that
20886         are not diagrams.
20887         
20888 1999-01-21  Alexander Larsson  <alla@lysator.liu.se>
20890         * app/app_procs.c:
20891         * objects/ER/er.c:
20892         * objects/UML/uml.c:
20893         * objects/network/network.c:
20894         * objects/standard/standard.c:
20895         Added versioning of object libraries.
20897         * app/create_object.c:
20898         Don't change tool when an object is created.
20899         
20900         * objects/network/network.c:
20902         * TODO:
20903         Update
20905 1999-01-19  Alexander Larsson  <alla@lysator.liu.se>
20907         * configure.in:
20908         Updated gtk requirement to Gtk+ 1.1.13.
20910         * app/display.c:
20911         Always add one screenful of scrolling space on
20912         each side of a diagram window.
20914 1999-01-19  Jeff Garzik  <jgarzik@pobox.com>
20916         * autogen.sh:
20917         Tell automake to auto-install missing files.
20919         * app/menus.c:
20920         Renamed deprecated Gtk+ function.
20922 1999-01-16  Alexander Larsson  <alla@lysator.liu.se>
20924         * Makefile.am:
20925         * configure.in:
20926         * samples/Makefile.am:
20927         * samples/ER-demo.dia:
20928         * samples/UML-demo.dia:
20929         Added samples directory.
20930         Added samples for ER and UML.
20931         
20932         * app/commands.c:
20933         * app/disp_callbacks.c:
20934         * app/menus.c:
20935         Zoom is done by sqrt(2) instead of 2.
20936         Lots of more zoom options in the menu.
20938         * objects/ER/relationship.c:
20939         Relationships have 8 connectionpoints instead of 4.
20941         * objects/UML/class.c:
20942         UML class name font a bit smaller.
20943         Fixed stupid bug in the copy operation.
20944         
20945         * app/display.c:
20946         Displays are opened at 500x400 instead of 256x256.
20948         * app/load_save.c:
20949         Fixup of internal error message.
20951         * app/color_area.c:
20952         * app/diagram.c:
20953         * app/modify_tool.c:
20954         * lib/object.c:
20955         Removed debug printf's.
20956         
20957         * TODO (BUGS):
20958         Added new known bug.
20960 1999-01-16  Alexander Larsson  <alla@lysator.liu.se>
20962         * app/interface.c:
20963         * app/menus.c:
20964         Fixed so accelerator groups work in all windows.
20965         Updated to new gtk function names.
20967         * TODO (BUGS):
20968         Removed fixed bug.
20970         * app/display.c:
20971         Updated to new gtk function names.
20972         Set sensitivity of the align menu items.        
20974         * objects/ER/pixmaps/Makefile.am:
20975         * objects/UML/pixmaps/Makefile.am:
20976         * objects/network/pixmaps/Makefile.am:
20977         Fix so that make dist works.
20979         * app/app_procs.c:
20980         * app/color_area.c:
20981         * app/commands.c:
20982         * app/diagram.c:
20983         * app/grid.c:
20984         * app/layer_dialog.c:
20985         * app/load_save.c:
20986         * app/object_ops.c:
20987         * app/properties.c:
20988         * lib/diagramdata.[ch]: 
20989         * lib/message.c:
20990         * lib/objects/ER/attribute.c:
20991         * lib/objects/ER/entity.c:
20992         * lib/objects/ER/participation.c:
20993         * lib/objects/ER/relationship.c:
20994         * lib/objects/ER/.c:
20995         * objects/UML/actor.c:
20996         * objects/UML/association.c:
20997         * objects/UML/class_dialog.c:
20998         * objects/UML/dependency.c:
20999         * objects/UML/generalization.c:
21000         * objects/UML/large_package.c:
21001         * objects/UML/realizes.c:
21002         * objects/UML/.c:
21003         * objects/UML/.c:
21004         Updated to new gtk function names.
21005         Removed warnings.
21007 1999-01-15  Alexander Larsson  <alla@lysator.liu.se>
21009         * TODO:
21010         Update TODO.
21012         * app/app_procs.c:
21013         Fixed loading of diagrams specified as arguments.
21015         * objects/ER/attribute.c:
21016         * objects/ER/entity.c:
21017         * objects/ER/er.c:
21018         * objects/ER/participation.c:
21019         * objects/ER/relationship.c:
21020         Updated the ER objects.
21021         
21023 1999-01-14  Alexander Larsson  <alla@lysator.liu.se>
21025         * configure.in:
21026         * app/Makefile.am:
21027         * objects/Makefile.am:
21028         * objects/ER/attribute.c:
21029         * objects/ER/entity.c:
21030         * objects/ER/er.c:
21031         * objects/ER/participation.c:
21032         * objects/ER/relationship.c:
21033         * objects/ER/pixmaps/Makefile.am:
21034         * objects/ER/pixmaps/attribute.xpm:
21035         * objects/ER/pixmaps/entity.xpm:
21036         * objects/ER/pixmaps/participation.xpm:
21037         * objects/ER/pixmaps/relationship.xpm:
21038         * objects/ER/pixmaps/weakentity.xpm:
21039         First commit of entity relationship objects.
21040         These were done by hallon@lysator.liu.se.
21041         There are still stuff to do on these.
21042         
21043 1999-01-14  Alexander Larsson  <alla@lysator.liu.se>
21045         * TODO:
21046         Updates.
21048         * app/diagram.[ch]:
21049         Change diagram_remove_all_selected to take new argument
21050         delete_empty. Empty objects are deleted only if it is TRUE.
21051         Removed call to close_eps_renderer. This is now done in end_render
21052         in the eps renderer.
21054         * app/create_object.c:
21055         * app/layer_dialog.c:
21056         Update calls to diagram_remove_all_selected.
21058         * app/commands.c:
21059         Update calls to diagram_remove_all_selected.
21060         Some code reformating.
21061         Changed order of adding updates i align_h and align_v.
21063         * app/modify_tool.c:
21064         Update calls to diagram_remove_all_selected.
21065         Added pointer grab when doing rubber-band selection, this fixes
21066         the bug when draging the box over to another window.
21068         * app/connectionpoint_ops.[ch]:
21069         diagram_update_connections_object changed to take an argument
21070         update_nonmoved. This lets connections that has not moved, but
21071         the stuff they're connected to has been moved work.
21072         Update calls to the new diagram_update_connections_object.
21074         * app/properties.c:
21075         Update calls to the new diagram_update_connections_object.
21076         Update extents when properties are applied.
21077         
21078         * app/disp_callbacks.c:
21079         Added support for zooming with the '+' and '-' keys.
21081         * app/menus.c:
21082         Removed old keyboard shortcuts for zoom.
21084         * lib/render.h:
21085         Added calls begin_render and end_render to renderer.
21086         These can be used for setup and cleanup.
21088         * lib/diagramdata.c:
21089         Added calls to begin_render and end_render in data_render.
21091         * app/render_gdk.c:
21092         Added begin_render and end_render.
21094         * app/render_eps.[ch]:
21095         Added begin_render and end_render.
21096         Moved close_eps_renderer code to end_render.
21097         Various fixes to the generated eps code. This fixes importing
21098         generated eps into LYX.
21099         
21100 1999-01-12  Alexander Larsson  <alla@lysator.liu.se>
21102         * TODO:
21103         Update of todo.
21104         
21105         * app/menus.c:
21106         Menus for alignment updated.
21108         * app/object_ops.[ch]:
21109         Functions for object alignment updated.
21111         * app/commands.[ch]:
21112         Object alignment callbacks updated.
21113         New diagrams are called Untitled-<nr>.
21115         * app/layer_dialog.c:
21116         Active layer selected when showing layers from new
21117         diagram.
21119         * app/load_save.c:
21120         Compress xml files when saving.
21121         Use xml namespace 'dia'.
21123         * lib/object.h:
21124         Minor comment update.
21126         * objects/UML/class_dialog.c:
21127         Cleanup of the gkt_list_item moving code.
21128         Fixed bug with update of operation when moving parameters.
21130 1999-01-10  Alexander Larsson  <alla@lysator.liu.se>
21132         * app/layer_dialog.[ch]:
21133         Fixed the rest of the layers dialog.
21135         * app/dialog.c:
21136         Added call to redo layer dialogs diagram list when changing
21137         diagram name.
21139         * lib/diagramdata.[ch]:
21140         Added data_raise_layer and data_lower_layer functions for
21141         raising/lowering layers. Added data_add_layer_at for adding a
21142         layer at a specified index.
21144 1999-01-05  Alexander Larsson  <alla@lysator.liu.se>
21146         This is the asierra-990105 patch done by asierra@servidor.unam.mx.
21147                 
21148         * app/app_procs.c:
21149         Added support for reading diagrams from the command line.
21151 1998-12-21  Alexander Larsson  <alla@lysator.liu.se>
21153         This is the asierra-981220 patch done by asierra@servidor.unam.mx.
21154                 
21155         * app/commands.[ch]:
21156         Added objects_align_callback().
21158         * app/menus.c:
21159         Added align objects to menu.
21161         * app/object_ops.[ch]:
21162         Add object_list_align().
21163         
21164 1998-12-17  Alexander Larsson  <alla@lysator.liu.se>
21165         * app/layer_dialog.[ch]:
21166         New files. Handles the layers dialog. Needs a bugfix for glib to
21167         work. Sent patch to gtk-list.
21168         
21169         * app/pixmaps/new.xpm:
21170         * app/pixmaps/eye.xbm:
21171         * app/pixmaps/lower.xpm:
21172         * app/pixmaps/raise.xpm:
21173         * app/pixmaps/delete.xpm:
21174         New files. Images for the layer dialog buttons.
21175         
21176         * lib/diagramdata.h
21177         * lib/diagramdata.c
21178         New files for the DiagramData and Layer structures and functions.
21179         
21180         * app/app_procs.c:
21181         Added call to create_layer_dialog() on startup.
21182         
21183         * app/commands.[ch]:
21184         New callbacks for showing the properties and layout dialog.
21185         Changes for the new DiagramData structure.
21187         * app/connectionpoint_ops.c:
21188         * app/cut_n_paste.c:
21189         * app/diagram.[ch]:
21190         * app/display.[ch]:
21191         * app/group.c:
21192         * app/modify_tool.c:
21193         * app/object_ops.[ch]:
21194         * app/render_eps.c:
21195         * lib/object.[ch]:
21196         Changes for the new DiagramData structure.
21198         * app/interface.c:
21199         * app/properties.c:
21200         Set correct wmclasses.
21202         * app/load_save.c:
21203         Fix load and save of layers.
21205         * diagram.dtd:
21206         Update DTD for layers.
21207         
21208         * app/menus.c:
21209         New menus for dialogs.
21211         
21212         * TODO:
21213         Some updates.
21214         
21215 1998-12-06  Alexander Larsson  <alla@lysator.liu.se>
21217         * TODO:
21218         Removed the gtk 1.1.5 stuff.
21220         * configure.in:
21221         Updated gtk check to version 1.1.5.
21222         Updated version from 0.20 to 0.30
21224         * app/commands.[ch]:
21225         Updated some callbacks to be of type GtkItemFactoryCallback1.
21226         Not all are done yet, but it works anyway.
21228         * app/display.h:
21229         Removed Gtk 1.0.0 GtkAcceleratorTable references.
21230         
21231         * app/interface.c:
21232         * app/menus.[ch]:
21233         Update to Gtk 1.1.x functions.
21234         Use ItemFactory instead of MenuFactory.
21235         
21236         * app/render_gdk.c:
21237         Removed Gtk 1.0.0 references.
21239         * objects/UML/class_dialog.c:
21240         Scrolled window updates for Gtk 1.1.5.
21241         
21242         * lib/dia_xml.c:
21243         Removed ugly fix for gnome-xml bug. Make sure you get the
21244         newest version of gnome-xml from CVS.
21245         
21246 1998-12-05  Alexander Larsson  <alla@lysator.liu.se>
21248         * TODO:
21249         Removed the xml load/save line.
21251         * lib/files.[ch]:
21252         Removed files.
21253         
21254         * lib/Makefile.am:
21255         Removed building of files.c
21257         * app/load_save.c:
21258         * lib/connection.c:
21259         * lib/element.c:
21260         * lib/object.c:
21261         * lib/orth_conn.c:
21262         * lib/render_object.c:
21263         * objects/UML/actor.c:
21264         * objects/UML/association.c:
21265         * objects/UML/class.c:
21266         * objects/UML/constraint.c:
21267         * objects/UML/dependency.c:
21268         * objects/UML/generalization.c:
21269         * objects/UML/implements.c:
21270         * objects/UML/large_package.c:
21271         * objects/UML/note.c:
21272         * objects/UML/realizes.c:
21273         * objects/UML/small_package.c:
21274         * objects/UML/uml.c:
21275         * objects/UML/usecase.c:
21276         * objects/network/bus.c:
21277         * objects/standard/arc.c:
21278         * objects/standard/box.c:
21279         * objects/standard/ellipse.c:
21280         * objects/standard/line.c:
21281         * objects/standard/textobj.c:
21282         * objects/standard/zigzagline.c:
21283         Removed all includes of files.h
21285         
21286 1998-12-05  Alexander Larsson  <alla@lysator.liu.se>
21288         * dialog.dtd:
21289         Made the val property of string be implied.
21290         This makes it possible to save strings that
21291         are NULL. Just leave out val.
21293         * objects/lib/dia_xml.c:
21294         Fixed string so that it is possible to save strings
21295         that are NULL. Also made an ugly workaround of a
21296         bug in gnome-xml which removes empty properties.
21297         
21298         * objects/lib/orth_conn.c:
21299         Fixed a bug in saving. Forgot to step through the
21300         directions.
21301         
21302         * objects/UML/association.c: 
21303         * objects/UML/class.c: 
21304         * objects/UML/constraint.c: 
21305         * objects/UML/dependency.c: 
21306         * objects/UML/generalization.c: 
21307         * objects/UML/implements.c: 
21308         * objects/UML/large_package.c: 
21309         * objects/UML/note.c: 
21310         * objects/UML/small_package.c:
21311         * objects/UML/realizes.c:
21312         * objects/UML/usecase.c: 
21313         * objects/UML/actor.c: 
21314         Fixed UML objects to save as xml.
21315         The last two were done by asierra@servidor.unam.mx (asierra-981204)
21316         
21317         * objects/UML/uml.[ch]:
21318         Updated *_write() and *_read() functions to use xml.
21320         * objects/network/bus.c: 
21321         * objects/network/computer.c: 
21322         * objects/network/disc.c: 
21323         * objects/network/monitor.c:
21324         Updated network diagrams to use xml.
21326 1998-12-02  Alexander Larsson  <alla@lysator.liu.se>
21328         * dialog.dtd:
21329         New file. DTD that describes the xml file format
21330         dia uses.
21332         * lib/dia_xml.[ch]:
21333         New files. Support for saving object to xml files.
21335         * configure.in:
21336         * app/Makefile.am:
21337         * lib/Makefile.am:
21338         Added check for and usage of gnome-xml library.
21340         * app/load_save.c:
21341         Major chages. Now saves/loads diagrams as xml.
21343         * lib/object.[ch]:
21344         * lib/element.[ch]:
21345         * lib/connection.[ch]:
21346         * lib/orth_conn.[ch]:
21347         * lib/render_object.[ch]:
21348         * lib/text.[ch]:
21349         Updated object support load/save functions for xml:
21351         * object/standard/arc.c:
21352         * object/standard/box.c:
21353         * object/standard/ellipse.c:
21354         * object/standard/line.c:
21355         * object/standard/textobj.c:
21356         * object/standard/zigzagline.c:
21357         Updated all standard objects to use xml.
21358         
21359         NOTE NOTE NOTE
21360         Only the standard objects are converted right now, don't
21361         save or load uml or network diagrams yet. Also, since this
21362         is new code it is deemed a bit unstable.
21363         
21364         * TODO
21365         Added a know bug.
21367 1998-12-01  Alexander Larsson  <alla@lysator.liu.se>
21369         * objects/UML/class.c:
21370         Changed classname font to Helvetica.
21371         Added more space above the classname
21373         * objects/UML/usecase.c:
21374         Correct placements of connectionpoints on ellipse.
21375         Better algorithm for deciding aspect ration on
21376         ellipse.
21378         These changes were made by Alejandro Aguilar Sierra
21379         <asierra@servidor.unam.mx>. (asierra-981201)
21381 1998-11-30  Alexander Larsson  <alla@lysator.liu.se>
21383         * objects/UML/actor.c:
21384         Changed the extents and alignment of the element
21385         and the text.
21387         * objects/UML/.cvsignore:
21388         Added usecase.lo and actor.lo.
21390 1998-11-30  Alexander Larsson  <alla@lysator.liu.se>
21392         * objects/UML/actor.c:
21393         * objects/UML/usecase.c:
21394         * objects/UML/pixmaps/actor.xpm:
21395         * objects/UML/pixmaps/case.xpm:
21396         New files. Implements usecase and actor UML objects.
21397         These objects are done by Alejandro Aguilar Sierra
21398         <asierra@servidor.unam.mx>.
21399         
21400         * objects/UML/Makefile.am:
21401         * objects/UML/pixmaps/Makefile.am:
21402         Added usecase and actor to makefile.
21403         
21404         * AUTHORS:
21405         Added Alejandro and Jerome to autors list.
21406         
21407 1998-11-25  Alexander Larsson  <alla@lysator.liu.se>
21409         * objects/UML/class.c (umlclass_load):
21410         Fixed typo. Reported by Jerome.Abela@solsoft.fr
21412 1998-11-24  Alexander Larsson  <alla@lysator.liu.se>
21414         * app/properties.c:
21415         Update connections when doing apply in the properties window.
21417         * objects/UML/uml.[ch]:
21418         * objects/UML/class.[ch]:
21419         * objects/UML/class_dialog.c:
21420         Added connection points on both sides of attributes and
21421         operations in UML classes.
21422         Based on idea from Jerome.Abela@solsoft.fr
21423         
21424 1998-11-24  Alexander Larsson  <alla@lysator.liu.se>
21426         * README:
21427         Some new documentation about handles and connectionpoints.
21428         
21429         * lib/object.[ch]:
21430         Added functions object_add_connectionpoint and
21431         object_remove_connectionpoint for handling a dynamic
21432         number of connectionpoints.
21434         * objects/UML/class.c:
21435         Only reserve space for stereotype when it is shown.
21437         These changes are from Jerome Abela <Jerome.Abela@solsoft.fr>
21439 1998-11-08  Alexander Larsson  <alla@lysator.liu.se>
21441         * app/connectionpoint_ops.c:
21442         * app/commands.c:
21443         * app/disp_callbacks.c:
21444         * app/display.[ch]:
21445         * app/grid.c:
21446         * app/handle_ops.c:
21447         * app/magnify.c:
21448         * app/modify_tool.c:
21449         * app/render_gdk.[ch]:
21450         * lib/render.h:
21451         Huge cleanup of internal rendering system.
21452         Moved a lot of data (pixmap, width, height & gc) into the GdkRenderer.
21453         This gives a few new methods for Interactive Renderers for setting
21454         clipping regions and drawing pixel based lines and rects.
21455         Updated the rest of the code to use the new stuff.
21456         
21457         * app/render_eps.c:
21458         Fixed warning.
21460         * lib/widgets.c:
21461         * objects/standard/zigzagline.c
21462         Fixed unused variable warnings.
21464         * lib/font.c:
21465         Fixedbug with stringwidth where width==0.
21467         * TODO:
21468         Added known bug.
21470 1998-11-02  Alexander Larsson  <alla@lysator.liu.se>
21472         * lib/widgets.[ch]:
21473         Added suppot for setting the font of a
21474         DiaFontSelector widget.
21475         Also fixed some typos in the header.
21477         * lib/object.h: 
21478         Added a comment about the GetPRoperties method call.
21479         You have to make sure to update widget state when
21480         this method is called. (Not all objects do this yet,
21481         to be fixed.)
21483         * TODO:
21484         Some small updates
21486 1998-11-01  Alexander Larsson  <alla@lysator.liu.se>
21488         * lib/font.c
21489         Fixed problem with height of ascent and descent for fonts.
21490         It didn't use the whole height (==ascent+descent) when calculatine
21491         ascent_ratio and descent_ratio.
21493         * objects/standard/textobj.c:
21494         * objects/standard/box.c:
21495         * objects/standard/ellipse.c:
21496         * objects/standard/line.c:
21497         * objects/standard/arc.c:
21498         Updated and added property dialogs for these objects.
21499         Also added line width/color/style to those objects
21500         that didn't have it.
21501         This change breaks fileformat compatibility for these objects.
21502         
21503         * objects/standard/zigzagline.c:
21504         Changed zigzagline to be based on OrthConn, much nicer.
21505         Also added line style and color to properties.
21506         This change breaks fileformat compatibility for zigzagline.
21508         * lib/message.c:
21509         Fixed bug in message(). Forgot a pair of '&'.
21511 1998-10-29  Alexander Larsson  <alla@lysator.liu.se>
21513         * lib/widgets.[ch]:
21514         Added DiaColorSelector widget.
21515         This is a colored button that pops up a color selection
21516         dialog when pressed.
21518 1998-10-28  Alexander Larsson  <alla@lysator.liu.se>
21520         * lib/widgets.[ch]:
21521         * lib/Makefile.am:
21522         New files, added widgets for selecting fonts, alignment
21523         and line-style. Will be used later.
21525 1998-10-12  Alexander Larsson  <alla@lysator.liu.se>
21527         * app/Makefile.am:
21528         * lib/Makefile.am:
21529         * objects/UML/Makefile.am:
21530         * objects/network/Makefile.am:
21531         * objects/standard/Makefile.am:
21532         Changed "CFLAGS = -Wall -g" to "CFLAGS = @CFLAGS@"
21533         in all Makefile.am.
21535 1998-10-03  Alexander Larsson  <alla@lysator.liu.se>
21537         * app/handle_ops.c (handle_draw):
21538         connected HANDLE_MINOR_CONTROL also becomes red.
21540 1998-10-02  Alexander Larsson  <alla@lysator.liu.se>
21542         * Makefile.am:
21543         removed -ldl from linking. This is added if needed by configure.
21545         * app/app_procs.c:
21546         Open dlls with RTLD_LAZY if it is defined.
21547         Some cleanups: char *error -> const char *error
21548         Added fprintf()'s to where we exited because of errors.
21550         * lib/files.c:
21551         Include <sys/types.h>
21553 1998-10-01  Alexander Larsson  <alla@lysator.liu.se>
21555         * acconfig.h:
21556         * configure.in:
21557         * app/app_procs.c:
21558         Detect dlopen better.
21559         Detect wether dlopen needs an underscore in the identifier.
21560         This code was mostly borrowed from guile.
21562         * lib/sheet.[ch]:
21563         * app/app_procs.c:
21564         * objects/standard/standard.c:
21565         * objects/network/network.c:
21566         * objects/UML/uml.c:
21567         * most objects:
21568         Changed the way sheets reference objects to use just the
21569         name. Changed module loading to a two stage model:
21570         First register_objects() is called for all modules.
21571         Then register_sheets() is called. This means that
21572         sheets can safely include objects from other modules.
21573         
21575 1998-09-30  Alexander Larsson  <alla@lysator.liu.se>
21577         * objects/network/bus.c:
21578         * objects/network/network.c:
21579         * objects/network/Makefile.am:
21580         New file bus.c. Added new object: Ethernet bus.
21582         * objects/standard/box.c:
21583         Added call to gtk_spin_button_set_numeric for linewidth spinner
21584         in property dialog.
21586 1998-09-30  Alexander Larsson  <alla@lysator.liu.se>
21588         * app/connectionpoint_ops.c:
21589         * app/create_object.c:
21590         * app/group.c:
21591         * app/handle_ops.c:
21592         * app/modify_tool.c:
21593         * lib/connection.c:
21594         * lib/element.c:
21595         * lib/handle.h:
21596         * lib/object.c:
21597         * lib/orth_conn.c:
21598         * loads of objects:
21599         Changed handle->connectable to handle->connect_type.
21600         Now handles can be HANDLE_CONNECTABLE_NOBREAK, which means
21601         that their connections don't break when moving objects.
21603         * app/diagram.c:
21604         Always select the last handle in an object that has
21605         the closest distance.
21606         
21607         * lib/geometry.[ch]:
21608         Added rectangle_add_point function.
21609         
21611 1998-09-27  Alexander Larsson  <alla@lysator.liu.se>
21613         * app/properties.[ch]: New files. Handles the new properties
21614         dialog.
21616         * app/modify_tool.c: Changed to use new properties dialog.
21618         * app/object_ops.[ch]: Removed object_changed_callback, as it's
21619         not needed anymore. This is now handled differently in
21620         properties.c
21622         * lib/object.[ch]:
21623         Changed the properties ops for objects. Removed typedefs
21624         ChangedObjectTime and ObjectChangedFunc needed for the old way.
21625         Added object_return_null function.
21626         
21627         * app/group.c:
21628         * lib/render_object.c:
21629         * objects/*/*.c:
21630         Changed objects to use the new properties dialog.
21631         
21633 1998-09-14  Nuno Ferreira  <nmrf@rnl.ist.utl.pt>
21635         * */Makefile.am (INCLUDES): Changes to work with srcdir !=
21636         builddir.
21638         * autogen.sh: New file. Copied from gtk and added a call to
21639         libtoolize. Anyone knows why this isn't done in gtk?
21641         * Removed autogenerated files.
21643 1998-09-12  Alexander Larsson  <alla@lysator.liu.se>
21645         * Added call setlocale(LC_NUMERIC, "C") so that formating of
21646           floating-point numbers in postscript output will be correct.
21647         * Did some cleanup of generated postscript files.